/* Inter 400 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-ucc73fwr.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ucc73fwr.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-ucc73fwr.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ucc73fwr.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 600 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-ucc73fwr.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ucc73fwr.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Franklin 600 latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-ext-jizdrevi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Franklin 600 latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-jizdrevi.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Franklin 700 latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-ext-jizdrevi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Franklin 700 latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-jizdrevi.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Franklin 800 latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-ext-jizdrevi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Franklin 800 latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-jizdrevi.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* D2C Today — restored site styles. Palette taken from the original Astra/Elementor theme. */
:root {
  --red: #dd183b;
  --red-dark: #b5122f;
  --navy: #0f172a;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --cream: #ffede6;
  --cream-soft: #fff7f3;
  --peach: #ffd1bf;
  --ink: #140609;
  --line: #f0dcd4;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 6, 9, .05), 0 8px 24px rgba(20, 6, 9, .06);
  --shadow-hover: 0 2px 4px rgba(20, 6, 9, .06), 0 16px 36px rgba(20, 6, 9, .10);
  --font-head: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-soft);
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; }
img { border-style: none; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 1.6em 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* Buttons */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  background: var(--red); color: #fff !important; border: 0; border-radius: 999px;
  padding: .85em 1.6em; font: 600 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover, .wp-block-button__link:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(221, 24, 59, .25); }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 170px; height: auto; display: block; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 12px; color: var(--navy); font: 600 .95rem/1.2 var(--font-head); text-decoration: none; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); }
.has-sub { display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -8px; cursor: pointer; color: var(--navy); border-radius: 6px; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.sub a { font-weight: 500; padding: 9px 12px; }
.sub a:hover { background: var(--cream); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.header-search { display: inline-flex; padding: 10px; border-radius: 50%; color: var(--navy); }
.header-search:hover { background: var(--cream); color: var(--red); }
.header-search svg { width: 20px; height: 20px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--navy); font: 600 .9rem var(--font-head); cursor: pointer; align-items: center; gap: 8px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-hover); max-height: calc(100vh - 76px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 0; }
  .site-nav a { padding: 13px 8px; border-bottom: 1px solid #f6ebe6; border-radius: 0; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; padding: 12px; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; width: 100%; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: block; }
  .header-search { margin-left: 0; }
}

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 84px 0 72px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle at 30% 30%, rgba(221, 24, 59, .22), rgba(221, 24, 59, 0) 70%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(15, 23, 42, .12), rgba(15, 23, 42, 0) 70%); }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-block; background: #fff; color: var(--red); border: 1px solid var(--peach); border-radius: 999px; padding: 6px 14px; font: 600 .85rem/1.2 var(--font-head); letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: .45em 0 .3em; max-width: 14em; line-height: 1.05; letter-spacing: -.02em; }
.rotate { color: var(--red); display: inline-block; transition: opacity .25s, transform .25s; white-space: nowrap; }
.rotate.out { opacity: 0; transform: translateY(8px); }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: #4a4a4a; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.stat strong { display: block; font: 800 2.2rem/1 var(--font-head); color: var(--navy); }
.stat span { color: var(--muted); }
.stat b { color: var(--red); font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .hero { padding: 56px 0 48px; } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.kicker { color: var(--red); font: 700 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { display: flex; flex-direction: column; background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text); transition: .2s; }
.cat-card:hover { background: #fff; box-shadow: var(--shadow-hover); transform: translateY(-3px); color: var(--text); }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--peach); color: var(--red); margin-bottom: 14px; }
.cat-icon svg { width: 24px; height: 24px; }
.cat-card h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.cat-card p { font-size: .95rem; margin: 0 0 1em; flex: 1; }
.cat-card .more { color: var(--red); font: 600 .9rem var(--font-head); }
@media (max-width: 1020px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card[hidden] { display: none; }
.card-media { display: block; aspect-ratio: 16 / 9; background: var(--cream); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), #3b1020 60%, var(--red)); color: #fff; font: 800 2.4rem var(--font-head); }
.card-body { display: flex; flex-direction: column; padding: 20px 22px 22px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { display: inline-block; background: var(--cream); color: var(--red); border-radius: 999px; padding: 3px 10px; font: 600 .75rem/1.5 var(--font-head); text-decoration: none; }
.chip:hover { background: var(--peach); color: var(--red-dark); }
.card-title { font-size: 1.12rem; margin: 0 0 .5em; line-height: 1.3; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--red); }
.meta { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.meta a { color: inherit; }
.card-excerpt { font-size: .94rem; margin: .7em 0 1em; color: #555; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { color: var(--red); font: 600 .9rem var(--font-head); text-decoration: none; margin-top: auto; }
@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid, .post-grid.cols-2 { grid-template-columns: 1fr; } }

/* Filter tabs */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--font-head); cursor: pointer; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-note { margin-top: 20px; }
.filter-note[hidden] { display: none; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 44px 0 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font: 600 .92rem var(--font-head); }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .dots { border: 0; background: none; }

/* Page hero (archives, pages) */
.page-hero { background: var(--cream); padding: 56px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: .3em 0 .25em; }
.page-hero p { max-width: 46em; font-size: 1.1rem; margin: 0; color: #4a4a4a; }
.breadcrumbs { font-size: .85rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #b9a9a2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }

/* Article */
.article-head { text-align: center; padding: 48px 0 10px; }
.article-head .breadcrumbs ol { justify-content: center; }
.article-head .chips { justify-content: center; margin: 22px 0 8px; }
.article-head h1 { max-width: 22em; margin: .2em auto .5em; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; }
.article-head .meta { justify-content: center; font-size: .95rem; }
.author-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .75rem var(--font-head); }
.featured { margin: 34px auto 0; max-width: 1040px; }
.featured img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); display: block; }
.article-wrap { display: grid; grid-template-columns: 64px minmax(0, 760px) 64px; justify-content: center; gap: 28px; padding: 44px 20px 20px; }
.share { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--red); color: #fff; border-color: var(--red); }
.share svg { width: 18px; height: 18px; }
.share-label { font: 700 .7rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; }
@media (max-width: 1020px) {
  .article-wrap { grid-template-columns: minmax(0, 760px); }
  .share { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; order: 2; }
  .article-wrap > .spacer { display: none; }
}

/* Article body typography */
.entry-content { font-size: 1.08rem; line-height: 1.8; color: #2f2f2f; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.75rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.15rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin: .35em 0; }
.entry-content li > p { margin: 0 0 .4em; }
.entry-content figure { margin: 2em 0; }
.entry-content img { border-radius: 12px; height: auto; }
.entry-content figcaption, .entry-content .wp-element-caption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: .6em; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 2em 0; padding: 1.1em 1.4em; border-left: 4px solid var(--red); background: var(--cream-soft); border-radius: 0 12px 12px 0; font-size: 1.1rem; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .6em; font-size: .9rem; color: var(--muted); font-style: normal; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.4em auto; }
.entry-content .wp-block-separator.is-style-wide { width: 100%; }
.entry-content pre, .entry-content .wp-block-preformatted, .entry-content .wp-block-verse { white-space: pre-wrap; background: #fff6f2; border: 1px solid var(--line); border-radius: 12px; padding: 1em 1.2em; font: .95rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; }
.entry-content code { background: #fff1ec; padding: .1em .35em; border-radius: 5px; font-size: .92em; }
.entry-content pre code { background: none; padding: 0; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.entry-content th, .entry-content td { padding: .75em .9em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child td strong:only-child { color: var(--navy); }
.entry-content thead th { background: var(--cream); font-family: var(--font-head); }
.entry-content tbody tr:nth-child(even) { background: #fffaf8; }
.entry-content .wp-block-table { margin: 0; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #fff3ee; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.entry-content video, .entry-content audio { width: 100%; border-radius: 12px; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 1.6em 0; }
.entry-content .wp-block-column { flex: 1 1 240px; min-width: 0; }
.entry-content .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.entry-content .wp-block-gallery figure { flex: 1 1 200px; margin: 0; }
.entry-content .wp-block-cover { position: relative; border-radius: 14px; overflow: hidden; padding: 2em; background: var(--navy); color: #fff; }
.entry-content .wp-block-cover h2, .entry-content .wp-block-cover h3 { color: #fff; }
.entry-content .wp-block-group.has-background, .entry-content p.has-background, .entry-content .has-background { padding: 1.1em 1.3em; border-radius: 12px; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-left { text-align: left; }
.entry-content .has-text-align-right { text-align: right; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.entry-content .has-small-font-size { font-size: .9rem; }
.entry-content .has-medium-font-size { font-size: 1.2rem; }
.entry-content .has-large-font-size { font-size: 1.5rem; line-height: 1.4; }
.entry-content .has-ast-global-color-2-color { color: var(--navy); }
.entry-content .has-ast-global-color-4-background-color { background-color: var(--cream); }
.entry-content .has-ast-global-color-5-background-color { background-color: #fff; }
.entry-content .has-pale-cyan-blue-background-color { background-color: #e6f3fb; }
.entry-content .has-cyan-bluish-gray-background-color { background-color: #eef1f4; }
.entry-content .has-light-green-cyan-background-color { background-color: #e3f8ef; }
.entry-content .has-luminous-vivid-amber-background-color { background-color: #fff3c4; }
.entry-content .has-contrast-3-background-color, .entry-content .has-palette-color-8-background-color, .entry-content .has-palette-color-5-background-color, .entry-content .has-base-background-color { background-color: #f6f2f0; }
.entry-content .has-black-color { color: #111; }
.entry-content .eb-counter-wrapper { text-align: center; padding: 1em; background: var(--cream-soft); border-radius: 12px; }
.entry-content .eb-counter-number { font: 800 2rem var(--font-head); color: var(--red); }
.entry-content::after { content: ""; display: table; clear: both; }
/* Rank Math table of contents */
.wp-block-rank-math-toc-block { background: var(--cream-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.1em 1.4em; margin: 1.8em 0; font-size: .98rem; }
.wp-block-rank-math-toc-block h2 { font-size: 1.1rem; margin: 0 0 .5em; }
.wp-block-rank-math-toc-block ul, .wp-block-rank-math-toc-block ol { margin: 0; padding-left: 1.2em; }
.wp-block-rank-math-toc-block a { color: var(--navy); text-decoration: none; }
.wp-block-rank-math-toc-block a:hover { color: var(--red); text-decoration: underline; }
.entry-content [id] { scroll-margin-top: 96px; }

/* Article footer */
.article-foot { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0; }
.tags strong { font: 700 .85rem var(--font-head); color: var(--navy); margin-right: 4px; }
.tags a { background: #fff; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 4px 12px; font-size: .85rem; text-decoration: none; }
.tags a:hover { border-color: var(--red); color: var(--red); }
.author-box { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.author-box .author-dot { width: 64px; height: 64px; font-size: 1.3rem; flex: 0 0 auto; }
.author-box h2 { font-size: 1.1rem; margin: 0 0 .2em; }
.author-box p { margin: 0; font-size: .92rem; }
.author-label { color: var(--red); font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 0; }
.post-nav a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--navy); font: 600 .98rem/1.35 var(--font-head); }
.post-nav a:hover { border-color: var(--red); color: var(--red); }
.post-nav small { display: block; color: var(--muted); font: 500 .78rem var(--font-body); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 60; }

/* Landing pages */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.split img { border-radius: 20px; box-shadow: var(--shadow-hover); width: 100%; height: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.feature-list b { display: block; color: var(--navy); font-family: var(--font-head); }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.panel h2 { margin-top: 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border: 0; }
.info-list span { display: block; font: 600 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.check-list { padding-left: 0; list-style: none; }
.check-list li { padding-left: 28px; position: relative; margin: .5em 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.legal { background: #fff; border-radius: 18px; padding: 40px; box-shadow: var(--shadow); margin: 40px auto 60px; }
.legal h2, .legal h3 { font-size: 1.2rem; margin-top: 1.8em; }
.legal > h1:first-child, .legal > h2:first-child { margin-top: 0; }
@media (max-width: 640px) { .legal { padding: 24px; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font: 600 .85rem var(--font-head); color: var(--navy); }
.form input, .form textarea, .search-form input { width: 100%; padding: .85em 1em; border: 1px solid #e3cfc7; border-radius: 12px; font: 400 1rem var(--font-body); background: #fff; color: var(--text); }
.form input:focus, .form textarea:focus, .search-form input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(221, 24, 59, .15); }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #127a3d; font-weight: 600; }
.form-status.err { color: var(--red-dark); font-weight: 600; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 200px; }

/* Newsletter band */
.newsletter-band { background: var(--navy); color: #d9dce3; padding: 64px 0; position: relative; overflow: hidden; }
.newsletter-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(221, 24, 59, .35), rgba(221, 24, 59, 0) 70%); }
.newsletter-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter-band h2 { color: #fff; margin: .2em 0 .4em; }
.newsletter-band .form label { color: #fff; }
.newsletter-band .form-note, .newsletter-band .form-status { color: #c9ccd5; }
.newsletter-band .form-status.ok { color: #7ee2a5; }
.newsletter-band .form-status.err { color: #ffb3c0; }
.nl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.nl-stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px; text-align: center; }
.nl-stats strong { display: block; font: 800 1.4rem var(--font-head); color: #fff; }
.nl-stats span { font-size: .8rem; }
@media (max-width: 860px) { .newsletter-band .container { grid-template-columns: 1fr; } .nl-stats { grid-template-columns: repeat(2, 1fr); } }

/* Footer */
.site-footer { background: var(--ink); color: #c9bfbf; padding: 60px 0 0; font-size: .95rem; }
.site-footer a { color: #e9e1e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; }
.footer-logo img { width: 150px; height: auto; display: block; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .45em 0; }
.contact-list { margin-top: 18px !important; }
.contact-list span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #8f8585; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--red); text-decoration: none; }
.socials svg { width: 17px; height: 17px; color: #fff; }
.cat-count { color: #8f8585; font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transition: .25s; z-index: 40; text-decoration: none; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: #fff; background: var(--red-dark); }

/* Search + 404 */
.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form input { flex: 1; }
.results { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.results li { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); }
.results a { font: 700 1.1rem/1.3 var(--font-head); color: var(--navy); text-decoration: none; }
.results a:hover { color: var(--red); }
.results p { margin: .4em 0 0; font-size: .92rem; color: #555; }
.results .meta { margin-top: 6px; }
.notice { background: #fff; border: 1px dashed var(--peach); border-radius: 12px; padding: 16px 18px; }
.big-404 { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font-head); color: var(--red); margin: 0; letter-spacing: -.04em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .newsletter-band, .share, .post-nav, .to-top, .progress, .related { display: none !important; }
  body { background: #fff; }
}

/* Small phones: keep logo, menu button and search on one line */
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand img { width: 140px; }
  .nav-toggle { padding: 9px 10px; }
  .header-search { padding: 8px; }
}
