/*
Theme Name: CityBit Hub
Theme URI: https://www.citybit.in/
Author: CityBit
Description: A travel-planning hub theme for India. News-style header and footer, a departure-board home page fed live by CityBit Trip Cost Engine, Long Weekend Planner and Where to Go, automatic mega menus, breadcrumbs and internal links. Works without the plugins too.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: citybit-hub
Tags: news, blog, travel, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------------------------------------------------------------- tokens */
:root {
	--ink: #13213C;
	--ink-2: #1C2E52;
	--board: #0C1730;
	--flap: #18284B;
	--amber: #F2B705;
	--teal: #0E7C86;
	--teal-d: #0A5F67;
	--mist: #EEF2F6;
	--line: #DCE3EA;
	--text: #1D2733;
	--muted: #5B6778;
	--red: #C8102E;
	--white: #FFFFFF;
	--f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gut: 20px;
	--r: 6px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-d); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cb-skip:focus { clip: auto; width: auto; height: auto; left: 12px; top: 12px; z-index: 100; background: var(--amber); color: var(--ink); padding: 8px 14px; }
.cb-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.cb-main { display: block; outline: none; }
.cb-ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

.cb-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 18px; border: 2px solid var(--teal); border-radius: var(--r); background: var(--teal); color: var(--white) !important; font: 600 1.05rem/1.1 var(--f-head); letter-spacing: .02em; text-decoration: none; cursor: pointer; }
.cb-btn:hover { background: var(--teal-d); border-color: var(--teal-d); }
.cb-btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink) !important; }
.cb-btn-amber:hover { background: #ffc81f; border-color: #ffc81f; }
.cb-btn-ghost { background: transparent; color: var(--teal) !important; }
.cb-btn-ghost:hover { background: var(--teal); color: var(--white) !important; }
.cb-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); cursor: pointer; }
.cb-icon-btn:hover { background: var(--mist); }

/* ---------------------------------------------------------------- top bar */
.cb-topbar { background: var(--ink); color: #C9D3E3; font-size: 14px; }
.cb-topbar-in { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.cb-today { white-space: nowrap; }
.cb-ticker { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--white); text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cb-ticker:hover { color: var(--amber); }
.cb-ticker-k { background: var(--amber); color: var(--ink); font: 600 .85rem/1 var(--f-head); padding: 4px 8px; border-radius: 3px; letter-spacing: .03em; }
.cb-topbar-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cb-topbar-r a { color: #C9D3E3; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.cb-topbar-r a:hover { color: var(--amber); }

/* ---------------------------------------------------------------- masthead */
.cb-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.cb-header.is-stuck { box-shadow: 0 2px 14px rgba(19, 33, 60, .12); }
.admin-bar .cb-header { top: 32px; }
.cb-header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.cb-brand { flex: none; }
.cb-brand img { max-height: 52px; width: auto; display: block; }
.cb-wordmark { font: 700 1.9rem/1 var(--f-head); color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.cb-wordmark::after { content: ""; display: inline-block; width: .32em; height: .32em; margin-left: .08em; background: var(--amber); border-radius: 50%; vertical-align: baseline; }
.cb-wordmark-inv { color: var(--white); }
.cb-header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cb-burger { display: none; }
.cb-nav-head, .cb-nav-cta { display: none; }

.cb-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.cb-menu > li { position: static; display: flex; align-items: center; }
.cb-menu > li > a { display: flex; align-items: center; white-space: nowrap; height: 72px; padding: 0 12px; font: 600 1.15rem/1 var(--f-head); color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.cb-menu > li > a:hover, .cb-menu > li.is-open > a, .cb-menu > li:hover > a { border-bottom-color: var(--amber); color: var(--ink); }
.cb-menu .current-menu-item > a { border-bottom-color: var(--teal); }
.cb-sub-toggle { width: 18px; height: 30px; margin-left: -8px; margin-right: 4px; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.cb-sub-toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.cb-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 3px solid var(--amber); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(19, 33, 60, .12); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.cb-mega-in { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gut) 28px; display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.cb-cols-2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
.cb-cols-1 { grid-template-columns: minmax(0, 360px); }
@media (min-width: 1025px) {
	.has-mega:hover > .cb-mega, .has-mega:focus-within > .cb-mega, .has-mega.is-open > .cb-mega { visibility: visible; opacity: 1; transform: none; }
}
.cb-mega-h { font: 600 1rem/1.2 var(--f-head); color: var(--muted); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.cb-links { list-style: none; margin: 0; padding: 0; }
.cb-mega .cb-links { columns: 2; column-gap: 20px; }
.cb-links li { break-inside: avoid; }
.cb-links a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; font-size: .98rem; }
.cb-links a:hover { color: var(--teal); text-decoration: underline; }
.cb-links small { color: var(--teal); font-size: .78rem; }
.cb-mega-more { display: inline-block; margin-top: 8px; font-weight: 600; font-size: .95rem; }
.cb-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; min-width: 220px; background: var(--white); border-top: 3px solid var(--amber); box-shadow: 0 12px 24px rgba(19, 33, 60, .12); display: none; }
.cb-menu > li.menu-item-has-children { position: relative; }
.cb-menu > li.menu-item-has-children:hover > .sub-menu, .cb-menu > li.menu-item-has-children:focus-within > .sub-menu { display: block; }
.cb-menu .sub-menu a { display: block; padding: 6px 16px; color: var(--text); text-decoration: none; }

.cb-search-panel { border-top: 1px solid var(--line); background: var(--mist); padding: 16px 0; }
.cb-searchform { display: flex; gap: 8px; max-width: 640px; }
.cb-searchform input { flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: var(--white); }

/* ---------------------------------------------------------------- trending */
.cb-trending { background: var(--mist); border-bottom: 1px solid var(--line); font-size: .95rem; }
.cb-trending-in { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.cb-trending-k { flex: none; font: 600 1rem/1 var(--f-head); color: var(--teal-d); }
.cb-trending ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.cb-trending ul::-webkit-scrollbar { display: none; }
.cb-trending a { color: var(--text); text-decoration: none; }
.cb-trending a:hover { color: var(--teal); }
.cb-trending small { color: var(--muted); }

/* ---------------------------------------------------------------- hero + board */
.cb-hero { background: var(--ink); color: #D6DEEB; border-bottom: 4px solid var(--amber); }
.cb-hero-in { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 60px; }
.cb-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.02; margin-bottom: .4em; }
.cb-hero-text { font-size: 1.12rem; max-width: 46ch; color: #C9D3E3; }
.cb-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; max-width: 520px; }
.cb-quick label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; color: #AFC0D9; }
.cb-quick select { min-height: 46px; padding: 8px 10px; border: 1px solid #33466F; border-radius: var(--r); background: var(--ink-2); color: var(--white); font: inherit; }
.cb-quick .cb-btn { grid-column: 1 / -1; min-height: 48px; font-size: 1.15rem; }

.cb-board { background: var(--board); border-radius: 10px; padding: 18px 18px 14px; box-shadow: inset 0 0 0 1px #24375f, 0 24px 40px rgba(0, 0, 0, .25); }
.cb-board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.cb-board-head h2 { color: var(--amber); font-size: 1.5rem; margin: 0; }
.cb-board-head a { color: #AFC0D9; font-size: .92rem; }
.cb-board-head a:hover { color: var(--amber); }
.cb-board-t { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-family: var(--f-head); }
.cb-board-t th { text-align: left; font: 500 .9rem/1 var(--f-head); color: #7F93B5; padding: 0 10px 2px; letter-spacing: .03em; }
.cb-board-t td { background: var(--flap); padding: 9px 10px; color: var(--amber); font-size: 1.18rem; font-weight: 600; vertical-align: middle; }
.cb-board-t td:first-child { border-radius: 5px 0 0 5px; }
.cb-board-t td:last-child { border-radius: 0 5px 5px 0; }
.cb-board-t a { color: var(--amber); text-decoration: none; }
.cb-board-t a:hover { color: var(--white); text-decoration: underline; }
.cb-board-t small { display: block; font: 500 .82rem/1.2 var(--f-body); color: #AFC0D9; }
.cb-b-hol a { color: var(--white); font-weight: 500; }
.cb-flap { display: inline-block; position: relative; padding: 2px 7px; background: #0F1D3A; border-radius: 3px; font-variant-numeric: tabular-nums; }
.cb-flap { background: linear-gradient(#15274e 50%, #0e1b37 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.cb-board-note { margin: 6px 0 0; font-size: .78rem; color: #7F93B5; }

/* ---------------------------------------------------------------- facts band */
.cb-facts { border-bottom: 1px solid var(--line); }
.cb-facts-in { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-top: 18px; padding-bottom: 18px; }
.cb-facts p { margin: 0; color: var(--muted); }
.cb-facts strong { font: 700 1.5rem/1 var(--f-head); color: var(--ink); margin-right: 4px; }

/* ---------------------------------------------------------------- sections */
.cb-sec { padding: 64px 0; }
.cb-sec-mist { background: var(--mist); }
.cb-sec-ink { background: var(--ink); color: #D6DEEB; }
.cb-sec-ink h2 { color: var(--white); }
.cb-sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.cb-sec-h h2 { margin: 0 0 4px; }
.cb-sec-h p { margin: 0; color: var(--muted); max-width: 62ch; }
.cb-more { font-weight: 600; white-space: nowrap; }
.cb-h2 { margin-top: 1em; }

/* Tiles */
.cb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cb-tiles-feature { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
.cb-tiles-feature .cb-tile-big { grid-column: span 2; grid-row: span 2; }
.cb-tile { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--white) !important; background: var(--ink); isolation: isolate; }
.cb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cb-tile.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 23, 48, .88), rgba(12, 23, 48, .15) 60%, rgba(12, 23, 48, 0)); }
.cb-tile:hover img { transform: scale(1.04); }
.cb-tile-word { position: absolute; left: -6px; top: -14px; right: -40px; z-index: -1; font: 700 5.4rem/.86 var(--f-head); color: transparent; -webkit-text-stroke: 1px rgba(242, 183, 5, .45); white-space: nowrap; overflow: hidden; pointer-events: none; }
.cb-tile-big .cb-tile-word { font-size: 9rem; }
.cb-tile.no-img:hover { background: var(--ink-2); }
.cb-tile-body { display: flex; flex-direction: column; gap: 1px; padding: 14px 16px; }
.cb-tile-body strong { font: 600 1.45rem/1.05 var(--f-head); }
.cb-tile-big .cb-tile-body strong { font-size: 2.3rem; }
.cb-tile-meta { font-size: .88rem; color: #D6DEEB; }
.cb-tile-price { margin-top: 4px; align-self: flex-start; background: var(--amber); color: var(--ink); font: 600 .98rem/1 var(--f-head); padding: 5px 8px; border-radius: 3px; }

.cb-monthbar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 18px; }
.cb-monthbar a { text-align: center; padding: 7px 0; border: 1px solid var(--line); border-radius: 4px; color: var(--text); text-decoration: none; font: 600 1rem/1 var(--f-head); }
.cb-monthbar a:hover { border-color: var(--teal); color: var(--teal); }
.cb-monthbar a[aria-current] { background: var(--ink); color: var(--amber); border-color: var(--ink); }

/* Timeline */
.cb-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.cb-timeline li { position: relative; padding: 18px 18px 6px 0; }
.cb-timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--amber); border: 3px solid var(--ink); }
.cb-timeline time { display: block; font: 600 1.05rem/1.2 var(--f-head); color: var(--teal-d); margin: 6px 0 4px; }
.cb-timeline h3 { margin: 0 0 6px; font-size: 1.25rem; }
.cb-timeline p { font-size: .95rem; color: var(--muted); margin: 0; }
.cb-state-jump { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cb-state-jump select { min-height: 42px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: var(--white); }

/* Tabs + costs */
.cb-tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--line); margin-bottom: 0; scrollbar-width: thin; }
.cb-tablist button { flex: none; padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: transparent; font: 600 1.1rem/1 var(--f-head); color: var(--muted); cursor: pointer; }
.cb-tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--amber); }
.cb-panel { padding-top: 6px; }
.cb-costs { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.cb-costs th { text-align: left; font: 500 .95rem/1 var(--f-head); color: var(--muted); padding: 12px 8px 8px; border-bottom: 1px solid var(--line); }
.cb-costs td { padding: 11px 8px; border-bottom: 1px solid var(--line); }
.cb-costs a { font-weight: 600; text-decoration: none; }
.cb-costs a:hover { text-decoration: underline; }
.cb-num, .cb-costs th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.cb-costs .cb-num { font: 600 1.15rem/1 var(--f-head); color: var(--ink); }

/* Types */
.cb-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cb-types a { display: flex; flex-direction: column; padding: 14px 16px; border-left: 4px solid var(--amber); background: var(--ink-2); color: var(--white); text-decoration: none; border-radius: 0 var(--r) var(--r) 0; }
.cb-types a:hover { background: #24396a; }
.cb-types span { font: 600 1.3rem/1.1 var(--f-head); }
.cb-types small { color: #AFC0D9; }

/* Atlas */
.cb-atlas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cb-atlas h3 { font-size: 1.5rem; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.cb-atlas ul { list-style: none; margin: 0; padding: 0; }
.cb-atlas a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.cb-atlas a:hover .cb-atlas-n { color: var(--teal); text-decoration: underline; }
.cb-atlas-n { font-weight: 600; }
.cb-atlas-r { color: var(--muted); font-size: .9rem; }
.cb-atlas-p { font: 600 1.05rem/1 var(--f-head); color: var(--ink); font-variant-numeric: tabular-nums; }

/* News */
.cb-news { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; }
.cb-news-archive { grid-template-columns: 1fr; }
.cb-news-list { display: flex; flex-direction: column; }
.cb-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.cb-post { display: flex; flex-direction: column; gap: 8px; }
.cb-post-img { display: block; border-radius: var(--r); overflow: hidden; background: var(--mist); aspect-ratio: 16/9; }
.cb-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-kicker { font: 600 .95rem/1 var(--f-head); color: var(--red); text-decoration: none; letter-spacing: .02em; }
.cb-kicker:hover { text-decoration: underline; }
.cb-post-title { font-size: 1.3rem; margin: 2px 0 4px; }
.cb-post-title a { color: var(--ink); text-decoration: none; }
.cb-post-title a:hover { color: var(--teal); text-decoration: underline; }
.cb-post-lead .cb-post-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cb-post-excerpt { color: var(--muted); margin: 0; }
.cb-post-date { font-size: .85rem; color: var(--muted); }
.cb-post-row { flex-direction: row; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cb-post-row:first-child { padding-top: 0; }
.cb-post-row .cb-post-img { flex: 0 0 132px; aspect-ratio: 4/3; }
.cb-post-row .cb-post-excerpt { display: none; }
.cb-post-row .cb-post-title { font-size: 1.2rem; }
.cb-post-list { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Tools */
.cb-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cb-tool { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 0 0 var(--r) var(--r); }
.cb-tool p { color: var(--muted); flex: 1; }

/* Quote */
.cb-sec-quote { background: linear-gradient(var(--mist), var(--mist)); }
.cb-quote-in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.cb-quote-in .tcc-lead { margin: 0; background: var(--white); }
.cb-quote-in .tcc-lead h2 { display: none; }

/* ---------------------------------------------------------------- inner pages */
.cb-page-head { padding-top: 22px; padding-bottom: 10px; }
.cb-page-head .cb-title { margin-top: 8px; }
.cb-page-head .cb-searchform { margin: 8px 0 12px; }
.cb-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .9rem; color: var(--muted); }
.cb-crumbs li + li::before { content: "/"; margin-right: 4px; color: #A3AFBF; }
.cb-crumbs a { color: var(--muted); text-decoration: none; }
.cb-crumbs a:hover { color: var(--teal); text-decoration: underline; }
.cb-lede { font-size: 1.15rem; color: var(--muted); max-width: 66ch; }
.cb-catbar { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0 12px; scrollbar-width: none; }
.cb-catbar a { flex: none; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .92rem; }
.cb-catbar a:hover, .cb-catbar a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--white); }

.cb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-bottom: 64px; }
.cb-article-h { margin-bottom: 18px; }
.cb-byline { color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; }
.cb-byline a { color: var(--text); font-weight: 600; text-decoration: none; }
.cb-article-img { margin: 0 0 24px; }
.cb-article-img img { width: 100%; border-radius: var(--r); display: block; }
.cb-article-img figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.cb-prose { max-width: 70ch; font-size: 1.08rem; }
.cb-prose h2 { margin-top: 1.6em; }
.cb-prose h3 { margin-top: 1.3em; }
.cb-prose img { border-radius: var(--r); }
.cb-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--amber); font-size: 1.15rem; color: var(--ink); }
.cb-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cb-prose th, .cb-prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.cb-autolink { font-weight: 600; text-decoration-color: rgba(14, 124, 134, .4); text-decoration-thickness: 2px; }
.cb-page-body { padding-bottom: 64px; }
.cb-tool-body { padding-bottom: 48px; }
.cb-tool-prose { max-width: 1000px; }
.cb-article-f { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
.cb-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; background: var(--mist); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .88rem; }
.cb-share { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.cb-share span { color: var(--muted); font-weight: 400; }
.cb-related { margin-top: 40px; }
.cb-related-wide { padding-bottom: 56px; }

.cb-plan { margin: 36px 0 0; padding: 22px; background: var(--ink); border-radius: var(--r); }
.cb-plan h2 { color: var(--amber); }
.cb-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cb-plan .cb-tile { min-height: 170px; background: var(--ink-2); }

/* Sidebar */
.cb-sidebar { display: flex; flex-direction: column; gap: 22px; }
.cb-widget { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.cb-widget-title { font-size: 1.3rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); }
.cb-widget ul, .cb-widget ol { margin: 0; padding: 0; list-style: none; }
.cb-widget li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.cb-widget li:last-child { border-bottom: 0; }
.cb-w-breaks a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.cb-w-breaks strong { font: 600 1.1rem/1.1 var(--f-head); color: var(--teal-d); }
.cb-w-breaks span { font-size: .92rem; color: var(--muted); }
.cb-w-picks ol { counter-reset: p; }
.cb-w-picks li { counter-increment: p; display: flex; gap: 8px; align-items: baseline; }
.cb-w-picks li::before { content: counter(p); font: 700 1.1rem/1 var(--f-head); color: var(--amber); width: 1.1em; }
.cb-w-picks small { margin-left: auto; color: var(--muted); }
.cb-w-cta { background: var(--ink); border-color: var(--ink); color: #D6DEEB; }
.cb-w-cta .cb-widget-title { color: var(--white); border-bottom-color: var(--amber); }

/* Destination hero */
.cb-dest-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-bottom: 4px solid var(--amber); isolation: isolate; }
.cb-dest-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cb-dest-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(12, 23, 48, .92), rgba(12, 23, 48, .55)); }
.cb-dest-hero-word { position: absolute; right: -2vw; bottom: -.18em; z-index: -1; font: 700 clamp(6rem, 18vw, 15rem)/.8 var(--f-head); color: transparent; -webkit-text-stroke: 1px rgba(242, 183, 5, .35); white-space: nowrap; pointer-events: none; }
.cb-dest-hero-in { padding-top: 22px; padding-bottom: 30px; }
.cb-dest-hero .cb-title { color: var(--white); margin: 12px 0 10px; max-width: 22ch; }
.cb-dest-hero .cb-crumbs, .cb-dest-hero .cb-crumbs a { color: #AFC0D9; }
.cb-dest-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cb-dest-facts span { padding: 4px 10px; border: 1px solid #3A4E79; border-radius: 999px; font-size: .9rem; color: #D6DEEB; }
.cb-dest-hero + .cb-wrap { padding-top: 28px; }

.cb-empty { padding: 20px 0 60px; }
.cb-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cb-chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); }
.cb-chips a:hover { border-color: var(--teal); color: var(--teal); }

.nav-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 32px; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--text); }
.nav-links .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cb-comments { margin-top: 40px; }
.cb-comment-list { padding-left: 20px; }
.cb-comments textarea, .cb-comments input[type=text], .cb-comments input[type=email], .cb-comments input[type=url] { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }
.sticky .cb-post-title::before { content: "Featured "; color: var(--red); }

/* ---------------------------------------------------------------- plugin harmony */
.tcc-page, .tcc-calc, .tcc-lead { --tcc-accent: var(--teal); --tcc-ink: var(--text); --tcc-muted: var(--muted); --tcc-line: var(--line); --tcc-soft: var(--mist); --tcc-radius: var(--r); }
.lwp, .lwp-alert { --lwp-accent: var(--teal); --lwp-ink: var(--text); --lwp-muted: var(--muted); --lwp-line: var(--line); --lwp-soft: var(--mist); --lwp-radius: var(--r); }
.tcc-page h2, .lwp h2, .wtg h2, .tcc-lead h2, .lwp-alert h2 { font-family: var(--f-head); }
.tcc-calc-head, .lwp-head { background: var(--ink) !important; font-family: var(--f-head); font-size: 1.2rem; letter-spacing: .01em; }
.tcc-btn, .lwp-btn { font-family: var(--f-head) !important; font-size: 1.05rem !important; }
.tcc-tier strong, .tcc-big strong, .lwp-stat strong, .lwp-sum { font-family: var(--f-head); }
.wtg-months a.on { background: var(--ink) !important; color: var(--amber) !important; border-color: var(--ink) !important; }

/* Footer */
.cb-footer { background: var(--ink); color: #AFC0D9; font-size: .95rem; margin-top: 0; }
.cb-footer-signup { background: var(--mist); padding: 8px 0; }
.cb-footer-signup .lwp-alert { margin: 24px 0; background: var(--white); border-top: 4px solid var(--amber); }
.cb-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.cb-fcol-brand p { margin: 14px 0; }
.cb-fh { color: var(--white); font-size: 1.15rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--amber); }
.cb-footer .cb-links a { color: #C9D3E3; font-size: .92rem; padding: 3px 0; }
.cb-footer .cb-links a:hover { color: var(--amber); }
.cb-links-2 { columns: 2; column-gap: 14px; }
.cb-fmore { display: inline-block; margin-top: 8px; color: var(--amber); font-weight: 600; }
.cb-contact { list-style: none; margin: 0 0 14px; padding: 0; }
.cb-contact li { padding: 2px 0; }
.cb-contact a { color: #C9D3E3; }
.cb-socials { display: flex; gap: 8px; }
.cb-socials a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #33466F; border-radius: 50%; color: #C9D3E3; }
.cb-socials a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.cb-legal { background: var(--board); font-size: .85rem; }
.cb-legal-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.cb-legal p { margin: 0; flex: 1 1 420px; }
.cb-legal-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.cb-legal a { color: #C9D3E3; }
.cb-totop { margin-left: auto; }
.cb-scrim { position: fixed; inset: 0; background: rgba(12, 23, 48, .55); z-index: 59; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
	.cb-menu > li > a { padding: 0 9px; font-size: 1.08rem; }
	.cb-footer-grid { grid-template-columns: repeat(3, 1fr); }
	.cb-fcol-brand { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 1024px) {
	.cb-burger { display: inline-flex; }
	.cb-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 60; background: var(--white); overflow-y: auto; padding: 0 0 24px; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
	.cb-drawer-open .cb-nav { transform: none; visibility: visible; }
	.cb-drawer-open { overflow: hidden; }
	.cb-drawer-open .cb-header { z-index: 70; }
	.cb-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
	.cb-nav-cta { display: flex; margin: 18px 16px 0; }
	.cb-menu { flex-direction: column; }
	.cb-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.cb-menu > li > a { height: auto; flex: 1; padding: 14px 16px; border-bottom: 0; font-size: 1.2rem; }
	.cb-sub-toggle { width: 52px; height: 52px; margin: 0; }
	.has-mega.is-open .cb-sub-toggle::before { transform: rotate(-135deg) translateY(-2px); }
	.cb-mega { position: static; flex-basis: 100%; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border-top: 0; border-bottom: 0; background: var(--mist); }
	.has-mega.is-open > .cb-mega { display: block; }
	.cb-mega-in, .cb-cols-2, .cb-cols-1 { grid-template-columns: 1fr; gap: 12px; padding: 12px 16px 16px; }
	.cb-mega .cb-links { columns: 2; }
	.cb-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
	.cb-hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
	.cb-tiles-feature { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
	.cb-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
	.cb-news, .cb-quote-in { grid-template-columns: minmax(0, 1fr); }
	.cb-layout { grid-template-columns: minmax(0, 1fr); }
	.admin-bar .cb-header { top: 46px; }
}
@media (max-width: 782px) {
	.admin-bar .cb-header { top: 0; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.cb-today, .cb-topbar-r { display: none; }
	.cb-header-in { min-height: 60px; gap: 10px; }
	.cb-wordmark { font-size: 1.6rem; }
	.cb-header-cta { display: none; }
	.cb-quick { grid-template-columns: 1fr; }
	.cb-board { padding: 12px 10px; margin: 0 calc(var(--gut) * -1 + 6px); }
	.cb-board-t th:nth-child(2), .cb-board-t td:nth-child(2) { display: none; }
	.cb-board-t td { font-size: 1.05rem; padding: 8px 7px; }
	.cb-tiles-feature { grid-template-columns: 1fr; grid-auto-rows: 180px; }
	.cb-tiles-feature .cb-tile-big { grid-column: auto; grid-row: span 1; }
	.cb-tile-big .cb-tile-word { font-size: 5.4rem; }
	.cb-tile-big .cb-tile-body strong { font-size: 1.6rem; }
	.cb-monthbar { grid-template-columns: repeat(6, 1fr); }
	.cb-timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--ink); padding-left: 18px; }
	.cb-timeline li { padding: 0 0 16px; }
	.cb-timeline li::before { top: 4px; left: -28px; }
	.cb-atlas { grid-template-columns: 1fr; }
	.cb-atlas a { grid-template-columns: 1fr auto; }
	.cb-atlas-r { display: none; }
	.cb-costs th:nth-child(2), .cb-costs td:nth-child(2) { display: none; }
	.cb-sec { padding: 44px 0; }
	.cb-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.cb-post-row .cb-post-img { flex-basis: 96px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.cb-topbar, .cb-header, .cb-trending, .cb-footer, .cb-sidebar { display: none; }
}

/* Core block widgets inside the sidebar */
.cb-widget h2, .cb-widget .wp-block-heading { font-size: 1.3rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); }
.cb-widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.cb-widget .wp-block-search__input { flex: 1; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.cb-widget .wp-block-search__button { margin: 0; border: 0; border-radius: var(--r); background: var(--teal); color: var(--white); font: 600 1rem/1 var(--f-head); padding: 0 14px; }
.cb-widget .wp-block-search__label { display: none; }
