/*
 * Maria Aurora Tourism
 *
 * Identity: the Municipality's navy, green, and yellow, taken from its seal
 * and current website and deepened so text passes contrast checks.
 *
 *   Navy   structure: top bar, agency footer, body text
 *   Green  brand: links, banners, primary buttons
 *   Yellow the single accent: the main call to action and small highlights
 *
 * Shape rule, used everywhere:
 *   controls (buttons, inputs)  10px
 *   boxes (photos, panels)      16px
 *   filter chips                fully rounded
 *
 * Contents
 *   1. Tokens          5. Masthead        9. Front page sections
 *   2. Base            6. Banners        10. Lists and single pages
 *   3. Layout          7. Auxiliary bar  11. Footers and dialog
 *   4. Top bar         8. Components     12. High contrast, motion, print
 */

/* ---------------------------------------------------------------- 1. Tokens */

:root {
	--mat-ink: #0d1440;
	--mat-ink-soft: #454b68;
	--mat-brand: #156b3a;
	--mat-brand-deep: #0e4a28;
	--mat-on-brand: #fdfefb;
	--mat-accent: #f4c20d;
	--mat-accent-tint: #fdf3cf;
	--mat-on-accent: #0d1440;

	--mat-bg: #f9fbf7;
	--mat-surface: #fefffd;
	--mat-tint: #ecf3e8;
	--mat-line: #d6dfd0;
	--mat-line-strong: #7b8672;
	--mat-danger: #b3261e;
	--mat-danger-tint: #fdf0ef;
	--mat-focus: #0d1440;

	--mat-font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--mat-font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
	--mat-display-tracking: -0.015em;
	--mat-display-tracking-tight: -0.025em;

	--mat-radius-control: 10px;
	--mat-radius-box: 16px;

	--mat-gutter: 1.25rem;
	--mat-width: 77.5rem;
	--mat-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 48em) {
	:root {
		--mat-gutter: 2rem;
	}
}

/*
 * Heading font choices. The body carries mat-display-{key}, set from
 * Appearance, Customize, Heading fonts. "sans" is the :root value above;
 * "seal" is a bold serif that echoes the lettering on the municipal seal.
 */
.mat-display-seal {
	--mat-font-display: "STIX Two Text", "Times New Roman", Times, serif;
	--mat-display-tracking: -0.005em;
	--mat-display-tracking-tight: -0.01em;
}

/* ------------------------------------------------------------------ 2. Base */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--mat-bg);
	color: var(--mat-ink);
	font-family: var(--mat-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--mat-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: var(--mat-display-tracking);
	text-wrap: balance;
}

h2 {
	font-size: clamp(1.75rem, 1.6vw + 1.25rem, 2.5rem);
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--mat-brand);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--mat-brand-deep);
}

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

ul,
ol {
	padding-left: 1.25rem;
}

:focus-visible {
	outline: 3px solid var(--mat-focus);
	outline-offset: 2px;
	border-radius: 4px;
}

.mat-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------- 3. Layout */

.mat-container {
	width: 100%;
	max-width: calc(var(--mat-width) + var(--mat-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--mat-gutter);
}

.mat-main {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.mat-main--home {
	padding-block: 0;
}

.mat-section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.mat-section--last {
	border-top: 1px solid var(--mat-line);
}

.mat-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.mat-duo {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 56em) {
	.mat-duo {
		grid-template-columns: 1fr 1fr;
	}

	.mat-duo--single {
		grid-template-columns: minmax(0, 44rem);
	}
}

/* Skip links: off screen until focused. */
.mat-skips ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-skips a {
	position: absolute;
	left: -9999px;
	top: 0.5rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--mat-accent);
	color: var(--mat-on-accent);
	font-weight: 700;
	border-radius: var(--mat-radius-control);
}

.mat-skips a:focus {
	left: 0.5rem;
}

/* --------------------------------------------------------------- 4. Top bar */

.mat-topbar {
	--mat-focus: var(--mat-accent);
	position: relative;
	z-index: 30;
	background: var(--mat-ink);
	color: #f4f6fb;
	font-size: 0.9375rem;
}

.mat-topbar__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 3rem;
}

.mat-topbar__govph {
	color: inherit;
	font-family: var(--mat-font-display);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.mat-topbar__govph:hover {
	color: var(--mat-accent);
}

.mat-topbar__toggle,
.mat-tool {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.625rem;
	font: inherit;
	font-weight: 600;
	color: inherit;
	background: none;
	border: 0;
	border-radius: var(--mat-radius-control);
	cursor: pointer;
}

.mat-topbar__toggle:hover,
.mat-tool:hover {
	background: rgb(255 255 255 / 0.12);
}

.mat-tool[aria-pressed="true"] {
	background: var(--mat-accent);
	color: var(--mat-on-accent);
}

.mat-topbar__toggle {
	margin-left: auto;
}

.mat-topbar__toggle .mat-icon--close,
.mat-topbar__toggle[aria-expanded="true"] .mat-icon--open {
	display: none;
}

.mat-topbar__toggle[aria-expanded="true"] .mat-icon--close {
	display: inline;
}

.mat-topbar__panel {
	display: none;
	position: absolute;
	inset: 100% 0 auto;
	padding: 0.5rem var(--mat-gutter) 1.25rem;
	background: var(--mat-ink);
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

.mat-topbar__panel.is-open {
	display: block;
}

.mat-menu,
.mat-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-menu a {
	display: block;
	padding: 0.75rem 0;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.mat-menu a:hover,
.mat-menu .current-menu-item > a,
.mat-menu .current-menu-ancestor > a {
	color: var(--mat-accent);
}

.mat-menu ul a {
	padding-left: 1.25rem;
	font-weight: 400;
}

.mat-topbar__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

@media (min-width: 64em) {
	.mat-topbar__toggle {
		display: none;
	}

	.mat-topbar__panel {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		position: static;
		padding: 0;
		border: 0;
	}

	.mat-menu {
		display: flex;
		gap: 0.25rem;
	}

	.mat-menu > li {
		position: relative;
	}

	.mat-menu > li > a {
		padding: 0.75rem 0.75rem;
		white-space: nowrap;
	}

	.mat-menu ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 15rem;
		padding: 0.5rem 0;
		background: var(--mat-ink);
		border-radius: 0 0 var(--mat-radius-control) var(--mat-radius-control);
		box-shadow: 0 16px 32px rgb(13 20 64 / 0.28);
	}

	.mat-menu li:hover > ul,
	.mat-menu li:focus-within > ul {
		display: block;
	}

	.mat-menu ul a {
		padding: 0.5rem 1rem;
	}

	.mat-topbar__tools {
		flex-wrap: nowrap;
		margin: 0;
		padding: 0;
		border: 0;
	}

	.mat-tool {
		font-weight: 400;
		white-space: nowrap;
	}
}

/*
 * Between the switch to the horizontal menu and wide screens the bar is
 * tight, so the menu closes up and the two tools show as icons. Their
 * labels stay in the page for screen readers.
 */
@media (min-width: 64em) and (max-width: 79.99em) {
	.mat-topbar__inner,
	.mat-topbar__panel {
		gap: 0.75rem;
	}

	.mat-menu {
		gap: 0;
	}

	.mat-menu > li > a {
		padding-inline: 0.5rem;
	}

	.mat-tool span {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* -------------------------------------------------------------- 5. Masthead */

.mat-masthead {
	background: var(--mat-surface);
	border-bottom: 1px solid var(--mat-line);
}

.mat-masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 0.875rem;
}

.mat-brand {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	color: var(--mat-ink);
	text-decoration: none;
}

.mat-brand:hover {
	color: var(--mat-ink);
}

.mat-brand__seal {
	flex: none;
	width: 3.25rem;
	height: 3.25rem;
	object-fit: contain;
	border-radius: 50%;
}

.mat-brand__text {
	display: grid;
	line-height: 1.2;
}

.mat-brand__over,
.mat-brand__under {
	font-size: 0.75rem;
	color: var(--mat-ink-soft);
}

.mat-brand__over {
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mat-brand__name {
	font-family: var(--mat-font-display);
	font-weight: 700;
	font-size: clamp(1.125rem, 2.4vw + 0.5rem, 1.625rem);
	letter-spacing: var(--mat-display-tracking);
}

.mat-masthead__ear {
	display: none;
	align-items: center;
	gap: 1.5rem;
}

.mat-pst {
	display: grid;
	text-align: right;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--mat-ink-soft);
}

.mat-pst__time {
	color: var(--mat-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.mat-masthead__ear-image {
	width: auto;
	height: 3.5rem;
}

@media (min-width: 48em) {
	.mat-brand__seal {
		width: 4.25rem;
		height: 4.25rem;
	}

	.mat-brand__over,
	.mat-brand__under {
		font-size: 0.8125rem;
	}

	.mat-masthead__ear {
		display: flex;
	}
}

/* --------------------------------------------------------------- 6. Banners */

.mat-hero {
	--mat-focus: var(--mat-accent);
	position: relative;
	display: grid;
	align-items: end;
	min-height: clamp(27rem, 66dvh, 40rem);
	background: var(--mat-brand-deep);
	color: #fdfefb;
	overflow: hidden;
}

.mat-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Scrim so the headline stays readable over any photo. */
.mat-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgb(9 14 46 / 0.86) 0%, rgb(9 14 46 / 0.5) 45%, rgb(9 14 46 / 0.12) 100%);
}

.mat-hero--plain::after {
	background:
		radial-gradient(60rem 30rem at 85% 10%, rgb(244 194 13 / 0.2), transparent 60%),
		linear-gradient(140deg, #0e4a28 0%, #0d1440 100%);
}

.mat-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(2.5rem, 7vw, 5rem);
}

.mat-hero__panel {
	max-width: 50rem;
}

.mat-hero__title {
	font-size: clamp(2.125rem, 3.4vw + 1rem, 3.5rem);
	line-height: 1.06;
	letter-spacing: var(--mat-display-tracking-tight);
}

.mat-hero__text {
	max-width: 34rem;
	margin: 1.125rem 0 0;
	font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
	line-height: 1.55;
	color: rgb(253 254 251 / 0.94);
}

.mat-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

@media (min-width: 56em) {
	.mat-hero::after {
		background:
			linear-gradient(90deg, rgb(9 14 46 / 0.88) 0%, rgb(9 14 46 / 0.62) 38%, rgb(9 14 46 / 0.08) 72%),
			linear-gradient(to top, rgb(9 14 46 / 0.45) 0%, transparent 40%);
	}

	.mat-hero {
		align-items: center;
	}
}

/* Title band on inner pages. */
.mat-banner {
	--mat-focus: var(--mat-accent);
	padding-block: clamp(1.75rem, 4vw, 3rem);
	background: var(--mat-brand-deep);
	color: #fdfefb;
}

.mat-banner__title {
	max-width: 22ch;
	font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.mat-banner__intro {
	max-width: 44rem;
	margin-top: 0.75rem;
	font-size: 1.125rem;
	color: rgb(253 254 251 / 0.92);
}

.mat-banner__intro p {
	margin: 0;
}

.mat-banner a {
	color: inherit;
}

.mat-crumbs {
	margin-bottom: 0.875rem;
	font-size: 0.875rem;
}

.mat-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-crumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	opacity: 0.6;
}

.mat-crumbs a {
	text-decoration: none;
}

.mat-crumbs a:hover {
	text-decoration: underline;
}

.mat-crumbs [aria-current] {
	opacity: 0.8;
}

/* --------------------------------------------------------- 7. Auxiliary bar */

.mat-aux {
	background: var(--mat-surface);
	border-bottom: 1px solid var(--mat-line);
}

.mat-aux__menu {
	display: flex;
	gap: 0.25rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.mat-aux__menu::-webkit-scrollbar {
	display: none;
}

.mat-aux__menu a {
	display: block;
	padding: 0.875rem 0;
	color: var(--mat-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
}

.mat-aux__menu a:hover,
.mat-aux__menu .current-menu-item > a {
	color: var(--mat-brand);
	border-bottom-color: var(--mat-brand);
}

/* ------------------------------------------------------------ 8. Components */

.mat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.75rem 1.375rem;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--mat-radius-control);
	cursor: pointer;
	transition: transform 0.2s var(--mat-ease), background-color 0.2s ease, border-color 0.2s ease;
}

.mat-btn:active {
	transform: translateY(1px);
}

.mat-btn--accent {
	background: var(--mat-accent);
	color: var(--mat-on-accent);
}

.mat-btn--accent:hover {
	background: #ffd53d;
	color: var(--mat-on-accent);
}

.mat-btn--primary {
	background: var(--mat-brand);
	color: var(--mat-on-brand);
}

.mat-btn--primary:hover {
	background: var(--mat-brand-deep);
	color: var(--mat-on-brand);
}

/* Only used on dark photos and dark bands. */
.mat-btn--ghost {
	border-color: rgb(253 254 251 / 0.85);
	color: #fdfefb;
	background: rgb(9 14 46 / 0.25);
}

.mat-btn--ghost:hover {
	background: #fdfefb;
	color: var(--mat-ink);
}

.mat-more {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.mat-more .mat-icon {
	transition: transform 0.25s var(--mat-ease);
}

.mat-more:hover {
	text-decoration: underline;
}

.mat-more:hover .mat-icon {
	transform: translateX(3px);
}

/* Card: photo, title, one line of detail. No box around it. */
.mat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	height: 100%;
}

.mat-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--mat-radius-box);
	background: var(--mat-tint);
}

.mat-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--mat-ease);
}

.mat-card:hover .mat-card__media img {
	transform: scale(1.04);
}

.mat-card__blank {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--mat-line-strong);
	font-size: 2.5rem;
}

.mat-card__title {
	font-size: 1.25rem;
}

.mat-card__title a {
	color: var(--mat-ink);
	text-decoration: none;
}

/* The whole card is one target. */
.mat-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--mat-radius-box);
}

.mat-card:hover .mat-card__title a {
	text-decoration: underline;
	text-decoration-color: var(--mat-accent);
	text-decoration-thickness: 0.14em;
}

.mat-card__detail {
	display: flex;
	align-items: flex-start;
	gap: 0.375rem;
	margin: 0.25rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--mat-ink-soft);
}

.mat-card__detail .mat-icon {
	margin-top: 0.1em;
	color: var(--mat-brand);
}

.mat-grid {
	display: grid;
	gap: 2.25rem 1.75rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
}

/* Rows: events, announcements, advisories. */
.mat-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-rows--wide {
	max-width: 48rem;
}

.mat-row {
	display: flex;
	gap: 1.125rem;
	padding-block: 1.125rem;
}

.mat-row:first-child {
	padding-top: 0;
}

.mat-row + .mat-row {
	border-top: 1px solid var(--mat-line);
}

.mat-row__date {
	flex: none;
	display: grid;
	align-content: center;
	width: 4rem;
	height: 4rem;
	text-align: center;
	background: var(--mat-tint);
	border-radius: var(--mat-radius-control);
}

.mat-row__day {
	font-family: var(--mat-font-display);
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1;
}

.mat-row__month {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mat-brand);
}

.mat-row__title {
	font-size: 1.1875rem;
	line-height: 1.3;
}

.mat-row__title a {
	color: var(--mat-ink);
	text-decoration: none;
}

.mat-row__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--mat-accent);
	text-decoration-thickness: 0.14em;
}

.mat-row__meta {
	margin: 0.25rem 0 0;
	font-size: 0.9375rem;
	color: var(--mat-ink-soft);
}

.mat-row__excerpt {
	margin: 0.5rem 0 0;
}

/* Facts: icon, label, value. */
.mat-facts {
	display: grid;
	gap: 1rem;
	margin: 0;
}

.mat-facts__item {
	display: flex;
	gap: 0.75rem;
}

.mat-facts__item > .mat-icon {
	margin-top: 0.2em;
	width: 1.375rem;
	height: 1.375rem;
	color: var(--mat-brand);
}

.mat-facts dt {
	font-size: 0.8125rem;
	color: var(--mat-ink-soft);
}

.mat-facts dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* Accommodations list. */
.mat-stays {
	display: grid;
	gap: 2rem 2.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-stay {
	padding-top: 1rem;
	border-top: 3px solid var(--mat-brand);
}

.mat-stay__name {
	font-size: 1.1875rem;
}

.mat-stay__name a {
	color: var(--mat-ink);
	text-decoration: none;
}

.mat-stay__name a:hover {
	text-decoration: underline;
}

.mat-stay__type {
	margin: 0.125rem 0 0.625rem;
	font-size: 0.875rem;
	color: var(--mat-ink-soft);
}

.mat-stay__line {
	display: flex;
	gap: 0.5rem;
	margin: 0.25rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.mat-stay__line .mat-icon {
	margin-top: 0.1em;
	color: var(--mat-brand);
}

/* Establishments directory: one group per type. */
.mat-directory__group + .mat-directory__group {
	margin-top: 3.5rem;
}

.mat-directory__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--mat-line);
}

.mat-directory__head h2 {
	margin: 0;
	font-size: 1.5rem;
}

.mat-directory__count {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--mat-ink-soft);
}

.mat-stays--compact {
	gap: 1.25rem 2.5rem;
}

.mat-stays--compact .mat-stay {
	padding-top: 0.75rem;
	border-top-width: 2px;
}

.mat-stays--compact .mat-stay__name {
	font-size: 1.0625rem;
}

/* Filter chips. */
.mat-filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.mat-filter a {
	display: block;
	padding: 0.4375rem 1rem;
	color: var(--mat-ink);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	border: 1.5px solid var(--mat-line-strong);
	border-radius: 999px;
}

.mat-filter a:hover {
	border-color: var(--mat-ink);
}

.mat-filter a[aria-current] {
	background: var(--mat-ink);
	border-color: var(--mat-ink);
	color: var(--mat-surface);
}

.mat-pagination {
	margin-top: 3rem;
}

.mat-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.mat-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.875rem;
	color: var(--mat-ink);
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid var(--mat-line-strong);
	border-radius: var(--mat-radius-control);
}

.mat-pagination .page-numbers.current {
	background: var(--mat-ink);
	border-color: var(--mat-ink);
	color: var(--mat-surface);
}

.mat-empty {
	max-width: 40rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--mat-tint);
	border-radius: var(--mat-radius-box);
}

.mat-empty h2 {
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
}

.mat-empty p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------- 9. Front page sections */

.mat-notice-strip {
	background: var(--mat-accent-tint);
	border-bottom: 1px solid #ecd98a;
}

.mat-notice-strip__list {
	display: grid;
	gap: 0.25rem 2rem;
	margin: 0;
	padding: 0.75rem 0;
	list-style: none;
}

.mat-notice-strip li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	font-weight: 600;
}

.mat-notice-strip .mat-icon {
	margin-top: 0.2em;
}

.mat-notice-strip a {
	color: var(--mat-ink);
}

@media (min-width: 56em) {
	.mat-notice-strip__list {
		grid-auto-flow: column;
		justify-content: start;
	}
}

/* Destination mosaic. The number in the class is how many tiles there are. */
.mat-bento {
	display: grid;
	gap: 2rem 1.5rem;
}

.mat-bento__item--lead .mat-card__media {
	aspect-ratio: 16 / 10;
}

.mat-bento__item--lead .mat-card__title {
	font-size: clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
}

@media (min-width: 40em) {
	.mat-bento {
		grid-template-columns: 1fr 1fr;
	}

	.mat-bento__item--lead {
		grid-column: 1 / -1;
	}
}

@media (min-width: 64em) {
	.mat-bento--5 {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: auto auto;
	}

	.mat-bento--3 {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto auto;
	}

	.mat-bento--5 .mat-bento__item--lead,
	.mat-bento--3 .mat-bento__item--lead {
		grid-column: 1 / span 2;
		grid-row: 1 / span 2;
	}

	/* The lead photo stretches to match the two rows beside it. */
	.mat-bento__item--lead .mat-card__media {
		flex: 1;
		aspect-ratio: auto;
		min-height: 18rem;
	}
}

/* Visitor services. */
.mat-services {
	background: var(--mat-tint);
}

.mat-services__inner {
	display: grid;
	gap: 2.5rem;
}

.mat-services__intro p {
	max-width: 30rem;
	margin: 1rem 0 1.5rem;
	font-size: 1.125rem;
}

.mat-steps {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-steps li {
	display: flex;
	gap: 1rem;
	padding-block: 1.25rem;
}

.mat-steps li:first-child {
	padding-top: 0;
}

.mat-steps li + li {
	border-top: 1px solid #c9d8c1;
}

.mat-steps .mat-icon {
	width: 2rem;
	height: 2rem;
	color: var(--mat-brand);
}

.mat-steps p {
	margin: 0.25rem 0 0;
	color: var(--mat-ink-soft);
}

@media (min-width: 56em) {
	.mat-services__inner {
		grid-template-columns: 5fr 6fr;
		gap: clamp(3rem, 6vw, 6rem);
		align-items: center;
	}
}

/* Sideways list of activity cards. Works by touch, wheel, and keyboard. */
.mat-scroller {
	display: grid;
	grid-auto-flow: column;
	/* A few cards share the full width; many cards keep their size and scroll. */
	grid-auto-columns: minmax(clamp(14.5rem, 26vw, 18.5rem), 1fr);
	gap: 1.5rem;
	margin: 0;
	padding: 0.25rem 0 1.25rem;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--mat-line-strong) transparent;
}

.mat-scroller > li {
	scroll-snap-align: start;
}

.mat-scroller .mat-card__media {
	aspect-ratio: 4 / 5;
}

@media (max-width: 47.99em) {
	.mat-container--bleed {
		padding-right: 0;
	}

	.mat-scroller {
		padding-right: var(--mat-gutter);
	}
}

/* -------------------------------------------- 10. Lists and single pages */

.mat-prose {
	max-width: 44rem;
}

.mat-prose > * + * {
	margin-top: 1.25em;
}

.mat-prose > :first-child {
	margin-top: 0;
}

.mat-prose p,
.mat-prose ul,
.mat-prose ol {
	margin-bottom: 0;
}

.mat-prose h2 {
	margin-top: 2em;
	font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2rem);
}

.mat-prose h3 {
	margin-top: 1.75em;
	font-size: 1.375rem;
}

.mat-prose li + li {
	margin-top: 0.375em;
}

.mat-prose img,
.mat-prose .wp-block-image img {
	border-radius: var(--mat-radius-box);
}

.mat-prose figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--mat-ink-soft);
}

.mat-prose blockquote {
	margin-inline: 0;
	padding-left: 1.25rem;
	border-left: 4px solid var(--mat-accent);
	font-size: 1.125rem;
}

.mat-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.mat-prose th,
.mat-prose td {
	padding: 0.625rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--mat-line);
}

.mat-prose th {
	border-bottom: 2px solid var(--mat-ink);
}

.mat-single {
	display: grid;
	gap: 2.5rem;
}

.mat-single__photo {
	margin: 0 0 2rem;
}

.mat-single__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--mat-radius-box);
}

.mat-single__photo figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--mat-ink-soft);
}

.mat-single__side {
	align-self: start;
	display: grid;
	gap: 1.5rem;
	padding: 1.5rem;
	background: var(--mat-tint);
	border-radius: var(--mat-radius-box);
}

.mat-single__cta {
	padding-top: 1.5rem;
	border-top: 1px solid #c9d8c1;
}

.mat-single__cta p {
	margin-bottom: 1rem;
}

.mat-single__cta .mat-btn {
	width: 100%;
}

@media (min-width: 62em) {
	.mat-single--with-side {
		grid-template-columns: minmax(0, 1fr) 21rem;
		gap: clamp(2.5rem, 5vw, 4.5rem);
	}

	.mat-single__side {
		position: sticky;
		top: 1.5rem;
	}
}

/* Visitor forms come from the plugin and read the tokens above. */
.mavs-legend,
.mavs-result__title,
.mavs-alert__title {
	font-family: var(--mat-font-display);
	letter-spacing: var(--mat-display-tracking);
}

/* ------------------------------------------------ 11. Footers and dialog */

.mat-footer {
	--mat-focus: var(--mat-accent);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: var(--mat-ink);
	color: #e9ecf6;
}

.mat-footer__inner {
	display: grid;
	gap: 2.5rem;
}

.mat-footer a {
	color: inherit;
}

.mat-footer a:hover {
	color: var(--mat-accent);
}

.mat-footer__name {
	margin: 0;
	font-family: var(--mat-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: var(--mat-display-tracking);
	color: #fdfefb;
}

.mat-footer__office {
	margin: 0.125rem 0 1.5rem;
	color: #c5cbe0;
}

.mat-footer .mat-facts__item > .mat-icon {
	color: var(--mat-accent);
}

.mat-footer .mat-facts dt {
	color: #c5cbe0;
}

.mat-footer__heading {
	margin-bottom: 0.875rem;
	font-family: var(--mat-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c5cbe0;
}

.mat-footer__menu {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-footer__menu ul {
	display: none;
}

.mat-footer__menu a {
	text-decoration: none;
}

.mat-footer__menu a:hover {
	text-decoration: underline;
}

@media (min-width: 56em) {
	.mat-footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
		gap: 4rem;
	}
}

/* Standard government footer. */
.mat-govfooter {
	padding-block: 2.5rem;
	background: #e3e8de;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.mat-govfooter__inner {
	display: grid;
	gap: 2rem;
}

.mat-govfooter__republic {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}

.mat-govfooter__seal {
	flex: none;
	width: 5.5rem;
	height: auto;
}

.mat-govfooter__heading {
	margin-bottom: 0.5rem;
	font-family: var(--mat-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mat-govfooter p {
	margin: 0 0 0.75rem;
}

.mat-govfooter__links {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mat-govfooter a {
	color: var(--mat-ink);
}

@media (min-width: 56em) {
	.mat-govfooter__inner {
		grid-template-columns: 1.3fr 1fr 1fr;
		gap: 4rem;
	}
}

.mat-dialog {
	width: min(42rem, calc(100vw - 2rem));
	max-height: min(44rem, calc(100dvh - 2rem));
	padding: 0;
	color: var(--mat-ink);
	background: var(--mat-surface);
	border: 0;
	border-radius: var(--mat-radius-box);
	box-shadow: 0 24px 64px rgb(13 20 64 / 0.3);
}

.mat-dialog::backdrop {
	background: rgb(13 20 64 / 0.6);
}

.mat-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--mat-line);
}

.mat-dialog__head h2 {
	font-size: 1.5rem;
}

.mat-dialog__close {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: inherit;
	background: var(--mat-tint);
	border: 0;
	border-radius: var(--mat-radius-control);
	cursor: pointer;
}

.mat-dialog__body {
	padding: 1.25rem 1.5rem 1.75rem;
}

.mat-dialog__body h3 {
	margin: 1.5rem 0 0.5rem;
}

.mat-keys {
	display: grid;
	gap: 0.5rem;
	margin: 1rem 0 0;
}

.mat-keys div {
	display: flex;
	align-items: baseline;
	gap: 0.875rem;
}

.mat-keys dt {
	flex: none;
	width: 2rem;
	padding: 0.125rem 0;
	text-align: center;
	font-weight: 700;
	background: var(--mat-tint);
	border: 1px solid var(--mat-line-strong);
	border-radius: 6px;
}

.mat-keys dd {
	margin: 0;
}

/* --------------------------------- 12. High contrast, motion, and print */

/* Switched on by the High contrast button; the choice is saved on the device. */
.mat-contrast {
	--mat-ink: #fafafa;
	--mat-ink-soft: #e4e4e4;
	--mat-brand: #ffe45c;
	--mat-brand-deep: #fff3a6;
	--mat-on-brand: #0b0b0b;
	--mat-bg: #0b0b0b;
	--mat-surface: #0b0b0b;
	--mat-tint: #1d1d1d;
	--mat-line: #fafafa;
	--mat-line-strong: #fafafa;
	--mat-accent-tint: #1d1d1d;
	--mat-danger: #ff9d96;
	--mat-danger-tint: #2a1210;
	--mat-focus: #ffe45c;
}

.mat-contrast .mat-topbar,
.mat-contrast .mat-topbar__panel,
.mat-contrast .mat-menu ul,
.mat-contrast .mat-banner,
.mat-contrast .mat-footer,
.mat-contrast .mat-govfooter {
	background: #0b0b0b;
	color: #fafafa;
	border-bottom: 1px solid #fafafa;
}

.mat-contrast .mat-govfooter a,
.mat-contrast .mat-notice-strip a,
.mat-contrast .mat-aux__menu a {
	color: #ffe45c;
}

.mat-contrast .mat-steps li + li,
.mat-contrast .mat-single__cta,
.mat-contrast .mat-notice-strip {
	border-color: #fafafa;
}

.mat-contrast .mat-filter a[aria-current],
.mat-contrast .mat-pagination .page-numbers.current {
	background: #ffe45c;
	border-color: #ffe45c;
	color: #0b0b0b;
}

@media (prefers-reduced-motion: no-preference) {
	.mat-hero__panel > * {
		animation: mat-rise 0.7s var(--mat-ease) both;
	}

	.mat-hero__panel > :nth-child(2) {
		animation-delay: 0.08s;
	}

	.mat-hero__panel > :nth-child(3) {
		animation-delay: 0.16s;
	}
}

@keyframes mat-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media print {
	.mat-topbar,
	.mat-aux,
	.mat-skips,
	.mat-hero__actions,
	.mat-govfooter {
		display: none;
	}

	body {
		background: #fff;
	}
}
