/*
Theme Name: InfoClinic România V3.6 – Editorial Clean
Theme URI: https://infoclinic.ro/
Author: InfoClinic
Description: Temă editorială WordPress pentru InfoClinic.ro, optimizată pentru publicație medicală, transparență editorială, autoritate, experiență mobilă și integrare AdSense controlată.
Version: 3.6.0
Requires at least: 6.0
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: infoclinic-ro
Tags: blog, news, medical, custom-logo, custom-menu, featured-images, responsive-layout
*/

:root {
  --ic-blue: #0b6fae;
  --ic-blue-dark: #07547f;
  --ic-teal: #0aa6ad;
  --ic-teal-dark: #087d85;
  --ic-ink: #102033;
  --ic-text: #34465b;
  --ic-muted: #6d7c8e;
  --ic-line: #dce6ee;
  --ic-line-strong: #cbd9e4;
  --ic-soft: #f3f8fb;
  --ic-soft-blue: #eaf5fa;
  --ic-soft-teal: #ecf9f8;
  --ic-white: #fff;
  --ic-danger: #b92f42;
  --ic-success: #19765b;
  --ic-radius-xl: 24px;
  --ic-radius: 18px;
  --ic-radius-sm: 12px;
  --ic-shadow: 0 20px 48px rgba(16, 32, 51, .09);
  --ic-shadow-soft: 0 9px 28px rgba(16, 32, 51, .065);
  --ic-container: 1240px;
  --ic-content: 840px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ic-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ic-blue); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--ic-container), calc(100% - 40px)); margin-inline: auto; }
.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 {
  width: auto; height: auto; clip: auto; margin: 0; padding: 11px 15px;
  top: 8px; left: 8px; z-index: 100000; color: var(--ic-ink); background: #fff;
  border-radius: 8px; box-shadow: var(--ic-shadow);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(220,230,238,.9);
  background: rgba(255,255,255,.97);
  box-shadow: 0 5px 20px rgba(16,32,51,.035);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.top-strip { color: #fff; background: var(--ic-blue-dark); font-size: 12px; line-height: 1.35; }
.top-strip__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top-strip__links { display: flex; align-items: center; gap: 18px; }
.top-strip__links a { color: rgba(255,255,255,.9); }
.top-strip__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.brand-row { min-height: 98px; display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: center; gap: 28px; }
.site-branding { min-width: 0; }
.custom-logo-link, .site-logo-link { display: block; width: 245px; max-width: 32vw; }
.custom-logo, .site-logo-link img { width: 100%; max-height: 70px; object-fit: contain; object-position: left center; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { color: var(--ic-ink); font-size: 18px; letter-spacing: -.2px; }
.brand-copy span { margin-top: 2px; color: var(--ic-muted); font-size: 13px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.header-search { width: min(340px, 28vw); }
.search-form { display: flex; align-items: stretch; gap: 8px; }
.search-form label { flex: 1 1 auto; min-width: 0; }
.search-field {
  width: 100%; height: 44px; border: 1px solid var(--ic-line-strong); border-radius: 999px;
  padding: 0 16px; color: var(--ic-ink); background: #fff; outline: 0;
}
.search-field:focus { border-color: var(--ic-blue); box-shadow: 0 0 0 4px rgba(11,111,174,.1); }
.search-submit {
  min-width: 76px; border: 0; border-radius: 999px; padding: 0 17px;
  color: #fff; background: var(--ic-blue); font-weight: 800;
}
.search-submit:hover { background: var(--ic-blue-dark); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--ic-line-strong);
  border-radius: 12px; padding: 10px; background: #fff; color: var(--ic-ink);
}
.menu-toggle svg { width: 100%; height: 100%; fill: currentColor; }
.nav-shell { border-top: 1px solid #edf2f6; background: #fff; }
.main-navigation > .menu, .main-navigation > ul {
  display: flex; align-items: center; gap: 2px; min-height: 54px; margin: 0; padding: 0; list-style: none;
}
.main-navigation li { position: relative; margin: 0; }
.main-navigation > .menu > li > a, .main-navigation > ul > li > a {
  display: flex; align-items: center; min-height: 54px; padding: 0 13px;
  color: var(--ic-ink); font-size: 14px; font-weight: 800;
}
.main-navigation > .menu > li > a:hover,
.main-navigation > .menu > li.current-menu-item > a,
.main-navigation > .menu > li.current-menu-ancestor > a { color: var(--ic-blue); }
.main-navigation .sub-menu {
  position: absolute; top: calc(100% - 1px); left: 0; z-index: 100;
  width: 250px; margin: 0; padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(7px); pointer-events: none;
  border: 1px solid var(--ic-line); border-radius: 14px; background: #fff; box-shadow: var(--ic-shadow);
  transition: .18s ease;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.main-navigation .sub-menu a { display: block; border-radius: 9px; padding: 10px 12px; color: var(--ic-text); font-size: 14px; font-weight: 700; }
.main-navigation .sub-menu a:hover { color: var(--ic-blue); background: var(--ic-soft); }
.submenu-toggle { display: none; }

/* Global page rhythm */
.site-main { min-height: 55vh; }
.section-kicker {
  display: block; margin-bottom: 7px; color: var(--ic-blue); font-size: 11px; line-height: 1.2;
  font-weight: 900; letter-spacing: .11em; text-transform: uppercase;
}
.section-heading { margin: 0 0 22px; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; color: var(--ic-ink); font-size: clamp(27px, 3vw, 38px); line-height: 1.1; letter-spacing: -.8px; }
.section-heading > a, .section-heading--split > a { color: var(--ic-blue-dark); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.category-badge {
  display: inline-flex; align-items: center; width: fit-content; min-height: 28px;
  border-radius: 999px; padding: 6px 10px; color: var(--ic-blue-dark); background: var(--ic-soft-blue);
  font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
}
.category-badge:hover { color: #fff; background: var(--ic-blue); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ic-muted); font-size: 13px; }
.post-meta > span { position: relative; }
.post-meta > span + span::before { content: "•"; position: absolute; left: -11px; color: #a6b4c0; }
.post-meta a { color: var(--ic-ink); font-weight: 800; }
.post-meta--compact .post-meta__author { display: none; }
.breadcrumbs { margin: 26px 0 24px; font-size: 12px; color: var(--ic-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: #a8b6c1; }
.breadcrumbs a:hover { color: var(--ic-blue); }

/* Homepage */
.home-masthead { border-bottom: 1px solid var(--ic-line); background: linear-gradient(180deg, #f5fafc 0%, #fff 100%); }
.home-masthead__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); gap: 58px; align-items: center; padding-block: 48px; }
.home-masthead__copy h1 { max-width: 760px; margin: 0; color: var(--ic-ink); font-size: clamp(38px, 5.1vw, 64px); line-height: 1.02; letter-spacing: -2px; }
.home-masthead__copy p { max-width: 760px; margin: 18px 0 0; color: var(--ic-text); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; }
.home-masthead__trust { display: grid; gap: 10px; }
.home-masthead__trust > div { border: 1px solid #d7e7ef; border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.8); }
.home-masthead__trust strong { display: block; color: var(--ic-ink); font-size: 14px; }
.home-masthead__trust span { display: block; margin-top: 2px; color: var(--ic-muted); font-size: 12px; }
.hero-editorial { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(340px, .8fr); gap: 22px; padding: 36px 0 50px; }
.hero-lead { overflow: hidden; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-xl); background: #fff; box-shadow: var(--ic-shadow-soft); }
.hero-lead__media { display: block; aspect-ratio: 16 / 8.6; overflow: hidden; background: var(--ic-soft-blue); }
.hero-lead__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hero-lead:hover .hero-lead__image { transform: scale(1.015); }
.hero-lead__body { padding: clamp(22px, 3vw, 34px); }
.hero-lead h2 { max-width: 820px; margin: 12px 0 12px; color: var(--ic-ink); font-size: clamp(28px, 3.6vw, 45px); line-height: 1.08; letter-spacing: -1.1px; }
.hero-lead h2 a:hover { color: var(--ic-blue-dark); }
.hero-lead p { max-width: 760px; margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.hero-stack { display: grid; gap: 12px; }
.hero-stack__item { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 150px; overflow: hidden; border: 1px solid var(--ic-line); border-radius: 16px; background: #fff; }
.hero-stack__media { min-height: 150px; overflow: hidden; background: var(--ic-soft-blue); }
.hero-stack__image { width: 100%; height: 100%; object-fit: cover; }
.hero-stack__body { min-width: 0; padding: 15px 16px; }
.hero-stack h3 { margin: 9px 0 10px; color: var(--ic-ink); font-size: 17px; line-height: 1.22; letter-spacing: -.2px; }
.hero-stack time { color: var(--ic-muted); font-size: 11px; }
.specialties { padding: 0 0 54px; }
.specialties__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.specialty-card { position: relative; min-height: 118px; border: 1px solid var(--ic-line); border-radius: 16px; padding: 18px; background: #fff; transition: .18s ease; }
.specialty-card:hover { transform: translateY(-2px); border-color: #b9d5e5; box-shadow: var(--ic-shadow-soft); }
.specialty-card__mark { position: absolute; top: 14px; right: 15px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--ic-teal); font-size: 20px; line-height: 1; }
.specialty-card strong { display: block; max-width: calc(100% - 38px); color: var(--ic-ink); font-size: 16px; }
.specialty-card span:last-child { display: block; margin-top: 24px; color: var(--ic-muted); font-size: 12px; }
.home-latest { padding: 52px 0; border-top: 1px solid var(--ic-line); }
.posts-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--ic-line); border-radius: 18px; background: #fff; transition: .2s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--ic-shadow-soft); }
.article-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ic-soft-blue); }
.article-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .article-card__image { transform: scale(1.018); }
.article-card__content { padding: 18px; }
.article-card h3 { margin: 11px 0 10px; color: var(--ic-ink); font-size: 20px; line-height: 1.2; letter-spacing: -.35px; }
.article-card p { margin: 0 0 17px; color: var(--ic-text); font-size: 14px; line-height: 1.58; }
.article-card__footer { display: flex; flex-wrap: wrap; gap: 7px 16px; padding-top: 13px; border-top: 1px solid #edf2f5; color: var(--ic-muted); font-size: 11px; }
.editorial-standard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); gap: 42px; align-items: center; margin: 12px 0 62px; border-radius: 24px; padding: clamp(28px, 5vw, 52px); color: #fff; background: linear-gradient(135deg, var(--ic-blue-dark), #0d658f 60%, var(--ic-teal-dark)); }
.editorial-standard .section-kicker { color: #9ee4df; }
.editorial-standard h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -1px; }
.editorial-standard p { margin: 17px 0 0; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.7; }
.editorial-standard__links { display: grid; gap: 10px; }
.editorial-standard__links a { display: block; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 15px 17px; background: rgba(255,255,255,.08); }
.editorial-standard__links a:hover { color: #fff; background: rgba(255,255,255,.14); }
.editorial-standard__links strong { display: block; color: #fff; font-size: 15px; }
.editorial-standard__links span { display: block; margin-top: 2px; color: rgba(255,255,255,.72); font-size: 12px; }
.category-sections { padding-bottom: 72px; }
.category-block { padding: 50px 0; border-top: 1px solid var(--ic-line); }
.category-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-mini-card { overflow: hidden; border: 1px solid var(--ic-line); border-radius: 18px; background: #fff; }
.category-mini-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--ic-soft-blue); }
.category-mini-card__media img { width: 100%; height: 100%; object-fit: cover; }
.category-mini-card__content { padding: 18px; }
.category-mini-card h3 { margin: 0 0 9px; color: var(--ic-ink); font-size: 19px; line-height: 1.2; }
.category-mini-card p { margin: 0 0 14px; color: var(--ic-text); font-size: 14px; }
.category-mini-card__date { color: var(--ic-muted); font-size: 11px; }

/* Single article */
.single-main { background: linear-gradient(180deg, #fbfdfe 0, #fff 520px); }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 44px; align-items: start; padding-bottom: 70px; }
.single-content { min-width: 0; }
.article-shell { min-width: 0; }
.article-header { max-width: 920px; padding: 16px 0 26px; }
.article-title { max-width: 940px; margin: 14px 0 16px; color: var(--ic-ink); font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -1.7px; }
.article-deck { max-width: 820px; margin: 0 0 18px; color: #506176; font-size: clamp(18px, 2vw, 22px); line-height: 1.52; }
.reviewer-box { display: flex; gap: 12px; align-items: center; width: fit-content; max-width: 100%; margin-top: 18px; border: 1px solid #cce7e1; border-radius: 14px; padding: 11px 14px; background: #f2fbf8; }
.reviewer-box__icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--ic-success); font-weight: 900; }
.reviewer-box > div { display: grid; gap: 1px; }
.reviewer-box__eyebrow { color: var(--ic-success); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.reviewer-box strong { color: var(--ic-ink); font-size: 14px; }
.reviewer-box span:not(.reviewer-box__icon):not(.reviewer-box__eyebrow) { color: var(--ic-muted); font-size: 11px; }
.article-featured { overflow: hidden; margin: 0 0 26px; border-radius: 22px; background: var(--ic-soft-blue); box-shadow: var(--ic-shadow-soft); }
.article-featured__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-utility-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: 16px; margin: 0 0 28px; }
.medical-note, .article-toc { border: 1px solid var(--ic-line); border-radius: 16px; padding: 17px 19px; background: #fff; }
.medical-note { border-left: 4px solid var(--ic-teal); background: var(--ic-soft-teal); }
.medical-note strong, .article-toc > strong { display: block; color: var(--ic-ink); font-size: 14px; }
.medical-note p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.article-toc ol { margin: 9px 0 0; padding-left: 19px; }
.article-toc li { margin: 5px 0; color: var(--ic-muted); font-size: 12px; line-height: 1.4; }
.article-toc a:hover { color: var(--ic-blue); text-decoration: underline; }
.article-content { width: 100%; max-width: var(--ic-content); color: #293d52; font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.78; }
.article-content > :first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--ic-ink); scroll-margin-top: 130px; }
.article-content h2 { margin: 2em 0 .72em; font-size: clamp(27px, 3.3vw, 38px); line-height: 1.15; letter-spacing: -.65px; }
.article-content h3 { margin: 1.65em 0 .62em; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.22; }
.article-content p { margin: 0 0 1.18em; }
.article-content ul, .article-content ol { margin: 0 0 1.35em; padding-left: 1.55em; }
.article-content li { margin-bottom: .45em; }
.article-content a { color: var(--ic-blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content a:hover { color: var(--ic-blue); }
.article-content blockquote { margin: 1.7em 0; border-left: 4px solid var(--ic-blue); border-radius: 0 12px 12px 0; padding: 17px 20px; background: var(--ic-soft); color: var(--ic-ink); }
.article-content figure { margin: 1.8em 0; }
.article-content figcaption { margin-top: 8px; color: var(--ic-muted); font-size: 12px; text-align: center; }
.article-content table { width: 100%; margin: 1.7em 0; border-collapse: collapse; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--ic-line-strong); padding: 11px 12px; text-align: left; vertical-align: top; }
.article-content th { color: var(--ic-ink); background: var(--ic-soft); }
.article-content .wp-block-table { overflow-x: auto; }
.article-source-footer { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; align-items: center; max-width: var(--ic-content); margin: 42px 0 24px; border: 1px solid #d4e7ef; border-radius: 18px; padding: 22px; background: #f7fbfd; }
.article-source-footer h2 { margin: 0; color: var(--ic-ink); font-size: 23px; line-height: 1.2; }
.article-source-footer p { margin: 8px 0 0; font-size: 13px; line-height: 1.55; }
.article-source-footer__links { display: grid; gap: 8px; }
.article-source-footer__links a { border: 1px solid #c8dce7; border-radius: 10px; padding: 10px 12px; color: var(--ic-blue-dark); background: #fff; font-size: 12px; font-weight: 800; text-align: center; }
.article-source-footer__links a:hover { color: #fff; background: var(--ic-blue); border-color: var(--ic-blue); }
.author-box { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 20px; max-width: var(--ic-content); margin: 28px 0 48px; border-top: 1px solid var(--ic-line); border-bottom: 1px solid var(--ic-line); padding: 26px 0; }
.author-box__avatar img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; }
.author-box h2 { margin: 0; color: var(--ic-ink); font-size: 22px; }
.author-box p { margin: 8px 0 10px; font-size: 13px; line-height: 1.6; }
.author-box__link { color: var(--ic-blue-dark); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.related-posts { max-width: 100%; margin: 0 0 46px; padding-top: 8px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.related-card { overflow: hidden; border: 1px solid var(--ic-line); border-radius: 16px; background: #fff; }
.related-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--ic-soft-blue); }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { display: block; padding: 14px; }
.related-card h3 { margin: 9px 0 8px; color: var(--ic-ink); font-size: 16px; line-height: 1.25; }
.related-card__date { color: var(--ic-muted); font-size: 10px; }

/* Sidebar */
.sidebar { position: sticky; top: 178px; display: grid; gap: 18px; min-width: 0; }
.widget, .editorial-trust { border: 1px solid var(--ic-line); border-radius: 18px; padding: 19px; background: #fff; box-shadow: 0 7px 22px rgba(16,32,51,.035); }
.widget-title { margin: 0 0 14px; color: var(--ic-ink); font-size: 19px; line-height: 1.2; }
.editorial-trust { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; border-color: #cce3eb; background: #f4fafc; }
.editorial-trust__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--ic-blue); font-family: Georgia, serif; font-weight: 700; }
.editorial-trust strong { display: block; color: var(--ic-ink); font-size: 14px; }
.editorial-trust p { margin: 5px 0 10px; font-size: 12px; line-height: 1.55; }
.editorial-trust__links { display: flex; flex-direction: column; gap: 4px; }
.editorial-trust__links a { color: var(--ic-blue-dark); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.latest-list { display: grid; gap: 13px; }
.latest-item { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 11px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid #edf2f5; }
.latest-item:last-child { padding-bottom: 0; border-bottom: 0; }
.latest-item__media { display: block; width: 82px; aspect-ratio: 4/3; overflow: hidden; border-radius: 9px; background: var(--ic-soft-blue); }
.latest-item__media img { width: 100%; height: 100%; object-fit: cover; }
.latest-item h3 { margin: 0 0 4px; color: var(--ic-ink); font-size: 13px; line-height: 1.28; }
.latest-item time { color: var(--ic-muted); font-size: 10px; }
.widget ul { margin: 0; padding-left: 18px; }
.widget li { margin: 7px 0; }
.disclaimer-widget { background: #fffaf3; border-color: #eedfc8; }
.disclaimer-widget p { margin: 0; font-size: 12px; line-height: 1.55; }

/* Archives */
.archive-main { padding-bottom: 76px; background: linear-gradient(180deg, #f8fbfd 0, #fff 380px); }
.archive-hero { max-width: 860px; padding: 28px 0 32px; }
.archive-hero h1 { margin: 0; color: var(--ic-ink); font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -1.5px; }
.archive-description { margin-top: 14px; color: var(--ic-text); font-size: 17px; line-height: 1.6; }
.archive-description p { margin: 0; }
.archive-children { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.archive-children a { min-width: 170px; border: 1px solid var(--ic-line); border-radius: 12px; padding: 10px 13px; background: #fff; }
.archive-children a:hover { border-color: #bdd6e4; box-shadow: var(--ic-shadow-soft); }
.archive-children strong { display: block; color: var(--ic-ink); font-size: 13px; }
.archive-children span { display: block; margin-top: 2px; color: var(--ic-muted); font-size: 10px; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ic-line); border-radius: 9px; padding: 0 10px; color: var(--ic-text); background: #fff; font-size: 12px; font-weight: 800; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--ic-blue); background: var(--ic-blue); }

/* Author */
.author-main { padding-bottom: 76px; background: linear-gradient(180deg, #f8fbfd 0, #fff 390px); }
.author-profile { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 30px; align-items: center; max-width: 930px; margin: 14px 0 44px; border: 1px solid var(--ic-line); border-radius: 22px; padding: 28px; background: #fff; box-shadow: var(--ic-shadow-soft); }
.author-profile__avatar img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.author-profile h1 { margin: 0; color: var(--ic-ink); font-size: clamp(34px,4vw,50px); line-height: 1.08; }
.author-profile p { margin: 10px 0 13px; font-size: 15px; }
.author-profile__policy { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.author-profile__policy a { color: var(--ic-blue-dark); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Pages / trust pages */
.page-main { padding-bottom: 76px; background: linear-gradient(180deg, #f8fbfd 0, #fff 380px); }
.page-container { width: min(980px, calc(100% - 40px)); }
.page-shell { min-width: 0; }
.page-header { padding: 24px 0 24px; }
.page-header h1 { max-width: 900px; margin: 0; color: var(--ic-ink); font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -1.4px; }
.page-featured { overflow: hidden; margin-bottom: 24px; border-radius: 20px; }
.page-featured__image { width: 100%; max-height: 480px; object-fit: cover; }
.page-content-box { border: 1px solid var(--ic-line); border-radius: 20px; padding: clamp(24px, 4vw, 42px); background: #fff; box-shadow: var(--ic-shadow-soft); }
.page-content-box h2, .page-content-box h3 { color: var(--ic-ink); }
.page-content-box h2 { margin: 1.7em 0 .65em; font-size: clamp(26px, 3vw, 34px); line-height: 1.17; }
.page-content-box h2:first-child { margin-top: 0; }
.page-content-box h3 { margin: 1.5em 0 .55em; font-size: 22px; }
.page-content-box p, .page-content-box li { font-size: 16px; line-height: 1.75; }
.page-content-box a { color: var(--ic-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.trust-lead { margin: 0 0 26px !important; border-left: 4px solid var(--ic-teal); border-radius: 0 12px 12px 0; padding: 17px 20px; color: var(--ic-ink); background: var(--ic-soft-teal); font-size: 18px !important; font-weight: 600; }
.trust-cta { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 11px 15px; color: #fff !important; background: var(--ic-blue); font-weight: 800; text-decoration: none !important; }

/* Contact */
.contact-form-shell { margin-top: 34px; border: 1px solid var(--ic-line); border-radius: 18px; padding: clamp(20px, 4vw, 34px); background: #f9fcfd; }
.contact-form-heading h2 { margin: 0; }
.contact-form-heading p { margin: 7px 0 22px; color: var(--ic-muted); }
.contact-form-kicker { color: var(--ic-blue); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.contact-form-row { margin: 0; }
.contact-form-row--full { grid-column: 1 / -1; }
.contact-form-row label { display: block; margin-bottom: 6px; color: var(--ic-ink); font-size: 13px; font-weight: 800; }
.contact-form-row input, .contact-form-row textarea { width: 100%; border: 1px solid var(--ic-line-strong); border-radius: 10px; padding: 12px 13px; color: var(--ic-ink); background: #fff; outline: 0; }
.contact-form-row input:focus, .contact-form-row textarea:focus { border-color: var(--ic-blue); box-shadow: 0 0 0 4px rgba(11,111,174,.1); }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.contact-form-note { max-width: 610px; margin: 0; color: var(--ic-muted); font-size: 11px !important; }
.contact-submit { min-height: 46px; border: 0; border-radius: 10px; padding: 0 18px; color: #fff; background: var(--ic-blue); font-weight: 800; }
.contact-honeypot { position: absolute !important; left: -9999px !important; }
.contact-alert { margin: 0 0 18px; border-radius: 10px; padding: 12px 14px; font-size: 13px; font-weight: 700; }
.contact-alert--success { color: #0e5f46; background: #eaf8f2; border: 1px solid #bfe5d6; }
.contact-alert--error { color: #8b2635; background: #fff0f2; border: 1px solid #efc7ce; }

/* Comments */
.comments-area { max-width: var(--ic-content); margin: 38px 0; border: 1px solid var(--ic-line); border-radius: 18px; padding: 24px; background: #fff; }
.comments-title, .comment-reply-title { margin: 0 0 16px; color: var(--ic-ink); font-size: 24px; }
.comment-list { padding-left: 24px; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.comment-form > p { margin: 0; }
.comment-form .comment-notes, .comment-form .logged-in-as, .comment-form .comment-form-comment, .comment-form .comment-form-url, .comment-form .comment-form-cookies-consent, .comment-form .form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--ic-ink); font-size: 13px; font-weight: 800; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid var(--ic-line-strong); border-radius: 10px; padding: 11px 12px; color: var(--ic-ink); background: #fff; }
.comment-form textarea { min-height: 160px; resize: vertical; }
.comment-form-cookies-consent { display: flex; gap: 9px; align-items: flex-start; }
.comment-form-cookies-consent input { margin-top: 4px; }
.comment-submit-button { border: 0; border-radius: 10px; padding: 11px 16px; color: #fff; background: var(--ic-blue); font-weight: 800; }

/* Ads */
.infoclinic-ad { position: relative; width: 100%; border: 1px solid var(--ic-line); border-radius: 16px; padding-top: 25px; background: #fff; overflow: hidden; }
.infoclinic-ad__label { position: absolute; top: 6px; left: 10px; color: var(--ic-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.infoclinic-ad--infeed { min-height: 300px; }
.infoclinic-ad--sidebar { min-height: 280px; }
.infoclinic-ad--in-article { min-height: 230px; max-width: var(--ic-content); margin: 32px 0; }

/* Footer */
.site-footer { margin-top: 0; color: #d9e6ee; background: #0c1e2e; }
.footer-trustbar { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-trustbar > div { padding: 22px 24px 22px 0; }
.footer-trustbar strong { display: block; color: #fff; font-size: 13px; }
.footer-trustbar span { display: block; margin-top: 2px; color: #9fb1bf; font-size: 11px; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 36px; padding: 48px 0 34px; }
.footer-main h2 { margin: 0 0 14px; color: #fff; font-size: 14px; }
.footer-brand p, .footer-disclaimer { margin: 13px 0; color: #aebdca; font-size: 12px; line-height: 1.6; }
.footer-logo { width: 215px; max-width: 100%; filter: brightness(0) invert(1); opacity: .97; }
.footer-contact, .footer-correction { color: #83d9d5; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.footer-menu, .footer-main ul { margin: 0; padding: 0; list-style: none; }
.footer-menu li, .footer-main li { margin: 7px 0; }
.footer-menu a, .footer-main li a { color: #b9c8d4; font-size: 12px; }
.footer-menu a:hover, .footer-main li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8fa2b0; font-size: 10px; }

/* Utility / 404 */
.no-results { max-width: 760px; margin: 40px auto 70px; border: 1px solid var(--ic-line); border-radius: 20px; padding: 34px; background: #fff; text-align: center; box-shadow: var(--ic-shadow-soft); }
.no-results h1, .no-results h2 { margin: 0 0 10px; color: var(--ic-ink); }
.no-results .search-form { max-width: 520px; margin: 20px auto; }
.no-results--404 { margin-top: 60px; }

/* WordPress alignment */
.alignwide { width: min(1100px, 100%); max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.gallery { display: grid; gap: 10px; }

/* Responsive */
@media (max-width: 1100px) {
  .brand-copy { display: none; }
  .brand-row { grid-template-columns: minmax(0,1fr) auto; }
  .header-search { width: min(330px, 34vw); }
  .main-navigation > .menu > li > a, .main-navigation > ul > li > a { padding-inline: 9px; font-size: 13px; }
  .home-masthead__inner { grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 34px; }
  .hero-editorial { grid-template-columns: minmax(0,1.5fr) minmax(320px,.8fr); }
  .single-layout { grid-template-columns: minmax(0,1fr) 285px; gap: 30px; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: span 3; max-width: 700px; }
}

@media (max-width: 920px) {
  .admin-bar .site-header { top: 46px; }
  .top-strip__links { display: none; }
  .brand-row { min-height: 78px; }
  .custom-logo-link, .site-logo-link { width: 205px; max-width: 52vw; }
  .header-search { display: none; }
  .menu-toggle { display: block; }
  .nav-shell { border-top: 0; }
  .main-navigation {
    position: fixed; top: var(--ic-mobile-menu-top, 112px); left: 0; right: 0; bottom: 0;
    display: none; overflow-y: auto; padding: 16px 20px 36px; background: #fff; box-shadow: 0 22px 38px rgba(16,32,51,.15);
  }
  .main-navigation.toggled { display: block; }
  .main-navigation > .menu, .main-navigation > ul { display: block; min-height: 0; }
  .main-navigation > .menu > li, .main-navigation > ul > li { border-bottom: 1px solid #edf2f5; }
  .main-navigation > .menu > li > a, .main-navigation > ul > li > a { min-height: 50px; padding: 0 44px 0 4px; font-size: 15px; }
  .main-navigation .sub-menu { position: static; display: none; width: auto; margin: 0 0 12px; padding: 5px 8px 9px 14px; opacity: 1; visibility: visible; transform: none; pointer-events: auto; border: 0; border-left: 2px solid var(--ic-line); border-radius: 0; box-shadow: none; }
  .main-navigation .submenu-open > .sub-menu { display: block; }
  .main-navigation .submenu-toggle { position: absolute; top: 6px; right: 2px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; color: var(--ic-ink); background: var(--ic-soft); }
  .main-navigation .submenu-toggle span { transition: transform .18s ease; }
  .main-navigation .submenu-open > .submenu-toggle span { transform: rotate(180deg); }
  .home-masthead__inner { grid-template-columns: 1fr; padding-block: 38px; }
  .home-masthead__trust { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-editorial { grid-template-columns: 1fr; }
  .hero-stack { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-stack__item { display: block; }
  .hero-stack__media { aspect-ratio: 16/9; min-height: 0; }
  .specialties__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .posts-grid, .archive-grid, .category-mini-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial-standard { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 20px; }
  .sidebar .widget-latest-editorial { grid-column: span 2; }
  .article-content, .article-source-footer, .author-box, .comments-area { max-width: 100%; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main > div:last-child { grid-column: auto; }
}

@media (max-width: 680px) {
  .container, .page-container { width: min(100% - 28px, var(--ic-container)); }
  .top-strip__inner { justify-content: center; min-height: 30px; font-size: 11px; }
  .brand-row { min-height: 70px; }
  .custom-logo-link, .site-logo-link { width: 180px; }
  .home-masthead__inner { gap: 25px; padding-block: 30px; }
  .home-masthead__copy h1 { font-size: clamp(34px, 10vw, 46px); letter-spacing: -1.4px; }
  .home-masthead__copy p { font-size: 16px; }
  .home-masthead__trust { grid-template-columns: 1fr; gap: 7px; }
  .hero-editorial { gap: 14px; padding: 22px 0 36px; }
  .hero-lead { border-radius: 18px; }
  .hero-lead__body { padding: 18px; }
  .hero-lead h2 { font-size: 28px; }
  .hero-stack { grid-template-columns: 1fr; }
  .hero-stack__item { display: grid; grid-template-columns: 118px minmax(0,1fr); min-height: 118px; }
  .hero-stack__media { min-height: 118px; height: 100%; }
  .hero-stack__body { padding: 12px; }
  .hero-stack h3 { font-size: 15px; }
  .specialties { padding-bottom: 38px; }
  .specialties__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .specialty-card { min-height: 100px; padding: 14px; }
  .specialty-card strong { font-size: 14px; }
  .specialty-card span:last-child { margin-top: 19px; }
  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-heading h2 { font-size: 29px; }
  .home-latest { padding: 40px 0; }
  .posts-grid, .archive-grid, .category-mini-grid { grid-template-columns: 1fr; gap: 14px; }
  .article-card { display: grid; grid-template-columns: 126px minmax(0,1fr); border-radius: 14px; }
  .article-card__media { height: 100%; aspect-ratio: auto; min-height: 150px; }
  .article-card__content { padding: 13px; }
  .article-card h3 { margin: 8px 0; font-size: 17px; }
  .article-card p { display: none; }
  .article-card__footer { padding-top: 9px; font-size: 10px; }
  .editorial-standard { margin-bottom: 44px; border-radius: 18px; padding: 24px 20px; }
  .category-block { padding: 38px 0; }
  .category-mini-card { display: grid; grid-template-columns: 126px minmax(0,1fr); }
  .category-mini-card__media { height: 100%; aspect-ratio: auto; }
  .category-mini-card__content { padding: 13px; }
  .category-mini-card h3 { font-size: 16px; }
  .category-mini-card p { display: none; }
  .article-title { font-size: clamp(34px,10vw,46px); letter-spacing: -1.1px; }
  .article-deck { font-size: 17px; }
  .article-featured { margin-inline: -14px; border-radius: 0; }
  .article-utility-row { grid-template-columns: 1fr; }
  .article-toc { order: 2; }
  .article-content { font-size: 16.5px; line-height: 1.72; }
  .article-content h2 { font-size: 28px; }
  .article-source-footer { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 64px minmax(0,1fr); gap: 14px; }
  .author-box__avatar img { width: 64px; height: 64px; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .related-card__media { height: 100%; aspect-ratio: auto; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .widget-latest-editorial { grid-column: auto; }
  .archive-hero { padding-top: 16px; }
  .archive-hero h1 { font-size: 38px; }
  .archive-children { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-children a { min-width: 0; }
  .author-profile { grid-template-columns: 82px minmax(0,1fr); gap: 17px; padding: 20px; }
  .author-profile__avatar img { width: 82px; height: 82px; }
  .author-profile h1 { font-size: 30px; }
  .author-profile p { grid-column: 1 / -1; }
  .page-header h1 { font-size: 38px; }
  .page-content-box { border-radius: 16px; padding: 22px 18px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-row--full { grid-column: auto; }
  .contact-form-footer { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form .comment-form-author, .comment-form .comment-form-email { grid-column: 1; }
  .footer-trustbar { grid-template-columns: 1fr; }
  .footer-trustbar > div { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
  .footer-bottom__inner { min-height: 70px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 3px; padding-block: 14px; }
}

@media (max-width: 420px) {
  .specialties__grid { grid-template-columns: 1fr; }
  .article-card, .category-mini-card { grid-template-columns: 110px minmax(0,1fr); }
  .article-card__media { min-height: 138px; }
  .archive-children { grid-template-columns: 1fr; }
  .post-meta { gap: 6px 14px; font-size: 11px; }
  .post-meta > span + span::before { left: -9px; }
}


/* ==========================================================
   V3.6 – consolidated responsive/editorial rules
   ========================================================== */

.single-content,
.article-shell,
.article-header,
.article-content,
.article-source-footer,
.author-box,
.author-box__content,
.related-posts,
.related-card,
.related-card__body,
.sidebar,
.sidebar > *,
.widget,
.editorial-trust,
.latest-item,
.latest-item > *,
.home-masthead__copy,
.hero-lead,
.hero-stack__item,
.article-card,
.category-mini-card,
.editorial-author-card,
.editorial-author-card__content {
  min-width: 0;
}

.article-title,
.article-deck,
.author-box h2,
.author-box p,
.author-box__link,
.related-card h3,
.latest-item h3,
.widget,
.widget a,
.editorial-trust,
.editorial-trust a,
.editorial-author-card__content h3 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-utility-row { align-items: start; }
.medical-note,
.article-toc { align-self: start; height: auto; }
.article-toc ol { max-height: none; }
.article-toc li[hidden] { display: none !important; }
.article-toc__toggle {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--ic-line-strong);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--ic-blue-dark);
  background: var(--ic-soft);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.article-toc__toggle:hover {
  border-color: #a9cadb;
  background: var(--ic-soft-blue);
}

.related-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}
.related-card__media { flex: 0 0 auto; }
.related-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  color: var(--ic-text);
  background: #fff;
}
.related-card h3 {
  display: block;
  margin: 9px 0 8px;
  color: var(--ic-ink);
}
.related-card h3 a:hover { color: var(--ic-blue-dark); }
.related-card__date {
  display: block;
  margin-top: auto;
  padding-top: 2px;
}

.author-box { width: 100%; }
.author-box__content { max-width: 100%; }
.author-box p,
.author-box__link { max-width: 100%; white-space: normal; }
.sidebar .search-form,
.widget .search-form { width: 100%; max-width: 100%; }
.sidebar .search-field,
.widget .search-field { min-width: 0; }

.editorial-authors {
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--ic-line);
}
.editorial-authors__heading { margin-bottom: 20px; }
.editorial-authors__heading h2 {
  margin: 0;
  color: var(--ic-ink);
  font-size: clamp(26px,3vw,36px);
}
.editorial-author-card {
  scroll-margin-top: 130px;
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}
.editorial-author-card__avatar img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.editorial-author-card__content h3 {
  margin: 0;
  color: var(--ic-ink);
  font-size: 24px;
  line-height: 1.15;
}
.editorial-author-card__bio {
  margin: 8px 0 14px;
  color: var(--ic-text);
  font-size: 14px;
  line-height: 1.65;
}
.editorial-author-card__meta {
  margin: 0 0 12px;
  color: var(--ic-muted);
  font-size: 12px;
  font-weight: 700;
}
.editorial-author-posts { margin: 0; padding-left: 20px; }
.editorial-author-posts li { margin: 7px 0; }
.editorial-author-posts a {
  color: var(--ic-blue-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .single-layout { grid-template-columns: 1fr; gap: 0; }
  .sidebar {
    position: static;
    top: auto;
    grid-template-columns: repeat(2, minmax(0,1fr));
    margin-top: 28px;
  }
  .sidebar .widget-latest-editorial { grid-column: span 2; }
  .article-content,
  .article-source-footer,
  .author-box,
  .comments-area { max-width: 100%; }
  .related-posts__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 920px) {
  .site-header .nav-shell {
    display: block;
    position: static;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .site-header .nav-shell > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .site-header .main-navigation {
    position: fixed;
    top: var(--ic-mobile-menu-top, 108px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5000;
    display: none;
    width: 100vw;
    max-width: 100vw;
    min-height: calc(100dvh - var(--ic-mobile-menu-top, 108px));
    max-height: calc(100dvh - var(--ic-mobile-menu-top, 108px));
    margin: 0;
    padding: 8px 18px 32px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 18px 40px rgba(16,32,51,.16);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .site-header .main-navigation.toggled,
  body.menu-open .site-header .main-navigation {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .site-header .main-navigation > .menu,
  .site-header .main-navigation > ul {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site-header .main-navigation > .menu > li,
  .site-header .main-navigation > ul > li {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #edf2f5;
  }
  .site-header .main-navigation > .menu > li > a,
  .site-header .main-navigation > ul > li > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 8px;
    color: var(--ic-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    white-space: normal;
  }
  .site-header .menu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
  }
  .site-header .menu-toggle.is-open {
    color: #fff;
    border-color: var(--ic-blue-dark);
    background: var(--ic-blue-dark);
  }
  .site-header .main-navigation .sub-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 0 0 12px;
    padding: 4px 8px 10px 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    border: 0;
    border-left: 2px solid var(--ic-line);
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  .site-header .main-navigation .submenu-open > .sub-menu { display: block; }
  .site-header .main-navigation .sub-menu a {
    display: block;
    min-height: 42px;
    padding: 11px 10px;
    white-space: normal;
  }
  .site-header .main-navigation .submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: var(--ic-ink);
    background: var(--ic-soft);
  }
  .home-masthead { position: relative; z-index: 0; }
  .home-masthead__inner { padding-top: 32px; }
}

@media (max-width: 820px) {
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .widget-latest-editorial { grid-column: auto; }
  .related-posts__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .home-masthead__inner { gap: 18px; padding-top: 26px; }
  .home-masthead__copy h1 {
    font-size: clamp(32px, 9.2vw, 40px);
    line-height: 1.06;
    letter-spacing: -1.15px;
  }
  .home-masthead__copy p { font-size: 15.5px; line-height: 1.55; }

  .home-masthead__trust {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 6px;
  }
  .home-masthead__trust > div {
    min-width: 0;
    padding: 10px 7px;
    text-align: center;
  }
  .home-masthead__trust strong { font-size: 10.5px; line-height: 1.25; }
  .home-masthead__trust span { display: none; }

  .hero-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-stack__item {
    display: grid;
    grid-template-columns: minmax(112px, 40%) minmax(0,1fr);
    align-items: stretch;
    width: 100%;
    min-height: 132px;
    overflow: hidden;
    border-radius: 16px;
  }
  .hero-stack__media {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 132px;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--ic-soft-blue);
  }
  .hero-stack__media img,
  .hero-stack__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
  }
  .hero-stack__body {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 12px;
    background: #fff;
  }
  .hero-stack__body .category-badge { max-width: 100%; white-space: normal; }
  .hero-stack h3 {
    margin: 8px 0 7px;
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .article-title { font-size: clamp(32px, 9vw, 42px); line-height: 1.06; }
  .article-utility-row { gap: 12px; }
  .medical-note,
  .article-toc { padding: 15px 16px; }

  .author-box {
    grid-template-columns: 58px minmax(0,1fr);
    gap: 13px;
    margin-bottom: 36px;
  }
  .author-box__avatar img { width: 58px; height: 58px; }
  .author-box h2 { font-size: 20px; }

  .related-posts__grid { grid-template-columns: 1fr; }
  .related-card {
    display: grid;
    grid-template-columns: 118px minmax(0,1fr);
    min-height: 118px;
  }
  .related-card__media {
    height: 100%;
    min-height: 118px;
    aspect-ratio: auto;
  }
  .related-card__body { padding: 12px 13px; }
  .related-card h3 { font-size: 15px; line-height: 1.25; }

  .editorial-author-card {
    grid-template-columns: 64px minmax(0,1fr);
    gap: 14px;
    padding: 17px;
  }
  .editorial-author-card__avatar img { width: 64px; height: 64px; }
  .editorial-author-card__content h3 { font-size: 20px; }
  .editorial-author-card__bio,
  .editorial-author-card__meta,
  .editorial-author-posts { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .container,
  .page-container { width: min(100% - 24px, var(--ic-container)); }
  .home-masthead__copy h1 { font-size: 34px; }
  .article-featured { margin-inline: -12px; }
  .hero-stack__item { grid-template-columns: minmax(108px, 38%) minmax(0,1fr); }
  .hero-stack__body { padding: 10px; }
  .hero-stack h3 { font-size: 14px; }
}
