/*
Theme Name: Cruising Austin
Theme URI: https://www.cruisingaustin.com/
Author: Cruising Austin
Description: Retro roadside look for Cruising Austin: navy, header red and teal with sunset stripes, Shrikhand headlines, Oswald labels and Source Serif body text. Guide, place, town, product and area pages are laid out with blocks from the Cruising Austin Core plugin.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Version: 0.5.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cruising-austin
*/

/* ---------- Base ---------- */

body {
	background-image: url(assets/images/texture.jpg?v=0.2.8);
	background-repeat: repeat;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Keep the footer at the bottom of short pages. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.ca-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: 24px;
}

.ca-main {
	display: block;
}

.ca-main > * {
	margin-block: 0;
}

.ca-eyebrow {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--marigold);
}

.ca-eyebrow--red {
	color: var(--wp--preset--color--signal-red);
}

.ca-eyebrow--on-teal {
	color: var(--wp--preset--color--marigold-soft);
}

.ca-pill {
	align-self: flex-start;
	background: var(--wp--preset--color--signal-red);
	color: var(--wp--preset--color--ivory);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 999px;
}

.ca-chip {
	display: inline-block;
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
	border: 1.5px solid var(--wp--preset--color--teal);
	border-radius: 999px;
	padding: 4px 12px;
	text-decoration: none;
	line-height: 1.4;
}

a.ca-chip:hover,
a.ca-chip:focus-visible {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
}

.ca-chip--light {
	color: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--white);
	padding: 6px 14px;
}

a.ca-chip--light:hover,
a.ca-chip--light:focus-visible {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

.ca-glance .ca-chip--light {
	text-transform: none;
	letter-spacing: 0.04em;
	font-size: 14px;
	border-width: 1.5px;
	padding: 6px 12px;
}

.ca-button {
	align-self: flex-start;
	display: inline-block;
	background: var(--wp--preset--color--marigold);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 12px 20px;
	border-radius: 12px;
	text-decoration: none;
}

.ca-button:hover,
.ca-button:focus-visible {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

/* Sunset stripes */
.ca-stripes {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
}

.ca-stripes span {
	display: block;
	height: 8px;
}

.ca-stripes span:nth-child(1) { background: var(--wp--preset--color--signal-red); }
.ca-stripes span:nth-child(2) { background: var(--wp--preset--color--sunset); }
.ca-stripes span:nth-child(3) { background: var(--wp--preset--color--marigold); }

.ca-stripes--footer span { height: 6px; }
.ca-stripes--footer span:nth-child(1) { background: var(--wp--preset--color--marigold); }
.ca-stripes--footer span:nth-child(3) { background: var(--wp--preset--color--signal-red); }

/* ---------- Header ---------- */

.ca-site-header {
	background: var(--wp--preset--color--header-red);
}

.ca-site-header__inner {
	padding-block: 14px;
	gap: 16px 32px;
}

.ca-logo {
	display: flex;
	align-items: center;
}

.ca-logo img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	display: block;
}

.ca-nav {
	flex: 1 1 auto;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ca-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ivory);
	text-decoration: none;
	padding-block: 10px;
}

.ca-nav .wp-block-navigation-item__content:hover,
.ca-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--marigold);
}

.ca-search .wp-block-search__button {
	width: 48px;
	height: 48px;
	min-width: 48px;
	padding: 0;
	border-radius: 24px;
	border: 2px solid var(--wp--preset--color--marigold);
	background: transparent;
	color: var(--wp--preset--color--marigold);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ca-search .wp-block-search__button svg {
	fill: currentColor;
	width: 24px;
	height: 24px;
}

.ca-search .wp-block-search__input {
	border-radius: 12px;
	border: 2px solid var(--wp--preset--color--ivory);
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--body);
	min-height: 44px;
}

.ca-search .wp-block-search__inside-wrapper {
	gap: 8px;
}

/* ---------- Photo hero ---------- */

.ca-hero {
	position: relative;
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--navy);
	background-image: var(--ca-hero-image, none);
	background-size: cover;
	background-position: center;
}

.ca-hero__scrim {
	position: absolute;
	inset: 0;
	background: rgba(19, 38, 61, 0.6);
}

.ca-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 40px 48px;
	align-items: flex-start;
	padding-block: 64px 56px;
}

.ca-hero__main {
	flex: 999 1 560px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ca-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}

.ca-breadcrumb a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.ca-breadcrumb a:hover,
.ca-breadcrumb a:focus-visible {
	text-decoration: underline;
}

.ca-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.ca-hero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 64px);
	line-height: 1.08;
	color: var(--wp--preset--color--white);
}

.ca-hero__title--xl {
	font-size: clamp(44px, 6.5vw, 68px);
	line-height: 1.05;
}

.ca-hero__intro,
.ca-hero__intro p {
	margin: 0;
	font-size: 21px;
	line-height: 1.6;
	max-width: 640px;
	color: var(--wp--preset--color--white);
}

.ca-hero__byline {
	margin: 0;
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}

.ca-hero__byline a {
	color: var(--wp--preset--color--white);
}

/* Share row (guide header) */
.ca-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.ca-share__label,
.ca-share__status {
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}

.ca-share__status {
	color: var(--wp--preset--color--marigold);
}

.ca-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ca-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 2px solid var(--wp--preset--color--white);
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--white);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ca-share__btn[hidden] {
	display: none;
}

.ca-share__btn:hover,
.ca-share__btn:focus-visible {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

.ca-share__btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--marigold);
	outline-offset: 2px;
}

/* At-a-glance and visit cards */
.ca-glance {
	flex: 1 1 300px;
	box-sizing: border-box;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--ivory);
	border-radius: 20px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
}

.ca-glance__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.ca-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ca-stat__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: 44px;
	line-height: 1;
	color: var(--wp--preset--color--sunset);
}

.ca-stat__label {
	font-family: var(--wp--preset--font-family--label);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ca-glance__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ca-visit {
	flex-basis: 320px;
	gap: 20px;
}

.ca-visit__list {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ca-visit__row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ca-visit dt {
	font-family: var(--wp--preset--font-family--label);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sand);
}

.ca-visit dd {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.ca-visit dd a {
	color: var(--wp--preset--color--ivory);
}

.ca-visit dd a:hover {
	color: var(--wp--preset--color--marigold);
}

.ca-visit__note {
	margin: 0;
	font-size: 14px;
	color: var(--wp--preset--color--sand);
}

/* Map in the Plan your visit card (Google Maps Embed). */
.ca-visit__map {
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	border: 2px solid var(--wp--preset--color--ivory);
	background: var(--wp--preset--color--cream);
}

.ca-visit__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Place map card (map + Get directions). Narrow screens: it continues the
   visit card as one card. Wide screens: it sits under the title, beside the visit card. */
.ca-place-map {
	flex: 1 1 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 28px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--ivory);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
}

.ca-place-map .ca-visit__map {
	align-self: stretch;
}

@media (max-width: 999.98px) {
	.ca-hero__inner:has(> .ca-place-map) {
		row-gap: 0;
	}

	.ca-hero__inner:has(> .ca-place-map) > .ca-hero__main {
		margin-bottom: 40px;
	}

	.ca-hero__inner:has(> .ca-place-map) > .ca-visit {
		flex-basis: 100%;
		padding-bottom: 0;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.ca-place-map {
		padding-top: 20px;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}
}

@media (max-width: 600px) {
	.ca-place-map {
		padding: 20px 22px 22px;
	}
}

@media (min-width: 1000px) {
	.ca-hero__inner:has(> .ca-place-map) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 340px;
		grid-template-areas:
			"main main"
			"map visit";
		gap: 32px 48px;
		align-items: start;
	}

	.ca-hero__inner:has(> .ca-place-map) > .ca-hero__main {
		grid-area: main;
	}

	.ca-hero__inner:has(> .ca-place-map) > .ca-visit {
		grid-area: visit;
	}

	.ca-place-map {
		grid-area: map;
		padding: 32px;
	}
}

/* ---------- Sections ---------- */

.ca-section {
	padding-block: 56px 8px;
}

.ca-section-heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 28px;
}

.ca-section-heading--split {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 24px;
}

.ca-section-heading--split > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ca-section-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1.1;
	color: var(--wp--preset--color--white);
}

.ca-more-link {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	padding-block: 10px;
}

.ca-empty {
	color: var(--wp--preset--color--ivory);
	font-style: italic;
}

/* Quick list */
.ca-quick-list__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
}

.ca-quick-list__items li {
	/* Two columns at every width. */
	flex: 1 1 calc(50% - 12px);
	min-width: 0;
	margin: 0;
	display: flex;
}

/* Cards in the same row share the taller card's height. */
.ca-quick-list__item {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 14px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	min-height: 44px;
}

.ca-quick-list__item:hover,
.ca-quick-list__item:focus-visible {
	color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--cream);
}

.ca-quick-list__rank {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 24px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--sunset);
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ca-quick-list__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ca-quick-list__name {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.ca-quick-list__area {
	font-size: 15px;
	font-style: italic;
	color: var(--wp--preset--color--teal);
}

/* Ranked entries */
.ca-rankings__list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ca-entry {
	box-sizing: border-box;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	scroll-margin-top: 24px;
}

.ca-entry__top {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: flex-start;
	position: relative;
	container: ca-entry-top / inline-size;
}

/* When the photo stacks above the text (photo 420 + gap 28 + text 460 = 908px
   no longer fit side by side), the rank badge sits on the photo's corner,
   like the Featured Top 10 card on the home page. */
@container ca-entry-top (max-width: 907px) {
	.ca-entry__photo + .ca-entry__body .ca-entry__head > .ca-rank {
		position: absolute;
		z-index: 1;
		top: 16px;
		left: 16px;
	}
}

.ca-entry__photo {
	flex: 1 1 300px;
	width: 100%;
	min-width: min(420px, 100%);
	max-width: 420px;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	border: 2px solid var(--wp--preset--color--navy);
	display: block;
	box-sizing: border-box;
}

.ca-entry__body {
	flex: 999 1 460px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ca-entry__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.ca-rank {
	flex: 0 0 auto;
	box-sizing: border-box;
	border-radius: 50%;
	background: var(--wp--preset--color--navy);
	border: 5px dotted var(--wp--preset--color--marigold);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ca-rank--lg {
	width: 88px;
	height: 88px;
}

.ca-rank--md {
	width: 72px;
	height: 72px;
	border-width: 4px;
}

.ca-rank__num {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--sunset);
	font-size: 38px;
	line-height: 1;
}

.ca-rank--md .ca-rank__num {
	font-size: 26px;
}

.ca-entry__titles {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ca-entry__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(28px, 3.4vw, 34px);
	line-height: 1.15;
	color: var(--wp--preset--color--navy);
}

.ca-entry__meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--ink);
}

.ca-entry__review p {
	margin: 0 0 0.8em;
	font-size: 19px;
	line-height: 1.65;
	color: var(--wp--preset--color--ink);
}

.ca-entry__review p:last-child {
	margin-bottom: 0;
}

.ca-entry__boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.ca-box {
	box-sizing: border-box;
	flex: 1 1 340px;
	min-width: 0;
	border-radius: 14px;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ca-box p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

.ca-box__label {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ca-box--move {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
}

.ca-box--move .ca-box__label {
	color: var(--wp--preset--color--marigold-soft);
}

.ca-box--catch {
	background: var(--wp--preset--color--cream);
	border: 2px dashed var(--wp--preset--color--signal-red);
	color: var(--wp--preset--color--navy);
}

.ca-box--catch .ca-box__label {
	color: var(--wp--preset--color--signal-red);
}

.ca-entry__link,
.ca-ranking__link {
	align-self: flex-start;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--navy);
	padding-block: 10px;
}

.ca-entry__link:hover,
.ca-ranking__link:hover {
	color: var(--wp--preset--color--teal);
}

/* Place-page ranking cards */
.ca-ranking {
	box-sizing: border-box;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ca-ranking__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ca-ranking__guide {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	color: var(--wp--preset--color--navy);
}

.ca-ranking .ca-entry__boxes {
	flex-direction: column;
	gap: 16px;
}

.ca-ranking .ca-box {
	flex: none;
	padding: 16px 20px;
}

.ca-ranking .ca-box p {
	font-size: 16px;
}

.ca-ranking__link {
	margin-top: auto;
}

/* Method panel */
.ca-method__panel {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
	border-radius: 24px;
	padding: clamp(28px, 5vw, 48px);
	display: flex;
	flex-wrap: wrap;
	gap: 32px 56px;
}

.ca-method__heading {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ca-method__text {
	flex: 999 1 520px;
	min-width: 0;
	font-size: 18px;
	line-height: 1.65;
}

.ca-method__text p {
	margin: 0 0 16px;
}

.ca-method__text p:last-child {
	margin-bottom: 0;
}

.ca-related {
	padding-bottom: 72px;
}

/* Guide extras (content after the More break) */
.ca-prose {
	box-sizing: border-box;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	padding: clamp(24px, 4vw, 48px);
}

.ca-prose > * + * {
	margin-block-start: 1em;
}

.ca-prose h2,
.ca-prose h3,
.ca-prose h4 {
	color: var(--wp--preset--color--navy);
	margin-block: 1.4em 0.4em;
}

.ca-prose h2:first-child,
.ca-prose h3:first-child {
	margin-top: 0;
}

.ca-prose a {
	color: var(--wp--preset--color--teal);
}

.ca-prose figure.wp-block-table {
	margin: 1.5em 0;
	overflow-x: auto;
}

.ca-prose table {
	border-collapse: collapse;
	width: 100%;
	font-size: 16px;
}

.ca-prose th,
.ca-prose td {
	border: 1px solid var(--wp--preset--color--sand);
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.ca-prose th {
	background: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--label);
	letter-spacing: 0.04em;
}

/* Cards and grids */
.ca-grid {
	display: grid;
	gap: 24px;
}

.ca-grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.ca-grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.ca-place-grid,
.ca-guide-grid,
.ca-nearby {
	padding-bottom: 72px;
}

.ca-card {
	display: flex;
	flex-direction: column;
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 18px;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	overflow: hidden;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ca-card:hover,
.ca-card:focus-visible {
	color: var(--wp--preset--color--navy);
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 var(--wp--preset--color--header-red);
}

.ca-card__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.ca-card__photo--empty {
	background: var(--wp--preset--color--teal);
}

.ca-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px 22px;
}

.ca-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	line-height: 1.2;
}

.ca-card--guide .ca-card__title {
	font-size: 24px;
}

.ca-card__meta {
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--teal);
}

.ca-card__note {
	font-size: 15px;
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
}

/* ---------- Generic pages (posts, pages, search, 404) ---------- */

.ca-generic {
	padding: 48px 24px 72px;
}

.ca-generic__title {
	color: var(--wp--preset--color--white);
	margin-block-end: 24px;
}

.ca-paper {
	box-sizing: border-box;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	padding: clamp(24px, 4vw, 48px);
}

.ca-paper a {
	color: var(--wp--preset--color--teal);
}

.ca-paper h1,
.ca-paper h2,
.ca-paper h3,
.ca-paper h4 {
	color: var(--wp--preset--color--navy);
}

.ca-generic .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* ---------- Footer ---------- */

.ca-site-footer {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
}

.ca-site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
	padding-block: 56px 32px;
}

.ca-footer__about {
	flex: 2 1 320px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ca-footer__about img {
	width: 140px;
	height: 140px;
	object-fit: contain;
}

.ca-footer__about p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	max-width: 520px;
}

.ca-footer__tagline {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--marigold-soft);
}

.ca-footer__about .ca-footer__tagline {
	font-size: 22px;
}

.ca-footer__nav {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--wp--preset--font-family--label);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ca-footer__nav a {
	color: var(--wp--preset--color--ivory);
	text-decoration: none;
	padding-block: 8px;
}

.ca-footer__nav a:hover {
	color: var(--wp--preset--color--marigold-soft);
}

.ca-footer__legal {
	padding-bottom: 32px;
	font-size: 14px;
	color: var(--wp--preset--color--sand);
}

/* ---------- Editor previews ---------- */

.ca-editor-placeholder {
	padding: 24px;
	border: 2px dashed var(--wp--preset--color--marigold);
	color: var(--wp--preset--color--marigold);
	font-family: var(--wp--preset--font-family--label);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
	.ca-container {
		padding-inline: 16px;
	}

	/* Logo and search share the top row; the menu gets its own row. */
	.ca-site-header__inner {
		padding-block: 10px;
		gap: 6px 16px;
	}

	.ca-logo img {
		width: 64px;
		height: 64px;
	}

	.ca-site-header__inner .ca-search {
		order: 2;
		margin-left: auto;
	}

	.ca-site-header__inner .ca-nav {
		order: 3;
		flex-basis: 100%;
		font-size: 15px;
	}

	.ca-hero__inner {
		padding-block: 40px 36px;
	}

	.ca-entry {
		padding: 20px;
	}

	.ca-rank--lg {
		width: 72px;
		height: 72px;
	}

	.ca-rank--lg .ca-rank__num {
		font-size: 30px;
	}

	.ca-glance,
	.ca-ranking {
		padding: 22px;
	}
}

/* ---------- Home page ---------- */

.ca-hero--home .ca-hero__inner {
	padding-block: 28px 24px;
	align-items: center;
}

.ca-hero--home .ca-hero__main {
	gap: 12px;
}

.ca-home-hero__title {
	font-size: clamp(40px, 4.6vw, 56px);
	line-height: 1.02;
}

.ca-hero--home .ca-hero__intro {
	font-size: 19px;
	line-height: 1.55;
}

.ca-home-hero__welcome {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	max-width: 680px;
	color: var(--wp--preset--color--ivory);
}

.ca-glance--home {
	padding: 20px;
	gap: 12px;
}

.ca-glance--home .ca-stat__num {
	font-size: 38px;
}

.ca-glance--home .ca-button {
	padding: 10px 18px;
}

/* Seasonal promo badge (links to a guide) in place of the "By the numbers" card. */
.ca-home-promo {
	flex: 0 1 300px;
	display: block;
	margin-inline: auto;
	transition: transform 0.15s ease;
}

.ca-home-promo:hover,
.ca-home-promo:focus-visible {
	transform: translateY(-4px) rotate(-1.5deg);
}

.ca-home-promo__img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

@media (max-width: 600px) {
	.ca-home-promo {
		flex-basis: 240px;
	}
}

.ca-glance__stats--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

/* Pick a lane */
.ca-lanes {
	padding-block: 32px 8px;
}

.ca-lanes__bar {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ca-lanes__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.ca-lanes__title {
	margin: 0 10px 0 4px;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.1;
	color: var(--wp--preset--color--signal-red);
}

.ca-lane {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 5px 14px 5px 5px;
	border-radius: 999px;
	border: 2px solid var(--wp--preset--color--navy);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.ca-lane:hover {
	background: var(--wp--preset--color--cream);
}

.ca-lane[aria-expanded="true"] {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--ivory);
}

.ca-lane:focus-visible,
.ca-lanes__guide:focus-visible {
	outline: 3px solid var(--wp--preset--color--sunset);
	outline-offset: 2px;
}

.ca-lane__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
	border-radius: 18px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--marigold);
	border: 2px solid var(--wp--preset--color--marigold);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ca-lane__count {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	opacity: 0.8;
}

.ca-lanes__panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding-top: 14px;
	border-top: 2px solid var(--wp--preset--color--sand);
}

.ca-lanes__panel[hidden] {
	display: none;
}

.ca-lanes__label {
	margin-right: 4px;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
}

.ca-lanes__guide {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1.5px solid var(--wp--preset--color--teal);
	color: var(--wp--preset--color--teal);
	font-size: 16px;
	text-decoration: none;
}

.ca-lanes__guide:hover {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
}

/* Featured Top 10 */
.ca-section-title a {
	color: inherit;
	text-decoration: none;
}

.ca-section-title a:hover,
.ca-section-title a:focus-visible {
	text-decoration: underline;
}

.ca-section-intro {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	max-width: 720px;
	color: var(--wp--preset--color--ivory);
}

.ca-feature {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 24px;
	box-shadow: 8px 8px 0 var(--wp--preset--color--header-red);
	padding: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	container: ca-feature / inline-size;
}

/* Left column: the #1 photo, with the editor's intro quote under it on wide screens. */
.ca-feature__side {
	flex: 1 1 420px;
	min-width: 0;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ca-feature__side > .ca-feature__media {
	flex: none;
	align-self: stretch;
}

.ca-feature__media {
	flex: 1 1 420px;
	min-width: 0;
	position: relative;
	align-self: flex-start;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	color: inherit;
	text-decoration: none;
	transition: transform 0.12s ease;
}

/* The #1 photo links to the guide: lift it like the guide cards on hover. */
a.ca-feature__media:hover {
	transform: translate(-2px, -2px);
}

a.ca-feature__media:hover .ca-feature__photo {
	box-shadow: 4px 4px 0 var(--wp--preset--color--header-red);
}

.ca-feature__photo {
	transition: box-shadow 0.12s ease;
}

/* Photo and #1 badge share one grid cell, so the badge sits on the photo
   without absolute positioning (which Safari misplaces at the 80% phone scale). */
.ca-feature__media > * {
	grid-area: 1 / 1;
}

.ca-feature__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-sizing: border-box;
	border-radius: 16px;
	border: 2px solid var(--wp--preset--color--navy);
	display: block;
}

.ca-feature__media .ca-rank {
	position: relative;
	z-index: 1;
	align-self: start;
	justify-self: start;
	margin: 16px;
}

.ca-feature__body {
	flex: 999 1 440px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ca-feature__titles {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.ca-feature__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(28px, 3.4vw, 36px);
	line-height: 1.1;
}

.ca-feature__name a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.ca-feature__name a:hover,
.ca-feature__name a:focus-visible {
	text-decoration: underline;
}

.ca-feature .ca-entry__boxes {
	flex-direction: column;
	gap: 14px;
}

.ca-feature .ca-box {
	flex: 0 0 auto;
	padding: 18px 22px;
}

.ca-feature__runners {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ca-feature__runner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 12px;
	border-top: 2px solid var(--wp--preset--color--sand);
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.ca-feature__runner:hover .ca-feature__runner-name,
.ca-feature__runner:focus-visible .ca-feature__runner-name {
	text-decoration: underline;
}

.ca-feature__thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 64px;
	object-fit: cover;
	box-sizing: border-box;
	border-radius: 10px;
	border: 2px solid var(--wp--preset--color--navy);
}

.ca-rank--sm {
	width: 44px;
	height: 44px;
	border-width: 3px;
}

.ca-rank--sm .ca-rank__num {
	font-size: 17px;
}

.ca-feature__runner-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ca-feature__runner-name {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 20px;
}

.ca-feature__runner-meta {
	font-size: 15px;
	font-style: italic;
	color: var(--wp--preset--color--teal);
}

.ca-button--navy {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--ivory);
}

.ca-button--navy:hover,
.ca-button--navy:focus-visible {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
}

/* Explore by area */
.ca-area-tile {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 18px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	overflow: hidden;
}

.ca-area-tile__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 22px 24px;
}

.ca-area-tile__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ca-area-tile__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.1;
}

.ca-area-tile__name a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.ca-area-tile__name a:hover,
.ca-area-tile__name a:focus-visible {
	text-decoration: underline;
}

.ca-area-tile__count {
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--signal-red);
}

.ca-area-tile__hoods {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ca-area-tile__hoods .ca-chip {
	text-transform: none;
	letter-spacing: 0.04em;
	font-size: 14px;
	padding: 6px 12px;
}

/* Explore by area page */
.ca-areas-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ca-areas-jump .ca-chip {
	text-transform: none;
	letter-spacing: 0.04em;
	font-size: 14px;
	padding: 6px 12px;
}

.ca-areas-directory {
	padding-bottom: 72px;
}

.ca-area-tile--full {
	scroll-margin-top: 24px;
}

.ca-area-tile--full .ca-area-tile__body {
	flex: 1 1 auto;
	gap: 14px;
}

.ca-area-tile__desc {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

.ca-area-tile__guides {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 14px;
	border-top: 2px dashed var(--wp--preset--color--sand);
}

.ca-area-tile__label {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
}

.ca-area-tile__guides ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ca-area-tile__guides li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ca-area-tile__guides a {
	color: var(--wp--preset--color--navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ca-area-tile__guides a:hover,
.ca-area-tile__guides a:focus-visible {
	color: var(--wp--preset--color--signal-red);
}

.ca-area-tile__picks {
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--label);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--signal-red);
}

.ca-area-tile__cta {
	margin-top: auto;
}

.ca-area-more {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--ivory);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 18px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ca-area-more__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.1;
}

.ca-area-more__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ca-area-more__list li {
	border-bottom: 1px solid rgba(251, 246, 234, 0.3);
}

.ca-area-more__list a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0;
	color: var(--wp--preset--color--ivory);
	text-decoration: none;
	font-size: 18px;
}

.ca-area-more__list a:hover > span:first-child,
.ca-area-more__list a:focus-visible > span:first-child {
	text-decoration: underline;
}

.ca-area-more__count {
	font-family: var(--wp--preset--font-family--label);
	font-size: 15px;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--marigold-soft);
}

/* Independent by design */
.ca-promise {
	padding-bottom: 72px;
}

.ca-promise .ca-method__heading {
	flex: 1 1 340px;
}

.ca-promise__side {
	flex: 999 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ca-promise .ca-method__heading {
	gap: 16px;
}

.ca-promise__lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
}

.ca-promise .ca-box--catch {
	flex: 0 0 auto;
}

.ca-promise__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 20px;
}

.ca-promise__list li {
	flex: 1 1 220px;
	min-width: 0;
	border-top: 3px solid var(--wp--preset--color--marigold);
	padding-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ca-promise__name {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--marigold-soft);
}

.ca-promise__text {
	font-size: 17px;
	line-height: 1.55;
}

@media (max-width: 600px) {
	/* Phones skip the welcome banner unless the visitor taps the logo (/#welcome). */
	.ca-hero--home {
		scroll-margin-top: 800px;
	}

	.ca-hero--home:not(:target) {
		display: none;
	}

	.ca-hero--home .ca-hero__inner {
		padding-block: 24px 20px;
	}

	/* Totals sit in one compact row. */
	.ca-glance--home {
		padding: 18px;
	}

	.ca-glance--home .ca-glance__stats--grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 10px;
	}

	.ca-glance--home .ca-stat__num {
		font-size: 28px;
	}

	.ca-glance--home .ca-stat__label {
		font-size: 12px;
		letter-spacing: 0.04em;
	}

	.ca-glance--home .ca-button {
		display: none;
	}

	/* Lane buttons scroll sideways instead of wrapping. */
	.ca-lanes__row {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: -18px;
		padding: 2px 18px;
	}

	.ca-lanes__row::-webkit-scrollbar {
		display: none;
	}

	.ca-lanes__title,
	.ca-lane {
		flex: 0 0 auto;
	}

	.ca-lanes__bar,
	.ca-feature,
	.ca-area-more {
		padding: 18px;
	}

	.ca-feature__thumb {
		display: none;
	}

	/* Guide, area and day-trip cards become swipeable rows. */
	.ca-home-guides .ca-grid,
	.ca-home-areas .ca-grid,
	.ca-home-trips .ca-grid {
		position: relative;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 82%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 16px;
		margin-inline: -16px;
		padding: 4px 16px 14px;
	}

	.ca-home-guides .ca-grid > *,
	.ca-home-areas .ca-grid > *,
	.ca-home-trips .ca-grid > * {
		scroll-snap-align: start;
	}
}

/* ---------- Editor intro quote (guide pages) ---------- */

.ca-guide-quote {
	padding-block: 48px 0;
}

.ca-quote {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 18px 28px;
	max-width: 880px;
	margin: 0 auto;
	padding: 28px 34px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 18px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
}

.ca-quote__faces {
	flex: 0 0 auto;
	display: flex;
}

.ca-quote__face {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid var(--wp--preset--color--marigold);
	box-shadow: 0 0 0 2px var(--wp--preset--color--navy);
	background: var(--wp--preset--color--cream);
}

.ca-quote__face + .ca-quote__face {
	margin-left: -22px;
}

.ca-quote__body {
	flex: 1 1 auto;
	min-width: 0;
}

.ca-quote__text {
	margin: 0;
	padding: 0;
	border: 0;
}

.ca-quote__text p {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-style: italic;
	font-size: 21px;
	line-height: 1.5;
}

.ca-quote__text p::before {
	content: "\201C";
}

.ca-quote__text p::after {
	content: "\201D";
}

.ca-quote__by {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin-top: 14px;
	font-family: var(--wp--preset--font-family--label);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ca-quote__name {
	font-weight: 600;
	font-size: 17px;
	color: var(--wp--preset--color--signal-red);
}

.ca-quote__name::before {
	content: "\2014\00a0";
}

.ca-quote__role {
	font-size: 13px;
	color: var(--wp--preset--color--teal);
}

@media (max-width: 600px) {
	.ca-guide-quote {
		padding-top: 36px;
	}

	.ca-quote {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 22px 22px 24px;
	}

	.ca-quote__face {
		width: 72px;
		height: 72px;
	}

	.ca-quote__text p {
		font-size: 19px;
	}
}

/* Guide header: tighter spacing, and the intro quote in the card spot. */
.ca-hero--guide .ca-hero__inner {
	padding-block: 44px 48px;
}

.ca-hero--guide .ca-hero__main {
	gap: 18px;
}

.ca-hero .ca-quote--hero {
	flex: 1 1 360px;
	max-width: 460px;
	margin: 0;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"faces by"
		"text text";
	align-items: center;
	gap: 16px 14px;
	padding: 24px 26px 26px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--ivory);
	border: 0;
	border-radius: 20px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--header-red);
}

.ca-quote--hero .ca-quote__faces {
	grid-area: faces;
}

.ca-quote--hero .ca-quote__body {
	display: contents;
}

.ca-quote--hero .ca-quote__text {
	grid-area: text;
}

.ca-quote--hero .ca-quote__text p {
	font-size: 19px;
	line-height: 1.5;
}

.ca-quote--hero .ca-quote__by {
	grid-area: by;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
}

.ca-quote--hero .ca-quote__name {
	color: var(--wp--preset--color--marigold);
	font-size: 19px;
}

.ca-quote--hero .ca-quote__name::before {
	content: none;
}

.ca-quote--hero .ca-quote__role {
	color: var(--wp--preset--color--ivory);
	opacity: 0.8;
}

.ca-quote--hero .ca-quote__face {
	width: 64px;
	height: 64px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--navy);
}

.ca-quote--hero .ca-quote__face + .ca-quote__face {
	margin-left: -18px;
}

/* Featured Top 10 card (home): a light, unboxed quote under the #1 photo. */
.ca-quote--feature {
	max-width: none;
	margin: 0;
	padding: 0 6px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"text text"
		"faces by";
	align-items: center;
	gap: 14px 12px;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.ca-quote--feature .ca-quote__faces {
	grid-area: faces;
}

.ca-quote--feature .ca-quote__body {
	display: contents;
}

.ca-quote--feature .ca-quote__text {
	grid-area: text;
}

.ca-quote--feature .ca-quote__text p {
	font-size: 18px;
	line-height: 1.55;
}

.ca-quote--feature .ca-quote__by {
	grid-area: by;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin: 0;
}

.ca-quote--feature .ca-quote__name {
	font-size: 16px;
}

.ca-quote--feature .ca-quote__name::before {
	content: none;
}

.ca-quote--feature .ca-quote__role {
	font-size: 12px;
}

.ca-quote--feature .ca-quote__face {
	width: 48px;
	height: 48px;
	border-width: 2px;
}

.ca-quote--feature .ca-quote__face + .ca-quote__face {
	margin-left: -14px;
}

/* Once the card stacks (photo above the text) there is no spare room, so the quote hides. */
@container ca-feature (max-width: 891.98px) {
	.ca-quote--feature {
		display: none;
	}
}

/* Quick list: eyebrow heading with the How we pick link beside it. */
.ca-quick-list .ca-quick-list__heading {
	align-items: center;
	margin-bottom: 18px;
}

.ca-quick-list__heading .ca-eyebrow {
	margin: 0;
}

.ca-quick-list__heading .ca-more-link {
	padding-block: 4px;
}

@media (max-width: 600px) {
	.ca-hero--guide .ca-hero__inner {
		padding-block: 20px 32px;
		gap: 28px;
	}

	.ca-hero--guide .ca-hero__main {
		gap: 14px;
	}

	.ca-hero .ca-quote--hero {
		flex-basis: 100%;
		max-width: none;
		padding: 20px 22px 22px;
	}

	.ca-quote--hero .ca-quote__face {
		width: 56px;
		height: 56px;
	}

	.ca-quote--hero .ca-quote__text p {
		font-size: 18px;
	}

	.ca-quick-list.ca-section {
		padding-top: 24px;
	}

	.ca-quick-list .ca-quick-list__heading {
		margin-bottom: 14px;
	}

	/* Two columns of picks on phones. */
	.ca-quick-list__items {
		gap: 12px;
	}

	.ca-quick-list__items li {
		flex: 1 1 calc(50% - 6px);
	}

	.ca-quick-list__item {
		gap: 10px;
		height: 100%;
		box-sizing: border-box;
		padding: 10px 10px 10px 12px;
	}

	.ca-quick-list__rank {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.ca-quick-list__name {
		font-size: 17px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.ca-quick-list__area {
		font-size: 14px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/* ---------- Header topic menu ---------- */

.ca-site-header {
	position: relative;
	z-index: 40;
}

.ca-topnav {
	flex: 1 1 auto;
	font-family: var(--wp--preset--font-family--label);
}

.ca-topnav__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 24px;
	border: 2px solid var(--wp--preset--color--marigold);
	background: transparent;
	color: var(--wp--preset--color--marigold);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.ca-topnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 26px;
}

.ca-topnav__item {
	position: relative;
}

.ca-topnav__topic {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--ivory);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.ca-topnav__topic svg {
	transition: transform 0.15s ease;
}

.ca-topnav__topic:hover,
.ca-topnav__topic[aria-expanded="true"] {
	color: var(--wp--preset--color--marigold);
}

.ca-topnav__topic[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.ca-topnav__toggle:focus-visible,
.ca-topnav__topic:focus-visible,
.ca-topnav__menu a:focus-visible {
	outline: 3px solid var(--wp--preset--color--marigold);
	outline-offset: 3px;
}

.ca-topnav__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -16px;
	z-index: 50;
	box-sizing: border-box;
	min-width: 270px;
	padding: 10px 0 14px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 16px;
	box-shadow: 6px 6px 0 var(--wp--preset--color--navy);
}

.ca-topnav__menu[hidden] {
	display: none;
}

.ca-topnav__item:nth-last-child(-n+2) .ca-topnav__menu {
	left: auto;
	right: -16px;
}

.ca-topnav__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ca-topnav__links a {
	display: block;
	padding: 9px 18px;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	line-height: 1.35;
	text-decoration: none;
}

.ca-topnav__links a:hover {
	background: var(--wp--preset--color--cream);
	text-decoration: underline;
}

.ca-topnav__all {
	display: block;
	margin: 6px 18px 0;
	padding-top: 10px;
	border-top: 2px solid var(--wp--preset--color--sand);
	color: var(--wp--preset--color--teal);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.ca-topnav__all + .ca-topnav__all {
	margin-top: 0;
	padding-top: 8px;
	border-top: 0;
}

.ca-topnav__all:hover {
	text-decoration: underline;
}

/* Compact topic bar: narrow screens only. */
.ca-topnav__bar {
	display: none;
}

.ca-topnav__section {
	margin: 8px 18px 2px;
	color: var(--wp--preset--color--signal-red);
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ca-topnav__section ~ .ca-topnav__section {
	margin-top: 14px;
}

/* Narrower screens (1180px leaves room for all seven topics plus the search
   field): the bar shows five topics (Shop & Play and Explore & Day Trips
   share a dropdown) with a search icon. Opening search swaps the topics for
   the search field and a Menu button, which swaps them back. */
@media (max-width: 1180px) {
	.ca-site-header__inner {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.ca-logo img {
		width: 64px;
		height: 64px;
	}

	.ca-site-header__inner .ca-topnav {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		align-self: stretch;
		display: flex;
		align-items: stretch;
	}

	.ca-site-header__inner .ca-search,
	.ca-site-header__inner .ca-hsearch {
		order: 2;
		margin-left: auto;
	}

	.ca-topnav__list {
		display: none;
	}

	.ca-topnav__toggle {
		align-self: center;
		padding: 0 6px;
		border: 0;
		border-radius: 12px;
	}

	.ca-topnav__toggle:hover {
		color: var(--wp--preset--color--white);
	}

	.ca-topnav__bar {
		list-style: none;
		flex: 1 1 auto;
		min-width: 0;
		margin: 0;
		padding: 0;
		display: flex;
		align-items: stretch;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ca-topnav__bar::-webkit-scrollbar {
		display: none;
	}

	.ca-topnav__bar .ca-topnav__item {
		position: static;
		flex: 1 1 auto;
		display: flex;
	}

	.ca-topnav__bar .ca-topnav__item + .ca-topnav__item {
		border-left: 2px solid rgba(19, 38, 61, 0.55);
	}

	.ca-topnav__bar .ca-topnav__topic {
		width: 100%;
		justify-content: center;
		min-height: 48px;
		padding: 0 8px;
		color: var(--wp--preset--color--white);
		font-weight: 600;
		font-size: 18px;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}

	.ca-topnav__bar .ca-topnav__topic:hover,
	.ca-topnav__bar .ca-topnav__topic[aria-expanded="true"] {
		color: var(--wp--preset--color--marigold);
	}

	.ca-topnav__bar .ca-topnav__topic:focus-visible {
		outline-offset: -3px;
	}

	/* Dropdowns open as a full-width panel under the header. */
	.ca-topnav__bar .ca-topnav__item .ca-topnav__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 60;
		box-sizing: border-box;
		min-width: 0;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		margin: 0;
		padding: 0 16px 16px;
		background: var(--wp--preset--color--header-red);
		border: 0;
		border-radius: 0;
		box-shadow: 0 8px 0 rgba(19, 38, 61, 0.35);
	}

	.ca-topnav__card {
		padding: 10px 0 14px;
		background: var(--wp--preset--color--paper);
		border-radius: 0 0 12px 12px;
	}

	/* Search open: hide the topics, show the Menu button, widen the field. */
	.ca-site-header__inner:has(.ca-hsearch.is-open) .ca-topnav {
		flex: 0 0 auto;
	}

	.ca-site-header__inner:has(.ca-hsearch.is-open) .ca-topnav__bar {
		display: none;
	}

	.ca-site-header__inner:has(.ca-hsearch.is-open) .ca-topnav__toggle {
		display: inline-flex;
	}

	.ca-site-header__inner:has(.ca-hsearch.is-open) .ca-hsearch {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* Phones (drawn at 80%, so these sizes are before scaling). */
@media (max-width: 600px) {
	.ca-site-header__inner {
		gap: 8px;
	}

	.ca-logo img {
		width: 52px;
		height: 52px;
	}

	.ca-topnav__bar .ca-topnav__topic {
		padding: 0 6px;
		font-size: 16px;
	}

	/* The 80% scale shrinks viewport units too; 125vh is the full screen. */
	.ca-topnav__bar .ca-topnav__item .ca-topnav__menu {
		max-height: calc(125vh - 150px);
	}
}

@media (max-width: 420px) {
	.ca-topnav__bar .ca-topnav__topic {
		padding: 0 4px;
		font-size: 15px;
	}
}

@media (max-width: 374px) {
	.ca-topnav__bar .ca-topnav__topic {
		padding: 0 3px;
		font-size: 14px;
	}
}

@media (max-width: 345px) {
	.ca-logo img {
		width: 44px;
		height: 44px;
	}

	.ca-topnav__bar .ca-topnav__topic {
		padding: 0 2px;
		font-size: 13px;
	}
}

/* ---------- Header search ---------- */

.ca-hsearch {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
}

.ca-hsearch__field {
	display: block;
}

.ca-hsearch__input {
	box-sizing: border-box;
	width: 300px;
	height: 46px;
	padding: 0 50px 0 18px;
	border-radius: 23px;
	border: 2px solid var(--wp--preset--color--ivory);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
}

.ca-hsearch__input::placeholder {
	color: #5a6578;
}

.ca-hsearch__input:focus-visible {
	outline: 3px solid var(--wp--preset--color--marigold);
	outline-offset: 2px;
}

.ca-hsearch__button {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: var(--wp--preset--color--marigold);
	color: var(--wp--preset--color--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ca-hsearch__button:hover,
.ca-hsearch__button:focus-visible {
	background: var(--wp--preset--color--white);
}

/* Narrow screens: the icon opens the search field in the header bar. */
@media (max-width: 1180px) {
	.ca-hsearch__field {
		display: none;
	}

	.ca-hsearch.is-open .ca-hsearch__field {
		display: block;
		flex: 1 1 auto;
		min-width: 0;
	}

	.ca-hsearch.is-open .ca-hsearch__input {
		width: 100%;
		height: 48px;
		padding-right: 52px;
	}

	.ca-hsearch__button {
		position: static;
		transform: none;
		width: 40px;
		height: 40px;
		border-radius: 20px;
		border: 2px solid var(--wp--preset--color--marigold);
		background: transparent;
		color: var(--wp--preset--color--marigold);
	}

	.ca-hsearch__button:hover,
	.ca-hsearch__button:focus-visible {
		background: transparent;
		color: var(--wp--preset--color--white);
	}

	.ca-hsearch.is-open .ca-hsearch__button {
		position: absolute;
		top: 50%;
		right: 5px;
		transform: translateY(-50%);
		width: 38px;
		height: 38px;
		border: 0;
		border-radius: 19px;
		background: var(--wp--preset--color--marigold);
		color: var(--wp--preset--color--navy);
	}

	.ca-hsearch.is-open .ca-hsearch__button:hover,
	.ca-hsearch.is-open .ca-hsearch__button:focus-visible {
		background: var(--wp--preset--color--white);
		color: var(--wp--preset--color--navy);
	}
}

/* ---------- Phones: whole layout at 80% ---------- */
/* Everything on phone-sized screens is drawn at 80%. The search box, the
   share buttons and the Menu button are scaled back up (0.8 x 1.25 = 1) so
   they stay easy to tap, and so the search field keeps 16px text, which
   stops iPhones from zooming in when it's tapped. */
@media (max-width: 600px) {
	html {
		zoom: 0.8;
	}

	.ca-hsearch__input,
	.ca-hsearch__button,
	.wp-block-search__input,
	.wp-block-search__button,
	.ca-share__btn,
	.ca-topnav__toggle {
		zoom: 1.25;
	}
}
