/*
 * Sphototrip Child Theme
 * Theme Name:  Sphototrip Child
 * Theme URI:   https://sphototrip.com
 * Description: Child theme cho Sphototrip.com - Photography Travel Tours
 * Author:      Sphototrip Team
 * Template:    astra
 * Version:     1.0.0
 * Text Domain: sphototrip
 */

/* ============================================================
   DESIGN SYSTEM — Sphototrip.com
   ============================================================ */

:root {
  /* Brand Colors */
  --color-primary: #D4A843;
  /* Gold — luxury, premium */
  --color-primary-dark: #B8922E;
  --color-primary-light: #E8C066;

  --color-dark: #0D0D0D;
  /* Deep Black */
  --color-dark-2: #1A1A1A;
  --color-dark-3: #252525;
  --color-dark-4: #333333;

  --color-light: #FAFAF8;
  --color-light-2: #F0EEE8;
  --color-muted: #888888;
  --color-text: #2D2D2D;
  --color-text-light: #555555;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  /* Elegant serif for headings */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Satisfy', cursive;
  /* Decorative script */

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.20);
  --shadow-gold: 0 4px 24px rgba(212, 168, 67, 0.25);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Satisfy&display=swap');

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.ast-button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-dark);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-light);
}

.btn-dark:hover {
  background: var(--color-dark-4);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.ast-header-html-inner,
.main-header-bar {
  background: rgba(13, 13, 13, 0.95) !important;
  backdrop-filter: blur(10px);
}

.main-header-bar-wrap {
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
}

/* Logo text fallback */
.ast-site-title a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-primary) !important;
  letter-spacing: 0.05em;
}

/* Navigation */
.ast-nav-menu>li>a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
}

.ast-nav-menu>li>a:hover,
.ast-nav-menu>li.current-menu-item>a {
  color: var(--color-primary) !important;
}

/* ============================================================
   HERO SECTION (Homepage)
   ============================================================ */
.sphototrip-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sphototrip-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.sphototrip-hero__content {
  position: relative;
  z-index: 2;
  color: white;
  padding: var(--space-xl);
}

.sphototrip-hero__accent {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.sphototrip-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: white;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.sphototrip-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.sphototrip-hero__cta {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.9s;
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.section {
  padding: var(--space-3xl) var(--space-xl);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-light);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: var(--space-md);
}

.section__description {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ============================================================
   TOUR CARDS
   ============================================================ */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.tour-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tour-card__image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tour-card:hover .tour-card__image img {
  transform: scale(1.05);
}

.tour-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-primary);
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.tour-card__body {
  padding: var(--space-lg);
}

.tour-card__meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.tour-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.tour-card__excerpt {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-light-2);
  padding-top: var(--space-md);
}

.tour-card__price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}

.tour-card__price span {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 400;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-masonry {
  columns: 3;
  column-gap: var(--space-md);
}

@media (max-width: 768px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }
}

.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
}

.gallery-masonry__item img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.gallery-masonry__item:hover img {
  transform: scale(1.03);
}

.gallery-masonry__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-masonry__overlay svg {
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}

.gallery-masonry__item:hover .gallery-masonry__overlay {
  background: rgba(0, 0, 0, 0.4);
}

.gallery-masonry__item:hover .gallery-masonry__overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-dark-3);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.testimonial-card__stars {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  letter-spacing: 0.1em;
}

.testimonial-card__text {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark) !important;
  border-top: 1px solid rgba(212, 168, 67, 0.2);
}

.ast-footer-overlay {
  background: var(--color-dark) !important;
}

.footer-widget-area {
  padding: var(--space-2xl) var(--space-xl);
}

.widget-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary) !important;
  margin-bottom: var(--space-lg);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--color-primary);
}

/* ============================================================
   GTRANSLATE WIDGET STYLING
   ============================================================ */
#gt-res-c {
  display: none !important;
}

/* Hide Google top bar */

.gt-lang-code {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Scroll-triggered fade-in (works with Intersection Observer) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }

  .sphototrip-hero__cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .sphototrip-hero__title {
    font-size: 2.4rem;
  }

  .sphototrip-hero__subtitle {
    font-size: 0.95rem;
  }

  .sphototrip-hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  .tour-card__body {
    padding: var(--space-md);
  }
}

/* ============================================================
   CUSTOM LOGO (dark header)
   ============================================================ */
.custom-logo-link img.custom-logo {
  max-height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  /* inverts to white on dark bg */
}

/* ============================================================
   STICKY HEADER — add shadow on scroll (JS class: scrolled)
   ============================================================ */
.main-header-bar-wrap.header--scrolled .main-header-bar {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   FAQ — simple accordion-like styling for block editor
   ============================================================ */
.entry-content h3 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-dark);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-light-2);
}

.entry-content h3:first-of-type {
  margin-top: 0;
}

/* ============================================================
   WP TRAVEL ENGINE OVERRIDES
   ============================================================ */
.wp-travel-engine-archive-trips .trip-content-wrap {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition) !important;
}

.wp-travel-engine-archive-trips .trip-content-wrap:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.wp-travel-engine-single-trip-details .wte-booking-form {
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.wte-book-now-btn,
.wte-trip-booking-btn {
  background: var(--color-primary) !important;
  color: var(--color-dark) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  transition: all var(--transition) !important;
}

.wte-book-now-btn:hover,
.wte-trip-booking-btn:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* WTE — View Details / Archive Buttons */
.wte-trip-btn,
.wte-trip-read-more,
.wte-archive-trip-btn,
.wte-trip-content .view-details-btn,
a.book-btn,
a.readmore_btn,
.wte-trips-listing .trip-btn,
.archive-trips .trip-read-more-btn,
.wte-archive-trip .btn,
.trip-excerpt .wte-btn,
button.trip-details-btn,
.wte-trip-grid .wte-btn,
.wte-trip-cost+a,
.trips-container a[class*="btn"],
.trips-container a[class*="button"],
.wte-trip-block a {
  background: var(--color-primary) !important;
  color: var(--color-dark) !important;
  border-color: var(--color-primary) !important;
  border-radius: 2px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  transition: all var(--transition) !important;
}

.wte-trip-btn:hover,
.wte-trip-read-more:hover,
.wte-archive-trip-btn:hover,
a.book-btn:hover,
a.readmore_btn:hover,
.trips-container a[class*="btn"]:hover,
.trips-container a[class*="button"]:hover {
  background: var(--color-primary-dark) !important;
  color: var(--color-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* WTE default blue overrides (aggressive) */
.wte-trips-listing a,
.wte-trips-listing button,
.wte-trip-content a.wte-trip-btn,
.wte-trip-content .wte-btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-dark) !important;
}

/* Tour cards no thumbnail — styled placeholder */
.wte-trip-thumbnail-wrap .no-image,
.wte-trip-thumbnail-wrap:empty {
  background: linear-gradient(135deg, var(--color-dark-3) 0%, var(--color-dark-4) 100%);
  min-height: 220px;
}

/* Price styling in WTE cards */
.wte-trip-cost,
.wte-trip-price,
.trip-price {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

/* ============================================================
   WPTE BUTTON — Override default blue (actual class: wpte-button)
   ============================================================ */
a.wpte-button,
.wpte-button,
button.wpte-button,
.wte-trip-block a.wpte-button,
.wte-trip-content a.wpte-button,
.elementor-widget-container a.wpte-button {
  background: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-dark) !important;
  border: none !important;
  border-radius: 2px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.85rem 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
  text-align: center !important;
  text-decoration: none !important;
}

a.wpte-button:hover,
.wpte-button:hover {
  background: var(--color-primary-dark) !important;
  background-color: var(--color-primary-dark) !important;
  color: var(--color-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 24px rgba(212, 168, 67, 0.35) !important;
}

/* ============================================================
   INNER PAGE — PAGE HERO BANNER
   Applies to all inner pages (about, faq, contact, etc.)
   ============================================================ */
.page-template-default .ast-archive-description,
body.page:not(.home) .entry-header,
body.page:not(.home) .ast-page-builder-template .entry-header {
  display: none;
  /* hide default Astra page title — we use our own */
}

/* Page Hero — dark banner at top of every inner page */
body.page:not(.home) .ast-container>.ast-article-single:first-child>.entry-header,
body.page:not(.home) .entry-header {
  background: var(--color-dark);
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  text-align: center;
  margin-bottom: 0;
  border-bottom: 2px solid rgba(212, 168, 67, 0.25);
}

/* Inner page title styling */
body.page:not(.home) .entry-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--color-light) !important;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: 800px;
  position: relative;
}

body.page:not(.home) .entry-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin: var(--space-md) auto 0;
}

/* ============================================================
   INNER PAGE — CONTENT WRAPPER
   ============================================================ */
body.page:not(.home) .entry-content {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

body.page:not(.home) .entry-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-light-2);
}

body.page:not(.home) .entry-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: var(--space-xl) 0 var(--space-sm);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-light-2);
}

body.page:not(.home) .entry-content h3:first-child {
  margin-top: 0;
}

body.page:not(.home) .entry-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

body.page:not(.home) .entry-content strong {
  color: var(--color-dark);
  font-weight: 600;
}

body.page:not(.home) .entry-content a {
  color: var(--color-primary);
  border-bottom: 1px solid rgba(212, 168, 67, 0.35);
  transition: all var(--transition);
}

body.page:not(.home) .entry-content a:hover {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary-dark);
}

body.page:not(.home) .entry-content hr {
  border: none;
  border-top: 1px solid var(--color-light-2);
  margin: var(--space-2xl) 0;
}

body.page:not(.home) .entry-content ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

body.page:not(.home) .entry-content ul li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  position: relative;
}

body.page:not(.home) .entry-content ul li::marker {
  color: var(--color-primary);
}

/* ============================================================
   ABOUT PAGE (ve-chung-toi) — Gold accent on headings
   ============================================================ */
.page-ve-chung-toi .entry-content h3,
.page-id-22 .entry-content h3 {
  color: var(--color-primary-dark);
  border-bottom-color: rgba(212, 168, 67, 0.2);
}

/* Contact info line styling (emoji + text) */
.page-lien-he .entry-content p:has(a[href^="tel:"]),
.page-lien-he .entry-content p:has(a[href^="mailto:"]),
.page-lien-he .entry-content p:has(a[href*="facebook"]),
.page-id-28 .entry-content p:has(a[href^="tel:"]),
.page-id-28 .entry-content p:has(a[href^="mailto:"]),
.page-id-28 .entry-content p:has(a[href*="facebook"]) {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background: var(--color-light-2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-size: 1rem;
  border-left: 3px solid var(--color-primary);
}


/* ============================================================
   FAQ PAGE — Enhanced question styling
   ============================================================ */
.page-faq .entry-content h3,
.page-id-27 .entry-content h3 {
  background: var(--color-light-2);
  padding: var(--space-md) var(--space-lg) var(--space-md) calc(var(--space-lg) + 4px);
  border-radius: var(--radius-md);
  border-bottom: none;
  border-left: 4px solid var(--color-primary);
  color: var(--color-dark);
  font-weight: 600;
  font-size: 1rem;
  margin-top: var(--space-lg);
  cursor: default;
  transition: background var(--transition);
}

.page-faq .entry-content h3:hover,
.page-id-27 .entry-content h3:hover {
  background: #e8e6e0;
}

.page-faq .entry-content h3+p,
.page-id-27 .entry-content h3+p {
  padding: 0 var(--space-lg) var(--space-md);
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-light-2);
  color: var(--color-text);
}

/* ============================================================
   CONTACT PAGE (lien-he) — Card layout for contact info
   ============================================================ */
.page-lien-he .entry-content,
.page-id-28 .entry-content {
  max-width: 680px;
}

.page-lien-he .entry-content h3,
.page-id-28 .entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-light-2);
}


/* ============================================================
   DAT TOUR PAGE — Booking info styling
   ============================================================ */
.page-id-[dat-tour] .entry-content ul {
  list-style: none;
  padding: 0;
}

/* Generic booking checklist (ul on dat-tour) */
.page-dat-tour .entry-content ul li,
body.page .entry-content ul li {
  padding: var(--space-sm) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

/* ============================================================
   PAGE BREADCRUMB — Gold accent
   ============================================================ */
.ast-breadcrumbs-wrapper,
.ast-breadcrumbs {
  background: var(--color-dark-2) !important;
  padding: var(--space-sm) var(--space-xl);
}

.ast-breadcrumbs a,
.ast-breadcrumbs span {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.ast-breadcrumbs a:hover {
  color: var(--color-primary) !important;
}

.ast-breadcrumbs .ast-breadcrumbs-separator,
.ast-breadcrumbs>span:last-child {
  color: var(--color-primary) !important;
}

/* ============================================================
   INNER PAGE — BACK TO TOP BUTTON
   ============================================================ */
#scroll-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-gold);
}

#scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   INNER PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  body.page:not(.home) .entry-content {
    padding: var(--space-2xl) var(--space-md);
    font-size: 1rem;
  }

  body.page:not(.home) .entry-title {
    font-size: 2rem;
  }

  .page-id-28 .entry-content p:has(a[href^="tel:"]),
  .page-id-28 .entry-content p:has(a[href^="mailto:"]),
  .page-id-28 .entry-content p:has(a[href*="facebook"]) {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body.page:not(.home) .entry-content {
    padding: var(--space-xl) var(--space-sm);
  }

  .page-id-27 .entry-content h3 {
    font-size: 0.95rem;
    padding: var(--space-sm) var(--space-md);
  }
}