/**
 * Region tour landing pages -- local-team intro block (inc/region-intro.php),
 * inserted right before the tour grid div#brxe-458265 on /saigon-tours/ (the
 * shop archive) and /danang-tours/ (page 16694).
 *
 * Every rule is scoped to .kt-region-intro; nothing here can touch a Bricks
 * element, and if the block is never inserted the whole file is inert.
 *
 * Layout context: the grid sits in a wrapping flex row together with the
 * sticky "Book Tour Now" widget (grid 65% / widget 35% on >= 992px, see
 * region-tours-sticky-booking.css). The block is a flex item of that row, so
 * it takes the full line (flex-basis 100%, order -1) and the grid + widget
 * pair up on the line below exactly as before. Below 992px everything stacks
 * and the block is simply the first thing above the grid.
 *
 * Brand: Poppins is inherited from the site; pink #E4367E is used for the
 * eyebrow, ticks and the accent border only -- never for body text (it fails
 * WCAG AA on white, docs/brand/README.md). Radius 16px matches the tour cards.
 */

.kt-region-intro {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  order: -1;
  margin: 0 0 28px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 16px;
  background: #fff7fa;
  border: 1px solid rgba(228, 54, 126, 0.16);
  color: #404040;
  font-size: 1rem;
  line-height: 1.6;
}

.kt-region-intro * {
  box-sizing: border-box;
}

.kt-region-intro__body {
  min-width: 0;
}

.kt-region-intro__eyebrow {
  margin: 0 0 8px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8235f; /* darker pink: 5.5:1 on #fff7fa, passes AA for small text */
}

.kt-region-intro__title {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  line-height: 1.2;
  font-weight: 700;
  color: #0d0d0d;
}

.kt-region-intro__text {
  margin: 0;
  max-width: 62ch;
  color: #404040;
}

.kt-region-intro__points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 20px;
}

.kt-region-intro__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.93rem;
  color: #262626;
}

.kt-region-intro__tick {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: #e4367e;
}

.kt-region-intro__host {
  margin: 18px 0 0;
  padding: 0 0 0 14px;
  border-left: 3px solid #e4367e;
  font-style: italic;
  color: #404040;
}

.kt-region-intro__host-quote {
  margin: 0;
}

.kt-region-intro__host-name {
  margin-top: 6px;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d0d0d;
}

.kt-region-intro__media {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  max-width: 100%;
}

.kt-region-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 600px) {
  .kt-region-intro {
    padding: 28px 28px;
  }

  .kt-region-intro__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* With a team photo: copy left, photo right. Without one the body simply
   spans the full width -- the grid-template only exists when the modifier is
   present, so a missing image never leaves an empty column. */
@media (min-width: 900px) {
  .kt-region-intro--has-media {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
    align-items: center;
    gap: 32px;
  }
}
