/* ============================================================
   Magazine / GetYourGuide theme
   Card + detail classes (.gyg-*) are UNSCOPED because ActivityCard
   only renders them when Magazine is selected. Page chrome still
   uses [data-home="magazine"] / [data-ht="magazine"].
   ============================================================ */

:root {
  --gyg-blue: #0071eb;
  --gyg-blue-dark: #005bb5;
  --gyg-navy: #1a2b49;
  --gyg-muted: #6b7280;
  --gyg-line: #e5e7eb;
  --gyg-soft: #f3f4f6;
  --gyg-red: #e11d48;
  --gyg-green: #0d9488;
  --gyg-star: #f5a623;
  --gyg-radius: 12px;
}

.tp-public[data-home="magazine"],
.ht[data-ht="magazine"] {
  --gyg-blue: #0071eb;
  --gyg-blue-dark: #005bb5;
  --gyg-navy: #1a2b49;
  --gyg-muted: #6b7280;
  --gyg-line: #e5e7eb;
  --gyg-soft: #f3f4f6;
  background: #fff;
  color: #1a2b49;
}

.tp-public[data-home="magazine"] .tp-main {
  background: #fff;
}

/* —— Navbar —— */
.tp-public[data-home="magazine"] .tp-nav--solid {
  background: #fff !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none !important;
}

.tp-public[data-home="magazine"] .tp-nav .tp-btn--primary {
  background: #0071eb;
  border-color: #0071eb;
  border-radius: 999px;
}

/* Transparent nav sits over the blue hero */
.tp-public[data-home="magazine"] .tp-nav--transparent.tp-nav--hero {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.tp-public[data-home="magazine"] .tp-nav--transparent .tp-nav__logo-title,
.tp-public[data-home="magazine"] .tp-nav--transparent .tp-nav__link,
.tp-public[data-home="magazine"] .tp-nav--transparent .tp-nav__search,
.tp-public[data-home="magazine"] .tp-nav--transparent .tp-nav__toggle {
  color: #fff !important;
}

.tp-public[data-home="magazine"] .tp-nav--transparent .tp-nav__link.active {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

/* Solid / scrolled nav — no oversized blue pill on active link */
.tp-public[data-home="magazine"] .tp-nav--solid .tp-nav__link:hover,
.tp-public[data-home="magazine"] .tp-nav--solid .tp-nav__link.active,
.tp-public[data-home="magazine"] .tp-nav[data-scrolled="true"] .tp-nav__link:hover,
.tp-public[data-home="magazine"] .tp-nav[data-scrolled="true"] .tp-nav__link.active {
  background: transparent !important;
  color: #0071eb !important;
}

/* —— Magazine hero: blue photo backdrop, white copy, min 400px —— */
.ht[data-ht="magazine"] .ht-hero--magazine {
  padding: 0;
  background: transparent;
  position: relative;
}

.ht[data-ht="magazine"] .ht-hero__gyg-stage {
  position: relative;
  min-height: max(700px, calc(52vh + 300px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--tp-nav-h, 72px) + 2.75rem) 1.25rem 3.75rem;
  background-color: #111;
  overflow: hidden;
}

.ht[data-ht="magazine"] .ht-hero__gyg-video {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  margin: 0;
  background-size: cover;
  background-position: center;
}

.ht[data-ht="magazine"] .ht-hero__gyg-video-el,
.ht[data-ht="magazine"] .ht-hero__gyg-video .tp-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soft dark wash only — no blue tint */
.ht[data-ht="magazine"] .ht-hero__gyg-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 0;
}

.ht[data-ht="magazine"] .ht-hero__gyg {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.ht[data-ht="magazine"] .ht-hero__gyg-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.ht[data-ht="magazine"] .ht-hero__gyg-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.ht[data-ht="magazine"] .ht-gyg-search,
.tp-public[data-home="magazine"] .tp-gyg-search {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.ht[data-ht="magazine"] .ht-gyg-search > i,
.tp-public[data-home="magazine"] .tp-gyg-search > i {
  color: #9ca3af;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ht[data-ht="magazine"] .ht-gyg-search input,
.tp-public[data-home="magazine"] .tp-gyg-search input {
  flex: 1 1 auto;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 1rem;
  color: #1a2b49;
  min-width: 0;
  padding: 0.7rem 0.35rem;
}

.ht[data-ht="magazine"] .ht-gyg-search__btn,
.tp-public[data-home="magazine"] .tp-gyg-search button {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0071eb !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 1.4rem !important;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}

.ht[data-ht="magazine"] .ht-gyg-search__btn:hover,
.tp-public[data-home="magazine"] .tp-gyg-search button:hover {
  background: #005bb5 !important;
  color: #fff !important;
}

/* —— Destinations —— */
.ht[data-ht="magazine"] .ht-destinations--gyg {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.ht[data-ht="magazine"] .ht-destinations--gyg .ht-section__title,
.ht[data-ht="magazine"] .ht-experiences--gyg .ht-section__title {
  font-family: inherit;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #1a2b49;
  text-align: left;
  letter-spacing: -0.02em;
}

.ht[data-ht="magazine"] .ht-tabs--gyg {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.1rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
}

.ht[data-ht="magazine"] .ht-tabs--gyg .ht-tab {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0.7rem 0.15rem;
  margin-bottom: -1px;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.ht[data-ht="magazine"] .ht-tabs--gyg .ht-tab:hover {
  color: #1a2b49;
  background: transparent;
  border-bottom-color: #d1d5db;
}

.ht[data-ht="magazine"] .ht-tabs--gyg .ht-tab.is-active {
  color: #1a2b49;
  background: transparent;
  border-bottom-color: #0071eb;
}

.ht[data-ht="magazine"] .ht-gyg-dest-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1rem 0.85rem;
}

.ht[data-ht="magazine"] .ht-gyg-dest {
  text-decoration: none;
  color: #1a2b49;
  text-align: center;
}

.ht[data-ht="magazine"] .ht-gyg-dest__media {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: #f3f4f6;
}

.ht[data-ht="magazine"] .ht-gyg-dest__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ht[data-ht="magazine"] .ht-gyg-dest:hover .ht-gyg-dest__media img {
  transform: scale(1.05);
}

.ht[data-ht="magazine"] .ht-gyg-dest h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  text-transform: none !important;
  letter-spacing: 0;
  color: #1a2b49;
}

/* ============================================================
   ACTIVITY CARD — unscoped (markup only exists for Magazine)
   ============================================================ */
.gyg-card {
  display: flex !important;
  flex-direction: column;
  text-decoration: none !important;
  color: #1a2b49 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: 100%;
  min-width: 0;
}

.gyg-card:hover,
.gyg-card:focus {
  text-decoration: none !important;
  color: #1a2b49 !important;
  transform: none;
}

.gyg-card__media {
  position: relative !important;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
}

.gyg-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gyg-card:hover .gyg-card__media img {
  transform: scale(1.04);
}

.gyg-card__badge {
  position: absolute !important;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  background: #1a2b49 !important;
  pointer-events: none;
}

.gyg-card__badge--navy {
  background: #1a2b49 !important;
}

.gyg-card__badge--red {
  background: #e11d48 !important;
}

.gyg-card__wish {
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #1a2b49 !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  pointer-events: none;
}

.gyg-card__body {
  padding: 12px 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.gyg-card__cat {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.gyg-card__title {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a2b49 !important;
  line-height: 1.35;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.gyg-card:hover .gyg-card__title {
  text-decoration: none !important;
  color: #0071eb !important;
}

.gyg-card__meta {
  margin: 0 !important;
  font-size: 13px;
  color: #6b7280 !important;
  line-height: 1.4;
}

.gyg-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 8px;
}

.gyg-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #1a2b49;
  font-weight: 600;
}

.gyg-card__rating i {
  color: #f5a623 !important;
  font-size: 14px;
}

.gyg-card__rating-count {
  color: #6b7280;
  font-weight: 500;
}

.gyg-card__price {
  text-align: right;
  white-space: nowrap;
}

.gyg-card__price span {
  font-size: 13px;
  color: #6b7280;
  margin-right: 4px;
}

.gyg-card__price strong {
  font-size: 16px;
  font-weight: 800;
  color: #1a2b49;
}

/* —— Horizontal rails —— */
.gyg-rail {
  position: relative;
  margin: 0;
}

.gyg-rail__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gyg-rail__track::-webkit-scrollbar {
  display: none;
}

.gyg-rail__item {
  flex: 0 0 260px;
  max-width: 260px;
  scroll-snap-align: start;
}

.gyg-rail__next {
  position: absolute;
  right: 8px;
  top: 110px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #0071eb !important;
  color: #fff !important;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 113, 235, 0.4);
  z-index: 3;
}

.gyg-rail__next:hover {
  background: #005bb5 !important;
}

.gyg-rail__track--reels {
  gap: 1.35rem;
  padding: 0.5rem 3.25rem 1rem;
}

.gyg-rail__track--reels .tp-reel-card {
  flex: 0 0 clamp(200px, 22vw, 260px);
  max-width: none;
}

.gyg-rail__prev {
  position: absolute;
  left: 0;
  top: 110px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #6b7280 !important;
  color: #fff !important;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  z-index: 3;
}

.gyg-rail__prev:hover {
  background: #4b5563 !important;
}

.gyg-rail__prev--reels,
.gyg-rail__next--reels {
  top: 42%;
}

.gyg-rail__next--reels {
  right: 0;
  background: #6b7280 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.gyg-rail__next--reels:hover {
  background: #4b5563 !important;
}

.ht[data-ht="magazine"] .ht-experiences--gyg {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.ht[data-ht="magazine"] .ht-experiences--gyg .ht-section__head--left {
  margin-bottom: 1.35rem;
}

.ht[data-ht="magazine"] .ht-experiences--gyg .tp-activity-grid--gyg {
  margin-top: 0.25rem;
}

.ht[data-ht="magazine"] .ht-experiences--gyg .ht-section__foot--left {
  justify-content: flex-start;
  margin-top: 1.75rem;
}

/* —— Activity list page ——
   .tp-gyg-list is Magazine-only markup; keep padding unscoped so nav clearance
   always applies even if data-home is slow to hydrate. */
.tp-gyg-list,
.tp-gyg-list--page {
  padding: calc(var(--tp-nav-h, 92px) + 2.75rem) 0 4rem !important;
  background: #fff;
  box-sizing: border-box;
}

.tp-public[data-home="magazine"] .tp-gyg-list {
  padding: calc(var(--tp-nav-h, 92px) + 2.75rem) 0 4rem;
  background: #fff;
}

.tp-public[data-home="magazine"] .tp-gyg-list .tp-gyg-search {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.15rem;
}

.tp-public[data-home="magazine"] .tp-gyg-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
}

.tp-public[data-home="magazine"] .tp-gyg-filter {
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1a2b49;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.tp-public[data-home="magazine"] .tp-gyg-filter.is-active {
  background: #f3f4f6;
  border-color: #f3f4f6;
}

.tp-public[data-home="magazine"] .tp-gyg-list__count {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 1.35rem;
}

.tp-activity-grid--gyg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.15rem;
}

.tp-activity-grid--gyg.tp-activity-grid--related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* —— Explore SEO tabs —— */
.gyg-explore {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.gyg-explore__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.75rem;
}

.gyg-explore__tab {
  border: 0;
  background: transparent;
  padding: 0.85rem 0;
  margin-bottom: -1px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.gyg-explore__tab.is-active {
  color: #1a2b49;
  border-bottom-color: #0071eb;
}

.gyg-explore__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem 1.5rem;
}

.gyg-explore__link {
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.gyg-explore__link strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a2b49;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gyg-explore__link span {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

/* —— Soften old newsletter/contact for magazine —— */
.tp-public[data-home="magazine"] .ht-newsletter,
.ht[data-ht="magazine"] .ht-newsletter {
  background: #fff !important;
}

.tp-public[data-home="magazine"] .ht-contact,
.ht[data-ht="magazine"] .ht-contact {
  margin-bottom: 0;
}

/* —— Footer —— */
.tp-public[data-home="magazine"] .tp-footer {
  background: #1a2b49;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
  padding-top: 3rem;
}

.tp-public[data-home="magazine"] .tp-footer__title,
.tp-public[data-home="magazine"] .tp-footer__brand strong,
.tp-public[data-home="magazine"] .tp-footer__brand-title {
  color: #fff;
}

.tp-public[data-home="magazine"] .tp-footer__links a,
.tp-public[data-home="magazine"] .tp-footer p,
.tp-public[data-home="magazine"] .tp-footer__bottom,
.tp-public[data-home="magazine"] .tp-footer__bottom a {
  color: rgba(255, 255, 255, 0.85);
}

.tp-public[data-home="magazine"] .tp-footer .tp-btn--primary {
  background: #0071eb;
  border-color: #0071eb;
}

/* ============================================================
   ACTIVITY DETAIL — unscoped gyg-detail*
   ============================================================ */
.tp-activity-detail--gyg {
  background: #fff !important;
  padding-bottom: 4rem;
}

.gyg-detail {
  padding-top: 1.25rem;
}

.gyg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.gyg-breadcrumb a {
  color: #0071eb;
  text-decoration: none;
}

.gyg-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.gyg-detail__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  color: #1a2b49;
  line-height: 1.2;
}

.gyg-detail__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  font-size: 0.92rem;
  color: #6b7280;
}

.gyg-detail__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #1a2b49;
  font-weight: 700;
}

.gyg-detail__rating i {
  color: #f5a623;
}

.gyg-detail__reviews-link {
  color: #0071eb;
  text-decoration: underline;
}

.gyg-detail__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.gyg-ghost-btn {
  border: 0;
  background: transparent;
  color: #1a2b49;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem;
}

.gyg-ghost-btn.is-active i {
  color: #e11d48;
}

.gyg-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.4rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
}

.gyg-gallery--single {
  grid-template-columns: 1fr;
  min-height: 0;
}

.gyg-gallery--single .gyg-gallery__main {
  aspect-ratio: 16 / 9;
  max-height: 480px;
  min-height: 220px;
}

.gyg-gallery__main {
  min-height: 360px;
}

.gyg-reviews__empty h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a2b49;
}

.gyg-reviews__empty p {
  margin: 0;
  color: #6b7280;
}

.gyg-gallery__main img,
.gyg-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gyg-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.4rem;
  min-height: 360px;
}

.gyg-gallery__cell {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.gyg-gallery__more-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 0;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a2b49;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.gyg-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.5rem;
  align-items: start;
}

.gyg-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.gyg-quick__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.gyg-quick__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a2b49;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.gyg-quick__item strong {
  display: block;
  font-size: 0.95rem;
  color: #1a2b49;
  margin-bottom: 0.15rem;
}

.gyg-quick__item span {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.45;
}

.gyg-loved {
  margin-bottom: 2rem;
}

.gyg-loved h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a2b49;
}

.gyg-loved__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gyg-loved__card {
  display: flex;
  gap: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

.gyg-loved__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #0071eb;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.gyg-loved__name {
  display: block;
  font-size: 0.9rem;
  color: #1a2b49;
  margin-bottom: 0.25rem;
}

.gyg-loved__text {
  margin: 0;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.45;
}

.gyg-loved__more {
  display: inline-flex;
  margin-top: 0.85rem;
  color: #0071eb;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.9rem;
}

.gyg-content {
  margin-bottom: 2rem;
}

.gyg-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.gyg-row__label {
  font-weight: 700;
  color: #1a2b49;
  font-size: 0.95rem;
}

.gyg-row__body {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.65;
}

.gyg-prose p {
  margin: 0 0 0.9rem;
}

.gyg-lang-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-weight: 600;
  font-size: 0.85rem;
}

.gyg-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gyg-check-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.gyg-check-list i {
  color: #0d9488;
  margin-top: 0.15rem;
}

.gyg-check-list--no i {
  color: #9ca3af;
}

.gyg-bullets {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.gyg-bring {
  margin-bottom: 1rem;
}

.gyg-bring strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #1a2b49;
}

.gyg-reviews {
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.gyg-reviews__head {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.gyg-reviews__summary {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.gyg-reviews__score {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a2b49;
  line-height: 1;
}

.gyg-reviews__stars {
  color: #f5a623;
}

.gyg-reviews__bars {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gyg-reviews__bar {
  display: grid;
  grid-template-columns: 1rem 1fr 2rem;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: #6b7280;
}

.gyg-reviews__bar-track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.gyg-reviews__bar-fill {
  height: 100%;
  background: #1a2b49;
  border-radius: 999px;
}

.gyg-reviews__controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gyg-reviews__select {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
}

.gyg-reviews__select select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #1a2b49;
  font-weight: 600;
}

.gyg-review {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.gyg-review__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.gyg-review__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fb923c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.gyg-review__who {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gyg-review__name {
  color: #1a2b49;
  font-size: 0.92rem;
}

.gyg-review__trip,
.gyg-review__date {
  font-size: 0.8rem;
  color: #6b7280;
}

.gyg-review__stars {
  color: #f5a623;
  margin-bottom: 0.35rem;
}

.gyg-review__text {
  margin: 0 0 0.75rem;
  color: #374151;
  line-height: 1.55;
}

.gyg-review__helpful {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a2b49;
  cursor: pointer;
}

.gyg-reviews__more {
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  color: #1a2b49;
  cursor: pointer;
}

.gyg-related h2 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a2b49;
}

/* Booking sidebar */
.gyg-book {
  position: sticky;
  top: calc(var(--tp-nav-h, 72px) + 1rem);
}

.gyg-book__card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(26, 43, 73, 0.08);
}

.gyg-book__price {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #1a2b49;
}

.gyg-book__price strong {
  font-size: 1.35rem;
  font-weight: 800;
}

.gyg-book__price span {
  color: #6b7280;
  font-size: 0.88rem;
}

.gyg-book__field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.65rem;
  color: #1a2b49;
  font-weight: 600;
  font-size: 0.92rem;
}

.gyg-book__field input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  font-weight: 600;
  color: #1a2b49;
  min-width: 0;
}

.gyg-book__field--people span {
  flex: 1;
}

.gyg-book__children {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2b49;
}

.gyg-book__stepper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gyg-book__stepper button {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1a2b49;
  font-weight: 700;
  cursor: pointer;
}

.gyg-book__cta {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #0071eb !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  margin: 0.35rem 0 1rem;
}

.gyg-book__cta:hover {
  background: #005bb5 !important;
}

.gyg-book__total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #1a2b49;
}

.gyg-book__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gyg-book__perks li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.85rem;
  color: #1a2b49;
}

.gyg-book__perks i {
  color: #0d9488;
}

.gyg-book__transfer-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.gyg-book__transfer-opts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.gyg-book__transfer-opt {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.gyg-book__transfer-opt.is-active {
  border-color: #0071eb;
  background: #eff6ff;
}

/* —— Magazine home: packages / reviews / reels / gallery —— */
.ht[data-ht="magazine"] .ht-packages--gyg,
.ht[data-ht="magazine"] .ht-testimonials--gyg,
.ht[data-ht="magazine"] .ht-gallery--gyg {
  background: #fff;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.ht[data-ht="magazine"] .ht-packages--gyg .ht-section__title,
.ht[data-ht="magazine"] .ht-testimonials--gyg .ht-section__title,
.ht[data-ht="magazine"] .ht-reels-section--gyg .ht-section__title,
.ht[data-ht="magazine"] .ht-gallery--gyg .ht-section__title {
  font-family: inherit;
  font-weight: 800;
  color: #1a2b49;
  letter-spacing: -0.02em;
}

.ht[data-ht="magazine"] .ht-packages--gyg .ht-section__sub,
.ht[data-ht="magazine"] .ht-testimonials--gyg .ht-section__sub,
.ht[data-ht="magazine"] .ht-reels-section--gyg .ht-section__sub,
.ht[data-ht="magazine"] .ht-gallery--gyg .ht-section__sub {
  color: #6b7280;
  max-width: 36rem;
}

.ht[data-ht="magazine"] .ht-grid--pkgs-gyg {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ht[data-ht="magazine"] .ht-grid--reviews-gyg {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.ht[data-ht="magazine"] .ht-review--gyg {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.15rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(26, 43, 73, 0.04);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ht[data-ht="magazine"] .ht-review--gyg img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Match main-theme reel rail sizing (do not squash cards to 180px) */
.ht[data-ht="magazine"] .ht-reels-section--gyg {
  padding-top: 3.25rem;
  padding-bottom: calc(2.75rem + 100px);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.ht[data-ht="magazine"] .ht-reels-section--gyg .gyg-rail--reels {
  margin-top: 0.35rem;
}

.ht[data-ht="magazine"] .ht-grid--gallery-gyg {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ht[data-ht="magazine"] .ht-gallery--gyg .ht-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.ht[data-ht="magazine"] .ht-gallery--gyg .ht-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ht[data-ht="magazine"] .ht-gallery--gyg .ht-gallery__item:hover img {
  transform: scale(1.05);
}

.ht[data-ht="magazine"] .ht-testimonials--gyg,
.ht[data-ht="magazine"] .ht-gallery--gyg {
  background: #f8fafc;
}

.ht[data-ht="magazine"] .ht-btn--gyg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0071eb;
  color: #fff;
  border: 0;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}

.ht[data-ht="magazine"] .ht-btn--gyg:hover {
  background: #005bb5;
  color: #fff;
}

.ht[data-ht="magazine"] .ht-contact {
  margin-top: 0;
}

/* —— Responsive —— */
.ht[data-ht="magazine"] .ht-grid--pkgs-gyg > *,
.ht[data-ht="magazine"] .ht-grid--reviews-gyg > *,
.ht[data-ht="magazine"] .ht-gyg-dest-grid > *,
.ht[data-ht="magazine"] .ht-grid--gallery-gyg > *,
.tp-activity-grid--gyg > * {
  min-width: 0;
}

.ht[data-ht="magazine"] .ht-packages--gyg .tp-pkg-card,
.ht[data-ht="magazine"] .ht-packages--gyg .tp-pkg-card__title,
.ht[data-ht="magazine"] .ht-packages--gyg .tp-pkg-card__summary {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .ht[data-ht="magazine"] .ht-gyg-dest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ht[data-ht="magazine"] .ht-grid--pkgs-gyg,
  .ht[data-ht="magazine"] .ht-grid--gallery-gyg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ht[data-ht="magazine"] .ht-grid--reviews-gyg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gyg-explore__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tp-activity-grid--gyg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ht[data-ht="magazine"] .ht-grid--pkgs-gyg,
  .tp-activity-grid--gyg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht[data-ht="magazine"] .ht-gyg-dest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gyg-detail__layout {
    grid-template-columns: 1fr;
  }

  .gyg-book {
    position: static;
    order: -1;
  }

  .gyg-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gyg-gallery__grid {
    min-height: 200px;
  }

  .gyg-quick,
  .gyg-loved__grid {
    grid-template-columns: 1fr;
  }

  .gyg-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .ht[data-ht="magazine"] {
    --ht-wrap: min(100%, calc(100% - 1.5rem));
  }

  .ht[data-ht="magazine"] .ht-hero__gyg-stage {
    min-height: max(420px, calc(48vh + 80px));
    padding: calc(var(--tp-nav-h, 72px) + 1.5rem) 1rem 2.5rem;
  }

  .ht[data-ht="magazine"] .ht-hero__gyg-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .ht[data-ht="magazine"] .ht-gyg-search,
  .tp-public[data-home="magazine"] .tp-gyg-search {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    padding: 0.45rem 0.45rem 0.45rem 0.85rem;
    flex-wrap: nowrap;
  }

  .ht[data-ht="magazine"] .ht-gyg-search__btn,
  .tp-public[data-home="magazine"] .tp-gyg-search button {
    padding: 0.7rem 1rem !important;
    font-size: 0.88rem !important;
  }

  .ht[data-ht="magazine"] .ht-gyg-dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem 0.75rem;
  }

  .ht[data-ht="magazine"] .ht-grid--pkgs-gyg,
  .ht[data-ht="magazine"] .ht-grid--reviews-gyg,
  .ht[data-ht="magazine"] .ht-grid--gallery-gyg,
  .tp-activity-grid--gyg,
  .tp-activity-grid--gyg.tp-activity-grid--related {
    grid-template-columns: 1fr !important;
    gap: 1.15rem;
  }

  .gyg-explore__grid {
    grid-template-columns: 1fr;
  }

  .gyg-rail__item {
    flex-basis: min(78vw, 280px);
    max-width: min(78vw, 280px);
  }

  .gyg-rail__track--reels {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .gyg-rail__track--reels .tp-reel-card {
    flex: 0 0 min(68vw, 220px);
  }

  .gyg-rail__prev,
  .gyg-rail__next,
  .gyg-rail__prev--reels,
  .gyg-rail__next--reels {
    display: none;
  }

  .tp-gyg-list,
  .tp-gyg-list--page {
    padding: calc(var(--tp-nav-h, 92px) + 1.5rem) 0 3rem !important;
  }

  .ht[data-ht="magazine"] .ht-tabs--gyg {
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ht[data-ht="magazine"] .ht-section__title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
  }

  .ht[data-ht="magazine"] .ht-btn--gyg {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .gyg-gallery__grid {
    display: none;
  }

  .ht[data-ht="magazine"] .ht-gyg-dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ht[data-ht="magazine"] .ht-grid--gallery-gyg {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
