/*
 * Coffee & Compass Explorer.
 * Colours come from the theme palette when the Coffee and Compass theme is active (so style
 * variations follow), with brand fallbacks for any other theme.
 */

.ccx-season, .ccx-finder, .ccx-saved, .ccx-ticket, .ccx-faq, .ccx-glance, .ccx-places, .ccx-drawer, .ccx-saved-btn, .ccx-heart, .ccx-editor-note {
	--ccx-ink: var(--wp--preset--color--contrast, #2b1d16);
	--ccx-paper: var(--wp--preset--color--surface, #fffbf5);
	--ccx-crema: var(--wp--preset--color--base, #f6efe4);
	--ccx-red: var(--wp--preset--color--primary, #b9472a);
	--ccx-jade: var(--wp--preset--color--secondary, #2e6b5e);
	--ccx-brass: var(--wp--preset--color--tertiary, #a97b34);
	--ccx-latte: var(--wp--preset--color--line, #dcc7a8);
	--ccx-muted: var(--wp--preset--color--muted, #6a5548);
	--ccx-head: var(--wp--preset--font-family--heading, Georgia, serif);
	--ccx-body: var(--wp--preset--font-family--body, system-ui, sans-serif);
	--ccx-r: 20px;
	--ccx-pill: 999px;
	--ccx-shadow: 0 2px 4px rgba(43, 29, 22, 0.06), 0 22px 48px -18px rgba(43, 29, 22, 0.28);
	--ccx-gutter: var(--wp--style--root--padding-left, 1.25rem);
	--ccx-wide: var(--wp--style--global--wide-size, 1240px);
	box-sizing: border-box;
}
.ccx-season *, .ccx-finder *, .ccx-saved *, .ccx-ticket *, .ccx-faq *, .ccx-glance *, .ccx-places *, .ccx-drawer * { box-sizing: border-box; }
.ccx-icon { display: block; flex: none; }
:where(.ccx-saved-btn, .ccx-months, .ccx-field) .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.ccx-anchor { display: block; height: 0; scroll-margin-top: 6rem; }
.ccx-season [hidden], .ccx-finder [hidden], .ccx-saved[hidden], .ccx-drawer[hidden] { display: none !important; }

.ccx-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.8rem;
	font-family: var(--ccx-body);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ccx-red);
}
.ccx-kicker::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }

.ccx-section-title,
.ccx-season__title,
.ccx-finder__title,
.ccx-saved__title,
.ccx-faq__title,
.ccx-glance__title,
.ccx-places__title {
	margin: 0;
	font-family: var(--ccx-head);
	font-size: clamp(2.05rem, 1.35rem + 2.8vw, 3.7rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.ccx-season__title em,
.ccx-finder__title em { font-weight: 300; color: var(--ccx-red); }

.ccx-link-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.1rem 1.15rem 0;
	border: 1px solid var(--ccx-latte);
	border-radius: var(--ccx-pill);
	background: var(--ccx-paper);
	color: var(--ccx-ink);
	font: 700 0.78rem/1 var(--ccx-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ccx-link-pill:hover { background: var(--ccx-ink); border-color: var(--ccx-ink); color: var(--ccx-crema); }

/* ---------- Rails ---------- */

.ccx-rail { display: flex; flex-direction: column; }
.ccx-rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(230px, 23.5%, 300px);
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 0.25rem 0.1rem;
}
.ccx-rail__track::-webkit-scrollbar { display: none; }
.ccx-rail__track > * { scroll-snap-align: start; min-width: 0; }
.ccx-rail__nav { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }
.ccx-rail__btn {
	width: 46px;
	height: 46px;
	border: 1px solid var(--ccx-latte);
	border-radius: 50%;
	background: var(--ccx-paper);
	color: var(--ccx-ink);
	font: 700 1.1rem/1 var(--ccx-body);
	cursor: pointer;
}
.ccx-rail__btn:hover:not(:disabled) { background: var(--ccx-ink); color: var(--ccx-crema); border-color: var(--ccx-ink); }
.ccx-rail__btn:disabled { opacity: 0.35; cursor: default; }
.ccx-rail.is-static .ccx-rail__nav { display: none; }
@media (hover: none) { .ccx-rail__nav { display: none; } }
@media (max-width: 700px) {
	.ccx-rail__track {
		grid-auto-columns: 70%;
		margin-inline: calc(-1 * var(--ccx-gutter));
		padding-inline: var(--ccx-gutter);
		scroll-padding-inline: var(--ccx-gutter);
	}
}

/* ---------- Where to go this month ---------- */

.ccx-season { padding: clamp(3.5rem, 7vw, 6.5rem) var(--ccx-gutter) clamp(2.5rem, 5vw, 4rem); color: var(--ccx-ink); }
.ccx-season__inner,
.ccx-finder__inner,
.ccx-saved__inner { max-width: var(--ccx-wide); margin-inline: auto; }
.ccx-season__head,
.ccx-saved__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ccx-season__head > div { max-width: 720px; }
.ccx-season__intro,
.ccx-finder__intro,
.ccx-saved__intro { margin: 0.9rem 0 0; max-width: 580px; color: var(--ccx-muted); font-size: 1.05rem; line-height: 1.6; }

.ccx-season-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--ccx-r);
	background: var(--ccx-jade);
	color: #fffaf2;
	text-decoration: none;
	box-shadow: var(--ccx-shadow);
}
.ccx-season-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ccx-season-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 19, 15, 0.1) 30%, rgba(28, 19, 15, 0.86) 100%); }
.ccx-season-card:hover .ccx-season-card__img { transform: scale(1.06); }
.ccx-season-card__status {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.38rem 0.75rem 0.28rem;
	border-radius: var(--ccx-pill);
	background: var(--ccx-jade);
	color: #fff;
	font: 700 0.66rem/1.2 var(--ccx-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ccx-season-card.is-shoulder .ccx-season-card__status { background: var(--ccx-brass); }
.ccx-season-card__temp {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: grid;
	place-items: center;
	min-width: 52px;
	height: 52px;
	padding: 0.2rem 0.4rem 0;
	border-radius: 50%;
	background: rgba(255, 250, 242, 0.94);
	color: #2b1d16;
	font: 700 1.05rem/1 var(--ccx-head);
}
.ccx-season-card__body { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.1rem 1.15rem 1.2rem; }
.ccx-season-card__name { font: 700 clamp(1.55rem, 1.1rem + 1.2vw, 2.1rem)/1.05 var(--ccx-head); color: #fff; }
.ccx-season-card__meta { font: 600 0.72rem/1.4 var(--ccx-body); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 250, 242, 0.86); }

/* ---------- Season planner (dark band) ---------- */

.ccx-finder {
	position: relative;
	padding: clamp(4rem, 8vw, 7rem) var(--ccx-gutter);
	/* Always an espresso band with paper cards, in light and dark style variations alike. */
	--ccx-ink: #2b1d16;
	--ccx-crema: #f6efe4;
	--ccx-paper: #fffbf5;
	--ccx-latte: #dcc7a8;
	--ccx-muted: #6a5548;
	background: #2b1d16;
	color: #f6efe4;
	scroll-margin-top: 4rem;
}
.ccx-finder::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 16px;
	color: rgba(220, 199, 168, 0.45);
	background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 70px) left top / 100% 16px no-repeat, repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 14px) left top / 100% 8px no-repeat;
}
.ccx-finder .ccx-kicker { color: #e9d6b6; }
.ccx-finder__head { max-width: 760px; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.ccx-finder__title { color: #f6efe4; }
.ccx-finder__title em { color: #e9d6b6; }
.ccx-finder__intro { color: rgba(246, 239, 228, 0.72); }

.ccx-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.4rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.ccx-months button {
	min-height: 46px;
	padding: 0.15rem 0 0;
	border: 1px solid rgba(220, 199, 168, 0.28);
	border-radius: var(--ccx-pill);
	background: transparent;
	color: #f6efe4;
	font: 700 0.8rem/1 var(--ccx-body);
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ccx-months button:hover { border-color: #e9d6b6; }
.ccx-months button.is-active { background: #f6efe4; border-color: #f6efe4; color: #2b1d16; }
.ccx-months button:focus-visible { outline: 2px solid #e9d6b6; outline-offset: 2px; }
@media (max-width: 760px) {
	.ccx-months {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(-1 * var(--ccx-gutter));
		padding-inline: var(--ccx-gutter);
	}
	.ccx-months::-webkit-scrollbar { display: none; }
	.ccx-months button { flex: 0 0 auto; min-width: 58px; }
}

.ccx-finder__board { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.ccx-finder__board--nochart { grid-template-columns: 1fr; }
@media (max-width: 960px) { .ccx-finder__board { grid-template-columns: 1fr; } }

/* The chart. */
.ccx-chart { position: relative; margin: 0; padding: 0.5rem; border: 1px solid var(--ccx-latte); border-radius: var(--ccx-r); background: var(--ccx-paper); overflow: hidden; }
.ccx-chart__svg { display: block; width: 100%; height: auto; font-family: var(--ccx-body); }
.ccx-chart__grid line { stroke: var(--ccx-latte); stroke-width: 1; opacity: 0.6; }
.ccx-chart__deg { fill: var(--ccx-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; opacity: 0.75; }
.ccx-chart__special { stroke: var(--ccx-brass); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.ccx-chart__special-label { fill: var(--ccx-brass); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; }
.ccx-chart__rose circle { fill: none; stroke: var(--ccx-brass); stroke-width: 1.2; opacity: 0.7; }
.ccx-chart__rose .ccx-chart__rose-dash { stroke-dasharray: 1 6; }
.ccx-chart__rose path { fill: none; stroke: var(--ccx-brass); stroke-width: 1.2; }
.ccx-chart__rose .ccx-chart__rose-n { fill: var(--ccx-red); stroke: none; }
.ccx-chart__rose text { fill: var(--ccx-red); font-size: 13px; font-weight: 700; }
.ccx-pin { cursor: pointer; outline: none; text-decoration: none !important; }
.ccx-chart a, .ccx-chart text { text-decoration: none !important; }
.ccx-pin__dot { fill: var(--ccx-red); stroke: var(--ccx-paper); stroke-width: 2.5; transition: fill 0.25s, r 0.25s; }
.ccx-pin__halo { fill: var(--ccx-red); opacity: 0.18; transform-box: fill-box; transform-origin: center; }
.ccx-pin__label { fill: var(--ccx-ink); font-family: var(--ccx-head); font-size: 19px; font-weight: 700; paint-order: stroke; stroke: var(--ccx-paper); stroke-width: 5px; stroke-linejoin: round; }
.ccx-pin--small .ccx-pin__dot { fill: var(--ccx-jade); stroke-width: 1.5; opacity: 0.85; }
.ccx-pin--small .ccx-pin__label { font-family: var(--ccx-body); font-size: 13px; font-weight: 600; }
.ccx-pin:hover .ccx-pin__dot,
.ccx-pin:focus-visible .ccx-pin__dot { fill: var(--ccx-ink); }
.ccx-pin:focus-visible .ccx-pin__label { text-decoration: underline; }
a.ccx-pin--big:hover .ccx-pin__label { fill: var(--ccx-red); }

/* Dark chart inside the planner. */
.ccx-chart--dark { background: rgba(246, 239, 228, 0.04); border-color: rgba(220, 199, 168, 0.22); }
.ccx-chart--dark .ccx-chart__grid line { stroke: rgba(220, 199, 168, 0.18); opacity: 1; }
.ccx-chart--dark .ccx-chart__deg { fill: rgba(246, 239, 228, 0.5); }
.ccx-chart--dark .ccx-chart__special { stroke: #c9a463; }
.ccx-chart--dark .ccx-chart__special-label { fill: #c9a463; }
.ccx-chart--dark .ccx-chart__rose circle,
.ccx-chart--dark .ccx-chart__rose path { stroke: #c9a463; }
.ccx-chart--dark .ccx-pin__label { fill: #fffaf2; stroke: #2b1d16; }
.ccx-chart--dark .ccx-pin__dot { stroke: #2b1d16; }
.ccx-chart--dark .ccx-pin.is-best .ccx-pin__dot { fill: #e0603e; }
.ccx-chart--dark .ccx-pin.is-best .ccx-pin__halo { fill: #e0603e; opacity: 0.28; animation: ccx-halo 2.4s ease-out infinite; }
.ccx-chart--dark .ccx-pin.is-shoulder .ccx-pin__dot { fill: #c9a463; }
.ccx-chart--dark .ccx-pin.is-shoulder .ccx-pin__halo { fill: #c9a463; opacity: 0.18; }
.ccx-chart--dark .ccx-pin.is-off .ccx-pin__dot { fill: rgba(246, 239, 228, 0.32); }
.ccx-chart--dark .ccx-pin.is-off .ccx-pin__halo { opacity: 0; }
.ccx-chart--dark .ccx-pin.is-off .ccx-pin__label { fill: rgba(246, 239, 228, 0.55); }
.ccx-chart--dark .ccx-pin--small .ccx-pin__dot { fill: #8fbfb2; opacity: 0.75; stroke-width: 0; }
.ccx-chart--dark .ccx-pin--small.is-off .ccx-pin__dot { opacity: 0.25; }
.ccx-chart--dark .ccx-pin.is-selected .ccx-pin__dot { fill: #fffaf2; }
/* Phones: the chart shrinks to a third, so its lettering and pins grow to stay legible. */
@media (max-width: 640px) {
	.ccx-pin--big .ccx-pin__label { font-size: 30px; stroke-width: 7px; }
	.ccx-pin--small .ccx-pin__label { display: none; }
	.ccx-pin--big .ccx-pin__dot { r: 12px; }
	.ccx-pin--big .ccx-pin__halo { r: 24px; }
	.ccx-chart__deg { font-size: 20px; }
	.ccx-chart__special-label { font-size: 17px; }
}
@keyframes ccx-halo { 0% { transform: scale(0.6); opacity: 0.45; } 100% { transform: scale(1.5); opacity: 0; } }

.ccx-chart__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; padding: 0.6rem 0.75rem 0.4rem; font: 600 0.72rem/1.3 var(--ccx-body); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 239, 228, 0.7); }
.ccx-legend { display: inline-flex; align-items: center; gap: 0.45rem; }
.ccx-legend::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.ccx-legend--best::before { background: #e0603e; }
.ccx-legend--shoulder::before { background: #c9a463; }
.ccx-legend--off::before { background: rgba(246, 239, 228, 0.32); }
.ccx-legend--guide::before { width: 6px; height: 6px; background: #8fbfb2; }

/* In-season list beside the chart. */
.ccx-board-list__count { margin: 0 0 0.75rem; font: 700 0.78rem/1.4 var(--ccx-body); letter-spacing: 0.14em; text-transform: uppercase; color: #e9d6b6; }
.ccx-dests { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; max-height: 560px; overflow: auto; scrollbar-width: thin; }
.ccx-dest__link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 0.75rem 0.55rem 0.55rem;
	border: 1px solid rgba(220, 199, 168, 0.18);
	border-radius: 16px;
	background: rgba(246, 239, 228, 0.05);
	color: var(--ccx-crema);
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.ccx-dest__link:hover { background: rgba(246, 239, 228, 0.12); border-color: rgba(220, 199, 168, 0.45); }
.ccx-dest.is-selected .ccx-dest__link { border-color: #e9d6b6; background: rgba(246, 239, 228, 0.14); }
.ccx-dest__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ccx-dest__text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.ccx-dest__name { font: 700 1.2rem/1.1 var(--ccx-head); }
.ccx-dest__best { font: 600 0.72rem/1.3 var(--ccx-body); letter-spacing: 0.06em; color: rgba(246, 239, 228, 0.6); }
.ccx-dest__temp { font: 700 1.1rem/1 var(--ccx-head); color: #fffaf2; }
.ccx-dest__status { padding: 0.32rem 0.6rem 0.22rem; border-radius: var(--ccx-pill); font: 700 0.62rem/1.2 var(--ccx-body); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.ccx-dest.is-best .ccx-dest__status { background: #e0603e; color: #fff; }
.ccx-dest.is-shoulder .ccx-dest__status { background: rgba(201, 164, 99, 0.25); color: #e9d6b6; }
.ccx-dest.is-off .ccx-dest__status { background: transparent; color: rgba(246, 239, 228, 0.45); border: 1px solid rgba(246, 239, 228, 0.18); }
.ccx-dest.is-off .ccx-dest__link { opacity: 0.6; }
@media (max-width: 960px) { .ccx-dests { max-height: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); } }
@media (max-width: 420px) { .ccx-dest__link { grid-template-columns: 40px minmax(0, 1fr) auto; } .ccx-dest__status { display: none; } }

/* Library. */
.ccx-library { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(220, 199, 168, 0.22); scroll-margin-top: 6rem; }
.ccx-library__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.ccx-field { flex: 0 1 220px; }
.ccx-field--search { flex: 1 1 320px; }
.ccx-field input,
.ccx-field select {
	width: 100%;
	min-height: 50px;
	padding: 0.2rem 1.2rem 0;
	border: 1px solid rgba(220, 199, 168, 0.3);
	border-radius: var(--ccx-pill);
	background: rgba(246, 239, 228, 0.07);
	color: var(--ccx-crema);
	font: 500 0.95rem/1.2 var(--ccx-body);
	appearance: none;
}
.ccx-field select { padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9d6b6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; }
.ccx-field select option { color: #2b1d16; }
.ccx-field input::placeholder { color: rgba(246, 239, 228, 0.5); }
.ccx-field input:focus,
.ccx-field select:focus { outline: 2px solid #e9d6b6; outline-offset: 1px; }
.ccx-toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 50px; padding: 0.2rem 1.1rem 0; border: 1px solid rgba(220, 199, 168, 0.3); border-radius: var(--ccx-pill); font: 600 0.88rem/1 var(--ccx-body); cursor: pointer; }
.ccx-toggle input { width: 18px; height: 18px; margin: 0; accent-color: #e0603e; }
.ccx-library__count { margin: 1rem 0 1.25rem; font: 600 0.78rem/1.3 var(--ccx-body); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 239, 228, 0.6); }
.ccx-guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
@media (max-width: 1100px) { .ccx-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ccx-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ccx-guide { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--ccx-paper); color: var(--ccx-ink); }
.ccx-guide[hidden] { display: none !important; }
.ccx-guide__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ccx-latte); container-type: inline-size; }
.ccx-guide__media > a { display: block; height: 100%; }
.ccx-guide__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ccx-guide:hover .ccx-guide__img { transform: scale(1.04); }
.ccx-guide__fallback { display: grid; place-items: center; height: 100%; color: var(--ccx-jade); }
.ccx-guide__fallback .ccx-icon { width: 56px; height: 56px; }
.ccx-guide__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1rem 1.05rem; }
.ccx-guide__country { font: 700 0.66rem/1.3 var(--ccx-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ccx-red); }
.ccx-guide__title { margin: 0; font: 700 1.12rem/1.2 var(--ccx-head); }
.ccx-guide__title a { color: var(--ccx-ink); text-decoration: none; }
.ccx-guide__title a:hover { color: var(--ccx-red); }
.ccx-guide__meta { font: 600 0.7rem/1.3 var(--ccx-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ccx-muted); }
.ccx-empty { margin: 1.5rem 0 0; color: rgba(246, 239, 228, 0.7); }
.ccx-more {
	display: block;
	margin: 1.75rem auto 0;
	min-height: 50px;
	padding: 0.2rem 1.8rem 0;
	border: 0;
	border-radius: var(--ccx-pill);
	background: var(--ccx-crema);
	color: var(--ccx-ink);
	font: 700 0.8rem/1 var(--ccx-body);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}
.ccx-more:hover { background: #e0603e; color: #fff; }
.ccx-note { margin: 2rem 0 0; font-size: 0.82rem; color: rgba(246, 239, 228, 0.5); }

/* ---------- Hearts ---------- */

.wp-block-post-featured-image { position: relative; container-type: inline-size; }
.ccx-heart {
	position: absolute !important;
	top: 0.6rem;
	right: 0.6rem;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 251, 245, 0.92);
	color: #2b1d16;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(28, 19, 15, 0.18);
	transition: transform 0.2s, background 0.2s, color 0.2s;
}
.ccx-heart:hover { transform: scale(1.08); }
.ccx-heart .ccx-icon { width: 20px; height: 20px; }
.ccx-heart.is-saved { background: var(--ccx-red); color: #fff; }
.ccx-heart.is-saved .ccx-icon path,
.ccx-btn--save.is-saved .ccx-icon path,
.ccx-saved-btn .ccx-icon path { fill: currentColor; fill-opacity: 0; transition: fill-opacity 0.2s; }
.ccx-heart.is-saved .ccx-icon path,
.ccx-btn--save.is-saved .ccx-icon path { fill-opacity: 1; }
@container (max-width: 140px) { .ccx-heart { display: none; } }

/* Header heart and count. */
.ccx-saved-btn-wrap { display: flex; order: 3; }
.ccx-saved-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background 0.2s;
}
.ccx-saved-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.ccx-saved-btn .ccx-icon { width: 22px; height: 22px; }
.ccx-saved-btn__count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 19px;
	height: 19px;
	padding: 0.1rem 0.3rem 0;
	border-radius: var(--ccx-pill);
	background: var(--ccx-red);
	color: #fff;
	font: 700 0.66rem/17px var(--ccx-body);
	text-align: center;
}
.ccx-saved-btn.is-pulsing { animation: ccx-pulse 0.5s ease; }
@keyframes ccx-pulse { 50% { transform: scale(1.25); } }

/* ---------- Drawer ---------- */

.ccx-drawer { position: fixed; inset: 0; z-index: 100000; }
.ccx-drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 19, 15, 0.45); opacity: 0; transition: opacity 0.25s; }
.ccx-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	padding: 1.5rem;
	overflow: auto;
	background: var(--ccx-crema);
	color: var(--ccx-ink);
	box-shadow: -24px 0 60px rgba(28, 19, 15, 0.25);
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ccx-drawer.is-open .ccx-drawer__backdrop { opacity: 1; }
.ccx-drawer.is-open .ccx-drawer__panel { transform: none; }
.ccx-drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--ccx-latte); }
.ccx-drawer__head h2 { margin: 0; font: 700 2rem/1.05 var(--ccx-head); }
.ccx-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ccx-latte); border-radius: 50%; background: var(--ccx-paper); color: var(--ccx-ink); cursor: pointer; }
.ccx-drawer__close:hover { background: var(--ccx-ink); color: var(--ccx-crema); }
.ccx-drawer__note { margin: auto 0 0; padding-top: 1.25rem; font-size: 0.82rem; color: var(--ccx-muted); }
html.ccx-drawer-open { overflow: hidden; }

/* Saved items (drawer and home section). */
.ccx-saved-list { display: grid; gap: 0.6rem; }
.ccx-saved .ccx-saved-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0.85rem; }
.ccx-saved-item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 0.55rem 0.55rem 0.55rem 0.55rem; border: 1px solid var(--ccx-latte); border-radius: 16px; background: var(--ccx-paper); }
.ccx-saved-item__media { display: block; width: 64px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; background: var(--ccx-latte); }
.ccx-saved-item__media img { width: 100%; height: 100%; object-fit: cover; }
.ccx-saved-item__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.ccx-saved-item__country { font: 700 0.64rem/1.3 var(--ccx-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ccx-red); }
.ccx-saved-item__title { font: 700 1.05rem/1.2 var(--ccx-head); color: var(--ccx-ink); text-decoration: none; }
.ccx-saved-item__title:hover { color: var(--ccx-red); }
.ccx-saved-item__title::after { content: ""; position: absolute; inset: 0; }
.ccx-saved-item__remove { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ccx-muted); cursor: pointer; }
.ccx-saved-item__remove:hover { background: var(--ccx-crema); color: var(--ccx-red); }
.ccx-saved-empty { margin: 0; padding: 1.25rem; border: 1px dashed var(--ccx-latte); border-radius: 16px; color: var(--ccx-muted); text-align: center; }

.ccx-saved { padding: clamp(3rem, 6vw, 5rem) var(--ccx-gutter); background: color-mix(in srgb, var(--ccx-latte) 28%, var(--ccx-crema)); color: var(--ccx-ink); }

/* ---------- Plan this trip ticket ---------- */

.ccx-ticket {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(170px, 0.42fr);
	height: 100%;
	border: 1px solid var(--ccx-latte);
	border-radius: var(--ccx-r);
	background: var(--ccx-paper);
	color: var(--ccx-ink);
	box-shadow: var(--ccx-shadow);
	font-family: var(--ccx-body);
}
.ccx-ticket__main { display: flex; flex-direction: column; padding: clamp(1.25rem, 2.5vw, 1.9rem); min-width: 0; }
.ccx-ticket__main .ccx-monthbar { margin-top: auto; padding-top: 1.1rem; }
.ccx-ticket__title { margin: 0 0 1rem; font: 700 clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem)/1.05 var(--ccx-head); }
.ccx-ticket__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.25rem; margin: 0; }
.ccx-ticket__facts > div { min-width: 0; padding-top: 0.75rem; border-top: 1px dashed var(--ccx-latte); }
.ccx-ticket__facts dt { margin: 0 0 0.25rem; font: 700 0.66rem/1.3 var(--ccx-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ccx-jade); }
.ccx-ticket__facts dd { margin: 0; font-size: 0.98rem; font-weight: 600; line-height: 1.4; }
.ccx-ticket__stub {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
	padding: 1.25rem 1.1rem;
	border-left: 2px dashed var(--ccx-latte);
	border-radius: 0 var(--ccx-r) var(--ccx-r) 0;
	background: color-mix(in srgb, var(--ccx-latte) 22%, var(--ccx-paper));
}
.ccx-ticket__stub::before,
.ccx-ticket__stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--wp--preset--color--base, #f6efe4); border: 1px solid var(--ccx-latte); }
.ccx-ticket__stub::before { top: -12px; clip-path: inset(50% 0 0 0); }
.ccx-ticket__stub::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
@media (max-width: 640px) {
	.ccx-ticket { grid-template-columns: 1fr; }
	.ccx-ticket__facts { grid-template-columns: 1fr 1fr; }
	.ccx-ticket__stub { flex-direction: row; flex-wrap: wrap; border-left: 0; border-top: 2px dashed var(--ccx-latte); border-radius: 0 0 var(--ccx-r) var(--ccx-r); }
	.ccx-ticket__stub::before, .ccx-ticket__stub::after { display: none; }
	.ccx-ticket__stub .ccx-btn { flex: 1 1 calc(50% - 0.45rem); }
}
@media (max-width: 380px) { .ccx-ticket__facts { grid-template-columns: 1fr; } }

.ccx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.1rem 0.95rem 0;
	border: 1px solid var(--ccx-latte);
	border-radius: var(--ccx-pill);
	background: var(--ccx-paper);
	color: var(--ccx-ink);
	font: 700 0.76rem/1 var(--ccx-body);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ccx-btn .ccx-icon { width: 18px; height: 18px; }
.ccx-btn:hover { background: var(--ccx-ink); border-color: var(--ccx-ink); color: var(--ccx-crema); }
.ccx-btn--save.is-saved { background: var(--ccx-red); border-color: var(--ccx-red); color: #fff; }
.ccx-btn--ink { background: var(--ccx-ink); border-color: var(--ccx-ink); color: var(--ccx-crema); }
.ccx-btn--ink:hover { background: var(--ccx-red); border-color: var(--ccx-red); }
.ccx-btn.is-done { background: var(--ccx-jade); border-color: var(--ccx-jade); color: #fff; }

/* Twelve-month strip. */
.ccx-monthbar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin-top: 1.1rem; }
.ccx-monthbar__m { display: grid; place-items: center; height: 30px; padding-top: 0.15em; border-radius: 6px; background: color-mix(in srgb, var(--ccx-latte) 45%, transparent); color: var(--ccx-muted); font: 700 0.7rem/1 var(--ccx-body); }
.ccx-monthbar__m.is-best { background: var(--ccx-jade); color: #fff; }
.ccx-monthbar__m.is-shoulder { background: color-mix(in srgb, var(--ccx-jade) 35%, var(--ccx-paper)); color: var(--ccx-ink); }
.ccx-monthbar__m.is-now { box-shadow: inset 0 0 0 2px var(--ccx-red); }

/* ---------- FAQ ---------- */

.ccx-faq { margin: clamp(2.5rem, 5vw, 4rem) 0; color: var(--ccx-ink); }
.ccx-faq--destination { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .ccx-faq--destination { grid-template-columns: 1fr; } }
.ccx-faq__head { margin-bottom: 1.25rem; }
.ccx-faq--guide .ccx-faq__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.ccx-faq__list { border-top: 1px solid var(--ccx-latte); }
.ccx-faq__item { border-bottom: 1px solid var(--ccx-latte); }
.ccx-faq__item summary {
	position: relative;
	display: block;
	padding: 1.15rem 3rem 1.05rem 0;
	font: 700 clamp(1.08rem, 1rem + 0.3vw, 1.25rem)/1.35 var(--ccx-head);
	list-style: none;
	cursor: pointer;
}
.ccx-faq__item summary::-webkit-details-marker { display: none; }
.ccx-faq__item summary:hover { color: var(--ccx-red); }
.ccx-faq__sign { position: absolute; right: 0.25rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border: 1px solid var(--ccx-latte); border-radius: 50%; }
.ccx-faq__sign::before,
.ccx-faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform 0.2s; }
.ccx-faq__sign::after { transform: rotate(90deg); }
.ccx-faq__item[open] .ccx-faq__sign { background: var(--ccx-ink); border-color: var(--ccx-ink); color: var(--ccx-crema); }
.ccx-faq__item[open] .ccx-faq__sign::after { transform: rotate(0); }
.ccx-faq__answer { padding: 0 3rem 1.25rem 0; }
.ccx-faq__answer p { margin: 0; color: var(--ccx-muted); line-height: 1.65; }

/* ---------- Destination at a glance ---------- */

.ccx-glance { color: var(--ccx-ink); scroll-margin-top: 6rem; }
.ccx-glance__head { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.ccx-glance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 0.75rem; }
@media (max-width: 1000px) { .ccx-glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) {
	.ccx-glance__grid { gap: 0.5rem; }
	.ccx-tile { padding: 0.9rem 0.85rem; }
	.ccx-tile__value { font-size: 1rem; }
	.ccx-tile__label { font-size: 0.6rem; letter-spacing: 0.12em; }
}
.ccx-tile { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; padding: 1.1rem 1.15rem 1.15rem; border: 1px solid var(--ccx-latte); border-radius: 18px; background: var(--ccx-paper); }
.ccx-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.35rem; border-radius: 50%; background: color-mix(in srgb, var(--ccx-jade) 12%, var(--ccx-paper)); color: var(--ccx-jade); }
.ccx-tile__label { font: 700 0.66rem/1.3 var(--ccx-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ccx-muted); }
.ccx-tile__value { font: 700 1.15rem/1.3 var(--ccx-head); }
.ccx-tile--season { grid-column: span 2; background: #2b1d16; border-color: #2b1d16; color: #f6efe4; }
.ccx-tile--season .ccx-tile__icon { background: rgba(246, 239, 228, 0.12); color: #e9d6b6; }
.ccx-tile--season .ccx-tile__label { color: rgba(246, 239, 228, 0.65); }
.ccx-tile--season .ccx-tile__value { font-size: 1.6rem; }
.ccx-tile--season .ccx-monthbar__m { background: rgba(246, 239, 228, 0.1); color: rgba(246, 239, 228, 0.6); }
.ccx-tile--season .ccx-monthbar__m.is-best { background: #e0603e; color: #fff; }
.ccx-tile--season .ccx-monthbar__m.is-shoulder { background: rgba(201, 164, 99, 0.35); color: #fffaf2; }
.ccx-tile--season .ccx-monthbar__m.is-now { box-shadow: inset 0 0 0 2px #fffaf2; }
.ccx-tile--phrases { background: color-mix(in srgb, var(--ccx-latte) 30%, var(--ccx-paper)); }
.ccx-phrase { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.45rem; border-top: 1px dashed var(--ccx-latte); }
.ccx-phrase span { font-size: 0.85rem; color: var(--ccx-muted); }
.ccx-phrase strong { font: 700 1.2rem/1.3 var(--ccx-head); font-style: italic; text-align: right; }
@media (max-width: 1000px) { .ccx-tile--phrases { grid-column: span 2; } }

/* ---------- Places on the chart ---------- */

.ccx-places { color: var(--ccx-ink); scroll-margin-top: 6rem; }
.ccx-places__head { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.ccx-places__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.ccx-places__body--nochart { grid-template-columns: 1fr; }
@media (max-width: 900px) { .ccx-places__body { grid-template-columns: 1fr; } }
.ccx-place-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.ccx-place-chips a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 42px;
	padding: 0.1rem 1rem 0 0.7rem;
	border: 1px solid var(--ccx-latte);
	border-radius: var(--ccx-pill);
	background: var(--ccx-paper);
	color: var(--ccx-ink);
	font: 600 0.92rem/1 var(--ccx-body);
	text-decoration: none;
}
.ccx-place-chips a .ccx-icon { width: 18px; height: 18px; color: var(--ccx-red); }
.ccx-place-chips a:hover { background: var(--ccx-ink); border-color: var(--ccx-ink); color: var(--ccx-crema); }
.ccx-place-chips a:hover .ccx-icon { color: inherit; }

/* ---------- Editor ---------- */

.ccx-editor-note { padding: 1.25rem 1.5rem; border: 1px dashed var(--ccx-latte); border-radius: 14px; background: var(--ccx-paper); color: var(--ccx-muted); font: 500 0.95rem/1.5 var(--ccx-body); }
.ccx-editor-block .ccx-saved[hidden] { display: block !important; }
.ccx-trip-panel__h { margin: 1.25rem 0 0.5rem; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ccx-trip-panel__faq { margin-bottom: 1rem; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; }
.ccx-trip-panel .components-base-control { margin-bottom: 0.75rem; }

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: reduce) {
	.ccx-chart--dark .ccx-pin.is-best .ccx-pin__halo { animation: none; }
	.ccx-drawer__panel, .ccx-season-card__img, .ccx-guide__img { transition: none; }
}
@media print {
	.ccx-ticket__stub, .ccx-heart, .ccx-saved-btn-wrap, .ccx-season, .ccx-finder, .ccx-saved, .ccx-drawer { display: none !important; }
	.ccx-ticket { grid-template-columns: 1fr; box-shadow: none; }
	.ccx-faq__item { break-inside: avoid; }
	.ccx-faq__answer { display: block !important; }
}
