/* Styles from header-static.php */
:root {
            --color-sand: #E8DCC8;
            --color-cream: #FAF6EE;
            --color-teal: #1E3B38;
            --color-gold: #B8912F;
            --color-terracotta: #B5673E;
            --color-emerald: #3C5C4A;
            --color-ink: #2B2620;
            --color-off-white: #F5F0E6;
        }
        
        body { margin: 0; padding: 0; font-family: 'Jost', sans-serif; background-color: var(--color-cream) !important; background-image: url('../images/sand-bg.png') !important; background-size: cover; background-attachment: fixed; background-position: center; color: var(--color-ink); overflow: auto !important; -webkit-font-smoothing: antialiased; }
        
        /* Layout */
        .static-page-wrapper { max-width: 760px; margin: 0 auto; padding: 180px 20px 120px; min-height: 100vh; position: relative; }
        
        /* Navigation / Back Button */
        .back-btn {
            position: fixed;
            top: 120px;
            left: 40px;
            display: inline-flex;
            align-items: center;
            font-family: 'Jost', sans-serif;
            font-size: 11px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--color-terracotta);
            text-decoration: none;
            border: 1px solid rgba(184, 145, 47, 0.4);
            padding: 10px 28px;
            border-radius: 2px;
            transition: all 0.3s ease;
            z-index: 100;
        }
        .back-btn:hover {
            color: var(--color-teal);
            border-color: var(--color-teal);
            background-color: rgba(30, 59, 56, 0.03);
        }
        @media(max-width: 1000px) {
            .back-btn {
                position: relative;
                top: auto;
                left: auto;
                display: table;
                margin: 0 auto 40px auto;
            }
        }
        
        /* Typography */
        .leg-tagline { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--color-terracotta); display: block; margin-bottom: 20px; text-align: center; }
        .leg-title { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 400; color: var(--color-teal); text-align: center; margin: 0 0 24px 0; line-height: 1.05; letter-spacing: -0.5px; }
        .leg-dates { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 2px; color: var(--color-gold); text-align: center; display: block; margin-bottom: 60px; text-transform: uppercase; }
        
        .leg-ornament { text-align: center; margin-bottom: 80px; }
        
        /* Two-Column Editorial Spread */
        .editorial-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1000px; margin: 0 auto; align-items: start; }
        @media (max-width: 768px) { .editorial-spread { grid-template-columns: 1fr; gap: 60px; } }
        
        .section-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 400; color: var(--color-teal); margin: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(184, 145, 47, 0.2); text-align: left; line-height: 1.2; }
        
        .highlights-col { padding-top: 0; }
        .highlights-eyebrow { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--color-terracotta); margin: 0 0 10px 0; line-height: 1.4; display: block; }
        .highlights-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--color-teal); margin: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(184, 145, 47, 0.2); font-weight: 400; line-height: 1.2; }
:root {
            --color-sand: #E8DCC8;
            --color-cream: #FAF6EE;
            --color-teal: #1E3B38;
            --color-gold: #B8912F;
            --color-terracotta: #B5673E;
            --color-emerald: #3C5C4A;
            --color-ink: #2B2620;
            --color-off-white: #F5F0E6;
        }
        
        body { margin: 0; padding: 0; font-family: 'Jost', sans-serif; background-color: var(--color-cream) !important; background-image: url('../images/sand-bg.png') !important; background-size: cover; background-attachment: fixed; background-position: center; color: var(--color-ink); overflow: auto !important; -webkit-font-smoothing: antialiased; }
        
        /* Layout */
        .static-page-wrapper { max-width: 760px; margin: 0 auto; padding: 180px 20px 120px; min-height: 100vh; position: relative; }
        
        /* Navigation / Back Button */
        .back-btn {
            position: fixed;
            top: 120px;
            left: 40px;
            display: inline-flex;
            align-items: center;
            font-family: 'Jost', sans-serif;
            font-size: 11px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--color-terracotta);
            text-decoration: none;
            border: 1px solid rgba(184, 145, 47, 0.4);
            padding: 10px 28px;
            border-radius: 2px;
            transition: all 0.3s ease;
            z-index: 100;
        }
        .back-btn:hover {
            color: var(--color-teal);
            border-color: var(--color-teal);
            background-color: rgba(30, 59, 56, 0.03);
        }
        @media(max-width: 1000px) {
            .back-btn {
                position: relative;
                top: auto;
                left: auto;
                display: table;
                margin: 0 auto 40px auto;
            }
        }
        
        /* Typography */
        .leg-tagline { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--color-terracotta); display: block; margin-bottom: 20px; text-align: center; }
        .leg-title { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 400; color: var(--color-teal); text-align: center; margin: 0 0 24px 0; line-height: 1.05; letter-spacing: -0.5px; }
        .leg-dates { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 2px; color: var(--color-gold); text-align: center; display: block; margin-bottom: 60px; text-transform: uppercase; }
        
        .leg-ornament { text-align: center; margin-bottom: 80px; }
        
        /* Two-Column Editorial Spread */
        .editorial-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1000px; margin: 0 auto; align-items: start; }
        @media (max-width: 768px) { .editorial-spread { grid-template-columns: 1fr; gap: 60px; } }
        
        .section-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 400; color: var(--color-teal); margin: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(184, 145, 47, 0.2); text-align: left; line-height: 1.2; }
        
        .highlights-col { padding-top: 0; }
        .highlights-eyebrow { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--color-terracotta); margin: 0 0 10px 0; line-height: 1.4; display: block; }
        .highlights-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--color-teal); margin: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(184, 145, 47, 0.2); font-weight: 400; line-height: 1.2; }
        .highlights-content { padding-top: 30px; border-top: none; }
        .highlights-content p { font-family: 'Jost', sans-serif; font-size: 14px; color: rgba(43,38,32,0.8); line-height: 1.6; font-style: italic; margin-top: 0; }
        
        /* Itinerary Timeline (Standalone Pages) */
        .itinerary-timeline { margin-top: 0; }
        .timeline-container { position: relative; padding-left: 30px; padding-top: 30px; }
        .timeline-item { position: relative; margin-bottom: 50px; padding-left: 20px; }
        .timeline-item:last-child { margin-bottom: 0; }
        .timeline-item::before { content: ''; position: absolute; left: -31.5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--color-gold); background-color: var(--color-cream); z-index: 2; }
        .timeline-item:not(:last-child)::after { content: ''; position: absolute; left: -26px; top: 25px; bottom: -45px; width: 1px; background-color: rgba(184, 145, 47, 0.4); z-index: 1; }
        .timeline-day { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--color-gold); display: block; margin-bottom: 8px; }
        .timeline-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; color: var(--color-teal); margin: 0; line-height: 1.2; }
        
        /* Header Overrides */
        .eg-header { background-color: transparent !important; box-shadow: none !important; padding: 0 40px !important; top: 0 !important; }
        .eg-header-logo { filter: none !important; }
        .eg-burger-lines span { background-color: var(--color-ink) !important; }
        .eg-burger-label { color: var(--color-ink) !important; }
        .eg-header-rsvp { color: var(--color-ink) !important; border-color: rgba(43,38,32,0.3) !important; }
        .eg-header-rsvp:hover { background-color: var(--color-gold) !important; border-color: var(--color-gold) !important; color: var(--color-off-white) !important; }
        


/* Styles from page-before-the-trip.php */
.subpage-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.subpage-header {
	text-align: center;
	margin-bottom: 60px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.subpage-tagline {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 12px;
}
.subpage-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 46px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 1px;
	margin-bottom: 8px;
}
.subpage-desc {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	color: rgba(43, 38, 32, 0.8);
	margin-top: 20px;
}
.subpage-ornament {
	margin: 15px auto 0;
	color: var(--color-gold);
}

/* Interactive Checklist Styling */
.interactive-checklist {
    max-width: 1000px;
    margin: 0 auto;
}
.checklist-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(184, 145, 47, 0.3);
    border-radius: 40px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-ink);
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover {
    border-color: var(--color-gold);
    background: rgba(184, 145, 47, 0.05);
}
.tab-btn.active {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(184, 145, 47, 0.3);
}
.tab-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: color 0.3s ease;
}
.tab-btn.active .tab-icon {
    color: #fff;
}

.checklist-panes {
    background: #fff;
    border: 1px solid rgba(184, 145, 47, 0.15);
    border-radius: 12px;
    padding: 50px 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    min-height: 400px;
}
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-title {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-ink);
    margin-bottom: 40px;
}

.pane-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Fancy Checkbox */
.fancy-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    position: relative;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid transparent;
}
.fancy-checkbox:hover {
    background: rgba(184, 145, 47, 0.03);
    border-color: rgba(184, 145, 47, 0.1);
}
.fancy-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: relative;
    top: 2px;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid rgba(184, 145, 47, 0.4);
    border-radius: 6px;
    margin-right: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.fancy-checkbox:hover input ~ .checkmark {
    border-color: var(--color-gold);
}
.fancy-checkbox input:checked ~ .checkmark {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.fancy-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.fancy-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-label {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: rgba(43,38,32,0.85);
    transition: all 0.2s;
    padding-top: 3px;
}
.fancy-checkbox input:checked ~ .check-label {
    color: rgba(43,38,32,0.4);
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .checklist-panes {
        padding: 30px;
    }
    .pane-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles from page-books-media.php */
/* ─── Keyframe Animations ─── */
@keyframes bm-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bm-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bm-slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bm-ruleExpand {
  from { width: 0; opacity: 0; }
  to   { width: 52px; opacity: 1; }
}

@keyframes bm-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ─── Page Shell ─── */
.bm-wrap {
  background: var(--color-cream);
  min-height: 100vh;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background pattern */
.bm-wrap::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(184,145,47,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 75%, rgba(30,59,56,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bm-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ─── Page Header ─── */
.bm-header {
  margin-bottom: 72px;
  animation: bm-fadeInUp 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.bm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.bm-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.bm-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold), rgba(184,145,47,0.2));
  margin-bottom: 24px;
  animation: bm-ruleExpand 0.8s 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.bm-intro {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(43,38,32,0.70);
  max-width: 620px;
  margin: 0;
}

/* ─── Section Dividers ─── */
.bm-sections {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ─── Section Block ─── */
.bm-section {
  opacity: 0;
  animation: bm-fadeInUp 0.75s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.bm-section:nth-child(1) { animation-delay: 0.15s; }
.bm-section:nth-child(2) { animation-delay: 0.28s; }
.bm-section:nth-child(3) { animation-delay: 0.41s; }
.bm-section:nth-child(4) { animation-delay: 0.54s; }
.bm-section:nth-child(5) { animation-delay: 0.67s; }

/* ─── Section Header ─── */
.bm-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184,145,47,0.15);
  position: relative;
}

/* Animated underline accent */
.bm-section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.5s ease;
}

.bm-section:hover .bm-section-header::after {
  width: 120px;
}

.bm-section-icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.bm-section:hover .bm-section-icon {
  transform: scale(1.15);
  color: var(--color-teal);
}

.bm-section-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bm-section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--color-teal);
  line-height: 1;
  letter-spacing: 0.3px;
}

.bm-section--pending .bm-section-title {
  color: rgba(30,59,56,0.38);
}

/* ─── Cards Grid ─── */
.bm-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

/* ─── Book / Media Card ─── */
.bm-card {
  display: flex;
  background: #fff;
  border: 1px solid rgba(184,145,47,0.14);
  border-radius: 10px;
  padding: 24px;
  box-shadow:
    0 2px 8px rgba(43,38,32,0.04),
    0 8px 24px rgba(43,38,32,0.03);
  transition:
    border-color 0.4s ease,
    box-shadow   0.4s ease,
    transform    0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* Shimmer highlight on hover */
.bm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(184,145,47,0.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bm-card:hover {
  border-color: rgba(184,145,47,0.4);
  box-shadow:
    0 4px 16px rgba(184,145,47,0.08),
    0 16px 48px rgba(43,38,32,0.08);
  transform: translateY(-5px) scale(1.005);
}

.bm-card:hover::before {
  opacity: 1;
  animation: bm-shimmer 1.2s ease forwards;
}

/* ─── Card Info ─── */
.bm-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bm-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 5px;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.bm-card:hover .bm-card-title {
  color: var(--color-teal);
}

.bm-card-author {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.bm-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(43,38,32,0.68);
  margin: 0;
}

.bm-card-desc p {
  margin: 0;
  font-size: 15px;
}

/* ─── Pending Block ─── */
.bm-pending {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(184,145,47,0.025) 0%, rgba(30,59,56,0.02) 100%);
  border: 1px dashed rgba(184,145,47,0.30);
  border-radius: 8px;
  padding: 24px 28px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.bm-pending:hover {
  border-color: rgba(184,145,47,0.5);
  background: linear-gradient(135deg, rgba(184,145,47,0.04) 0%, rgba(30,59,56,0.03) 100%);
}

.bm-pending-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184,145,47,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
}

.bm-pending-icon svg {
  width: 18px;
  height: 18px;
}

.bm-pending-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: rgba(43,38,32,0.65);
  line-height: 1.55;
  margin: 0;
}

.bm-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(184,145,47,0.38);
  border-radius: 2px;
  padding: 6px 14px;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.bm-pending-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: bm-pulse 2s ease-in-out infinite;
}

@keyframes bm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ─── Footer / Back Button ─── */
.bm-footer-nav {
  text-align: center;
  margin-top: 90px;
  padding-top: 48px;
  border-top: 1px solid rgba(184,145,47,0.14);
  animation: bm-fadeIn 1s 0.8s both;
}

.bm-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-ink);
  background-image: url('/vancleefarpels/wp-content/themes/vancleefarpels/assets/images/button-sand-bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(184,145,47,0.40);
  border-radius: 4px;
  padding: 16px 36px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.bm-back-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184,145,47,0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bm-back-btn:hover {
  color: var(--color-ink);
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(184,145,47,0.18);
}

.bm-back-btn:hover::before {
  opacity: 1;
}


/* ─── Responsive ─── */
/* ── TABLET (≤ 1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
	.bm-wrap {
		padding-top: calc(env(safe-area-inset-top, 0px) + 110px); /* header=85px + 25px breathing room */
	}
	.bm-sections { gap: 42px; }
	.bm-section-title { font-size: clamp(24px, 3vw, 28px); }
	.bm-section-header { padding-bottom: 18px; gap: 12px; }
}

/* ── SMALL TABLET (≤ 768px) ────────────────────────── */
@media (max-width: 768px) {
	.bm-wrap {
		padding-top: calc(env(safe-area-inset-top, 0px) + 100px); /* header=72px + 28px breathing room */
	}
	.bm-container { padding: 0 22px; }
	.bm-header { padding-top: 0; margin-bottom: 38px; }
	/* FIX: Title must be visible — scale it down but keep it showing */
	.bm-title {
		font-size: clamp(32px, 8vw, 48px);
		margin-bottom: 16px;
	}
	.bm-intro { font-size: 15px; line-height: 1.85; }
	.bm-sections { gap: 36px; }
	.bm-card { flex-direction: column; gap: 18px; padding: 22px; align-items: center; text-align: center; }
	.bm-card-info { width: 100%; }
	.bm-section-header { flex-wrap: wrap; align-items: flex-start; }
	.bm-book-spine { width: 100%; height: 70px; border-radius: 4px; flex-direction: row; padding: 8px 16px; }
	.bm-book-spine-letter { font-size: 20px; flex: unset; width: auto; }
	.bm-book-cover { width: 100%; max-width: 280px; height: auto; border-radius: 6px; margin: 0 auto; }
	.bm-book-cover img, .bm-cover-image { width: 100%; height: auto; }
}

/* ── MOBILE (≤ 580px) ──────────────────────────────── */
@media (max-width: 580px) {
	.bm-wrap {
		padding-top: calc(env(safe-area-inset-top, 0px) + 96px); /* header=72px + 24px room */
		padding-bottom: 50px;
	}
	.bm-container { padding: 0 16px; }
	.bm-header { margin-bottom: 28px; }
	/* FIX: Title visible and correctly sized */
	.bm-title {
		font-size: clamp(28px, 9vw, 38px);
		line-height: 1.15;
		margin-bottom: 14px;
	}
	.bm-section-header { gap: 10px; }
	.bm-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.bm-card { padding: 16px; align-items: center; text-align: center; }
	.bm-book-cover { width: 110px !important; min-width: 110px !important; max-width: 110px !important; aspect-ratio: 2 / 3; min-height: 165px; border-radius: 16px; margin: 0 auto 14px; overflow: hidden; flex: 0 0 110px; }
	.bm-book-cover img, .bm-cover-image { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
	.bm-card-info { width: 100%; }
	.bm-card-title { font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
	.bm-card-author { font-size: 10px; letter-spacing: 1.5px; }
	.bm-card-desc { font-size: 14px; }
	.bm-pending { flex-direction: column; gap: 14px; text-align: left; align-items: stretch; padding: 20px; }
	.bm-pending-text { width: 100%; }
	.bm-back-btn { width: 100%; justify-content: center; padding: 14px 18px; }
}

/* ── SMALL MOBILE (≤ 420px) ───────────────────────── */
@media (max-width: 420px) {
	.bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); padding-bottom: 50px; }
	.bm-title { font-size: clamp(26px, 8vw, 34px); /* smallest phones */ }
	.bm-intro { font-size: 14px; }
	.bm-card { gap: 14px; }
	.bm-book-spine { padding: 8px 12px; }
}

/* High-specificity fixes for Books & Media page title overlapping fixed header */
body.page-books-media .bm-wrap {
	padding-top: calc(env(safe-area-inset-top, 0px) + 110px);
}
@media (max-width: 1024px) {
	body.page-books-media .bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 110px); }
}
@media (max-width: 768px) {
	body.page-books-media .bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 100px); }
}
@media (max-width: 580px) {
	body.page-books-media .bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 96px); }
}
@media (max-width: 420px) {
	body.page-books-media .bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); }
}

body.page-books-media .bm-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 110px) !important; margin-top: 6px !important; }
@media (max-width: 768px) { body.page-books-media .bm-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 100px) !important; } }
@media (max-width: 580px) { body.page-books-media .bm-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 96px) !important; } }
@media (max-width: 420px) { body.page-books-media .bm-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 92px) !important; } }

/* Styles from page-helpful-information.php */
.hub-page-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.hub-page-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}
.hub-tagline {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 12px;
}
.hub-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 2px;
}
.hub-ornament {
	margin: 15px auto 25px;
	color: var(--color-gold);
}
.hub-description {
	font-family: var(--font-body);
	font-size: 17px;
	color: rgba(43, 38, 32, 0.85);
	line-height: 1.6;
}
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}
.info-card {
	background-color: #ffffff;
	border: 1px solid rgba(184, 145, 47, 0.15);
	border-radius: 8px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	transition: all 0.4s ease;
	text-decoration: none;
}
.info-card:hover {
	transform: translateY(-4px);
	border-color: var(--color-gold);
	box-shadow: 0 15px 50px rgba(184, 145, 47, 0.08);
}
.info-card-icon {
	width: 44px;
	height: 44px;
	color: var(--color-gold);
	margin-bottom: 25px;
}
.info-card-title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 15px;
	line-height: 1.2;
}
.info-card-desc {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: rgba(43, 38, 32, 0.8);
	margin-bottom: 25px;
	flex-grow: 1;
}
.hub-btn-primary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-ink);
	background-color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 14px 30px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.hub-btn-primary:hover {
	background-color: var(--color-terracotta);
	border-color: var(--color-terracotta);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}

/* Styles from page-luxor-and-the-nile.php */
.leg-page-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.back-link-container {
	margin-bottom: 30px;
}
.back-link {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--color-gold);
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.3s ease;
}
.back-link:hover {
	color: var(--color-terracotta);
}
.leg-page-header {
	text-align: center;
	margin-bottom: 70px;
}
.leg-tagline {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 15px;
}
.leg-title {
	font-family: var(--font-display);
	font-size: clamp(36px, 5vw, 48px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 1px;
	margin-bottom: 12px;
}
.leg-dates {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-teal);
	letter-spacing: 2px;
	text-transform: uppercase;
}
.leg-ornament {
	margin: 20px auto 0;
	color: var(--color-gold);
}
.leg-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 80px;
	margin-top: 50px;
}
.section-title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	color: var(--color-teal);
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(184, 145, 47, 0.2);
	padding-bottom: 15px;
	letter-spacing: 1px;
}
/* Timeline styling replaced */
/* Vertical dashed gold line */
.timeline-container {
	position: relative !important;
	padding-left: 0 !important;
}
.timeline-container::before {
	content: '' !important;
	position: absolute !important;
	left: 10px !important;
	top: 0 !important;
	bottom: 0 !important;
	border-left: 2px dashed rgba(184, 145, 47, 0.25) !important;
	width: 0 !important;
	background: none !important;
	z-index: 1 !important;
}
/* Each day row */
.timeline-item {
	position: relative !important;
	padding-left: 50px !important;
	margin-left: 0 !important;
	margin-bottom: 0px !important;
	min-height: 120px !important;
}
/* Gold ring dot on the line */
.timeline-item::before {
	content: '' !important;
	position: absolute !important;
	left: -2px !important;
	top: 4px !important;
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
	background-color: #ffffff !important;
	border: 2px solid var(--color-gold) !important;
	box-shadow: 0 0 0 5px rgba(184, 145, 47, 0.1) !important;
	z-index: 2 !important;
	transition: all 0.3s ease !important;
	display: block !important;
}
.timeline-item:hover::before {
	background-color: var(--color-gold) !important;
	box-shadow: 0 0 0 7px rgba(184, 145, 47, 0.2) !important;
}
.timeline-item::after {
	display: none !important;
}

@media (max-width: 1024px) and (min-width: 641px) {
    /* TABLET: Two-column layout scaled for tablet - same as desktop but fitted */
    .mobile-timeline-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 40px !important;
        align-items: flex-start !important;
    }
    .timeline-container {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .highlights-container {
        flex: 1.1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .timeline-item {
        min-height: 150px !important;
        margin-bottom: 30px !important;
        padding-left: 40px !important;
    }
    .highlight-item-card {
        padding: 25px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .highlight-title {
        font-size: 18px !important;
    }
    .highlight-desc {
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    /* MOBILE: Interleaved single-column layout */
    .mobile-timeline-wrapper {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        padding-left: 0 !important;
    }
    /* Vertical dashed line */
    .mobile-timeline-wrapper::before {
        content: '' !important;
        position: absolute !important;
        left: 11px !important;
        top: 0 !important;
        bottom: 0 !important;
        border-left: 2px dashed rgba(184, 145, 47, 0.25) !important;
        z-index: 1 !important;
    }
    /* Dissolve column wrappers so items flow with flex order */
    .timeline-container::before {
        display: none !important;
    }
    .timeline-container, .highlights-container {
        display: contents !important;
    }
    /* Use body selectors to win specificity — each day row */
    body.page-luxor-and-the-nile .mobile-timeline-wrapper .timeline-item,
    body.page-template-page-luxor-and-the-nile .mobile-timeline-wrapper .timeline-item,
    body.page-optional-pre-departure-cairo .mobile-timeline-wrapper .timeline-item,
    body.page-template-page-optional-pre-departure-cairo .mobile-timeline-wrapper .timeline-item,
    body.page-optional-post-departure-aswan .mobile-timeline-wrapper .timeline-item,
    body.page-template-page-optional-post-departure-aswan .mobile-timeline-wrapper .timeline-item {
        position: relative !important;
        min-height: 0 !important;
        height: auto !important;
        padding-left: 68px !important;
        padding-top: 0 !important;
        margin-bottom: 28px !important;
        margin-left: 0 !important;
    }
    /* Dot: left:0 means its left edge sits at x=0. 
       Dot is 22px wide so it spans 0–22px, centered at x=11.
       Dashed line is also at x=11. Perfect alignment. */
    body.page-luxor-and-the-nile .mobile-timeline-wrapper .timeline-item::before,
    body.page-template-page-luxor-and-the-nile .mobile-timeline-wrapper .timeline-item::before,
    body.page-optional-pre-departure-cairo .mobile-timeline-wrapper .timeline-item::before,
    body.page-template-page-optional-pre-departure-cairo .mobile-timeline-wrapper .timeline-item::before,
    body.page-optional-post-departure-aswan .mobile-timeline-wrapper .timeline-item::before,
    body.page-template-page-optional-post-departure-aswan .mobile-timeline-wrapper .timeline-item::before {
        left: 0px !important;
        top: 3px !important;
        width: 22px !important;
        height: 22px !important;
        box-shadow: 0 0 0 4px rgba(184, 145, 47, 0.1) !important;
    }
    /* Highlight cards: aligned to match the text column */
    .highlight-item-card {
        width: calc(100% - 68px) !important;
        max-width: none !important;
        margin-left: 68px !important;
        box-sizing: border-box !important;
        margin-bottom: 40px !important;
        padding: 22px 20px !important;
    }
    /* Hide "Adventure Highlights" heading on mobile */
    .responsive-flex-row > .section-title:nth-child(2) {
        display: none !important;
    }
    .timeline-day {
        letter-spacing: 1.5px !important;
        margin-bottom: 5px !important;
        font-size: 10px !important;
    }
    .timeline-title {
        font-size: 19px !important;
        margin-bottom: 0 !important;
    }
    .highlight-title {
        font-size: 17px !important;
    }
    .highlight-desc {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
}
.timeline-day {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	color: var(--color-gold);
	letter-spacing: 2px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 8px;
}
.timeline-title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 10px;
}
.timeline-desc {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: rgba(43, 38, 32, 0.85);
}
/* Highlights styling */
.highlights-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.highlight-item-card {
	background-color: #ffffff;
	border: 1px solid rgba(184, 145, 47, 0.15);
	border-radius: 8px;
	padding: 45px 50px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	transition: all 0.4s ease;
	width: 100%;
	max-width: 680px;
	box-sizing: border-box;
}
.highlight-item-card:hover {
	transform: translateY(-4px);
	border-color: var(--color-gold);
	box-shadow: 0 15px 50px rgba(184, 145, 47, 0.08);
}
.highlight-title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 20px;
	letter-spacing: 0.5px;
}
.highlight-desc {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: rgba(43, 38, 32, 0.8);
}

@media (max-width: 992px) {
	.leg-detail-grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
}

.hub-btn-primary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-ink);
	background-color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 14px 30px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.hub-btn-primary:hover {
	background-color: var(--color-terracotta);
	border-color: var(--color-terracotta);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}

/* Itinerary page responsive fixes for Luxor, Cairo, and Aswan */
body.page-luxor-and-the-nile .leg-detail-grid,
body.page-template-page-luxor-and-the-nile .leg-detail-grid,
body.page-optional-pre-departure-cairo .leg-detail-grid,
body.page-template-page-optional-pre-departure-cairo .leg-detail-grid,
body.page-optional-post-departure-aswan .leg-detail-grid,
body.page-template-page-optional-post-departure-aswan .leg-detail-grid {
	grid-template-columns: 1fr 1.15fr;
	gap: 80px;
	margin-top: 50px;
}
body.page-luxor-and-the-nile .responsive-flex-row,
body.page-template-page-luxor-and-the-nile .responsive-flex-row,
body.page-optional-pre-departure-cairo .responsive-flex-row,
body.page-template-page-optional-pre-departure-cairo .responsive-flex-row,
body.page-optional-post-departure-aswan .responsive-flex-row,
body.page-template-page-optional-post-departure-aswan .responsive-flex-row {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 30px;
	align-items: flex-start !important;
}
body.page-luxor-and-the-nile .responsive-flex-row > .section-title,
body.page-template-page-luxor-and-the-nile .responsive-flex-row > .section-title,
body.page-optional-pre-departure-cairo .responsive-flex-row > .section-title,
body.page-template-page-optional-pre-departure-cairo .responsive-flex-row > .section-title,
body.page-optional-post-departure-aswan .responsive-flex-row > .section-title,
body.page-template-page-optional-post-departure-aswan .responsive-flex-row > .section-title {
	flex: 1 1 320px;
	min-width: 0;
	padding-left: 0 !important;
}
body.page-luxor-and-the-nile .timeline-container,
body.page-template-page-luxor-and-the-nile .timeline-container,
body.page-optional-pre-departure-cairo .timeline-container,
body.page-template-page-optional-pre-departure-cairo .timeline-container,
body.page-optional-post-departure-aswan .timeline-container,
body.page-template-page-optional-post-departure-aswan .timeline-container {
	padding-left: 20px !important;
}
body.page-luxor-and-the-nile .timeline-container::before,
body.page-template-page-luxor-and-the-nile .timeline-container::before,
body.page-optional-pre-departure-cairo .timeline-container::before,
body.page-template-page-optional-pre-departure-cairo .timeline-container::before,
body.page-optional-post-departure-aswan .timeline-container::before,
body.page-template-page-optional-post-departure-aswan .timeline-container::before {
	left: 0 !important;
}
body.page-luxor-and-the-nile .timeline-item,
body.page-template-page-luxor-and-the-nile .timeline-item,
body.page-optional-pre-departure-cairo .timeline-item,
body.page-template-page-optional-pre-departure-cairo .timeline-item,
body.page-optional-post-departure-aswan .timeline-item,
body.page-template-page-optional-post-departure-aswan .timeline-item {
	padding-left: 42px !important;
	min-height: auto !important;
}
body.page-luxor-and-the-nile .leg-title,
body.page-template-page-luxor-and-the-nile .leg-title,
body.page-optional-pre-departure-cairo .leg-title,
body.page-template-page-optional-pre-departure-cairo .leg-title,
body.page-optional-post-departure-aswan .leg-title,
body.page-template-page-optional-post-departure-aswan .leg-title {
	scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 110px);
}
@media (max-width: 1024px) {
	body.page-luxor-and-the-nile .leg-detail-grid,
	body.page-template-page-luxor-and-the-nile .leg-detail-grid,
	body.page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-template-page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-optional-post-departure-aswan .leg-detail-grid,
	body.page-template-page-optional-post-departure-aswan .leg-detail-grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	body.page-luxor-and-the-nile .responsive-flex-row,
	body.page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-optional-post-departure-aswan .responsive-flex-row {
		flex-direction: column !important;
		align-items: stretch !important;
	}
	body.page-luxor-and-the-nile .timeline-item,
	body.page-optional-pre-departure-cairo .timeline-item,
	body.page-optional-post-departure-aswan .timeline-item {
		padding-left: 20px !important;
	}
	body.page-luxor-and-the-nile .leg-title,
	body.page-optional-pre-departure-cairo .leg-title,
	body.page-optional-post-departure-aswan .leg-title {
		scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 100px);
	}
}
@media (max-width: 820px) {
	body.page-luxor-and-the-nile .timeline-item,
	body.page-optional-pre-departure-cairo .timeline-item,
	body.page-optional-post-departure-aswan .timeline-item {
		padding-left: 16px !important;
	}
	body.page-luxor-and-the-nile .leg-title,
	body.page-optional-pre-departure-cairo .leg-title,
	body.page-optional-post-departure-aswan .leg-title {
		scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 92px);
	}
}
@media (max-width: 420px) {
	body.page-luxor-and-the-nile .timeline-item,
	body.page-template-page-luxor-and-the-nile .timeline-item,
	body.page-optional-pre-departure-cairo .timeline-item,
	body.page-template-page-optional-pre-departure-cairo .timeline-item,
	body.page-optional-post-departure-aswan .timeline-item,
	body.page-template-page-optional-post-departure-aswan .timeline-item {
		padding-left: 12px !important;
	}
	body.page-luxor-and-the-nile .leg-title,
	body.page-template-page-luxor-and-the-nile .leg-title,
	body.page-optional-pre-departure-cairo .leg-title,
	body.page-template-page-optional-pre-departure-cairo .leg-title,
	body.page-optional-post-departure-aswan .leg-title,
	body.page-template-page-optional-post-departure-aswan .leg-title {
		scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 84px);
	}
}

@media (max-width: 767px) {
	body.page-luxor-and-the-nile .leg-page-header,
	body.page-template-page-luxor-and-the-nile .leg-page-header,
	body.page-optional-pre-departure-cairo .leg-page-header,
	body.page-template-page-optional-pre-departure-cairo .leg-page-header,
	body.page-optional-post-departure-aswan .leg-page-header,
	body.page-template-page-optional-post-departure-aswan .leg-page-header {
		margin-bottom: 28px !important;
	}

	body.page-luxor-and-the-nile .leg-title,
	body.page-template-page-luxor-and-the-nile .leg-title,
	body.page-optional-pre-departure-cairo .leg-title,
	body.page-template-page-optional-pre-departure-cairo .leg-title,
	body.page-optional-post-departure-aswan .leg-title,
	body.page-template-page-optional-post-departure-aswan .leg-title {
		font-size: clamp(28px, 7vw, 34px) !important;
		margin-bottom: 8px !important;
		line-height: 1.08 !important;
	}

	body.page-luxor-and-the-nile .leg-dates,
	body.page-template-page-luxor-and-the-nile .leg-dates,
	body.page-optional-pre-departure-cairo .leg-dates,
	body.page-template-page-optional-pre-departure-cairo .leg-dates,
	body.page-optional-post-departure-aswan .leg-dates,
	body.page-template-page-optional-post-departure-aswan .leg-dates {
		font-size: 13px !important;
		margin-bottom: 12px !important;
		letter-spacing: 1.4px !important;
	}

	body.page-luxor-and-the-nile .leg-ornament,
	body.page-template-page-luxor-and-the-nile .leg-ornament,
	body.page-optional-pre-departure-cairo .leg-ornament,
	body.page-template-page-optional-pre-departure-cairo .leg-ornament,
	body.page-optional-post-departure-aswan .leg-ornament,
	body.page-template-page-optional-post-departure-aswan .leg-ornament {
		margin-bottom: 28px !important;
	}

	body.page-luxor-and-the-nile .leg-detail-grid,
	body.page-template-page-luxor-and-the-nile .leg-detail-grid,
	body.page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-template-page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-optional-post-departure-aswan .leg-detail-grid,
	body.page-template-page-optional-post-departure-aswan .leg-detail-grid {
		grid-template-columns: 1fr !important;
		gap: 36px !important;
		margin-top: 26px !important;
	}

	body.page-luxor-and-the-nile .responsive-flex-row,
	body.page-template-page-luxor-and-the-nile .responsive-flex-row,
	body.page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-template-page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-optional-post-departure-aswan .responsive-flex-row,
	body.page-template-page-optional-post-departure-aswan .responsive-flex-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 20px !important;
	}

	body.page-luxor-and-the-nile .responsive-flex-row > .section-title,
	body.page-template-page-luxor-and-the-nile .responsive-flex-row > .section-title,
	body.page-optional-pre-departure-cairo .responsive-flex-row > .section-title,
	body.page-template-page-optional-pre-departure-cairo .responsive-flex-row > .section-title,
	body.page-optional-post-departure-aswan .responsive-flex-row > .section-title,
	body.page-template-page-optional-post-departure-aswan .responsive-flex-row > .section-title {
		flex: 1 1 100% !important;
		width: 100% !important;
		padding-left: 0 !important;
	}

	body.page-luxor-and-the-nile .section-title,
	body.page-template-page-luxor-and-the-nile .section-title,
	body.page-optional-pre-departure-cairo .section-title,
	body.page-template-page-optional-pre-departure-cairo .section-title,
	body.page-optional-post-departure-aswan .section-title,
	body.page-template-page-optional-post-departure-aswan .section-title {
		font-size: clamp(22px, 6vw, 26px) !important;
		margin-bottom: 18px !important;
		padding-bottom: 12px !important;
	}

	body.page-luxor-and-the-nile .timeline-container,
	body.page-template-page-luxor-and-the-nile .timeline-container,
	body.page-optional-pre-departure-cairo .timeline-container,
	body.page-template-page-optional-pre-departure-cairo .timeline-container,
	body.page-optional-post-departure-aswan .timeline-container,
	body.page-template-page-optional-post-departure-aswan .timeline-container {
		padding-left: 0 !important;
	}

	body.page-luxor-and-the-nile .timeline-container::before,
	body.page-template-page-luxor-and-the-nile .timeline-container::before,
	body.page-optional-pre-departure-cairo .timeline-container::before,
	body.page-template-page-optional-pre-departure-cairo .timeline-container::before,
	body.page-optional-post-departure-aswan .timeline-container::before,
	body.page-template-page-optional-post-departure-aswan .timeline-container::before {
		left: 14px !important;
		top: 4px !important;
		height: auto !important;
	}

	body.page-luxor-and-the-nile .timeline-item,
	body.page-template-page-luxor-and-the-nile .timeline-item,
	body.page-optional-pre-departure-cairo .timeline-item,
	body.page-template-page-optional-pre-departure-cairo .timeline-item,
	body.page-optional-post-departure-aswan .timeline-item,
	body.page-template-page-optional-post-departure-aswan .timeline-item {
		padding-left: 42px !important;
		margin-bottom: 24px !important;
		min-height: auto !important;
	}

	body.page-luxor-and-the-nile .timeline-item::before,
	body.page-template-page-luxor-and-the-nile .timeline-item::before,
	body.page-optional-pre-departure-cairo .timeline-item::before,
	body.page-template-page-optional-pre-departure-cairo .timeline-item::before,
	body.page-optional-post-departure-aswan .timeline-item::before,
	body.page-template-page-optional-post-departure-aswan .timeline-item::before {
		left: -2px !important;
		width: 24px !important;
		height: 24px !important;
	}

	body.page-luxor-and-the-nile .timeline-day,
	body.page-template-page-luxor-and-the-nile .timeline-day,
	body.page-optional-pre-departure-cairo .timeline-day,
	body.page-template-page-optional-pre-departure-cairo .timeline-day,
	body.page-optional-post-departure-aswan .timeline-day,
	body.page-template-page-optional-post-departure-aswan .timeline-day {
		font-size: 10px !important;
		margin-bottom: 6px !important;
	}

	body.page-luxor-and-the-nile .timeline-title,
	body.page-template-page-luxor-and-the-nile .timeline-title,
	body.page-optional-pre-departure-cairo .timeline-title,
	body.page-template-page-optional-pre-departure-cairo .timeline-title,
	body.page-optional-post-departure-aswan .timeline-title,
	body.page-template-page-optional-post-departure-aswan .timeline-title {
		font-size: clamp(18px, 7vw, 22px) !important;
	}

	body.page-luxor-and-the-nile .highlight-item-card,
	body.page-template-page-luxor-and-the-nile .highlight-item-card,
	body.page-optional-pre-departure-cairo .highlight-item-card,
	body.page-template-page-optional-pre-departure-cairo .highlight-item-card,
	body.page-optional-post-departure-aswan .highlight-item-card,
	body.page-template-page-optional-post-departure-aswan .highlight-item-card {
		width: 100% !important;
		padding: 24px !important;
	}

	body.page-luxor-and-the-nile .highlight-title,
	body.page-template-page-luxor-and-the-nile .highlight-title,
	body.page-optional-pre-departure-cairo .highlight-title,
	body.page-template-page-optional-pre-departure-cairo .highlight-title,
	body.page-optional-post-departure-aswan .highlight-title,
	body.page-template-page-optional-post-departure-aswan .highlight-title {
		font-size: clamp(20px, 6vw, 24px) !important;
		margin-bottom: 12px !important;
	}

	body.page-luxor-and-the-nile .highlight-desc,
	body.page-template-page-luxor-and-the-nile .highlight-desc,
	body.page-optional-pre-departure-cairo .highlight-desc,
	body.page-template-page-optional-pre-departure-cairo .highlight-desc,
	body.page-optional-post-departure-aswan .highlight-desc,
	body.page-template-page-optional-post-departure-aswan .highlight-desc {
		font-size: 15px !important;
		line-height: 1.65 !important;
	}

	body.page-luxor-and-the-nile .bm-wrap,
	body.page-template-page-luxor-and-the-nile .bm-wrap,
	body.page-optional-pre-departure-cairo .bm-wrap,
	body.page-template-page-optional-pre-departure-cairo .bm-wrap,
	body.page-optional-post-departure-aswan .bm-wrap,
	body.page-template-page-optional-post-departure-aswan .bm-wrap {
		padding-top: calc(env(safe-area-inset-top, 0px) + 92px);
	}

	body.page-luxor-and-the-nile .leg-title,
	body.page-template-page-luxor-and-the-nile .leg-title,
	body.page-optional-pre-departure-cairo .leg-title,
	body.page-template-page-optional-pre-departure-cairo .leg-title,
	body.page-optional-post-departure-aswan .leg-title,
	body.page-template-page-optional-post-departure-aswan .leg-title {
		scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 92px) !important;
	}
}

/* End itinerary responsive fixes */

@media (max-width: 767px) {
	body.page-luxor-and-the-nile .leg-page-header,
	body.page-template-page-luxor-and-the-nile .leg-page-header,
	body.page-optional-pre-departure-cairo .leg-page-header,
	body.page-template-page-optional-pre-departure-cairo .leg-page-header,
	body.page-optional-post-departure-aswan .leg-page-header,
	body.page-template-page-optional-post-departure-aswan .leg-page-header {
		margin-bottom: 24px !important;
	}

	body.page-luxor-and-the-nile .leg-title,
	body.page-template-page-luxor-and-the-nile .leg-title,
	body.page-optional-pre-departure-cairo .leg-title,
	body.page-template-page-optional-pre-departure-cairo .leg-title,
	body.page-optional-post-departure-aswan .leg-title,
	body.page-template-page-optional-post-departure-aswan .leg-title {
		font-size: clamp(28px, 7vw, 34px) !important;
		line-height: 1.08 !important;
		margin-bottom: 10px !important;
	}

	body.page-luxor-and-the-nile .leg-dates,
	body.page-template-page-luxor-and-the-nile .leg-dates,
	body.page-optional-pre-departure-cairo .leg-dates,
	body.page-template-page-optional-pre-departure-cairo .leg-dates,
	body.page-optional-post-departure-aswan .leg-dates,
	body.page-template-page-optional-post-departure-aswan .leg-dates {
		font-size: 13px !important;
		margin-bottom: 12px !important;
		letter-spacing: 1.4px !important;
	}

	body.page-luxor-and-the-nile .leg-ornament,
	body.page-template-page-luxor-and-the-nile .leg-ornament,
	body.page-optional-pre-departure-cairo .leg-ornament,
	body.page-template-page-optional-pre-departure-cairo .leg-ornament,
	body.page-optional-post-departure-aswan .leg-ornament,
	body.page-template-page-optional-post-departure-aswan .leg-ornament {
		margin-bottom: 24px !important;
	}

	body.page-luxor-and-the-nile .leg-detail-grid,
	body.page-template-page-luxor-and-the-nile .leg-detail-grid,
	body.page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-template-page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-optional-post-departure-aswan .leg-detail-grid,
	body.page-template-page-optional-post-departure-aswan .leg-detail-grid {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
		margin-top: 24px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .responsive-flex-row,
	body.page-template-page-luxor-and-the-nile .responsive-flex-row,
	body.page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-template-page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-optional-post-departure-aswan .responsive-flex-row,
	body.page-template-page-optional-post-departure-aswan .responsive-flex-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 20px !important;
		width: 100% !important;
	}

	body.page-luxor-and-the-nile .responsive-flex-row > *,
	body.page-template-page-luxor-and-the-nile .responsive-flex-row > *,
	body.page-optional-pre-departure-cairo .responsive-flex-row > *,
	body.page-template-page-optional-pre-departure-cairo .responsive-flex-row > *,
	body.page-optional-post-departure-aswan .responsive-flex-row > *,
	body.page-template-page-optional-post-departure-aswan .responsive-flex-row > * {
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .responsive-flex-row > .section-title,
	body.page-template-page-luxor-and-the-nile .responsive-flex-row > .section-title,
	body.page-optional-pre-departure-cairo .responsive-flex-row > .section-title,
	body.page-template-page-optional-pre-departure-cairo .responsive-flex-row > .section-title,
	body.page-optional-post-departure-aswan .responsive-flex-row > .section-title,
	body.page-template-page-optional-post-departure-aswan .responsive-flex-row > .section-title {
		flex: none !important;
		padding-left: 0 !important;
	}

	body.page-luxor-and-the-nile .section-title,
	body.page-template-page-luxor-and-the-nile .section-title,
	body.page-optional-pre-departure-cairo .section-title,
	body.page-template-page-optional-pre-departure-cairo .section-title,
	body.page-optional-post-departure-aswan .section-title,
	body.page-template-page-optional-post-departure-aswan .section-title {
		font-size: clamp(22px, 6vw, 26px) !important;
		margin-bottom: 16px !important;
		padding-bottom: 12px !important;
	}

	body.page-luxor-and-the-nile .timeline-container,
	body.page-template-page-luxor-and-the-nile .timeline-container,
	body.page-optional-pre-departure-cairo .timeline-container,
	body.page-template-page-optional-pre-departure-cairo .timeline-container,
	body.page-optional-post-departure-aswan .timeline-container,
	body.page-template-page-optional-post-departure-aswan .timeline-container {
		padding-left: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .timeline-container::before,
	body.page-template-page-luxor-and-the-nile .timeline-container::before,
	body.page-optional-pre-departure-cairo .timeline-container::before,
	body.page-template-page-optional-pre-departure-cairo .timeline-container::before,
	body.page-optional-post-departure-aswan .timeline-container::before,
	body.page-template-page-optional-post-departure-aswan .timeline-container::before {
		left: 14px !important;
		top: 4px !important;
		bottom: 0 !important;
		width: 1px !important;
		height: auto !important;
		border-left: 2px dashed rgba(184, 145, 47, 0.25) !important;
	}

	body.page-luxor-and-the-nile .timeline-item,
	body.page-template-page-luxor-and-the-nile .timeline-item,
	body.page-optional-pre-departure-cairo .timeline-item,
	body.page-template-page-optional-pre-departure-cairo .timeline-item,
	body.page-optional-post-departure-aswan .timeline-item,
	body.page-template-page-optional-post-departure-aswan .timeline-item {
		padding-left: 46px !important;
		margin-bottom: 20px !important;
		min-height: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .timeline-item::before,
	body.page-template-page-luxor-and-the-nile .timeline-item::before,
	body.page-optional-pre-departure-cairo .timeline-item::before,
	body.page-template-page-optional-pre-departure-cairo .timeline-item::before,
	body.page-optional-post-departure-aswan .timeline-item::before,
	body.page-template-page-optional-post-departure-aswan .timeline-item::before {
		left: 0 !important;
		top: 4px !important;
		width: 24px !important;
		height: 24px !important;
		border-radius: 50% !important;
	}

	body.page-luxor-and-the-nile .timeline-day,
	body.page-template-page-luxor-and-the-nile .timeline-day,
	body.page-optional-pre-departure-cairo .timeline-day,
	body.page-template-page-optional-pre-departure-cairo .timeline-day,
	body.page-optional-post-departure-aswan .timeline-day,
	body.page-template-page-optional-post-departure-aswan .timeline-day {
		font-size: 10px !important;
		margin-bottom: 8px !important;
	}

	body.page-luxor-and-the-nile .timeline-title,
	body.page-template-page-luxor-and-the-nile .timeline-title,
	body.page-optional-pre-departure-cairo .timeline-title,
	body.page-template-page-optional-pre-departure-cairo .timeline-title,
	body.page-optional-post-departure-aswan .timeline-title,
	body.page-template-page-optional-post-departure-aswan .timeline-title {
		font-size: clamp(18px, 7vw, 22px) !important;
		margin-bottom: 8px !important;
	}

	body.page-luxor-and-the-nile .highlight-item-card,
	body.page-template-page-luxor-and-the-nile .highlight-item-card,
	body.page-optional-pre-departure-cairo .highlight-item-card,
	body.page-template-page-optional-pre-departure-cairo .highlight-item-card,
	body.page-optional-post-departure-aswan .highlight-item-card,
	body.page-template-page-optional-post-departure-aswan .highlight-item-card {
		width: 100% !important;
		max-width: none !important;
		padding: 24px 20px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .highlight-title,
	body.page-template-page-luxor-and-the-nile .highlight-title,
	body.page-optional-pre-departure-cairo .highlight-title,
	body.page-template-page-optional-pre-departure-cairo .highlight-title,
	body.page-optional-post-departure-aswan .highlight-title,
	body.page-template-page-optional-post-departure-aswan .highlight-title {
		font-size: clamp(20px, 6vw, 24px) !important;
		margin-bottom: 12px !important;
	}

	body.page-luxor-and-the-nile .highlight-desc,
	body.page-template-page-luxor-and-the-nile .highlight-desc,
	body.page-optional-pre-departure-cairo .highlight-desc,
	body.page-template-page-optional-pre-departure-cairo .highlight-desc,
	body.page-optional-post-departure-aswan .highlight-desc,
	body.page-template-page-optional-post-departure-aswan .highlight-desc {
		font-size: 15px !important;
		line-height: 1.65 !important;
	}
}

@media (max-width: 767px) {
	body.page-luxor-and-the-nile .leg-detail-grid,
	body.page-template-page-luxor-and-the-nile .leg-detail-grid,
	body.page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-template-page-optional-pre-departure-cairo .leg-detail-grid,
	body.page-optional-post-departure-aswan .leg-detail-grid,
	body.page-template-page-optional-post-departure-aswan .leg-detail-grid {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .itinerary-timeline,
	body.page-template-page-luxor-and-the-nile .itinerary-timeline,
	body.page-optional-pre-departure-cairo .itinerary-timeline,
	body.page-template-page-optional-pre-departure-cairo .itinerary-timeline,
	body.page-optional-post-departure-aswan .itinerary-timeline,
	body.page-template-page-optional-post-departure-aswan .itinerary-timeline {
		display: block !important;
		width: 100% !important;
	}

	body.page-luxor-and-the-nile .responsive-flex-row,
	body.page-template-page-luxor-and-the-nile .responsive-flex-row,
	body.page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-template-page-optional-pre-departure-cairo .responsive-flex-row,
	body.page-optional-post-departure-aswan .responsive-flex-row,
	body.page-template-page-optional-post-departure-aswan .responsive-flex-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 20px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .timeline-container,
	body.page-template-page-luxor-and-the-nile .timeline-container,
	body.page-optional-pre-departure-cairo .timeline-container,
	body.page-template-page-optional-pre-departure-cairo .timeline-container,
	body.page-optional-post-departure-aswan .timeline-container,
	body.page-template-page-optional-post-departure-aswan .timeline-container {
		padding-left: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .timeline-container::before,
	body.page-template-page-luxor-and-the-nile .timeline-container::before,
	body.page-optional-pre-departure-cairo .timeline-container::before,
	body.page-template-page-optional-pre-departure-cairo .timeline-container::before,
	body.page-optional-post-departure-aswan .timeline-container::before,
	body.page-template-page-optional-post-departure-aswan .timeline-container::before {
		left: 12px !important;
		top: 0 !important;
		bottom: 0 !important;
		width: 1px !important;
		border-left: 2px dashed rgba(184, 145, 47, 0.25) !important;
	}

	body.page-luxor-and-the-nile .timeline-item,
	body.page-template-page-luxor-and-the-nile .timeline-item,
	body.page-optional-pre-departure-cairo .timeline-item,
	body.page-template-page-optional-pre-departure-cairo .timeline-item,
	body.page-optional-post-departure-aswan .timeline-item,
	body.page-template-page-optional-post-departure-aswan .timeline-item {
		padding-left: 38px !important;
		margin-bottom: 20px !important;
		min-height: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .timeline-item::before,
	body.page-template-page-luxor-and-the-nile .timeline-item::before,
	body.page-optional-pre-departure-cairo .timeline-item::before,
	body.page-template-page-optional-pre-departure-cairo .timeline-item::before,
	body.page-optional-post-departure-aswan .timeline-item::before,
	body.page-template-page-optional-post-departure-aswan .timeline-item::before {
		left: 0 !important;
		top: 4px !important;
		width: 24px !important;
		height: 24px !important;
	}

	body.page-luxor-and-the-nile .timeline-item:not(:last-child)::after,
	body.page-template-page-luxor-and-the-nile .timeline-item:not(:last-child)::after,
	body.page-optional-pre-departure-cairo .timeline-item:not(:last-child)::after,
	body.page-template-page-optional-pre-departure-cairo .timeline-item:not(:last-child)::after,
	body.page-optional-post-departure-aswan .timeline-item:not(:last-child)::after,
	body.page-template-page-optional-post-departure-aswan .timeline-item:not(:last-child)::after {
		display: none !important;
	}

	body.page-luxor-and-the-nile .highlight-item-card,
	body.page-template-page-luxor-and-the-nile .highlight-item-card,
	body.page-optional-pre-departure-cairo .highlight-item-card,
	body.page-template-page-optional-pre-departure-cairo .highlight-item-card,
	body.page-optional-post-departure-aswan .highlight-item-card,
	body.page-template-page-optional-post-departure-aswan .highlight-item-card {
		width: 100% !important;
		max-width: none !important;
		padding: 24px 20px !important;
		margin: 0 0 7px !important;
		box-sizing: border-box !important;
	}

	body.page-luxor-and-the-nile .highlight-item-card:last-child,
	body.page-template-page-luxor-and-the-nile .highlight-item-card:last-child,
	body.page-optional-pre-departure-cairo .highlight-item-card:last-child,
	body.page-template-page-optional-pre-departure-cairo .highlight-item-card:last-child,
	body.page-optional-post-departure-aswan .highlight-item-card:last-child,
	body.page-template-page-optional-post-departure-aswan .highlight-item-card:last-child {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 767px) {
	.timeline-item {
		padding-left: 24px !important;
		margin-bottom: 20px !important;
		min-height: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.timeline-item::before {
		left: 0 !important;
		top: 4px !important;
		width: 24px !important;
		height: 24px !important;
		border-radius: 50% !important;
	}

	.timeline-item:not(:last-child)::after {
		display: none !important;
	}

	.timeline-container {
		padding-left: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.timeline-container::before {
		left: 12px !important;
		top: 0 !important;
		bottom: 0 !important;
		width: 1px !important;
		border-left: 2px dashed rgba(184, 145, 47, 0.25) !important;
	}

	.highlight-item-card {
		width: 100% !important;
		max-width: none !important;
		padding: 24px 20px !important;
		margin: 0 0 20px !important;
		box-sizing: border-box !important;
	}

	.highlight-item-card:last-child {
		margin-bottom: 0 !important;
	}

	.responsive-flex-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 20px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.responsive-flex-row > * {
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.responsive-flex-row > .section-title {
		padding-left: 0 !important;
		flex: none !important;
	}
}

/* Styles from page-packing-list.php */
/* ── Subpage shell ── */
.sp-wrap {
  background: var(--color-cream);
  min-height: 100vh;
  padding: 100px 0 80px;
}
.sp-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Back navigation button ── */
.sp-back-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #B8912F;
  background-image: url('/vancleefarpels/wp-content/themes/vancleefarpels/assets/images/button-sand-bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid #B8912F;
  border-radius: 4px;
  padding: 14px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sp-back-btn:hover {
  background-color: #A05B48;
  border-color: #A05B48;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}

/* ── Page header ── */
.sp-header { margin-bottom: 52px; }
.sp-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size:13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.sp-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.sp-rule {
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold), transparent);
  margin-bottom: 0;
}

/* ── Card grid ── */
/* ── Card grid ── */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* ── Individual card ── */
.sp-card {
  background: #fff;
  border: 1px solid rgba(184,145,47,0.15);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.sp-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 20px 50px rgba(184,145,47,0.1);
  transform: translateY(-5px);
}
.sp-card--pending {
  border-style: dashed;
  background: rgba(184,145,47,0.02);
}
.sp-card--pending:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(184,145,47,0.1); border-color: rgba(184,145,47,0.4); }

.sp-card-icon {
  width: 52px;
  height: 52px;
  color: var(--color-ink);
  flex-shrink: 0;
  margin-bottom: 24px;
  background: #F4F4F4;
  border-radius: 10px;
  padding: 12px;
  transition: all 0.4s ease;
}
.sp-card:hover .sp-card-icon {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 5px 15px rgba(184,145,47,0.3);
}
.sp-card-icon svg { width: 100%; height: 100%; display: block; }

.sp-card-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 0;
  line-height: 1.15;
  transition: color 0.4s ease;
  white-space: normal;
  position: relative;
  z-index: 2;
}
.sp-card:hover .sp-card-title {
  color: var(--color-gold);
}

.sp-card-watermark {
  position: absolute;
  top: 30px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 100px;
  font-weight: 300;
  color: rgba(0,0,0,0.03);
  line-height: 0.8;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}
.sp-card:hover .sp-card-watermark {
  color: rgba(184,145,47,0.05);
  transform: scale(1.1);
}

.sp-card-content {
  margin-top: 20px;
  width: 100%;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sp-card-theme {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--color-teal);
  margin-bottom: 16px;
}
.sp-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(43,38,32,0.85);
  margin-bottom: 0;
}

/* ── Pending badge ── */
.sp-pending-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size:12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  border-top: 1px solid rgba(184,145,47,0.25);
  padding-top: 14px;
  margin-top: 18px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sp-grid { grid-template-columns: 1fr; }
  .sp-card-watermark { font-size: 80px; }
}

/* Styles from page-weather.php */
/* ── Subpage shell ── */
.sp-wrap {
  background: var(--color-cream);
  min-height: 100vh;
  padding: 100px 0 80px;
}
.sp-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Back navigation button ── */
.sp-back-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #B8912F;
  background-image: url('/vancleefarpels/wp-content/themes/vancleefarpels/assets/images/button-sand-bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid #B8912F;
  border-radius: 4px;
  padding: 14px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sp-back-btn:hover {
  background-color: #A05B48;
  border-color: #A05B48;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}

/* ── Page header ── */
.sp-header { margin-bottom: 48px; }
.sp-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size:13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.sp-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  line-height: 1.15;
}
.sp-rule {
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold), transparent);
}
.sp-intro {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(43,38,32,0.75);
  max-width: 680px;
  margin-top: 20px;
  margin-bottom: 0;
}

/* ── Temperature table ── */
.sp-table-section {
  margin-bottom: 56px;
}
.sp-section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}
.sp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
  min-width: 540px;
}
.sp-table thead tr {
  border-bottom: 2px solid rgba(184,145,47,0.5);
}
.sp-table th {
  font-weight: 700;
  font-size:13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 12px 18px;
  text-align: left;
}
.sp-table tbody tr {
  border-bottom: 1px solid rgba(184,145,47,0.13);
  transition: background 0.2s;
}
.sp-table tbody tr:last-child { border-bottom: none; }
.sp-table tbody tr:hover { background: rgba(184,145,47,0.04); }
.sp-table td {
  padding: 18px 18px;
  color: rgba(43,38,32,0.88);
  vertical-align: top;
  line-height: 1.55;
}
.sp-city-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-ink) !important;
}
.sp-city-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sp-city-dot--cairo   { background: var(--color-teal); }
.sp-city-dot--luxor   { background: var(--color-gold); }
.sp-city-dot--aswan   { background: var(--color-terracotta); }

/* ── Tip cards grid ── */
.sp-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.sp-card {
  background: #fff;
  border: 1px solid rgba(184,145,47,0.15);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
}
.sp-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 15px 50px rgba(184,145,47,0.08);
  transform: translateY(-4px);
}
.sp-tip-icon {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  margin-bottom: 18px;
}
.sp-tip-icon svg { width: 100%; height: 100%; display: block; }
.sp-tip-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 10px;
}
.sp-tip-desc {
  font-family: var(--font-body);
  font-size:16.5px;
  line-height: 1.7;
  color: rgba(43,38,32,0.78);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .sp-wrap { padding: 80px 0 60px; }
  .sp-container { padding: 0 20px; }
  .sp-tips-grid { grid-template-columns: 1fr; }
}

/* Styles from page-what-we-need-from-you.php */
.intake-page-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.subpage-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 55px;
}
.subpage-tagline {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 12px;
}
.subpage-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 46px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 1px;
	margin-bottom: 8px;
}
.subpage-ornament { margin: 15px auto 20px; }
.subpage-desc {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: rgba(43, 38, 32, 0.85);
}
/* Form layout */
.intake-form {
	max-width: 900px;
	margin: 0 auto;
}
.form-fieldset {
	border: none;
	padding: 0;
	margin: 0 0 50px;
}
.form-fieldset--last {
	margin-bottom: 40px;
}
.fieldset-legend {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	color: var(--color-teal);
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(184, 145, 47, 0.2);
	width: 100%;
}
.legend-num {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--color-gold);
	width: 30px;
	height: 30px;
	border: 1px solid rgba(184, 145, 47, 0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.fieldset-note {
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(43, 38, 32, 0.65);
	margin-bottom: 20px;
	font-style: italic;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin-bottom: 20px;
}
.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.form-label {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(43, 38, 32, 0.7);
}
.required-star { color: var(--color-terracotta); }
.form-input,
.form-textarea,
.form-select {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-ink);
	background-color: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(184, 145, 47, 0.3);
	border-radius: 3px;
	padding: 13px 16px;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	width: 100%;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	border-color: var(--color-gold);
	box-shadow: 0 0 0 3px rgba(184, 145, 47, 0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
/* Checkbox rows */
.form-checkbox-row {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.form-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	cursor: pointer;
	position: relative;
}
.form-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.checkbox-custom {
	width: 22px;
	height: 22px;
	border: 2px solid rgba(184, 145, 47, 0.5);
	border-radius: 3px;
	flex-shrink: 0;
	margin-top: 2px;
	position: relative;
	transition: all 0.2s ease;
}
.form-checkbox:checked + .checkbox-custom {
	background-color: var(--color-teal);
	border-color: var(--color-teal);
}
.form-checkbox:checked + .checkbox-custom::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: 2px solid var(--color-gold);
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}
.checkbox-text {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-ink);
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.checkbox-text strong { font-weight: 600; }
.checkbox-text em {
	font-style: normal;
	font-size: 13px;
	color: var(--color-gold);
	font-weight: 600;
	letter-spacing: 0.5px;
}
/* Submit row */
.form-submit-row {
	display: flex;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
	max-width: 900px;
	margin: 0 auto;
	padding-top: 10px;
	border-top: 1px solid rgba(184, 145, 47, 0.2);
}
.form-privacy-note {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(43, 38, 32, 0.55);
	line-height: 1.5;
	flex: 1;
	margin: 0;
}
.btn-submit-intake {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-off-white);
	background-color: var(--color-teal);
	border: none;
	border-radius: 3px;
	padding: 16px 32px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.btn-submit-intake svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}
.btn-submit-intake:hover {
	background-color: var(--color-gold);
	color: var(--color-ink);
}
.btn-submit-intake:hover svg { transform: translateX(4px); }
/* Success & Error States */
.intake-success-card {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	background-color: var(--color-cream);
	border: 1px solid rgba(184, 145, 47, 0.3);
	border-radius: 4px;
	padding: 65px 40px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.success-icon {
	font-size: 40px;
	color: var(--color-teal);
	width: 65px;
	height: 65px;
	border: 2px solid var(--color-teal);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	font-family: var(--font-body);
	font-weight: 300;
}
.intake-success-card h2 {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 15px;
}
.intake-success-card p {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: rgba(43, 38, 32, 0.8);
	margin: 0;
}
.intake-error-card {
	max-width: 900px;
	margin: 0 auto 35px;
	background-color: rgba(184, 100, 60, 0.08);
	border: 1px solid var(--color-terracotta);
	border-radius: 3px;
	padding: 22px 28px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
}
.intake-error-card ul {
	margin: 10px 0 0;
	padding-left: 18px;
}
.intake-error-card ul li { margin-bottom: 5px; }

@media (max-width: 768px) {
	.form-row { grid-template-columns: 1fr; }
	.form-submit-row { flex-direction: column; align-items: flex-start; }
}

/* Styles from page-what-we-will-do.php */
.hub-page-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.hub-page-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}
.hub-tagline {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 12px;
}
.hub-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 2px;
}
.hub-ornament {
	margin: 15px auto 25px;
	color: var(--color-gold);
}
.hub-description {
	font-family: var(--font-body);
	font-size: 17px;
	color: rgba(43, 38, 32, 0.85);
	line-height: 1.6;
}
.legs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
}
.leg-card {
	background-color: #ffffff;
	border: 1px solid rgba(184, 145, 47, 0.15);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	transition: all 0.4s ease;
}
.hub-btn-primary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-ink);
	background-color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 14px 30px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.hub-btn-primary:hover {
	background-color: var(--color-terracotta);
	border-color: var(--color-terracotta);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}
.leg-card:hover {
	transform: translateY(-4px);
	border-color: var(--color-gold);
	box-shadow: 0 15px 50px rgba(184, 145, 47, 0.08);
}
.leg-card-image {
	height: 240px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.leg-card-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(30, 59, 56, 0.15);
}
.leg-status-badge {
	position: absolute;
	top: 20px;
	left: 20px;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 2px;
	color: var(--color-off-white);
}
.leg-status-badge.core {
	background-color: var(--color-teal);
	border: 1px solid var(--color-gold);
}
.leg-status-badge.optional {
	background-color: var(--color-terracotta);
}
.leg-card-content {
	padding: 40px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.leg-dates {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--color-gold);
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 12px;
	display: block;
}
.leg-title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 15px;
	line-height: 1.2;
}
.leg-desc {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: rgba(43, 38, 32, 0.8);
	margin-bottom: 25px;
	flex-grow: 1;
}

/* Styles from page-where-we-will-stay.php */
.accommodations-page-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.accomm-page-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}
.accomm-tagline {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 12px;
}
.accomm-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 2px;
}
.accomm-ornament {
	margin: 15px auto 25px;
	color: var(--color-gold);
}
.accomm-description {
	font-family: var(--font-body);
	font-size: 20px;
	color: rgba(43, 38, 32, 0.85);
	line-height: 1.7;
}
.accomm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 40px;
}
.accomm-card {
	background-color: #ffffff;
	border: 1px solid rgba(184, 145, 47, 0.15);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	transition: all 0.4s ease;
}
.hub-btn-primary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-ink);
	background-color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 14px 30px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.hub-btn-primary:hover {
	background-color: var(--color-terracotta);
	border-color: var(--color-terracotta);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}
.accomm-card:hover {
	transform: translateY(-4px);
	border-color: var(--color-gold);
	box-shadow: 0 15px 50px rgba(184, 145, 47, 0.08);
}
.accomm-card-image {
	height: 240px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.leg-card-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(30, 59, 56, 0.15);
}
.accomm-card-placeholder-image {
	height: 250px;
	background: linear-gradient(135deg, var(--color-sand) 0%, rgba(184,145,47,0.15) 100%);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-bottom: 1px solid rgba(184, 145, 47, 0.15);
}
.placeholder-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle, transparent 20%, rgba(30,59,56,0.08) 100%);
}
.placeholder-text-overlay {
	z-index: 2;
}
.placeholder-text-overlay span {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 1px;
	color: var(--color-ink);
	display: block;
	margin-bottom: 8px;
}
.placeholder-text-overlay p {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: 0;
}
.accomm-card-content {
	padding: 40px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.accomm-card-city {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--color-gold);
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.accomm-card-title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 15px;
	line-height: 1.2;
}
.accomm-card-desc {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: rgba(43, 38, 32, 0.85);
	margin-bottom: 25px;
	flex-grow: 1;
}


@media (max-width: 768px) {
	.accomm-grid {
		grid-template-columns: 1fr;
	}
}

/* Styles from single-accommodation.php */
.hotel-page-wrapper {
	background-color: var(--color-cream);
	padding: 120px 0 80px;
	min-height: 100vh;
}
.hotel-header {
	text-align: center;
	margin-bottom: 50px;
}
.hotel-tagline {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--color-gold);
	display: block;
	margin-bottom: 15px;
}
.hotel-title {
	font-family: var(--font-display);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 400;
	color: var(--color-ink);
	letter-spacing: 1px;
	margin-bottom: 15px;
}
.hotel-ornament {
	margin: 20px auto 0;
	color: var(--color-gold);
}
.hotel-hero-image {
	width: 100%;
	height: 500px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.08);
	margin-bottom: 60px;
}
.hotel-content-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
}
.section-title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	color: var(--color-teal);
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(184, 145, 47, 0.2);
	padding-bottom: 15px;
	letter-spacing: 1px;
}
.hotel-main-content p {
	font-family: var(--font-body);
	font-size: 20px;
	line-height: 1.75;
	color: rgba(43, 38, 32, 0.85);
	margin-bottom: 25px;
}
.hotel-sub-title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	color: var(--color-ink);
	margin-top: 40px;
	margin-bottom: 20px;
}
.hotel-amenities-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hotel-amenities-list li {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.7;
	color: rgba(43, 38, 32, 0.85);
	padding-left: 20px;
	position: relative;
	margin-bottom: 14px;
}
.hotel-amenities-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--color-gold);
}
.hotel-action-card {
	background-color: #ffffff;
	border: 1px solid rgba(184, 145, 47, 0.15);
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	text-align: center;
}
.hotel-action-card h3 {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 15px;
}
.hotel-action-card p {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: rgba(43, 38, 32, 0.8);
	margin-bottom: 30px;
}
.hub-btn-primary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-ink);
	background-color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 14px 30px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
	width: 100%;
}
.hub-btn-primary:hover {
	background-color: var(--color-terracotta);
	border-color: var(--color-terracotta);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(184, 145, 47, 0.2);
}
@media (max-width: 992px) {
	.hotel-content-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hotel-hero-image {
		height: 350px;
	}
}


/* FORCE OVERRIDES FOR HEADING AND TIMELINE TO MATCH PREVIOUS SCREENSHOT */
.leg-title {
    font-size: clamp(42px, 6vw, 48px) !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

.timeline-container::before {
    content: '' !important;
    position: absolute !important;
    left: 10px !important;
    top: 0 !important;
    bottom: 0 !important;
    border-left: 2px dashed rgba(184, 145, 47, 0.4) !important;
    width: 0 !important;
    background: none !important;
    display: block !important;
}

.timeline-item {
    position: relative !important;
}

.timeline-item::before {
    content: '' !important;
    position: absolute !important;
    left: -2px !important;
    top: 0px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 2px solid var(--color-gold) !important;
    box-shadow: 0 0 0 5px rgba(184, 145, 47, 0.1) !important;
    z-index: 2 !important;
}

.timeline-item::after {
    display: none !important;
}

.timeline-item:hover::before {
    background-color: var(--color-gold) !important;
    box-shadow: 0 0 0 7px rgba(184, 145, 47, 0.2) !important;
}


/* MATH FIX FOR TIMELINE ALIGNMENT */
.timeline-container {
    padding-left: 0 !important;
}

.timeline-container::before {
    left: 10px !important;
}

	.timeline-item {
    margin-left: 0 !important;
}

	@media (max-width: 1024px) {
	.bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 110px); padding-bottom: 24px !important; padding-left: 0 !important; padding-right: 0 !important; }
	.bm-title, .hotel-title { margin-top: 4px !important; margin-bottom: 6px !important; font-size: clamp(24px, 4.5vw, 34px) !important; scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 110px) !important; }
	.hotel-hero-image { height: 350px !important; }
	.hotel-content-grid { gap: 40px !important; }
}

@media (max-width: 768px) {
	.bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 100px); padding-bottom: 20px !important; padding-left: 0 !important; padding-right: 0 !important; }
	.bm-title, .hotel-title { font-size: clamp(20px, 7vw, 30px) !important; scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 100px) !important; }
	.hotel-hero-image { height: 300px !important; }
	.accomm-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
	.bm-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); padding-bottom: 16px !important; padding-left: 0 !important; padding-right: 0 !important; }
	.bm-title, .hotel-title { font-size: clamp(18px, 10vw, 26px) !important; scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 92px) !important; }
}

/* Fallback scroll margin for titles when header is fixed */
.bm-title, .hotel-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 110px); }
@media (max-width: 768px) { .bm-title, .hotel-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 100px); } }
@media (max-width: 420px) { .bm-title, .hotel-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 92px); } }

/* High-specificity overrides for single accommodation pages to avoid header overlap */
body.single-accommodation .hotel-page-wrapper {
	padding-top: calc(env(safe-area-inset-top, 0px) + 110px) !important;
}
@media (max-width: 1024px) {
	body.single-accommodation .hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 84px) !important; }
}
@media (max-width: 768px) {
	body.single-accommodation .hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 72px) !important; }
}
@media (max-width: 420px) {
	body.single-accommodation .hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 56px) !important; }
}

/* Ensure hotel title is offset from fixed header */
body.single-accommodation .hotel-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 110px) !important; margin-top: 6px !important; }
@media (max-width: 768px) { body.single-accommodation .hotel-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 72px) !important; } }
@media (max-width: 420px) { body.single-accommodation .hotel-title { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 56px) !important; } }

/* Extra offset for narrow phones (e.g. iPhone 14 Pro Max viewport ~430px width) */
@media (max-width: 480px) {
	body.single-accommodation .hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 100px) !important; }
	body.single-accommodation .hotel-title { font-size: 34px !important; }
}

/* Override single accommodation wrapper padding (inline in single-accommodation.php sets 150px) */
@media (max-width: 1024px) {
	.hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 36px) !important; padding-bottom: 28px !important; }
}
@media (max-width: 768px) {
	.hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 22px) !important; padding-bottom: 20px !important; }
}
@media (max-width: 420px) {
	.hotel-page-wrapper { padding-top: calc(env(safe-area-inset-top, 0px) + 18px) !important; padding-bottom: 16px !important; }
}










/* FORCE ADVENTURE CARDS STYLE AS REQUESTED FOR ALL THREE PAGES */
body.page .highlight-item-card {
    padding: 45px 50px !important;
    width: 100% !important;
    max-width: 680px !important;
}

body.page .highlight-title {
    font-size: clamp(18px, 2.5vw, 22px) !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

body.page .highlight-desc {
    font-size: clamp(14px, 2vw, 16px) !important;
    line-height: 1.8 !important;
}

/* On mobile screens, restore padding and width to fit the screen */
@media (max-width: 640px) {
    body.page .highlight-item-card {
        padding: 24px 20px !important;
        max-width: none !important;
    }
    body.page .highlight-title {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }
    body.page .highlight-desc {
        font-size: 15px !important;
    }
}
/* =========================================================================
   TIGHTENED EDITORIAL LAYOUT FOR ITINERARY PAGES & MOBILE TABS
   ========================================================================= */

@media (min-width: 641px) {
    /* Override 1024px mobile wrappers that forced flex-direction: column on tablets */
    body.page-luxor-and-the-nile .responsive-flex-row,
    body.page-template-page-luxor-and-the-nile .responsive-flex-row,
    body.page-optional-pre-departure-cairo .responsive-flex-row,
    body.page-template-page-optional-pre-departure-cairo .responsive-flex-row,
    body.page-optional-post-departure-aswan .responsive-flex-row,
    body.page-template-page-optional-post-departure-aswan .responsive-flex-row,
    .responsive-flex-row {
        flex-direction: row !important;
    }
    
    body.page-luxor-and-the-nile .responsive-flex-row > *,
    body.page-template-page-luxor-and-the-nile .responsive-flex-row > *,
    body.page-optional-pre-departure-cairo .responsive-flex-row > *,
    body.page-template-page-optional-pre-departure-cairo .responsive-flex-row > *,
    body.page-optional-post-departure-aswan .responsive-flex-row > *,
    body.page-template-page-optional-post-departure-aswan .responsive-flex-row > *,
    .responsive-flex-row > * {
        width: 50% !important;
    }

        /* Narrow the main content box on Desktop/Tablet */
    .leg-detail-grid {
        max-width: 1040px !important;
        margin: 0 auto !important;
        padding: 0 clamp(20px, 5vw, 40px) !important;
    }        body.page .section-title {
        font-size: clamp(20px, 3.5vw, 32px) !important;
    }
    
        /* Reduce gap between columns */
    .mobile-timeline-wrapper {
        gap: 30px !important; 
        align-items: flex-start !important;
    }

    /* Override high-specificity stretch rules for timeline wrapper */
    body.page .mobile-timeline-wrapper {
        align-items: flex-start !important;
    }
    
                        /* Restore desktop-like spacing and alignment for timeline items on tablet */
    body.page .mobile-timeline-wrapper .timeline-item {
        min-height: 120px !important;
        margin-bottom: 0px !important;
        padding-left: 50px !important;
    }
    
        body.page .timeline-title {
        font-size: clamp(16px, 2.5vw, 22px) !important;
    }
    
    /* Reduce padding inside highlight cards to tighten spacing */
    body.page .highlight-item-card {
        padding: clamp(20px, 4vw, 30px) clamp(20px, 4.5vw, 35px) !important; 
        margin-bottom: 0 !important; 
    }
    
    /* Reduce gap inside highlight container to exactly 7px as requested */
    .highlights-container {
        gap: 7px !important; 
    }
    
    /* Reduce space between headings and content */
    .desktop-section-titles {
        margin-bottom: 25px !important; 
    }
    
    /* Hide the mobile tabs on Desktop/Tablet */
    .itinerary-mobile-tabs {
        display: none !important;
    }
}

@media (max-width: 640px) {
    /* Hide desktop titles */
    .desktop-section-titles {
        display: none !important;
    }
    
    /* Mobile Tabs styling */
    .itinerary-mobile-tabs {
        display: flex !important;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .itinerary-tab {
        background: transparent;
        border: 1px solid var(--color-gold);
        color: var(--color-gold);
        padding: 4px 0px;
        font-size: 13px;
        font-family: var(--font-primary);
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
        text-align: center;
        border-radius: 4px;
    }
    .itinerary-tab.active {
        background: var(--color-gold);
        color: #FAF6EE;
    }
    
    /* Tab Content Visibility Logic */
    .hidden-tab-content {
        display: none !important;
    }
    .active-tab-content {
        display: flex !important;
        flex-direction: column !important;
    }
    /* Timeline container needs to be block for the dashed line to work correctly */
    .timeline-container.active-tab-content {
        display: block !important; 
    }
    
    /* Un-merge the mobile wrapper */
    .mobile-timeline-wrapper {
        display: block !important;
        width: 100%;
    }
    
    /* Remove the interleaving dashed line from the wrapper */
    .mobile-timeline-wrapper::before {
        display: none !important; 
    }
    
    /* Ensure the timeline container has its dashed line visible */
    .timeline-container {
        position: relative !important;
    }
    .timeline-container::before {
        display: block !important;
    }
       
    .highlights-container {
        gap: 0px !important;
    }
    
    .timeline-item, .highlight-item-card {
        order: unset !important;
    }
    
    /* Initially hide highlights container on mobile before JS runs */
    .highlights-container:not(.active-tab-content) {
        display: none !important;
    }
}/* TIGHTEN MOBILE ITINERARY SPACING AS PER USER REQUEST */
@media (max-width: 767px) {
    /* Reduce vertical space between consecutive itinerary entries */
    .timeline-item {
        margin-bottom: 12px !important; 
    }
    
    /* Reduce gap between Day label and title */
    .timeline-day {
        margin-bottom: 1px !important;
    }
    
    /* Ensure the title doesn't add extra margin */
    .timeline-title {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}
@media (max-width: 767px) {
    /* Add a small amount of vertical breathing space between DAY label and title on mobile */
    .timeline-day {
        margin-bottom: 4px !important;
    }
	@media (max-width: 480px){
		.itinerary-tab{
			        padding: 12px 0px;
		}
	}
	@media (max-width: 393px){
		.itinerary-tab{
			        padding: 4px 0px;
		}
	}
	@media (max-width: 430px){
		.itinerary-tab{
			        padding: 4px 0px;
		}
	}
}


/* =========================================================================
   TABLET / IPAD SPECIFIC ADJUSTMENTS
   ========================================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    body.page .highlight-title {
        font-size: 18px !important;
    }
    body.page .highlight-desc {
        font-size: 14px !important;
    }
}

/* =========================================================================
   SHORT DESKTOP / IPAD LANDSCAPE (Approx 1120x630 or 1024x768 short)
   ========================================================================= */
@media (min-width: 1024px) and (max-height: 700px) {
    body .brand-logo img, 
    body .eg-header-logo img, 
    header .header-center .brand-logo img,
    header .header-center img,
    img.extracted-style-1,
    .extracted-style-1 {
        max-height: 60px !important;
        height: 60px !important;
    }
    
    body .eg-card, 
    body .vca-guide-card, 
    body #root .eg-card,
    body .ec-frame {
        max-height: 75vh !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    
    body .eg-card h2,
    body .ec-frame h2 {
        margin-bottom: 15px !important;
        font-size: 20px !important;
    }
}
























