/*
Theme Name: Forth Appliance Repairs
Theme URI: https://forthappliancerepairs.co.uk/
Author: Crowstep Digital
Author URI: https://localserviceseo.co.uk/
Description: Custom local SEO theme for Forth Appliance Repairs, Stirling. Built-in service and area pages, LocalBusiness, Service, FAQ and breadcrumb schema, answer-first content, header drawer and footer menus, and the Trustindex Google reviews widget. Keeps all existing URLs.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forth-appliance-repairs
*/

:root {
	--fa-navy: #0b2a5b;
	--fa-navy-2: #0f3673;
	--fa-blue: #1450a3;
	--fa-sky: #5fa8ff;
	--fa-red: #d21f2b;
	--fa-red-dark: #a8151f;
	--fa-white: #ffffff;
	--fa-ink: #142036;
	--fa-muted: #55607a;
	--fa-tint: #f1f5fb;
	--fa-line: #d9e2ef;
	--fa-radius: 14px;
	--fa-shadow: 0 10px 30px rgba(11, 42, 91, .08);
	--fa-head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--fa-body: "Inter", "Segoe UI", Arial, sans-serif;
	--fa-wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--fa-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--fa-ink);
	background: var(--fa-white);
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--fa-blue); text-underline-offset: 3px; }
a:hover { color: var(--fa-red); }
h1, h2, h3, h4 { font-family: var(--fa-head); color: var(--fa-navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--fa-red); outline-offset: 2px; }

.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;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--fa-white); color: var(--fa-navy); padding: 10px 16px; border-radius: 8px;
}

.fa-wrap { width: 100%; max-width: var(--fa-wrap); margin: 0 auto; padding: 0 20px; }
.fa-wrap--narrow { max-width: 860px; }
.fa-center { text-align: center; }

.fa-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.fa-icon--sm { width: 1em; height: 1em; vertical-align: -.15em; }
.fa-icon--xl { width: 64px; height: 64px; }

/* Buttons */
.fa-btn {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--fa-head); font-weight: 700; font-size: 1rem;
	padding: .85em 1.35em; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
	transition: background .15s, color .15s, transform .15s;
}
.fa-btn:hover { transform: translateY(-1px); }
.fa-btn--red { background: var(--fa-red); color: var(--fa-white); }
.fa-btn--red:hover { background: var(--fa-red-dark); color: var(--fa-white); }
.fa-btn--blue { background: var(--fa-blue); color: var(--fa-white); }
.fa-btn--blue:hover { background: var(--fa-navy); color: var(--fa-white); }
.fa-btn--wa { background: var(--fa-white); color: var(--fa-navy); border-color: var(--fa-white); }
.fa-btn--wa:hover { background: transparent; color: var(--fa-white); }
.fa-btn--sm { padding: .55em 1em; font-size: .92rem; }
.fa-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }

/* Header */
.fa-header { background: var(--fa-white); border-bottom: 4px solid var(--fa-red); box-shadow: 0 2px 12px rgba(11, 42, 91, .08); position: relative; z-index: 50; }
.fa-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.fa-brand, .custom-logo-link { display: inline-flex; line-height: 0; }
.fa-header .fa-logo { width: 520px; max-width: 100%; height: auto; }
.fa-header .custom-logo { max-height: 128px; width: auto; }
.fa-header__logo { flex: none; max-width: 100%; }
.fa-header__tools { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: 1; justify-content: flex-end; }

/* Search */
.fa-search { display: flex; flex: 1; max-width: 420px; min-width: 0; border: 2px solid var(--fa-navy); border-radius: 999px; overflow: hidden; background: var(--fa-white); }
.fa-search input { flex: 1; min-width: 0; border: 0; padding: .7em 1.1em; font: 500 1rem var(--fa-body); color: var(--fa-ink); background: transparent; }
.fa-search input:focus { outline: none; }
.fa-search:focus-within { box-shadow: 0 0 0 3px rgba(210, 31, 43, .35); }
.fa-search__btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--fa-navy); color: var(--fa-white); font: 700 .95rem var(--fa-head); padding: 0 1.2em; cursor: pointer; }
.fa-search__btn:hover { background: var(--fa-blue); }

.fa-menu-toggle {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex: none;
	font: 700 1rem var(--fa-head); color: var(--fa-white); background: var(--fa-navy);
	border: 0; border-radius: 999px; padding: .8em 1.2em;
}
.fa-menu-toggle:hover { background: var(--fa-blue); }
.fa-header__call { flex: none; }

/* Book-style menu */
.fa-menu-open { overflow: hidden; }
.fa-book-overlay {
	position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
	padding: 24px; background: rgba(7, 29, 64, 0); transition: background .5s ease;
}
.fa-book-overlay[hidden] { display: none; }
.fa-book-overlay.is-open { background: rgba(7, 29, 64, .72); }
.fa-book {
	position: relative; display: grid; grid-template-columns: 1fr 6px 1fr; width: min(1080px, 100%);
	max-height: calc(100vh - 48px); perspective: 2200px;
}
.fa-book__page {
	background: var(--fa-white); padding: 40px 40px 36px; overflow-y: auto; max-height: calc(100vh - 48px);
	transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .35s ease; opacity: 0;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.fa-book__page--left {
	border-radius: 18px 0 0 18px; transform-origin: right center; transform: rotateY(90deg);
	background: linear-gradient(90deg, #fff 85%, #eef2f8 100%);
}
.fa-book__page--right {
	border-radius: 0 18px 18px 0; transform-origin: left center; transform: rotateY(-90deg);
	background: linear-gradient(270deg, #fff 85%, #eef2f8 100%);
}
.fa-book__spine { background: linear-gradient(90deg, var(--fa-red), var(--fa-red-dark)); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.fa-book-overlay.is-open .fa-book__page { transform: rotateY(0); opacity: 1; }
.fa-book-overlay.is-open .fa-book__spine { opacity: 1; }
.fa-book__close {
	position: absolute; top: -14px; right: -14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
	border: 3px solid var(--fa-white); background: var(--fa-red); color: var(--fa-white); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.fa-book__section + .fa-book__section { margin-top: 28px; }
.fa-book__title { font: 800 .8rem var(--fa-head); letter-spacing: .14em; text-transform: uppercase; color: var(--fa-red); margin-bottom: .7em; padding-bottom: .5em; border-bottom: 2px solid var(--fa-line); }
.fa-menu { list-style: none; margin: 0; padding: 0; }
.fa-menu--book li { margin: 0 0 4px; }
.fa-menu--book a { color: var(--fa-navy); text-decoration: none; font-weight: 600; }
.fa-menu--book a:hover { color: var(--fa-red); text-decoration: underline; }
.fa-menu--cols { columns: 2; column-gap: 20px; }
.fa-book__cta .fa-btn--wa { border-color: var(--fa-navy); }
.fa-book__cta .fa-btn--wa:hover { background: var(--fa-navy); color: var(--fa-white); }

/* Hero */
.fa-hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(95, 168, 255, .22), transparent 45%),
		linear-gradient(135deg, var(--fa-navy) 0%, var(--fa-navy-2) 55%, var(--fa-blue) 100%);
	color: #e6eeff; padding: 34px 0 46px; position: relative; overflow: hidden;
}
.fa-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
	background: linear-gradient(90deg, var(--fa-red) 0 33%, var(--fa-white) 33% 66%, var(--fa-sky) 66%);
}
.fa-hero h1 { color: var(--fa-white); max-width: 18em; }
.fa-hero__answer { font-size: 1.12rem; max-width: 46em; color: #e6eeff; }
.fa-hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .95rem; }
.fa-hero__ticks li { display: inline-flex; align-items: center; gap: 6px; }
.fa-hero__ticks .fa-icon { color: #ff8d95; }
.fa-hero--home { padding: 64px 0 76px; }
.fa-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.fa-hero__badge {
	display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 28px;
	max-width: 360px; margin-left: auto;
}
.fa-hero__badge .fa-icon { width: 100%; height: auto; aspect-ratio: 1; padding: 22px; color: var(--fa-white); background: rgba(255, 255, 255, .08); border-radius: 20px; stroke-width: 1.3; }
.fa-hero__badge .fa-icon:nth-child(2), .fa-hero__badge .fa-icon:nth-child(3) { color: #ff8d95; }

.fa-eyebrow { font: 800 .8rem var(--fa-head); letter-spacing: .14em; text-transform: uppercase; color: var(--fa-red); margin-bottom: .5em; }
.fa-eyebrow--light { color: #ff9aa1; }
.fa-lead { font-size: 1.1rem; color: var(--fa-muted); max-width: 52em; }

/* Breadcrumbs */
.fa-crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 18px; padding: 0; font-size: .88rem; }
.fa-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.fa-crumbs a { color: #cfe0ff; }
.fa-crumbs [aria-current] { color: var(--fa-white); }

/* Sections */
.fa-section { padding: 64px 0; }
.fa-section--tint { background: var(--fa-tint); }
.fa-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }

/* Cards */
.fa-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.fa-card {
	display: flex; flex-direction: column; padding: 24px; border-radius: var(--fa-radius);
	background: var(--fa-white); border: 1px solid var(--fa-line); box-shadow: var(--fa-shadow);
	text-decoration: none; color: var(--fa-ink); transition: transform .15s, border-color .15s;
}
.fa-card:hover { transform: translateY(-3px); border-color: var(--fa-blue); color: var(--fa-ink); }
.fa-card__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: var(--fa-tint); color: var(--fa-blue); margin-bottom: 14px; }
.fa-card__icon .fa-icon { width: 32px; height: 32px; }
.fa-card:nth-child(even) .fa-card__icon { color: var(--fa-red); }
.fa-card p { font-size: .95rem; color: var(--fa-muted); }
.fa-card__more { margin-top: auto; font-weight: 700; color: var(--fa-red); display: inline-flex; gap: 6px; align-items: center; }

/* Pills */
.fa-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0; padding: 0; }
.fa-pills a {
	display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--fa-white);
	border: 1px solid var(--fa-line); color: var(--fa-navy); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.fa-pills a:hover { border-color: var(--fa-red); color: var(--fa-red); }
.fa-pill__prefix { font-weight: 400; color: var(--fa-muted); }

/* Lists */
.fa-ticklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.fa-ticklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.fa-ticklist li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--fa-red) 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='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.fa-steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.fa-steps li { counter-increment: step; position: relative; padding: 22px 22px 22px 22px; background: var(--fa-white); border: 1px solid var(--fa-line); border-radius: var(--fa-radius); }
.fa-steps li::before { content: counter(step); display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--fa-navy); color: var(--fa-white); font: 800 1rem var(--fa-head); margin-bottom: 10px; }
.fa-steps strong { display: block; font-family: var(--fa-head); color: var(--fa-navy); margin-bottom: 4px; }
.fa-steps span { color: var(--fa-muted); font-size: .95rem; }
.fa-steps--compact { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.fa-brands { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.fa-brands li { padding: 8px 16px; border-radius: 8px; background: var(--fa-tint); color: var(--fa-navy); font: 700 .95rem var(--fa-head); }
.fa-brands--sm li { padding: 4px 10px; font-size: .85rem; }

/* Key facts */
.fa-facts { background: var(--fa-white); border: 1px solid var(--fa-line); border-top: 5px solid var(--fa-blue); border-radius: var(--fa-radius); padding: 22px; box-shadow: var(--fa-shadow); }
.fa-facts__title { font-size: 1.1rem; }
.fa-facts dl { margin: 0; }
.fa-facts dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--fa-line); font-size: .94rem; }
.fa-facts dl > div:last-child { border-bottom: 0; }
.fa-facts dt { font-weight: 700; color: var(--fa-navy); }
.fa-facts dd { margin: 0; overflow-wrap: anywhere; }

/* Content layout */
.fa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 48px; padding-bottom: 56px; }
.fa-prose h2 { margin-top: 1.6em; }
.fa-prose > h2:first-child, .fa-prose .fa-toc + h2 { margin-top: 0; }
.fa-prose ul:not([class]), .fa-prose ol:not([class]) { padding-left: 1.3em; }
.fa-side__sticky { position: sticky; top: 24px; display: grid; gap: 20px; }
.fa-side__box { background: var(--fa-tint); border-radius: var(--fa-radius); padding: 22px; }
.fa-side__title { font-size: 1.05rem; }
.fa-side__links { list-style: none; margin: 0; padding: 0; }
.fa-side__links li { border-bottom: 1px solid var(--fa-line); }
.fa-side__links li:last-child { border-bottom: 0; }
.fa-side__links a { display: flex; gap: 8px; align-items: center; padding: 9px 0; text-decoration: none; font-weight: 600; color: var(--fa-navy); }
.fa-side__links a:hover { color: var(--fa-red); }
.fa-sidebar .widget { background: var(--fa-tint); border-radius: var(--fa-radius); padding: 22px; }
.fa-sidebar .widget-title { font-size: 1.05rem; }

.fa-toc { background: var(--fa-tint); border-left: 4px solid var(--fa-red); border-radius: 8px; padding: 16px 20px; margin-bottom: 28px; }
.fa-toc__title { font: 800 .8rem var(--fa-head); letter-spacing: .12em; text-transform: uppercase; color: var(--fa-navy); margin-bottom: 6px; }
.fa-toc ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.fa-toc a { font-weight: 600; }

.fa-table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--fa-line); border-radius: var(--fa-radius); }
.fa-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fa-table th, .fa-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--fa-line); }
.fa-table thead th { background: var(--fa-navy); color: var(--fa-white); font-family: var(--fa-head); font-size: .88rem; letter-spacing: .03em; }
.fa-table tbody th { color: var(--fa-navy); font-weight: 700; min-width: 170px; }
.fa-table tbody tr:nth-child(even) { background: var(--fa-tint); }
.fa-table tbody tr:last-child > * { border-bottom: 0; }

.fa-note { display: flex; gap: 10px; align-items: flex-start; background: #fff3f4; border: 1px solid #f6c9cd; border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.fa-note .fa-icon { color: var(--fa-red); margin-top: .25em; }
.fa-updated { font-size: .85rem; color: var(--fa-muted); margin-top: 2em; }
.fa-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* FAQs */
.fa-faq-list { display: grid; gap: 12px; margin-top: 20px; }
.fa-faq { background: var(--fa-white); border: 1px solid var(--fa-line); border-radius: 12px; }
.fa-faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; }
.fa-faq summary::-webkit-details-marker { display: none; }
.fa-faq summary::after {
	content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; background: var(--fa-navy); color: var(--fa-white);
	display: flex; align-items: center; justify-content: center; font: 700 1.1rem/1 var(--fa-head);
}
.fa-faq[open] summary::after { content: "–"; background: var(--fa-red); }
.fa-faq summary h3 { margin: 0; font-size: 1.05rem; display: inline; }
.fa-faq__a { padding: 0 20px 6px; color: var(--fa-ink); }
.fa-faqs + .fa-faq-more, .fa-faq-more { margin-top: -40px; padding-bottom: 20px; }
.fa-faq-nav { padding-top: 32px; }
.fa-faqs:nth-of-type(even) { background: var(--fa-tint); }

/* Reviews */
.fa-reviews { background: var(--fa-white); }
.fa-reviews__widget { margin: 24px 0; min-height: 40px; }
.fa-reviews__more { text-align: center; }

/* Areas hub */
.fa-area-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.fa-area-group { background: var(--fa-tint); border-radius: var(--fa-radius); padding: 24px; }
.fa-area-group h2 { font-size: 1.25rem; }

/* Contact */
.fa-contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.fa-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.fa-contact-list li > .fa-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--fa-tint); color: var(--fa-blue); }
.fa-contact-list strong { display: block; font-family: var(--fa-head); color: var(--fa-navy); }
.fa-contact-list address { font-style: normal; }
.fa-map { border-radius: var(--fa-radius); overflow: hidden; margin-bottom: 20px; border: 1px solid var(--fa-line); }
.fa-map iframe { display: block; width: 100%; height: 360px; }

/* CTA band */
.fa-band { background: var(--fa-red); color: var(--fa-white); padding: 44px 0; }
.fa-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.fa-band h2 { color: var(--fa-white); margin-bottom: .3em; }
.fa-band p { margin: 0; max-width: 40em; }
.fa-band .fa-btn--red { background: var(--fa-navy); }
.fa-band .fa-btn--red:hover { background: var(--fa-blue); }
.fa-band .fa-btn--wa:hover { color: var(--fa-white); border-color: var(--fa-white); }

/* Blog */
.fa-posts { display: grid; gap: 24px; }
.fa-post-card { display: grid; grid-template-columns: 240px 1fr; gap: 22px; border: 1px solid var(--fa-line); border-radius: var(--fa-radius); overflow: hidden; }
.fa-post-card:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.fa-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fa-post-card__body { padding: 22px; }
.fa-post-card__meta { font-size: .85rem; color: var(--fa-muted); margin-bottom: 4px; }
.fa-post-card__title { font-size: 1.3rem; }
.fa-post-card__title a { color: var(--fa-navy); text-decoration: none; }
.fa-featured { margin: 0 0 24px; }
.fa-featured img { border-radius: var(--fa-radius); }
.fa-post-services { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 6px 12px; border: 1px solid var(--fa-line); border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--fa-navy); color: var(--fa-white); }

/* Footer */
.fa-footer { background: var(--fa-navy); color: #cbd8f2; font-size: .95rem; }
.fa-footer a { color: var(--fa-white); text-decoration: none; }
.fa-footer a:hover { color: #ffc7cb; text-decoration: underline; }
.fa-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.fa-footer .fa-brand { display: block; width: 100%; }
.fa-footer .fa-logo { display: block; width: 100%; max-width: none; height: auto; margin-bottom: 18px; }
.fa-footer__title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #ff8d95; margin-bottom: 16px; }
.fa-footer__title--spaced { margin-top: 28px; }
.fa-footer__contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fa-footer__contact-list li { display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; font-size: .92rem; }
.fa-footer__contact-list .fa-icon { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--fa-white); }
.fa-menu--footer li { margin-bottom: 6px; }
.fa-footer__areas { line-height: 1.9; }
.fa-social { display: flex; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.fa-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--fa-white); color: var(--fa-navy); }
.fa-social .fa-icon { width: 24px; height: 24px; }
.fa-social a:hover { background: var(--fa-red); color: var(--fa-white); }
.fa-footer__bottom { background: #071d40; border-top: 4px solid var(--fa-red); font-size: .86rem; }
.fa-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.fa-footer__bottom p { margin: 0; }
@media (min-width: 641px) { .fa-footer__bottom-inner { padding-right: 240px; } }
.fa-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* WhatsApp bubble */
.fa-wa-bubble {
	position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 10px;
	padding: 8px 18px 8px 8px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25); font: 700 1rem var(--fa-head); transition: transform .15s;
}
.fa-wa-bubble:hover { color: #fff; transform: translateY(-2px); }
.fa-wa-bubble__icon { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.fa-wa-bubble__icon .fa-icon { width: 28px; height: 28px; }
.fa-wa-bubble__text { display: flex; flex-direction: column; line-height: 1.15; }
.fa-wa-bubble__text small { font: 600 .72rem var(--fa-body); opacity: .9; }

/* WordPress core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption-text { font-size: .85rem; color: var(--fa-muted); }

/* Responsive */
@media (max-width: 1100px) {
	.fa-header .fa-logo { width: 380px; }
	.fa-header__call span { display: none; }
	.fa-header__call { padding: .8em; }
	.fa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.fa-hero__grid, .fa-split, .fa-layout { grid-template-columns: minmax(0, 1fr); }
	.fa-hero__art { display: none; }
	.fa-side__sticky { position: static; }
	.fa-post-card { grid-template-columns: 1fr; }
	/* Book becomes a single page that opens from the left edge, like a cover. */
	.fa-book { grid-template-columns: 6px 1fr; perspective: 1600px; }
	.fa-book__spine { grid-row: 1 / span 2; grid-column: 1; }
	.fa-book__page { grid-column: 2; max-height: none; box-shadow: none; background: var(--fa-white); }
	.fa-book__page--left { border-radius: 0 18px 0 0; transform-origin: left center; transform: rotateY(-90deg); padding-bottom: 8px; }
	.fa-book__page--right { border-radius: 0 0 18px 0; padding-top: 8px; }
	.fa-book { overflow-y: auto; border-radius: 0 18px 18px 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
	.fa-book__close { top: 8px; right: 8px; }
}
@media (max-width: 760px) {
	.fa-header__inner { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.fa-header__logo, .fa-header__logo .fa-brand, .fa-header__logo .custom-logo-link { display: block; width: 100%; }
	.fa-header .fa-logo { width: 100%; }
	.fa-header .custom-logo { width: 100%; max-height: none; }
	.fa-header__tools { margin-left: 0; width: 100%; }
	.fa-search { max-width: none; }
	.fa-header__call { display: none; }
	.fa-menu-toggle span { display: none; }
	.fa-menu-toggle { padding: .8em; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.fa-section { padding: 44px 0; }
	.fa-hero--home { padding: 40px 0 52px; }
	.fa-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.fa-facts dl > div { grid-template-columns: 1fr; gap: 0; }
	.fa-book-overlay { padding: 12px; align-items: flex-start; }
	.fa-book { max-height: calc(100vh - 24px); }
	.fa-book__page { padding: 28px 22px; }
	.fa-search__btn span { display: none; }
	.fa-search__btn { padding: 0 1em; }
	.fa-wa-bubble { right: 14px; bottom: 14px; padding-right: 8px; }
	.fa-wa-bubble__text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
