/*
Theme Name: Frugal AI Hub
Theme URI: https://frugalai.org/
Author: Frugal AI Hub at Cambridge Judge Business School
Description: Block theme for frugalai.org. Sister theme to serishgandikota.com: same fonts and editing model, Hub colours. Page content lives in the WordPress editor; Appearance > Hub setup applies the starter content.
Version: 1.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: frugal-ai-hub
*/

/* ---------------------------------------------------------------- base */

:root {
	--fah-radius: 6px;
	--fah-rule: 1px solid var(--wp--preset--color--stone);
	--fah-shadow: 0 1px 2px rgba(27, 42, 78, 0.06), 0 8px 24px rgba(27, 42, 78, 0.08);

	/* Colours used by blocks built under the previous theme (Stackable, Spectra). */
	--theme-palette-color-1: #2e6b73;
	--theme-palette-color-2: #21525a;
	--theme-palette-color-3: #384152;
	--theme-palette-color-4: #1b2a4e;
	--theme-palette-color-5: #e4e0d6;
	--theme-palette-color-6: #f6f4ee;
	--theme-palette-color-7: #fbfaf7;
	--theme-palette-color-8: #ffffff;
}

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

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

:where(.wp-site-blocks) a:focus-visible,
:where(.wp-site-blocks) button:focus-visible {
	outline: 2px solid var(--wp--preset--color--yellow);
	outline-offset: 3px;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

.wp-site-blocks > main {
	margin-block-start: 0;
}

/* ---------------------------------------------------------------- header */

.fah-header {
	background: var(--wp--preset--color--white);
	border-bottom: var(--fah-rule);
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
	position: sticky;
	top: 0;
	z-index: 50;
}

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

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

.fah-header > .wp-block-group {
	gap: 1.5rem;
}

.fah-logo {
	margin: 0;
}

.fah-logo img {
	display: block;
	width: 236px;
	height: auto;
}

@media (max-width: 600px) {
	.fah-logo img {
		width: 188px;
	}
}

.fah-header .wp-block-navigation {
	color: var(--wp--preset--color--navy);
	gap: 1.6rem;
}

.fah-header .wp-block-navigation a:hover,
.fah-header .wp-block-navigation a:focus {
	color: var(--wp--preset--color--teal);
	text-decoration: none;
}

.fah-header .wp-block-navigation .current-menu-item > a,
.fah-header .wp-block-navigation .current-menu-ancestor > a,
.fah-header .wp-block-navigation a[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--wp--preset--color--yellow);
}

.fah-header .wp-block-navigation .wp-block-navigation__submenu-container {
	border: var(--fah-rule) !important;
	border-radius: var(--fah-radius);
	box-shadow: var(--fah-shadow);
	padding: 0.5rem 0;
	min-width: 220px;
}

.fah-header .wp-block-navigation .wp-block-navigation__submenu-container a {
	padding: 0.45rem 1.1rem;
}

.fah-header .fah-nav-contact > a {
	border: 1px solid var(--wp--preset--color--navy);
	border-radius: 4px;
	padding: 0.35rem 0.9rem;
}

.fah-header .fah-nav-contact > a:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white) !important;
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 1.1rem;
	font-size: 1.15rem;
}

/* ---------------------------------------------------------------- sections */

.fah-section {
	padding-top: clamp(3.25rem, 7vw, 5.5rem);
	padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.fah-section.is-tight {
	padding-top: clamp(2.25rem, 5vw, 3.5rem);
	padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.fah-section + .fah-section:not(.fah-paper):not(.fah-navy):not(.fah-cream) {
	border-top: var(--fah-rule);
}

.fah-paper {
	background: var(--wp--preset--color--paper);
}

.fah-cream {
	background: var(--wp--preset--color--cream);
}

.fah-navy {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--on-dark);
}

.fah-navy :where(h1, h2, h3, h4) {
	color: var(--wp--preset--color--white);
}

.fah-navy a:not(.wp-element-button) {
	color: var(--wp--preset--color--yellow);
}

.fah-navy .wp-block-button__link {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--navy);
}

.fah-navy .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}


.fah-eyebrow {
	color: var(--wp--preset--color--teal);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

.fah-eyebrow::before {
	content: "";
	display: inline-block;
	width: 1.6rem;
	height: 3px;
	background: var(--wp--preset--color--yellow);
	vertical-align: middle;
	margin-right: 0.7rem;
	position: relative;
	top: -2px;
}

.fah-navy .fah-eyebrow {
	color: var(--wp--preset--color--yellow);
}

.fah-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--wp--preset--color--ink);
	font-weight: 300;
}

.fah-navy .fah-lead {
	color: var(--wp--preset--color--white);
}

.fah-muted,
.fah-note {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.fah-section-head {
	margin-bottom: 2.25rem;
	max-width: 760px;
}

.fah-section-head > * {
	margin-top: 0;
}

.fah-section-head > h2 {
	margin-top: 0.35rem;
	margin-bottom: 0.9rem;
}

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

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

.fah-navy .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--on-dark);
}

.fah-navy .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

.fah-textlink {
	font-weight: 500;
}

.fah-textlink a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* ---------------------------------------------------------------- page heads */

.fah-pagehead {
	padding-top: clamp(3rem, 7vw, 5rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
	background: var(--wp--preset--color--paper);
	border-bottom: var(--fah-rule);
}

.fah-pagehead h1 {
	margin-top: 0.4rem;
	margin-bottom: 1rem;
}

.fah-pagehead .fah-lead {
	max-width: 46rem;
	margin-top: 0;
}

/* ---------------------------------------------------------------- home hero */

.fah-hero {
	padding-top: clamp(3.5rem, 8vw, 6.5rem);
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.fah-hero h1 {
	margin-top: 0.5rem;
	margin-bottom: 1.25rem;
	max-width: 15ch;
}

.fah-hero .wp-block-columns {
	gap: clamp(2rem, 6vw, 5rem);
}

.fah-latest {
	background: var(--wp--preset--color--white);
	border-radius: var(--fah-radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 18px 40px rgba(0, 0, 0, 0.25);
	color: var(--wp--preset--color--body);
	padding: 1.25rem;
}

.fah-latest .fah-eyebrow {
	color: var(--wp--preset--color--teal);
}

.fah-latest h2,
.fah-latest h3 {
	color: var(--wp--preset--color--navy) !important;
	font-size: 1.2rem;
	margin: 0.4rem 0 0.5rem;
}

.fah-latest h3 a,
.fah-latest h2 a {
	color: inherit !important;
	text-decoration: none;
}

.fah-latest p {
	margin: 0.4rem 0;
	font-size: 0.95rem;
}

.fah-latest a:not(.wp-element-button) {
	color: var(--wp--preset--color--teal);
}

.fah-latest .wp-block-image {
	margin: 0 0 0.75rem;
}

.fah-latest .wp-block-image img {
	border: var(--fah-rule);
	border-radius: 3px;
	width: 100%;
	height: 260px;
	object-fit: cover;
	object-position: top;
}

/* ---------------------------------------------------------------- statement */

.fah-statement h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	font-weight: 400;
	max-width: 22ch;
}

.fah-statement .wp-block-columns {
	gap: clamp(2rem, 6vw, 5rem);
}

/* ---------------------------------------------------------------- cards */

.fah-cards {
	gap: 1.25rem;
}

.fah-card {
	background: var(--wp--preset--color--white);
	border: var(--fah-rule);
	border-top: 3px solid var(--wp--preset--color--yellow);
	border-radius: 0 0 var(--fah-radius) var(--fah-radius);
	padding: 1.6rem 1.5rem 1.4rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.fah-card > * {
	margin-top: 0;
	margin-bottom: 0.7rem;
}

.fah-card > h3 {
	margin-bottom: 0.6rem;
}

.fah-card > :last-child {
	margin-bottom: 0;
}

.fah-card .fah-textlink {
	margin-top: auto;
	padding-top: 0.5rem;
}

.fah-card .fah-num {
	color: var(--wp--preset--color--teal);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fah-paper .fah-card {
	background: var(--wp--preset--color--white);
}

.wp-block-column > .fah-card {
	height: 100%;
}

/* plain list of items with rules, used for questions and roles */

.fah-rows > .wp-block-group {
	border-top: var(--fah-rule);
	padding-top: 1.4rem;
	padding-bottom: 1.4rem;
}

.fah-rows > .wp-block-group:last-child {
	border-bottom: var(--fah-rule);
}

.fah-rows h3 {
	margin-top: 0;
	margin-bottom: 0.4rem;
}

.fah-rows p {
	margin-top: 0;
	margin-bottom: 0.4rem;
}

/* numbered steps */

ol.fah-steps {
	counter-reset: fah-step;
	list-style: none;
	padding-left: 0;
	margin: 0;
	display: grid;
	gap: 1rem 2rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	ol.fah-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	ol.fah-steps {
		grid-template-columns: 1fr;
	}
}

ol.fah-steps > li {
	counter-increment: fah-step;
	position: relative;
	padding: 1rem 0 0 3rem;
	border-top: var(--fah-rule);
}

ol.fah-steps > li::before {
	content: counter(fah-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--teal);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

ol.fah-steps > li strong {
	display: block;
	color: var(--wp--preset--color--navy);
	font-weight: 500;
	font-size: 1.08rem;
	margin-bottom: 0.2rem;
}

ul.fah-ticks {
	list-style: none;
	padding-left: 0;
}

ul.fah-ticks > li {
	padding-left: 1.6rem;
	position: relative;
	margin-bottom: 0.55rem;
}

ul.fah-ticks > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 0.8rem;
	height: 3px;
	background: var(--wp--preset--color--yellow);
}

/* ---------------------------------------------------------------- publications */

.fah-pubs {
	gap: 2.5rem 1.75rem;
}

.fah-pub {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fah-pub > * {
	margin-top: 0;
	margin-bottom: 0.55rem;
}

.fah-pub .wp-block-image {
	margin-bottom: 1rem;
}

.fah-pub .wp-block-image img {
	width: 100%;
	aspect-ratio: 210 / 297;
	object-fit: cover;
	object-position: top;
	border: var(--fah-rule);
	border-radius: 3px;
	box-shadow: var(--fah-shadow);
	transition: transform 0.2s ease;
	background: var(--wp--preset--color--paper);
}

.fah-pub .wp-block-image a:hover img {
	transform: translateY(-3px);
}

.fah-pub .fah-pub-meta {
	color: var(--wp--preset--color--teal);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fah-pub h3 {
	font-size: 1.12rem;
	line-height: 1.3;
}

.fah-pub h3 a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.fah-pub h3 a:hover {
	color: var(--wp--preset--color--teal);
}

.fah-pub .fah-pub-desc {
	font-size: 0.95rem;
	line-height: 1.55;
}

.fah-pub .fah-pub-partner {
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
}

.fah-pub .fah-textlink {
	margin-top: auto;
	font-size: 0.95rem;
}

/* ---------------------------------------------------------------- book */

.fah-book-cover img {
	box-shadow: 0 2px 4px rgba(32, 28, 32, 0.15), 0 22px 48px rgba(32, 28, 32, 0.22);
	border-radius: 2px;
	width: 100%;
	max-width: 340px;
}

.fah-book-cover {
	margin: 0;
}

.fah-book-title {
	font-family: var(--wp--preset--font-family--bodoni);
	font-weight: 400;
	letter-spacing: 0;
}

.fah-book-sub {
	color: #306880;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-top: 0;
}

.fah-book-quote {
	font-family: var(--wp--preset--font-family--bodoni);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.45;
	color: var(--wp--preset--color--ink);
}

.fah-book-quote cite,
.fah-cite {
	display: block;
	font-family: var(--wp--preset--font-family--jost);
	font-style: normal;
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
	margin-top: 0.4rem;
	letter-spacing: 0.04em;
}

.fah-cream .fah-eyebrow {
	color: #306880;
}

.fah-cream .wp-block-columns {
	gap: clamp(2rem, 6vw, 5rem);
}

.fah-excerpt {
	font-family: var(--wp--preset--font-family--bodoni);
	font-size: 1.2rem;
	line-height: 1.7;
	color: var(--wp--preset--color--ink);
}

.fah-excerpt p:first-of-type::first-letter {
	float: left;
	font-size: 3.4em;
	line-height: 0.85;
	padding: 0.06em 0.1em 0 0;
	color: #306880;
}

.fah-lenses {
	gap: 1rem;
}

.fah-lens {
	border-top: 3px solid #306880;
	padding-top: 0.8rem;
}

.fah-lens > * {
	margin: 0 0 0.35rem;
}

.fah-lens .fah-num {
	color: #306880;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fah-lens h3 {
	font-size: 1.12rem;
}

.fah-lens p:last-child {
	font-size: 0.95rem;
}

/* ---------------------------------------------------------------- partners */

.fah-partners {
	gap: 1rem;
}

.fah-partner {
	border-left: 3px solid var(--wp--preset--color--yellow);
	padding-left: 1rem;
}

.fah-partner > * {
	margin: 0 0 0.3rem;
}

.fah-partner h3 {
	font-size: 1.05rem;
}

.fah-partner p {
	font-size: 0.92rem;
}

/* ---------------------------------------------------------------- people */

.fah-people {
	gap: 2.5rem 2rem;
}

.fah-person {
	text-align: left;
}

.fah-person > * {
	margin-top: 0;
	margin-bottom: 0.45rem;
}

.fah-person .wp-block-image {
	margin-bottom: 1rem;
}

.fah-person .wp-block-image img {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--wp--preset--color--paper);
	border: 3px solid var(--wp--preset--color--white);
	box-shadow: 0 0 0 1px var(--wp--preset--color--stone);
}

.fah-person h3 {
	font-size: 1.15rem;
	margin-bottom: 0.2rem;
}

.fah-person .fah-role {
	color: var(--wp--preset--color--teal);
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.45;
}

.fah-person .fah-bio {
	font-size: 0.93rem;
	line-height: 1.6;
}

.fah-person .fah-textlink {
	font-size: 0.88rem;
}

.fah-team-group + .fah-team-group {
	margin-top: 4rem;
}

/* ---------------------------------------------------------------- recent list */

.fah-dated > * {
	margin: 0;
}

.fah-dated {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 0.25rem 1.5rem;
	border-top: var(--fah-rule);
	padding: 1rem 0;
}

.fah-dated .fah-date {
	color: var(--wp--preset--color--teal);
	font-weight: 500;
	font-size: 0.92rem;
}

@media (max-width: 600px) {
	.fah-dated {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- forms */

.fah-form-wrap {
	max-width: 760px;
}

.fah-form {
	display: grid;
	gap: 1rem;
}

.fah-form .fah-row {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
	.fah-form .fah-row {
		grid-template-columns: 1fr;
	}
}

.fah-form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--wp--preset--color--navy);
}

.fah-form input[type="text"],
.fah-form input[type="email"],
.fah-form select,
.fah-form textarea {
	font: inherit;
	font-weight: 400;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white);
	border: 1px solid #c9c4b8;
	border-radius: 4px;
	padding: 0.7rem 0.8rem;
	width: 100%;
	box-sizing: border-box;
}

.fah-form input:focus,
.fah-form select:focus,
.fah-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--yellow);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--navy);
}

.fah-form button {
	justify-self: start;
	font: inherit;
	font-weight: 500;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	border: 0;
	border-radius: 4px;
	padding: 0.85rem 1.8rem;
	cursor: pointer;
}

.fah-form button:hover {
	background: var(--wp--preset--color--teal);
}

.fah-form .fah-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fah-form-note {
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
	margin: 0;
}

.fah-form-message {
	padding: 0.9rem 1rem;
	border-radius: 4px;
	margin-bottom: 1.25rem;
}

.fah-form-message.is-ok {
	background: #e7f2ee;
	color: #1d4d3e;
}

.fah-form-message.is-error {
	background: #fbeae6;
	color: #7a2a17;
}

/* ---------------------------------------------------------------- footer */

.fah-footer {
	background: var(--wp--preset--color--paper);
	border-top: var(--fah-rule);
	padding-top: 3.5rem;
	padding-bottom: 2.5rem;
	font-size: 0.93rem;
}

.fah-footer h2 {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
	margin-bottom: 0.75rem;
}

.fah-footer .fah-footer-links a {
	display: block;
	color: var(--wp--preset--color--body);
	text-decoration: none;
	padding: 0.15rem 0;
}

.fah-footer .fah-footer-links a:hover {
	color: var(--wp--preset--color--teal);
}

.fah-footer .fah-logo img {
	width: 220px;
}

.fah-footer .fah-legal {
	border-top: var(--fah-rule);
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
}

/* ---------------------------------------------------------------- glossary */

.fah-terms {
	gap: 1.25rem;
}

.fah-term {
	background: var(--wp--preset--color--white);
	border: var(--fah-rule);
	border-radius: var(--fah-radius);
	padding: 1.3rem 1.3rem 1.1rem;
}

.fah-term > * {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.fah-term > :last-child {
	margin-bottom: 0;
}

.fah-term h3 {
	font-size: 1.08rem;
	color: var(--wp--preset--color--teal);
}

.fah-term p {
	font-size: 0.93rem;
	line-height: 1.55;
}

.fah-term .fah-num {
	color: #306880;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fah-term:has(.fah-num) {
	border-top: 3px solid var(--wp--preset--color--yellow);
}

/* ---------------------------------------------------------------- legacy pages */

/* Glossary and other pages built with the previous theme's page builder. */
.fah-legacy .stk-block-heading__text,
.fah-legacy h1,
.fah-legacy h2,
.fah-legacy h3 {
	font-family: var(--wp--preset--font-family--jost);
}

.fah-legacy {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ---------------------------------------------------------------- default page */

.fah-default-page {
	padding-top: clamp(2.5rem, 6vw, 4rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 781px) {
	.fah-hero .wp-block-column.fah-hero-side {
		max-width: 420px;
	}

	.fah-book-cover img {
		max-width: 260px;
	}
}

/* Grids: fixed column counts on wide screens, fewer columns as the screen narrows. */
@media (max-width: 1024px) {
	.fah-pubs,
	.fah-partners,
	.fah-people,
	.fah-terms {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.fah-lenses {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.fah-pubs,
	.fah-partners,
	.fah-people,
	.fah-terms,
	.fah-lenses {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.fah-pub .wp-block-image img {
		max-width: 240px;
	}
}

/* Book card in the home hero */
.fah-latest-book {
	display: grid;
	grid-template-columns: 42% 1fr;
	gap: 1.25rem;
	align-items: center;
	padding: 1.4rem;
}

.fah-latest-book > .wp-block-group > * {
	margin-top: 0;
	margin-bottom: 0.45rem;
}

.fah-latest.fah-latest-book .wp-block-image img {
	height: auto;
	border: 0;
	box-shadow: 0 2px 4px rgba(32, 28, 32, 0.15), 0 12px 28px rgba(32, 28, 32, 0.22);
	object-fit: contain;
	max-width: 100%;
}

.fah-latest-book .fah-book-title {
	font-family: var(--wp--preset--font-family--bodoni);
	font-size: 1.9rem !important;
	font-weight: 400;
	margin: 0.2rem 0 0.3rem;
}

.fah-latest-book .fah-book-sub {
	font-size: 0.72rem;
	line-height: 1.5;
}

@media (max-width: 420px) {
	.fah-latest-book {
		grid-template-columns: 1fr;
	}

	.fah-latest.fah-latest-book .wp-block-image img {
		max-width: 200px;
	}
}

.fah-card-grid {
	gap: 1.25rem;
}

.fah-pubs-home + .wp-block-buttons {
	margin-top: 2.5rem;
}

.fah-pubs-home .fah-pub .wp-block-image img {
	max-width: 250px;
}
