/* The three "Plan your trip" cards (includes/trip-cards.php): header dropdown, mobile drawer and /plan-your-trip.
   Desktop (>=768px): founder card tall on the left, fixed departures over private on the right.
   Phone (<768px): one column, photo on top. Classes only (no inline sizes) so the breakpoint can restack them. */
.tc-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;align-items:stretch}
.tc-grid--1,.tc-grid--2{grid-template-columns:1fr 1fr}
.tc-grid--1{grid-template-columns:minmax(0,640px)}
.tc-stack{display:grid;grid-template-rows:1fr;gap:18px}
.tc-stack:has(> :nth-child(2)){grid-template-rows:1fr 1fr}

.tc-card{position:relative;display:flex;min-width:0;color:#10265A;border:3px solid #10265A;border-radius:16px;overflow:hidden;transition:transform .12s ease,box-shadow .12s ease}
.tc-card:focus-within{outline:3px solid #2B54D6;outline-offset:3px}
.tc-card--founder_hosted{flex-direction:column;padding:22px;background:#FFD23F;box-shadow:8px 8px 0 #10265A}
.tc-card--fixed_departure{gap:18px;padding:14px;background:#F2F5FF;box-shadow:7px 7px 0 #2B54D6}
.tc-card--private{gap:18px;padding:14px;background:#F2F5FF;box-shadow:7px 7px 0 #10265A}
.tc-card--founder_hosted:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 #10265A}
.tc-card--fixed_departure:hover{transform:translate(3px,3px);box-shadow:4px 4px 0 #2B54D6}
.tc-card--private:hover{transform:translate(3px,3px);box-shadow:4px 4px 0 #10265A}

/* The photo sits in a navy frame on the left and is as tall as the card allows. */
.tc-media{position:relative;flex:none;align-self:stretch;overflow:hidden;background:#dbe2f4;border:3px solid #10265A;border-radius:12px;box-shadow:4px 4px 0 #10265A}
.tc-media img{display:block;width:100%;height:100%;object-fit:cover}
.tc-card--founder_hosted .tc-media{width:290px}
.tc-card--fixed_departure .tc-media,.tc-card--private .tc-media{width:160px}
.tc-top{display:flex;gap:22px;align-items:stretch;flex:1;min-width:0;margin-bottom:18px}   /* founder: photo + text, the strip and button underneath */

/* badge: above the title on the founder card, at the right end of the title row on the other two */
.tc-badge{display:inline-block;align-self:flex-start;padding:2px 10px;border:2px solid #10265A;border-radius:6px;font-family:'Caveat',cursive;font-weight:700;font-size:1rem;line-height:1.25;max-width:100%}
.tc-card--founder_hosted .tc-badge{margin-bottom:10px}
.tc-badge--blue{background:#2B54D6;color:#FFD23F}
.tc-badge--yellow{background:#FFD23F;color:#10265A}
.tc-headrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:6px 10px}
.tc-headrow .tc-badge{flex:none}   /* a longer badge drops under the title instead of squeezing it */

.tc-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:4px 4px 4px 0}
.tc-title{margin:0;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.2rem;letter-spacing:-.025em;line-height:1.05}
.tc-card--founder_hosted .tc-title{font-size:1.65rem;letter-spacing:-.03em}
.tc-link{color:inherit;text-decoration:none}
.tc-link::after{content:'';position:absolute;inset:0;z-index:1}   /* the whole card is the link */
.tc-link:focus-visible{outline:none}
.tc-tag{margin:4px 0 8px;font-family:'Caveat',cursive;font-size:1.05rem;line-height:1.2;color:#2B54D6}
.tc-card--founder_hosted .tc-tag{font-size:1.13rem}
.tc-desc{margin:0;font-size:.84rem;line-height:1.5;font-weight:500}
.tc-card--founder_hosted .tc-desc{font-size:.9rem}
.tc-bullets{display:flex;flex-direction:column;gap:6px;margin:10px 0 14px;padding:0;list-style:none}
.tc-bullets li{display:flex;gap:7px;font-size:.8rem;font-weight:600;line-height:1.35}
.tc-bullets li span{color:#2B54D6}
.tc-card--founder_hosted .tc-bullets{gap:7px;margin:14px 0 0}
.tc-card--founder_hosted .tc-bullets li{font-size:.84rem}
.tc-eg{margin:0 0 11px;font-size:.76rem;font-weight:600;color:#2B54D6}

.tc-next{position:relative;z-index:2;display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:9px 12px;background:#F2F5FF;border:2px solid #10265A;border-radius:8px}
.tc-next__dot{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#2B54D6}
.tc-next__text{flex:1;min-width:0;font-size:.84rem;font-weight:600}
.tc-next__go{flex-shrink:0;padding:5px 11px;background:#FFD23F;color:#10265A;border:2px solid #10265A;border-radius:6px;font-size:.78rem;font-weight:700;text-decoration:none}
.tc-next__go:hover,.tc-next__go:focus-visible{transform:translate(1px,1px)}

.tc-btn{display:inline-block;align-self:flex-start;margin-top:auto;padding:9px 16px;border:2px solid #10265A;border-radius:8px;box-shadow:3px 3px 0 #10265A;font-weight:700;font-size:.83rem;line-height:1.3}
.tc-card--founder_hosted .tc-btn{margin-top:0;padding:12px 19px;font-size:.9rem}
.tc-btn--blue{background:#2B54D6;color:#FFD23F}
.tc-btn--yellow{background:#FFD23F;color:#10265A}
.tc-card:hover .tc-btn{transform:translate(1px,1px);box-shadow:2px 2px 0 #10265A}

.tc-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:2px dashed #10265A}
.tc-foot__label{font-family:'Caveat',cursive;font-weight:700;font-size:1.2rem;color:#2B54D6}
.tc-chip{padding:8px 15px;background:#F2F5FF;color:#10265A;border:2px solid #10265A;border-radius:7px;font-weight:700;font-size:.85rem;text-decoration:none}
.tc-chip:hover,.tc-chip:focus-visible{background:#FFD23F}
.tc-foot__group{margin-left:auto;font-weight:700;font-size:.85rem;color:#2B54D6;text-decoration:none}

/* header dropdown chrome */
.tc-panel-top{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:14px;border-bottom:1px dashed #C9D2EC}
.tc-panel-top a{font-weight:600;font-size:.84rem;color:#10265A;text-decoration:none}
.tc-panel-top .tc-sep{color:#C9D2EC}
.tc-panel-top .tc-ask{margin-left:auto;font-weight:700;font-size:.86rem;color:#2B54D6;border-bottom:2px solid #2B54D6;padding-bottom:2px}
.tc-panel-head{margin-bottom:18px}
.tc-eyebrow{display:block;font-family:'Caveat',cursive;font-weight:700;font-size:1.32rem;color:#2B54D6}
.tc-heading{display:block;margin:0;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;letter-spacing:-.03em;line-height:1.1;color:#10265A}

/* /plan-your-trip */
.tc-page-hero{background:#FFD23F;border-bottom:3px solid #10265A;padding:46px 30px 40px}
.tc-page-hero__in,.tc-page-body__in{max-width:1200px;margin:0 auto}
.tc-page-hero h1{margin:4px 0 0;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2.1rem,4.6vw,3.4rem);line-height:.98;letter-spacing:-.035em;color:#10265A}
.tc-page-body{background:#F2F5FF;padding:44px 30px 70px;border-bottom:3px solid #10265A}
.tc-page-help{margin:26px 0 0;font-family:'Caveat',cursive;font-weight:700;font-size:1.3rem}
.tc-page-help a{color:#2B54D6;text-decoration:none;border-bottom:2px solid #2B54D6}

/* phone: one column, framed photo on top, button full width */
@media (max-width:767px){
  .tc-grid,.tc-grid--1,.tc-grid--2{grid-template-columns:minmax(0,1fr);gap:12px}
  .tc-stack,.tc-stack:has(> :nth-child(2)){grid-template-rows:none;gap:12px}
  .tc-card,.tc-card--founder_hosted,.tc-card--fixed_departure,.tc-card--private{flex-direction:column;gap:12px;padding:12px;border-radius:14px;box-shadow:none}
  .tc-card--founder_hosted{padding:14px}
  .tc-card:hover{transform:none;box-shadow:none}
  .tc-top{flex-direction:column;gap:14px;flex:none;margin-bottom:12px}
  .tc-media,.tc-card--founder_hosted .tc-media,.tc-card--fixed_departure .tc-media,.tc-card--private .tc-media{width:auto;align-self:auto;aspect-ratio:16/9;box-shadow:none}
  .tc-card--founder_hosted .tc-media{aspect-ratio:4/3}
  .tc-body{padding:0}
  .tc-title,.tc-card--founder_hosted .tc-title{font-size:1.28rem;line-height:1.08}
  .tc-tag,.tc-card--founder_hosted .tc-tag{font-size:1.08rem;margin:3px 0 7px}
  .tc-desc,.tc-card--founder_hosted .tc-desc{font-size:.88rem}
  .tc-bullets,.tc-card--founder_hosted .tc-bullets{gap:5px;margin:11px 0 12px}
  .tc-bullets li,.tc-card--founder_hosted .tc-bullets li{font-size:.82rem}
  .tc-btn,.tc-card--founder_hosted .tc-btn{display:block;align-self:stretch;text-align:center;margin-top:0;padding:12px;font-size:.9rem;box-shadow:none}
  .tc-next{margin:0 0 12px}
  .tc-foot{margin-top:16px;padding-top:12px;gap:8px}
  .tc-foot__label{flex-basis:100%;font-size:1.1rem}
  .tc-foot__group{margin-left:0;flex-basis:100%;margin-top:6px}
  .tc-chip{padding:7px 12px;font-size:.78rem;border-width:1.5px}
  .tc-page-hero{padding:30px 20px 26px}
  .tc-page-body{padding:26px 16px 44px}
}

/* in the mobile drawer (dark background): light borders, cream chips and links */
.tc-card--drawer{border-color:#F2F5FF}
.tc-foot--drawer{border-top:2px dashed rgba(242,245,255,.25);margin-top:12px;padding-top:12px;gap:8px}
.tc-foot--drawer .tc-foot__label{color:#FFD23F;flex-basis:100%;font-size:1.1rem}
.tc-foot--drawer .tc-chip{background:rgba(242,245,255,.08);color:#F2F5FF;border:1.5px solid rgba(242,245,255,.4);padding:7px 12px;font-size:.78rem}
.tc-foot--drawer .tc-chip:hover{background:rgba(242,245,255,.2)}
.tc-foot--drawer .tc-foot__group{margin-left:0;flex-basis:100%;margin-top:6px;color:#FFD23F;font-family:'Caveat',cursive;font-size:1.2rem}
@media (prefers-reduced-motion:reduce){.tc-card,.tc-card:hover{transition:none;transform:none}}

/* The drawer's own rule ".tkm-drawer__nav a" (big headline type, dashed underline, padding) would hit every link in the
   cards; these are more specific and put each link's own look back. */
.tkm-drawer__nav .tc-link{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:inherit;color:#10265A;padding:0;border:0}
.tkm-drawer__nav .tc-next__go{font-family:'DM Sans',sans-serif;font-weight:700;font-size:.78rem;line-height:1.3;color:#10265A;padding:5px 11px;border:2px solid #10265A}
.tkm-drawer__nav .tc-chip{font-family:'DM Sans',sans-serif;font-weight:700;font-size:.78rem;line-height:1.3;color:#F2F5FF;padding:7px 12px;border:1.5px solid rgba(242,245,255,.4)}
.tkm-drawer__nav .tc-foot__group{font-family:'Caveat',cursive;font-weight:700;font-size:1.2rem;line-height:1.3;color:#FFD23F;padding:0;border:0}
.tkm-drawer__nav .tc-foot__group{display:block;text-align:center;border-bottom:0}

/* ===== listing pages: /founder-hosted-tours and /fixed-departures (trip-listing.php) ===== */
.tl-in{max-width:1200px;margin:0 auto}
.tl-hero{padding:44px 30px 38px;border-bottom:3px solid #10265A}
.tl-hero--founder_hosted{background:#FFD23F}
.tl-hero--fixed_departure{background:#2B54D6;color:#F2F5FF}
.tl-hero--fixed_departure .tc-eyebrow{color:#FFD23F}
.tl-crumbs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px;font-size:.84rem;font-weight:600}
.tl-crumbs a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tl-h1{margin:2px 0 0;max-width:20ch;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2.2rem,5vw,3.8rem);line-height:.98;letter-spacing:-.035em}
.tl-sub{max-width:40rem;margin:16px 0 0;font-size:1.08rem;line-height:1.6;font-weight:500}
.tl-types{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.tl-types a,.tl-types span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:2px solid #10265A;border-radius:8px;background:#F2F5FF;color:#10265A;font-weight:700;font-size:.9rem;text-decoration:none}
.tl-types span{background:#10265A;color:#FFD23F}
.tl-types a:hover,.tl-types a:focus-visible{background:#FFD23F}
.tl-body{background:#F2F5FF;padding:34px 30px 70px;border-bottom:3px solid #10265A}
.tl-filters{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;padding:16px 18px;background:#fff;border:3px solid #10265A;border-radius:12px}
.tl-filters label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:.78rem;letter-spacing:.02em}
.tl-filters select{min-height:44px;min-width:160px;padding:0 12px;font:600 .95rem 'DM Sans',sans-serif;color:#10265A;background:#F2F5FF;border:2px solid #10265A;border-radius:8px}
.tl-apply{min-height:44px;padding:0 18px;font:700 .9rem 'DM Sans',sans-serif;color:#FFD23F;background:#2B54D6;border:2px solid #10265A;border-radius:8px;cursor:pointer}
.tl-clear{align-self:center;font-weight:700;font-size:.88rem;color:#2B54D6}
.tl-count{margin:18px 0 14px;font-family:'Caveat',cursive;font-weight:700;font-size:1.25rem;color:#2B54D6}
.tl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(330px,100%),1fr));gap:28px}
.tl-card{position:relative;display:flex;flex-direction:column;background:#fff;border:3px solid #10265A;border-radius:14px;overflow:hidden;box-shadow:7px 7px 0 #10265A;transition:transform .12s ease,box-shadow .12s ease}
.tl-card:hover{transform:translate(3px,3px);box-shadow:4px 4px 0 #10265A}
.tl-card:focus-within{outline:3px solid #2B54D6;outline-offset:3px}
.tl-media{position:relative;height:210px;overflow:hidden;background:#dbe2f4;border-bottom:3px solid #10265A}
.tl-badge{position:absolute;top:12px;left:12px;padding:4px 12px;background:#F2F5FF;border:2px solid #10265A;border-radius:6px;font-family:'Caveat',cursive;font-weight:700;font-size:1.05rem;line-height:1.25}
.tl-badge--open{background:#FFD23F}
.tl-host{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:8px;padding:28px 14px 10px;background:linear-gradient(0deg,rgba(16,38,90,.85),transparent);color:#F2F5FF;font-size:.78rem;font-weight:700}
.tl-host img{width:26px;height:26px;border-radius:50%;border:2px solid #FFD23F;object-fit:cover}
.tl-card__body{display:flex;flex-direction:column;flex:1;padding:20px 20px 22px}
.tl-meta{margin:0;font-family:'Caveat',cursive;font-size:1.15rem;color:#2B54D6}
.tl-card__title{margin:2px 0 8px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.34rem;letter-spacing:-.025em;line-height:1.1}
.tl-card__desc{margin:0 0 12px;font-size:.92rem;line-height:1.55;font-weight:500;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tl-byline{margin:0 0 10px;font-size:.8rem;font-weight:600;color:#33405e}
.tl-facts{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 16px;padding:0;list-style:none;font-size:.84rem;font-weight:500;flex:1;align-content:flex-start}
.tl-facts li{display:flex;gap:6px}
.tl-facts li::before{content:'•';color:#2B54D6}
.tl-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:14px;border-top:2px dashed #10265A}
.tl-price{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.18rem}
.tl-price-note{font-size:.72rem;font-weight:500;color:#5b6684}
.tl-card .tc-btn{margin-top:0}
.tl-empty{padding:36px 28px;background:#fff;border:3px dashed #10265A;border-radius:14px;text-align:center}
.tl-empty p{margin:0 0 16px;font-size:1.05rem;font-weight:600}
.tl-more{margin:34px 0 0;font-weight:600}
.tl-more a{color:#2B54D6;font-weight:700}
@media (max-width:767px){
  .tl-hero{padding:26px 20px 26px}
  .tl-body{padding:22px 16px 46px}
  .tl-filters{padding:12px;gap:10px 12px}
  .tl-filters label{flex:1 1 140px}
  .tl-filters select{width:100%;min-width:0}
  .tl-grid{gap:18px}
  .tl-card,.tl-card:hover{box-shadow:5px 5px 0 #10265A;transform:none}
}
@media (prefers-reduced-motion:reduce){.tl-card,.tl-card:hover{transition:none;transform:none}}
