/*
 * GP Senedd Theme: site-wide styles. Design tokens come from theme.json;
 * each custom block also has its own style.css, loaded only where used.
 */

:root {
	--gps-forest: var(--wp--preset--color--forest-green, #00643b);
	--gps-fair: var(--wp--preset--color--fair-green, #00a85a);
	--gps-red: var(--wp--preset--color--red, #df1317);
	--gps-blush: var(--wp--preset--color--blush, #ff8a8c);
	--gps-slate: var(--wp--preset--color--slate, #192226);
	--gps-slate-soft: var(--wp--preset--color--slate-soft, #4a565b);
	--gps-mint: var(--wp--preset--color--mint, #d7ecdf);
	--gps-cream: var(--wp--preset--color--cream, #f5f3ec);
	--gps-line: #e2e4df;
	--gps-line-strong: #c9cec3;
	--gps-control: #6b767a;
	--gps-pad: var(--wp--style--root--padding-left, max(20px, 5vw));
	--gps-wide: var(--wp--style--global--wide-size, 1500px);
	--gps-ease: var(--wp--custom--ease, cubic-bezier(0.2, 0.7, 0.2, 1));
	--gps-radius: var(--wp--custom--radius--card, 20px);
	--gps-display: var(--wp--preset--font-family--bebas);
	--gps-body: var(--wp--preset--font-family--manrope);
	--gps-header-h: 76px;
	/* The party's blob "hills" edge, used by the Hills block styles. */
	--gps-hills: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 560 1080 520' preserveAspectRatio='none'%3E%3Cpath d='M1078.5,692.36v.09c-30.51,12.81-55,40.87-66.04,71.71-7.53-1.5-14.1-5.14-21.71-7.25-78.41-21.69-162.9,14.74-186.28,95.01-34.08-8.34-68.89-5.37-101.27,8.05-7.05-5.2-12.42-13.4-19.44-19.34-18.53-15.67-42.78-26.47-66.31-31.78-11.15-93.79-106.13-148.22-195.35-124.95-57.41,14.97-103.3,60.62-111.61,120.43-1.08,7.75.12,17.16-.74,23.88-.22,1.73-.32,2.29-1.9,3.36-56.01-35.52-129.83-33.11-184.26,4.36-8.25-11.43-14.33-24.13-22.62-35.58-25.17-34.73-60.96-63.54-100.95-79.47v359.11h1080v-387.94c-.1.02-.22.01-.32.03-.37.12-.77.21-1.18.28Z'/%3E%3C/svg%3E");
	/* A single party blob, for photos and icons. */
	--gps-blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='60 120 360 300'%3E%3Cpath d='M179.46,159.22c30.88-11.89,64.55-12.24,97.5-13.59,30.59-1.26,62.94-11.39,92.48,1.17,5.8,2.46,10.7,6.96,13.7,12.39,4.6,8.34,3.54,21.32-1.69,29.37-10.38,15.45-22.15,30.6-31.6,46.5-3.15,5.3-6.04,10.68-8.56,16.16-15.52,25.6-7.12,52.83-1.74,80.7,4.84,28.42-16.39,51.14-40.83,61.77-31.21,13.59-71.2,10.26-104.23,7.47-78.48-6.62-105.98-94.15-88.53-160.94.9-4.38,2.01-8.67,3.39-12.87,1.38-4.19,3.03-8.3,4.97-12.31,4.21-8.65,9.75-16.52,16.27-23.52,3.26-3.5,6.77-6.78,10.5-9.86,7.94-6.67,16.29-11.67,24.69-16.28,4.49-2.34,9.05-4.38,13.68-6.16Z'/%3E%3C/svg%3E");
}

/* ── Base ─────────────────────────────────────────────────────────────── */

html {
	scroll-padding-top: calc(var(--gps-header-h) + 20px);
	-webkit-text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
}

input,
select,
textarea,
button {
	box-sizing: border-box;
}

::selection {
	background: var(--gps-mint);
	color: var(--gps-slate);
}

/* Template parts sit flush: sections bring their own spacing. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Decorative shapes may bleed past the edge; never widen the page. */
main#main {
	overflow-x: clip;
}

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

.gps-skip-link {
	position: absolute;
	left: 16px;
	top: -200px;
	z-index: 1000;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--gps-forest);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.gps-skip-link:focus {
	top: 16px;
	color: #fff;
}

/* One focus style everywhere; dark sections flip it to white. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--gps-forest);
	outline-offset: 3px;
}

:where(.has-forest-green-background-color, .has-slate-background-color, .has-red-background-color, .has-olive-green-background-color, .wp-block-cover, .gps-footer, .gps-cookie, .gps-is-dark) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: #fff;
}

.gps-icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

/* Headings: one line where it fits, balanced where it doesn't. */
:where(h1, h2, h3) {
	text-wrap: balance;
	overflow-wrap: break-word;
}

/* ── Post-nominal tag (AS / MS) ───────────────────────────────────────── */

.gps-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.18em 0.32em 0.06em;
	border-radius: 0.2em;
	background: var(--gps-red);
	color: #fff;
	font-family: var(--gps-display);
	font-weight: 400;
	font-size: 0.875em;
	line-height: 1;
	letter-spacing: 0.05em;
	vertical-align: 0.1em;
}

h1 .gps-tag,
h2 .gps-tag {
	font-size: 0.32em;
	vertical-align: 1.35em;
	margin-left: 0.08em;
	padding: 0.16em 0.24em 0.06em;
}

/* ── Header ───────────────────────────────────────────────────────────── */

.gps-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--gps-line);
}

body.admin-bar .gps-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .gps-site-header {
		top: 46px;
	}
}

/* On phones WordPress lets the admin bar scroll away. */
@media (max-width: 600px) {
	body.admin-bar .gps-site-header {
		top: 0;
	}
}

.gps-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--gps-wide);
	margin-inline: auto;
	padding: 14px var(--gps-pad);
	min-height: var(--gps-header-h);
}

.gps-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	color: inherit;
	text-decoration: none;
	border-radius: 6px;
}

.gps-brand__logo {
	width: 150px;
	height: auto;
}

.gps-brand__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-left: 16px;
	border-left: 1px solid var(--gps-line-strong);
	line-height: 1.15;
}

.gps-brand__name {
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 800;
	font-size: 1rem;
	color: var(--gps-slate);
}

.gps-brand__role {
	font-size: 0.7812rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--gps-slate-soft);
}

.gps-brand:hover .gps-brand__name {
	color: var(--gps-forest);
}

.gps-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gps-nav a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--gps-slate);
	text-decoration: none;
}

.gps-nav a::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	background: var(--gps-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--gps-ease);
}

.gps-nav a:hover::after,
.gps-nav a[aria-current]::after {
	transform: scaleX(1);
}

.gps-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.gps-lang-switch {
	padding: 9px 14px;
	border: 1.5px solid var(--gps-line-strong);
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--gps-slate);
	text-decoration: none;
	transition: border-color 0.2s var(--gps-ease);
}

.gps-lang-switch:hover {
	border-color: var(--gps-slate);
	color: var(--gps-slate);
}

.gps-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gps-cream);
	color: var(--gps-slate);
	cursor: pointer;
	transition: background 0.2s var(--gps-ease);
}

.gps-icon-btn:hover {
	background: var(--gps-line);
}

.gps-icon-btn .gps-icon {
	width: 20px;
	height: 20px;
}

.gps-header__search-toggle .is-close-icon,
.gps-header__search-toggle[aria-expanded="true"] .is-open-icon {
	display: none;
}

.gps-header__search-toggle[aria-expanded="true"] .is-close-icon {
	display: block;
}

.gps-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--gps-forest);
	color: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	transition: background 0.2s var(--gps-ease), transform 0.2s var(--gps-ease);
}

.gps-header__cta .gps-icon {
	width: 14px;
	height: 14px;
}

.gps-header__cta:hover {
	background: var(--gps-slate);
	color: #fff;
	transform: translateY(-1px);
}

.gps-header__menu-toggle {
	display: none;
}

.gps-header__search {
	border-top: 1px solid var(--gps-line);
	background: #fff;
}

.gps-header__search-inner {
	max-width: 760px;
	margin-inline: auto;
	padding: 18px var(--gps-pad);
}

.gps-search-form {
	display: flex;
	gap: 8px;
}

.gps-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: 1.5px solid var(--gps-control);
	border-radius: 999px;
	font: inherit;
	color: var(--gps-slate);
	background: #fff;
}

.gps-search-form button {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--gps-forest);
	color: #fff;
	cursor: pointer;
}

/* Mobile menu: a full-screen white panel with ruled rows. */
.gps-menu {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--gps-slate);
}

.gps-menu::backdrop {
	background: rgba(15, 21, 24, 0.5);
}

.gps-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px var(--gps-pad);
	border-bottom: 1px solid var(--gps-line);
}

.gps-menu__logo {
	width: 132px;
	height: auto;
}

.gps-menu__list {
	margin: 0;
	padding: 8px var(--gps-pad) 0;
	list-style: none;
}

.gps-menu__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid var(--gps-line);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--gps-slate);
	text-decoration: none;
}

.gps-menu__list .gps-icon {
	color: var(--gps-red);
}

.gps-menu__list a[aria-current] {
	color: var(--gps-forest);
}

.gps-menu__foot {
	display: grid;
	gap: 18px;
	padding: 24px var(--gps-pad) 40px;
}

.gps-menu__foot .gps-lang-switch {
	justify-self: start;
}

.gps-menu__cta {
	display: flex;
	justify-content: center;
	padding: 16px 20px;
	border-radius: 999px;
	background: var(--gps-forest);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 1180px) {
	.gps-nav {
		display: none;
	}

	.gps-header__menu-toggle {
		display: inline-grid;
	}
}

@media (max-width: 720px) {
	.gps-header__cta,
	.gps-header__search-toggle,
	.gps-header__search {
		display: none;
	}
}

@media (max-width: 520px) {
	.gps-brand__text {
		display: none;
	}

	.gps-brand__logo {
		width: 128px;
	}

	.gps-header__actions {
		gap: 8px;
	}
}

@media (max-width: 400px) {
	.gps-header__inner {
		gap: 12px;
	}

	.gps-brand__logo {
		width: 112px;
	}

	.gps-header__actions {
		gap: 6px;
	}

	.gps-header__actions .gps-icon-btn {
		width: 40px;
		height: 40px;
	}

	.gps-header__actions .gps-lang-switch {
		padding: 8px 11px;
		font-size: 0.8125rem;
	}
}

/* ── Office details (footer, contact sections, menu) ──────────────────── */

.gps-office {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gps-office li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.gps-office .gps-icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--gps-forest);
}

.gps-office a {
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

.gps-office a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

:where(.has-forest-green-background-color, .has-slate-background-color, .gps-footer) .gps-office .gps-icon {
	color: var(--gps-blush);
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.gps-site-footer {
	background: var(--gps-slate);
	color: rgba(255, 255, 255, 0.85);
}

.gps-footer__top,
.gps-footer__bottom {
	max-width: var(--gps-wide);
	margin-inline: auto;
	padding-inline: var(--gps-pad);
}

.gps-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: clamp(32px, 4vw, 64px);
	padding-block: clamp(56px, 7vw, 96px) 48px;
}

.gps-footer__logo {
	width: 116px;
	height: auto;
}

.gps-footer__text {
	margin: 22px 0 0;
	font-size: 0.9375rem;
}

.gps-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.gps-socials a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background 0.2s var(--gps-ease);
}

.gps-socials a:hover {
	background: var(--gps-red);
	color: #fff;
}

.gps-socials .gps-icon {
	width: 19px;
	height: 19px;
}

.gps-footer__col h2 {
	margin: 0 0 18px;
	font-family: var(--gps-body);
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.gps-footer__col ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

.gps-footer a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.gps-footer a:hover {
	color: var(--gps-blush);
}

.gps-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px 48px;
	padding-block: 28px 44px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8125rem;
}

.gps-footer__bottom p {
	margin: 0;
}

.gps-footer__bottom p + p {
	margin-top: 6px;
}

.gps-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gps-footer__legal a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gps-cookie-reopen {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* Editor previews of server-drawn blocks: select, don't click through. */
.gps-ssr > * {
	pointer-events: none;
}

.gps-editor-hint {
	padding: 8px 12px;
	border: 1px dashed currentColor;
	border-radius: 8px;
	opacity: 0.9;
}

@media (max-width: 900px) {
	.gps-footer__top {
		grid-template-columns: 1fr 1fr;
	}

	.gps-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.gps-footer__top {
		grid-template-columns: 1fr;
	}
}

/* ── Block styles ─────────────────────────────────────────────────────── */

/* Eyebrow: small caps label with a red rule. */
.is-style-gps-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.is-style-gps-eyebrow::before {
	content: '';
	flex: 0 0 28px;
	height: 2px;
	background: var(--gps-red);
}

.is-style-gps-eyebrow.has-text-align-center {
	justify-content: center;
}

:where(.has-forest-green-background-color, .has-slate-background-color, .wp-block-cover) .is-style-gps-eyebrow::before {
	background: var(--gps-blush);
}

/* Buttons: pill shapes with a lift on hover. */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: transform 0.2s var(--gps-ease), background 0.2s var(--gps-ease), color 0.2s var(--gps-ease), border-color 0.2s var(--gps-ease);
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.is-style-gps-light .wp-block-button__link {
	background: #fff;
	color: var(--gps-slate);
}

.is-style-gps-light .wp-block-button__link:hover {
	background: var(--gps-red);
	color: #fff;
}

.is-style-gps-ghost .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.6);
	color: #fff;
}

.is-style-gps-ghost .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--gps-slate);
}

.is-style-gps-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--gps-control);
	color: var(--gps-slate);
}

.is-style-gps-outline .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--gps-slate);
	color: var(--gps-slate);
}

.is-style-gps-chip .wp-block-button__link {
	padding: 10px 18px;
	background: #fff;
	border: 1.5px solid var(--gps-control);
	color: var(--gps-slate);
	font-size: 0.9375rem;
	font-weight: 600;
}

.is-style-gps-chip .wp-block-button__link:hover,
.is-style-gps-chip .wp-block-button__link[aria-current] {
	background: var(--gps-slate);
	border-color: var(--gps-slate);
	color: #fff;
	transform: none;
}

/* Arrow after primary buttons, drawn with a mask so it follows the colour. */
.wp-block-button:not(.is-style-gps-chip):not(.is-style-gps-ghost) .wp-block-button__link::after {
	content: '';
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Card: white panel with rounded corners. */
.is-style-gps-card {
	border-radius: var(--gps-radius);
	background-color: #fff;
}

/* Red side rule: a feature card such as "Work in the Senedd". */
.is-style-gps-red-rule {
	border-left: 4px solid var(--gps-red);
	border-radius: var(--gps-radius);
}

/* Hills edge: the party's blob hills rising into the next section. */
.is-style-gps-hills-cream,
.is-style-gps-hills-white {
	position: relative;
	padding-bottom: max(var(--gps-hills-room, 0px), clamp(5.5rem, 11vw, 10rem)) !important;
}

.is-style-gps-hills-cream::after,
.is-style-gps-hills-white::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 1;
	height: clamp(56px, 8vw, 128px);
	background: var(--gps-cream);
	-webkit-mask: var(--gps-hills) center bottom / 100% 100% no-repeat;
	mask: var(--gps-hills) center bottom / 100% 100% no-repeat;
	pointer-events: none;
}

.is-style-gps-hills-white::after {
	background: #fff;
}

.wp-block-cover.is-style-gps-hills-cream > .wp-block-cover__inner-container,
.wp-block-cover.is-style-gps-hills-white > .wp-block-cover__inner-container {
	z-index: 2;
}

/* Photo card: rounded photo with a soft shadow. */
.is-style-gps-photo img {
	border-radius: var(--wp--custom--radius--photo, 24px);
	box-shadow: var(--wp--preset--shadow--soft);
}

/* Blob shape: the photo cut into a party blob. */
.is-style-gps-blob img {
	aspect-ratio: 6 / 5;
	object-fit: cover;
	border-radius: 0;
	-webkit-mask: var(--gps-blob) center / contain no-repeat;
	mask: var(--gps-blob) center / contain no-repeat;
}

/* Ticks list. */
.is-style-gps-ticks {
	padding-left: 0;
	list-style: none;
}

.is-style-gps-ticks li {
	position: relative;
	padding-left: 34px;
}

.is-style-gps-ticks li + li {
	margin-top: 10px;
}

.is-style-gps-ticks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gps-fair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Speech bubble quote. */
.wp-block-quote.is-style-gps-speech {
	position: relative;
	margin: 0;
	padding: clamp(28px, 3vw, 44px);
	border: 0;
	border-radius: 28px;
	background: var(--gps-forest);
	color: #fff;
	font-family: var(--gps-display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	line-height: 1.05;
}

.wp-block-quote.is-style-gps-speech::after {
	content: '';
	position: absolute;
	left: 48px;
	bottom: -26px;
	width: 44px;
	height: 30px;
	background: inherit;
	clip-path: polygon(0 0, 100% 0, 15% 100%);
}

.wp-block-quote.is-style-gps-speech cite {
	display: block;
	margin-top: 16px;
	font-family: var(--gps-body);
	font-size: 0.9375rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.85);
}

/* FAQ question. */
.wp-block-details.is-style-gps-faq {
	padding: 20px 0;
	border-bottom: 1px solid var(--gps-line-strong);
}

.wp-block-details.is-style-gps-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--large);
	cursor: pointer;
	list-style: none;
}

.wp-block-details.is-style-gps-faq summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-gps-faq summary::after {
	content: '+';
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--gps-cream);
	font-size: 1.375rem;
	line-height: 1;
	color: var(--gps-forest);
	transition: transform 0.2s var(--gps-ease);
}

.wp-block-details.is-style-gps-faq[open] summary::after {
	transform: rotate(45deg);
}

.wp-block-details.is-style-gps-faq > :not(summary) {
	margin-top: 12px;
	color: var(--gps-slate-soft);
}

/* Category badge on news cards and articles. */
.wp-block-post-terms.is-style-gps-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wp-block-post-terms.is-style-gps-badge::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--gps-red);
}

.wp-block-post-terms.is-style-gps-badge a {
	color: inherit;
	text-decoration: none;
}

/* ── Sections ─────────────────────────────────────────────────────────── */

/* Covers size to their content; the padding and hills edge give the room. */
.wp-block-cover:where(.gps-hero, .gps-page-header, .gps-contact) {
	min-height: 0;
}

/* Full-width covers keep the page's side margins. WordPress removes the
   inner padding of a cover nested in page content, so the cover holds it. */
.wp-block-cover.alignfull {
	padding-right: var(--wp--style--root--padding-right, var(--gps-pad));
	padding-left: var(--wp--style--root--padding-left, var(--gps-pad));
}

.wp-block-cover.alignfull > .wp-block-cover__inner-container.has-global-padding {
	padding-right: 0;
	padding-left: 0;
}

/* Hero: name, role and a tall rounded photo. */
.gps-hero h1 {
	margin-top: clamp(18px, 1.8vw, 28px);
	margin-bottom: 0;
	line-height: 0.92;
}

.gps-hero h1 + p {
	margin-top: clamp(10px, 1.1vw, 16px);
}

.gps-hero-photo img {
	width: 100%;
	height: clamp(380px, 56vh, 600px);
	object-fit: cover;
	border-radius: var(--wp--custom--radius--photo, 24px);
	box-shadow: var(--wp--preset--shadow--lifted);
}

@media (max-width: 781px) {
	.gps-hero-photo img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
}

.gps-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	padding: 8px 16px 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.gps-hero-badge::before {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gps-red);
	box-shadow: 0 0 0 3px #fff;
}

/* Page header: title and a short lead on the river lines. */
.gps-page-header :where(h1, .wp-block-post-title) {
	margin: 0;
	line-height: 0.95;
}

.gps-page-header :where(h1, .wp-block-post-title) + .gps-page-header__lead {
	margin-top: clamp(10px, 1.1vw, 16px);
}

.gps-page-header__lead:empty {
	display: none;
}

/* About: the text comes first in the page, so on phones the photo sits
   under it; from tablet width up the photo moves to the left. */
@media (min-width: 782px) {
	.gps-about .gps-about__photo {
		order: -1;
	}
}

/* Quick facts with icons (About). */
.gps-facts {
	row-gap: 16px;
}

.gps-fact {
	align-items: center;
}

.gps-fact__text {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
}

/* Cards: priorities, Senedd work, the team. */
.gps-card {
	height: 100%;
	box-shadow: 0 1px 0 rgba(25, 34, 38, 0.04);
}

.gps-card h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

.gps-priorities .gps-card,
.gps-senedd-work .gps-card {
	border: 1px solid transparent;
}

.gps-senedd-work .gps-card {
	border-color: var(--gps-line);
}

/* "In the Senedd" link card. */
.gps-senedd-card__text {
	flex: 1 1 420px;
}

.gps-senedd-card h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

/* Call to action band. */
.gps-cta h2 {
	font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
}

.gps-cta__text {
	flex: 1 1 520px;
}

.gps-cta .gps-icon-block,
.gps-stats .gps-icon-block {
	color: #fff;
}

/* Numbers. */
.gps-stat__number {
	font-family: var(--gps-display);
	font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem);
	line-height: 0.9;
}

.gps-stat__label {
	font-weight: 700;
}

/* Contact section on the shapes background. */
.gps-contact .gps-surgeries-title {
	margin-top: var(--wp--preset--spacing--40);
	font-family: var(--gps-body);
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

:where(.wp-block-cover) .gps-office .gps-icon {
	color: var(--gps-blush);
}

/* Quote section: room for the speech bubble's tail. */
.gps-quote-section .wp-block-quote {
	margin-bottom: 26px;
}

/* News story. */
.gps-article__date {
	color: var(--gps-slate-soft);
	font-size: 0.9375rem;
}

.gps-article .wp-block-post-title {
	line-height: 0.98;
}

/* Search results and search boxes. */
.gps-result {
	border-bottom: 1px solid var(--gps-line);
}

.gps-result .wp-block-post-title {
	margin: 0;
}

.gps-result .wp-block-post-title a {
	color: var(--gps-slate);
	text-decoration: none;
}

.gps-result .wp-block-post-title a:hover {
	color: var(--gps-forest);
	text-decoration: underline;
}

.gps-search .wp-block-search__inside-wrapper {
	padding: 6px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 1.5px var(--gps-control);
}

.gps-search .wp-block-search__input {
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	color: var(--gps-slate);
	font-size: 1rem;
}

.gps-search .wp-block-search__button {
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: var(--gps-forest);
	color: #fff;
}

/* Background art layered over a Cover's image stays decorative. */
.wp-block-cover .wp-block-cover__image-background {
	pointer-events: none;
}

/* ── News ─────────────────────────────────────────────────────────────── */

.gps-news-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--gps-line);
	border-radius: var(--gps-radius);
	background: #fff;
	transition: box-shadow 0.25s var(--gps-ease), transform 0.25s var(--gps-ease);
}

.gps-news-grid .wp-block-post:hover {
	box-shadow: var(--wp--preset--shadow--soft);
	transform: translateY(-2px);
}

.gps-news-grid .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--gps-mint);
}

.gps-news-grid .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

.gps-news-grid .gps-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 22px 24px 24px;
}

.gps-news-grid .wp-block-post-title {
	margin: 0;
	font-size: clamp(1.625rem, 2.1vw, 2rem);
	line-height: 1;
}

.gps-news-grid .wp-block-post-title a {
	color: var(--gps-slate);
	text-decoration: none;
}

.gps-news-grid .wp-block-post-title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.gps-news-grid .wp-block-post {
	position: relative;
}

.gps-news-grid .wp-block-post-date {
	margin-top: auto;
}

/* Cards with no featured image show a party background instead. */
.gps-news-grid .wp-block-post:not(:has(.wp-block-post-featured-image img)) .wp-block-post-featured-image {
	display: block;
	background: var(--gps-forest) url("../img/bg/rivers.jpg") center / cover;
}

.wp-block-query-pagination {
	gap: 8px;
	margin-top: 40px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--gps-line-strong);
	border-radius: 999px;
	color: var(--gps-slate);
	text-decoration: none;
}

.wp-block-query-pagination .page-numbers.current {
	background: var(--gps-slate);
	border-color: var(--gps-slate);
	color: #fff;
}

/* Article body: comfortable reading width and spacing. */
.gps-article-body {
	font-size: 1.125rem;
}

.gps-article-body > * + * {
	margin-block-start: 1.25em;
}

.gps-article-body :where(h2, h3) {
	margin-block-start: 1.4em;
}

/* Headings inside a story or legal page step down from section size. */
.gps-article-body h2 {
	font-size: var(--wp--preset--font-size--x-large);
}

.gps-article-body h3 {
	font-size: var(--wp--preset--font-size--large);
}

/* ── Gallery strip (core Gallery, "Scrolling strip" style) ─────────────── */

.wp-block-gallery.is-style-gps-strip {
	display: block !important;
	margin-inline: calc(var(--gps-pad) * -1) !important;
}

.gps-strip__controls {
	display: flex;
	justify-content: center;
	margin-bottom: 22px;
}

.gps-strip__pause {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1.5px solid var(--gps-control);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--gps-slate);
	cursor: pointer;
}

.gps-strip__pause:hover {
	border-color: var(--gps-forest);
	color: var(--gps-forest);
}

.gps-strip__pause .gps-icon {
	width: 12px;
	height: 12px;
}

.gps-strip__pause .gps-icon--play,
.is-paused .gps-strip__pause .gps-icon--pause {
	display: none;
}

.is-paused .gps-strip__pause .gps-icon--play {
	display: block;
}

.gps-strip__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gps-pad);
}

.gps-strip__track {
	--gps-gap: 20px;
	display: flex;
	gap: var(--gps-gap);
	width: max-content;
	padding-inline: var(--gps-pad);
}

.wp-block-gallery.is-style-gps-strip .wp-block-image {
	flex-shrink: 0;
	scroll-snap-align: start;
	position: relative;
	width: clamp(260px, 26vw, 380px) !important;
	height: clamp(230px, 24vw, 320px);
	margin: 0 !important;
	overflow: hidden;
	border-radius: 16px;
	background: var(--gps-line);
}

.wp-block-gallery.is-style-gps-strip .wp-block-image img {
	width: 100%;
	height: 100% !important;
	border-radius: 0;
	object-fit: cover;
}

.wp-block-gallery.is-style-gps-strip .wp-element-caption {
	position: absolute;
	inset: auto 0 0;
	margin: 0;
	padding: 48px 18px 16px !important;
	background: linear-gradient(0deg, rgba(25, 34, 38, 0.85) 0%, rgba(25, 34, 38, 0) 100%) !important;
	font-size: 0.875rem !important;
	font-weight: 600;
	line-height: 1.4;
	text-align: left !important;
	color: #fff !important;
}

.gps-strip.is-animated .gps-strip__viewport {
	overflow: hidden;
	scroll-snap-type: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.gps-strip.is-animated .gps-strip__track {
	padding-inline: 0;
	animation: gps-strip 60s linear infinite;
}

.gps-strip.is-paused .gps-strip__track,
.gps-strip.is-animated .gps-strip__viewport:hover .gps-strip__track,
.gps-strip.is-animated .gps-strip__viewport:focus-within .gps-strip__track {
	animation-play-state: paused;
}

@keyframes gps-strip {
	to {
		transform: translateX(calc(-50% - var(--gps-gap) / 2));
	}
}

/* ── Cookie notice ────────────────────────────────────────────────────── */

.gps-cookie {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 9990;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	max-width: 1040px;
	margin-inline: auto;
	padding: 18px 22px;
	border-radius: var(--gps-radius);
	background: var(--gps-slate);
	color: #fff;
	box-shadow: 0 18px 50px rgba(15, 21, 24, 0.28);
}

.gps-cookie[hidden] {
	display: none;
}

.gps-cookie__text {
	flex: 1 1 420px;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.gps-cookie__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.gps-cookie__actions {
	display: flex;
	gap: 10px;
}

.gps-cookie__btn {
	min-width: 112px;
	min-height: 46px;
	padding: 10px 22px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.gps-cookie__btn:hover {
	background: rgba(255, 255, 255, 0.14);
}

.gps-cookie__btn--accept {
	background: #fff;
	color: var(--gps-slate);
}

.gps-cookie__btn--accept:hover {
	border-color: var(--gps-mint);
	background: var(--gps-mint);
}

@media (max-width: 600px) {
	.gps-cookie__actions,
	.gps-cookie__btn {
		flex: 1;
	}
}

/* ── Accessibility tools panel ────────────────────────────────────────── */

.gps-a11y {
	width: min(560px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100% - 32px);
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 24px;
	background: #fff;
	color: var(--gps-slate);
	box-shadow: 0 24px 70px rgba(15, 21, 24, 0.3);
}

.gps-a11y::backdrop {
	background: rgba(15, 21, 24, 0.5);
}

.gps-a11y__inner {
	display: grid;
	gap: 22px;
	padding: clamp(20px, 4vw, 30px);
}

.gps-a11y__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gps-a11y__head h2 {
	margin: 0;
	font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
	line-height: 1;
}

.gps-a11y__group {
	margin: 0;
	padding: 0;
	border: 0;
}

.gps-a11y__group legend {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	padding: 0;
	font-weight: 700;
}

.gps-a11y__group legend .gps-icon,
.gps-a11y__toggle .gps-icon,
.gps-a11y__reset .gps-icon {
	width: 22px;
	height: 22px;
	color: var(--gps-forest);
}

.gps-a11y__sizes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.gps-a11y__size,
.gps-a11y__toggle {
	border: 1.5px solid var(--gps-line-strong);
	background: var(--gps-cream);
	color: var(--gps-slate);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s var(--gps-ease), border-color 0.2s var(--gps-ease), color 0.2s var(--gps-ease);
}

.gps-a11y__size {
	min-height: 48px;
	padding: 8px;
	border-radius: 12px;
}

.gps-a11y__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.gps-a11y__toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 16px;
	border-radius: 16px;
	line-height: 1.3;
	text-align: start;
}

.gps-a11y__toggle[hidden],
.gps-a11y__note[hidden] {
	display: none;
}

.gps-a11y__size:hover,
.gps-a11y__toggle:hover {
	border-color: var(--gps-forest);
}

.gps-a11y__size[aria-pressed="true"],
.gps-a11y__toggle[aria-pressed="true"] {
	border-color: var(--gps-forest);
	background: var(--gps-forest);
	color: #fff;
}

.gps-a11y__toggle[aria-pressed="true"] .gps-icon {
	color: #fff;
}

.gps-a11y__note {
	margin: 0;
	font-size: 0.875rem;
	color: var(--gps-slate-soft);
}

.gps-a11y__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding-top: 18px;
	border-top: 1px solid var(--gps-line);
	font-size: 0.9375rem;
}

.gps-a11y__reset {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--gps-slate);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.gps-a11y__reset:hover {
	color: var(--gps-forest);
}

.gps-a11y__foot a {
	color: var(--gps-forest);
	text-underline-offset: 3px;
}

@media (max-width: 420px) {
	.gps-a11y__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gps-a11y__toggle {
		min-height: 54px;
	}
}

html.gps-a11y-contrast .gps-a11y [aria-pressed="true"],
html.gps-a11y-contrast .gps-a11y [aria-pressed="true"] * {
	border-color: #ffeb3b !important;
	background: #ffeb3b !important;
	color: #000 !important;
}

/* ── Accessibility tools: modes set on <html> ─────────────────────────── */

html.gps-a11y-text-1 {
	font-size: 112.5%;
}

html.gps-a11y-text-2 {
	font-size: 125%;
}

html.gps-a11y-text-3 {
	font-size: 140%;
}

html.gps-a11y-readable :where(h1, h2, h3, h4, h5, h6, .gps-tag, .wp-block-post-title, .wp-block-quote, .wp-block-pullquote) {
	font-family: var(--gps-body) !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.2 !important;
}

html.gps-a11y-readable body {
	letter-spacing: 0.03em;
	word-spacing: 0.1em;
	line-height: 1.8;
}

html.gps-a11y-links a {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
}

html.gps-a11y-contrast body,
html.gps-a11y-contrast :where(.wp-site-blocks, main, section, header, footer, .wp-block-group, .wp-block-cover, .wp-block-column, .gps-site-header, .gps-site-footer, .gps-menu, dialog) {
	background: #000 !important;
	background-image: none !important;
	color: #fff !important;
}

html.gps-a11y-contrast :where(h1, h2, h3, h4, h5, h6, p, li, span, label, figcaption, cite, dt, dd, td, th, strong, em) {
	color: #fff !important;
}

html.gps-a11y-contrast a,
html.gps-a11y-contrast a * {
	color: #ffeb3b !important;
	text-decoration: underline !important;
}

html.gps-a11y-contrast :where(button, .wp-block-button__link, input, select, textarea) {
	background: #000 !important;
	border: 2px solid #fff !important;
	color: #fff !important;
}

html.gps-a11y-contrast .wp-block-cover__background,
html.gps-a11y-contrast .wp-block-cover__image-background,
html.gps-a11y-contrast .is-style-gps-hills-cream::after,
html.gps-a11y-contrast .is-style-gps-hills-white::after {
	display: none !important;
}

html.gps-a11y-contrast :where(:focus-visible) {
	outline-color: #ffeb3b !important;
}

html.gps-a11y-motion *,
html.gps-a11y-motion *::before,
html.gps-a11y-motion *::after {
	animation-play-state: paused !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

.gps-reading-guide {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9998;
	height: 3.2em;
	pointer-events: none;
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.45);
	border-top: 2px solid #ffeb3b;
	border-bottom: 2px solid #ffeb3b;
	transform: translateY(-50%);
}

/* ── Motion and high-contrast preferences ─────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.wp-block-button__link:hover,
	.gps-header__cta:hover,
	.gps-news-grid .wp-block-post:hover {
		transform: none;
	}

	.gps-strip.is-animated .gps-strip__viewport {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.gps-strip.is-animated .gps-strip__track {
		padding-inline: var(--gps-pad);
		animation: none;
	}

	.gps-strip__controls,
	.gps-strip .gps-strip__dup {
		display: none !important;
	}
}

@media (forced-colors: active) {
	.gps-tag,
	.wp-block-button__link,
	.gps-header__cta {
		border: 2px solid ButtonText;
	}

	.is-style-gps-hills-cream::after,
	.is-style-gps-hills-white::after {
		display: none;
	}

	.is-style-gps-chip .wp-block-button__link[aria-current] {
		forced-color-adjust: none;
		background: Highlight;
		color: HighlightText;
	}
}

/* ── Print ────────────────────────────────────────────────────────────── */

@media print {
	.gps-site-header,
	.gps-site-footer .gps-footer__top,
	.gps-cookie,
	.gps-a11y,
	.gps-strip__controls,
	.wp-block-buttons,
	.gps-share {
		display: none !important;
	}

	.wp-block-cover {
		min-height: 0 !important;
		color: #000 !important;
	}

	.wp-block-cover__background,
	.wp-block-cover__image-background {
		display: none !important;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
	}
}

/* ── Share links and news streams ─────────────────────────────────────── */

.gps-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.gps-share__label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.gps-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gps-share__list a,
.gps-share__list button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gps-cream);
	color: var(--gps-slate);
	cursor: pointer;
	transition: background 0.2s var(--gps-ease), color 0.2s var(--gps-ease);
}

.gps-share__list a:hover,
.gps-share__list button:hover {
	background: var(--gps-forest);
	color: #fff;
}

.gps-share__list .gps-icon {
	width: 19px;
	height: 19px;
}

.gps-streams ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gps-streams__link {
	display: inline-block;
	padding: 9px 18px;
	border: 1.5px solid var(--gps-control);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--gps-slate);
	text-decoration: none;
}

.gps-streams__link:hover,
.gps-streams__link[aria-current] {
	background: var(--gps-slate);
	border-color: var(--gps-slate);
	color: #fff;
}
