/* MySRD brand pass over GeneratePress defaults. */

@font-face {
	font-family: 'Bricolage Grotesque';
	src: url('fonts/bricolage-latin-wght.woff2') format('woff2-variations');
	font-weight: 200 800;
	font-style: normal;
	font-display: optional;
}

@font-face {
	font-family: 'InterVar';
	src: url('fonts/inter-latin-wght.woff2') format('woff2-variations');
	font-weight: 100 900;
	font-style: normal;
	font-display: optional;
}

:root {
	--gold: #f0b429;
	/* 5.2:1 on --cream, 5.6:1 on white. #a06f04 read better but only managed
	   4.1:1 on cream, which fails AA for the widget titles and inline links. */
	--gold-deep: #8a5f10;
	--gold-soft: #fdf3d9;
	--ink: #16150f;
	--ink-2: #211f18;
	--ink-3: #6b675e;
	--cream: #faf6ec;
	--line: #e6e1d5;
	--night: #0e0d09;
	--night-line: #26231b;
	--night-text: #d8d3c5;
	/* Muted footer type. 6.6:1 on --night, so the small counts and the legal
	   line clear WCAG AA; the old #7d786c sat at 4.4:1 and failed. */
	--night-muted: #9b968a;
	/* a px measure, not ch: ch is font-size relative and would widen the h1 */
	--prose: 720px;
	--wide: 900px;
	--display: 'Bricolage Grotesque', 'InterVar', system-ui, sans-serif;
	--body: 'InterVar', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.7;
	color: var(--ink-2);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.site-title, .main-title,
.mysrd-fh {
	font-family: var(--display);
	color: var(--ink);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

h1, .main-title { font-weight: 800; }
h2, h3, h4 { font-weight: 700; }

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 400;
	background: var(--ink);
	border-bottom: 1px solid var(--night-line);
}

.site-header .inside-header { padding: 14px 20px; }

.site-header .main-title a,
.site-header .site-description {
	color: #fff;
}

.site-header .main-title {
	font-size: 22px;
	letter-spacing: -0.03em;
	margin: 0;
}

.site-header .main-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.site-header .main-title a::before {
	content: '';
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23F0B429'/%3E%3Cg fill='%2316150F' transform='translate(-1 0)'%3E%3Crect x='18' y='15' width='9' height='34'/%3E%3Cpath fill-rule='evenodd' d='M25 15h11.5a11.6 11.6 0 0 1 0 23.2H25V15Zm2 8h9a3.6 3.6 0 0 1 0 7.2h-9V23Z'/%3E%3Cpath d='M27 35h11l9 14H36.5L27 35Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.site-header .site-description {
	font-size: 12px;
	color: var(--ink-3);
	margin-top: 2px;
}

/* nav */
.main-navigation,
.main-navigation .main-nav ul ul {
	background: var(--ink);
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
	color: #e9e4d6;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	padding: 12px 14px;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
	background: transparent;
	color: var(--gold);
}

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
	box-shadow: inset 0 -3px 0 var(--gold);
}

.main-navigation .main-nav ul ul {
	border: 1px solid var(--night-line);
	min-width: 230px;
}

.main-navigation .main-nav ul ul li a { padding: 10px 16px; }

/* ---------- content ---------- */

.separate-containers .inside-article,
.separate-containers .site-main > *,
.one-container .site-content {
	background: #fff;
}

.entry-content,
.page-header-content { max-width: none; }

.entry-content > * {
	max-width: var(--prose);
	margin-left: auto;
	margin-right: auto;
}

.entry-content > .wp-block-table,
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > .mysrd-panel,
.entry-content > #mysrd-status-check,
.entry-content > .mysrd-status-check {
	max-width: var(--wide);
}

.entry-title {
	font-size: clamp(30px, 4.2vw, 44px);
	max-width: var(--prose);
	margin-left: auto;
	margin-right: auto;
}

.entry-content h2 {
	font-size: clamp(24px, 3vw, 30px);
	margin-top: 2.2em;
	padding-top: 0.6em;
	border-top: 1px solid var(--line);
}

.entry-content h3 {
	font-size: clamp(19px, 2.2vw, 22px);
	margin-top: 1.8em;
}

.entry-content p,
.entry-content li { line-height: 1.75; }

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

.entry-content li { margin-bottom: 0.5em; }

.entry-content li::marker { color: var(--gold-deep); }

.entry-content strong { color: var(--ink); font-weight: 650; }

/* links */
.entry-content a,
.mysrd-footer a,
.widget-area a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.entry-content a:hover,
.entry-content a:focus-visible {
	color: var(--gold-deep);
	text-decoration-color: var(--gold-deep);
}

/* tables */
.entry-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	font-size: 16px;
}

.entry-content table thead,
.entry-content table tbody,
.entry-content table tr,
.wp-block-table table thead,
.wp-block-table table tbody,
.wp-block-table table tr {
	border: 0;
}

.entry-content table thead th,
.wp-block-table table thead th {
	border-bottom: 2px solid var(--line);
}

.entry-content table th,
.wp-block-table table th {
	background: var(--cream);
	color: var(--ink);
	font-family: var(--display);
	font-weight: 700;
	text-align: left;
	letter-spacing: -0.01em;
}

.entry-content table th,
.entry-content table td,
.wp-block-table table th,
.wp-block-table table td {
	border: 0;
	border-bottom: 1px solid var(--line);
	padding: 11px 14px;
	vertical-align: top;
}

.entry-content table tr:last-child td { border-bottom: 0; }

.wp-block-table { overflow-x: auto; }

blockquote {
	border-left: 3px solid var(--gold);
	background: var(--cream);
	padding: 14px 18px;
	margin-left: 0;
	font-style: normal;
	color: var(--ink-2);
}

/* ---------- hub list ---------- */

.mysrd-hublist {
	max-width: var(--prose);
	margin: 44px auto 0;
	padding-top: 26px;
	border-top: 3px solid var(--ink);
}

.mysrd-hl-h {
	font-size: 22px;
	margin: 0 0 6px;
}

.mysrd-hl-rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mysrd-hl-rows li {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.mysrd-hl-rows a {
	display: block;
	padding: 13px 2px;
	text-decoration: none !important;
	color: var(--ink) !important;
}

.mysrd-hl-rows a:hover {
	background: var(--gold-soft);
}

.mysrd-hl-t {
	display: block;
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.mysrd-hl-d {
	display: block;
	margin-top: 3px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ink-3);
}

/* ---------- browse index ---------- */

.mysrd-br-count {
	font-family: var(--display);
	font-weight: 700;
	font-size: 15px;
	color: var(--ink-3);
	margin: 0 0 8px;
}

.mysrd-browse {
	max-width: var(--prose);
	margin: 30px auto 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.mysrd-br-h {
	font-size: 19px;
	margin: 0 0 10px;
	display: flex;
	align-items: baseline;
	gap: 9px;
}

.mysrd-br-h a {
	color: var(--ink) !important;
	text-decoration: none !important;
}

.mysrd-br-h a:hover { color: var(--gold-deep) !important; }

.mysrd-br-n {
	font-size: 12px;
	font-weight: 400;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}

.mysrd-br-rows {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 28px;
}

.mysrd-br-rows li {
	margin: 0 0 6px;
	break-inside: avoid;
	font-size: 14.5px;
	line-height: 1.4;
}

/* ---------- related ---------- */

.mysrd-related {
	max-width: var(--prose);
	margin: 48px auto 0;
	padding-top: 28px;
	border-top: 3px solid var(--ink);
}

.mysrd-rel-h {
	font-size: 22px;
	margin: 0 0 18px;
}

.mysrd-rel-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.mysrd-rel-card {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 14px 16px;
	text-decoration: none !important;
	color: var(--ink) !important;
}

.mysrd-rel-card:hover {
	border-color: var(--gold);
	background: var(--gold-soft);
}

.mysrd-rel-t {
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.mysrd-rel-d {
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ink-3);
}

.mysrd-rel-all {
	display: inline-block;
	margin-top: 16px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 15px;
	color: var(--gold-deep) !important;
	text-decoration: none !important;
	border-bottom: 2px solid var(--gold);
	padding-bottom: 2px;
}

.mysrd-pn {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.mysrd-pn-a {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-decoration: none !important;
	color: var(--ink) !important;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
}

.mysrd-pn-a.next { text-align: right; }

.mysrd-pn-a:hover { color: var(--gold-deep) !important; }

.mysrd-pn-l {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-3);
}

/* ---------- sidebar ---------- */

.widget-area .widget {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 18px;
	margin-bottom: 20px;
	font-size: 16px;
}

.widget-area .widget-title,
.widget-area .widget h2 {
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin: 0 0 12px;
	line-height: 1.3;
}

.widget-area .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget-area .widget li {
	padding: 7px 0;
	border-bottom: 1px solid var(--line);
	line-height: 1.45;
}

.widget-area .widget li:last-child { border-bottom: 0; }

.mysrd-w-cta {
	display: block;
	background: var(--gold);
	color: var(--ink) !important;
	font-family: var(--display);
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
	border-radius: 6px;
	padding: 13px 16px;
	margin-top: 10px;
}

.mysrd-w-cta:hover { background: var(--gold-deep); color: #fff !important; }

.mysrd-w-note {
	font-size: 13px;
	color: var(--ink-3);
	margin: 10px 0 0;
	line-height: 1.5;
}

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

.mysrd-footer {
	background: var(--night);
	color: var(--night-text);
	padding: 48px 20px 36px;
	font-size: 15px;
	line-height: 1.65;
}

.mysrd-footer-in {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1.3fr 1fr;
	gap: 40px;
}

.mysrd-fh {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 14px;
}

.mysrd-fbrand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--display);
	font-weight: 800;
	font-size: 20px;
	color: #fff;
	letter-spacing: -0.03em;
	margin-bottom: 12px;
}

.mysrd-fbrand::before {
	content: '';
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23F0B429'/%3E%3Cg fill='%2316150F' transform='translate(-1 0)'%3E%3Crect x='18' y='15' width='9' height='34'/%3E%3Cpath fill-rule='evenodd' d='M25 15h11.5a11.6 11.6 0 0 1 0 23.2H25V15Zm2 8h9a3.6 3.6 0 0 1 0 7.2h-9V23Z'/%3E%3Cpath d='M27 35h11l9 14H36.5L27 35Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.mysrd-footer p { margin: 0 0 12px; }

.mysrd-ftiny { font-size: 13px; color: var(--night-muted); }

.mysrd-footer a {
	color: var(--night-text);
	text-decoration: none;
	border-bottom: 1px solid var(--night-line);
}

.mysrd-footer a:hover {
	color: var(--gold);
	border-bottom-color: var(--gold);
}

.mysrd-flinks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 20px;
}

.mysrd-flinks.one { grid-template-columns: 1fr; }

.mysrd-flinks a {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid var(--night-line);
	font-size: 14px;
}

.mysrd-fcount {
	color: var(--night-muted);
	font-variant-numeric: tabular-nums;
	font-size: 12px;
}

/* GP credit bar restyled as the legal line */
.site-info {
	background: var(--night);
	color: var(--night-muted);
	border-top: 1px solid var(--night-line);
	font-size: 13px;
	padding: 16px 20px;
}

.site-info .inside-site-info {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.site-info .copyright-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	justify-content: space-between;
}

.site-info a { color: var(--night-muted); }
.site-info a:hover { color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
	.mysrd-footer-in { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
	body { font-size: 17px; }

	.site-header { position: static; }

	.main-navigation .menu-toggle {
		color: #fff;
		font-family: var(--display);
		font-weight: 700;
	}

	.main-navigation.toggled .main-nav > ul { background: var(--ink); }

	.entry-content > * { max-width: none; }

	.entry-content table { font-size: 15px; }

	.mysrd-br-rows { columns: 1; }

	.mysrd-rel-grid,
	.mysrd-pn { grid-template-columns: 1fr; }

	.mysrd-pn-a.next { text-align: left; }
}

/* Editorial context is readable without competing with the page task. */
.mysrd-editorial-meta { margin: -.1rem 0 1rem; color: #555348; font-size: .875rem; line-height: 1.6; }
.mysrd-editorial-meta a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.mysrd-update-note { margin: 0 0 1.25rem; padding: .7rem .9rem; border-left: 3px solid #efb321; background: #fff8e5; color: #38362c; font-size: .875rem; line-height: 1.6; }

/* Homepage task layout — October 2026. Scoped to avoid changing guide templates. */
.home .site.grid-container{max-width:1180px}
.home .site-main{margin-top:0}
.home .inside-article{padding:46px 40px 54px}
.home .entry-title{text-wrap:balance;max-width:1040px;font-size:clamp(28px,3.7vw,44px);line-height:1.14;letter-spacing:-.035em;margin-bottom:0}
.home .entry-content{margin-top:16px}
.home .entry-content>*{max-width:1040px}
.home .entry-content .mysrd-home-intro{font-size:18px;line-height:1.6;margin:0 auto 26px;color:#4a493f}
.home .mysrd-home-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:44px;align-items:start;margin:0 auto 50px}
.home .mysrd-home-tool{min-width:0}
.home #sassa-checker{width:100%;max-width:none;margin:0;box-sizing:border-box}
.home .mysrd-home-check-help{padding:24px 0 0}
.home .entry-content .mysrd-home-check-help h2{font-size:27px;margin:0 0 16px;padding:0;border:0}
.home .mysrd-home-check-help p{font-size:17px;margin-bottom:18px}
.home .mysrd-home-official{margin-top:28px;border-left:3px solid #e4a91f;padding:4px 0 4px 22px}
.home .mysrd-home-official p{font-size:15px;margin-bottom:12px}
.home .mysrd-home-official p:last-child{margin-bottom:0}
.home .mysrd-home-section{margin:0 auto 54px;scroll-margin-top:24px}
.home .entry-content .mysrd-home-section h2{font-size:clamp(25px,3vw,32px);line-height:1.25;border:0;padding:0;margin:0 0 12px;letter-spacing:-.025em}
.home .mysrd-home-section>.wp-block-group__inner-container>p{max-width:760px;margin:0 0 24px;color:#4a493f}
.home .mysrd-home-actions,.home .mysrd-home-grants{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home .mysrd-home-payments,.home .mysrd-home-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.home .mysrd-home-card{display:flex;flex-direction:column;padding:24px;border:1px solid #deddd5;border-radius:12px;background:#fff;min-width:0}
.home .entry-content .mysrd-home-card h3{font-size:21px;line-height:1.25;margin:0 0 12px;letter-spacing:-.02em}
.home .mysrd-home-card p{font-size:16px;line-height:1.6;margin:0 0 18px}
.home .mysrd-home-card .mysrd-home-link{margin-top:auto;margin-bottom:0}
.home .entry-content .mysrd-home-link a{font-weight:650;color:#735008;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.home .entry-content a:focus-visible{outline:3px solid #765300;outline-offset:5px;border-radius:2px}
.home .mysrd-home-actions .mysrd-home-card{background:#faf9f5;border-top:3px solid #e8b339;border-radius:4px 4px 12px 12px;padding:22px 20px}
.home .mysrd-home-actions h3{font-size:20px}
.home .mysrd-home-payments .mysrd-home-card{padding:30px}
.home .mysrd-home-payments .mysrd-home-srd{background:#fff7df;border-color:#e8cc85}
.home .mysrd-home-payments h3{font-size:25px}
.home .mysrd-home-results .mysrd-home-card{border-left-width:5px}
.home .mysrd-home-results .mysrd-home-pending{border-left-color:#ad790b}
.home .mysrd-home-results .mysrd-home-approved{border-left-color:#39714f}
.home .mysrd-home-results .mysrd-home-declined{border-left-color:#a1483a}
.home .mysrd-home-results .mysrd-home-error{border-left-color:#626b76}
.home .mysrd-home-grants{gap:0;border-top:1px solid #deddd5;border-bottom:1px solid #deddd5}
.home .mysrd-home-grants .mysrd-home-card{border:0;border-radius:0;padding:26px 20px;border-right:1px solid #deddd5}
.home .mysrd-home-grants .mysrd-home-card:last-child{border-right:0}
.home .mysrd-home-grants+.mysrd-home-link{margin-top:20px;margin-bottom:0}
.home .mysrd-home-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.home .mysrd-home-answer{border-bottom:1px solid #deddd5;padding:22px 0}
.home .entry-content .mysrd-home-answer h3{font-size:20px;line-height:1.4;margin:0 0 10px}
.home .mysrd-home-answer p{font-size:16px;line-height:1.7;margin:0}
.home .entry-content .mysrd-home-note{font-size:14px;line-height:1.65;margin-top:18px;margin-bottom:0;color:#555348}
.home .mysrd-home-trust{padding:28px 30px;background:#f5f5f0;border-radius:12px;margin:0 auto}
.home .entry-content .mysrd-home-trust h2{border:0;padding:0;margin:0 0 14px;font-size:24px}
.home .mysrd-home-trust p{font-size:16px;line-height:1.7;margin-bottom:16px}
@media(max-width:900px){
.home .inside-article{padding:32px 24px 40px}
.home .mysrd-home-hero{gap:28px}
.home .mysrd-home-actions,.home .mysrd-home-grants{grid-template-columns:repeat(2,minmax(0,1fr))}
.home .mysrd-home-grants .mysrd-home-card:nth-child(2){border-right:0}
.home .mysrd-home-grants .mysrd-home-card:nth-child(-n+2){border-bottom:1px solid #deddd5}
}
@media(max-width:600px){
.home .inside-article{padding:28px 20px 36px}
.home .entry-title{font-size:28px;line-height:1.17;letter-spacing:-.025em}
.home .entry-content{margin-top:14px}
.home .entry-content .mysrd-home-intro{font-size:16px;margin-bottom:20px}
.home .mysrd-home-hero{grid-template-columns:1fr;gap:24px;margin-bottom:38px}
.home .mysrd-home-check-help{padding:0}
.home .entry-content .mysrd-home-check-help h2{font-size:23px}
.home .mysrd-home-check-help p{font-size:16px;margin-bottom:12px}
.home .mysrd-home-official{margin-top:18px;padding-left:16px}
.home .mysrd-home-official p{font-size:14px}
.home .mysrd-home-section{margin-bottom:38px}
.home .mysrd-home-section>.wp-block-group__inner-container>p{font-size:16px;margin-bottom:20px}
.home .mysrd-home-actions{gap:12px}
.home .mysrd-home-actions .mysrd-home-card{padding:17px 14px}
.home .entry-content .mysrd-home-actions h3{font-size:18px}
.home .mysrd-home-actions p{font-size:14px;line-height:1.55}
.home .mysrd-home-payments,.home .mysrd-home-results,.home .mysrd-home-faq{grid-template-columns:1fr;gap:14px}
.home .mysrd-home-payments .mysrd-home-card,.home .mysrd-home-results .mysrd-home-card{padding:23px 20px}
.home .mysrd-home-grants .mysrd-home-card{padding:22px 14px}
.home .entry-content .mysrd-home-grants h3{font-size:18px}
.home .mysrd-home-grants p{font-size:14px}
.home .mysrd-home-faq{gap:0}
.home .mysrd-home-trust{padding:24px 20px}
}
@media(max-width:359px){.home .mysrd-home-actions,.home .mysrd-home-grants{grid-template-columns:1fr}.home .mysrd-home-grants .mysrd-home-card{border-right:0;border-bottom:1px solid #deddd5}}

/* GeneratePress adds padded group wrappers during server rendering. */
.home .entry-content .wp-block-group__inner-container{display:contents}

/* Keep the homepage heading in two clear visual tiers from first paint. */
.home .entry-title .mysrd-home-title-main{display:block;text-wrap:wrap}
.home .entry-title .mysrd-home-title-sub{display:block;margin-top:8px;font-size:clamp(20px,2.5vw,30px);line-height:1.25;font-weight:600;letter-spacing:-.015em;text-wrap:wrap}
.home .entry-title .mysrd-home-title-grant{white-space:nowrap}

/* Center the homepage heading on every screen size. */
.home .entry-title{text-align:center;margin-inline:auto}

/* Keep the homepage checker and its primary action in the first mobile view. */
.home .entry-content .mysrd-home-tool .mysrd-check-heading {
  margin: 0 0 10px; padding: 0; border: 0; font-size: 22px; line-height: 1.25;
}
.home .mysrd-home-tool #sassa-checker .status-widget-title { display: none; }
.home .entry-content .mysrd-home-tool .direct-answer { margin: 16px 0 0; }
@media (max-width: 767px) {
  .home .inside-article { padding-top: 16px; }
  .home .entry-title { font-size: 25px; }
  .home .entry-title .mysrd-home-title-sub { font-size: 17px; margin-top: 4px; }
  .home .entry-content { margin-top: 12px; }
  .home .mysrd-home-tool #sassa-checker { margin-top: 0; padding: 14px; }
  .home .mysrd-home-tool #sassa-checker .form-alert { margin: 0 0 10px; padding: 8px 10px; }
  .home .mysrd-home-tool #sassa-checker .form-alert p { margin: 0; font-size: 13px; line-height: 1.4; }
  .home .mysrd-home-tool #sassa-form .form-label { margin-top: 0; margin-bottom: 4px; }
  .home .mysrd-home-tool #sassa-form .hint { margin: 4px 0 8px; font-size: 12px; line-height: 1.35; }
  .home .mysrd-home-tool #sassa-submit { margin-top: 8px !important; }
}

/* MySRD homepage: prioritize the checker without changing its markup or JS. */
.home .entry-content .mysrd-home-tool .mysrd-check-instruction {
  margin: 0 0 10px; font-size: 15px; line-height: 1.45;
}
.home .mysrd-home-hero > *, .home .mysrd-home-tool #sassa-form > * {
  min-width: 0;
}
.home .mysrd-home-tool #sassa-form input {
  max-width: 100%; box-sizing: border-box;
}
@media (min-width: 1024px) {
  .home .inside-article { padding-top: 12px; }
  .home .entry-title { font-size: 36px; }
  .home .entry-title .mysrd-home-title-sub { margin-top: 4px; font-size: 24px; }
  .home .entry-content { margin-top: 10px; }
  .home .mysrd-home-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
  .home .mysrd-home-tool #sassa-checker { margin-top: 0; padding: 12px; }
  .home .mysrd-home-tool #sassa-checker .form-alert { margin: 0 0 8px; padding: 6px 10px; }
  .home .mysrd-home-tool #sassa-checker .form-alert p { margin: 0; font-size: 13px; line-height: 1.4; }
  .home .mysrd-home-tool #sassa-form {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px;
  }
  .home .mysrd-home-tool #sassa-form.hidden { display: none; }
  .home .mysrd-home-tool #sassa-form :is(label[for="id_number"], #id_number, #id_hint) { grid-column: 1; }
  .home .mysrd-home-tool #sassa-form :is(label[for="phone_number"], #phone_number, #cell_hint) { grid-column: 2; }
  .home .mysrd-home-tool #sassa-form .form-label { grid-row: 1; margin: 0; }
  .home .mysrd-home-tool #sassa-form input { grid-row: 2; width: 100%; }
  .home .mysrd-home-tool #sassa-form .hint { grid-row: 3; margin: 0; font-size: 12px; line-height: 1.4; }
  .home .mysrd-home-tool #sassa-form :is(.form-submit, .privacy-note) { grid-column: 1 / -1; }
}

/* Home checker: one centered card for the heading, instruction and form. */
.home .mysrd-home-hero {
  display: block;
}
.home .mysrd-home-hero .mysrd-home-tool {
  box-sizing: border-box;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid #e4dac9;
  border-top: 4px solid #efb321;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(45, 33, 8, .06);
}
.home .entry-content .mysrd-home-tool .mysrd-check-heading,
.home .entry-content .mysrd-home-tool .mysrd-check-instruction {
  text-align: center;
}
.home .mysrd-home-hero .mysrd-home-tool #sassa-checker {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* MySRD checker: one accent edge and aligned trust details. */
.home .mysrd-home-hero .mysrd-home-tool {
  padding: clamp(16px, 2vw, 22px);
}
.home .mysrd-home-hero .mysrd-home-tool #sassa-checker::before {
  content: none;
}
.home .mysrd-home-tool #sassa-checker .form-foot {
  margin-inline: 0;
  padding-top: 10px;
}
.home .mysrd-home-tool #sassa-checker .form-alert {
  border-radius: 8px;
}
.home .mysrd-home-tool #sassa-checker .form-submit {
  text-transform: none;
  letter-spacing: 0;
}


/* Homepage checker: readable, compact spacing and a consistent focus ring. */
.home .entry-content .mysrd-home-tool .mysrd-check-instruction {
  max-width: 48ch;
  margin: 0 auto 12px;
  line-height: 1.45;
}
.home .mysrd-home-tool #sassa-checker .privacy-note {
  margin-top: 12px;
}
.home .mysrd-home-tool #sassa-checker .form-foot {
  margin-top: 10px;
  padding-top: 8px;
  font-size: .85rem;
}
.home .mysrd-home-tool #sassa-checker :is(input, button, a):focus-visible {
  outline: 2px solid #725000;
  outline-offset: 2px;
}


/* Keep the existing homepage H1 within the centered checker card. */
.home .mysrd-home-tool .mysrd-checker-title {
  margin: 0 0 10px;
}
.home .mysrd-home-tool .mysrd-checker-title .entry-title {
  font-size: clamp(24px, 3vw, 34px);
}
.home .mysrd-home-tool .mysrd-checker-title .mysrd-home-title-sub {
  font-size: clamp(16px, 2vw, 22px);
}
.home .entry-content .mysrd-home-tool .mysrd-check-instruction {
  max-width: 60ch;
}


.home .mysrd-home-tool { position: relative; }
.home .mysrd-home-tool .mysrd-checker-title { padding-inline: 28px; }
.home .mysrd-home-hero .mysrd-home-tool #sassa-checker { position: static; }
.home .mysrd-home-tool .mysrd-checker-info {
  position: absolute; top: 8px; right: 8px; z-index: 2;
}
.home .mysrd-home-tool .mysrd-checker-info summary {
  display: grid; place-items: center; width: 44px; height: 44px;
  margin-left: auto; list-style: none; cursor: pointer; border-radius: 8px;
}
.home .mysrd-home-tool .mysrd-checker-info summary::-webkit-details-marker { display: none; }
.home .mysrd-home-tool .mysrd-checker-info summary span {
  display: grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid #b9aa8e; border-radius: 50%;
  background: #f7f3e9; color: #654609; font: 700 13px/1 Georgia, serif;
}
.home .mysrd-home-tool .mysrd-checker-info summary:focus-visible {
  outline: 2px solid #725000; outline-offset: 1px;
}
.home .mysrd-home-tool .mysrd-checker-info-panel {
  position: absolute; top: 100%; right: 0;
  width: min(250px, calc(100vw - 64px)); padding: 12px 14px;
  background: #fff; color: #3b3325; border: 1px solid #e4dac9;
  border-radius: 10px; box-shadow: 0 6px 18px #2d210826;
  font-size: 14px; line-height: 1.5;
}

/* Primary checker destination in the footer Site navigation. */
.mysrd-footer .mysrd-flinks a.mysrd-footer-checker { color: var(--gold); }
.mysrd-footer .mysrd-flinks a.mysrd-footer-checker:hover,
.mysrd-footer .mysrd-flinks a.mysrd-footer-checker:focus-visible { color: var(--gold); text-decoration: underline; }
