/*
Theme Name: Leticia Guías
Theme URI: https://www.leticiagarzonabogada.com/
Author: Leticia Garzón Godino
Author URI: https://www.leticiagarzonabogada.com/
Description: Guías de derecho civil y familia. Tema editorial accesible, adaptable y sin dependencias externas, pensado para acompañar la web corporativa de Leticia Garzón desde /guias/.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leticia-guias
Tags: blog, custom-colors, featured-images, editor-style, wide-blocks
*/

:root {
  --ink: #183e41;
  --ink-deep: #123236;
  --muted: #526461;
  --paper: #f7f4ed;
  --sand: #eae4d7;
  --white: #fffefa;
  --copper: #895236;
  --gold: #d7bb8a;
  --line: #d8d9cc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.admin-bar .site-header { top: 32px; }
main:focus { outline: none; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
h1 { font-size: clamp(2.65rem, 5vw, 4.65rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1.25em; }
em { font-weight: 400; }
::selection { color: var(--white); background: var(--ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.icon { display: inline-block; width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.eyebrow { display: block; font: 650 10px/1.65 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.8; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: fixed; top: -150px; left: 20px; z-index: 99999; padding: 12px 20px; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 54px; padding: 14px 22px; border: 1px solid var(--ink); color: var(--white); background: var(--ink); font: 600 14px/1.5 var(--sans); text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--ink-deep); transform: translateY(-2px); }
.button .icon { width: 19px; height: 19px; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { background: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; padding-block: 4px; font: 600 13px/1.6 var(--sans); text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; }
.text-link:hover { color: var(--copper); }

/* Corporate identity shared visually with the static site. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248, 244, 236, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(12px)) { .site-header { background: rgba(248, 244, 236, .91); backdrop-filter: blur(12px); } }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 15px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding-right: 4px; border: 1px solid var(--ink); font: 29px/1.2 var(--serif); letter-spacing: -4px; }
.brand-mark span { position: absolute; right: -5px; bottom: -5px; width: 15px; height: 15px; border-right: 1px solid var(--copper); border-bottom: 1px solid var(--copper); background: var(--paper); }
.brand-name { font: 26px/1.1 var(--serif); letter-spacing: -.7px; }
.brand-name > span { display: block; margin-top: 7px; font: 600 8px/1.4 var(--sans); letter-spacing: .15em; }
.primary-nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 500; }
.primary-nav > a { padding-block: 10px; text-decoration: none; white-space: nowrap; }
.primary-nav > a:hover { color: var(--copper); }
.primary-nav .nav-current { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 8px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; border-left: 1px solid var(--line); padding-left: 23px; }
.header-call .icon { width: 17px; height: 17px; }
.menu-toggle { display: none; align-items: center; gap: 7px; min-height: 44px; padding: 8px 0 8px 10px; border: 0; color: var(--ink); background: transparent; font-size: 12px; }

/* The editorial landing page. */
.guides-hero { padding: 76px 0 68px; background: linear-gradient(180deg, #fcfaf6, var(--paper)); }
.guides-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 90px; align-items: center; }
.guides-hero-copy > .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.guides-hero-copy > .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--copper); flex-shrink: 0; }
.guides-hero h1 { margin-bottom: 25px; }
.guides-hero h1 em { color: var(--copper); }
.guides-hero .lead { max-width: 590px; margin-bottom: 26px; }
.hero-note-card { position: relative; padding: 35px 32px 30px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 20px 45px rgba(24, 62, 65, .04); }
.hero-note-card::before { content: ''; position: absolute; inset: 9px; border: 1px solid #eeebe2; pointer-events: none; }
.note-number { display: block; width: fit-content; margin-bottom: 28px; padding-right: .13em; color: var(--copper); font: 61px/1 var(--serif); letter-spacing: -.13em; }
.hero-note-card .eyebrow { margin-bottom: 13px; color: var(--muted); }
.hero-note-card h2 { margin-bottom: 17px; font-size: 32px; line-height: 1.2; }
.hero-note-card p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-note-card .text-link { margin-top: 3px; }
.guides-section { padding: 58px 0 88px; border-top: 1px solid var(--line); }
.listing-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.listing-header h2 { margin: 12px 0 0; }
.category-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.category-nav a { display: inline-flex; justify-content: center; align-items: center; min-height: 43px; padding: 8px 17px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); background: transparent; font-size: 12px; text-decoration: none; transition: border-color .2s, background .2s; }
.category-nav a:hover { color: var(--ink); border-color: var(--ink); background: var(--white); }
.category-nav a[aria-current="page"] { color: var(--white); border-color: var(--ink); background: var(--ink); }
.search-form { display: flex; width: min(100%, 350px); min-height: 50px; border: 1px solid var(--line); background: var(--white); }
.search-field { min-width: 0; width: 100%; padding: 13px 15px; border: 0; border-radius: 0; color: var(--ink); background: transparent; font-size: 13px; line-height: 1.4; }
.search-field::placeholder { color: #62706b; opacity: 1; }
.search-submit { display: flex; align-items: center; justify-content: center; width: 50px; min-width: 50px; padding: 10px; border: 0; border-left: 1px solid var(--line); color: var(--ink); background: transparent; }
.search-submit:hover { background: var(--sand); }
.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.guide-card:hover { border-color: #a8b5ab; box-shadow: 0 16px 30px rgba(24, 62, 65, .055); }
.guide-card-image { display: block; overflow: hidden; border-bottom: 1px solid var(--line); aspect-ratio: 20 / 13; }
.guide-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.guide-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 25px 24px; }
.guide-card-top { display: flex; flex-wrap: wrap; gap: 9px 15px; align-items: center; justify-content: space-between; margin-bottom: 23px; color: var(--muted); font-size: 10px; }
.category-label { color: var(--copper); font: 650 10px/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.category-label:hover { text-decoration: underline; }
.guide-card-title { margin: 0 0 16px; font-size: clamp(24px, 2.1vw, 28px); line-height: 1.25; }
.guide-card-title a { text-decoration: none; }
.guide-card-title a:hover { color: var(--copper); }
.guide-card-excerpt { margin-bottom: 27px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.guide-card-excerpt p { margin-bottom: 0; }
.guide-card-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.guide-card-bottom .text-link { gap: 10px; font-size: 12px; }
.reading-time { color: var(--muted); font-size: 10px; }
.empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: start; padding: 48px; border: 1px solid var(--line); background: var(--white); }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border: 1px solid var(--line); color: var(--copper); background: var(--paper); }
.empty-icon .icon { width: 32px; height: 32px; }
.empty-state .eyebrow { margin-bottom: 14px; }
.empty-state h2, .empty-state h3 { margin-bottom: 20px; font-size: clamp(28px, 3vw, 40px); }
.empty-state p { max-width: 650px; margin-bottom: 26px; color: var(--muted); font-size: 15px; }
.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); font-size: 13px; text-decoration: none; }
.pagination .page-numbers.current { color: var(--white); border-color: var(--ink); background: var(--ink); }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* Reading layout, Gutenberg content, and archives. */
.breadcrumbs { padding-top: 27px; margin-bottom: 0; color: var(--muted); font-size: 11px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 11px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 11px; color: #78837b; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-header { max-width: 1030px; padding: 45px 0 35px; }
.article-header > .eyebrow { margin-bottom: 21px; color: var(--copper); }
.article-header h1 { max-width: 1000px; margin-bottom: 25px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.12; }
.article-intro { max-width: 810px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.article-meta a { font-weight: 600; text-decoration: none; }
.article-meta a:hover { text-decoration: underline; }
.article-featured-image { margin: 6px 0 46px; }
.article-featured-image img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.article-featured-image figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(250px, 1fr); gap: 62px; align-items: start; padding-top: 34px; border-top: 1px solid var(--line); }
.entry-content { color: #304c4b; font-size: 17px; line-height: 1.9; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin: 1.7em 0 .65em; color: var(--ink); font-size: clamp(28px, 3vw, 36px); line-height: 1.22; }
.entry-content h3 { margin: 1.6em 0 .65em; color: var(--ink); font-size: 26px; line-height: 1.3; }
.entry-content h4 { margin: 1.5em 0 .6em; color: var(--ink); font-size: 19px; line-height: 1.4; }
.entry-content p, .entry-content ul, .entry-content ol { margin-block: 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content a { color: var(--copper); }
.entry-content a:hover { color: var(--ink); }
.entry-content .is-style-lead { font-size: 21px; line-height: 1.75; }
.entry-content .wp-block-image, .entry-content .wp-block-gallery { margin-block: 32px; }
.entry-content figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 32px 0; padding: 22px 26px; border: 0; border-left: 3px solid var(--copper); background: var(--sand); font: 23px/1.6 var(--serif); }
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 12px; font: 12px/1.7 var(--sans); }
.entry-content .wp-block-pullquote { padding: 24px 0; }
.entry-content .wp-block-pullquote blockquote { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 0; background: transparent; }
.entry-content .wp-block-separator { margin-block: 36px; border: 0; border-top: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { color: var(--ink); background: var(--sand); }
.entry-content .wp-block-table { margin-block: 30px; overflow-x: auto; }
.entry-content pre { max-width: 100%; overflow: auto; padding: 20px; background: var(--sand); font-size: 13px; }
.entry-content code { font-size: .88em; }
.entry-content .wp-block-button__link { padding: 14px 23px; border: 1px solid var(--ink); border-radius: 0; color: var(--white); background: var(--ink); font: 600 14px/1.6 var(--sans); }
.entry-content .is-style-outline .wp-block-button__link { color: var(--ink); background: transparent; }
.entry-content .wp-block-details { margin-block: 24px; border-block: 1px solid var(--line); }
.entry-content .wp-block-details summary { padding: 16px 5px; color: var(--ink); font-weight: 600; cursor: pointer; }
.entry-content .wp-block-details > p { padding: 0 5px; }
.entry-content .alignleft { float: left; max-width: 50%; margin: 8px 25px 18px 0; }
.entry-content .alignright { float: right; max-width: 50%; margin: 8px 0 18px 25px; }
.entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content .alignwide, .entry-content .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.entry-content::after { display: block; clear: both; content: ''; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-block-cover { margin-block: 30px; }
.entry-content .wp-block-cover h2, .entry-content .wp-block-cover h3 { color: inherit; }
.post-password-form label { display: block; font-weight: 600; }
.post-password-form input[type="password"] { max-width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--line); background: var(--white); }
.post-password-form input[type="submit"] { min-height: 48px; padding: 10px 18px; border: 1px solid var(--ink); color: var(--white); background: var(--ink); cursor: pointer; }
.page-links { margin-block: 25px; font-size: 13px; }
.page-links a, .page-links .post-page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; margin-inline: 3px; border: 1px solid var(--line); }
.article-footer { margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-card { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.author-mark { display: flex; align-items: center; justify-content: center; width: 60px; min-width: 60px; height: 64px; padding-right: 5px; border: 1px solid var(--line); color: var(--copper); background: var(--white); font: 34px/1 var(--serif); letter-spacing: -.13em; }
.author-card strong { display: block; font: 400 23px/1.4 var(--serif); }
.author-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.editorial-note { padding-left: 15px; margin-bottom: 25px; border-left: 2px solid var(--line); color: var(--muted); font-size: 12px; }
.article-sidebar { position: sticky; top: 128px; }
.sidebar-card { padding: 30px 25px; border: 1px solid var(--line); background: var(--sand); }
.sidebar-card .eyebrow { margin-bottom: 18px; font-size: 9px; }
.sidebar-card h2 { margin-bottom: 19px; font-size: 30px; line-height: 1.2; }
.sidebar-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.sidebar-card .sidebar-highlight { padding: 15px 0; margin-bottom: 21px; border-top: 1px solid #c7cbbb; border-bottom: 1px solid #c7cbbb; color: var(--ink); font-weight: 600; }
.sidebar-card .button { width: 100%; padding-inline: 13px; gap: 8px; font-size: 12px; }
.sidebar-card .text-link { margin-top: 16px; font-size: 12px; }
.sidebar-phone { display: block; width: fit-content; margin-top: 20px; font: 25px/1.4 var(--serif); text-decoration: none; }
.sidebar-services { padding: 24px 2px; }
.sidebar-services h3 { margin: 0 0 12px; font: 600 11px/1.6 var(--sans); letter-spacing: .06em; }
.sidebar-services a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; text-decoration: none; }
.sidebar-services .icon { width: 16px; height: 16px; }
.related-guides { padding: 68px 0 28px; margin-top: 50px; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 31px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(28px, 3.5vw, 40px); }
.archive-hero { padding-bottom: 45px; background: linear-gradient(180deg, #fcfaf6, var(--paper)); }
.archive-hero .breadcrumbs { margin-bottom: 38px; }
.archive-hero > .container > .eyebrow { margin-bottom: 15px; color: var(--copper); }
.archive-hero h1 { max-width: 1000px; margin-bottom: 22px; overflow-wrap: anywhere; }
.archive-description { max-width: 770px; }
.archive-description > :last-child { margin-bottom: 0; }
.archive-listing { padding-top: 35px; }
.archive-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 30px; }
.archive-tools .category-nav { margin-bottom: 0; }
.search-hero .search-form { margin-top: 27px; width: min(100%, 500px); }
.page-container { padding-bottom: 85px; }
.page-article { max-width: 820px; margin-inline: auto; }
.page-article .article-header { padding-top: 38px; }
.error-page { padding: 90px 0 105px; }
.error-inner { max-width: 850px; }
.error-page .eyebrow { margin-bottom: 25px; color: var(--copper); }
.error-page h1 { margin-bottom: 26px; }
.error-page p { max-width: 600px; color: var(--muted); }
.error-page .search-form { width: min(100%, 480px); margin: 30px 0; }
.contact-fallback { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.contact-fallback h2 { margin-top: 0; }
.contact-fallback .button-row { margin-top: 25px; }

/* Contact and footer. */
.contact-band-section { padding: 36px 0 70px; }
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 46px 48px; color: var(--paper); background: var(--ink); }
.contact-band .eyebrow { margin-bottom: 20px; color: var(--gold); }
.contact-band h2 { margin-bottom: 0; font-size: clamp(31px, 3.4vw, 43px); line-height: 1.15; }
.contact-band-actions p { color: #e1e6dc; font-size: 14px; }
.contact-band .button-row { gap: 14px 22px; }
.contact-band .text-link { color: var(--paper); font-size: 12px; }
.contact-band .text-link:hover { color: var(--gold); }
.contact-band :focus-visible { outline-color: var(--gold); }
.site-footer { padding: 50px 0 25px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 35px; padding-bottom: 42px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-brand .brand-mark { width: 42px; height: 42px; font-size: 26px; }
.footer-main p { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.footer-links .eyebrow { margin-bottom: 9px; color: var(--ink); font-size: 9px; }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 23px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.mobile-contact { display: none; }

/* Gutenberg color choices mirror the editor. */
.has-verde-leticia-color { color: var(--ink) !important; }
.has-verde-profundo-color { color: var(--ink-deep) !important; }
.has-crema-color { color: var(--paper) !important; }
.has-arena-color { color: var(--sand) !important; }
.has-cobre-color { color: var(--copper) !important; }
.has-blanco-calido-color { color: var(--white) !important; }
.has-verde-leticia-background-color { background-color: var(--ink) !important; }
.has-verde-profundo-background-color { background-color: var(--ink-deep) !important; }
.has-crema-background-color { background-color: var(--paper) !important; }
.has-arena-background-color { background-color: var(--sand) !important; }
.has-cobre-background-color { background-color: var(--copper) !important; }
.has-blanco-calido-background-color { background-color: var(--white) !important; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .primary-nav { gap: 18px; font-size: 12px; }
  .header-call { padding-left: 18px; }
  .brand-name { font-size: 24px; }
  .guides-hero-grid { gap: 45px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero-note-card { padding: 29px 26px; }
  .hero-note-card h2 { font-size: 29px; }
  .guide-card-body { padding: 24px 21px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 38px; }
  .sidebar-card { padding: 27px 22px; }
  .contact-band { padding: 38px 34px; gap: 30px; }
}

@media (max-width: 950px) {
  .header-call { display: none; }
  .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .entry-content { max-width: 760px; }
  .article-sidebar { position: static; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; }
  .sidebar-card { padding: 30px; }
  .sidebar-card h2 { font-size: 33px; }
  .sidebar-card .button { width: fit-content; padding-inline: 18px; }
  .sidebar-card .text-link { display: flex; width: fit-content; }
  .sidebar-services { padding: 15px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 84px; flex-wrap: wrap; gap: 0 20px; padding-block: 18px; }
  .brand-name { font-size: 25px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .primary-nav { width: 100%; flex-wrap: wrap; gap: 5px 25px; padding-top: 15px; }
  .has-js .primary-nav[data-open="false"] { display: none; }
  .has-js .primary-nav[data-open="true"] { display: flex; }
  .primary-nav > a { padding: 10px 0; }
  .primary-nav .header-call { display: inline-flex; border-left: 0; padding-left: 0; }
  .guides-hero { padding: 52px 0 50px; }
  .guides-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .guides-hero-copy { max-width: 680px; }
  .guides-hero h1 { font-size: clamp(44px, 7.8vw, 65px); }
  .guides-hero h1 br:last-child { display: none; }
  .guides-hero h1 em { display: inline; }
  .hero-note-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 30px; padding: 30px; }
  .hero-note-card .note-number { display: none; }
  .hero-note-card > .eyebrow { grid-column: 1; }
  .hero-note-card h2 { grid-column: 1; grid-row: 2 / 4; margin-bottom: 0; font-size: 30px; }
  .hero-note-card p { grid-column: 2; grid-row: 1 / 3; margin-bottom: 14px; }
  .hero-note-card .text-link { grid-column: 2; justify-self: start; }
  .listing-header { align-items: center; }
  .listing-header h2 { font-size: 39px; }
  .listing-header .search-form { max-width: 300px; }
  .archive-tools { display: block; }
  .archive-tools .search-form { margin-top: 20px; }
  .empty-state { padding: 35px; gap: 25px; }
  .contact-band { grid-template-columns: minmax(0, 1fr); gap: 27px; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 105px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .container { width: calc(100% - 40px); }
  body.admin-bar .site-header { top: 0; }
  .header-inner { min-height: 80px; padding-block: 17px; }
  .brand { gap: 11px; }
  .brand-mark { width: 37px; height: 39px; font-size: 25px; }
  .brand-mark span { width: 12px; height: 12px; right: -4px; bottom: -4px; }
  .brand-name { font-size: 23px; }
  .brand-name > span { margin-top: 6px; font-size: 6.3px; letter-spacing: .12em; }
  .primary-nav { gap: 3px 20px; font-size: 12px; }
  .menu-toggle .icon { width: 21px; height: 21px; }
  .guides-hero { padding: 39px 0 40px; }
  .guides-hero-copy > .eyebrow { font-size: 9px; margin-bottom: 21px; }
  .guides-hero h1 { font-size: clamp(39px, 10vw, 52px); line-height: 1.1; }
  .guides-hero .lead { margin-bottom: 21px; font-size: 15px; }
  .hero-note-card { display: block; padding: 27px 26px; }
  .hero-note-card h2 { margin-bottom: 16px; font-size: 30px; }
  .hero-note-card h2 br { display: none; }
  .hero-note-card p { margin-bottom: 15px; font-size: 13px; }
  .guides-section { padding: 37px 0 55px; }
  .listing-header { display: block; margin-bottom: 20px; }
  .listing-header h2 { margin-top: 9px; font-size: 37px; }
  .listing-header .search-form { width: 100%; max-width: 100%; margin-top: 24px; }
  .category-nav { gap: 8px; margin-bottom: 25px; }
  .category-nav a { min-height: 42px; padding: 8px 13px; font-size: 11px; }
  .guides-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .guide-card-body { padding: 25px 24px; }
  .guide-card-title { font-size: 29px; }
  .guide-card-top { margin-bottom: 20px; }
  .guide-card-excerpt { font-size: 14px; margin-bottom: 23px; }
  .empty-state { display: block; padding: 28px 25px; }
  .empty-icon { width: 55px; height: 55px; margin-bottom: 23px; }
  .empty-icon .icon { width: 27px; height: 27px; }
  .empty-state h2, .empty-state h3 { font-size: 31px; line-height: 1.2; }
  .empty-state p { font-size: 14px; }
  .empty-state .button-row { gap: 16px; }
  .button { font-size: 13px; padding-inline: 19px; }
  .pagination { margin-top: 29px; }
  .pagination .page-numbers { padding-inline: 11px; font-size: 12px; }
  .breadcrumbs { padding-top: 23px; font-size: 10px; }
  .breadcrumbs ol { gap: 6px 9px; }
  .breadcrumbs li + li::before { margin-right: 9px; }
  .article-header { padding: 31px 0 27px; }
  .article-header > .eyebrow { margin-bottom: 17px; font-size: 9px; }
  .article-header h1 { margin-bottom: 23px; font-size: clamp(34px, 8.5vw, 44px); line-height: 1.14; }
  .article-intro { font-size: 16px; line-height: 1.8; }
  .article-meta { display: grid; gap: 5px; margin-top: 22px; font-size: 10px; }
  .article-featured-image { margin: 0 0 30px; }
  .article-layout { padding-top: 26px; gap: 34px; }
  .entry-content { font-size: 16px; line-height: 1.85; }
  .entry-content h2 { font-size: 29px; }
  .entry-content h3 { font-size: 24px; }
  .entry-content .is-style-lead { font-size: 19px; }
  .entry-content blockquote, .entry-content .wp-block-quote { padding: 20px; font-size: 21px; }
  .entry-content th, .entry-content td { padding: 11px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 24px 0; }
  .article-footer { margin-top: 32px; padding-top: 24px; }
  .author-card { align-items: flex-start; gap: 15px; }
  .author-mark { width: 48px; min-width: 48px; height: 52px; font-size: 29px; }
  .author-card strong { font-size: 22px; }
  .author-card p { font-size: 11px; }
  .editorial-note { font-size: 11px; }
  .article-sidebar { display: block; }
  .sidebar-card { padding: 28px; }
  .sidebar-card h2 { font-size: 33px; }
  .sidebar-card .button { font-size: 13px; }
  .sidebar-services { padding-top: 25px; }
  .related-guides { padding: 42px 0 12px; margin-top: 30px; }
  .section-head { margin-bottom: 25px; }
  .section-head h2 { font-size: 32px; line-height: 1.2; }
  .archive-hero { padding-bottom: 31px; }
  .archive-hero .breadcrumbs { margin-bottom: 29px; }
  .archive-hero h1 { font-size: 42px; line-height: 1.15; }
  .archive-description { font-size: 15px; }
  .archive-tools .search-form { width: 100%; }
  .page-container { padding-bottom: 50px; }
  .contact-band-section { padding: 25px 0 48px; }
  .contact-band { padding: 30px 25px; gap: 25px; }
  .contact-band .eyebrow { margin-bottom: 17px; font-size: 9px; }
  .contact-band h2 { font-size: 34px; }
  .contact-band-actions p { font-size: 13px; }
  .contact-band .button-row { gap: 17px; }
  .site-footer { padding: 39px 0 20px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); padding-bottom: 30px; gap: 29px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-brand .brand-name { font-size: 24px; }
  .footer-main p { margin-top: 20px; }
  .footer-links .eyebrow { margin-bottom: 4px; }
  .footer-bottom { display: block; line-height: 1.8; }
  .footer-bottom nav { margin-top: 15px; gap: 22px; }
  .mobile-contact { position: fixed; inset: auto 0 0; z-index: 35; display: flex; min-height: 62px; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid #49615b; color: var(--paper); background: var(--ink-deep); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 50%; min-height: 62px; padding: 11px; font-size: 12px; text-decoration: none; }
  .mobile-contact a + a { border-left: 1px solid #49615b; }
  .mobile-contact .icon { width: 19px; height: 19px; }
  .mobile-contact :focus-visible { outline-offset: -5px; outline-color: var(--gold); }
  .error-page { padding: 55px 0 65px; }
  .error-page h1 { font-size: 42px; }
  .error-page p { font-size: 15px; }
}

@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .brand { gap: 10px; }
  .brand-name { font-size: 21px; }
  .brand-name > span { font-size: 5.8px; }
  .brand-mark { width: 33px; height: 35px; font-size: 23px; }
  .menu-toggle span { display: none; }
  .guide-card-body { padding: 23px 20px; }
  .contact-band { padding: 27px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  body { padding: 0; background: white; color: black; }
  .container { width: 100%; }
  .site-header { position: static; background: white; }
  .primary-nav, .menu-toggle, .mobile-contact, .site-footer, .article-sidebar, .contact-band-section, .related-guides, .article-footer .text-link, .search-form { display: none !important; }
  .article-layout { display: block; border: 0; padding-top: 20px; }
  .article-header { padding-block: 20px; }
  .article-header h1 { font-size: 32pt; }
  .article-intro { font-size: 13pt; }
  .entry-content { color: black; font-size: 11pt; }
  .entry-content h2 { color: black; font-size: 20pt; }
  .entry-content h3 { color: black; font-size: 15pt; }
  .entry-content a { color: black; }
  .entry-content figure, .author-card, .guide-card { break-inside: avoid; }
  .article-featured-image img { max-height: 240px; width: auto; }
  .guide-card, .hero-note-card, .empty-state { background: white; box-shadow: none; }
}
