/*
Theme Name: Henerlaw Modern
Theme URI: https://henerlaw.zapsites.co.il
Author: zapgroup
Description: ערכת עיצוב RTL מודרנית למשרד הנר–גרשון, עורכי דין ונוטריונים.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: henerlaw-modern
*/

@font-face {
	font-family: "Heebo Local";
	src: url("assets/fonts/Heebo-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #0b1f33;
	--navy-2: #132c46;
	--ivory: #f5f1e8;
	--paper: #fffdf8;
	--brass: #b88a44;
	--brass-dark: #8e672f;
	--sage: #5e7775;
	--ink: #162636;
	--muted: #62707b;
	--line: rgba(11, 31, 51, 0.14);
	--white-line: rgba(255, 255, 255, 0.18);
	--shadow: 0 18px 45px rgba(11, 31, 51, 0.09);
	--radius: 3px;
	--container: 1180px;
	--reading: 820px;
	--header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Heebo Local", Heebo, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.75;
	direction: rtl;
	text-align: right;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); text-decoration-color: rgba(184, 138, 68, 0.65); text-underline-offset: .18em; }
a:hover { color: var(--brass-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: #fff; }

.container-wide { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container { width: min(calc(100% - 48px), 980px); margin-inline: auto; }
.content-shell { width: min(calc(100% - 48px), var(--reading)); margin-inline: auto; }
.site-main { min-height: 50vh; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed !important; inset-block-start: 10px; inset-inline-start: 10px; z-index: 100000; width: auto; height: auto; padding: 12px 18px; clip: auto; background: #fff; color: var(--navy); }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--navy); color: #fff; border-block-end: 1px solid var(--white-line); }
.site-header.is-sticky { position: sticky; inset-block-start: 0; box-shadow: 0 8px 25px rgba(0,0,0,.14); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-branding { flex: 0 1 300px; min-width: 190px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 290px; max-height: 64px; }
.text-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; line-height: 1.2; }
.text-logo:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; fill: none; stroke: var(--brass); stroke-width: 1.5; flex: none; }
.text-logo strong { display: block; font-size: 1.04rem; font-weight: 650; }
.text-logo small { display: block; margin-top: 4px; color: rgba(255,255,255,.68); font-size: .68rem; letter-spacing: .01em; }
.main-navigation { margin-inline-start: auto; align-self: stretch; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { height: 100%; display: flex; align-items: stretch; }
.primary-menu > li { position: relative; display: flex; align-items: stretch; }
.primary-menu a { display: flex; align-items: center; color: rgba(255,255,255,.91); text-decoration: none; padding-inline: 15px; font-size: .91rem; font-weight: 540; white-space: nowrap; }
.primary-menu > li > a::after { content: ""; position: absolute; inset-inline: 15px; inset-block-end: 0; height: 2px; background: var(--brass); transform: scaleX(0); transition: transform .2s ease; }
.primary-menu > li:hover > a::after, .primary-menu > .current-menu-item > a::after, .primary-menu > .current-menu-ancestor > a::after, .primary-menu > li:focus-within > a::after { transform: scaleX(1); }
.primary-menu a:hover { color: #fff; }
.submenu-toggle { display: none; }
.primary-menu .sub-menu { position: absolute; inset-block-start: calc(100% - 1px); inset-inline-start: 0; z-index: 20; width: 235px; padding: 8px; background: #fff; box-shadow: var(--shadow); border-block-start: 3px solid var(--brass); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.primary-menu .sub-menu li { position: relative; }
.primary-menu .sub-menu a { min-height: 44px; padding: 8px 12px; color: var(--ink); line-height: 1.35; white-space: normal; }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu a:focus { color: var(--brass-dark); background: var(--ivory); }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu .sub-menu { inset-block-start: -8px; inset-inline-start: 100%; }
.header-cta { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 45px; padding: 8px 15px; border: 1px solid var(--brass); color: #fff; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.header-cta:hover { background: var(--brass); color: #fff; }
.header-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; width: 44px; height: 44px; padding: 10px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] > span:nth-last-child(3) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-last-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Hero and global title areas */
.home-hero { position: relative; display: grid; min-height: clamp(440px, 58vw, 650px); background: var(--navy); overflow: hidden; color: #fff; }
.hero-media, .hero-overlay, .hero-inner { grid-area: 1 / 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { z-index: 1; background: linear-gradient(90deg, rgba(11,31,51,.32), rgba(11,31,51,.95) 72%), linear-gradient(0deg, rgba(11,31,51,.3), transparent); }
.home-hero:not(.has-image) .hero-overlay { background: radial-gradient(circle at 18% 20%, rgba(94,119,117,.34), transparent 34%), linear-gradient(135deg, var(--navy), #132f4d); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; }
.hero-copy { width: min(720px, 70%); padding-block: 74px; }
.hero-copy::before { content: ""; display: block; width: 68px; height: 3px; margin-block-end: 28px; background: var(--brass); }
h1, h2, h3, h4 { margin-block: 0 .55em; color: var(--navy); line-height: 1.18; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.48rem); }
.hero-copy h1 { color: #fff; max-width: 760px; }
.hero-lead { max-width: 630px; color: rgba(255,255,255,.84); font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.65; }
.hero-lead p { margin: 0; }
.facts-strip { background: var(--sage); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fact-item { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 22px clamp(18px, 3vw, 35px); border-inline-start: 1px solid rgba(255,255,255,.2); }
.fact-item:last-child { border-inline-end: 1px solid rgba(255,255,255,.2); }
.fact-item strong { color: #fff; font-size: 1.12rem; }
.fact-item span { color: rgba(255,255,255,.78); font-size: .91rem; }
.page-hero, .article-header, .archive-header { padding-block: clamp(50px, 8vw, 92px); background: var(--ivory); border-block-end: 1px solid var(--line); }
.page-hero h1, .article-header h1, .archive-header h1 { max-width: 900px; margin-block-end: 0; }
.page-lead, .archive-description { max-width: 730px; margin-block-start: 18px; color: var(--muted); font-size: 1.13rem; }
.page-lead p, .archive-description p { margin: 0; }
.article-meta, .post-card-meta { color: var(--brass-dark); font-size: .82rem; font-weight: 600; }
.breadcrumbs { margin-block-end: 24px; font-size: .79rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .separator { color: var(--brass); }

/* Editable content */
.home-content { padding-block: clamp(48px, 7vw, 90px); }
.entry-content.content-shell { padding-block: clamp(40px, 6vw, 72px); }
.entry-content > *:first-child, .content-section > *:first-child { margin-block-start: 0; }
.entry-content > *:last-child, .content-section > *:last-child { margin-block-end: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin-block: 0 1.25em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.35em; }
.entry-content li + li { margin-block-start: .35em; }
.entry-content blockquote { margin: 2em 0; padding: 22px 26px; border-inline-start: 4px solid var(--brass); background: var(--ivory); color: var(--navy); font-size: 1.1rem; }
.entry-content a { font-weight: 550; }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 1.5em; }
.entry-content th, .entry-content td { padding: 12px 14px; text-align: start; border: 1px solid var(--line); }
.entry-content th { background: var(--navy); color: #fff; }
.alignwide { width: min(1100px, calc(100vw - 48px)); max-width: none; margin-inline: calc((100% - min(1100px, calc(100vw - 48px))) / 2); }
.alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.page-featured, .article-featured { margin: 0 0 36px; }
.page-featured img, .article-featured img { width: 100%; max-height: 520px; object-fit: cover; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 13px !important; color: var(--brass-dark); font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }
.content-section { padding-block: clamp(38px, 6vw, 72px); }
.content-section + .content-section { border-block-start: 1px solid var(--line); }

/* Seed-content layout components */
.intro-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; margin-block: 30px; }
.home .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.practice-card { display: flex; flex-direction: column; height: 100%; min-height: 245px; padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-block-start: 3px solid var(--brass); box-shadow: 0 10px 30px rgba(11,31,51,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.practice-card:hover { transform: translateY(-4px); border-color: rgba(184,138,68,.55); box-shadow: var(--shadow); }
.practice-card h3 { margin-block-end: 12px; }
.practice-card p:last-child { margin-block-end: 0; }
.practice-card .text-link { margin-block-start: auto; padding-block-start: 18px; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-block: 30px; counter-reset: process; }
.process-step { position: relative; min-height: 190px; padding: 26px; background: var(--ivory); counter-increment: process; }
.process-step::before { content: counter(process, decimal-leading-zero); display: block; margin-block-end: 22px; color: var(--brass); font-size: 1.7rem; font-weight: 300; line-height: 1; }
.process-step h3 { font-size: 1.18rem; }
.process-step p:last-child { margin: 0; }
.faq-list { margin-block: 28px; border-block-start: 1px solid var(--line); }
.faq-list details { border-block-end: 1px solid var(--line); background: transparent; }
.faq-list summary { position: relative; list-style: none; padding: 21px 46px 21px 4px; color: var(--navy); font-weight: 650; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; inset-inline-start: 12px; inset-block-start: 50%; width: 16px; height: 2px; background: var(--brass); transition: transform .2s ease; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--brass-dark); }
.faq-list details > :not(summary) { margin-inline: 46px 4px; }
.faq-list details > :last-child { margin-block-end: 22px; }
.info-card, .portrait-card, .article-callout { padding: clamp(24px, 4vw, 38px); background: var(--ivory); border: 1px solid var(--line); }
.info-card { border-block-start: 4px solid var(--sage); }
.info-card ul { list-style: none; padding: 0; }
.portrait-card { background: var(--navy); color: rgba(255,255,255,.82); }
.portrait-card h2, .portrait-card h3, .portrait-card strong { color: #fff; }
.portrait-card img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; margin-block-end: 24px; }
.article-callout { margin-block: 30px; border-inline-start: 4px solid var(--brass); }
.article-callout h2, .article-callout h3 { font-size: 1.3rem; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-block: clamp(38px, 6vw, 70px); padding: clamp(28px, 5vw, 50px); background: var(--navy); color: rgba(255,255,255,.82); }
.cta-band h2, .cta-band h3 { color: #fff; margin-block-end: 7px; }
.cta-band p { margin: 0; }
.cta-band .eyebrow { color: #f0d7a7; }
.cta-band .button, .cta-band .wp-block-button__link { flex: none; white-space: nowrap; color: var(--navy); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0 !important; }
.feature-list li { position: relative; padding-inline-start: 26px; }
.feature-list li::before { content: ""; position: absolute; inset-inline-start: 3px; inset-block-start: .66em; width: 9px; height: 9px; border: 2px solid var(--brass); transform: rotate(45deg); }
.hours-table { font-size: .94rem; }
.hours-table td:first-child { color: var(--navy); font-weight: 600; }
.map-frame { overflow: hidden; min-height: 300px; background: var(--ivory); border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }
.lead-form-wrap { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lead-form-wrap label { display: block; margin-block-end: 6px; color: var(--navy); font-weight: 650; }
.lead-form-wrap input:not([type="checkbox"]):not([type="radio"]), .lead-form-wrap textarea, .lead-form-wrap select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #aab2b7; background: #fff; color: var(--ink); }
.lead-form-wrap textarea { min-height: 130px; resize: vertical; }
.lead-form-wrap input:focus, .lead-form-wrap textarea:focus, .lead-form-wrap select:focus { border-color: var(--brass); outline: 2px solid rgba(184,138,68,.25); }

/* Buttons and cards */
.button, .wp-block-button__link, input[type="submit"], button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border: 1px solid var(--brass); border-radius: 0; background: var(--brass); color: #fff; text-decoration: none; font-weight: 650; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.button:hover, .wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-dark); text-decoration: none; font-weight: 650; }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.archive-grid-wrap { padding-block: clamp(42px, 6vw, 74px); }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 22px; }
.post-card { display: flex; flex-direction: column; min-width: 0; height: 100%; background: #fff; border: 1px solid var(--line); }
.post-card-media { display: block; overflow: hidden; background: var(--ivory); aspect-ratio: 16 / 9; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.post-card-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--sage)); }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-card-meta { display: flex; gap: 14px; margin-block-end: 12px; }
.post-card h2 { font-size: 1.3rem; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card-excerpt { color: var(--muted); font-size: .92rem; }
.post-card-excerpt p { margin-block: 0 18px; }
.post-card .text-link { margin-block-start: auto; }
.navigation.pagination { margin-block-start: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 9px; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-navigation { margin-block: 42px; border-block: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.post-navigation a { display: flex; flex-direction: column; min-height: 105px; justify-content: center; padding: 18px; text-decoration: none; }
.post-navigation .nav-next { border-inline-start: 1px solid var(--line); text-align: end; }
.nav-label { color: var(--muted); font-size: .78rem; }
.tag-list { color: var(--muted); }
.comments-area { padding-block-end: 60px; }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment { padding: 20px; margin-block: 12px; background: var(--ivory); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); }
.footer-main { display: grid; grid-template-columns: 1.4fr .65fr 1fr; gap: clamp(30px, 6vw, 80px); padding-block: clamp(48px, 7vw, 80px); }
.footer-title { color: #fff; font-size: 1.3rem; font-weight: 650; }
.footer-brand p { max-width: 400px; }
.site-footer h2 { color: var(--brass); font-size: .86rem; letter-spacing: .06em; }
.footer-menu, .footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-menu a, .footer-contact a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-block: 9px; }
.footer-contact svg { flex: none; width: 19px; height: 19px; margin-block-start: 5px; fill: none; stroke: var(--brass); stroke-width: 1.6; }
.footer-bottom { border-block-start: 1px solid var(--white-line); font-size: .78rem; }
.footer-bottom .container-wide { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* Utility pages */
.error-content { padding-block: clamp(70px, 12vw, 140px); text-align: center; }
.error-code { display: block; color: var(--brass); font-size: clamp(4rem, 13vw, 9rem); font-weight: 200; line-height: 1; }
.error-content p { color: var(--muted); }
.error-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-block-start: 28px; }
.search-form { display: flex; }
.search-form label { display: flex; }
.search-field { min-height: 48px; padding: 8px 12px; border: 1px solid #aab2b7; }
.search-submit { min-height: 48px !important; }

@media (max-width: 1050px) {
	:root { --header-h: 74px; }
	.site-branding { flex: 1; }
	.menu-toggle { display: block; order: 3; flex: none; }
	.header-cta { order: 2; }
	.main-navigation { position: absolute; inset-block-start: 100%; inset-inline: 0; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--navy); border-block-start: 1px solid var(--white-line); box-shadow: 0 20px 35px rgba(0,0,0,.22); }
	.main-navigation.is-open { display: block; }
	.primary-menu { display: block; height: auto; width: min(calc(100% - 48px), var(--container)); margin-inline: auto; padding-block: 10px 20px; }
	.primary-menu > li, .primary-menu li { display: grid; grid-template-columns: 1fr 48px; align-items: stretch; border-block-end: 1px solid var(--white-line); }
	.primary-menu a { min-height: 50px; padding: 10px 3px; }
	.primary-menu > li > a::after { display: none; }
	.submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-height: 48px; padding: 0; border: 0; border-inline-start: 1px solid var(--white-line); background: transparent; color: #fff; }
	.submenu-toggle svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
	.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.primary-menu .sub-menu { position: static; grid-column: 1 / -1; display: none; width: auto; padding: 5px 18px 10px 0; background: rgba(0,0,0,.14); border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
	.primary-menu .sub-menu.is-open { display: block; }
	.primary-menu .sub-menu li { grid-template-columns: 1fr 44px; border-color: rgba(255,255,255,.1); }
	.primary-menu .sub-menu a { color: rgba(255,255,255,.85); }
	.primary-menu .sub-menu a:hover, .primary-menu .sub-menu a:focus { background: transparent; color: #fff; }
	.primary-menu .sub-menu .sub-menu { position: static; }
	.practice-grid, .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body { font-size: 17px; }
	.container-wide, .container, .content-shell { width: min(calc(100% - 32px), var(--container)); }
	.site-branding { min-width: 0; }
	.custom-logo { max-width: 190px; max-height: 52px; }
	.text-logo small { display: none; }
	.text-logo strong { max-width: 170px; font-size: .9rem; }
	.brand-mark { width: 34px; height: 34px; }
	.header-cta { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
	.header-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.primary-menu { width: calc(100% - 32px); }
	.home-hero { min-height: 460px; }
	.hero-overlay { background: linear-gradient(0deg, rgba(11,31,51,.97) 8%, rgba(11,31,51,.5) 100%); }
	.hero-copy { width: 100%; padding-block: 54px; align-self: end; }
	.hero-copy::before { margin-block-end: 20px; }
	h1 { font-size: clamp(2.1rem, 12vw, 3.25rem); }
	.facts-grid { grid-template-columns: 1fr 1fr; }
	.fact-item { min-height: 105px; border-block-end: 1px solid rgba(255,255,255,.2); }
	.intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
	.practice-grid, .home .practice-grid, .process-grid, .posts-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.practice-card { min-height: 0; }
	.process-step { min-height: 0; }
	.feature-list { grid-template-columns: 1fr; }
	.cta-band { align-items: flex-start; flex-direction: column; }
	.footer-main { grid-template-columns: 1fr; gap: 28px; }
	.footer-bottom .container-wide { flex-direction: column; justify-content: center; padding-block: 14px; gap: 3px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { border-inline-start: 0; border-block-start: 1px solid var(--line); text-align: start; }
	.error-actions { flex-direction: column; }
	.alignwide { width: calc(100vw - 32px); margin-inline: calc((100% - (100vw - 32px)) / 2); }
}

@media (max-width: 440px) {
	.facts-grid { grid-template-columns: 1fr; }
	.fact-item { border-inline: 0; }
	.text-logo strong { max-width: 125px; }
	.faq-list summary { padding-inline-end: 8px; }
	.faq-list details > :not(summary) { margin-inline: 36px 4px; }
	.contact-divider { display: block; font-size: 0; height: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
