/* ===================================================================
   Travel guide pages (template-travel-guide.php), written in the block
   editor. The design hangs on class names of ordinary blocks (made in
   inc/guide-markup.php) and on block styles ("is-style-whg-…", picked in
   the editor's sidebar). The same rules style the page and the editor
   (".editor-styles-wrapper"), so editors see what visitors will.

   Everything is sized by its content, grids wrap, and the number of items
   in a grid sets its columns (":has()"), so adding, removing or rewriting
   anything keeps the design.
   =================================================================== */

:is(.whg,.editor-styles-wrapper){
  --g-maroon:#7a2e1f;
  --g-maroon-dark:#4f1c12;
  --g-gold:#9a5b12;
  --g-gold-btn:#e0a24a;
  --g-ink:#231f1a;
  --g-body:#4a4036;
  --g-muted:#6b5f52;
  --g-bg:var(--wh-page-bg, #f7f3ec);
  --g-card:#ffffff;
  --g-rule:#e4dccf;
  --g-rule-soft:#eee4d6;
  --g-pill-rule:#d8cdbd;
  --g-chip:#f3ece1;
  --g-band:#efe7da;
  --g-cream:#fbf2e3;
  --g-cream-rule:#ead7b8;
  --g-placeholder:#e6dccd;
  --g-dark:#2b1a14;
  --g-dark-text:#e4d6c3;
  --g-display:"Miller Display",Georgia,"Times New Roman",serif;
  --g-text:'Merriweather Sans',system-ui,-apple-system,sans-serif;
  --g-gutter:clamp(16px,5.5vw,80px);

  background:var(--g-bg);color:var(--g-ink);font-family:var(--g-text);font-size:16px;line-height:1.5;overflow-wrap:break-word;
}
.whg{display:block;padding-bottom:0}
:is(.whg,.editor-styles-wrapper) *,:is(.whg,.editor-styles-wrapper) *::before,:is(.whg,.editor-styles-wrapper) *::after{box-sizing:border-box}
:is(.whg,.editor-styles-wrapper) a{color:var(--g-maroon);text-decoration:none}
:is(.whg,.editor-styles-wrapper) a:hover{color:var(--g-maroon-dark);text-decoration:underline}
:is(.whg,.editor-styles-wrapper) :is(h1,h2,h3,h4){font-family:var(--g-display);font-weight:700;color:var(--g-ink);margin:0;letter-spacing:normal;text-transform:none;line-height:1.2}
:is(.whg,.editor-styles-wrapper) h1{font-size:clamp(38px,5vw,56px);line-height:1.05}
:is(.whg,.editor-styles-wrapper) h2{font-size:clamp(26px,3vw,32px);line-height:1.15}
:is(.whg,.editor-styles-wrapper) h3{font-size:20px}
:is(.whg,.editor-styles-wrapper) p{margin:0}
:is(.whg,.editor-styles-wrapper) img{max-width:100%;height:auto}
:is(.whg,.editor-styles-wrapper) figure{margin:0}
:is(.whg,.editor-styles-wrapper) :is(ul,ol){margin:0}
.whg nav{justify-content:flex-start;align-self:auto} /* the theme centres every nav */
.whg .whg-pad{max-width:1440px;margin-left:auto;margin-right:auto;padding-left:var(--g-gutter);padding-right:var(--g-gutter)}

/* Page width and rhythm: every top-level block is a section */
.whg-content > *,.editor-styles-wrapper .is-root-container > *{max-width:1440px;margin-left:auto !important;margin-right:auto !important;padding-left:var(--g-gutter);padding-right:var(--g-gutter)}
.whg-content > * + *,.editor-styles-wrapper .is-root-container > * + *{margin-top:48px !important}
.whg-content{padding-bottom:64px}
.editor-styles-wrapper .wp-block{max-width:none}
/* The page's own title (menus, browser tab, breadcrumb) is not the big heading on the page: shown small, labelled */
.editor-styles-wrapper .editor-post-title{max-width:1440px;margin:28px auto 0 !important;padding:0 var(--g-gutter);font-family:var(--g-text) !important;font-size:18px !important;font-weight:600;line-height:1.4;color:var(--g-muted)}
.editor-styles-wrapper .editor-post-title::before{content:"Page name (menus, breadcrumb, browser tab): ";font-weight:400;font-size:14px}
.editor-styles-wrapper .is-root-container{padding-bottom:64px}

/* Classic themes wrap a group's contents in an extra box; it takes no part in the layout */
:is(.whg,.editor-styles-wrapper) .wp-block-group__inner-container{display:contents}

/* Inside sections the design sets the spacing, not the block editor's default gaps and centring */
:is(.whg,.editor-styles-wrapper) .whg-sec{display:flex;flex-direction:column;gap:20px}
:is(.whg,.editor-styles-wrapper) :is(.whg-sec,.whg-tiles,.whg-tile,.whg-cards,.whg-card,.whg-card__tags,.whg-card__top,.whg-panels,.whg-panel,.whg-stack,.whg-guide,.whg-col,.whg-cta,.whg-cta__text,.whg-hero,.whg-hero__text,.whg-row__head,.whg-head) > *,:is(.whg,.editor-styles-wrapper) :is(.whg-sec,.whg-tiles,.whg-tile,.whg-cards,.whg-card,.whg-card__tags,.whg-card__top,.whg-panels,.whg-panel,.whg-stack,.whg-guide,.whg-col,.whg-cta,.whg-cta__text,.whg-hero,.whg-hero__text,.whg-row__head,.whg-head) > .wp-block-group__inner-container > *{margin:0}

/* ---------- Text styles (sidebar: Styles) ---------- */
:is(.whg,.editor-styles-wrapper) .is-style-whg-kicker{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--g-gold);line-height:1.4}
:is(.whg,.editor-styles-wrapper) .is-style-whg-lede{font-size:19px;line-height:1.5;color:var(--g-body);max-width:820px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-intro{font-size:17px;color:var(--g-body);max-width:760px;margin-top:-12px !important}
:is(.whg,.editor-styles-wrapper) .is-style-whg-value{font-family:var(--g-display);font-size:clamp(26px,2.8vw,40px);font-weight:600;line-height:1.1}
:is(.whg,.editor-styles-wrapper) .is-style-whg-meta{font-size:15px;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-note{background:var(--g-cream);border-radius:12px;padding:14px 16px;font-size:16px;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-small{font-size:15px;line-height:1.5;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-label{font-size:14px;font-weight:600;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-side{font-family:var(--g-display);font-size:18px;font-weight:600;color:var(--g-gold);white-space:nowrap}
:is(.whg,.editor-styles-wrapper) .is-style-whg-foot{font-size:15px;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-foot strong{color:var(--g-ink);margin-right:4px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-go{font-size:15px;font-weight:600}
:is(.whg,.editor-styles-wrapper) .is-style-whg-tag{display:inline-block;padding:4px 10px;background:var(--g-chip);border-radius:8px;font-size:14px}
:is(.whg,.editor-styles-wrapper) :is(.is-style-whg-badge,.is-style-whg-badge-green,.is-style-whg-badge-red){display:inline-block;padding:4px 10px;border-radius:999px;font-size:14px;font-weight:600;background:var(--g-cream)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-badge-green{background:#e2f0e4}
:is(.whg,.editor-styles-wrapper) .is-style-whg-badge-red{background:#f6e3e0}

/* Rows of links: rounded buttons, small buttons, links with arrows */
:is(.whg,.editor-styles-wrapper) :is(.is-style-whg-pills,.is-style-whg-chips,.is-style-whg-arrows){display:flex;flex-wrap:wrap;align-items:center}
:is(.whg,.editor-styles-wrapper) .is-style-whg-pills{gap:8px 10px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-pills strong{font-size:15px;color:var(--g-muted);margin-right:4px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-pills a{padding:8px 14px;border:1px solid var(--g-pill-rule);border-radius:999px;background:#fff;font-size:15px;line-height:1.2}
:is(.whg,.editor-styles-wrapper) .is-style-whg-pills a:hover{border-color:var(--g-maroon);text-decoration:none}
:is(.whg,.editor-styles-wrapper) .is-style-whg-chips{gap:8px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-chips strong{font-size:14px;color:var(--g-muted);width:100%}
:is(.whg,.editor-styles-wrapper) .is-style-whg-chips a{padding:6px 12px;background:var(--g-chip);border-radius:8px;font-size:14px;line-height:1.3}
:is(.whg,.editor-styles-wrapper) .is-style-whg-chips a:hover{background:#eadfce;text-decoration:none}
:is(.whg,.editor-styles-wrapper) .is-style-whg-arrows{gap:6px 24px;font-size:16px;font-weight:600}

/* Buttons: maroon at the top of the page, gold and outlined in the dark band */
:is(.whg,.editor-styles-wrapper) .wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap}
:is(.whg,.editor-styles-wrapper) .wp-block-button__link{display:inline-block;padding:14px 24px;border-radius:10px;font-size:17px;font-weight:600;line-height:1.2;text-align:center;background:var(--g-maroon);color:#fff;border:1px solid transparent;font-family:var(--g-text)}
:is(.whg,.editor-styles-wrapper) .wp-block-button__link:hover{background:var(--g-maroon-dark);color:#fff;text-decoration:none}

/* ---------- Page heading ---------- */
:is(.whg,.editor-styles-wrapper) .whg-hero{flex-direction:row;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:24px 48px}
:is(.whg,.editor-styles-wrapper) .whg-hero__text{display:flex;flex-direction:column;gap:14px;max-width:820px;min-width:0;flex:1 1 480px}
:is(.whg,.editor-styles-wrapper) .whg-hero .wp-block-button__link{padding:16px 28px;white-space:nowrap}

/* ---------- Number tiles ---------- */
:is(.whg,.editor-styles-wrapper) .whg-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:20px}
@media (min-width:1100px){
  :is(.whg,.editor-styles-wrapper) .whg-tiles:has(> :nth-child(4):last-child,> .wp-block-group__inner-container > :nth-child(4):last-child,> :nth-child(8):last-child,> .wp-block-group__inner-container > :nth-child(8):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  :is(.whg,.editor-styles-wrapper) .whg-tiles:has(> :nth-child(6):last-child,> .wp-block-group__inner-container > :nth-child(6):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
}
:is(.whg,.editor-styles-wrapper) .whg-tile{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:6px;min-width:0}
:is(.whg,.editor-styles-wrapper) :is(.whg-tile,.whg-tile > .wp-block-group__inner-container) > p:not([class]){font-size:16px;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) .whg-tile .is-style-whg-go{margin-top:auto !important;padding-top:6px}
:is(.whg,.editor-styles-wrapper) .whg-tiles:has(> :nth-child(8):last-child,> .wp-block-group__inner-container > :nth-child(8):last-child) .is-style-whg-value{font-size:clamp(22px,2.2vw,30px)}

/* ---------- Cards ---------- */
:is(.whg,.editor-styles-wrapper) .whg-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}
@media (min-width:1100px){
  :is(.whg,.editor-styles-wrapper) .whg-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  :is(.whg,.editor-styles-wrapper) .whg-cards:is(:has(> :nth-child(4):last-child,> .wp-block-group__inner-container > :nth-child(4):last-child),:has(> :nth-child(7):last-child,> .wp-block-group__inner-container > :nth-child(7):last-child),:has(> :nth-child(8):last-child,> .wp-block-group__inner-container > :nth-child(8):last-child),.whg-cards--trips){grid-template-columns:repeat(4,minmax(0,1fr))}
}
:is(.whg,.editor-styles-wrapper) .whg-card{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;overflow:hidden;padding:22px;display:flex;flex-direction:column;gap:8px;min-width:0;color:var(--g-ink)}
/* A photo or video first runs edge to edge */
:is(.whg,.editor-styles-wrapper) :is(.whg-card,.whg-card > .wp-block-group__inner-container) > :is(.wp-block-image,.wp-block-embed):first-child{margin:-22px -22px 6px !important;background:var(--g-placeholder)}
:is(.whg,.editor-styles-wrapper) :is(.whg-card,.whg-card > .wp-block-group__inner-container) > .wp-block-image:first-child img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
:is(.whg,.editor-styles-wrapper) .whg-card .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9}
:is(.whg,.editor-styles-wrapper) .whg-card .wp-block-embed iframe{position:absolute;inset:0;width:100%;height:100%}
:is(.whg,.editor-styles-wrapper) .whg-card__tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
:is(.whg,.editor-styles-wrapper) .whg-card__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
:is(.whg,.editor-styles-wrapper) .whg-card h3{font-size:20px;line-height:1.25}
:is(.whg,.editor-styles-wrapper) :is(.whg-card,.whg-card > .wp-block-group__inner-container) > p:not([class]),:is(.whg,.editor-styles-wrapper) :is(.whg-card,.whg-card > .wp-block-group__inner-container) > .wp-block-list{font-size:16px;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) :is(.whg-card,.whg-card > .wp-block-group__inner-container) > .wp-block-list{padding-left:20px;display:flex;flex-direction:column;gap:8px}
:is(.whg,.editor-styles-wrapper) :is(.whg-card,.whg-card > .wp-block-group__inner-container) > :is(.is-style-whg-foot,.is-style-whg-go):last-child{margin-top:auto !important;padding-top:4px}
/* Photo beside the text (book covers) */
:is(.whg,.editor-styles-wrapper) .whg-cards--side .whg-card:has(> .wp-block-image,> .wp-block-group__inner-container > .wp-block-image){display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:16px;row-gap:4px;align-content:start}
:is(.whg,.editor-styles-wrapper) .whg-cards--side :is(.whg-card:has(> .wp-block-image,> .wp-block-group__inner-container > .wp-block-image),.whg-card:has(> .wp-block-image,> .wp-block-group__inner-container > .wp-block-image) > .wp-block-group__inner-container) > *{grid-column:2}
:is(.whg,.editor-styles-wrapper) .whg-cards--side :is(.whg-card,.whg-card > .wp-block-group__inner-container) > .wp-block-image:first-child{grid-column:1;grid-row:1 / span 5;margin:0 !important;border-radius:12px;overflow:hidden;min-height:104px}
:is(.whg,.editor-styles-wrapper) .whg-cards--side :is(.whg-card,.whg-card > .wp-block-group__inner-container) > .wp-block-image:first-child img{aspect-ratio:auto;height:104px;object-fit:cover}
:is(.whg,.editor-styles-wrapper) .whg-cards--side h3{font-size:18px}
:is(.whg,.editor-styles-wrapper) .whg-cards--side :is(.whg-card,.whg-card > .wp-block-group__inner-container) > p:not([class]){font-size:15px}
/* Trip cards (drawn from the trips) */
:is(.whg,.editor-styles-wrapper) .whg-cards--trips .whg-card{padding:0;gap:0}
:is(.whg,.editor-styles-wrapper) a.whg-card:hover{border-color:var(--g-maroon);text-decoration:none;color:var(--g-ink)}
:is(.whg,.editor-styles-wrapper) .whg-card__img{display:block;background:var(--g-placeholder)}
:is(.whg,.editor-styles-wrapper) .whg-card__img img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
:is(.whg,.editor-styles-wrapper) .whg-card__body{padding:20px;display:flex;flex-direction:column;gap:6px;flex:1}
:is(.whg,.editor-styles-wrapper) .whg-card__title{font-size:19px;font-weight:600;line-height:1.3}
:is(.whg,.editor-styles-wrapper) .whg-card__meta{font-size:15px;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .whg-card__go{margin-top:auto;padding-top:4px;font-size:15px;font-weight:600;color:var(--g-maroon)}

/* ---------- Boxes side by side ---------- */
:is(.whg,.editor-styles-wrapper) .whg-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
:is(.whg,.editor-styles-wrapper) .whg-panels:has(> :only-child:not(.wp-block-group__inner-container),> .wp-block-group__inner-container > :only-child){grid-template-columns:minmax(0,1fr)}
:is(.whg,.editor-styles-wrapper) .whg-panels:is(:has(> :nth-child(3):last-child,> .wp-block-group__inner-container > :nth-child(3):last-child),:has(> .whg-panel--wide,> .wp-block-group__inner-container > .whg-panel--wide)){grid-template-columns:repeat(3,minmax(0,1fr))}
:is(.whg,.editor-styles-wrapper) :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .whg-panel--wide{grid-column:span 2}
:is(.whg,.editor-styles-wrapper) .whg-panel{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:14px;min-width:0;overflow:hidden}
:is(.whg,.editor-styles-wrapper) .whg-panel h2{font-size:28px;line-height:1.2}
:is(.whg,.editor-styles-wrapper) :is(.whg-panel,.whg-panel > .wp-block-group__inner-container) > p:not([class]){font-size:17px;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) :is(.whg-panel,.whg-panel > .wp-block-group__inner-container) > .wp-block-list:not(.is-style-whg-steps){padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:17px;line-height:1.4}
:is(.whg,.editor-styles-wrapper) :is(.whg-panel,.whg-panel > .wp-block-group__inner-container) > .wp-block-image:first-child{margin:-32px -32px 6px !important}
/* A photo on its own (a map): shown whole; click opens it full size */
:is(.whg,.editor-styles-wrapper) :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .wp-block-image{background:#fff;border:1px solid var(--g-rule);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative;min-height:200px}
:is(.whg,.editor-styles-wrapper) :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .wp-block-image img{width:100%;max-height:640px;object-fit:contain;display:block}
.whg :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .wp-block-image a::after{content:"View full size ↗";position:absolute;right:12px;bottom:12px;padding:6px 12px;border-radius:999px;background:rgba(35,31,26,.8);color:#fff;font-size:14px;font-weight:600}
.whg :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .wp-block-image a:hover::after{background:var(--g-maroon)}
/* First box large, the others stacked beside it */
:is(.whg,.editor-styles-wrapper) .whg-stack{display:flex;flex-direction:column;gap:20px}
:is(.whg,.editor-styles-wrapper) .whg-stack .whg-panel{padding:24px;gap:10px}
:is(.whg,.editor-styles-wrapper) .whg-stack .whg-panel h2{font-size:20px}
/* Tables */
:is(.whg,.editor-styles-wrapper) .wp-block-table{overflow-x:auto;margin:0}
:is(.whg,.editor-styles-wrapper) .wp-block-table table{border-collapse:collapse;width:100%;font-size:16px;table-layout:auto}
:is(.whg,.editor-styles-wrapper) .wp-block-table :is(th,td){border:0;border-bottom:1px solid var(--g-rule-soft);padding:12px;text-align:left;vertical-align:top}
:is(.whg,.editor-styles-wrapper) .wp-block-table thead{border:0}
:is(.whg,.editor-styles-wrapper) .wp-block-table th{padding:10px 12px;border-bottom-color:var(--g-rule);font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .wp-block-table tr:last-child td{border-bottom:0}
:is(.whg,.editor-styles-wrapper) .wp-block-table td:first-child{font-weight:600}
/* Label list: a two-column table shown as labels over values */
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts{overflow:visible}
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts table{display:block}
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:14px 24px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts tr{display:flex;flex-direction:column;gap:2px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts td{padding:0;border:0 !important}
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts td:first-child{font-size:14px;color:var(--g-muted);font-weight:400}
:is(.whg,.editor-styles-wrapper) .is-style-whg-facts td + td{font-size:17px;font-weight:600;color:var(--g-ink)}

/* ---------- Numbered steps ---------- */
:is(.whg,.editor-styles-wrapper) ol.is-style-whg-steps{list-style:none;padding:0;counter-reset:whg-step;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:20px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-steps li{counter-increment:whg-step;background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;padding:24px;font-size:16px;line-height:1.45;color:var(--g-body);margin:0}
:is(.whg,.editor-styles-wrapper) .is-style-whg-steps li::before{content:counter(whg-step);display:flex;width:40px;height:40px;border-radius:999px;background:var(--g-maroon);color:#fff;align-items:center;justify-content:center;font-weight:600;font-size:18px;margin-bottom:10px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-steps li strong{display:inline-block;font-size:18px;color:var(--g-ink);margin-bottom:4px}

/* ---------- Dark closing band ---------- */
:is(.whg,.editor-styles-wrapper) .whg-cta{padding:32px 40px;background:var(--g-dark);border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:20px 32px;flex-wrap:wrap}
:is(.whg,.editor-styles-wrapper) .whg-cta__text{display:flex;flex-direction:column;gap:6px;flex:1 1 360px;min-width:0}
:is(.whg,.editor-styles-wrapper) .whg-cta h2{color:var(--g-cream);font-size:clamp(24px,2.6vw,30px)}
:is(.whg,.editor-styles-wrapper) .whg-cta p{color:var(--g-dark-text);font-size:17px}
:is(.whg,.editor-styles-wrapper) .whg-cta .wp-block-button__link{background:var(--g-gold-btn);color:var(--g-dark)}
:is(.whg,.editor-styles-wrapper) .whg-cta .wp-block-button__link:hover{background:#eab464;color:var(--g-dark)}
:is(.whg,.editor-styles-wrapper) .whg-cta .is-style-outline .wp-block-button__link{background:transparent;border-color:var(--g-dark-text);color:var(--g-cream)}
:is(.whg,.editor-styles-wrapper) .whg-cta .is-style-outline .wp-block-button__link:hover{background:rgba(255,255,255,.08);color:#fff}

/* ---------- Hub: guide columns ---------- */
:is(.whg,.editor-styles-wrapper) .whg-guide{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:24px;align-items:stretch}
@media (min-width:1200px){
  :is(.whg,.editor-styles-wrapper) .whg-guide:has(> :nth-child(4):last-child,> .wp-block-group__inner-container > :nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
}
:is(.whg,.editor-styles-wrapper) .whg-col{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:4px;min-width:0}
:is(.whg,.editor-styles-wrapper) .whg-col--gold{background:var(--g-cream);border-color:var(--g-cream-rule)}
:is(.whg,.editor-styles-wrapper) .whg-col h2{font-size:26px;margin-bottom:14px !important}
:is(.whg,.editor-styles-wrapper) ul.is-style-whg-links{list-style:none;padding:0;display:flex;flex-direction:column;gap:14px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-links li{font-size:14px;color:var(--g-muted);line-height:1.4;margin:0}
:is(.whg,.editor-styles-wrapper) .is-style-whg-links li a{font-size:17px;font-weight:600;line-height:1.3}
:is(.whg,.editor-styles-wrapper) .whg-group__title{font-family:var(--g-text);font-size:14px;font-weight:600;color:var(--g-muted);margin-top:20px !important;margin-bottom:6px !important}

/* ---------- Trips row ---------- */
:is(.whg,.editor-styles-wrapper) .whg-row__head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 24px;flex-wrap:wrap}
:is(.whg,.editor-styles-wrapper) .whg-head{display:flex;flex-direction:column;gap:6px}

/* ---------- Around the content (page only): tabs, breadcrumb, "Find more", "Next" ---------- */
.whg .whg-tabs{display:block;background:var(--g-band);font-size:16px}
.whg .whg-tabs__in{display:flex;align-items:center;gap:0 28px;overflow-x:auto;scrollbar-width:none;min-height:56px}
.whg .whg-tabs__in::-webkit-scrollbar{display:none}
.whg .whg-tabs a{padding:16px 0;white-space:nowrap;border-bottom:2px solid transparent}
.whg .whg-tabs a[aria-current="page"]{font-weight:600;color:var(--g-ink);border-bottom-color:var(--g-maroon)}
.whg .whg-tabs a:hover{text-decoration:none;border-bottom-color:var(--g-pill-rule)}
.whg .whg-tabs .whg-tabs__trips{margin-left:auto;padding:8px 16px;border-radius:999px;background:var(--g-maroon);color:#fff;font-weight:600;border:0}
.whg .whg-tabs .whg-tabs__trips:hover{background:var(--g-maroon-dark);color:#fff}
.whg .whg-crumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding-top:40px;padding-bottom:14px;font-size:14px;color:var(--g-muted)}
.whg .whg-crumb a{color:var(--g-muted)}
.whg .whg-dir{padding:48px 0;background:var(--g-band)}
.whg .whg-dir__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px 24px;flex-wrap:wrap;margin-bottom:24px}
.whg .whg-dir__head h2{font-size:28px}
.whg .whg-dir__head a{font-size:16px;font-weight:600}
.whg .whg-dir__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:24px 32px}
.whg .whg-dir h3{font-family:var(--g-text);font-size:17px;margin-bottom:12px}
.whg .whg-dir ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px;font-size:16px}
.whg .whg-next{display:flex;gap:8px 16px;flex-wrap:wrap;padding-top:24px;padding-bottom:24px;font-size:15px;color:var(--g-muted);border-top:1px solid var(--g-rule)}

/* Up to 991px the theme's sticky header hangs its 30px patterned strip over
   the top of the page (dist/responsive.css): start the tab bar below it. */
@media (max-width:991px){
  .whg .whg-tabs{padding-top:22px}
  .whg .whg-tabs__in{min-height:48px}
  .whg .whg-tabs a{padding:12px 0}
  .whg .whg-tabs .whg-tabs__trips{padding:6px 14px}
  .whg .whg-tabs + .whg-crumb{padding-top:28px}
  .whg > .whg-crumb:first-child{padding-top:52px}
}
@media (max-width:820px){
  :is(.whg,.editor-styles-wrapper) .whg-panels,:is(.whg,.editor-styles-wrapper) .whg-panels:is(:has(> :nth-child(3):last-child,> .wp-block-group__inner-container > :nth-child(3):last-child),:has(> .whg-panel--wide,> .wp-block-group__inner-container > .whg-panel--wide)){grid-template-columns:minmax(0,1fr)}
  :is(.whg,.editor-styles-wrapper) :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .whg-panel--wide{grid-column:auto}
  :is(.whg,.editor-styles-wrapper) .whg-panel{padding:24px}
  :is(.whg,.editor-styles-wrapper) :is(.whg-panel,.whg-panel > .wp-block-group__inner-container) > .wp-block-image:first-child{margin:-24px -24px 6px !important}
}
@media (max-width:640px){
  .whg-content > * + *{margin-top:36px !important}
  :is(.whg,.editor-styles-wrapper) .whg-hero .wp-block-buttons,:is(.whg,.editor-styles-wrapper) .whg-hero .wp-block-button,:is(.whg,.editor-styles-wrapper) .whg-hero .wp-block-button__link{width:100%}
  :is(.whg,.editor-styles-wrapper) .whg-col{padding:22px}
  :is(.whg,.editor-styles-wrapper) .whg-cta{padding:24px}
  :is(.whg,.editor-styles-wrapper) .whg-cta .wp-block-buttons,:is(.whg,.editor-styles-wrapper) .whg-cta .wp-block-button,:is(.whg,.editor-styles-wrapper) .whg-cta .wp-block-button__link{width:100%}
  .whg .whg-tabs .whg-tabs__trips{margin-left:0}
}

/* ===================================================================
   Activity pages (template-activity-type.php): built from the "Activity
   page" fields (inc/windhorse-activity.php)
   =================================================================== */

.whg .whg-hero__intro{font-size:19px;line-height:1.5;color:var(--g-body);max-width:860px}

/* ---------- Accordion ---------- */
.whg .whg-acc{gap:16px}
.whg .whg-row__head > .whg-acc__all{margin:0}
.whg .whg-acc__all{min-height:44px;padding:10px 18px;border:1px solid var(--g-pill-rule);border-radius:999px;background:#fff;font:600 15px/1.2 var(--g-text);color:var(--g-maroon);cursor:pointer}
.whg .whg-acc__all:hover{border-color:var(--g-maroon)}
.whg .whg-acc details{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;overflow:hidden;margin:0}
.whg .whg-acc summary{list-style:none;cursor:pointer;min-height:72px;padding:20px 76px 20px 28px;position:relative;display:flex;flex-direction:column;justify-content:center;gap:4px;font-family:var(--g-display);font-size:24px;font-weight:600;line-height:1.2;color:var(--g-ink)}
.whg .whg-acc summary::-webkit-details-marker{display:none}
.whg .whg-acc summary::after{content:"+";position:absolute;right:28px;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;background:var(--g-chip);color:var(--g-maroon);display:flex;align-items:center;justify-content:center;font:400 22px/1 var(--g-text)}
.whg .whg-acc details[open] > summary::after{content:"−"}
.whg .whg-acc summary:focus-visible{outline:2px solid var(--g-maroon);outline-offset:-4px}
.whg .whg-acc summary em{display:block;font-family:var(--g-text);font-style:normal;font-size:16px;font-weight:400;color:var(--g-muted)}
.whg .whg-acc details[open]{display:flex;flex-direction:column;gap:18px;padding-bottom:28px}
.whg .whg-acc details[open] > summary{border-bottom:1px solid var(--g-rule-soft);margin-bottom:6px}
.whg .whg-acc details > :not(summary){margin:0 28px;font-size:17px;line-height:1.55;color:var(--g-body)}
.whg .whg-acc :is(h3,h4){font-family:var(--g-text);font-size:18px;font-weight:600;color:var(--g-ink)}
.whg .whg-acc .whg-tile{background:var(--g-bg);border:0;border-radius:12px;padding:18px}
.whg .whg-acc .whg-tile .is-style-whg-value{font-size:26px}
.whg .wha-tile__label{font-size:15px;color:var(--g-muted)}
.whg .wha-tile__note{font-size:15px;line-height:1.4;color:var(--g-body)}
.whg .wha-text{display:flex;flex-direction:column;gap:12px}
.whg :is(.wha-text,.whg-pair,.is-style-whg-note) :is(ul,ol){padding-left:20px;display:flex;flex-direction:column;gap:8px}
.whg :is(.wha-text,.whg-pair,.is-style-whg-note) > *{margin:0}
.whg .wha-text h3,.whg .wha-text h4{margin-top:6px}
.whg .whg-acc .is-style-whg-note{font-size:17px;padding:16px 20px;color:var(--g-ink)}
@media (max-width:640px){
  .whg .whg-acc summary{font-size:20px;padding:18px 64px 18px 20px}
  .whg .whg-acc summary::after{right:18px}
  .whg .whg-acc details > :not(summary){margin:0 20px}
}

/* Small headings with their text, two to a row (seasons, meals, crew) */
.whg .whg-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}
.whg .whg-pair{display:flex;flex-direction:column;gap:6px;min-width:0}
@media (max-width:700px){.whg .whg-pairs{grid-template-columns:minmax(0,1fr)}}

/* Times and what happens */
.whg .is-style-whg-schedule td{padding:14px 20px 14px 0;font-size:17px;line-height:1.55;color:var(--g-body)}
.whg .is-style-whg-schedule td:first-child{width:170px;color:var(--g-ink)}
@media (max-width:640px){
  .whg .is-style-whg-schedule :is(table,tbody,tr,td){display:block;width:auto !important}
  .whg .is-style-whg-schedule td:first-child{padding-bottom:0;border:0}
}

/* Coloured labels with text (trek grades) */
.whg .wha-grades{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px}
.whg .wha-grades li{margin:0;line-height:1.55}
.whg .wha-grades .wha-badge{margin-right:10px}

/* ---------- Trips table ---------- */
.wha-trips{display:flex;flex-direction:column;gap:20px}
.wha-filters{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center}
.wha-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.wha-filter > span{font-size:15px;font-weight:600;color:var(--g-muted);margin-right:4px}
.wha-filter button{min-height:40px;padding:9px 16px;border-radius:999px;border:1px solid var(--g-pill-rule);background:#fff;color:var(--g-ink);font:600 15px/1.2 var(--g-text);cursor:pointer}
.wha-filter button:hover{border-color:var(--g-maroon)}
.wha-filter button[aria-pressed="true"]{background:var(--g-maroon);border-color:var(--g-maroon);color:#fff}
.wha-table{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;overflow:hidden}
.wha-table table{width:100%;border-collapse:collapse;font-size:16px;margin:0}
.wha-table :is(th,td){padding:16px 12px;text-align:left;vertical-align:middle;border:0;border-top:1px solid var(--g-rule-soft);color:var(--g-body)}
.wha-table :is(th,td):first-child{padding-left:24px}
.wha-table :is(th,td):last-child{padding-right:24px}
.wha-table thead th{border-top:0;padding-top:14px;padding-bottom:14px;background:var(--g-chip);font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--g-muted);white-space:nowrap}
.wha-table tbody th{font-size:17px;font-weight:600;width:40%}
.wha-table tr[hidden]{display:none}
.wha-none{padding:24px;border-top:1px solid var(--g-rule-soft);font-size:17px;color:var(--g-body)}
.wha-count{font-size:16px;color:var(--g-muted)}
.wha-badge{display:inline-block;padding:4px 10px;border-radius:999px;white-space:nowrap;font-size:14px;font-weight:600;background:var(--g-cream);color:#7a4a0c}
.wha-badge--green{background:#e2f0e4;color:#1f5a2c}
.wha-badge--blue{background:#e4edf5;color:#1f4a6b}
.wha-badge--red{background:#f6e3e0;color:#7a2418}
/* Phones: each trip a small card, labels beside the values */
@media (max-width:760px){
  .wha-table thead{display:none}
  .wha-table :is(table,tbody,tr,th,td){display:block;width:auto}
  .wha-table tr{padding:16px 20px;border-top:1px solid var(--g-rule-soft)}
  .wha-table tbody tr:first-child{border-top:0}
  .wha-table tbody :is(th,td){border:0;padding:2px 0 !important}
  .wha-table tbody th{width:auto;margin-bottom:6px}
  .wha-table td:empty{display:none}
  .wha-table td::before{content:attr(data-label) ": ";color:var(--g-muted);font-size:14px}
}

/* ---------- The editor text (older pages): readable ---------- */
.whg .whg-prose{display:block;max-width:960px;font-size:18px;line-height:1.6;color:var(--g-body)}
.whg .whg-prose > * + *{margin-top:16px}
.whg .whg-prose :is(h2,h3,h4){margin-top:32px;color:var(--g-ink)}
.whg .whg-prose :is(ul,ol){padding-left:22px}
.whg .whg-prose img{border-radius:12px}
.whg .whg-prose .wp-caption{max-width:100%;margin:24px 0}
.whg .whg-prose .wp-caption-text{font-size:15px;color:var(--g-muted);margin-top:6px}

/* ===================================================================
   Live trip blocks on guide pages (inc/guide-trips.php): trip finder,
   departures, trip lists, team, search; region tiles and seasons
   =================================================================== */

:is(.whg,.editor-styles-wrapper) .whg-pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;background:var(--g-chip);color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) .whg-pill--green{background:#e5f0e3;color:#2f6b3a}
:is(.whg,.editor-styles-wrapper) .whg-pill--gold{background:#f8ecd2;color:#8a5a00}
:is(.whg,.editor-styles-wrapper) .whg-pill--red{background:#f7e1d6;color:#a3401f}
:is(.whg,.editor-styles-wrapper) .whg-pill--dark{background:#ecd9dc;color:#5b1a26}

/* Trip finder */
:is(.whg,.editor-styles-wrapper) .whg-finder{display:flex;flex-direction:column;gap:20px;scroll-margin-top:120px}
:is(.whg,.editor-styles-wrapper) .whg-finder__filters{background:var(--g-card);border:1px solid var(--g-rule);border-radius:16px;padding:20px 22px;display:flex;flex-direction:column;gap:12px}
:is(.whg,.editor-styles-wrapper) .whg-finder__row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
:is(.whg,.editor-styles-wrapper) .whg-finder__lbl{width:64px;font-size:14px;font-weight:600;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .whg-finder__row button,:is(.whg,.editor-styles-wrapper) .whg-team__tabs button{min-height:38px;padding:7px 14px;border:1px solid var(--g-pill-rule);border-radius:999px;background:#fff;color:var(--g-ink);font:600 15px/1.2 var(--g-text);cursor:pointer}
:is(.whg,.editor-styles-wrapper) .whg-finder__row button:hover,:is(.whg,.editor-styles-wrapper) .whg-team__tabs button:hover{border-color:var(--g-maroon)}
:is(.whg,.editor-styles-wrapper) .whg-finder__row button[aria-pressed="true"],:is(.whg,.editor-styles-wrapper) .whg-team__tabs button[aria-pressed="true"]{background:var(--g-maroon);border-color:var(--g-maroon);color:#fff}
:is(.whg,.editor-styles-wrapper) .whg-finder__result{display:flex;gap:8px 16px;flex-wrap:wrap;align-items:center;padding-top:6px;border-top:1px solid var(--g-rule-soft);font-size:15px;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .whg-finder__region{padding:2px 10px;border-radius:999px;background:var(--g-cream);color:var(--g-ink);font-weight:600}
:is(.whg,.editor-styles-wrapper) .whg-finder__reset{margin-left:auto;border:0;background:none;padding:6px 0;font:600 15px var(--g-text);color:var(--g-maroon);cursor:pointer}
:is(.whg,.editor-styles-wrapper) .whg-finder__none .whg-finder__reset{margin-left:6px}
:is(.whg,.editor-styles-wrapper) .whg-finder__trips{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}
:is(.whg,.editor-styles-wrapper) .whg-trip{background:var(--g-card);border:1px solid var(--g-rule);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:8px;min-width:0;color:var(--g-ink)}
:is(.whg,.editor-styles-wrapper) .whg-trip[hidden]{display:none}
:is(.whg,.editor-styles-wrapper) a.whg-trip:hover{border-color:var(--g-maroon);text-decoration:none;color:var(--g-ink)}
:is(.whg,.editor-styles-wrapper) a.whg-trip:hover .whg-trip__title{color:var(--g-maroon)}
:is(.whg,.editor-styles-wrapper) .whg-trip__meta{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .whg-trip__title{font-size:18px;font-weight:700;line-height:1.3}
:is(.whg,.editor-styles-wrapper) .whg-trip__next{font-size:14px;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) .whg-trip__pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:4px}
:is(.whg,.editor-styles-wrapper) .whg-finder__none{font-size:17px;color:var(--g-body)}
@media (max-width:640px){
  :is(.whg,.editor-styles-wrapper) .whg-finder__lbl{width:100%}
  :is(.whg,.editor-styles-wrapper) .whg-finder__reset{margin-left:0}
}

/* Small group departures */
:is(.whg,.editor-styles-wrapper) .whg-deps{overflow-x:auto;border:1px solid var(--g-rule);border-radius:16px;background:var(--g-card)}
:is(.whg,.editor-styles-wrapper) .whg-deps table{width:100%;min-width:720px;border-collapse:collapse;margin:0;font-size:16px}
:is(.whg,.editor-styles-wrapper) .whg-deps :is(th,td){text-align:left;padding:14px 18px;border:0;border-bottom:1px solid var(--g-rule-soft);vertical-align:middle;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) .whg-deps tr:last-child :is(th,td){border-bottom:0}
:is(.whg,.editor-styles-wrapper) .whg-deps thead th{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--g-muted);background:var(--g-chip)}
:is(.whg,.editor-styles-wrapper) .whg-deps tbody th{font-weight:700}
:is(.whg,.editor-styles-wrapper) .whg-deps tbody th a{color:var(--g-ink)}
:is(.whg,.editor-styles-wrapper) .whg-deps__days{white-space:nowrap}
:is(.whg,.editor-styles-wrapper) .whg-deps__dates{display:flex;gap:6px;flex-wrap:wrap}
:is(.whg,.editor-styles-wrapper) .whg-deps__dates a{display:inline-block;min-width:56px;padding:6px 10px;border:1px solid var(--g-pill-rule);border-radius:8px;font-size:14px;text-align:center;color:var(--g-ink);background:#fff}
:is(.whg,.editor-styles-wrapper) .whg-deps__dates a:hover{border-color:var(--g-maroon);color:var(--g-maroon);text-decoration:none}

/* Trip lists (experiences, multi-country) */
:is(.whg,.editor-styles-wrapper) .whg-tlist{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}
:is(.whg,.editor-styles-wrapper) .whg-tlist li{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--g-rule-soft);font-size:16px;margin:0}
:is(.whg,.editor-styles-wrapper) .whg-tlist li:last-child{border-bottom:0}
:is(.whg,.editor-styles-wrapper) .whg-tlist a{font-weight:600;color:var(--g-ink)}
:is(.whg,.editor-styles-wrapper) .whg-tlist span{flex:none;font-size:14px;color:var(--g-muted)}

/* Team */
:is(.whg,.editor-styles-wrapper) .whg-team{display:flex;flex-direction:column;gap:16px}
:is(.whg,.editor-styles-wrapper) .whg-team__tabs{display:flex;gap:8px;flex-wrap:wrap}
:is(.whg,.editor-styles-wrapper) .whg-team__list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px}
:is(.whg,.editor-styles-wrapper) .whg-team__list li{margin:0}
:is(.whg,.editor-styles-wrapper) .whg-team__list li[hidden]{display:none}
:is(.whg,.editor-styles-wrapper) .whg-team__list a{display:flex;gap:14px;align-items:center;padding:14px 16px;background:var(--g-card);border:1px solid var(--g-rule);border-radius:14px;color:var(--g-ink);height:100%}
:is(.whg,.editor-styles-wrapper) .whg-team__list a:hover{border-color:var(--g-maroon);text-decoration:none}
:is(.whg,.editor-styles-wrapper) .whg-team__photo{flex:none;width:56px;height:56px;border-radius:999px;overflow:hidden;background:var(--g-chip);display:flex;align-items:center;justify-content:center;font-family:var(--g-display);font-weight:600;color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .whg-team__photo img{width:100%;height:100%;object-fit:cover}
:is(.whg,.editor-styles-wrapper) .whg-team__text{display:flex;flex-direction:column;gap:2px;min-width:0}
:is(.whg,.editor-styles-wrapper) .whg-team__text b{font-size:16px}
:is(.whg,.editor-styles-wrapper) .whg-team__text span{font-size:14px;color:var(--g-muted)}

/* Search box */
:is(.whg,.editor-styles-wrapper) .whg-search{display:flex;flex-direction:column;gap:10px}
:is(.whg,.editor-styles-wrapper) .whg-search label{font-family:var(--g-display);font-size:20px;font-weight:600}
:is(.whg,.editor-styles-wrapper) .whg-search__box{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 16px;border:1px solid var(--g-pill-rule);border-radius:12px;background:var(--g-bg);color:var(--g-muted)}
:is(.whg,.editor-styles-wrapper) .whg-search__box:focus-within{border-color:var(--g-maroon)}
:is(.whg,.editor-styles-wrapper) .whg-search input[type=search]{flex:1;min-width:0;border:0;background:none;padding:10px 0;font:17px var(--g-text);color:var(--g-ink);outline:0}
:is(.whg,.editor-styles-wrapper) .whg-search button{min-height:44px;padding:10px 18px;border:0;border-radius:9px;background:var(--g-maroon);color:#fff;font:600 16px var(--g-text);cursor:pointer}
:is(.whg,.editor-styles-wrapper) .whg-search button:hover{background:var(--g-maroon-dark)}

/* Region tiles: cards whose "go" link points at the finder; the whole card is the link */
:is(.whg,.editor-styles-wrapper) .whg-cards--regions .whg-card{position:relative;padding-top:92px}
:is(.whg,.editor-styles-wrapper) .whg-cards--regions .whg-card::before{content:"";position:absolute;left:0;right:0;top:0;height:70px;background:var(--g-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 70' preserveAspectRatio='none'%3E%3Cpath d='M0,70 L60,44 L110,52 L170,30 L230,46 L300,38 L300,70Z' fill='%23d8cdbd'/%3E%3Cpath d='M0,70 L40,48 L70,56 L110,18 L150,44 L190,30 L240,58 L300,70Z' fill='%237a2e1f' fill-opacity='.85'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
:is(.whg,.editor-styles-wrapper) .whg-cards--regions .whg-card:nth-child(3n+2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 70' preserveAspectRatio='none'%3E%3Cpath d='M0,70 L50,50 L120,40 L180,48 L240,34 L300,44 L300,70Z' fill='%23d8cdbd'/%3E%3Cpath d='M0,70 L50,40 L90,52 L130,22 L170,36 L210,26 L260,52 L300,70Z' fill='%237a2e1f' fill-opacity='.85'/%3E%3C/svg%3E")}
:is(.whg,.editor-styles-wrapper) .whg-cards--regions .whg-card:nth-child(3n)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 70' preserveAspectRatio='none'%3E%3Cpath d='M0,70 L70,42 L130,50 L190,36 L250,48 L300,40 L300,70Z' fill='%23d8cdbd'/%3E%3Cpath d='M0,70 L60,50 L100,34 L150,46 L200,30 L250,50 L300,70Z' fill='%237a2e1f' fill-opacity='.85'/%3E%3C/svg%3E")}
.whg .whg-cards--regions .is-style-whg-go a::after{content:"";position:absolute;inset:0;border-radius:16px}
.whg .whg-cards--regions .whg-card:hover{border-color:var(--g-maroon)}
.whg .whg-cards--regions .whg-card:focus-within{outline:2px solid var(--g-maroon);outline-offset:2px}

/* Highlighted card (gold) */
:is(.whg,.editor-styles-wrapper) .whg-card.is-gold,:is(.whg,.editor-styles-wrapper) .whg-panel.is-gold{background:var(--g-cream);border-color:var(--g-cream-rule)}

/* An intro line under a heading in a head group sits below it, not pulled up */
:is(.whg,.editor-styles-wrapper) .whg-head .is-style-whg-intro{margin-top:2px !important}

/* Story text with its timeline beside it (Wind Horse in Nepal) */
:is(.whg,.editor-styles-wrapper) .whg-story{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px 48px;align-items:start}
:is(.whg,.editor-styles-wrapper) .whg-prose-col{display:flex;flex-direction:column;gap:14px;font-size:17px;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) :is(.whg-story,.whg-prose-col) > *{margin:0}
@media (max-width:820px){:is(.whg,.editor-styles-wrapper) .whg-story{grid-template-columns:minmax(0,1fr)}}
:is(.whg,.editor-styles-wrapper) ol.is-style-whg-timeline{list-style:none;padding:0 0 0 22px;margin:0;border-left:2px solid var(--g-rule);display:flex;flex-direction:column;gap:18px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-timeline li{position:relative;margin:0;font-size:16px;line-height:1.45;color:var(--g-body)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-timeline li::before{content:"";position:absolute;left:-29px;top:5px;width:12px;height:12px;border-radius:999px;background:var(--g-maroon)}
:is(.whg,.editor-styles-wrapper) .is-style-whg-timeline li strong{color:var(--g-ink)}

/* A drawing in a box (the office on the stupa circle) */
:is(.whg,.editor-styles-wrapper) :is(.whg-panels,.whg-panels > .wp-block-group__inner-container) > .wp-block-image.whg-drawing{padding:24px}
:is(.whg,.editor-styles-wrapper) .whg-drawing img{max-width:340px !important;max-height:none !important;margin:0 auto}
/* The map: wide, scrolls sideways on small screens */
:is(.whg,.editor-styles-wrapper) .wp-block-image.whg-map{background:var(--g-chip);border:1px solid var(--g-rule);border-radius:14px;overflow-x:auto}
:is(.whg,.editor-styles-wrapper) .whg-map img{display:block;width:100%;min-width:620px;height:auto}

/* Month ratings: bold = best, plain = fair, italic = avoid */
:is(.whg,.editor-styles-wrapper) .is-style-whg-months table{min-width:760px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-months :is(th,td){text-align:center;padding:9px 6px;font-size:13px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-months :is(th,td):first-child{text-align:left;padding-left:16px;font-size:15px;white-space:nowrap}
:is(.whg,.editor-styles-wrapper) .is-style-whg-months td:not(:first-child){font-weight:700;color:#8a5a00}
:is(.whg,.editor-styles-wrapper) .is-style-whg-months td strong{display:inline-block;min-width:44px;padding:3px 6px;border-radius:6px;background:#e5f0e3;color:#2f6b3a}
:is(.whg,.editor-styles-wrapper) .is-style-whg-months td em{display:inline-block;min-width:44px;padding:3px 6px;border-radius:6px;background:#f4ddd5;color:#8c3b2a;font-style:normal}

/* Altitude bars: drawn by assets/js/guide-trips.js from the 3rd column */
:is(.whg,.editor-styles-wrapper) .is-style-whg-altitude .whg-bar{display:block;height:10px;border-radius:999px;background:var(--g-maroon);opacity:.75;min-width:4px}
:is(.whg,.editor-styles-wrapper) .is-style-whg-altitude .whg-barcell{width:40%;vertical-align:middle}

/* Activity pages: trip write-ups in the editor text as cards (wha_trip_cards) */
.whg .whg-prose .wha-tripcards{margin-top:20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
@media (min-width:782px){.whg .whg-prose .wha-tripcards{grid-template-columns:repeat(3,minmax(0,1fr)) !important}.whg .whg-prose .wha-tripcards:is(:has(> :nth-child(2):last-child),:has(> :nth-child(4):last-child)){grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
.whg .whg-prose .wha-tripcards h3{margin-top:0;font-size:20px;line-height:1.25}
.whg .whg-prose .wha-tripcards h3 strong{font-weight:inherit}
.whg .whg-prose .wha-tripcards h3 a{color:var(--g-ink);text-decoration:none}
.whg .whg-prose .wha-tripcards h3 a:hover{color:var(--g-maroon);text-decoration:underline}
.whg .whg-prose .wha-tripcards p{margin:0;font-size:16px;line-height:1.55}

/* All-destination activity pages: trip cards in the destination pages' design (template-parts/activity/trip-cards.php) */
.wha .wha-tgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:8px}
.wha .wha-tcard{background:#fff;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(0,0,0,.08);font-family:"Merriweather Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
.wha .wha-tcard[hidden]{display:none}
.wha .wha-tcard__media{position:relative;display:block;height:170px;background:#4d3f3a;overflow:hidden}
.wha .wha-tcard__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.wha .wha-tcard__media:hover img{transform:scale(1.04)}
.wha .wha-tcard__days{position:absolute;top:12px;left:12px;background:#fff;color:#1f1b1a;border-radius:999px;padding:4px 12px;font-weight:700;font-size:13px;line-height:1.4}
.wha .wha-tcard__body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.wha .wha-tcard__title{margin:0;font-family:inherit;font-size:17px;line-height:1.35;font-weight:700}
.wha .wha-tcard__title a{color:#791e30;text-decoration:none}
.wha .wha-tcard__title a:hover{text-decoration:underline}
.wha .wha-tcard__tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-weight:700;font-size:12px}
.wha .wha-pill{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px 0 9px;border-radius:999px;font-size:12.5px;letter-spacing:.02em;white-space:nowrap}
.wha .wha-pill--group{background:#791e30;color:#fff}
.wha .wha-pill--private{background:#fff;color:#791e30;border:1.5px solid #791e30}
.wha .wha-tag{padding:4px 10px;border-radius:4px;background:#eef2f6;color:#1d4f7a}
.wha .wha-tcard__meta{margin:0;font-size:13px;color:#5c5250;line-height:1.5}
.wha .wha-tcard__dates{margin:0;font-size:13px;color:#1d4f7a}
.wha .wha-tcard__btn{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;border:2px solid #791e30;border-radius:6px;background:#fff;color:#791e30;text-decoration:none;font-weight:700;font-size:14px;letter-spacing:.05em;text-transform:uppercase;transition:background .15s}
.wha .wha-tcard__btn:hover{background:#f7efe3;color:#791e30}
@media (max-width:1000px){.wha .wha-tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.wha .wha-tgrid{grid-template-columns:minmax(0,1fr)}}
