/* ==========================================================================
   FibreGeeks theme — dark design with Apple-style details
   Brand: green #99CC33 · black · white · Rajdhani Bold headings, Inter body
   ========================================================================== */

:root {
	--fg-green: #99CC33;
	--fg-green-hover: #B3DD62;
	--fg-green-dark: #4A7012;
	--fg-black: #000000;
	--fg-ink: #1D1D1F;
	--fg-tile: #161617;
	--fg-tile-2: #1C1C1E;
	--fg-line: #2A2A2C;
	--fg-muted: #A1A1A6;
	--fg-muted-light: #6E6E73;
	--fg-paper: #F5F5F7;
	--fg-radius: 28px;
	--fg-section-y: clamp(80px, 11vw, 136px);
	--fg-ease: cubic-bezier(.25, .1, .25, 1);
	--fg-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 440' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M-20 380C300 380 420 90 1220 70' stroke='%2399CC33' stroke-width='2'/%3E%3Cpath d='M-20 400C320 400 460 150 1220 130' stroke='%2399CC33' stroke-opacity='.6' stroke-width='2'/%3E%3Cpath d='M-20 420C340 420 500 210 1220 190' stroke='%2399CC33' stroke-opacity='.35' stroke-width='2'/%3E%3Cpath d='M-20 440C360 440 540 270 1220 250' stroke='%2399CC33' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E");
}

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

/* Sections sit flush against each other. */
.wp-site-blocks > * + *,
.fg-main > * + * {
	margin-block-start: 0;
}

/* ---------- Shared type ---------- */
.fg-eyebrow {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fg-green-dark);
}
.fg-dark .fg-eyebrow,
.fg-page-head .fg-eyebrow { color: var(--fg-green); }

.fg-lead {
	font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
	line-height: 1.45;
	letter-spacing: -0.01em;
	max-width: 680px;
}

.fg-center {
	gap: 18px;
	text-align: center;
	align-items: center;
	max-width: 860px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.fg-center > * { margin: 0 !important; }
.fg-center .fg-lead { margin-left: auto !important; margin-right: auto !important; }
.fg-center--narrow { max-width: 900px; }

/* "Learn more ›" links */
.fg-chevron { margin: 0; font-size: 1.1875rem; }
.fg-chevron a { text-decoration: none; }
.fg-chevron a::after { content: "\00a0›"; }
.fg-chevron a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fg-dark .fg-chevron a,
.fg-page-head .fg-chevron a { color: var(--fg-green); }
.fg-light .fg-chevron a { color: var(--fg-green-dark); }
.fg-chevron--dark a { color: var(--fg-black) !important; }

.fg-actions { gap: 16px 32px; align-items: center; margin-top: 10px !important; }

/* ---------- Section shells ---------- */
.fg-section {
	padding-top: var(--fg-section-y);
	padding-bottom: var(--fg-section-y);
}
.fg-section > * + * { margin-block-start: 64px; }
.fg-section--tight { padding-top: 24px; padding-bottom: 96px; }

.fg-dark { background: var(--fg-black); color: #F5F5F7; }
.fg-dark h1, .fg-dark h2, .fg-dark h3 { color: #FFFFFF; }
.fg-dark .fg-lead, .fg-dark p { color: var(--fg-muted); }
.fg-dark a { color: var(--fg-green); }
.fg-dark a:hover { color: #FFFFFF; }

.fg-light { background: var(--fg-paper); color: var(--fg-ink); }
.fg-light h2, .fg-light h3 { color: var(--fg-ink); }
.fg-light p, .fg-light .fg-lead { color: var(--fg-muted-light); }
.fg-light a { color: var(--fg-green-dark); }

.fg-section h2 {
	font-size: clamp(2.75rem, 5.6vw, 4.5rem);
	line-height: 0.98;
	letter-spacing: -0.01em;
}

/* ---------- Header (frosted glass) ---------- */
.fg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding-top: 0;
	padding-bottom: 0;
}
.admin-bar .fg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fg-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .fg-header { top: 0; } }

.fg-header__inner { min-height: 60px; gap: 16px; align-items: center; }
.fg-header__nav { gap: 26px; align-items: center; }

.fg-logo { margin: 0; flex: none; }
.fg-logo img { width: 156px; height: auto; display: block; }

.fg-nav { font-size: 0.875rem; font-weight: 400; gap: 4px 26px; }
.fg-nav a { color: var(--fg-ink); text-decoration: none; opacity: 0.88; transition: opacity .2s var(--fg-ease); }
.fg-nav a:hover { opacity: 1; color: var(--fg-ink); }
.fg-nav .current-menu-item > a { opacity: 1; font-weight: 600; }
.fg-nav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
.fg-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(255, 255, 255, 0.97);
	padding: 24px;
}
.fg-nav .is-menu-open .wp-block-navigation-item a { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }

.fg-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.875rem;
	color: var(--fg-ink);
	text-decoration: none;
	opacity: 0.88;
	white-space: nowrap;
}
.fg-status:hover { opacity: 1; color: var(--fg-ink); }
.fg-status__dot { width: 7px; height: 7px; border-radius: 50%; background: #C7C7CC; flex: none; }
.fg-status[data-state="up"] .fg-status__dot { background: var(--fg-green); box-shadow: 0 0 0 3px rgba(153, 204, 51, .22); }
.fg-status[data-state="issues"] .fg-status__dot { background: #F5A524; }
.fg-status[data-state="maintenance"] .fg-status__dot { background: #5AA9F5; }

.fg-header__cta { flex: none; }
.fg-header__cta .wp-block-button__link {
	padding: 0.45rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
}

@media (max-width: 600px) {
	.fg-logo img { width: 128px; }
	.fg-header__nav { gap: 14px; }
	.fg-status__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
}

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link {
	transition: background-color .2s var(--fg-ease), color .2s var(--fg-ease);
}
.wp-block-button:not(.fg-btn-black) .wp-block-button__link:hover { background: var(--fg-green-hover); color: var(--fg-black); }
.fg-btn-black .wp-block-button__link { background: var(--fg-black); color: #FFFFFF; }
.fg-btn-black .wp-block-button__link:hover { background: #2A2A2C; color: #FFFFFF; }

/* ---------- Hero ---------- */
.fg-hero { padding-top: clamp(88px, 11vw, 140px); padding-bottom: 0; }
.fg-hero > * + * { margin-block-start: 72px; }
.fg-hero__title {
	font-size: clamp(3.5rem, 9.4vw, 7.75rem);
	line-height: 0.92;
	letter-spacing: -0.015em;
}
.fg-hero .wp-block-button__link { font-size: 1.0625rem; padding: 0.95rem 1.75rem; }

.fg-hero__panel {
	position: relative;
	min-height: clamp(300px, 36vw, 460px);
	border-radius: 32px;
	padding: clamp(28px, 4vw, 56px);
	box-sizing: border-box;
	background-color: #0A0A0A;
	background-image: radial-gradient(circle at 74% 18%, rgba(153, 204, 51, .22), transparent 10%), var(--fg-lines);
	background-size: 100% 100%, 100% 100%;
	border: 1px solid #1A1A1A;
	gap: 6px !important;
	justify-content: flex-end;
}
.fg-hero__panel > * { margin: 0 !important; }
.fg-hero__panel-kicker { font-size: 0.9375rem; color: var(--fg-muted) !important; }
.fg-hero__panel-title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1;
	color: #FFFFFF !important;
}

/* ---------- Proof strip ---------- */
.fg-proof {
	background: var(--fg-black);
	padding-top: 72px;
	padding-bottom: 72px;
}
.fg-proof__grid { gap: 32px; }
.fg-stat { gap: 4px; text-align: center; align-items: center; }
.fg-stat p { margin: 0; }
.fg-stat__num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(2.25rem, 3.6vw, 3rem);
	line-height: 1;
	color: #FFFFFF;
}
.fg-stat__label { font-size: 0.9375rem; color: var(--fg-muted); }

/* ---------- Grids ---------- */
.fg-grid { gap: 20px; }
.fg-grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(var(--fg-min, 260px), 100%), 1fr)); }
.fg-grid--2 { --fg-min: 420px; }
.fg-grid--3 { --fg-min: 260px; }
.fg-grid--4 { --fg-min: 200px; }
.fg-isps.is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.fg-team.is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 44px 20px; }
.fg-proof__grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.fg-footer__grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

/* ---------- Tiles ---------- */
.fg-tile {
	border-radius: var(--fg-radius);
	padding: 40px;
	gap: 14px;
	align-items: flex-start;
	box-sizing: border-box;
	background: var(--fg-tile);
}
.fg-tile > * { margin: 0 !important; }
.fg-tile h3 { font-size: clamp(1.625rem, 2.2vw, 2rem); line-height: 1.05; }
.fg-tile p { font-size: 1.0625rem; line-height: 1.5; }
.fg-tile__link { margin-top: auto !important; padding-top: 6px; font-size: 1.0625rem; }

.fg-tile--light { background: #FFFFFF; }
.fg-tile--light h3 { color: var(--fg-ink); }
.fg-tile--light p { color: var(--fg-muted-light); }

.fg-tile--big {
	min-height: 360px;
	padding: 48px;
}
.fg-tile--big h3 { font-size: clamp(2rem, 3vw, 2.5rem); }
.fg-tile--big p { font-size: 1.1875rem; max-width: 420px; }
.fg-tile--big > .fg-icon { order: 3; width: 72px; height: 72px; margin-top: auto !important; }

.fg-tile--small .fg-icon { width: 40px; height: 40px; }
.fg-icon { color: var(--fg-green); display: block; }

.fg-bento > * + * { margin-block-start: 20px; }

.fg-step {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--fg-black);
	color: var(--fg-green) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.fg-step--sm { width: 36px; height: 36px; font-size: 0.9375rem; background: var(--fg-green); color: var(--fg-black) !important; }

.fg-tile--step { padding: 28px; gap: 16px; border-radius: 24px; }
.fg-tile--step > .wp-block-group { gap: 4px; }
.fg-tile--step > .wp-block-group > * { margin: 0; }
.fg-tile__title { font-size: 1.125rem !important; font-weight: 600; color: #FFFFFF !important; letter-spacing: -0.01em; }
.fg-tile--step p:not(.fg-tile__title):not(.fg-step) { font-size: 0.9375rem; }

.fg-tile--outline { background: transparent; border: 1px solid var(--fg-line); padding: 28px; border-radius: 24px; gap: 6px; }
.fg-tile--outline p { font-size: 0.9375rem; }

/* ---------- Signup portal ---------- */
.fg-portal { max-width: 1000px; margin-left: auto !important; margin-right: auto !important; text-align: center; }
.fg-portal__open {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 60px;
	padding: 0 32px 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--fg-green);
	color: var(--fg-black);
	font: inherit;
	font-size: 1.1875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s var(--fg-ease), transform .2s var(--fg-ease);
}
.fg-portal__open:hover { background: var(--fg-green-hover); }
.fg-portal__open:active { transform: scale(.98); }
.fg-portal__open[hidden] { display: none; }
.fg-portal__panel,
.fg-portal--embed {
	text-align: left;
	background: #FFFFFF;
	color: var(--fg-ink);
	border-radius: var(--fg-radius);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.fg-portal__panel { animation: fg-rise .35s var(--fg-ease); }
@keyframes fg-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fg-portal__panel { animation: none; } }
.fg-portal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px 12px 24px;
	background: #FBFBFD;
	border-bottom: 1px solid #E8E8ED;
	font-size: 0.875rem;
	font-weight: 600;
}
.fg-portal__close {
	width: 36px; height: 36px;
	border: 0; border-radius: 50%;
	background: #EDEDF0; color: var(--fg-ink);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
}
.fg-portal__close:hover { background: #E2E2E6; }
.fg-portal__frame { height: 760px; background: #FFFFFF; }
.fg-portal--embed .fg-portal__frame { height: 860px; }
.fg-portal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.fg-portal__note {
	margin: 0 !important;
	padding: 16px 24px;
	border-top: 1px solid #E8E8ED;
	background: #FBFBFD;
	font-size: 0.875rem !important;
	line-height: 1.5;
	color: var(--fg-muted-light) !important;
}
.fg-portal__fallback { display: inline-block; margin-top: 12px; }
.fg-portal :focus-visible,
.fg-search input:focus-visible { outline: 2px solid var(--fg-green); outline-offset: 3px; }
@media (max-width: 600px) {
	.fg-portal__frame, .fg-portal--embed .fg-portal__frame { height: 900px; }
	.fg-portal__open { width: 100%; justify-content: center; }
}

/* ---------- Why fibre ---------- */
.fg-why .fg-display { font-size: clamp(3.5rem, 8.6vw, 7rem); line-height: 0.92; }
.fg-why__grid { gap: 40px 24px; max-width: 1000px; margin-left: auto !important; margin-right: auto !important; }
.fg-why__item { gap: 6px; text-align: center; align-items: center; }
.fg-why__item > * { margin: 0; }
.fg-why__word {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 2.125rem;
	line-height: 1;
	color: #FFFFFF !important;
}
.fg-why__text { font-size: 1rem; }

/* ---------- Green card (developers / CTA) ---------- */
.fg-dev-wrap { padding-top: 0; }
.fg-dev {
	max-width: var(--wp--style--global--content-size, 1200px);
	background: var(--fg-green);
	border-radius: 32px;
	padding: clamp(56px, 8vw, 96px) 32px;
	box-sizing: border-box;
}
.fg-dev h2 { color: var(--fg-black) !important; }
.fg-dev .fg-eyebrow { color: #1E2E06; }
.fg-dev .fg-lead { color: #1A1A1A !important; }
.fg-section--tight .fg-dev h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }

/* ---------- Page heads ---------- */
.fg-page-head {
	background: var(--fg-black);
	color: #FFFFFF;
	padding-top: clamp(80px, 10vw, 128px);
	padding-bottom: 64px;
}
.fg-page-head > * + * { margin-block-start: 56px; }
.fg-page-head h1 {
	color: #FFFFFF;
	margin: 0;
	font-size: clamp(3.25rem, 8vw, 6.5rem);
	line-height: 0.95;
	letter-spacing: -0.01em;
}
.fg-page-head .fg-lead { color: var(--fg-muted); }
.fg-page-head .fg-single-title { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.fg-404 { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* Light content area for ordinary pages and articles */
.fg-content { padding-top: 64px; padding-bottom: 96px; background: #FFFFFF; color: var(--fg-ink); font-size: 1.125rem; line-height: 1.65; }
.fg-single-image img { border-radius: 24px; }
.fg-post-nav { margin-top: 64px !important; padding-top: 24px; border-top: 1px solid #E8E8ED; gap: 16px; font-size: 1rem; }

/* ---------- Contact: ISP directory ---------- */
.fg-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 480px;
	margin: 8px auto 0;
	padding: 0 20px;
	box-sizing: border-box;
	background: var(--fg-tile-2);
	border-radius: 999px;
	color: var(--fg-muted);
}
.fg-search input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	border: 0;
	background: transparent;
	color: #FFFFFF;
	font: inherit;
	font-size: 1.0625rem;
	outline: none;
}
.fg-search input::placeholder { color: #8E8E93; }
.fg-isp {
	background: var(--fg-tile);
	border-radius: 20px;
	padding: 22px;
	gap: 6px;
}
.fg-isp > * { margin: 0; }
.fg-isp__name { font-size: 1.0625rem; font-weight: 600; color: #FFFFFF !important; letter-spacing: -0.01em; }
.fg-isp__phone a { color: #F5F5F7; text-decoration: none; font-size: 0.9375rem; }
.fg-isp__contact a { font-size: 0.875rem; text-decoration: none; overflow-wrap: anywhere; }
.fg-isp-empty { text-align: center; font-size: 1.0625rem; color: var(--fg-muted); }
.fg-status-line { text-align: center; font-size: 1rem; }
.fg-status-line a { white-space: nowrap; text-decoration: none; }
.fg-status-line a::after { content: "\00a0›"; }

/* ---------- Contact: still need us ---------- */
.fg-contact { gap: 20px; }
.fg-contact > .fg-tile { padding: 40px; }
.fg-form-slot {
	border: 1.5px dashed #C7C7CC;
	border-radius: 16px;
	padding: 28px;
	font-size: 0.9375rem !important;
	background: #FBFBFD;
}
.fg-kv__label { font-size: 0.8125rem !important; color: var(--fg-muted-light) !important; margin-top: 10px !important; }
.fg-kv__label:first-child { margin-top: 0 !important; }
.fg-kv__big { font-size: 1.625rem !important; font-weight: 600; letter-spacing: -0.02em; }
.fg-kv__big a, .fg-kv__value a { color: var(--fg-ink) !important; text-decoration: none; }
.fg-kv__value { font-size: 1.0625rem !important; font-weight: 500; }
.fg-kv__social { font-size: 1rem; }
.fg-kv__social a + a { margin-left: 14px; }

/* ---------- Team ---------- */
.fg-person { gap: 4px; }
.fg-person > * { margin: 0; }
.fg-person__photo,
.fg-person__initials {
	aspect-ratio: 4 / 5;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: var(--fg-tile-2);
	margin-bottom: 14px !important;
}
.fg-person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-person__initials {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 3.5rem;
	color: #48484A !important;
}
.fg-person__name { font-size: 1.1875rem; font-weight: 600; color: #FFFFFF !important; letter-spacing: -0.015em; padding: 0 4px; }
.fg-person__role { font-size: 0.9375rem; padding: 0 4px; }

/* ---------- News ---------- */
.fg-cats-wrap { gap: 8px; }
.fg-cats-wrap > * { margin: 0; }
.fg-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fg-cats li { margin: 0; }
.fg-cats a,
.fg-cat-all a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--fg-tile-2);
	color: #F5F5F7;
	font-size: 0.875rem;
	text-decoration: none;
	transition: background-color .2s var(--fg-ease);
}
.fg-cats a:hover, .fg-cat-all a:hover { background: #2C2C2E; color: #FFFFFF; }
.fg-cats .current-cat a { background: #FFFFFF; color: var(--fg-black); font-weight: 600; }
body.blog .fg-cat-all a, body.page .fg-cat-all a { background: #FFFFFF; color: var(--fg-black); font-weight: 600; }

.fg-featured {
	gap: 0 !important;
	background: var(--fg-tile);
	border-radius: var(--fg-radius);
	overflow: hidden;
	margin: 0;
}
.fg-featured__media {
	min-height: 320px;
	background-color: #0A0A0A;
	background-image: var(--fg-lines);
	background-size: 100% 100%;
}
.fg-featured__media .wp-block-post-featured-image { margin: 0; height: 100%; }
.fg-featured__media img { height: 100% !important; object-fit: cover; }
.fg-featured__body { padding: clamp(28px, 4vw, 52px); }
.fg-featured__body > * { margin: 0 0 14px !important; }
.fg-featured__title { font-size: clamp(1.875rem, 3vw, 2.5rem) !important; line-height: 1.05 !important; }
.fg-featured__title a, .fg-post .wp-block-post-title a { color: #FFFFFF; text-decoration: none; }
.fg-featured__title a:hover, .fg-post .wp-block-post-title a:hover { color: var(--fg-green); }
.fg-featured .wp-block-post-excerpt__excerpt { font-size: 1.0625rem; line-height: 1.5; }
.fg-featured .wp-block-read-more { font-size: 1.0625rem; color: var(--fg-green); text-decoration: none; }
.fg-featured .wp-block-read-more::after { content: "\00a0›"; }

.fg-posts { margin-top: 56px; }
.fg-featured-query + .fg-posts { margin-top: 56px; }
.fg-post-grid { gap: 48px 24px !important; }
.fg-post { gap: 10px; }
.fg-post > * { margin: 0; }
.fg-post .wp-block-post-featured-image { margin-bottom: 8px; }
.fg-post .wp-block-post-featured-image img { border-radius: 20px; }
.fg-post .wp-block-post-title { font-size: 1.375rem; line-height: 1.15; }
.fg-post .wp-block-post-excerpt__excerpt { font-size: 0.9375rem; line-height: 1.5; margin: 0; }
.fg-post-date { font-size: 0.8125rem; color: var(--fg-muted); }
.fg-pagination { margin-top: 56px; gap: 8px; font-size: 1rem; }
.fg-pagination a, .fg-pagination .current { color: #F5F5F7; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.fg-pagination .current { background: #FFFFFF; color: var(--fg-black); }

.fg-searchform { width: 100%; max-width: 520px; }
.fg-searchform .wp-block-search__input { border-radius: 999px; border: 0; padding: 12px 20px; background: var(--fg-tile-2); color: #FFFFFF; }

/* ---------- Footer ---------- */
.fg-footer {
	background: var(--fg-black);
	color: var(--fg-muted);
	border-top: 1px solid #1C1C1E;
	padding-top: 64px;
	padding-bottom: 32px;
	font-size: 0.8125rem;
}
.fg-footer > * + * { margin-block-start: 48px; }
.fg-footer__grid { gap: 32px; }
.fg-footer__col { gap: 12px; align-items: flex-start; }
.fg-footer__col > * { margin: 0; }
.fg-footer__col p { line-height: 1.9; }
.fg-footer a { color: #D2D2D7; text-decoration: none; }
.fg-footer a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.fg-footer__logo img { width: 180px; height: auto; display: block; }
.fg-footer__phone { font-size: 1rem; font-weight: 600; }
.fg-footer__phone a { color: var(--fg-green); }
.fg-footer__head { font-size: 0.8125rem; font-weight: 600; color: #F5F5F7; }
.fg-award { border: 1px solid #2A2A2C; border-radius: 16px; padding: 16px; gap: 4px; }
.fg-award > * { margin: 0; }
.fg-award__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.15 !important;
	color: #FFFFFF;
}
.fg-award__text { font-size: 0.8125rem; line-height: 1.5 !important; }
.fg-footer__bottom { border-top: 1px solid #1C1C1E; padding-top: 24px; gap: 12px 24px; font-size: 0.75rem; }
.fg-footer__bottom p { margin: 0; color: #86868B; }
.fg-footer__legal a { color: #86868B; margin-left: 18px; }
.fg-footer__legal a:first-child { margin-left: 0; }

/* ---------- Utilities ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 781px) {
	.fg-section > * + * { margin-block-start: 48px; }
	.fg-tile, .fg-tile--big { padding: 32px; }
	.fg-tile--big { min-height: 280px; }
	.fg-featured__media { min-height: 220px; }
}

/* Buttons keep their own colours inside dark/light sections. */
.fg-dark .wp-block-button:not(.fg-btn-black) .wp-block-button__link,
.fg-light .wp-block-button:not(.fg-btn-black) .wp-block-button__link,
.fg-page-head .wp-block-button:not(.fg-btn-black) .wp-block-button__link { color: var(--fg-black); }
.fg-dark .fg-btn-black .wp-block-button__link { color: #FFFFFF; }
.fg-hero .fg-center { max-width: 1120px; }

.fg-page-head p:not(.fg-eyebrow):not(.fg-tile__title):not(.fg-step) { color: var(--fg-muted); }
.fg-page-head > .fg-steps { margin-block-start: 56px; }
.fg-page-head:has(.fg-steps) { padding-bottom: 40px; }
.fg-portal--embed { max-width: none; }
.fg-contact .fg-tile { display: flex; flex-direction: column; gap: 12px; }
.fg-tile--paper { background: #FFFFFF; }
.fg-tile--paper p { color: var(--fg-ink); }
