/*
Theme Name: TravLux
Theme URI: https://travluxco.com
Description: Luxury travel — expertly curated. Custom child theme of Twenty Twenty-Four for TravLux (travluxco.com). Editorial, refined, champagne-and-navy.
Author: Chelle Honiker
Template: twentytwentyfour
Version: 1.0.0
Text Domain: travlux
*/

/* ============================================================
   TravLux design system
   Palette: ink #12182B · navy #17233F · champagne #C6A15B
            ivory #F7F4EF · sand #EDE6DA · cream #FFFFFF
   Type:    Cormorant Garamond (display serif) · Jost (sans)
   ============================================================ */

:root {
  --tl-ink: #12182B;
  --tl-navy: #17233F;
  --tl-champagne: #C6A15B;
  --tl-champagne-deep: #A8863F;
  --tl-ivory: #F7F4EF;
  --tl-sand: #EDE6DA;
  --tl-cream: #FFFFFF;
  --tl-muted: #6B6F7A;
  --tl-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tl-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --tl-maxw: 1200px;
  --tl-gutter: clamp(1.25rem, 4vw, 3.5rem);
}

/* Base ---------------------------------------------------- */
body.travlux,
.travlux {
  background: var(--tl-ivory);
  color: var(--tl-ink);
  font-family: var(--tl-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.travlux h1, .travlux h2, .travlux h3, .travlux h4,
.tl-display {
  font-family: var(--tl-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--tl-navy);
}

.travlux a { color: var(--tl-navy); text-decoration-color: var(--tl-champagne); text-underline-offset: 3px; }
.travlux a:hover { color: var(--tl-champagne-deep); }

.tl-eyebrow {
  font-family: var(--tl-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tl-champagne-deep);
  margin: 0 0 1rem;
}

.tl-wrap { max-width: var(--tl-maxw); margin-inline: auto; padding-inline: var(--tl-gutter); }
.tl-narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--tl-gutter); }

/* Buttons ------------------------------------------------- */
.tl-btn,
.travlux .wp-block-button__link {
  display: inline-block;
  font-family: var(--tl-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05em 2.4em;
  border-radius: 0;
  background: var(--tl-navy);
  color: var(--tl-cream) !important;
  border: 1px solid var(--tl-navy);
  text-decoration: none;
  transition: all .35s ease;
}
.tl-btn:hover,
.travlux .wp-block-button__link:hover {
  background: transparent;
  color: var(--tl-navy) !important;
}
.tl-btn--gold {
  background: var(--tl-champagne);
  border-color: var(--tl-champagne);
  color: var(--tl-ink) !important;
}
.tl-btn--gold:hover { background: transparent; color: var(--tl-champagne-deep) !important; }
.tl-btn--ghost {
  background: transparent;
  border-color: var(--tl-cream);
  color: var(--tl-cream) !important;
}
.tl-btn--ghost:hover { background: var(--tl-cream); color: var(--tl-navy) !important; }

/* Hero ---------------------------------------------------- */
.tl-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--tl-cream);
  background: var(--tl-navy) center/cover no-repeat;
  overflow: hidden;
}
.tl-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,24,43,.72) 0%, rgba(18,24,43,.35) 45%, rgba(18,24,43,.05) 100%);
}
.tl-hero__inner { position: relative; z-index: 2; max-width: var(--tl-maxw); margin-inline: auto; padding: 6rem var(--tl-gutter); width: 100%; }
.tl-hero__inner .tl-eyebrow { color: var(--tl-champagne); }
.tl-hero h1 {
  color: var(--tl-cream);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  max-width: 14ch;
  margin: 0 0 1.2rem;
}
.tl-hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.9); margin: 0 0 2.2rem; }

/* Section scaffolding ------------------------------------- */
.tl-section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.tl-section--sand { background: var(--tl-sand); }
.tl-section--ink { background: var(--tl-ink); color: var(--tl-ivory); }
.tl-section--ink h2, .tl-section--ink h3 { color: var(--tl-cream); }
.tl-section__head { text-align: center; max-width: 620px; margin: 0 auto clamp(2.5rem,5vw,4rem); }
.tl-section__head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 1rem; }
.tl-section__head p { color: var(--tl-muted); margin: 0; }
.tl-section--ink .tl-section__head p { color: rgba(247,244,239,.72); }
.tl-rule { width: 56px; height: 1px; background: var(--tl-champagne); margin: 1.4rem auto 0; border: 0; }

/* Collection cards ---------------------------------------- */
.tl-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tl-card { background: var(--tl-cream); border: 1px solid rgba(18,24,43,.08); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s ease, box-shadow .4s ease; }
.tl-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(18,24,43,.5); }
.tl-card__img { aspect-ratio: 4/3; background: var(--tl-sand) center/cover no-repeat; }
.tl-card__body { padding: 1.6rem 1.6rem 2rem; }
.tl-card__body h3 { font-size: 1.6rem; margin: 0 0 .5rem; }
.tl-card__body p { color: var(--tl-muted); font-size: .95rem; margin: 0 0 1.2rem; }
.tl-card__link { font-family: var(--tl-sans); font-weight: 500; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tl-champagne-deep); text-decoration: none; }

/* Split / authority --------------------------------------- */
.tl-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.tl-split__media { aspect-ratio: 3/4; background: var(--tl-sand) center/cover no-repeat; }
.tl-split h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 1.2rem; }
@media (max-width: 820px){ .tl-split { grid-template-columns: 1fr; } .tl-split__media{ aspect-ratio: 16/10; } }

/* Newsletter band ----------------------------------------- */
.tl-cta-band { text-align: center; }
.tl-cta-band h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin: 0 0 .8rem; }
.tl-cta-band p { max-width: 48ch; margin: 0 auto 2rem; color: rgba(247,244,239,.75); }

/* Disclosure --------------------------------------------- */
.aff-disclosure { font-size: .82rem; color: var(--tl-muted); font-style: italic; }
.tl-section--ink .aff-disclosure { color: rgba(247,244,239,.6); }

/* Header / nav (block theme overrides) -------------------- */
.wp-block-site-title a { font-family: var(--tl-serif) !important; font-weight: 600 !important; letter-spacing: .02em; color: var(--tl-navy) !important; text-decoration: none; }
.wp-block-navigation { font-family: var(--tl-sans); font-weight: 400; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.wp-block-navigation a { color: var(--tl-ink) !important; }
.wp-block-navigation a:hover { color: var(--tl-champagne-deep) !important; }

/* AzonPress luxe polish ----------------------------------- */
.travlux .azonpress-table, .travlux .azonpress-box { border-radius: 0 !important; }
.travlux .azonpress-btn, .travlux .azonpress-button a { background: var(--tl-champagne) !important; color: var(--tl-ink) !important; border-radius: 0 !important; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }

/* Utility ------------------------------------------------- */
.tl-center { text-align: center; }
.tl-mt { margin-top: 2rem; }
img { max-width: 100%; height: auto; }

/* Custom site header / footer ----------------------------- */
.tl-site-header { background: var(--tl-ivory); border-bottom: 1px solid rgba(18,24,43,.08); position: sticky; top: 0; z-index: 50; }
.tl-header-inner { max-width: var(--tl-maxw); margin-inline: auto; padding: 1.1rem var(--tl-gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.tl-logo { font-family: var(--tl-serif); font-weight: 600; font-size: 1.7rem; letter-spacing: .04em; color: var(--tl-navy); text-decoration: none; }
.tl-logo:hover { color: var(--tl-champagne-deep); }
.tl-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.tl-nav a { font-family: var(--tl-sans); font-weight: 400; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tl-ink); text-decoration: none; transition: color .25s; }
.tl-nav a:hover { color: var(--tl-champagne-deep); }
@media (max-width: 640px){ .tl-header-inner{ justify-content: center; text-align:center; } .tl-nav{ gap: 1.1rem; justify-content:center; } }

.tl-site-footer { background: var(--tl-ink); color: rgba(247,244,239,.72); padding: 3.5rem var(--tl-gutter) 2.5rem; }
.tl-footer-inner { max-width: var(--tl-maxw); margin-inline: auto; text-align: center; }
.tl-site-footer .tl-logo { color: var(--tl-cream); display:inline-block; margin-bottom: .6rem; }
.tl-footer-nav { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.tl-footer-nav a { color: rgba(247,244,239,.72); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.tl-footer-nav a:hover { color: var(--tl-champagne); }
.tl-site-footer .aff-disclosure { color: rgba(247,244,239,.5); max-width: 60ch; margin: 1.2rem auto 0; font-size: .78rem; }
.tl-copy { font-size: .74rem; letter-spacing: .08em; color: rgba(247,244,239,.4); margin-top: 1.4rem; }

/* Product picks (custom cards, PA-API-independent) -------- */
.tl-lede-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; margin: 0 0 2.5rem; }
.tl-picks { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 1.5rem; }
.tl-pick { background: var(--tl-cream); border: 1px solid rgba(18,24,43,.08); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.tl-pick:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -30px rgba(18,24,43,.5); }
.tl-pick__img { aspect-ratio: 1/1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 1.4rem; }
.tl-pick__img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tl-pick__body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tl-pick__name { font-family: var(--tl-serif); font-size: 1.35rem; color: var(--tl-navy); margin: 0 0 .5rem; line-height: 1.12; }
.tl-pick__note { color: var(--tl-muted); font-size: .9rem; line-height: 1.6; margin: 0 0 1.2rem; flex: 1; }
.tl-pick__btn { align-self: flex-start; font-family: var(--tl-sans); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .8em 1.5em; background: var(--tl-champagne); color: var(--tl-ink); text-decoration: none; border: 1px solid var(--tl-champagne); transition: all .3s ease; }
.tl-pick__btn:hover { background: transparent; color: var(--tl-champagne-deep); }
.tl-essentials-body h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 2.5rem 0 .4rem; }
.tl-essentials-body > p { color: var(--tl-muted); }

/* Hide the auto page-title on the front page; let hero lead ---- */
.home .wp-block-post-title,
.home .wp-block-post-title.has-text-align-center,
.home header.entry-header,
.home .entry-header { display: none !important; }
/* Remove default content padding so hero can be full-bleed ------ */
.home .wp-block-post-content > .tl-hero:first-child,
.home .entry-content { margin-top: 0; }
.home .wp-block-group.is-layout-constrained > .entry-content { padding-top: 0; }
/* Neutralize any residual constrained padding on the home content */
.home .wp-block-post-content { max-width: none !important; padding: 0 !important; }

/* Review pages ------------------------------------------- */
.tl-review-video{width:100%;max-width:420px;display:block;margin:0 auto 2rem;border:1px solid var(--tl-sand);background:#000;aspect-ratio:9/16;object-fit:cover}
.tl-why{list-style:none;padding:0;margin:1rem 0 2rem;display:grid;gap:.7rem;max-width:640px}
.tl-why li{position:relative;padding-left:1.6rem;color:var(--tl-ink)}
.tl-why li::before{content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;background:var(--tl-champagne);transform:rotate(45deg)}
.tl-essentials-body .tl-review-video + p{margin-top:0}
