/*
Theme Name: SisterSitesHub
Description: Dark "Aurora Glass" theme for sistersiteshub.com. Works with the SisterSitesHub Data plugin.
Version: 0.3.26
Requires at least: 6.4
Requires PHP: 8.0
Author: sistersiteshub.com
Text Domain: sistersiteshub
*/

:root {
	/* 0.3.22 "G4": GitHub-dark greys, emerald accent, shade instead of borders. */
	--ssh-bg: #0D1117;
	--ssh-ink: #F3F6FA;
	--ssh-text: #C9D1DB;
	--ssh-muted: #8B96A5;
	--ssh-line: rgba(255, 255, 255, .08);
	--ssh-line2: rgba(255, 255, 255, .22);
	--ssh-soft: rgba(255, 255, 255, .04);
	--ssh-chip: rgba(255, 255, 255, .08);
	--ssh-chip-text: #D5DBF0;
	--ssh-surface: rgba(255, 255, 255, .06);
	--ssh-card: #161B22;
	--ssh-card2: #1C232D;
	--ssh-card-line: #262F3B;
	--ssh-accent: #10B981;
	--ssh-accent-dark: #0EA371;
	--ssh-mint: #34D399;
	--ssh-cta-text: #03241A;
	--ssh-cta-shadow: none;
	--ssh-link: #9DB8FF;
	--ssh-display: Sora, Inter, system-ui, sans-serif;
	--ssh-r: 20px;
	--ssh-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
body { margin: 0; background: var(--ssh-bg); color: var(--ssh-text); font: 400 17px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--ssh-link); }
a:hover { color: #C3D3FF; }
h1, h2, h3, h4 { color: var(--ssh-ink); font-family: var(--ssh-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; color: #060A18; padding: 10px 14px; clip: auto; width: auto; height: auto; }
.wrap { max-width: var(--ssh-max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: relative; z-index: 40; background: var(--ssh-bg); border-bottom: 1px solid var(--ssh-line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { display: block; width: 42px; height: auto; flex: none; }
.brand__text { display: grid; gap: 4px; }
.brand__name { font: 800 20px/1 var(--ssh-display); letter-spacing: -.03em; color: var(--ssh-ink); }
.brand__name b { color: var(--ssh-mint); font-weight: 800; }
.brand__text small { font: 600 9.5px/1 Inter, system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--ssh-muted); }
.brand img, .custom-logo { max-height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .brand__mark { width: 36px; } .brand__name { font-size: 18px; } .brand__text small { display: none; } }
.custom-logo-link { flex: none; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a { display: inline-block; padding: 10px 2px; color: var(--ssh-muted); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a.on, .nav .current-menu-item > a { color: var(--ssh-ink); }
.head-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ssh-card-line); background: var(--ssh-card); color: var(--ssh-ink); display: grid; place-items: center; padding: 0; cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--ssh-accent); }
.menu-btn { display: none; }
.geo-pick { position: relative; }
.geo-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ssh-card-line); background: transparent; color: var(--ssh-text); font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.geo-btn:hover { border-color: var(--ssh-accent); }
.geo-pick .cc { font-size: 11px; font-weight: 800; color: #04261A; background: var(--ssh-accent); border-radius: 4px; padding: 1px 5px; line-height: 1.4; }
.geo-btn .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; }
.geo-pick.is-locked .geo-btn { cursor: default; }
.geo-pick.is-locked .caret { display: none; }
.geo-list { position: absolute; top: calc(100% + 8px); right: 0; width: 240px; max-height: 70vh; overflow-y: auto; display: flex; flex-direction: column; padding: 8px; border-radius: 14px; background: var(--ssh-card); border: 1px solid var(--ssh-card-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.geo-list[hidden] { display: none; }
.geo-head { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ssh-muted); padding: 6px 10px 8px; }
.geo-list button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ssh-ink); font: 500 14px Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
.geo-list button:hover { background: rgba(255, 255, 255, .06); }
.head-search { border-top: 1px solid var(--ssh-line); background: var(--ssh-bg); }
.head-search .wrap { display: block; min-height: 0; padding-top: 16px; padding-bottom: 18px; }
.head-search .ssh-search { max-width: 780px; margin: 0 auto; }
.head-search .ssh-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
@media (max-width: 900px) {
	.site-header .wrap { min-height: 58px; gap: 10px; }
	.menu-btn { display: grid; }
	.geo-btn { padding: 0 10px; }
	.geo-btn .nm, .geo-btn .caret { display: none; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ssh-bg); border-bottom: 1px solid var(--ssh-line); padding: 6px 16px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav li + li { border-top: 1px solid var(--ssh-line); }
	.nav a { display: block; padding: 14px 0; font-size: 16px; }
}

/* Page head */
.page-head { padding: 28px 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.page-head h1 { margin-bottom: 14px; }
.page-head + .ssh-quick { margin: 16px 0 0; }
.crumbs { font-size: 14px; color: var(--ssh-muted); margin-bottom: 14px; }
.crumbs a { color: var(--ssh-muted); text-decoration: none; text-transform: none; }
.crumbs a:hover { color: var(--ssh-ink); }
.crumbs p { margin: 0; }
.crumbs .last, .crumbs .breadcrumb_last { color: var(--ssh-text); }
/* Rank Math / Yoast separators become a small chevron */
.crumbs .separator { display: inline-block; font-size: 0; width: 6px; height: 6px; border-right: 1.5px solid var(--ssh-muted); border-top: 1.5px solid var(--ssh-muted); transform: rotate(45deg); margin: 0 10px 1px 6px; opacity: .8; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ssh-text); max-width: 760px; }
.byline { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); border: 1px solid var(--ssh-card-line); font-size: 14px; color: var(--ssh-muted); }
.byline__ring { flex: none; padding: 2px; border-radius: 50%; background: conic-gradient(var(--ssh-accent), #7FB2FF, var(--ssh-accent)); line-height: 0; }
.byline__ring img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ssh-bg); display: block; margin: 0; }
.byline__who { display: grid; gap: 3px; min-width: 0; }
.byline__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.byline__name a { color: var(--ssh-ink); font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.byline__name a:hover { color: var(--ssh-accent); text-decoration-color: currentColor; }
.byline__role { font-size: 13px; color: var(--ssh-muted); }
.byline__bio { font-size: 13.5px; color: var(--ssh-text); }
.byline__badges { margin-left: auto; display: grid; gap: 6px; justify-items: end; flex: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--ssh-card); border: 1px solid var(--ssh-card-line); font-size: 12.5px; font-weight: 600; color: var(--ssh-text); white-space: nowrap; text-decoration: none; }
.badge svg { color: var(--ssh-muted); flex: none; }
.badge--ok { color: var(--ssh-accent) !important; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .35); }
.badge--ok svg { color: var(--ssh-accent); }
a.badge--ok:hover { border-color: var(--ssh-accent); }
.badge--no { color: var(--ssh-muted) !important; background: var(--ssh-card); border-color: var(--ssh-card-line); }
.badge--no svg { color: var(--ssh-muted); }
.byline__op { font-size: 12px; color: var(--ssh-muted); max-width: 260px; text-align: right; line-height: 1.35; }
@media (max-width: 700px) {
	.byline { flex-wrap: wrap; padding: 14px; }
	.byline__bio { display: none; }
	.byline__badges { margin-left: 0; flex-basis: 100%; display: flex; flex-wrap: wrap; }
	.byline__op { flex-basis: 100%; text-align: left; max-width: none; }
}

/* Content */
.content { padding: 28px 0 64px; }
.content > * { max-width: 100%; }
.entry > p, .entry > ul, .entry > ol, .entry > h2, .entry > h3, .entry > blockquote { max-width: 760px; }
.entry > h2 { margin-top: 1.6em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: .3em; }
.entry .wp-block-table table, .entry > table { border-collapse: collapse; width: 100%; background: var(--ssh-card); }
.entry .wp-block-table td, .entry .wp-block-table th { border: 1px solid var(--ssh-line); padding: 10px 12px; }

/* FAQ: Yoast FAQ block or <details> */
.entry details, .schema-faq-section { background: var(--ssh-card); border: 1px solid var(--ssh-card-line); border-radius: 12px; padding: 0 18px; margin: 0 0 10px; max-width: 760px; }
.entry summary, .schema-faq-question { display: block; cursor: pointer; font-weight: 600; padding: 16px 0; color: var(--ssh-ink); }
.schema-faq-answer { margin: 0 0 16px; color: var(--ssh-text); }

/* Front page head: same as other pages, plus the search */
.home-head .ssh-search { margin: 28px 0 0; max-width: 760px; }
/* Search results open as a dropdown over the page instead of pushing it down */
.ssh-search { position: relative; }
.ssh-search__results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; max-height: min(420px, 60vh); overflow-y: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.home-head { padding: 48px 0 8px; border-bottom: 0; }
.home-head h1 { margin-bottom: 12px; }
.home-head .lead { margin: 0; font-size: 19px; }
.home-head .lead strong { color: var(--ssh-ink); }
.home-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.home-jump a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ssh-card-line); background: var(--ssh-card); border-radius: 10px; color: #DDE3F3; font-weight: 600; font-size: 14px; text-decoration: none; }
.home-jump a svg { flex: none; }
.home-jump a.is-first { border-color: var(--ssh-accent); color: var(--ssh-accent); }
.home-jump a:hover { border-color: var(--ssh-accent); color: var(--ssh-ink); }
.home-jump em { font-style: normal; font-size: 12px; color: var(--ssh-muted); background: rgba(255, 255, 255, .06); border-radius: 6px; padding: 1px 7px; }
.home-jump em[hidden] { display: none; }
.home .ssh-toplist { margin: 48px 0 0; }
/* "Verified database" panel under the top list (0.3.22, "K3"): a lighter header row (badge left, last update
   and How we verify right), then the three counts with icons and the author split off by a hairline.
   On phones the counts stack and the author moves under them. */
.trust { margin: 40px 0 0; border-radius: 20px; background: var(--ssh-card); overflow: hidden; }
.trust__top { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; flex-wrap: wrap; padding: 16px 28px; background: var(--ssh-card2); }
.trust__vf { display: inline-flex; align-items: center; gap: 7px; color: var(--ssh-mint); font-weight: 600; font-size: 13.5px; }
.trust__vf svg { flex: none; }
.trust__meta { color: var(--ssh-muted); font-size: 13.5px; }
.trust__meta a { text-decoration: none; }
.trust__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; align-items: center; padding: 24px 28px; }
.trust__it { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust__ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(16, 185, 129, .10); color: var(--ssh-mint); }
.trust__it b { display: block; font: 600 24px/1.1 var(--ssh-display); color: var(--ssh-ink); font-variant-numeric: tabular-nums; }
.trust__it small { display: block; color: var(--ssh-muted); font-size: 13.5px; }
.trust__who { display: flex; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid var(--ssh-line); }
.trust__who img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.trust__who a { display: block; color: var(--ssh-ink); font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; }
.trust__who a:hover { color: var(--ssh-mint); }
.trust__who small { display: block; color: var(--ssh-muted); font-size: 13px; }
.home .trust + .content { margin-top: 40px; }
@media (max-width: 760px) {
	.trust { margin-top: 28px; border-radius: 16px; }
	.trust__top { padding: 14px 16px; }
	.trust__body { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
	.trust__who { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--ssh-line); }
}
@media (max-width: 700px) {
	.home-head { padding: 24px 0 0; }
	.home .ssh-toplist { margin-top: 32px; }
	.home-head h1 { font-size: 28px; }
	.home-head .lead { font-size: 16px; }
	.home-jump { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; }
	.home-jump a { padding: 8px 9px; font-size: 13px; gap: 6px; }
	.home-jump em { padding: 1px 5px; }
}
@media (max-width: 420px) {
	.home-jump svg { display: none; }
}
.home-head .ssh-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Front page hero (old) */
.hero { background: transparent; color: #fff; }
.hero .wrap { padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; max-width: 820px; margin: 0; }
.hero .lead { color: #C7D0DC; margin: 0; max-width: 640px; }
.hero .eyebrow { align-self: flex-start; display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--ssh-chip); color: var(--ssh-chip-text); font-size: 13px; font-weight: 500; }
.hero .ssh-search { margin: 0; color: #C7D0DC; }

/* Footer (0.3.23, "K2"): a shade darker than the page, faded mint line on top, three sections divided by hairlines. */
.site-footer { position: relative; background: #0A0D12; color: var(--ssh-muted); font-size: 14px; line-height: 1.6; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ssh-mint) 25%, var(--ssh-mint) 75%, transparent); opacity: .7; }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:focus-visible { outline: 2px solid var(--ssh-mint); outline-offset: 3px; border-radius: 4px; }
.ft { display: flex; flex-direction: column; gap: 44px; padding-top: 56px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.ft-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.ft-top > *, .ft-nav > * { min-width: 0; }
.ft-about { display: flex; flex-direction: column; gap: 16px; }
.ft-brand .brand__mark { width: 36px; }
.ft-brand .brand__name { font-size: 18px; }
.ft-about__txt { max-width: 42ch; }
.ft-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--ssh-text); }
.ft-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--ssh-accent); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); flex: none; }
.ft-meta span { color: var(--ssh-muted); }
.site-footer .ft-meta a { color: var(--ssh-link); }
.ft-nav { display: grid; grid-template-columns: repeat(var(--ft-cols, 3), minmax(0, 1fr)); gap: 24px; }
.ft-col__h { font: 600 12px/1 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--ssh-ink); margin: 2px 0 16px !important; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer .ft-col a:hover { color: var(--ssh-mint); }
.ft-col__soon { cursor: default; }

.ft-sec { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding-top: 40px; border-top: 1px solid var(--ssh-line); }
.ft-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.ft-sec__title, .ft-rg__title { font: 600 18px/1.3 var(--ssh-display); color: var(--ssh-ink); letter-spacing: -.01em; }
.ft-sec__sub { margin-top: 2px !important; }
.site-footer .ft-sec__link { display: inline-flex; align-items: center; gap: 6px; color: var(--ssh-link); font-weight: 500; }

.ft-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ft-person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--ssh-card); transition: background .15s; }
.ft-person:hover { background: var(--ssh-card2); }
.ft-person__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.ft-person__txt { display: flex; flex-direction: column; min-width: 0; }
.ft-person__name { color: var(--ssh-ink); font-weight: 600; font-size: 15.5px; }
.ft-person__role { color: var(--ssh-mint); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 1px 0 4px; }
.ft-person__bio { font-size: 13.5px; line-height: 1.5; }
.ft-person__go { color: var(--ssh-muted); display: flex; transition: transform .15s, color .15s; }
.ft-person:hover .ft-person__go { color: var(--ssh-mint); transform: translateX(2px); }

.ft-rg { gap: 16px; }
.ft-rg__head { display: flex; align-items: center; gap: 16px; }
.ft-rg__age { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ssh-ink); display: grid; place-items: center; color: var(--ssh-ink); font: 700 16px/1 var(--ssh-display); letter-spacing: -.02em; }
.ft-rg__where { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px !important; font-size: 13px; font-weight: 500; color: var(--ssh-mint); }
.ft-rg__text { color: var(--ssh-text); max-width: 75ch; }
.ft-rg__help { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ft-rg__help li { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 16px; border-radius: 12px; background: var(--ssh-card2); }
.ft-rg__label { font-size: 12.5px; color: var(--ssh-muted); overflow-wrap: anywhere; }
.site-footer .ft-rg__label a:hover { color: var(--ssh-ink); }
.ft-rg__num { display: inline-flex; align-items: center; gap: 8px; color: var(--ssh-ink) !important; font-weight: 600; font-size: 15.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft-rg__num svg { color: var(--ssh-mint); flex: none; }
.ft-rg__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; }
.site-footer .ft-rg__links a { color: var(--ssh-link); text-decoration: underline; text-decoration-color: rgba(157, 184, 255, .35); text-underline-offset: 3px; }
.site-footer .ft-rg__links a.ft-rg__more { margin-left: auto; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

.ft-end { display: flex; flex-direction: column; gap: 18px; }
.ft-disc { font-size: 13px; max-width: 100ch; }
.ft-disc a { color: var(--ssh-text); text-decoration: underline; text-underline-offset: 2px; }
.ft-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--ssh-line); font-size: 13px; }
.site-footer .ft-bar a { color: var(--ssh-text); }
.ft-bar__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer .ft-bar__menu a { color: var(--ssh-muted); }
.site-footer .ft-bar__menu a:hover { color: var(--ssh-ink); }
@media (max-width: 900px) {
	.ft-top { grid-template-columns: 1fr; gap: 36px; }
	.ft-about__txt { max-width: 60ch; }
	.ft-rg__help { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
	.ft { gap: 32px; padding-top: 40px; }
	.ft-nav { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.ft-nav .ft-col:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ft-nav .ft-col:last-child:nth-child(odd) ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
	.ft-sec { padding-top: 32px; }
	.ft-people { grid-template-columns: 1fr; gap: 10px; }
	.ft-person { padding: 14px; gap: 14px; }
	.ft-person__img { width: 48px; height: 48px; }
	.ft-rg__age { width: 46px; height: 46px; font-size: 14.5px; }
	.ft-rg__help { grid-template-columns: 1fr 1fr; gap: 8px; }
	.ft-rg__help li { padding: 10px 12px; }
	.ft-rg__help li:only-child { grid-column: 1 / -1; }
	.ft-rg__num { font-size: 13.5px; gap: 6px; }
	.ft-rg__num svg { width: 13px; height: 13px; }
	.site-footer .ft-rg__links a.ft-rg__more { margin-left: 0; }
	.ft-bar { flex-direction: column; }
}
@media (max-width: 360px) { .ft-rg__help { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ft-person, .ft-person__go { transition: none; } }

/* Cards in listings (index/archive) */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-card { background: var(--ssh-card); border: 1px solid var(--ssh-card-line); border-radius: 14px; padding: 20px; }
.post-card h2 { font-size: 20px; margin-bottom: 8px; }
.post-card a { text-decoration: none; color: var(--ssh-ink); }
.entry > p:empty { display: none; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 44px; width: auto; }

/* Long intro: "Read more" (assets/theme.js) */
.intro-more { margin: 0 0 32px; max-width: 760px; }
.intro-more__body { max-height: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 10%, transparent); mask-image: linear-gradient(#000 10%, transparent); }
.intro-more.is-open .intro-more__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
.intro-more > :first-child { margin-top: 0; }
.intro-more__btn { margin-top: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ssh-line2); border-radius: 10px; background: transparent; color: var(--ssh-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.intro-more__btn:hover { border-color: var(--ssh-accent); }
.entry > br, .entry > p > br:only-child { display: none; }

.lead { color: var(--ssh-text); }
.entry strong, .entry b { color: var(--ssh-ink); }
::selection { background: rgba(52, 211, 153, .35); color: #fff; }

/* Jump links (Top casinos, By owner, A–Z) glide to their section instead of jumping */
html { scroll-behavior: smooth; }
#top-casinos, #owners, #az, #search, [id^="ssh-"] { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Back to top: small, quiet, appears after scrolling down */
.to-top { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 29, 50, .88); border: 1px solid var(--ssh-card-line); color: var(--ssh-muted); text-decoration: none; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, color .15s, border-color .15s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.to-top[hidden] { display: grid; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { color: var(--ssh-accent); border-color: var(--ssh-accent); }
@media (max-width: 700px) { .to-top { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
