:root {
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #ffffff;
  --surface: #f5f7fb;
  --brand: #0f5f5c;
  --brand-dark: #093f3d;
  --accent: #f0a94a;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(23, 32, 51, .08);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.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 { clip: auto!important; width: auto; height: auto; top: 10px; left: 10px; padding: 10px 14px; background: #fff; z-index: 9999; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-title { color: var(--ink); text-decoration: none; font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; }
.site-tagline { margin: 1px 0 0; color: var(--muted); font-size: .78rem; }
.custom-logo { max-height: 52px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .94rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--brand); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.hero { padding: 78px 0 68px; background: radial-gradient(circle at 80% 10%, rgba(240,169,74,.22), transparent 28%), linear-gradient(135deg, #eef8f7, #f8fafc 58%, #fff8ed); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-block; color: var(--brand); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 850; }
.hero h1 { max-width: 820px; margin: 10px 0 18px; font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.hero p { max-width: 690px; color: #4d5a70; font-size: 1.12rem; }
.hero-card { padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.92); box-shadow: var(--shadow); }
.hero-card h2 { margin: 16px 0 8px; line-height: 1.2; }
.hero-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-weight: 900; }
.hero-search, .search-form { display: flex; max-width: 620px; gap: 8px; margin-top: 26px; }
.hero-search input, .search-field { width: 100%; min-width: 0; border: 1px solid #cbd5e1; border-radius: 12px; padding: 13px 15px; background: #fff; }
.hero-search button, .search-submit, .button { border: 0; border-radius: 12px; padding: 12px 18px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.category-strip { background: #fff; border-bottom: 1px solid var(--line); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.category-chip { min-height: 116px; padding: 24px; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.category-chip:first-child { border-left: 1px solid var(--line); }
.category-chip span { display: block; font-weight: 850; }
.category-chip small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.4; }
.category-chip:hover { background: var(--surface); }
.content-section { padding-top: 68px; padding-bottom: 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .trust-section h2 { margin: 7px 0 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.04em; }
.text-link { font-weight: 800; text-decoration: none; white-space: nowrap; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts-grid--two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 5px 18px rgba(23,32,51,.035); }
.post-card-media { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #e9f3f2; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(135deg, #dff2ef, #fff0d7); }
.image-placeholder span { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--brand); font-size: 2rem; font-weight: 900; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-categories, .post-categories a { color: var(--brand); font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 850; text-decoration: none; }
.post-card h3 { margin: 8px 0 10px; font-size: 1.28rem; line-height: 1.2; letter-spacing: -.025em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; color: var(--muted); font-size: .82rem; }
.empty-state { grid-column: 1 / -1; padding: 38px; text-align: center; background: var(--surface); border: 1px dashed #cbd5e1; border-radius: var(--radius); }
.trust-section { padding: 70px 0; color: #fff; background: var(--brand-dark); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.trust-section .eyebrow { color: #a9e5df; }
.trust-list p { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 42px; align-items: start; }
.archive-header { margin-bottom: 34px; }
.archive-header h1, .page-header h1 { margin: 5px 0 12px; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.03; letter-spacing: -.05em; }
.archive-description { color: var(--muted); max-width: 760px; }
.sidebar { position: sticky; top: 100px; }
.widget { margin-bottom: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.widget-title { margin: 0 0 14px; font-size: 1rem; }
.widget ul { padding-left: 20px; }
.ad-zone { width: min(calc(100% - 36px), var(--container)); margin: 22px auto; padding: 14px; text-align: center; border: 1px solid var(--line); background: #fafafa; border-radius: 12px; overflow: hidden; }
.ad-zone .widget { margin: 0; padding: 0; border: 0; background: transparent; }
.ad-label { margin-bottom: 8px; color: #7b8495; font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
.ad-zone--article { width: 100%; margin: 32px 0; }
.article-header { padding-top: 62px; padding-bottom: 30px; }
.article-header h1 { margin: 10px 0 18px; font-size: clamp(2.3rem, 5.4vw, 4.7rem); line-height: 1.02; letter-spacing: -.052em; }
.article-deck { color: var(--muted); font-size: 1.18rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: .86rem; }
.featured-image { margin-bottom: 40px; }
.featured-image img { width: 100%; border-radius: var(--radius); }
.article-layout { padding-bottom: 55px; }
.article-content { max-width: 760px; font-size: 1.06rem; }
.entry-content h2 { margin-top: 2em; font-size: 1.7rem; line-height: 1.2; letter-spacing: -.025em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content p, .entry-content li { color: #303b4e; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content blockquote { margin: 28px 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--accent); color: #4d5a70; }
.article-disclaimer { margin-top: 42px; padding: 20px; border: 1px solid #f0d8b5; border-radius: 14px; background: #fff8ed; font-size: .9rem; }
.article-footer, .post-navigation, .comments-area { padding-bottom: 50px; }
.tag-list a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .78rem; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; }
.nav-links > div { max-width: 48%; }
.page-article { min-height: 45vh; }
.pagination { margin-top: 34px; }
.page-numbers { display: inline-block; margin-right: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--brand); color: #fff; }
.site-footer { padding: 54px 0 24px; color: #d9e0ea; background: #111827; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 36px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-legal { display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .83rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 940px) {
  .hero-grid, .trust-grid, .layout-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 8px; }
  .primary-nav a { display: block; padding: 8px; }
}
@media (max-width: 650px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero { padding: 52px 0; }
  .posts-grid, .posts-grid--two, .category-grid, .footer-grid { grid-template-columns: 1fr; }
  .category-chip, .category-chip:first-child { border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .hero-search, .search-form { flex-direction: column; }
  .article-header { padding-top: 42px; }
  .post-meta { flex-direction: column; gap: 2px; }
}
