/*
Theme Name: SA Salam
Description: Lightweight theme for S.A. Salam Publications. Books, cart and e-Books come from the SA Salam Books plugin. No page builder.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: sasalam
*/

:root {
	--green: #0f3d2e;
	--green-2: #1b5a43;
	--green-soft: #e8f0ec;
	--gold: #c39a3f;
	--gold-soft: #f6eed9;
	--ink: #17221d;
	--muted: #5f6c66;
	--bg: #f7f5ef;
	--card: #ffffff;
	--line: #e5e1d6;
	--red: #b3261e;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(15, 61, 46, .06), 0 8px 24px rgba(15, 61, 46, .06);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--green); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.sas-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.sas-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--green); color: #fff; border: 1px solid var(--green);
	padding: 12px 20px; border-radius: 10px; font: 600 15px/1.2 var(--sans);
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.sas-btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.sas-btn--ghost { background: transparent; color: var(--green); }
.sas-btn--ghost:hover { background: var(--green-soft); color: var(--green); }
.sas-btn--gold { background: var(--gold); border-color: var(--gold); color: #1d1606; }
.sas-btn--gold:hover { background: #b0882f; border-color: #b0882f; color: #1d1606; }

/* ---------- Top bar + header ---------- */
.sas-topbar { background: var(--green); color: #dfe9e4; font-size: 13px; }
.sas-topbar .sas-wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding: 8px 0; }
.sas-topbar a { color: #fff; }
.sas-topbar a:hover { color: var(--gold); }
.sas-topbar__offices { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.sas-topbar__right { display: flex; align-items: center; gap: 12px; }
.sas-topbar__social { display: inline-flex; }
.sas-topbar__social svg { width: 15px; height: 15px; }
.sas-topbar b { color: var(--gold); font-weight: 600; }

.sas-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.sas-header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 12px 0; }
.sas-brand { display: flex; align-items: center; gap: 12px; color: var(--green); }
.sas-brand img { width: 58px; height: 58px; object-fit: contain; }
.sas-brand__name { font: 600 20px/1.1 var(--serif); display: block; }
.sas-brand__tag { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.sas-search { display: flex; max-width: 520px; width: 100%; margin-inline: auto; }
.sas-search input[type="search"] {
	flex: 1; min-width: 0; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
	padding: 11px 14px; font: 15px var(--sans); background: var(--bg); color: var(--ink);
}
.sas-search input[type="search"]:focus { outline: 2px solid var(--green-2); outline-offset: -2px; background: #fff; }
.sas-search button { border-radius: 0 10px 10px 0; border: 1px solid var(--green); background: var(--green); color: #fff; padding: 0 18px; font: 600 15px var(--sans); cursor: pointer; }

.sas-actions { display: flex; align-items: center; gap: 6px; }
.sas-action { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; position: relative; }
.sas-action:hover { background: var(--green-soft); color: var(--green); }
.sas-action svg { width: 20px; height: 20px; }
.sas-cart-count { background: var(--gold); color: #1d1606; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.sas-nav { border-top: 1px solid var(--line); }
.sas-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.sas-nav li { position: relative; }
.sas-nav a { display: block; padding: 12px 14px; color: var(--ink); font-size: 15px; font-weight: 500; }
.sas-nav a:hover, .sas-nav .current-menu-item > a { color: var(--green); box-shadow: inset 0 -2px 0 var(--gold); }
.sas-nav ul ul { display: none; position: absolute; left: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 0 0 12px 12px; min-width: 230px; box-shadow: var(--shadow); flex-direction: column; padding: 6px; z-index: 5; }
.sas-nav li:hover > ul, .sas-nav li:focus-within > ul { display: flex; }
.sas-nav ul ul a { padding: 9px 12px; border-radius: 8px; box-shadow: none !important; }
.sas-nav ul ul a:hover { background: var(--green-soft); }
.sas-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; color: var(--green); }
.sas-burger svg { width: 22px; height: 22px; display: block; }

/* ---------- Sections ---------- */
.sas-section { padding: 56px 0; }
.sas-section--tint { background: #fff; border-block: 1px solid var(--line); }
.sas-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sas-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; }
.sas-head p { margin: 0; color: var(--muted); }
.sas-eyebrow { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.sas-link { font-weight: 600; white-space: nowrap; }

/* ---------- Hero ---------- */
.sas-hero { padding: 56px 0 64px; background: radial-gradient(900px 400px at 85% 0%, #efe7d0 0%, transparent 70%), var(--bg); }
.sas-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.sas-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.01em; margin-bottom: 16px; }
.sas-hero h1 em { font-style: italic; color: var(--gold); }
.sas-hero__lead { font-size: 18px; color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.sas-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.sas-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.sas-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--green); }
.sas-chips li::before { content: "✓"; color: var(--gold); margin-right: 7px; font-weight: 700; }

.sas-hero__stage { position: relative; background: var(--green); border-radius: 22px; padding: 30px 26px 26px; color: #fff; box-shadow: var(--shadow); }
.sas-hero__stage h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.sas-hero__stage p { color: #c8d8d0; font-size: 14px; margin-bottom: 18px; }
.sas-hero__covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sas-hero__covers a { background: #fff; border-radius: 12px; padding: 10px; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.sas-hero__covers a:hover { transform: translateY(-4px); }
.sas-hero__covers img { max-height: 100%; object-fit: contain; }
.sas-hero__since { position: absolute; top: -16px; right: 22px; background: var(--gold); color: #1d1606; font: 700 12px var(--sans); letter-spacing: .1em; padding: 7px 14px; border-radius: 999px; }

/* ---------- Announcements (home) ---------- */
.sas-notices { min-height: 340px; display: flex; flex-direction: column; }
.sas-notice { display: none; gap: 18px; align-items: center; }
.sas-notice.is-active { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); animation: sas-fade .4s ease; }
.sas-notice:not(:has(.sas-notice__img)).is-active { grid-template-columns: 1fr; }
.sas-notice__img { background: #fff; border-radius: 12px; padding: 10px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; }
.sas-notice__img img { max-height: 100%; object-fit: contain; }
.sas-notice__body h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.sas-notice__body p { color: #c8d8d0; font-size: 15px; margin-bottom: 16px; }
.sas-notices__dots { display: flex; gap: 8px; justify-content: center; margin-top: auto; padding-top: 16px; }
.sas-notices__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.sas-notices__dots button.is-active { background: var(--gold); width: 26px; border-radius: 6px; }
@keyframes sas-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Category tiles ---------- */
.sas-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sas-cat { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.sas-cat:hover { border-color: var(--green-2); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.sas-cat__img { width: 68px; height: 82px; flex: none; background: var(--green-soft); border-radius: 10px; padding: 6px; display: flex; align-items: center; justify-content: center; }
.sas-cat__img img { max-height: 100%; object-fit: contain; }
.sas-cat strong { display: block; font: 600 17px var(--serif); color: var(--green); }
.sas-cat span { font-size: 13px; color: var(--muted); }

/* ---------- Book cards / grid ---------- */
.sas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.sas-card {
	margin: 0; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative;
	transition: box-shadow .15s, transform .15s, border-color .15s;
}
.sas-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfd9d3; }
.sas-card__ph { font: 600 16px/1.3 var(--serif); color: var(--green); text-align: center; }
.sas-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.05; background: linear-gradient(180deg, #f3f6f4, #e9efeb); padding: 18px; }
.sas-card__media img { max-height: 100%; width: auto; object-fit: contain; margin: 0 !important; filter: drop-shadow(0 8px 12px rgba(15, 61, 46, .18)); }
.sas-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sas-card__cat { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.sas-card__title { font: 600 16px/1.3 var(--serif); color: var(--green); margin: 0; }
.sas-card__title a { color: inherit; }
.sas-card__title a:hover { color: var(--green-2); }
.sas-card .price { color: var(--ink); font: 700 17px var(--sans); margin: 2px 0 0; display: block; }
.sas-card .price--muted { color: var(--muted); font-size: 14px; font-weight: 500; }
.sas-card__foot { margin-top: auto; padding-top: 10px; }
.sas-card__foot .sas-btn { width: 100%; padding: 11px 14px; font-size: 14px; }
.sas-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--red); color: #fff; font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.sas-badge--out { background: #5c635f; }
.sas-badge--ebook { background: var(--gold); color: #1d1606; }

/* ---------- Subject filter ---------- */
.sas-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sas-filter a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.sas-filter a:hover { border-color: var(--green-2); color: var(--green); }
.sas-filter a.is-active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Single book ---------- */
.sas-book { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.sas-book__media { background: linear-gradient(180deg, #f3f6f4, #e6ede9); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 150px; }
.sas-book__media img { max-height: 520px; width: auto; margin-inline: auto; filter: drop-shadow(0 14px 20px rgba(15, 61, 46, .2)); }
.sas-book__summary h1 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.sas-book__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.sas-book__box h2 { font-size: 18px; margin-bottom: 6px; }
.sas-book__box--ebook { background: var(--gold-soft); border-color: #ead9ad; }
.sas-book__price { font: 700 26px var(--sans); color: var(--ink); margin: 0 0 6px; }
.sas-stock { font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.sas-stock--in { color: var(--green-2); }
.sas-stock--out { color: var(--red); }
.sas-muted { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.sas-book__excerpt { color: var(--muted); }
.sas-book__content { grid-column: 1 / -1; }
.sas-book__content h2 { margin-top: 0; }
.sas-book__contents { columns: 2 260px; margin: 0; }
.sas-book__contents li { break-inside: avoid; margin-bottom: 4px; }
.sas-review { margin: 0 0 16px; padding: 14px 18px; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px; }
.sas-review p { margin: 0 0 6px; font-style: italic; }
.sas-review cite { font-size: 14px; color: var(--muted); font-style: normal; }

/* ---------- eBooks ---------- */
.sas-ebooks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.sas-ebook { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: box-shadow .15s, transform .15s; }
.sas-ebook:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.sas-ebook__img { aspect-ratio: 4 / 5; background: var(--green-soft); border-radius: 10px; padding: 10px; display: flex; align-items: center; justify-content: center; }
.sas-ebook__img img { max-height: 100%; object-fit: contain; }
.sas-ebook strong { font: 600 15px/1.3 var(--serif); color: var(--green); }
.sas-ebook span { font-size: 13px; font-weight: 600; color: var(--gold); margin-top: auto; }
.sas-band { background: var(--green); color: #dfe9e4; }
.sas-band h2, .sas-band h3 { color: #fff; }
.sas-band .sas-head p { color: #c8d8d0; }
.sas-band .sas-link { color: var(--gold); }

/* ---------- Updates list ---------- */
.sas-updates { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.sas-updates a { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); }
.sas-updates a:hover { border-color: var(--green-2); color: var(--ink); }
.sas-updates__ico { flex: none; width: 40px; height: 46px; border-radius: 6px; background: var(--gold-soft); color: #8a6a1c; font: 700 11px var(--sans); display: flex; align-items: center; justify-content: center; }
.sas-updates strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sas-updates small { color: var(--muted); }

/* ---------- About / info ---------- */
.sas-about { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.sas-about img { width: 100%; }
.sas-about p { color: var(--muted); font-size: 17px; }
.sas-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 20px; }
.sas-stats b { display: block; font: 600 30px var(--serif); color: var(--green); }
.sas-stats span { font-size: 13px; color: var(--muted); }
.sas-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sas-info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sas-info h3 { font-size: 18px; margin-bottom: 6px; }
.sas-info p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.sas-footer { background: #0b2c21; color: #b9cbc3; padding: 54px 0 0; font-size: 14.5px; }
.sas-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.sas-footer a { color: #dfe9e4; }
.sas-footer a:hover { color: var(--gold); }
.sas-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.sas-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sas-footer__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.sas-footer__brand img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.sas-footer__brand strong { font: 600 19px var(--serif); color: #fff; }
.sas-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding: 18px 0; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.sas-footer__city { color: #fff; }
.sas-social { display: flex !important; gap: 10px !important; margin-top: 16px !important; }
.sas-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; }
.sas-social a:hover { background: var(--gold); border-color: var(--gold); color: #1d1606; }
.sas-social svg { width: 18px; height: 18px; }

/* ---------- Floating contact buttons ---------- */
.sas-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.sas-float__btn { width: 50px; height: 50px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); transition: transform .15s; }
.sas-float__btn:hover { color: #fff; transform: scale(1.06); }
.sas-float__btn svg { width: 24px; height: 24px; }
.sas-float__btn--wa { background: #25d366; }
.sas-float__btn--wa svg { width: 28px; height: 28px; }
.sas-float__btn--call { background: var(--green); }
.sas-float__btn--mail { background: var(--gold); color: #1d1606; }
.sas-float__btn--mail:hover { color: #1d1606; }
.sasb-reading .sas-float { bottom: 12px; opacity: .85; }

/* ---------- Inner pages ---------- */
.sas-pagehead { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0; }
.sas-pagehead h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.sas-crumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.sas-main { padding: 40px 0 64px; }
.sas-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
.sas-content--bare { background: none; border: 0; padding: 0; }
.sas-content h2 { font-size: 24px; margin-top: 1.2em; }
.sas-content ul, .sas-content ol { padding-left: 1.3em; }
.sas-content iframe { max-width: 100%; }
.sas-content input[type="text"], .sas-content input[type="email"], .sas-content input[type="tel"], .sas-content input[type="password"], .sas-content textarea, .sas-content select {
	border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: 15px var(--sans); background: #fff; color: var(--ink); width: 100%; max-width: 100%;
}
.nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.nav-links .page-numbers { border: 1px solid var(--line); border-radius: 8px; padding: 9px 13px; background: #fff; color: var(--ink); }
.nav-links .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }
.sas-gate { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.sas-grid { grid-template-columns: repeat(3, 1fr); }
	.sas-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.sas-topbar__offices span:nth-child(n+2) { display: none; }
	.sas-header__main { grid-template-columns: auto 1fr auto; gap: 10px; }
	.sas-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.sas-burger { display: block; }
	.sas-action span.sas-action__label { display: none; }
	.sas-nav { display: none; }
	.sas-nav.is-open { display: block; }
	.sas-nav ul { flex-direction: column; padding: 8px 0; }
	.sas-nav ul ul { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.sas-hero { padding: 36px 0 44px; }
	.sas-hero__grid, .sas-about, .sas-book { grid-template-columns: minmax(0, 1fr); }
	.sas-notice.is-active { grid-template-columns: 110px minmax(0, 1fr); }
	.sas-notices { min-height: 0; }
	.sas-notice__body h3 { font-size: 18px; }
	.sas-book { gap: 24px; }
	.sas-book__media { position: static; padding: 18px; }
	.sas-book__media img { max-height: 340px; }
	.sas-about img { max-width: 200px; margin-inline: auto; }
	.sas-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.sas-section { padding: 40px 0; }
	.sas-head { flex-direction: column; align-items: start; }
	.sas-float__btn { width: 46px; height: 46px; }
}
@media (max-width: 520px) {
	.sas-topbar__right > a:first-child { display: none; }
	.sas-brand__tag { display: none; }
	.sas-brand img { width: 46px; height: 46px; }
	.sas-brand__name { font-size: 17px; }
	.sas-footer__grid { grid-template-columns: 1fr; }
	.sas-card__body { padding: 12px; }
	.sas-card__title { font-size: 14.5px; }
	.sas-card__foot .sas-btn { padding: 10px 8px; font-size: 13px; }
}

/* Book list in the All Books / e-Books dropdowns */
.sas-nav ul.sas-nav__books { min-width: 300px; max-height: 75vh; overflow-y: auto; overflow-x: hidden; }
.sas-nav .sas-nav__child a { padding-left: 28px; font-size: 14px; color: var(--muted); }
.sas-nav .sas-nav__sep { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

/* Contact page offices */
.sas-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 12px 0 8px; }
.sas-office { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.sas-office h3 { margin: 0 0 8px; font-size: 17px; }
.sas-office p { margin: 0; line-height: 1.6; }
.sas-offices__note { margin-bottom: 26px; }
@media (max-width: 860px) {
	.sas-nav ul.sas-nav__books { max-height: none; overflow: visible; min-width: 0; }
}

/* Our Team page */
.sas-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 10px 0 28px; }
.sas-member { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sas-member img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.sas-member figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.sas-member strong { font: 600 16px/1.3 var(--serif); color: var(--green); }
.sas-member span { font-size: 13px; color: var(--muted); }
