/* GradeAnchor theme styles. Colors are theme.json presets; dark mode swaps the same variables. */

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--bg: #0B1220;
	--wp--preset--color--surface: #111A2C;
	--wp--preset--color--surface-2: #18233A;
	--wp--preset--color--text: #E7EDF6;
	--wp--preset--color--muted: #A3B1C6;
	--wp--preset--color--border: #26344F;
	--wp--preset--color--primary: #7AA5FF;
	--wp--preset--color--on-primary: #0B1220;
	--wp--preset--color--primary-soft: #1B2A4D;
	--wp--preset--color--accent: #34D3BE;
	--wp--preset--color--accent-soft: #0F2E2C;
	--wp--preset--color--warn: #F5B65A;
	--wp--preset--color--warn-soft: #33250F;
	--wp--preset--color--danger: #FF8A80;
	--wp--preset--color--danger-soft: #3A1715;
}

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

html {
	color-scheme: light;
	-webkit-text-size-adjust: 100%;
}

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

:where(a, button, input, select, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

img,
svg {
	max-width: 100%;
}

:root {
	--ga-pad-x: var(--wp--style--root--padding-left, clamp(1rem, 4vw, 1.5rem));
	--ga-wide: 1200px;
	--ga-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* ---------- Header ---------- */
.ga-site-header {
	background: var(--wp--preset--color--surface);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.ga-header__inner {
	max-width: var(--ga-wide);
	margin: 0 auto;
	padding: 10px var(--ga-pad-x);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 24px;
}

.ga-header__inner > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.ga-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	min-height: 44px;
}

.ga-logo:hover {
	text-decoration: none;
}

.ga-logo__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.ga-nav {
	flex: 1 1 420px;
	min-width: 0;
}

.ga-nav .wp-block-navigation__container {
	flex-wrap: nowrap;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
	width: 100%;
}

.ga-nav .wp-block-navigation__container::-webkit-scrollbar {
	display: none;
}

/* Edge fades while menu links are hidden on that side (classes set by theme-toggle.js).
 * A gradient overlay, not a CSS mask: masks on scrolling areas render black on some iPhones. */
nav.ga-nav {
	position: relative;
}
nav.ga-nav::before,
nav.ga-nav::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 1;
}
nav.ga-nav::before {
	left: 0;
	background: linear-gradient(to right, var(--wp--preset--color--surface), transparent);
}
nav.ga-nav::after {
	right: 0;
	background: linear-gradient(to left, var(--wp--preset--color--surface), transparent);
}
nav.ga-nav.ga-nav-less::before,
nav.ga-nav.ga-nav-more::after {
	opacity: 1;
}

/* Homepage: calculator groups, guide, maker line */
.ga-cards__group {
	margin: 28px 0 12px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.ga-section__intro + .ga-cards__group {
	margin-top: 0;
}

.ga-hero__more {
	margin-top: -4px !important;
	font-size: 15px;
	font-weight: 600;
}

.ga-hero__more a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ga-guide {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 12px;
}

.ga-guide li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 16px 18px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
}

.ga-guide__q {
	color: var(--wp--preset--color--text);
	font-size: 15px;
}

.ga-guide a {
	align-self: flex-start;
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: 15px;
}

.ga-trust__maker {
	margin: 24px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: 15px;
	color: var(--wp--preset--color--muted);
}

.ga-trust__maker a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

/* Jump links ("How it works", "See all calculators") glide instead of jumping. */
html {
	scroll-behavior: smooth;
}

[id] {
	scroll-margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
	nav.ga-nav::before,
	nav.ga-nav::after {
		transition: none;
	}
}

.ga-nav.wp-block-navigation .wp-block-navigation-item__content {
	display: block;
	padding: 10px 8px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.ga-nav.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--surface-2);
}

.ga-nav.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.ga-nav.wp-block-navigation [aria-current="page"] {
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary-soft);
	font-weight: 600;
}

.ga-theme-toggle {
	margin-left: auto !important;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.ga-theme-toggle .ga-icon-sun,
html[data-theme="dark"] .ga-theme-toggle .ga-icon-moon {
	display: none;
}

html[data-theme="dark"] .ga-theme-toggle .ga-icon-sun {
	display: block;
}

@media (max-width: 720px) {
	.ga-nav {
		order: 3;
		flex-basis: 100%;
	}
	.ga-nav.wp-block-navigation .wp-block-navigation-item__content {
		padding: 8px 12px;
		font-size: 14px;
	}
}

@media (max-width: 380px) {
	.ga-nav.wp-block-navigation .wp-block-navigation-item__content {
		padding: 8px 8px;
		font-size: 13px;
	}
}

/* ---------- Footer ---------- */
.ga-site-footer {
	background: var(--wp--preset--color--surface);
	border-top: 1px solid var(--wp--preset--color--border);
	margin-top: 0;
}

.ga-footer {
	max-width: var(--ga-wide);
	margin: 0 auto;
	padding: 36px var(--ga-pad-x) 28px;
}

.ga-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 24px;
	align-items: flex-start;
}

.ga-footer__brand {
	flex: 1 1 320px;
	min-width: 0;
}

.ga-footer__brand > * {
	margin: 0;
}

.ga-footer__name {
	font-weight: 800;
	font-size: 18px;
}

.ga-footer__note,
.ga-footer__copy {
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}

.ga-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	font-size: 15px;
}

.ga-footer__nav a {
	padding: 10px 0;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.ga-footer__nav a:hover {
	color: var(--wp--preset--color--text);
	text-decoration: underline;
}

.ga-footer__copy {
	margin: 16px 0 0;
}

/* ---------- Main areas ---------- */
.ga-main {
	padding-top: clamp(1.75rem, 1rem + 3vw, 3rem);
	padding-bottom: clamp(3rem, 2rem + 4vw, 4.5rem);
}

.ga-main--wide {
	padding-top: 0;
}

.ga-main .wp-block-post-title {
	margin-bottom: 0.5rem;
}

.ga-meta {
	gap: 6px 16px;
	font-size: 14px;
	color: var(--wp--preset--color--muted);
	margin-top: 0.25rem;
}

.ga-meta a {
	color: var(--wp--preset--color--muted);
}

.ga-lead {
	font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1875rem);
	color: var(--wp--preset--color--muted);
	max-width: 640px;
}

/* ---------- Calculator page layout ---------- */
.ga-tool-layout {
	max-width: var(--ga-wide);
	margin: 0 auto;
	padding: clamp(1.5rem, 1rem + 2vw, 2rem) var(--ga-pad-x) clamp(3rem, 2rem + 4vw, 4.5rem);
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.ga-tool-layout__main {
	flex: 999 1 600px;
	min-width: 0;
}

.ga-tool-layout__main .wp-block-post-title {
	margin: 0 0 0.5rem;
}

.ga-tool-layout__main .wp-block-post-content > :where(:not(.ga-tool):not(.alignwide):not(.wp-block-gradeanchor-final-grade)) {
	max-width: 720px;
}

.ga-tool-layout__main .wp-block-post-content > .ga-lead {
	margin-top: 0;
}

.ga-tool-layout__aside {
	flex: 1 1 280px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ga-side-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	padding: 20px;
	margin: 0 !important;
}

.ga-side-card__title {
	font-size: 1rem !important;
	font-weight: 700;
	margin: 0 0 8px !important;
	letter-spacing: 0;
}

.ga-side-links,
.ga-side-points {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ga-side-links li {
	border-top: 1px solid var(--wp--preset--color--border);
}

.ga-side-links a {
	display: block;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
}

.ga-side-points li {
	position: relative;
	padding-left: 18px;
	font-size: 14px;
	color: var(--wp--preset--color--muted);
	margin: 8px 0;
}

.ga-side-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}

/* ---------- Content blocks ---------- */
.wp-block-details {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	padding: 0 18px;
	margin-top: 10px !important;
}

.wp-block-details summary {
	cursor: pointer;
	padding: 16px 0;
	font-weight: 600;
}

.wp-block-details > :not(summary) {
	margin-top: 0;
	color: var(--wp--preset--color--muted);
}

.wp-block-details[open] > :last-child {
	margin-bottom: 16px;
}

.wp-block-code {
	overflow-x: auto;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
	border: 1px solid var(--wp--preset--color--border);
}

.ga-search .wp-block-search__input {
	min-height: 48px;
	border-radius: 10px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
	font: inherit;
	padding: 0 14px;
}

.ga-search .wp-block-search__button {
	min-height: 48px;
	border-radius: 10px;
	margin-left: 8px;
}

/* Post lists */
.ga-post-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ga-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	padding: 20px 22px;
}

.ga-card > * {
	margin: 0;
}

.ga-card .ga-card__title {
	font-size: 1.125rem;
	margin-bottom: 6px;
}

.ga-card__title a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.ga-card__title a:hover {
	color: var(--wp--preset--color--primary);
}

.ga-card .wp-block-post-excerpt__excerpt {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
}

/* ---------- Homepage sections ---------- */
.ga-section {
	max-width: var(--ga-wide);
	margin: 0 auto !important;
	padding: clamp(2rem, 1.25rem + 3vw, 3.5rem) var(--ga-pad-x) 0;
}

.ga-section:last-child {
	padding-bottom: clamp(3rem, 2rem + 4vw, 4.5rem);
}

.ga-section > h2 {
	margin: 0 0 4px;
}

.ga-section__intro {
	margin: 0 0 24px;
	color: var(--wp--preset--color--muted);
}

.ga-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.ga-hero__text {
	flex: 1 1 500px;
	min-width: 0;
}

.ga-hero__text > * {
	margin-top: 0;
	margin-bottom: 18px;
}

.ga-eyebrow {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary);
	font-size: 14px;
	font-weight: 600;
}

.ga-hero__title {
	font-size: clamp(1.6875rem, 1rem + 3.4vw, 3.625rem) !important;
	letter-spacing: -0.035em !important;
	line-height: 1.08 !important;
}

.ga-hero__actions {
	gap: 12px;
}

.ga-example {
	flex: 1 1 360px;
	min-width: 0;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: clamp(20px, 3vw, 28px);
	box-shadow: var(--ga-shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ga-example__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.ga-example__title {
	font-weight: 700;
}

.ga-example__tag {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	font-weight: 600;
}

.ga-example__inputs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(6px, 2vw, 10px);
}

.ga-example__inputs > div {
	min-width: 0;
	background: var(--wp--preset--color--surface-2);
	border-radius: 10px;
	padding: 10px clamp(8px, 2.4vw, 12px);
	display: flex;
	flex-direction: column;
}

/* Labels stay on one line; on small phones the text shrinks a little instead of wrapping. */
.ga-example__inputs span {
	font-size: clamp(11px, 3.3vw, 13px);
	white-space: nowrap;
	color: var(--wp--preset--color--muted);
}

.ga-example__inputs strong {
	font-size: 20px;
}

.ga-example__result {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ga-example__label {
	font-size: 15px;
	color: var(--wp--preset--color--muted);
}

.ga-example__row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ga-example__value {
	font-size: clamp(2.375rem, 2rem + 1.4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

.ga-example__badge {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
	font-size: 13px;
	font-weight: 700;
}

.ga-example__bar {
	height: 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--surface-2);
	overflow: hidden;
}

.ga-example__math {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
	background: none;
}

.ga-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ga-tool-card {
	flex: 1 1 250px;
	min-width: 0;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.ga-tool-card:hover {
	border-color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.ga-tool-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ga-tool-card--accent .ga-tool-card__icon {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
}

.ga-tool-card__name {
	font-weight: 700;
	font-size: 18px;
}

.ga-tool-card__desc {
	color: var(--wp--preset--color--muted);
	font-size: 15px;
}

.ga-tool-card__cta {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: 15px;
	margin-top: auto;
}

.ga-trust {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: clamp(22px, 3vw, 36px);
}

.ga-trust__title {
	margin: 0 0 24px;
}

.ga-trust__items {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 28px;
}

.ga-trust__item {
	flex: 1 1 260px;
	min-width: 0;
	display: flex;
	gap: 14px;
}

.ga-trust__item h3 {
	margin: 0 0 4px;
	font-size: 1rem;
	letter-spacing: 0;
}

.ga-trust__item p {
	margin: 0;
	font-size: 15px;
	color: var(--wp--preset--color--muted);
}

.ga-trust__icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
}

.ga-trust__icon--accent {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
}


/* ---------- Icons (CSS masks, so they survive any content filtering) ---------- */
.ga-ico {
	display: inline-block;
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask: var(--ga-ico) center / contain no-repeat;
	mask: var(--ga-ico) center / contain no-repeat;
}
.ga-trust__icon .ga-ico {
	width: 20px;
	height: 20px;
}
.ga-ico--target { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }
.ga-ico--calc { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 12h2M14 12h2M8 16h2M14 16h2'/%3E%3C/svg%3E"); }
.ga-ico--cap { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11.2V16c3 2 9 2 12 0v-4.8'/%3E%3C/svg%3E"); }
.ga-ico--list { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h10M10 12h10M10 18h10'/%3E%3Cpath d='M3.5 6l1.5 1.5L7.5 5M3.5 12l1.5 1.5L7.5 11M3.5 18l1.5 1.5L7.5 17'/%3E%3C/svg%3E"); }
.ga-ico--check { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }
.ga-ico--shield { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3C/svg%3E"); }
.ga-ico--percent { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5L5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E"); }
.ga-ico--curve { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18'/%3E%3Cpath d='M3 18c3.5 0 4.5-12 9-12s5.5 12 9 12'/%3E%3C/svg%3E"); }
.ga-ico--class { --ga-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2c2.9.4 5 2.8 5 5.8'/%3E%3C/svg%3E"); }

.ga-example__fill {
	display: block;
	width: 96%;
	height: 100%;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
}

/* ---------- Ad slots (reserved for later; renders nothing until ads are switched on) ---------- */
.ga-ad:empty {
	display: none;
}

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

/* Tables in page content (e.g. the letter grade scale) */
.wp-block-table {
	margin-block: 1.25rem;
	overflow-x: auto;
}
.wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}
.wp-block-table th,
.wp-block-table td {
	padding: 9px 14px;
	border: 0;
	text-align: left;
}
.wp-block-table thead {
	border: 0;
}
.wp-block-table thead th {
	background: var(--wp--preset--color--surface-2);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.wp-block-table tbody tr + tr td,
.wp-block-table tbody tr + tr th {
	border-top: 1px solid var(--wp--preset--color--border);
}
.wp-block-table tbody td:first-child {
	font-weight: 700;
}
@media (max-width: 600px) {
	.wp-block-table th,
	.wp-block-table td {
		padding: 8px 10px;
		font-size: 14px;
	}
}

/* "Last updated" line on policy pages */
.ga-updated {
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
}

/* On normal pages the content column is centred; keep the intro paragraph aligned with the headings. */
.wp-block-post-content.is-layout-constrained > .ga-lead {
	max-width: var(--wp--style--global--content-size, 720px);
}
