/* Region and country hub pages (/destinations/indonesia/ etc.), on top of main.css and guide.css. 12 Nov 2026. */
.h-hub .ui-hero .h-intro { color: rgba(255,255,255,.85); max-width: 62ch; margin: -18px 0 32px; font-size: 17px; }
.h-hub .ui-hero .h-intro a { color: #fff; }
.h-hub .g-hero h1 { max-width: 20ch; }

/* listings: one group per region; grids size themselves so there's never an orphan card or an empty cell */
.h-group + .h-group { margin-top: clamp(40px, 6vw, 72px); }
.h-group__title { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 20px; }
.h-group .ui-section-head { margin-bottom: 0; align-items: baseline; }
.h-group .ui-section-head .h-group__title { margin: 0; }
.h-grid { display: grid; gap: 24px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.h-grid > .card { grid-column: span 2; }
.h-grid > .card:nth-child(3n+1):nth-last-child(2), .h-grid > .card:nth-child(3n+2):last-child { grid-column: span 3; }   /* last row of two: halves */
.h-grid > .card:nth-child(3n+1):last-child { grid-column: 1 / -1; }                                                      /* lone last card: full width */
.h-grid > .card:nth-child(3n+1):last-child { flex-direction: row; }
.h-grid > .card:nth-child(3n+1):last-child .card__img { flex: 0 0 50%; aspect-ratio: auto; min-height: 320px; }
@media (max-width: 960px) {
  .h-grid > .card, .h-grid > .card:nth-child(3n+1):nth-last-child(2), .h-grid > .card:nth-child(3n+2):last-child { grid-column: span 3; }
  .h-grid > .card:nth-child(3n+1):last-child { grid-column: span 3; flex-direction: column; }
  .h-grid > .card:nth-child(3n+1):last-child .card__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .h-grid > .card:nth-child(odd):last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .h-grid { gap: 20px; }
  .h-grid > .card, .h-grid > .card:nth-child(odd):last-child { grid-column: 1 / -1; }
}

/* season table extras */
.h-season .h-temp th { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--grey); }
.h-season .h-temp td { background: none; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--grey); height: 26px; }
.h-notes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; max-width: 900px; font-size: 15.5px; }
.h-notes li { padding-left: 14px; border-left: 2px solid var(--skylight); }
.h-notes span { color: var(--grey); font-size: 13.5px; }
.h-notes a { color: var(--grey); }
.h-small { margin-top: 20px; }

/* breaks table */
.h-table-wrap { overflow-x: auto; border: 1px solid var(--mist); border-radius: 8px; }
.h-breaks { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.h-breaks th, .h-breaks td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.h-breaks thead th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); background: var(--mist-soft); }
.h-breaks tbody th { font-weight: 600; white-space: nowrap; }
.h-breaks tbody tr:last-child th, .h-breaks tbody tr:last-child td { border-bottom: 0; }
.h-breaks td a { color: var(--cobalt); }
.h-breaks small { color: var(--grey); font-size: 13px; }

/* levels */
.h-levels { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h-level { background: var(--white); border-radius: 8px; padding: 24px 24px 18px; }
.h-level h3 { font-size: 21px; margin-bottom: 6px; }
.h-level p { color: var(--grey); font-size: 15px; margin: 0 0 14px; }
.h-level ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.h-level li { border-bottom: 1px solid var(--mist); font-size: 15.5px; }
.h-level li:last-child { border-bottom: 0; }
.h-level li a { display: block; padding: 9px 0; text-decoration: none; }
.h-level li a:hover { color: var(--cobalt); }
.h-level .h-none { color: var(--grey); padding: 9px 0; font-size: 14.5px; }
@media (max-width: 860px) { .h-levels { grid-template-columns: 1fr; } }

/* read up */
.h-reads { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.h-read { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 8px; background: var(--white); text-decoration: none; color: var(--navy); border: 1px solid transparent; }
.h-read:hover { border-color: var(--navy); }
.h-read .eyebrow { margin: 0; }
.h-read strong { font-size: 21px; }
.h-read span:not(.eyebrow):not(.link) { color: var(--grey); font-size: 15.5px; }
.h-read .link { margin-top: auto; padding-top: 8px; }
.h-read--own .eyebrow { color: var(--cobalt); }

/* catalogue: browse by region strip */
.h-regions { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--mist); }
.h-regions h2 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 20px; }
.h-regions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.h-regions a { display: inline-block; padding: 10px 16px; border: 1px solid var(--mist); border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--navy); }
.h-regions a:hover { border-color: var(--navy); }

/* comparison table (Mentawai, Maldives) */
.h-compare { min-width: 1080px; font-size: 14.5px; }
.h-compare tbody th { white-space: normal; width: 190px; }
.h-compare tbody th a { color: var(--navy); }
.h-compare small { display: block; color: var(--grey); font-size: 13px; font-weight: 400; margin-top: 2px; }
.h-compare td b { font-weight: 600; }

/* catalogue: visible A-Z of every listing */
.h-az { margin-top: clamp(40px, 6vw, 64px); }
.h-az__lede { max-width: 760px; color: var(--grey); margin: 0 0 28px; }
.h-az__grid { columns: 3 300px; column-gap: 40px; }
.h-az__c { break-inside: avoid; margin-bottom: 28px; }
.h-az__c h3 { font-size: 19px; margin: 0 0 8px; }
.h-az__c h3 a { text-decoration: none; color: var(--navy); }
.h-regions .h-az ul { display: block; }
.h-az li { margin: 0 0 10px; }
.h-regions .h-az li a { border: 0; padding: 0; border-radius: 0; font-weight: 600; font-size: 15.5px; }
.h-regions .h-az li a:hover { color: var(--cobalt); }
.h-az li span { display: block; font-size: 13.5px; color: var(--grey); line-height: 1.45; }
.h-regions .h-az__c h3 a { border: 0; padding: 0; border-radius: 0; font-size: 19px; display: inline; }
.h-regions .h-az__c h3 a:hover { color: var(--cobalt); }

/* which suits you */
.h-bests { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.h-best { background: var(--white); border-radius: 8px; padding: 22px 24px; }
.h-best h3 { font-size: 20px; margin-bottom: 4px; }
.h-best p { color: var(--grey); font-size: 14.5px; margin: 0 0 12px; }
.h-best ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.h-best li { padding: 8px 0; border-bottom: 1px solid var(--mist); font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.h-best li:last-child { border-bottom: 0; }
.h-best li a { font-weight: 600; text-decoration: none; }
.h-best li a:hover { color: var(--cobalt); }
.h-best li span { color: var(--grey); font-size: 13.5px; text-align: right; }

/* resort or charter */
.h-trades { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h-trade { border: 1px solid var(--mist); border-radius: 8px; padding: 24px; }
.h-trade h3 { font-size: 21px; margin-bottom: 12px; }
.h-trade__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 14px 0 6px; }
.h-trade ul { margin: 0; padding-left: 1.1em; font-size: 15.5px; }
.h-trade li { margin-bottom: 6px; }
.h-logi { margin-top: 32px; }
.h-logi h3 { font-size: 21px; margin: 0 0 10px; }
@media (max-width: 760px) { .h-trades { grid-template-columns: 1fr; } }
/* Browse by region: collapsed by default, opens on click (Kieran, 12 Nov 2026) */
.h-regions__box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.h-regions__box > summary::-webkit-details-marker { display: none; }
.h-regions__head { display: flex; flex-direction: column; gap: 6px; }
.h-regions__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.15; color: var(--navy); }
.h-regions__toggle { flex: none; width: 44px; height: 44px; border: 1.5px solid var(--navy); border-radius: 50%; position: relative; transition: background .2s; }
.h-regions__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
.h-regions__box[open] .h-regions__toggle::after { transform: translate(-50%, -30%) rotate(-135deg); }
.h-regions__box > summary:hover .h-regions__toggle { background: var(--mist); }
.h-regions__box > summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }
.h-regions__body { padding-top: 24px; }
/* NO EMPTY CELLS: four read-up cards sit 2 x 2 on wide screens */
@media (min-width: 700px) { .h-reads:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }

/* Partner from-price on hub cards (Kieran, 12 Nov 2026) */
.card__meta small{display:block;font-size:12px;line-height:1.4;font-weight:400;color:var(--grey,#56616B);margin-top:2px}
