/* ============================
   SBR Theme — Global Styles
   Minimal global only. Per-block styles live in sbr-blocks plugin.
   ============================ */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--background);
	-webkit-font-smoothing: antialiased;
}

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

/* Skip link (accessibility) */
.skip-link {
	position: absolute;
	right: -9999px;
	top: 8px;
	padding: 8px 16px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	z-index: 100000;
}
.skip-link:focus { right: 8px; }

/* Site header */
.site-header { background: var(--wp--preset--color--surface); border-bottom: 1px solid var(--wp--preset--color--border); }
.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-title { font-family: var(--wp--preset--font-family--heading); font-size: 20px; font-weight: 700; text-decoration: none; color: inherit; }
.main-menu { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-menu a { text-decoration: none; color: var(--wp--preset--color--text); font-weight: 500; }
.main-menu a:hover { color: var(--wp--preset--color--primary-dark); }

/* Main */
.site-main { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s, transform 0.15s;
	border: 0;
	cursor: pointer;
}
.btn--primary { background: var(--wp--preset--color--primary); color: #fff; }
.btn--primary:hover { opacity: 0.9; }
.btn--large { padding: 16px 32px; font-size: 18px; }

/* Footer base */
.site-footer { background: var(--wp--preset--color--surface); border-top: 1px solid var(--wp--preset--color--border); margin-top: 64px; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
.site-footer--full .site-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer__heading { font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; color: var(--wp--preset--color--text-muted); }
.site-footer__col p { margin: 0 0 8px; }
.site-footer__col a { color: inherit; text-decoration: none; }
.site-footer__col a:hover { color: var(--wp--preset--color--primary); }
.footer-menu, .legal-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li, .legal-menu li { margin: 4px 0; }
.social-links { list-style: none; display: flex; gap: 16px; justify-content: center; padding: 16px 24px 0; margin: 0; }
.social-links a { color: var(--wp--preset--color--primary-dark); text-decoration: none; }
.site-footer__copy { padding: 16px 24px; text-align: center; color: var(--wp--preset--color--text-muted); font-size: 14px; border-top: 1px solid var(--wp--preset--color--border); margin-top: 24px; }
.site-footer--minimal .site-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer--minimal .site-footer__copy { border: 0; margin: 0; padding: 0; text-align: right; }
.site-footer--minimal .legal-menu { display: flex; gap: 16px; }
.site-footer--cta .site-footer__cta-band { background: var(--wp--preset--color--primary); color: #fff; padding: 64px 24px; text-align: center; }
.site-footer--cta .site-footer__cta-title { font-size: 36px; margin: 0 0 8px; color: #fff; }
.site-footer--cta .site-footer__cta-subtitle { font-size: 18px; opacity: 0.9; margin: 0 0 24px; }
.site-footer--cta .btn--primary { background: #fff; color: var(--wp--preset--color--primary); }
.site-footer--cta .site-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer--cta .site-footer__phone a { color: var(--wp--preset--color--primary-dark); font-weight: 700; text-decoration: none; font-size: 20px; }

/* 404 */
.error-404 { text-align: center; padding: 64px 24px; }
.error-404__code { font-size: 120px; font-weight: 800; color: var(--wp--preset--color--primary); margin: 0; line-height: 1; }
.error-404__title { font-size: 32px; margin: 16px 0; }
.error-404__message { font-size: 18px; color: var(--wp--preset--color--text-muted); margin-bottom: 32px; }
.error-404__search { max-width: 480px; margin: 0 auto 48px; }
.error-404__search input[type="search"] { width: 100%; padding: 12px 16px; border: 1px solid var(--wp--preset--color--border); border-radius: 8px; font-size: 16px; }
.error-404__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.error-404__links a { color: var(--wp--preset--color--primary); text-decoration: none; padding: 8px 16px; border: 1px solid var(--wp--preset--color--border); border-radius: 8px; }
.error-404__links a:hover { background: var(--wp--preset--color--background); }
.error-404__cta { margin-top: 48px; }

/* Entry content */
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: 36px; margin: 0 0 8px; }
.entry-meta { color: var(--wp--preset--color--text-muted); font-size: 14px; }
.entry-image { margin: 0 0 32px; border-radius: 12px; overflow: hidden; }
.entry-content > * { margin-bottom: 1.2em; }

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	display: block;
	padding: 8px 16px;
	background: #fff;
}

/* ===== Long-form SEO/mechanism section — 2-col: justified prose + dark "in brief"
   card on the side. Cream band so it ties into the other light sections. Permanent
   (content + SEO), independent of the editorial toggle. */
.sbr-longform{width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw);
	background:var(--paper);padding:84px 22px;box-sizing:border-box;border-block:1px solid var(--line)}
.sbr-lf__wrap{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.55fr .95fr;gap:56px;align-items:start;direction:rtl}
.sbr-lf__eyebrow{font-family:var(--ff);font-weight:700;font-size:13px;letter-spacing:.2em;color:var(--accent-strong);margin:0 0 14px}
.sbr-lf__main h2{font-family:var(--ff);font-size:clamp(27px,3.4vw,38px);line-height:1.14;letter-spacing:-.02em;color:var(--ink);margin:0 0 20px;font-weight:800}
.sbr-lf__lead{font-size:18px;line-height:1.85;color:var(--fg-soft);margin:0 0 14px;text-align:justify}
.sbr-lf__main h3{display:flex;align-items:center;gap:11px;font-family:var(--ff);font-size:20px;line-height:1.3;color:var(--ink);margin:30px 0 9px;font-weight:800}
.sbr-lf__ic{width:26px;height:26px;flex:0 0 auto;color:var(--accent-strong)}
.sbr-lf__main p{font-size:16.5px;line-height:1.8;color:var(--fg-soft);margin:0;text-align:justify}
.sbr-lf__side{position:sticky;top:96px}
.sbr-lf__sidecard{background:radial-gradient(135% 135% at 78% -12%,#2b3543 0%,#1d242f 74%);color:var(--on-dark);border:1px solid rgba(200,162,76,.30);border-radius:20px;padding:32px 28px;text-align:center;box-shadow:0 24px 60px -34px rgba(18,22,28,.5)}
.sbr-lf__mark{width:66px;height:66px;margin:0 auto 14px;display:block}
.sbr-lf__side-kicker{font-weight:700;font-size:13px;letter-spacing:.2em;color:var(--accent);margin:0 0 20px}
.sbr-lf__bullets{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-direction:column;gap:15px;text-align:start}
.sbr-lf__bullets li{display:flex;align-items:center;gap:11px;font-size:15.5px;font-weight:600;color:var(--on-dark)}
.sbr-lf__bullets .sbr-lf__ic{color:var(--accent);width:22px;height:22px}
.sbr-lf__sidecard .sbr-btn{width:100%;justify-content:center}
@media(max-width:900px){.sbr-lf__wrap{grid-template-columns:1fr;gap:32px}.sbr-lf__side{position:static}}
@media(max-width:600px){.sbr-longform{padding:54px 20px}.sbr-lf__lead,.sbr-lf__main p{text-align:right}}
