/*
Theme Name: Averroes Consultancy
Author: Averroes Consultancy
Description: A minimalist one-page theme for Averroes Consultancy, a strategic advisory and communications firm. Deep navy, warm paper and a muted bronze accent, with serif headings. Every line of homepage text, plus contact details, accent colour and fonts, is editable under Appearance → Customize → Averroes Homepage.
Version: 1.0.0
Requires at least: 6.0
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: averroes
Tags: one-column, custom-logo, custom-menu, custom-colors, translation-ready, blog
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--av-navy: #15233a;
	--av-navy-deep: #0f1a2c;
	--av-paper: #f5f2eb;
	--av-paper-2: #ede8dd;
	--av-ink: #141c28;
	--av-body: #4a525e;
	--av-muted: #5a6270;
	--av-rule: #cfc6b4;
	--av-accent: #a8875a;
	--av-accent-ink: #7a5f36;
	--av-on-dark: #f5f2eb;
	--av-on-dark-muted: #c3cad4;
	--av-on-dark-rule: rgba(245, 242, 235, 0.14);

	--av-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--av-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--av-container: 1200px;
	--av-gutter: clamp(20px, 5vw, 64px);
	--av-section: clamp(80px, 10vw, 140px);
	--av-header-h: 88px;
	--av-ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}

@media (max-width: 860px) {
	:root {
		--av-header-h: 72px;
	}
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

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

body {
	margin: 0;
	background: var(--av-paper);
	color: var(--av-ink);
	font-family: var(--av-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

svg {
	max-width: 100%;
}

a {
	color: var(--av-navy);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--av-accent-ink);
}

:focus-visible {
	outline: 2px solid var(--av-accent);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--av-serif);
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}

p {
	margin: 0;
}

section[id] {
	scroll-margin-top: var(--av-header-h);
}

.admin-bar section[id] {
	scroll-margin-top: calc(var(--av-header-h) + 32px);
}

::selection {
	background: var(--av-accent);
	color: var(--av-navy);
}

.container {
	width: 100%;
	max-width: var(--av-container);
	margin-inline: auto;
	padding-inline: var(--av-gutter);
}

.container--narrow {
	max-width: 880px;
}

/* ==========================================================================
   3. Accessibility helpers
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 16px;
	top: 16px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--av-paper);
	color: var(--av-navy);
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--av-navy);
	color: var(--av-on-dark);
	transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 1px 0 rgba(245, 242, 235, 0.08), 0 12px 32px rgba(8, 14, 24, 0.28);
}

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

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

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
	min-height: var(--av-header-h);
	padding-block: 12px;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--av-on-dark);
	text-decoration: none;
}

.site-branding:hover {
	color: var(--av-on-dark);
}

.brand-mark {
	flex: none;
	color: var(--av-accent);
	transition: transform 0.8s var(--av-ease);
}

.site-branding:hover .brand-mark {
	transform: rotate(45deg);
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.site-branding__name {
	font-family: var(--av-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.site-branding__sub {
	margin-top: 5px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--av-on-dark-muted);
}

.site-branding--logo .custom-logo-link {
	display: inline-flex;
}

.site-branding--logo .custom-logo {
	max-height: 56px;
	width: auto;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 8px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.primary-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #e4e7ec;
	text-decoration: none;
}

.primary-nav__list a:hover {
	color: #ffffff;
}

.primary-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 1px;
	background: var(--av-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--av-ease);
}

.primary-nav__list a:hover::after,
.primary-nav__list a.is-active::after,
.primary-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
}

/* The last menu item is styled as the call-to-action button. */
.primary-nav__list > li:last-child > a {
	padding: 0 22px;
	background: var(--av-on-dark);
	color: var(--av-navy);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.primary-nav__list > li:last-child > a::after {
	display: none;
}

.primary-nav__list > li:last-child > a:hover {
	background: var(--av-accent);
	color: var(--av-navy);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -12px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--av-on-dark);
	cursor: pointer;
}

.nav-toggle__bars {
	position: relative;
	display: block;
	width: 24px;
	height: 12px;
}

.nav-toggle__bars span {
	position: absolute;
	left: 0;
	right: 0;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle__bars span:first-child {
	top: 0;
}

.nav-toggle__bars span:last-child {
	top: 10.5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
	top: 5.25px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
	top: 5.25px;
	transform: rotate(-45deg);
}

@media (max-width: 860px) {
	.site-header__inner {
		flex-wrap: wrap;
	}

	.primary-nav {
		width: 100%;
	}

	.js .nav-toggle {
		display: inline-flex;
	}

	.js .primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--av-header-h));
		overflow-y: auto;
		padding: 4px var(--av-gutter) 28px;
		background: var(--av-navy);
		border-top: 1px solid var(--av-on-dark-rule);
		box-shadow: 0 24px 32px rgba(8, 14, 24, 0.3);
	}

	.js .primary-nav.is-open {
		display: block;
	}

	.primary-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: 16px;
	}

	.primary-nav__list a {
		width: 100%;
		min-height: 56px;
		border-bottom: 1px solid var(--av-on-dark-rule);
	}

	.primary-nav__list a::after {
		display: none;
	}

	.primary-nav__list > li:last-child > a {
		justify-content: center;
		margin-top: 20px;
		border-bottom: 0;
	}
}

/* ==========================================================================
   5. Shared pieces
   ========================================================================== */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-family: var(--av-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--av-accent-ink);
}

.eyebrow--rule::before {
	content: "";
	flex: none;
	width: 40px;
	height: 1px;
	background: currentColor;
}

.eyebrow--accent,
.section--dark .eyebrow {
	color: var(--av-accent);
}

.section {
	padding-block: var(--av-section);
}

.section--alt {
	background: var(--av-paper-2);
}

.section--dark {
	background: var(--av-navy);
	color: var(--av-on-dark);
}

.section__stack {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.section-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.section-title--md {
	font-size: clamp(2.25rem, 4.4vw, 3.6rem);
	line-height: 1.08;
	letter-spacing: -0.005em;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 96px;
	margin-bottom: 56px;
}

.section-head__main {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.section-head__side {
	flex: 1 1 380px;
	min-width: 0;
}

.split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 40px 96px;
}

.split__main {
	flex: 1.35 1 520px;
	min-width: 0;
}

.split__side {
	flex: 1 1 340px;
	min-width: 0;
}

.statement {
	font-family: var(--av-serif);
	font-weight: 500;
	font-size: clamp(1.75rem, 3.1vw, 2.65rem);
	line-height: 1.24;
	color: var(--av-ink);
}

.lead {
	font-size: 17px;
	line-height: 1.75;
	color: var(--av-body);
}

.section--dark .lead {
	color: var(--av-on-dark-muted);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}

.button,
.contact__form input[type="submit"],
.contact__form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--av-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button svg {
	transition: transform 0.25s var(--av-ease);
}

.button:hover svg {
	transform: translateX(3px);
}

.button--accent {
	background: var(--av-accent);
	color: var(--av-navy);
}

.button--accent:hover {
	background: var(--av-on-dark);
	color: var(--av-navy);
}

.button--ghost {
	border-color: rgba(245, 242, 235, 0.38);
	color: var(--av-on-dark);
	font-weight: 500;
}

.button--ghost:hover {
	border-color: var(--av-on-dark);
	background: rgba(245, 242, 235, 0.06);
	color: var(--av-on-dark);
}

.button--navy,
.contact__form input[type="submit"],
.contact__form button[type="submit"] {
	background: var(--av-navy);
	color: var(--av-on-dark);
}

.button--navy:hover,
.contact__form input[type="submit"]:hover,
.contact__form button[type="submit"]:hover {
	background: var(--av-accent-ink);
	color: #ffffff;
}

/* Scroll reveal: only hides content once JavaScript is confirmed running. */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s var(--av-ease), transform 0.9s var(--av-ease);
}

.js .reveal.is-visible,
.no-reveal .reveal {
	opacity: 1;
	transform: none;
}

.js .reveal--d1 {
	transition-delay: 0.08s;
}

.js .reveal--d2 {
	transition-delay: 0.16s;
}

.js .reveal--d3 {
	transition-delay: 0.24s;
}

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

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.brand-mark,
	.button svg {
		transition: none;
	}
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--av-navy);
	color: var(--av-on-dark);
}

.hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px 64px;
	padding-block: clamp(56px, 9vw, 120px) clamp(64px, 8vw, 104px);
}

.hero__content {
	flex: 1 1 560px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.hero__title {
	font-size: clamp(2.75rem, 7.4vw, 5.75rem);
	line-height: 0.98;
	letter-spacing: -0.01em;
	color: var(--av-on-dark);
	overflow-wrap: break-word;
}

@media (max-width: 360px) {
	.hero__title {
		font-size: 2.45rem;
	}
}

.hero__line {
	display: block;
}

.hero__dot {
	color: var(--av-accent);
}

.hero__intro {
	max-width: 600px;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.7;
	color: var(--av-on-dark-muted);
}

.hero__art {
	flex: 0 1 360px;
	min-width: 0;
	display: flex;
	justify-content: center;
	color: var(--av-accent);
}

.hero__art svg {
	width: 100%;
	max-width: 380px;
	height: auto;
	opacity: 0.75;
}

.hero__art .hero__art-inner {
	transform-origin: 200px 200px;
	animation: av-turn 240s linear infinite;
}

@keyframes av-turn {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__art .hero__art-inner {
		animation: none;
	}
}

@media (max-width: 640px) {
	.hero__art svg {
		max-width: 280px;
	}
}

.hero__keywords {
	border-top: 1px solid rgba(245, 242, 235, 0.12);
}

.hero__keywords ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	margin: 0;
	padding-block: 26px;
	list-style: none;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--av-on-dark-muted);
}

.hero__keywords li + li::before {
	content: "/";
	margin-right: 40px;
	color: var(--av-accent);
}

@media (max-width: 640px) {
	.hero__keywords ul {
		flex-direction: column;
		gap: 10px;
	}

	.hero__keywords li + li::before {
		display: none;
	}
}

/* ==========================================================================
   7. Expertise
   ========================================================================== */

.expertise-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--av-rule);
}

.expertise-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 12px 48px;
	padding-block: 36px;
	border-top: 1px solid var(--av-rule);
}

.expertise-item__num {
	padding-top: 0.95em;
	font-family: var(--av-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.14em;
	font-variant-numeric: tabular-nums lining-nums;
	color: var(--av-accent-ink);
}

.expertise-item__title {
	font-size: clamp(1.6rem, 2.3vw, 2rem);
	line-height: 1.15;
	transition: color 0.25s ease;
}

.expertise-item:hover .expertise-item__title {
	color: var(--av-accent-ink);
}

.expertise-item__text {
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--av-body);
}

@media (max-width: 900px) {
	.expertise-item {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.expertise-item__text {
		grid-column: 2;
	}
}

@media (max-width: 560px) {
	.expertise-item {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		padding-block: 28px;
	}

	.expertise-item__text {
		grid-column: auto;
	}

	.expertise-item__num {
		padding-top: 0;
		margin-bottom: 4px;
	}
}

/* ==========================================================================
   8. Approach
   ========================================================================== */

.approach__principles {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 64px;
}

.approach__intro {
	font-size: 15px;
	line-height: 1.6;
	color: var(--av-on-dark-muted);
}

.principles {
	display: grid;
	grid-template-columns: repeat(var(--av-cols, 3), minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--av-on-dark-rule);
	border: 1px solid var(--av-on-dark-rule);
}

.principle {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 72px;
	min-height: 260px;
	padding: 40px 36px 44px;
	background: var(--av-navy);
	transition: background-color 0.3s ease;
}

.principle:hover {
	background: #1a2b46;
}

.principle__num {
	font-family: var(--av-serif);
	font-size: 56px;
	font-weight: 500;
	line-height: 1;
	color: var(--av-accent);
}

.principle__title {
	font-size: clamp(1.6rem, 2.2vw, 2rem);
	line-height: 1.15;
	color: var(--av-on-dark);
}

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

	.principle {
		min-height: 0;
		gap: 40px;
		padding: 32px 28px;
	}
}

/* ==========================================================================
   9. Contact
   ========================================================================== */

.contact__intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact__text {
	max-width: 560px;
}

.contact__details {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--av-rule);
}

.contact__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact__label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--av-muted);
}

.contact__value {
	font-family: var(--av-serif);
	font-size: clamp(1.4rem, 2vw, 1.75rem);
	font-weight: 500;
	line-height: 1.25;
	color: var(--av-navy);
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.contact__value:hover {
	color: var(--av-accent-ink);
}

.contact__button {
	align-self: flex-start;
	margin-top: 4px;
}

.contact__notice {
	padding: 16px 20px;
	border: 1px dashed var(--av-rule);
	font-size: 14px;
	line-height: 1.6;
	color: var(--av-muted);
}

.contact__form {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--av-rule);
}

.contact__form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--av-ink);
}

.contact__form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact__form textarea,
.contact__form select {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--av-rule);
	border-radius: 0;
	background: #ffffff;
	color: var(--av-ink);
	font: inherit;
	font-size: 16px;
}

.contact__form textarea {
	min-height: 160px;
	resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
	outline: 2px solid var(--av-accent);
	outline-offset: 0;
	border-color: var(--av-accent);
}

.contact__form p {
	margin-bottom: 20px;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.site-footer {
	background: var(--av-navy-deep);
	color: var(--av-on-dark-muted);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	padding-block: 48px;
}

.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--av-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--av-on-dark);
}

.site-footer__tagline {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	font-size: 13px;
	color: #9aa3b0;
}

.site-footer a {
	color: var(--av-on-dark-muted);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--av-on-dark);
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   11. Inner pages, posts and WordPress core classes
   ========================================================================== */

.page-hero {
	background: var(--av-navy);
	color: var(--av-on-dark);
	padding-block: clamp(56px, 8vw, 104px);
}

.page-hero__title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.page-hero__meta {
	margin-top: 16px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--av-on-dark-muted);
}

.content-area {
	padding-block: clamp(56px, 8vw, 104px);
}

.entry + .entry {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--av-rule);
}

.entry-title {
	font-size: clamp(1.9rem, 3vw, 2.5rem);
	line-height: 1.15;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--av-accent-ink);
}

.entry-meta {
	margin-top: 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--av-muted);
}

.entry-summary {
	margin-top: 20px;
	color: var(--av-body);
}

.entry-thumbnail {
	margin: 0 0 40px;
}

.entry-content {
	color: var(--av-body);
}

.entry-content > * + * {
	margin-top: 1.25em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
	color: var(--av-ink);
}

.entry-content h2 {
	font-size: 2.1rem;
}

.entry-content h3 {
	font-size: 1.65rem;
}

.entry-content h4 {
	font-size: 1.3rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content blockquote {
	margin-inline: 0;
	font-family: var(--av-serif);
	font-size: 1.6rem;
	line-height: 1.35;
	font-style: italic;
	color: var(--av-ink);
}

.entry-content a {
	color: var(--av-navy);
}

.entry-content .wp-block-button__link {
	border-radius: 0;
	background: var(--av-navy);
	color: var(--av-on-dark);
	text-decoration: none;
}

.pagination,
.navigation.pagination {
	margin-top: 64px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--av-rule);
	color: var(--av-ink);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--av-navy);
	border-color: var(--av-navy);
	color: var(--av-on-dark);
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption,
.gallery-caption,
.wp-caption-text,
.wp-element-caption {
	font-size: 14px;
	color: var(--av-muted);
}

.sticky,
.bypostauthor {
	display: block;
}
