:root{
  --tftw-ink:#171924;
  --tftw-muted:#68707b;
  --tftw-border:#e3e5e9;
  --tftw-bg:#f7f7fb;
  --tftw-card:#fff;
  --tftw-brand:#4f3fd3;
  --tftw-brand-dark:#3427a5;
  --tftw-accent:#f4b942;
  --tftw-radius:18px;
  --tftw-shadow:0 18px 48px rgba(29,31,43,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--tftw-ink);background:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:inherit}
img{max-width:100%;height:auto}
button,input,select{font:inherit}
.tftw-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-main{min-height:60vh}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--tftw-border);backdrop-filter:blur(12px)}
.site-header-inner{height:78px;display:flex;align-items:center;gap:28px}
.site-brand{display:flex;align-items:center;gap:10px;font-weight:800;text-decoration:none}
.site-brand .custom-logo{max-height:52px;width:auto}
.site-brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--tftw-brand);color:#fff;font-size:13px}
.primary-nav{margin-left:auto}
.primary-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
.primary-nav a{text-decoration:none;font-weight:600;font-size:14px}
.header-cta,.button-primary,.tour-card-button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--tftw-brand);color:#fff!important;text-decoration:none;font-weight:700;padding:12px 20px}
.header-cta:hover,.button-primary:hover,.tour-card-button:hover{background:var(--tftw-brand-dark)}
.menu-toggle{display:none;margin-left:auto;border:1px solid var(--tftw-border);background:#fff;border-radius:10px;padding:8px 12px}
.site-footer{margin-top:70px;background:#171924;color:#fff;padding:56px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr .7fr;gap:48px}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid a{color:#fff;text-decoration:none}
.footer-brand{font-size:20px}
.footer-contact{display:grid;gap:7px}
.footer-bottom{padding-top:32px;margin-top:32px;border-top:1px solid rgba(255,255,255,.15);color:#bfc3cc;font-size:13px}
.page-shell,.generic-content{padding:60px 0}
.page-header h1{font-size:clamp(38px,6vw,68px);line-height:1;margin:0 0 30px}
.entry-content{font-size:17px}

/* Home */
.home-hero{padding:90px 0;background:linear-gradient(120deg,#f7f4ff,#fff 58%,#f8f2e4)}
.home-hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:70px;align-items:center}
.home-hero h1{font-size:clamp(48px,7vw,82px);line-height:.98;letter-spacing:-.045em;margin:10px 0 26px}
.home-hero p{max-width:700px;font-size:20px;color:var(--tftw-muted)}
.archive-kicker{color:var(--tftw-brand);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:13px}
.home-actions{display:flex;gap:12px;margin-top:28px}
.button-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--tftw-border);border-radius:999px;padding:12px 20px;text-decoration:none;font-weight:700;background:#fff}
.home-hero-card{padding:36px;border-radius:28px;background:#171924;color:#fff;box-shadow:var(--tftw-shadow);transform:rotate(2deg)}
.home-hero-card span{display:block;color:#b9b0ff;text-transform:uppercase;font-size:12px;letter-spacing:.08em;font-weight:800;margin-bottom:12px}
.home-hero-card strong{font-size:28px;line-height:1.2;display:block}
.home-content,.home-tour-callout{padding-top:70px;padding-bottom:70px}
.home-tour-callout h2{font-size:clamp(36px,5vw,56px);max-width:780px;line-height:1.05}

/* Archive */
.archive-hero{padding:70px 0 44px;background:var(--tftw-bg);border-bottom:1px solid var(--tftw-border)}
.archive-hero h1{font-size:clamp(44px,6vw,72px);letter-spacing:-.04em;line-height:1;margin:8px 0 15px}
.archive-hero p{font-size:18px;color:var(--tftw-muted)}
.tftw-trip-directory{display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px;padding-top:42px}
.tour-filters{position:sticky;top:100px;align-self:start;border:1px solid var(--tftw-border);background:#fff;border-radius:16px;overflow:hidden}
.filter-heading{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--tftw-border)}
.clear-filters{border:0;background:none;color:var(--tftw-brand);font-size:13px;font-weight:700;cursor:pointer}
.filter-section{padding:18px}
.filter-section h2{font-size:17px;margin:0 0 14px}
.destination-option{display:grid;grid-template-columns:20px 1fr auto;gap:10px;align-items:center;margin:9px 0;cursor:pointer;font-size:14px}
.destination-option input{width:18px;height:18px;accent-color:var(--tftw-brand)}
.destination-option small{color:var(--tftw-muted)}
.root-destination{font-weight:700;margin-top:16px}
.destination-children{padding-left:14px}
.tour-toolbar{display:grid;grid-template-columns:1fr 220px;gap:14px;padding:12px;border:1px solid var(--tftw-border);border-radius:14px;background:#fff}
.tour-search{display:flex;align-items:center;gap:10px;background:var(--tftw-bg);border-radius:999px;padding:0 16px}
.tour-search input{width:100%;border:0;background:transparent;outline:0;padding:12px 0}
.tour-sort{border:1px solid var(--tftw-border);border-radius:10px;padding:0 12px;background:#fff}
.tour-result-count{padding:16px 0 20px;color:var(--tftw-muted)}
.tour-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tour-card{overflow:hidden;border:1px solid var(--tftw-border);border-radius:var(--tftw-radius);background:#fff;box-shadow:var(--tftw-shadow)}
.tour-card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#eceef4}
.tour-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.tour-card:hover .tour-card-image img{transform:scale(1.035)}
.tour-card-placeholder{height:100%;display:grid;place-items:center;color:#989ca5}
.tour-card-body{padding:20px}
.tour-card h2{font-size:23px;line-height:1.2;margin:0 0 16px}
.tour-card h2 a{text-decoration:none}
.tour-card-meta{display:flex;align-items:end;justify-content:space-between;min-height:48px;margin-bottom:16px;color:var(--tftw-muted)}
.tour-card-price{text-align:right}
.tour-card-price small{display:block;font-size:11px}
.tour-card-price strong{display:block;font-size:23px;color:var(--tftw-ink)}
.tour-card-button{width:100%}
.tour-empty{grid-column:1/-1;padding:50px 0;color:var(--tftw-muted)}
.tour-pagination{display:flex;justify-content:center;gap:16px;align-items:center;margin-top:30px}
.tour-pagination button{border:1px solid var(--tftw-border);border-radius:10px;background:#fff;padding:9px 14px;cursor:pointer}

/* WP Travel Engine single trip styling */
.tftw-single-trip-page .site-main{background:#fff}
.tftw-single-trip-page .trip-post,
.tftw-single-trip-page .wpte-trip-single,
.tftw-single-trip-page .single-trip-wrapper{
  --wpte-primary-color:var(--tftw-brand);
}
.tftw-single-trip-page h1{letter-spacing:-.03em}
.tftw-single-trip-page .wpte-booking-area,
.tftw-single-trip-page .wpte-bf-booking-steps,
.tftw-single-trip-page .secondary-trip-info,
.tftw-single-trip-page .trip-price{
  border-radius:16px!important;
}
.tftw-trip-sections{margin:32px 0 10px;max-width:850px}
.tftw-trip-section-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.tftw-trip-section-nav a{text-decoration:none;border:1px solid var(--tftw-border);border-radius:999px;padding:9px 14px;font-size:13px;font-weight:700;background:#fff}
.tftw-content-panel{scroll-margin-top:110px;border:1px solid var(--tftw-border);border-radius:18px;background:#fff;padding:30px;margin:0 0 24px;box-shadow:0 12px 35px rgba(25,27,38,.05)}
.tftw-section-eyebrow{color:var(--tftw-brand);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.tftw-content-panel h2{font-size:34px;line-height:1.1;margin:6px 0 24px}
.tftw-content-panel h3{font-size:21px;margin:0 0 14px}
.tftw-itinerary{display:grid;gap:10px}
.tftw-itinerary-day{border:1px solid var(--tftw-border);border-radius:12px;overflow:hidden}
.tftw-itinerary-day summary{display:flex;gap:12px;align-items:center;cursor:pointer;padding:16px 18px;font-weight:750;list-style:none}
.tftw-itinerary-day summary::-webkit-details-marker{display:none}
.tftw-day-number{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:var(--tftw-brand);color:#fff;font-size:13px}
.tftw-itinerary-content{padding:0 18px 18px 64px;color:#525965}
.tftw-inc-exc-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.tftw-check-list,.tftw-cross-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tftw-check-list li,.tftw-cross-list li{display:grid;grid-template-columns:24px 1fr;gap:8px}
.tftw-check-list li>span:first-child{color:#21a94b;font-weight:900}
.tftw-cross-list li>span:first-child{color:#e64b4b;font-weight:900}
.tftw-date-list{display:grid;gap:10px}
.tftw-date-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 160px;gap:14px;align-items:center;padding:16px;border:1px solid var(--tftw-border);border-radius:12px}
.tftw-date-row>div:first-child{display:grid}
.tftw-date-row>div:first-child span,.tftw-date-row>div:first-child small{color:var(--tftw-muted);font-size:13px}
.tftw-date-rate{text-align:right}
.tftw-date-rate small{display:block;color:var(--tftw-muted);font-size:11px}
.tftw-date-rate strong{font-size:20px}
.tftw-booking-jump,.tftw-show-more-dates{border:0;border-radius:999px;background:var(--tftw-brand);color:#fff;padding:11px 15px;font-weight:700;cursor:pointer}
.tftw-show-more-dates{display:block;margin:18px auto 0;background:#fff;color:var(--tftw-ink);border:1px solid var(--tftw-border)}
.tftw-date-row.is-later{display:none}
.tftw-package-options{grid-column:1/-1;border-top:1px solid var(--tftw-border);padding-top:10px}
.tftw-package-options summary{cursor:pointer;color:var(--tftw-brand);font-weight:700;font-size:13px}
.tftw-package-options p{display:flex;justify-content:space-between;gap:15px;margin:8px 0}
.tftw-legacy-prices{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.tftw-legacy-prices>div{min-width:160px;padding:14px 18px;border-radius:12px;background:var(--tftw-bg);border:1px solid var(--tftw-border)}
.tftw-legacy-prices small{display:block;color:var(--tftw-muted)}
.tftw-legacy-prices strong{font-size:24px}
.tftw-availability-note{color:var(--tftw-muted)}
.tftw-primary-cta{margin-bottom:24px}
.tftw-hotels{margin-top:24px;border-top:1px solid var(--tftw-border);padding-top:24px}
.tftw-hotels ul,.tftw-rate-notes{padding-left:20px}
.tftw-rate-notes{color:var(--tftw-muted)}

/* generic content */
.generic-card{border-bottom:1px solid var(--tftw-border);padding:24px 0}
.generic-card h1{font-size:30px}
.generic-card a{text-decoration:none}

@media(max-width:900px){
  .primary-nav{display:none;position:absolute;left:0;right:0;top:78px;background:#fff;border-bottom:1px solid var(--tftw-border);padding:20px}
  .primary-nav.is-open{display:block}
  .primary-nav ul{display:grid}
  .menu-toggle{display:block}
  .header-cta{display:none}
  .home-hero-grid{grid-template-columns:1fr}
  .tftw-trip-directory{grid-template-columns:1fr}
  .tour-filters{position:static}
  .tour-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .tftw-container{width:min(100% - 24px,1180px)}
  .tour-grid{grid-template-columns:1fr}
  .tour-toolbar{grid-template-columns:1fr}
  .home-hero{padding:55px 0}
  .home-hero h1{font-size:50px}
  .tftw-inc-exc-grid{grid-template-columns:1fr}
  .tftw-date-row{grid-template-columns:1fr 90px}
  .tftw-date-row .tftw-booking-jump{grid-column:1/-1}
  .tftw-content-panel{padding:20px}
  .tftw-itinerary-content{padding-left:18px}
}

/* =========================================================
   TFTW Travel v0.2 — Single Tour refinement
   ========================================================= */

.tftw-single-trip-page{
  background:#f7f8fb;
}

.tftw-single-trip-page .site-main{
  background:
    linear-gradient(180deg,#ffffff 0,#ffffff 560px,#f7f8fb 560px,#f7f8fb 100%);
}

.tftw-single-trip-page .wpte-trip-single,
.tftw-single-trip-page .single-trip-wrapper,
.tftw-single-trip-page .trip-post{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

/* Improve native WTE hero/booking area without breaking plugin behavior */
.tftw-single-trip-page .wpte-booking-area,
.tftw-single-trip-page .wpte-bf-booking-steps,
.tftw-single-trip-page .secondary-trip-info,
.tftw-single-trip-page .trip-price{
  border:1px solid var(--tftw-border)!important;
  box-shadow:0 16px 45px rgba(28,30,42,.08)!important;
  background:#fff!important;
}

.tftw-single-trip-page .wpte-booking-area button,
.tftw-single-trip-page .wpte-booking-area .button,
.tftw-single-trip-page .wpte-bf-booking-steps button{
  border-radius:999px!important;
}

/* Custom content column */
.tftw-trip-sections{
  margin:40px 0 10px;
  max-width:880px;
}

/* Sticky section navigation */
.tftw-trip-section-nav{
  position:sticky;
  top:92px;
  z-index:25;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 22px;
  padding:10px;
  border:1px solid rgba(227,229,233,.92);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 28px rgba(30,32,45,.07);
  backdrop-filter:blur(12px);
}

.tftw-trip-section-nav a{
  border:0;
  background:transparent;
  padding:9px 14px;
  transition:background .2s,color .2s,transform .2s;
}

.tftw-trip-section-nav a:hover{
  background:var(--tftw-bg);
  color:var(--tftw-brand);
  transform:translateY(-1px);
}

/* Main content cards */
.tftw-content-panel{
  position:relative;
  overflow:hidden;
  border:1px solid #e2e5ea;
  border-radius:24px;
  padding:34px;
  margin:0 0 28px;
  background:#fff;
  box-shadow:0 18px 50px rgba(28,30,42,.06);
}

.tftw-content-panel::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--tftw-brand),#8b7df0);
  opacity:.9;
}

.tftw-section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
  color:var(--tftw-brand);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.tftw-section-eyebrow::before{
  content:"";
  width:24px;
  height:2px;
  background:currentColor;
  border-radius:999px;
}

.tftw-content-panel h2{
  max-width:760px;
  margin:4px 0 28px;
  font-size:clamp(30px,4vw,40px);
  letter-spacing:-.035em;
}

.tftw-content-panel h3{
  letter-spacing:-.02em;
}

/* Itinerary timeline treatment */
.tftw-itinerary{
  position:relative;
  display:grid;
  gap:12px;
}

.tftw-itinerary-day{
  position:relative;
  border:1px solid #e6e8ec;
  border-radius:16px;
  background:#fcfcfe;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}

.tftw-itinerary-day:hover{
  border-color:#d4d0f6;
  box-shadow:0 10px 24px rgba(79,63,211,.06);
}

.tftw-itinerary-day[open]{
  background:#fff;
  border-color:#d8d3f7;
  box-shadow:0 12px 28px rgba(79,63,211,.07);
}

.tftw-itinerary-day summary{
  min-height:68px;
  padding:15px 18px;
  font-size:16px;
}

.tftw-day-number{
  flex-basis:38px;
  height:38px;
  box-shadow:0 6px 16px rgba(79,63,211,.22);
}

.tftw-itinerary-day summary::after{
  content:"+";
  margin-left:auto;
  color:var(--tftw-brand);
  font-size:22px;
  font-weight:500;
  transition:transform .2s;
}

.tftw-itinerary-day[open] summary::after{
  transform:rotate(45deg);
}

.tftw-itinerary-content{
  padding:0 22px 22px 68px;
  color:#565e69;
  font-size:15px;
}

.tftw-itinerary-content p:last-child{
  margin-bottom:0;
}

/* Includes / excludes */
.tftw-inc-exc-grid{
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.tftw-inc-exc-grid>div{
  border:1px solid #e7e9ed;
  border-radius:18px;
  padding:22px;
  background:#fbfbfd;
}

.tftw-inc-exc-grid>div:first-child{
  background:linear-gradient(180deg,#fbfffc,#f7fbf8);
}

.tftw-inc-exc-grid>div:last-child{
  background:linear-gradient(180deg,#fffdfd,#fcf8f8);
}

.tftw-check-list,
.tftw-cross-list{
  gap:12px;
}

.tftw-check-list li,
.tftw-cross-list li{
  align-items:start;
  line-height:1.45;
  font-size:14px;
}

.tftw-check-list li>span:first-child,
.tftw-cross-list li>span:first-child{
  display:grid;
  place-items:center;
  width:21px;
  height:21px;
  margin-top:1px;
  border-radius:50%;
  color:#fff;
  font-size:12px;
}

.tftw-check-list li>span:first-child{
  background:#27a84b;
}

.tftw-cross-list li>span:first-child{
  background:#e95d5d;
}

/* Dates & Rates */
.tftw-date-list{
  gap:12px;
}

.tftw-date-row{
  grid-template-columns:minmax(0,1fr) 120px 165px;
  min-height:86px;
  padding:17px 18px;
  border:1px solid #e6e8ec;
  border-radius:16px;
  background:#fcfcfe;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}

.tftw-date-row:hover{
  transform:translateY(-1px);
  border-color:#d5d1f4;
  box-shadow:0 10px 24px rgba(79,63,211,.06);
}

.tftw-date-row>div:first-child strong{
  font-size:16px;
}

.tftw-date-row>div:first-child small{
  margin-top:3px;
  color:#299750;
  font-weight:700;
}

.tftw-date-rate strong{
  color:var(--tftw-ink);
  font-size:22px;
}

.tftw-booking-jump{
  min-height:42px;
  box-shadow:0 8px 20px rgba(79,63,211,.18);
  transition:transform .18s,background .18s,box-shadow .18s;
}

.tftw-booking-jump:hover{
  transform:translateY(-1px);
  background:var(--tftw-brand-dark);
  box-shadow:0 10px 24px rgba(79,63,211,.24);
}

.tftw-package-options{
  margin-top:3px;
  border-top:1px dashed #dfe2e7;
}

.tftw-package-options>div{
  margin-top:10px;
  padding:10px 12px;
  border-radius:10px;
  background:#f7f7fb;
}

.tftw-package-options p{
  padding:6px 0;
  border-bottom:1px solid #e9eaf0;
  font-size:13px;
}

.tftw-package-options p:last-child{
  border-bottom:0;
}

.tftw-legacy-prices>div{
  box-shadow:0 8px 22px rgba(28,30,42,.05);
}

.tftw-hotels{
  padding:22px;
  border:1px solid #e6e8ec;
  border-radius:16px;
  background:#fbfbfd;
}

.tftw-hotels ul{
  columns:2;
  column-gap:30px;
  margin-bottom:0;
}

.tftw-hotels li{
  break-inside:avoid;
  margin:7px 0;
}

/* Typography / spacing inside the trip page */
.tftw-single-trip-page .entry-content,
.tftw-single-trip-page .trip-content,
.tftw-single-trip-page .wpte-trip-content{
  color:#3f4651;
}

.tftw-single-trip-page .entry-content p,
.tftw-single-trip-page .trip-content p,
.tftw-single-trip-page .wpte-trip-content p{
  line-height:1.75;
}

/* Mobile refinements */
@media(max-width:900px){
  .tftw-trip-section-nav{
    top:84px;
    border-radius:18px;
  }

  .tftw-inc-exc-grid{
    grid-template-columns:1fr;
  }

  .tftw-hotels ul{
    columns:1;
  }
}

@media(max-width:680px){
  .tftw-content-panel{
    border-radius:18px;
    padding:22px 18px;
  }

  .tftw-trip-section-nav{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding:8px;
  }

  .tftw-trip-section-nav a{
    white-space:nowrap;
  }

  .tftw-itinerary-content{
    padding:0 16px 18px;
  }

  .tftw-date-row{
    grid-template-columns:1fr 92px;
  }

  .tftw-date-row .tftw-booking-jump{
    grid-column:1/-1;
  }
}


/* =========================================================
   TFTW Travel v0.3 — B2B Travel Agent inquiry workflow
   ========================================================= */

/* No in-content booking CTAs in the B2B design. */
.tftw-trip-sections .tftw-booking-jump,
.tftw-trip-sections .tftw-primary-cta{
  display:none!important;
}

/* Dates rows no longer need a third CTA column. */
.tftw-date-row{
  grid-template-columns:minmax(0,1fr) 130px;
}

.tftw-date-row .tftw-package-options{
  grid-column:1/-1;
}

/* Agent inquiry section */
.tftw-agent-request{
  scroll-margin-top:100px;
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:28px;
  margin:34px 0 12px;
  padding:34px;
  border-radius:26px;
  background:
    radial-gradient(circle at 0 0,rgba(139,125,240,.15),transparent 35%),
    #171924;
  color:#fff;
  box-shadow:0 24px 60px rgba(23,25,36,.18);
}

.tftw-agent-request-copy{
  padding:10px 10px 10px 2px;
}

.tftw-agent-request-copy .tftw-section-eyebrow{
  color:#bdb5ff;
}

.tftw-agent-request-copy h2{
  margin:8px 0 18px;
  font-size:clamp(32px,4vw,46px);
  line-height:1.02;
  letter-spacing:-.04em;
  color:#fff;
}

.tftw-agent-request-copy p{
  margin:0;
  color:#c9ccd5;
  line-height:1.7;
}

.tftw-agent-benefits{
  display:grid;
  gap:10px;
  list-style:none;
  margin:28px 0 0;
  padding:0;
  color:#f1f2f5;
  font-size:14px;
}

.tftw-agent-benefits li{
  display:grid;
  grid-template-columns:24px 1fr;
  gap:8px;
  align-items:start;
}

.tftw-agent-benefits span{
  color:#8fd5a6;
  font-weight:900;
}

.tftw-agent-form-card{
  padding:26px;
  border-radius:20px;
  background:#fff;
  color:var(--tftw-ink);
  box-shadow:0 18px 42px rgba(0,0,0,.12);
}

.tftw-form-tour{
  display:grid;
  gap:2px;
  margin-bottom:20px;
  padding:14px 16px;
  border:1px solid #e4e6ea;
  border-radius:12px;
  background:#f8f8fb;
}

.tftw-form-tour small{
  color:var(--tftw-muted);
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:10px;
  font-weight:800;
}

.tftw-form-tour strong{
  line-height:1.25;
}

.tftw-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.tftw-agent-form label{
  display:grid;
  gap:6px;
}

.tftw-agent-form label>span{
  font-size:12px;
  font-weight:750;
  color:#4e5560;
}

.tftw-agent-form label em{
  color:#d34848;
  font-style:normal;
}

.tftw-agent-form input,
.tftw-agent-form textarea{
  width:100%;
  border:1px solid #dfe2e6;
  border-radius:10px;
  background:#fff;
  color:var(--tftw-ink);
  outline:none;
  padding:11px 12px;
  transition:border-color .18s,box-shadow .18s;
}

.tftw-agent-form input:focus,
.tftw-agent-form textarea:focus{
  border-color:var(--tftw-brand);
  box-shadow:0 0 0 3px rgba(79,63,211,.10);
}

.tftw-agent-form textarea{
  resize:vertical;
  min-height:120px;
}

.tftw-form-full{
  grid-column:1/-1;
}

.tftw-agent-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  min-height:48px;
  border:0;
  border-radius:999px;
  background:var(--tftw-brand);
  color:#fff;
  padding:12px 24px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(79,63,211,.22);
}

.tftw-agent-submit:hover{
  background:var(--tftw-brand-dark);
}

.tftw-form-disclaimer{
  margin:12px 0 0;
  color:#858b94;
  font-size:11px;
}

.tftw-form-message{
  display:grid;
  gap:4px;
  margin-bottom:18px;
  padding:13px 15px;
  border-radius:10px;
  font-size:13px;
}

.tftw-form-message.is-success{
  border:1px solid #bfe3ca;
  background:#f0faf3;
  color:#226d39;
}

.tftw-form-message.is-error{
  border:1px solid #efc5c5;
  background:#fff3f3;
  color:#993d3d;
}

/*
 * Make the sidebar CTA read visually like the primary B2B request action
 * after JS changes its label.
 */
.tftw-single-trip-page [data-tftw-request-info="1"]{
  background:var(--tftw-brand)!important;
  color:#fff!important;
  border-radius:999px!important;
  font-weight:800!important;
}

/* Replace consumer-facing booking language where possible visually. */
.tftw-single-trip-page .wpte-booking-area::before{
  content:"Travel Agent Inquiry";
  display:block;
  margin:0 0 10px;
  color:var(--tftw-brand);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
  font-weight:850;
}

@media(max-width:900px){
  .tftw-agent-request{
    grid-template-columns:1fr;
  }
}

@media(max-width:680px){
  .tftw-agent-request{
    margin-left:-6px;
    margin-right:-6px;
    padding:22px 16px;
    border-radius:20px;
  }

  .tftw-agent-form-card{
    padding:18px;
  }

  .tftw-form-grid{
    grid-template-columns:1fr;
  }

  .tftw-form-full{
    grid-column:auto;
  }

  .tftw-date-row{
    grid-template-columns:1fr 90px;
  }
}


/* =========================================================
   TFTW Travel v0.4 — custom content only / no sidebar
   ========================================================= */

/*
 * WP Travel Engine still owns the Trip data in wp-admin.
 * Its native frontend trip tabs, fixed departure table and sidebar are hidden.
 */
.tftw-custom-trip-layout .wpte-trip-tabs,
.tftw-custom-trip-layout .wp-travel-engine-tab-wrapper,
.tftw-custom-trip-layout .wpte-tabs,
.tftw-custom-trip-layout .wte-trip-tabs,
.tftw-custom-trip-layout .trip-tabs,
.tftw-custom-trip-layout .wpte-trip-tab-content,
.tftw-custom-trip-layout .wpte-tab-content,
.tftw-custom-trip-layout .wpte-fixed-departure,
.tftw-custom-trip-layout .wpte-fixed-departure-wrap,
.tftw-custom-trip-layout .wpte-fsd-wrap,
.tftw-custom-trip-layout .wpte-trip-dates,
.tftw-custom-trip-layout .wpte-trip-dates-wrap,
.tftw-custom-trip-layout .wpte-date-picker,
.tftw-custom-trip-layout .wpte-booking-area,
.tftw-custom-trip-layout .wpte-bf-booking-steps,
.tftw-custom-trip-layout .secondary-trip-info,
.tftw-custom-trip-layout .trip-price,
.tftw-custom-trip-layout #secondary,
.tftw-custom-trip-layout .widget-area,
.tftw-custom-trip-layout aside.sidebar,
.tftw-custom-trip-layout .wpte-trip-sidebar,
.tftw-custom-trip-layout .wpte-booking-sidebar,
.tftw-custom-trip-layout .trip-sidebar,
.tftw-custom-trip-layout .tftw-native-hidden{
  display:none!important;
}

/* Expand the tour body after removing the sidebar. */
.tftw-custom-trip-layout .tftw-full-trip-width,
.tftw-custom-trip-layout .content-area,
.tftw-custom-trip-layout .wpte-trip-content-area,
.tftw-custom-trip-layout .trip-content-area{
  width:100%!important;
  max-width:none!important;
  flex:0 0 100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* The custom content can now use the full page width. */
.tftw-custom-trip-layout .tftw-trip-sections{
  width:100%;
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}

/* Wider, cleaner B2B inquiry section with no competing sidebar. */
.tftw-custom-trip-layout .tftw-agent-request{
  width:100%;
}

/* Dates/rates stay in the lower custom section only. */
.tftw-custom-trip-layout #tftw-dates{
  margin-top:28px;
}


/* TFTW Travel v0.4.1 — Days / Nights duration */
.tftw-duration-summary{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  margin:0 0 18px;
  padding:10px 14px;
  border:1px solid var(--tftw-border);
  border-radius:999px;
  background:#fff;
  color:var(--tftw-muted);
  font-size:13px;
  font-weight:700;
  box-shadow:0 8px 20px rgba(28,30,42,.04);
}

.tftw-duration-number{
  color:var(--tftw-ink);
  font-size:18px;
  font-weight:850;
}

.tftw-duration-divider{
  margin:0 3px;
  color:#b3b6bf;
}


/* =========================================================
   TFTW Travel v0.5.1 — true single-trip template
   ========================================================= */

/*
 * single-trip.php owns the entire public Trip presentation.
 * No WTE frontend DOM surgery is required.
 */
.tftw-trip-page{
  background:#f7f8fb;
}

.tftw-trip-hero-image{
  position:relative;
  width:100%;
  height:clamp(240px,32vw,470px);
  overflow:hidden;
  background:#eceef4;
}

.tftw-trip-hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tftw-trip-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(12,14,22,.02),rgba(12,14,22,.22));
}

.tftw-trip-main{
  padding-top:52px;
  padding-bottom:10px;
}

.tftw-trip-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:42px;
  align-items:start;
  margin-bottom:34px;
}

.tftw-trip-destination{
  margin-bottom:10px;
  color:var(--tftw-brand);
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.09em;
}

.tftw-trip-header h1{
  max-width:900px;
  margin:0;
  font-size:clamp(42px,6.2vw,74px);
  line-height:1;
  letter-spacing:-.045em;
}

.tftw-trip-intro{
  max-width:900px;
  margin-top:24px;
  color:#4f5761;
  font-size:17px;
}

.tftw-trip-intro p{
  line-height:1.75;
}

.tftw-trip-intro p:first-child{
  margin-top:0;
}

.tftw-trip-intro p:last-child{
  margin-bottom:0;
}

.tftw-trip-duration-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  min-width:172px;
  border:1px solid #d9d5f7;
  border-radius:16px;
  background:#fff;
  box-shadow:0 14px 34px rgba(79,63,211,.09);
}

.tftw-trip-duration-cell{
  display:grid;
  place-items:center;
  padding:13px 15px 11px;
}

.tftw-trip-duration-cell + .tftw-trip-duration-cell{
  border-left:1px solid #e4e1f5;
}

.tftw-trip-duration-cell strong{
  color:var(--tftw-brand);
  font-size:31px;
  line-height:1;
}

.tftw-trip-duration-cell span{
  margin-top:5px;
  color:#626975;
  font-size:11px;
  font-weight:750;
}

.tftw-trip-page .tftw-trip-sections{
  width:100%;
  max-width:none;
  margin:0;
}

.tftw-trip-page .tftw-content-panel{
  max-width:none;
}

/*
 * Dates section is intentionally full width. It shows our data renderer only.
 */
.tftw-trip-page #tftw-dates{
  width:100%;
}

/* Keep the agent request form comfortably wide. */
.tftw-trip-page .tftw-agent-request{
  width:100%;
}

/* Prevent plugin/theme sidebars from ever participating if a third-party hook adds one. */
.tftw-trip-page #secondary,
.tftw-trip-page .widget-area,
.tftw-trip-page aside.sidebar,
.tftw-trip-page .wpte-trip-sidebar,
.tftw-trip-page .wpte-booking-sidebar{
  display:none!important;
}

@media(max-width:760px){
  .tftw-trip-main{
    padding-top:34px;
  }

  .tftw-trip-header{
    grid-template-columns:1fr;
    gap:22px;
  }

  .tftw-trip-duration-card{
    width:max-content;
  }

  .tftw-trip-header h1{
    font-size:44px;
  }
}


/* =========================================================
   TFTW Travel v0.6 — homepage / overall cleanup
   ========================================================= */

/* Smaller single-tour header image */
.tftw-trip-hero-image{
  height:clamp(190px,24vw,340px);
}

/* HOME HERO */
.tftw-home-hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 82px;
  background:
    linear-gradient(125deg,#f7f5ff 0%,#ffffff 54%,#f7f3e9 100%);
  border-bottom:1px solid var(--tftw-border);
}

.tftw-home-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.14fr) minmax(320px,.7fr);
  gap:70px;
  align-items:center;
}

.tftw-home-eyebrow{
  color:var(--tftw-brand);
  font-size:12px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.tftw-home-hero h1{
  max-width:850px;
  margin:12px 0 24px;
  font-size:clamp(50px,7.4vw,88px);
  line-height:.96;
  letter-spacing:-.052em;
}

.tftw-home-hero-copy>p{
  max-width:720px;
  margin:0;
  color:#535b66;
  font-size:19px;
  line-height:1.65;
}

.tftw-home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.tftw-home-proof{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  margin-top:42px;
}

.tftw-home-proof div{
  display:grid;
  gap:2px;
}

.tftw-home-proof strong{
  font-size:15px;
}

.tftw-home-proof span{
  color:#7a8089;
  font-size:11px;
}

.tftw-home-hero-visual{
  position:relative;
  min-height:440px;
}

.tftw-home-visual-card{
  position:absolute;
  border-radius:26px;
  box-shadow:0 24px 70px rgba(24,26,39,.15);
}

.tftw-home-visual-main{
  inset:20px 15px 40px 0;
  padding:42px;
  background:#171924;
  color:#fff;
  transform:rotate(2deg);
}

.tftw-home-visual-label{
  color:#bbb3ff;
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.11em;
}

.tftw-home-visual-main strong{
  display:block;
  max-width:330px;
  margin-top:75px;
  font-size:clamp(34px,4vw,52px);
  line-height:.98;
  letter-spacing:-.045em;
}

.tftw-home-visual-main p{
  max-width:340px;
  margin-top:20px;
  color:#c7cad3;
  line-height:1.6;
}

.tftw-home-visual-note{
  right:-18px;
  bottom:10px;
  width:245px;
  padding:20px;
  background:#fff;
  color:#2d3139;
  transform:rotate(-4deg);
  font-size:14px;
  font-weight:750;
}

.tftw-home-hero-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(2px);
  pointer-events:none;
}

.tftw-home-hero-orb-one{
  right:-90px;
  top:-110px;
  width:330px;
  height:330px;
  background:rgba(79,63,211,.08);
}

.tftw-home-hero-orb-two{
  left:38%;
  bottom:-180px;
  width:320px;
  height:320px;
  background:rgba(244,185,66,.09);
}

/* SECTION HEADERS */
.tftw-home-section-head{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:end;
  margin-bottom:30px;
}

.tftw-home-section-head h2,
.tftw-home-seo h2{
  max-width:790px;
  margin:7px 0 0;
  font-size:clamp(34px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
}

.tftw-home-section-head-centered{
  justify-content:center;
  text-align:center;
}

/* COUNTRY CAROUSEL */
.tftw-home-destinations{
  padding:84px 0;
  background:#fff;
}

.tftw-carousel-controls{
  display:flex;
  gap:8px;
}

.tftw-carousel-controls button{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid var(--tftw-border);
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  transition:transform .18s,border-color .18s;
}

.tftw-carousel-controls button:hover{
  transform:translateY(-1px);
  border-color:#c8c2f2;
}

.tftw-country-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(250px,28%);
  gap:18px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:inline mandatory;
  scrollbar-width:none;
  padding:4px 2px 20px;
}

.tftw-country-carousel::-webkit-scrollbar{
  display:none;
}

.tftw-country-card{
  scroll-snap-align:start;
  min-width:0;
}

.tftw-country-image{
  position:relative;
  display:block;
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:22px;
  background:#e9ebef;
  box-shadow:0 15px 38px rgba(25,27,39,.09);
  text-decoration:none;
}

.tftw-country-image img,
.tftw-country-placeholder{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s;
}

.tftw-country-placeholder{
  background:linear-gradient(145deg,#daddeb,#f0efe8);
}

.tftw-country-card:hover img{
  transform:scale(1.045);
}

.tftw-country-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(12,14,22,.02) 30%,rgba(12,14,22,.82) 100%);
}

.tftw-country-card-copy{
  position:absolute;
  left:22px;
  right:22px;
  bottom:22px;
  color:#fff;
}

.tftw-country-card-copy span{
  font-size:11px;
  font-weight:750;
  opacity:.8;
}

.tftw-country-card-copy h3{
  margin:2px 0 9px;
  font-size:30px;
  line-height:1;
  letter-spacing:-.035em;
}

.tftw-country-card-copy strong{
  font-size:12px;
}

/* TOUR SPOTLIGHT */
.tftw-home-spotlight{
  padding:72px 0 94px;
  background:#f7f8fb;
}

.tftw-spotlight-shell{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  overflow:hidden;
  min-height:500px;
  border:1px solid #e1e3e8;
  border-radius:30px;
  background:#fff;
  box-shadow:0 25px 70px rgba(24,26,39,.08);
}

.tftw-spotlight-image{
  position:relative;
  min-height:500px;
  background:#e7e9ed;
}

.tftw-spotlight-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tftw-spotlight-badge{
  position:absolute;
  left:24px;
  top:24px;
  padding:9px 13px;
  border-radius:999px;
  background:#fff;
  color:var(--tftw-brand);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.08em;
  box-shadow:0 8px 20px rgba(0,0,0,.09);
}

.tftw-spotlight-copy{
  align-self:center;
  padding:54px;
}

.tftw-spotlight-copy h2{
  margin:8px 0 17px;
  font-size:clamp(36px,5vw,58px);
  line-height:1;
  letter-spacing:-.045em;
}

.tftw-spotlight-copy>p{
  color:#5a616b;
  line-height:1.72;
}

.tftw-spotlight-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}

.tftw-spotlight-meta span{
  padding:7px 10px;
  border-radius:999px;
  background:#f2f1fb;
  color:#57508e;
  font-size:11px;
  font-weight:750;
}

/* PARTNER VALUE */
.tftw-home-partner{
  padding:90px 0;
  background:#171924;
  color:#fff;
}

.tftw-home-partner .tftw-home-eyebrow{
  color:#bcb4ff;
}

.tftw-home-partner .tftw-home-section-head h2{
  color:#fff;
}

.tftw-partner-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:42px;
}

.tftw-partner-grid article{
  min-height:270px;
  padding:28px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:rgba(255,255,255,.045);
}

.tftw-partner-num{
  color:#9288ec;
  font-size:12px;
  font-weight:850;
}

.tftw-partner-grid h3{
  max-width:260px;
  margin:45px 0 13px;
  font-size:25px;
  line-height:1.08;
}

.tftw-partner-grid p{
  margin:0;
  color:#b9bdc7;
  line-height:1.62;
  font-size:14px;
}

/* SEO / INTRO */
.tftw-home-seo{
  padding:90px 0;
  background:#fff;
}

.tftw-home-seo-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
  align-items:start;
}

.tftw-home-seo-copy{
  color:#555d67;
  font-size:17px;
  line-height:1.8;
}

.tftw-home-seo-copy>p:first-child{
  margin-top:0;
}

.tftw-home-seo-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:25px!important;
}

.tftw-home-seo-links a{
  padding:7px 11px;
  border:1px solid var(--tftw-border);
  border-radius:999px;
  color:#494f59;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}

.tftw-home-seo-links a:hover{
  color:var(--tftw-brand);
  border-color:#d0cbf5;
}

.tftw-home-editor-content{
  padding:0 0 80px;
  background:#fff;
}

@media(max-width:900px){
  .tftw-home-hero-grid,
  .tftw-spotlight-shell,
  .tftw-home-seo-grid{
    grid-template-columns:1fr;
  }

  .tftw-home-hero-visual{
    min-height:380px;
  }

  .tftw-country-carousel{
    grid-auto-columns:minmax(260px,43%);
  }

  .tftw-partner-grid{
    grid-template-columns:1fr;
  }

  .tftw-partner-grid article{
    min-height:0;
  }

  .tftw-partner-grid h3{
    margin-top:22px;
  }
}

@media(max-width:680px){
  .tftw-home-hero{
    padding:62px 0;
  }

  .tftw-home-hero h1{
    font-size:48px;
  }

  .tftw-home-hero-visual{
    min-height:330px;
  }

  .tftw-home-visual-main{
    inset:10px 5px 40px 0;
    padding:28px;
  }

  .tftw-home-visual-main strong{
    margin-top:45px;
    font-size:37px;
  }

  .tftw-home-visual-note{
    right:2px;
  }

  .tftw-home-section-head{
    align-items:start;
  }

  .tftw-country-carousel{
    grid-auto-columns:82%;
  }

  .tftw-spotlight-image{
    min-height:330px;
  }

  .tftw-spotlight-copy{
    padding:30px 24px 36px;
  }

  .tftw-home-seo-grid{
    gap:30px;
  }
}


/* =========================================================
   TFTW Travel v0.6.1 — editorial homepage refinement
   ========================================================= */

/* Smaller single-trip hero */
.tftw-trip-hero-image{
  height:clamp(180px,22vw,310px);
}

/* Hide the v0.6 decorative homepage sections if stale markup appears */
.tftw-home-hero,
.tftw-home-destinations,
.tftw-home-spotlight,
.tftw-home-partner,
.tftw-home-seo{
  display:none;
}

/* Hero */
.tftw-home-hero-editorial{
  position:relative;
  min-height:650px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#20212a;
  color:#fff;
}

.tftw-home-hero-photo{
  position:absolute;
  inset:0;
}

.tftw-home-hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tftw-home-hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(13,14,19,.76) 0%,rgba(13,14,19,.53) 40%,rgba(13,14,19,.08) 78%),
    linear-gradient(180deg,rgba(13,14,19,.06),rgba(13,14,19,.38));
}

.tftw-home-hero-inner{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:flex-end;
  width:100%;
  padding-top:110px;
  padding-bottom:72px;
}

.tftw-home-hero-copy{
  max-width:760px;
}

.tftw-home-hero-editorial .tftw-home-eyebrow{
  color:#d7d1ff;
}

.tftw-home-hero-editorial h1{
  margin:12px 0 24px;
  max-width:760px;
  font-size:clamp(54px,7.2vw,86px);
  line-height:.96;
  letter-spacing:-.052em;
  color:#fff;
  text-wrap:balance;
}

.tftw-home-hero-editorial .tftw-home-hero-copy>p{
  max-width:650px;
  margin:0;
  color:rgba(255,255,255,.85);
  font-size:18px;
  line-height:1.7;
}

.tftw-home-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:30px;
}

.tftw-home-primary{
  background:#fff!important;
  color:#242631!important;
}

.tftw-home-primary:hover{
  background:#f0eff7!important;
}

.tftw-home-inline-link{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:750;
}

.tftw-home-inline-link span{
  margin-left:4px;
}

.tftw-home-hero-caption{
  display:grid;
  gap:3px;
  text-align:right;
  color:rgba(255,255,255,.75);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

/* Trust strip */
.tftw-home-intro-strip{
  border-bottom:1px solid var(--tftw-border);
  background:#fff;
}

.tftw-home-intro-strip-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.tftw-home-intro-strip-grid>div{
  display:grid;
  gap:3px;
  padding:24px 26px;
}

.tftw-home-intro-strip-grid>div + div{
  border-left:1px solid var(--tftw-border);
}

.tftw-home-intro-strip span{
  color:#8a9099;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.tftw-home-intro-strip strong{
  font-size:14px;
  font-weight:700;
}

/* Destination carousel */
.tftw-home-destinations-clean{
  padding:86px 0 92px;
  background:#fff;
}

.tftw-home-section-head-clean{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-end;
  margin-bottom:30px;
}

.tftw-home-section-head-clean h2{
  max-width:690px;
  margin:7px 0 0;
  font-size:clamp(36px,5vw,58px);
  line-height:1;
  letter-spacing:-.045em;
}

.tftw-carousel-controls{
  display:flex;
  gap:8px;
}

.tftw-carousel-controls button{
  width:42px;
  height:42px;
  border:1px solid var(--tftw-border);
  border-radius:50%;
  background:#fff;
  color:#343740;
  cursor:pointer;
}

.tftw-country-carousel-clean{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(255px,29%);
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:inline mandatory;
  scrollbar-width:none;
  padding:2px 2px 14px;
}

.tftw-country-carousel-clean::-webkit-scrollbar{
  display:none;
}

.tftw-country-card-clean{
  scroll-snap-align:start;
}

.tftw-country-card-clean>a{
  display:block;
  text-decoration:none;
}

.tftw-country-card-clean-image{
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:18px;
  background:#e9eaed;
}

.tftw-country-card-clean-image img,
.tftw-country-card-clean-image .tftw-country-placeholder{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .38s ease;
}

.tftw-country-card-clean:hover img{
  transform:scale(1.035);
}

.tftw-country-card-clean-copy{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:15px 2px 0;
}

.tftw-country-card-clean-copy h3{
  margin:0;
  font-size:22px;
  letter-spacing:-.025em;
}

.tftw-country-card-clean-copy span{
  display:block;
  margin-top:2px;
  color:#8a9099;
  font-size:11px;
}

.tftw-country-card-clean-copy strong{
  color:var(--tftw-brand);
  font-size:12px;
  white-space:nowrap;
}

/* Spotlight */
.tftw-home-spotlight-clean{
  padding:30px 0 95px;
  background:#fff;
}

.tftw-spotlight-clean{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:520px;
  overflow:hidden;
  border-radius:22px;
  background:#f5f5f8;
}

.tftw-spotlight-clean-image{
  min-height:520px;
  background:#e5e6e9;
}

.tftw-spotlight-clean-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tftw-spotlight-clean-copy{
  align-self:center;
  padding:52px 58px;
}

.tftw-spotlight-clean-copy h2{
  margin:8px 0 16px;
  font-size:clamp(38px,5vw,58px);
  line-height:1;
  letter-spacing:-.045em;
}

.tftw-spotlight-meta-clean{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
  color:#6c727c;
  font-size:12px;
  font-weight:700;
}

.tftw-spotlight-meta-clean span + span::before{
  content:"•";
  margin-right:10px;
  color:#b1b4bb;
}

.tftw-spotlight-clean-copy>p{
  color:#565d67;
  line-height:1.72;
}

.tftw-text-link{
  display:inline-flex;
  gap:7px;
  align-items:center;
  margin-top:12px;
  color:var(--tftw-brand);
  text-decoration:none;
  font-weight:800;
}

/* Agent partnership section */
.tftw-home-agent-clean{
  padding:96px 0;
  background:#171924;
  color:#fff;
}

.tftw-home-agent-grid{
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:90px;
}

.tftw-home-agent-clean .tftw-home-eyebrow{
  color:#bcb5ff;
}

.tftw-home-agent-copy h2{
  margin:9px 0 21px;
  font-size:clamp(38px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
  color:#fff;
}

.tftw-home-agent-copy p{
  color:#bdc1ca;
  line-height:1.75;
}

.tftw-home-agent-points{
  display:grid;
}

.tftw-home-agent-points article{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:18px;
  padding:26px 0;
  border-bottom:1px solid rgba(255,255,255,.13);
}

.tftw-home-agent-points article:first-child{
  padding-top:0;
}

.tftw-home-agent-points article>span{
  color:#8076d8;
  font-size:12px;
  font-weight:850;
}

.tftw-home-agent-points h3{
  margin:0 0 7px;
  color:#fff;
  font-size:22px;
}

.tftw-home-agent-points p{
  margin:0;
  color:#aeb2bc;
  font-size:14px;
  line-height:1.6;
}

/* SEO editorial section */
.tftw-home-seo-clean{
  padding:92px 0;
  background:#fff;
}

.tftw-home-seo-clean-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:75px;
}

.tftw-home-seo-clean h2{
  margin:8px 0 0;
  font-size:clamp(36px,5vw,56px);
  line-height:1.02;
  letter-spacing:-.045em;
}

.tftw-home-seo-copy{
  color:#59616b;
  font-size:16px;
  line-height:1.82;
}

.tftw-home-seo-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

.tftw-home-seo-links a{
  padding:7px 11px;
  border:1px solid var(--tftw-border);
  border-radius:999px;
  text-decoration:none;
  color:#555b65;
  font-size:11px;
  font-weight:750;
}

.tftw-home-seo-links a:hover{
  border-color:#ccc6f5;
  color:var(--tftw-brand);
}

@media(max-width:900px){
  .tftw-home-hero-editorial{
    min-height:610px;
  }

  .tftw-home-hero-inner{
    display:block;
    padding-bottom:58px;
  }

  .tftw-home-hero-caption{
    display:none;
  }

  .tftw-home-intro-strip-grid{
    grid-template-columns:1fr;
  }

  .tftw-home-intro-strip-grid>div + div{
    border-left:0;
    border-top:1px solid var(--tftw-border);
  }

  .tftw-country-carousel-clean{
    grid-auto-columns:minmax(260px,43%);
  }

  .tftw-spotlight-clean,
  .tftw-home-agent-grid,
  .tftw-home-seo-clean-grid{
    grid-template-columns:1fr;
  }

  .tftw-home-agent-grid{
    gap:45px;
  }
}

@media(max-width:680px){
  .tftw-home-hero-editorial{
    min-height:570px;
  }

  .tftw-home-hero-shade{
    background:linear-gradient(90deg,rgba(13,14,19,.78),rgba(13,14,19,.35));
  }

  .tftw-home-hero-inner{
    padding-top:88px;
    padding-bottom:44px;
  }

  .tftw-home-hero-editorial h1{
    font-size:49px;
  }

  .tftw-country-carousel-clean{
    grid-auto-columns:82%;
  }

  .tftw-spotlight-clean-image{
    min-height:330px;
  }

  .tftw-spotlight-clean-copy{
    padding:32px 24px 38px;
  }

  .tftw-home-agent-clean,
  .tftw-home-seo-clean{
    padding:72px 0;
  }
}


/* =========================================================
   TFTW Travel v0.6.2 — Elementor-safe custom home page
   ========================================================= */

/*
 * Elementor may remain active because other plugins depend on it.
 * The TFTW homepage itself does not use Elementor.
 */
.home .elementor-location-single,
.home .elementor-page-title,
.home main > .elementor:not(.tftw-elementor-allowed){
  /* Do not blanket-hide Elementor header/footer locations. Only legacy page body
     is excluded by front-page.php not invoking the_content(). */
}

/* Keep the new homepage lightweight and stable. */
.tftw-home-hero-editorial,
.tftw-home-intro-strip,
.tftw-home-destinations-clean,
.tftw-home-spotlight-clean,
.tftw-home-agent-clean,
.tftw-home-seo-clean{
  contain:layout style;
}


/* =========================================================
   TFTW Travel v0.6.4 — zero-dependency safe homepage
   ========================================================= */

.tftw-safe-home{
  padding:120px 0 110px;
  background:linear-gradient(135deg,#f7f5ff,#fff 62%,#f7f3e9);
}

.tftw-safe-home-hero{
  max-width:1180px;
}

.tftw-safe-home h1{
  max-width:900px;
  margin:12px 0 24px;
  font-size:clamp(52px,7vw,86px);
  line-height:.97;
  letter-spacing:-.05em;
}

.tftw-safe-home p{
  max-width:720px;
  color:#555d67;
  font-size:19px;
  line-height:1.7;
}

.tftw-safe-home-section{
  padding:90px 0;
  background:#fff;
}

.tftw-safe-home-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
}

.tftw-safe-home-grid h2{
  margin:8px 0 0;
  font-size:clamp(38px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
}

.tftw-safe-home-grid p{
  margin:0;
  color:#59616b;
  font-size:17px;
  line-height:1.8;
}

@media(max-width:760px){
  .tftw-safe-home{
    padding:80px 0;
  }

  .tftw-safe-home h1{
    font-size:48px;
  }

  .tftw-safe-home-grid{
    grid-template-columns:1fr;
    gap:30px;
  }
}


/* =========================================================
   TFTW v0.6.5 — polished homepage, saved-data-only
   ========================================================= */

.tftw-v065-kicker{
  color:var(--tftw-brand);
  font-size:11px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.tftw-v065-hero{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:660px;
  overflow:hidden;
  background:linear-gradient(130deg,#ece9ff,#fafafa 58%,#f4eee2);
}

.tftw-v065-hero.has-image{
  background:#20212a;
}

.tftw-v065-hero-media{
  position:absolute;
  inset:0;
}

.tftw-v065-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tftw-v065-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(15,16,22,.78),rgba(15,16,22,.45) 43%,rgba(15,16,22,.08) 80%);
  opacity:0;
}

.tftw-v065-hero.has-image .tftw-v065-hero-overlay{
  opacity:1;
}

.tftw-v065-hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding-top:110px;
  padding-bottom:75px;
}

.tftw-v065-hero-copy{
  max-width:800px;
}

.tftw-v065-hero.has-image .tftw-v065-kicker{
  color:#d8d3ff;
}

.tftw-v065-hero h1{
  max-width:800px;
  margin:12px 0 24px;
  font-size:clamp(58px,7.4vw,92px);
  line-height:.94;
  letter-spacing:-.055em;
}

.tftw-v065-hero.has-image h1{
  color:#fff;
}

.tftw-v065-hero p{
  max-width:650px;
  color:#555d67;
  font-size:18px;
  line-height:1.7;
}

.tftw-v065-hero.has-image p{
  color:rgba(255,255,255,.85);
}

.tftw-v065-actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:30px;
}

.tftw-v065-primary{
  display:inline-flex;
  padding:13px 21px;
  border-radius:999px;
  background:var(--tftw-brand);
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

.tftw-v065-hero.has-image .tftw-v065-primary{
  background:#fff;
  color:#242630;
}

.tftw-v065-secondary{
  color:var(--tftw-brand);
  text-decoration:none;
  font-weight:800;
}

.tftw-v065-hero.has-image .tftw-v065-secondary{
  color:#fff;
}

.tftw-v065-strip{
  border-bottom:1px solid var(--tftw-border);
  background:#fff;
}

.tftw-v065-strip-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.tftw-v065-strip-grid>div{
  display:grid;
  gap:3px;
  padding:24px 28px;
}

.tftw-v065-strip-grid>div + div{
  border-left:1px solid var(--tftw-border);
}

.tftw-v065-strip span{
  color:#8a9099;
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.tftw-v065-strip strong{font-size:14px;}

.tftw-v065-destinations{
  padding:90px 0 95px;
  background:#fff;
}

.tftw-v065-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:32px;
}

.tftw-v065-section-head h2{
  margin:7px 0 0;
  font-size:clamp(40px,5vw,60px);
  line-height:1;
  letter-spacing:-.047em;
}

.tftw-v065-controls{
  display:flex;
  gap:8px;
}

.tftw-v065-controls button{
  width:42px;
  height:42px;
  border:1px solid var(--tftw-border);
  border-radius:50%;
  background:#fff;
  cursor:pointer;
}

.tftw-v065-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(255px,28.5%);
  gap:20px;
  overflow-x:auto;
  padding:2px 2px 14px;
  scroll-snap-type:inline mandatory;
  scrollbar-width:none;
}

.tftw-v065-carousel::-webkit-scrollbar{display:none}

.tftw-v065-country{scroll-snap-align:start}
.tftw-v065-country>a{text-decoration:none;color:inherit}

.tftw-v065-country-media{
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:18px;
  background:#eceef1;
}

.tftw-v065-country-media img,
.tftw-v065-placeholder{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tftw-v065-placeholder{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#e2dfff,#f1eee5);
}

.tftw-v065-placeholder span{
  color:#9188d8;
  font-size:74px;
  font-weight:900;
}

.tftw-v065-country-copy{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  padding-top:15px;
}

.tftw-v065-country-copy h3{margin:0;font-size:23px}
.tftw-v065-country-copy span{color:#8a9099;font-size:10px}
.tftw-v065-country-copy strong{color:var(--tftw-brand);font-size:11px;white-space:nowrap}

.tftw-v065-spotlight{
  padding:20px 0 100px;
  background:#fff;
}

.tftw-v065-spotlight-shell{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  overflow:hidden;
  min-height:520px;
  border-radius:24px;
  background:#f5f5f8;
}

.tftw-v065-spotlight-media{
  position:relative;
  min-height:520px;
  background:#e6e7ea;
}

.tftw-v065-spotlight-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tftw-v065-spotlight-media>span{
  position:absolute;
  top:24px;
  left:24px;
  padding:9px 13px;
  border-radius:999px;
  background:#fff;
  color:var(--tftw-brand);
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
}

.tftw-v065-spotlight-copy{
  align-self:center;
  padding:54px 58px;
}

.tftw-v065-spotlight-copy h2{
  margin:8px 0 18px;
  font-size:clamp(40px,5vw,60px);
  line-height:1;
  letter-spacing:-.047em;
}

.tftw-v065-spotlight-copy p{
  color:#59616b;
  line-height:1.75;
}

.tftw-v065-spotlight-copy a{
  display:inline-block;
  margin-top:12px;
  color:var(--tftw-brand);
  text-decoration:none;
  font-weight:800;
}

.tftw-v065-partner{
  padding:100px 0;
  background:#171924;
  color:#fff;
}

.tftw-v065-partner-grid{
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:95px;
}

.tftw-v065-partner .tftw-v065-kicker{color:#bcb5ff}

.tftw-v065-partner h2{
  margin:9px 0 22px;
  color:#fff;
  font-size:clamp(40px,5vw,60px);
  line-height:1.01;
  letter-spacing:-.047em;
}

.tftw-v065-partner p{color:#bdc1ca;line-height:1.75}

.tftw-v065-steps article{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:18px;
  padding:27px 0;
  border-bottom:1px solid rgba(255,255,255,.13);
}

.tftw-v065-steps article:first-child{padding-top:0}
.tftw-v065-steps article>span{color:#8178da;font-size:11px;font-weight:850}
.tftw-v065-steps h3{margin:0 0 7px;color:#fff;font-size:22px}
.tftw-v065-steps p{margin:0;color:#aeb2bb;font-size:14px;line-height:1.62}

.tftw-v065-seo{
  padding:94px 0;
  background:#fff;
}

.tftw-v065-seo-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:75px;
}

.tftw-v065-seo h2{
  margin:8px 0 0;
  font-size:clamp(38px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.047em;
}

.tftw-v065-seo-grid>div:last-child>p{
  margin-top:0;
  color:#59616b;
  font-size:16px;
  line-height:1.82;
}

.tftw-v065-seo-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

.tftw-v065-seo-links a{
  padding:7px 11px;
  border:1px solid var(--tftw-border);
  border-radius:999px;
  color:#565c65;
  text-decoration:none;
  font-size:11px;
  font-weight:750;
}

/* Tour pages stay compact */
.tftw-trip-hero-image{height:clamp(180px,22vw,310px)}

@media(max-width:900px){
  .tftw-v065-strip-grid,
  .tftw-v065-spotlight-shell,
  .tftw-v065-partner-grid,
  .tftw-v065-seo-grid{
    grid-template-columns:1fr;
  }

  .tftw-v065-strip-grid>div + div{
    border-left:0;
    border-top:1px solid var(--tftw-border);
  }

  .tftw-v065-carousel{grid-auto-columns:minmax(260px,43%)}
  .tftw-v065-partner-grid{gap:48px}
}

@media(max-width:680px){
  .tftw-v065-hero{min-height:570px}
  .tftw-v065-hero h1{font-size:50px}
  .tftw-v065-carousel{grid-auto-columns:82%}
  .tftw-v065-spotlight-media{min-height:330px}
  .tftw-v065-spotlight-copy{padding:32px 24px 38px}
}


/* =========================================================
   TFTW v0.6.7 — branded header, logo control, hero spacing
   ========================================================= */

.tftw-header-container{
  width:min(1420px,calc(100% - 48px));
  margin-inline:auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.965);
  border-bottom:1px solid rgba(227,229,233,.9);
  box-shadow:0 4px 18px rgba(23,25,36,.025);
  backdrop-filter:blur(14px);
}

.site-header-inner{
  min-height:84px;
  height:auto;
  display:flex;
  align-items:center;
  gap:20px;
}

.site-brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}

.site-brand .custom-logo-link{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.site-brand .custom-logo{
  display:block;
  width:min(var(--tftw-logo-width,190px),100%);
  max-width:var(--tftw-logo-width,190px);
  max-height:66px;
  height:auto;
  object-fit:contain;
}

.site-brand-fallback{
  display:flex;
  align-items:center;
  gap:10px;
  color:inherit;
  font-weight:800;
  text-decoration:none;
}

/* Desktop navigation */
.primary-nav{
  margin-left:auto;
  min-width:0;
}

.primary-nav .tftw-primary-menu,
.primary-nav>ul{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:3px;
  list-style:none;
  margin:0;
  padding:0;
}

.primary-nav li{
  position:relative;
  margin:0;
}

.primary-nav a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:8px 10px;
  border-radius:999px;
  color:#292c34;
  text-decoration:none;
  white-space:nowrap;
  font-size:12.5px;
  line-height:1;
  font-weight:700;
  transition:background .18s,color .18s,transform .18s;
}

.primary-nav a:hover,
.primary-nav .current-menu-item>a,
.primary-nav .current_page_item>a{
  background:#f2f1fb;
  color:var(--tftw-brand);
}

.primary-nav a:hover{
  transform:translateY(-1px);
}

.header-cta{
  flex:0 0 auto;
  display:inline-flex;
  gap:8px;
  min-height:44px;
  padding:10px 17px;
  font-size:12.5px;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(79,63,211,.14);
}

/* Dropdown menus if they exist */
.primary-nav .sub-menu{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  z-index:1001;
  display:none!important;
  min-width:210px;
  padding:8px!important;
  border:1px solid var(--tftw-border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 45px rgba(23,25,36,.11);
}

.primary-nav li:hover>.sub-menu,
.primary-nav li:focus-within>.sub-menu{
  display:grid!important;
}

.primary-nav .sub-menu a{
  justify-content:flex-start;
  border-radius:9px;
}

/* Better hamburger */
.menu-toggle{
  display:none;
  align-items:center;
  gap:8px;
  margin-left:auto;
  border:1px solid var(--tftw-border);
  background:#fff;
  border-radius:999px;
  padding:9px 12px;
}

.menu-toggle-icon{
  display:grid;
  gap:4px;
  width:17px;
}

.menu-toggle-icon span{
  display:block;
  height:2px;
  border-radius:999px;
  background:#20232a;
}

/* Hero copy breathing room */
.tftw-v065-hero-inner{
  width:min(1420px,calc(100% - 96px));
  margin-inline:auto;
  padding-left:clamp(14px,2.5vw,38px);
  padding-right:clamp(14px,2.5vw,38px);
}

.tftw-v065-hero-copy{
  max-width:760px;
}

.tftw-v065-hero h1{
  max-width:760px;
}

/* Switch to mobile nav before labels ever have to wrap */
@media(max-width:1180px){
  .tftw-header-container{
    width:min(100% - 34px,1100px);
  }

  .site-header-inner{
    min-height:76px;
  }

  .site-brand .custom-logo{
    max-width:min(var(--tftw-logo-width,190px),170px);
    max-height:56px;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .primary-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    margin:0;
    padding:12px 17px 20px;
    background:rgba(255,255,255,.99);
    border-bottom:1px solid var(--tftw-border);
    box-shadow:0 18px 30px rgba(23,25,36,.08);
  }

  .primary-nav.is-open{
    display:block;
  }

  .primary-nav .tftw-primary-menu,
  .primary-nav>ul{
    display:grid;
    gap:3px;
    max-width:760px;
    margin-inline:auto;
  }

  .primary-nav a{
    justify-content:space-between;
    min-height:44px;
    padding:10px 12px;
    border-radius:10px;
    font-size:14px;
  }

  .primary-nav .sub-menu{
    position:static;
    display:grid!important;
    min-width:0;
    margin:0 0 5px 15px!important;
    padding:0!important;
    border:0;
    box-shadow:none;
  }

  .header-cta{
    margin-left:0;
  }
}

@media(max-width:680px){
  .tftw-header-container{
    width:calc(100% - 24px);
  }

  .site-header-inner{
    min-height:68px;
    gap:10px;
  }

  .site-brand .custom-logo{
    width:auto;
    max-width:min(var(--tftw-logo-width,190px),145px);
    max-height:48px;
  }

  .menu-toggle{
    margin-left:auto;
  }

  .menu-toggle-label{
    display:none;
  }

  .header-cta{
    display:none;
  }

  .tftw-v065-hero-inner{
    width:100%;
    padding-left:28px;
    padding-right:28px;
  }

  .tftw-v065-hero h1{
    font-size:clamp(44px,13vw,58px);
    max-width:95%;
  }

  .tftw-v065-hero p{
    max-width:94%;
    font-size:16px;
  }
}


/* ============================================================
   TFTW v0.6.9 — dropdown bridge, About, legal, footer/newsletter
   ============================================================ */

/* Prevent pointer from falling through the 8px gap between parent and submenu. */
.primary-nav .menu-item-has-children{
  position:relative;
}
.primary-nav .menu-item-has-children::after{
  content:"";
  position:absolute;
  z-index:999;
  left:0;
  right:0;
  top:100%;
  height:14px;
}
.primary-nav .sub-menu{
  top:calc(100% + 6px);
  z-index:1002;
}
.primary-nav .sub-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-8px;
  height:10px;
}

/* ABOUT */
.tftw-about-hero{
  position:relative;
  overflow:hidden;
  padding:110px 0 105px;
  background:
    radial-gradient(circle at 82% 18%,rgba(81,66,216,.19),transparent 28%),
    linear-gradient(135deg,#f4f2ff,#fff 58%,#f5eee4);
}
.tftw-about-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:80px;
  align-items:center;
}
.tftw-about-kicker{
  margin:0 0 12px;
  color:#5142d8;
  font-size:11px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.tftw-about-hero h1{
  max-width:760px;
  margin:0;
  font-size:clamp(56px,7vw,88px);
  line-height:.94;
  letter-spacing:-.055em;
}
.tftw-about-hero-copy{
  max-width:670px;
  margin:27px 0 0;
  color:#59616b;
  font-size:18px;
  line-height:1.7;
}
.tftw-about-hero-mark{
  display:grid;
  gap:6px;
  padding:48px;
  border:1px solid rgba(81,66,216,.15);
  border-radius:28px;
  background:rgba(255,255,255,.72);
  box-shadow:0 24px 65px rgba(23,25,35,.08);
  backdrop-filter:blur(15px);
  transform:rotate(2deg);
}
.tftw-about-hero-mark span{
  color:#858b95;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.025em;
}
.tftw-about-hero-mark strong{
  color:#5142d8;
  font-size:clamp(38px,5vw,59px);
  line-height:.95;
  letter-spacing:-.05em;
}
.tftw-about-content{
  padding:90px 0 105px;
  background:#fff;
}
.tftw-about-article{
  max-width:none;
}
.tftw-about-intro{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:70px;
  align-items:start;
  margin-bottom:78px;
}
.tftw-about-intro p{
  margin:0;
  color:#606873;
  font-size:16px;
  line-height:1.8;
}
.tftw-about-intro .tftw-about-lead{
  color:#171923;
  font-size:clamp(28px,4vw,43px);
  line-height:1.12;
  letter-spacing:-.04em;
  font-weight:750;
}
.tftw-about-values{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:95px;
}
.tftw-about-values article{
  padding:30px;
  border:1px solid #e1e4e9;
  border-radius:20px;
  background:#fff;
}
.tftw-about-values article>span{
  color:#8c83db;
  font-size:10px;
  font-weight:850;
}
.tftw-about-values h2{
  margin:34px 0 12px;
  font-size:25px;
  letter-spacing:-.03em;
}
.tftw-about-values p{
  margin:0;
  color:#666e78;
  line-height:1.72;
}
.tftw-about-story{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  margin:0 -30px 90px;
  padding:68px 70px;
  border-radius:28px;
  background:#171923;
  color:#fff;
}
.tftw-about-story .tftw-about-kicker{color:#b7afff}
.tftw-about-story h2{
  margin:0;
  color:#fff;
  font-size:clamp(39px,5vw,58px);
  line-height:1;
  letter-spacing:-.05em;
}
.tftw-about-story p{
  color:#c2c6cf;
  font-size:15px;
  line-height:1.8;
}
.tftw-about-partner{
  max-width:930px;
  margin:auto;
  text-align:center;
}
.tftw-about-partner h2{
  margin:8px auto 18px;
  font-size:clamp(39px,5vw,58px);
  line-height:1;
  letter-spacing:-.05em;
}
.tftw-about-partner>p{
  color:#646c76;
  line-height:1.78;
}
.tftw-about-actions{
  display:flex;
  justify-content:center;
  gap:11px;
  flex-wrap:wrap;
  margin-top:25px;
}
.tftw-about-primary,.tftw-about-secondary{
  display:inline-flex;
  min-height:45px;
  align-items:center;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  font-size:12px;
}
.tftw-about-primary{background:#5142d8;color:#fff}
.tftw-about-secondary{border:1px solid #dde0e5;color:#4f5660;background:#fff}

/* LEGAL */
.tftw-legal-hero{
  padding:95px 0 65px;
  background:linear-gradient(135deg,#f4f2ff,#fff 62%,#f7f2e8);
}
.tftw-legal-hero h1{
  margin:5px 0 15px;
  font-size:clamp(47px,6vw,72px);
  line-height:1;
  letter-spacing:-.05em;
}
.tftw-legal-hero>div>p:last-child{
  max-width:760px;
  color:#68707a;
  font-size:16px;
  line-height:1.7;
}
.tftw-legal-shell{
  padding-top:65px;
  padding-bottom:90px;
}
.tftw-legal-article{
  max-width:880px;
}
.tftw-legal-article h2{
  margin:38px 0 10px;
  font-size:27px;
  letter-spacing:-.025em;
}
.tftw-legal-article p,
.tftw-legal-article li{
  color:#555e68;
  font-size:15px;
  line-height:1.78;
}
.tftw-legal-article a{color:#5142d8}

/* FOOTER */
.site-footer.tftw-footer-v069{
  margin-top:0;
  padding:0;
  background:#171923;
  color:#fff;
}
.tftw-footer-newsletter{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:70px;
  align-items:center;
  padding-top:70px;
  padding-bottom:70px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.tftw-footer-kicker{
  margin:0 0 9px;
  color:#aaa2ee;
  font-size:10px;
  font-weight:850;
  letter-spacing:.1em;
}
.tftw-footer-newsletter h2{
  max-width:590px;
  margin:0 0 15px;
  color:#fff;
  font-size:clamp(34px,4vw,50px);
  line-height:1;
  letter-spacing:-.045em;
}
.tftw-footer-newsletter>div>p:last-child{
  max-width:570px;
  margin:0;
  color:#afb4bd;
  line-height:1.7;
}
.tftw-newsletter-form{
  max-width:560px;
  margin-left:auto;
}
.tftw-newsletter-row{
  display:grid;
  grid-template-columns:1fr auto;
  overflow:hidden;
  padding:5px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.07);
}
.tftw-newsletter-row input{
  min-width:0;
  min-height:48px;
  padding:0 17px;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-size:14px;
}
.tftw-newsletter-row input::placeholder{color:#9298a3}
.tftw-newsletter-row button{
  min-height:48px;
  padding:0 19px;
  border:0;
  border-radius:999px;
  background:#5142d8;
  color:#fff;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.tftw-newsletter-consent{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin-top:10px;
  color:#9197a1;
  font-size:10px;
  line-height:1.45;
}
.tftw-newsletter-consent input{margin-top:2px}
.tftw-newsletter-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
.tftw-newsletter-message{
  margin-bottom:10px;
  padding:10px 13px;
  border-radius:10px;
  font-size:11px;
}
.tftw-newsletter-message.is-success{background:rgba(53,167,91,.16);color:#c5f0d2}
.tftw-newsletter-message.is-error{background:rgba(222,80,80,.15);color:#ffd0d0}
.tftw-footer-main{
  display:grid;
  grid-template-columns:1.55fr repeat(3,.72fr);
  gap:58px;
  padding-top:60px;
  padding-bottom:55px;
}
.tftw-footer-brand-column p{
  max-width:340px;
  color:#aeb3bd;
  font-size:13px;
  line-height:1.68;
}
.tftw-footer-logo .custom-logo{
  width:auto;
  max-width:185px;
  max-height:62px;
  filter:brightness(0) invert(1);
}
.tftw-footer-contact-lines{
  display:grid;
  gap:3px;
  margin-top:18px;
}
.tftw-footer-contact-lines a{
  color:#fff;
  text-decoration:none;
  font-size:12px;
}
.tftw-footer-column{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.tftw-footer-column h3{
  margin:0 0 7px;
  color:#fff;
  font-size:13px;
}
.tftw-footer-column a{
  color:#aeb3bd;
  text-decoration:none;
  font-size:12px;
  transition:color .18s,transform .18s;
}
.tftw-footer-column a:hover{
  color:#fff;
  transform:translateX(2px);
}
.tftw-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:18px;
  padding-bottom:20px;
  border-top:1px solid rgba(255,255,255,.10);
  color:#7f8590;
  font-size:10px;
}

@media(max-width:900px){
  .tftw-about-hero-grid,
  .tftw-about-intro,
  .tftw-about-story,
  .tftw-footer-newsletter{
    grid-template-columns:1fr;
  }
  .tftw-about-values{grid-template-columns:1fr}
  .tftw-about-hero-mark{max-width:520px}
  .tftw-about-story{margin-left:0;margin-right:0;gap:35px;padding:48px 38px}
  .tftw-footer-main{grid-template-columns:1.2fr 1fr 1fr}
  .tftw-footer-column:last-child{grid-column:2/4}
  .tftw-newsletter-form{margin-left:0}
}
@media(max-width:650px){
  .tftw-about-hero{padding:72px 0 65px}
  .tftw-about-hero h1{font-size:52px}
  .tftw-about-hero-grid{gap:38px}
  .tftw-about-hero-mark{padding:32px}
  .tftw-about-content{padding:60px 0 75px}
  .tftw-about-intro{gap:30px;margin-bottom:55px}
  .tftw-about-story{padding:37px 26px}
  .tftw-footer-newsletter{gap:33px;padding-top:52px;padding-bottom:52px}
  .tftw-newsletter-row{grid-template-columns:1fr;border-radius:16px;padding:6px}
  .tftw-newsletter-row button{border-radius:11px}
  .tftw-footer-main{grid-template-columns:1fr 1fr;gap:37px 25px}
  .tftw-footer-brand-column{grid-column:1/-1}
  .tftw-footer-column:last-child{grid-column:auto}
  .tftw-footer-bottom{display:grid}
}

/* Mobile dropdown keeps normal document flow and ignores hover bridge. */
@media(max-width:1180px){
  .primary-nav .menu-item-has-children::after,
  .primary-nav .sub-menu::before{display:none}
}


/* ============================================================
   TFTW v0.7.0 — login / logout session controls
   ============================================================ */

.primary-nav .tftw-session-menu-item.is-logout>a{
  color:#6f7580;
  border:1px solid #e1e3e8;
  background:#fff;
}

.primary-nav .tftw-session-menu-item.is-logout>a:hover{
  color:#fff;
  border-color:#5142d8;
  background:#5142d8;
}

.primary-nav .tftw-session-menu-item.is-login>a{
  color:#5142d8;
  border:1px solid #d9d5f7;
  background:#f4f2ff;
}

.primary-nav .tftw-session-menu-item.is-login>a:hover{
  color:#fff;
  border-color:#5142d8;
  background:#5142d8;
}

.tftw-account-session-panel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  max-width:1180px;
  margin:34px auto 10px;
  padding:16px 19px;
  border:1px solid #e1e4e8;
  border-radius:15px;
  background:#fafafd;
}

.tftw-account-session-panel>div{
  display:grid;
  gap:3px;
}

.tftw-account-session-panel span{
  color:#858b94;
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.tftw-account-session-panel strong{
  color:#252832;
  font-size:13px;
}

.tftw-account-session-panel>a{
  display:inline-flex;
  align-items:center;
  min-height:39px;
  padding:9px 15px;
  border:1px solid #dedfe5;
  border-radius:999px;
  background:#fff;
  color:#5b626d;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
  transition:background .18s,border-color .18s,color .18s;
}

.tftw-account-session-panel>a:hover{
  border-color:#5142d8;
  background:#5142d8;
  color:#fff;
}

@media(max-width:1180px){
  .primary-nav .tftw-session-menu-item.is-login>a,
  .primary-nav .tftw-session-menu-item.is-logout>a{
    border:0;
    background:transparent;
  }
}

@media(max-width:650px){
  .tftw-account-session-panel{
    align-items:flex-start;
    margin:28px 16px 8px;
  }
}


/* ============================================================
   TFTW v0.7.1 — Agent login
   ============================================================ */
.tftw-agent-login-shell{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:90px;
  align-items:center;
  max-width:1180px;
  min-height:610px;
  margin:0 auto;
  padding:78px 0 85px;
}
.tftw-agent-login-kicker{
  margin:0 0 10px;
  color:#5142d8;
  font-size:10px;
  font-weight:850;
  letter-spacing:.11em;
}
.tftw-agent-login-intro h1{
  margin:0;
  color:#171923;
  font-size:clamp(58px,7vw,82px);
  line-height:.94;
  letter-spacing:-.055em;
}
.tftw-agent-login-intro>p:not(.tftw-agent-login-kicker){
  max-width:570px;
  margin:24px 0 0;
  color:#68707a;
  font-size:16px;
  line-height:1.7;
}
.tftw-agent-login-benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:38px;
}
.tftw-agent-login-benefits>div{
  display:grid;
  align-content:start;
  min-height:125px;
  padding:15px;
  border:1px solid #e3e5e9;
  border-radius:14px;
  background:#fff;
}
.tftw-agent-login-benefits span{
  color:#9189de;
  font-size:8px;
  font-weight:850;
}
.tftw-agent-login-benefits strong{
  margin-top:20px;
  color:#252832;
  font-size:12px;
}
.tftw-agent-login-benefits small{
  margin-top:5px;
  color:#818791;
  font-size:9px;
  line-height:1.5;
}
.tftw-agent-login-card{
  padding:31px;
  border:1px solid #dfe2e7;
  border-radius:22px;
  background:#fff;
  box-shadow:0 22px 60px rgba(22,24,34,.08);
}
.tftw-agent-login-card-head>span{
  color:#5142d8;
  font-size:9px;
  font-weight:850;
  letter-spacing:.1em;
}
.tftw-agent-login-card-head h2{
  margin:6px 0 7px;
  font-size:30px;
  letter-spacing:-.035em;
}
.tftw-agent-login-card-head p{
  margin:0 0 22px;
  color:#747b85;
  font-size:11px;
  line-height:1.55;
}
#tftw-agent-loginform p{
  margin:0 0 14px;
}
#tftw-agent-loginform label{
  display:block;
  margin-bottom:5px;
  color:#505762;
  font-size:10px;
  font-weight:800;
}
#tftw-agent-loginform input[type=text],
#tftw-agent-loginform input[type=password]{
  box-sizing:border-box;
  width:100%;
  min-height:46px;
  padding:9px 12px;
  border:1px solid #d6dae0;
  border-radius:9px;
  background:#fff;
  color:#222630;
  outline:0;
}
#tftw-agent-loginform input[type=text]:focus,
#tftw-agent-loginform input[type=password]:focus{
  border-color:#5142d8;
  box-shadow:0 0 0 3px rgba(81,66,216,.08);
}
#tftw-agent-loginform .login-remember label{
  display:flex;
  gap:7px;
  align-items:center;
  color:#717883;
  font-weight:600;
}
#tftw-agent-loginform .login-submit input{
  width:100%;
  min-height:46px;
  border:0;
  border-radius:999px;
  background:#5142d8;
  color:#fff;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(81,66,216,.20);
}
.tftw-agent-login-links{
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:4px;
}
.tftw-agent-login-links a{
  color:#5142d8;
  text-decoration:none;
  font-size:10px;
  font-weight:700;
}
.tftw-agent-login-note{
  display:grid;
  gap:3px;
  margin-top:23px;
  padding:12px 13px;
  border-radius:11px;
  background:#f6f5fd;
}
.tftw-agent-login-note strong{
  color:#323640;
  font-size:10px;
}
.tftw-agent-login-note span{
  color:#777e88;
  font-size:9px;
}
@media(max-width:900px){
  .tftw-agent-login-shell{
    grid-template-columns:1fr;
    gap:45px;
    padding:55px 24px 70px;
  }
  .tftw-agent-login-card{max-width:560px}
}
@media(max-width:600px){
  .tftw-agent-login-benefits{grid-template-columns:1fr}
  .tftw-agent-login-benefits>div{min-height:auto}
  .tftw-agent-login-intro h1{font-size:54px}
  .tftw-agent-login-card{padding:23px}
  .tftw-agent-login-links{display:grid}
}


/* TFTW v0.7.2 custom frontend authentication */
.tftw-agent-login-error{
  margin:0 0 16px;
  padding:11px 13px;
  border:1px solid #f0caca;
  border-radius:10px;
  background:#fff4f4;
  color:#9a3737;
  font-size:10px;
  line-height:1.5;
}
.tftw-agent-password-help{
  max-width:1180px;
  display:flex;
  align-items:center;
  gap:12px;
  margin:28px auto -40px;
  padding:13px 16px;
  border:1px solid #dcd8f6;
  border-radius:12px;
  background:#f7f5ff;
}
.tftw-agent-password-help strong{
  color:#343842;
  font-size:11px;
}
.tftw-agent-password-help span{
  flex:1;
  color:#747b85;
  font-size:10px;
}
.tftw-agent-password-help a{
  padding:8px 12px;
  border-radius:999px;
  background:#5142d8;
  color:#fff;
  text-decoration:none;
  font-size:9px;
  font-weight:800;
}
@media(max-width:900px){
  .tftw-agent-password-help{
    margin:20px 24px -30px;
  }
}
@media(max-width:600px){
  .tftw-agent-password-help{
    display:grid;
  }
}


/* ============================================================
   TFTW v0.7.3 — inquiry confirmation + agent autofill
   ============================================================ */
.tftw-request-confirmation{
  display:grid!important;
  grid-template-columns:38px 1fr;
  gap:12px;
  align-items:center;
  margin-bottom:18px;
  padding:14px 15px!important;
  border:1px solid #bfe6ca!important;
  border-radius:13px!important;
  background:#f1fbf4!important;
  color:#225f36!important;
}
.tftw-request-confirmation-icon{
  display:grid;
  place-items:center;
  width:36px;height:36px;
  border-radius:50%;
  background:#42a860;
  color:#fff;
  font-size:17px;
  font-weight:900;
}
.tftw-request-confirmation>div:last-child{display:grid;gap:3px}
.tftw-request-confirmation strong{font-size:12px!important;color:#205c34!important}
.tftw-request-confirmation span{font-size:10px!important;line-height:1.5;color:#477255!important}

.tftw-form-account-note{
  display:flex;
  gap:9px;
  align-items:center;
  margin:0 0 17px;
  padding:10px 12px;
  border-radius:10px;
  background:#f5f3ff;
}
.tftw-form-account-note>span{
  display:grid;place-items:center;
  width:22px;height:22px;
  border-radius:50%;
  background:#5142d8;
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.tftw-form-account-note>div{display:grid;gap:2px}
.tftw-form-account-note strong{color:#39384b;font-size:9.5px}
.tftw-form-account-note small{color:#77758a;font-size:8.5px}
