/* 7-Eleven in Thailand — Travel Tips page */

.tl-page--711 .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tl-page--711 {
  --711-red: #E41E26;
  --711-green: #008060;
  --711-orange: #F58220;
  --711-blue: #0066B3;
  --711-sky: #7EC8E3;
  --711-yellow: #FFD100;
  --711-paper: #FAFAFA;
  --711-cream: #FFFDF9;
  --711-ink: #1a1f24;
  --711-muted: #5c6570;
  --711-line: rgba(26, 31, 36, 0.1);
  --711-card: #ffffff;
  background: var(--711-paper);
  color: var(--711-ink);
}

.tl-main--711 {
  padding: 0;
  background: var(--711-paper);
}

.tl-711 {
  font-family: "Bricolage Grotesque", sans-serif;
}

.tl-711__wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* —— Breadcrumb —— */
.tl-711-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--711-muted);
  font-size: 12px;
}

.tl-711-crumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  opacity: 0.55;
}

.tl-711-crumb a {
  color: inherit;
  text-decoration: none;
}

.tl-711-crumb a:hover {
  color: var(--711-green);
}

/* —— Hero —— */
.tl-711-hero {
  position: relative;
  overflow: hidden;
  background: #e8f4fc;
}

.tl-711-hero__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 820 / 461;
  object-fit: cover;
}

/* —— Features —— */
.tl-711-features {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--711-line);
  border-bottom: 1px solid var(--711-line);
}

.tl-711-features__inner {
  display: grid;
  grid-template-columns: 1fr min(220px, 22%);
  gap: 32px;
  align-items: center;
}

.tl-711-features__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.tl-711-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.tl-711-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--711-cream);
  border: 2px solid var(--711-line);
  border-radius: 50%;
  color: var(--711-green);
}

.tl-711-feature__icon svg {
  width: 28px;
  height: 28px;
}

.tl-711-feature strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.tl-711-feature span {
  display: block;
  margin-top: 2px;
  color: var(--711-muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.35;
}

.tl-711-features__aside {
  position: relative;
  text-align: center;
}

.tl-711-features__cat {
  width: 120px;
  height: auto;
  margin: 0 auto;
}

.tl-711-features__quote {
  margin: 8px 0 0;
  color: var(--711-green);
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

/* —— Sections —— */
.tl-711-section {
  padding: 56px 0;
}

.tl-711-section--soft {
  background: var(--711-cream);
}

.tl-711-head {
  max-width: 44rem;
  margin: 0 0 28px;
}

.tl-711-num {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--711-red);
  font-size: 13px;
  font-weight: 700;
}

.tl-711-head h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.15;
}

.tl-711-head p {
  margin: 0;
  color: var(--711-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

/* —— Product grids —— */
.tl-711-grid {
  display: grid;
  gap: 16px;
}

.tl-711-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tl-711-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* —— Part 5 pet slideshow —— */
.tl-711-pet-slider {
  min-width: 0;
}

.tl-711-pet-slider__viewport {
  overflow: hidden;
}

.tl-711-pet-slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.tl-711-pet-slide {
  flex: 0 0 calc((100% - 32px) / 3);
}

.tl-711-pet-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.tl-711-pet-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--711-line);
  border-radius: 50%;
  background: #fff;
  color: var(--711-green);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tl-711-pet-slider__button:hover,
.tl-711-pet-slider__button:focus-visible {
  border-color: var(--711-green);
  background: var(--711-green);
  color: #fff;
}

.tl-711-pet-slider__dots {
  display: flex;
  gap: 7px;
}

.tl-711-pet-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 128, 96, 0.25);
  cursor: pointer;
}

.tl-711-pet-slider__dot[aria-current="true"] {
  width: 22px;
  border-radius: 999px;
  background: var(--711-green);
}

.tl-711-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--711-card);
  border: 1px solid var(--711-line);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tl-711-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 31, 36, 0.08);
}

.tl-711-item__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(145deg, #f5f5f5, #eef6f2);
}

.tl-711-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-711-item__body {
  padding: 12px 12px 14px;
}

.tl-711-item__body h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.tl-711-item__thai {
  margin: 0 0 4px;
  color: var(--711-green);
  font-size: 11px;
  font-weight: 600;
}

.tl-711-item__body p:not(.tl-711-item__thai) {
  margin: 0;
  color: var(--711-muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
}

/* —— Section with sidebar illustration —— */
.tl-711-with-aside {
  display: grid;
  grid-template-columns: 1fr min(200px, 20%);
  gap: 24px;
  align-items: start;
}

.tl-711-aside {
  position: sticky;
  top: 100px;
  text-align: center;
}

.tl-711-aside img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.tl-711-aside__bubble {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 2px dashed var(--711-orange);
  border-radius: 14px;
  color: var(--711-orange);
  font-family: "Caveat", cursive;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

/* —— Split: Tips + Facts —— */
.tl-711-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.tl-711-tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tl-711-tip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  background: var(--711-card);
  border: 1px solid var(--711-line);
  border-radius: 12px;
}

.tl-711-tip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--711-cream);
  border-radius: 10px;
  color: var(--711-green);
}

.tl-711-tip__icon svg {
  width: 22px;
  height: 22px;
}

.tl-711-tip strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.tl-711-tip span {
  display: block;
  margin-top: 2px;
  color: var(--711-muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
}

.tl-711-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-711-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--711-line);
}

.tl-711-facts li:last-child {
  border-bottom: none;
}

.tl-711-facts__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--711-cream);
  border-radius: 50%;
  color: var(--711-red);
}

.tl-711-facts__icon svg {
  width: 18px;
  height: 18px;
}

.tl-711-facts p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-711-facts strong {
  font-weight: 600;
}

/* —— Footer visual —— */
.tl-711-close {
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(126, 200, 227, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(228, 30, 38, 0.06), transparent 50%),
    var(--711-cream);
}

.tl-711-close__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.tl-711-close__img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.tl-711-close__checklist {
  margin: 0 auto;
  padding: 20px 22px 18px;
  max-width: 240px;
  background: #fff9c4;
  border: none;
  border-radius: 2px;
  box-shadow: 2px 3px 8px rgba(26, 31, 36, 0.12);
  transform: rotate(2deg);
  list-style: none;
}

.tl-711-close__checklist li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-family: "Caveat", cursive;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--711-ink);
}

.tl-711-close__checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--711-green);
  font-weight: 700;
}

.tl-711-close__brand {
  text-align: right;
}

.tl-711-close__brand img {
  width: min(160px, 100%);
  height: auto;
}

.tl-711-close__brand p {
  margin: 8px 0 0;
  color: var(--711-muted);
  font-family: "Caveat", cursive;
  font-size: 16px;
  font-weight: 600;
}

/* —— Responsive —— */
@media (max-width: 1200px) {
  .tl-711-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tl-711-features__inner {
    grid-template-columns: 1fr;
  }

  .tl-711-features__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tl-711-with-aside {
    grid-template-columns: 1fr;
  }

  .tl-711-pet-slide {
    flex-basis: calc((100% - 16px) / 2);
  }

  .tl-711-aside {
    position: static;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .tl-711-aside img {
    max-width: 120px;
  }

  .tl-711-aside__bubble {
    flex: 1;
    margin-top: 0;
  }

  .tl-711-split {
    grid-template-columns: 1fr;
  }

  .tl-711-close__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tl-711-close__brand {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .tl-711__wrap {
    width: min(100% - 32px, 1200px);
  }

  .tl-711-section {
    padding: 40px 0;
  }

  .tl-711-grid--6,
  .tl-711-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-711-pet-slide {
    flex-basis: 100%;
  }

  .tl-711-features__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-711-tips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .tl-711-grid--6,
  .tl-711-grid--3 {
    grid-template-columns: 1fr;
  }
}
