:root {
  --zoomy-primary: #0f766e;
  --zoomy-primary-dark: #0b5d57;
  --zoomy-primary-soft: #e7f6f3;
  --zoomy-accent: #e11d48;
  --zoomy-ink: #17202a;
  --zoomy-text: #3d4a57;
  --zoomy-muted: #718096;
  --zoomy-border: #e5e9ee;
  --zoomy-surface: #ffffff;
  --zoomy-surface-alt: #f6f8fa;
  --zoomy-dark: #102a2a;
  --zoomy-radius-sm: 12px;
  --zoomy-radius: 20px;
  --zoomy-radius-lg: 30px;
  --zoomy-shadow-sm: 0 8px 24px rgba(20, 40, 50, 0.07);
  --zoomy-shadow: 0 18px 55px rgba(20, 40, 50, 0.11);
  --zoomy-container: 1240px;
  --zoomy-font: "Vazirmatn", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--zoomy-text);
  background: var(--zoomy-surface);
  font-family: var(--zoomy-font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--zoomy-primary); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container { width: min(calc(100% - 40px), var(--zoomy-container)); margin-inline: auto; }
.container-narrow { max-width: 900px; }
.container-article { max-width: 920px; }
.container-wide { max-width: 1160px; }
.site-main { min-height: 60vh; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  top: 10px;
  right: 10px;
  z-index: 99999;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  box-shadow: var(--zoomy-shadow-sm);
}

/* Header */
.reading-progress {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}
.reading-progress span { display: block; width: 0; height: 100%; background: var(--zoomy-accent); }
.site-header {
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid var(--zoomy-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}
.topbar { background: var(--zoomy-dark); color: rgba(255,255,255,.84); font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; }
.topbar-menu, .footer-menu { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.topbar-menu a:hover { color: #fff; }
.header-main { min-height: 84px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.site-branding { min-width: 190px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 58px; width: auto; }
.text-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--zoomy-ink); }
.text-logo:hover { color: var(--zoomy-ink); }
.text-logo strong { display: block; font-size: 23px; font-weight: 900; line-height: 1.25; }
.text-logo small { display: block; max-width: 190px; color: var(--zoomy-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px 15px 15px 5px;
  background: linear-gradient(145deg, var(--zoomy-primary), #12a594);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(15,118,110,.22);
}
.primary-navigation { justify-self: center; }
.primary-menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: block; padding: 11px 15px; border-radius: 12px; color: var(--zoomy-ink); font-size: 15px; font-weight: 650; }
.primary-menu > li:hover > a, .primary-menu > .current-menu-item > a { color: var(--zoomy-primary); background: var(--zoomy-primary-soft); }
.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  margin: 0;
  padding: 9px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--zoomy-border);
  border-radius: 16px;
  box-shadow: var(--zoomy-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu a { display: block; padding: 9px 11px; border-radius: 9px; font-size: 14px; }
.primary-menu .sub-menu a:hover { background: var(--zoomy-surface-alt); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--zoomy-border); border-radius: 14px; color: var(--zoomy-ink); background: #fff; }
.icon-button:hover { color: #fff; border-color: var(--zoomy-primary); background: var(--zoomy-primary); }
.mobile-menu-toggle { display: none; }
.mobile-navigation { border-top: 1px solid var(--zoomy-border); background: #fff; }
.mobile-menu { margin: 0; padding: 14px 0 22px; list-style: none; }
.mobile-menu a { display: block; padding: 11px 2px; border-bottom: 1px solid var(--zoomy-border); color: var(--zoomy-ink); font-weight: 600; }
.mobile-menu .sub-menu { margin: 0; padding-right: 18px; list-style: none; }
.search-panel { position: absolute; inset: 100% 0 auto; padding: 18px 0; border-top: 1px solid var(--zoomy-border); background: #fff; box-shadow: var(--zoomy-shadow-sm); }
.search-panel-inner { display: flex; align-items: center; gap: 12px; }
.search-panel .search-form { flex: 1; }
.search-form { display: flex; align-items: stretch; gap: 10px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--zoomy-border); border-radius: 14px; outline: none; background: var(--zoomy-surface-alt); color: var(--zoomy-ink); }
.search-field:focus { border-color: var(--zoomy-primary); box-shadow: 0 0 0 4px rgba(15,118,110,.1); }
.search-submit, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--zoomy-primary);
  color: #fff;
  font-weight: 750;
}
.search-submit:hover, .button:hover { background: var(--zoomy-primary-dark); color: #fff; transform: translateY(-1px); }

/* Shared headings */
.eyebrow { display: block; margin-bottom: 5px; color: var(--zoomy-primary); font-size: 13px; font-weight: 800; letter-spacing: .1px; }
.category-badge { display: inline-flex; align-items: center; min-height: 29px; padding: 3px 11px; border-radius: 999px; color: var(--zoomy-primary-dark); background: var(--zoomy-primary-soft); font-size: 12px; font-weight: 800; }
.category-badge:hover { color: #fff; background: var(--zoomy-primary); }
.mini-category { color: var(--zoomy-primary); font-size: 12px; font-weight: 800; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; color: var(--zoomy-ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.section-heading.compact { margin-bottom: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--zoomy-primary); font-weight: 750; white-space: nowrap; }
.text-link svg { transform: scaleX(-1); }

/* Home */
.hero-section { padding: 56px 0 42px; background: radial-gradient(circle at 15% 0%, #dff5ef 0, transparent 34%), linear-gradient(180deg, #fbfdfd 0%, #fff 100%); }
.hero-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.hero-heading h1 { margin: 0; color: var(--zoomy-ink); font-size: clamp(34px, 5vw, 55px); line-height: 1.25; letter-spacing: -1px; }
.hero-heading > p { max-width: 570px; margin: 0; color: var(--zoomy-muted); font-size: 16px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 22px; }
.hero-main-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--zoomy-radius-lg); background: #0d2928; box-shadow: var(--zoomy-shadow); }
.hero-image { position: absolute; inset: 0; }
.hero-image img, .hero-image .image-placeholder { width: 100%; height: 100%; filter: brightness(130%);}
.hero-main-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(6,22,21,.9) 100%); pointer-events: none; }
.hero-main-content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 34px; color: #fff; }
.hero-main-content .category-badge { color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.hero-main-content h2 { max-width: 730px; margin: 12px 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.45; }
.hero-main-content h2 a:hover { color: #fff; }
.hero-main-content p { max-width: 650px; margin: 0 0 12px; color: rgba(255,255,255,.8); }
.hero-main-content .entry-meta { color: rgba(255,255,255,.72); }
.hero-side-list { display: grid; gap: 14px; }
.hero-side-card { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--zoomy-border); border-radius: var(--zoomy-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.hero-side-card:hover { transform: translateY(-2px); box-shadow: var(--zoomy-shadow-sm); }
.hero-side-image { height: 100%; min-height: 100px; overflow: hidden; border-radius: 14px; background: var(--zoomy-surface-alt); }
.hero-side-image img, .hero-side-image .image-placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero-side-card h3 { margin: 4px 0 7px; color: var(--zoomy-ink); font-size: 16px; line-height: 1.55; }
.hero-side-card time { color: var(--zoomy-muted); font-size: 12px; }
.image-placeholder { display: grid; place-items: center; min-height: 100%; background: linear-gradient(145deg, var(--zoomy-primary-soft), #d6eee9); color: var(--zoomy-primary); font-size: 44px; font-weight: 900; }
.topic-strip { border-block: 1px solid var(--zoomy-border); background: #fff; }
.topic-strip-inner { min-height: 80px; display: flex; align-items: center; gap: 24px; }
.topic-strip-inner > strong { color: var(--zoomy-ink); white-space: nowrap; }
.topic-links { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.topic-links::-webkit-scrollbar { display: none; }
.topic-links a { padding: 8px 14px; border: 1px solid var(--zoomy-border); border-radius: 999px; background: var(--zoomy-surface-alt); color: var(--zoomy-text); font-size: 13px; white-space: nowrap; }
.topic-links a:hover { color: #fff; border-color: var(--zoomy-primary); background: var(--zoomy-primary); }
.content-section { padding: 72px 0; }
.section-tinted { background: var(--zoomy-surface-alt); }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.posts-grid-four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--zoomy-border); border-radius: var(--zoomy-radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--zoomy-shadow); }
.post-card-media { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: var(--zoomy-surface-alt); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-media img { transform: scale(1.035); }
.post-card-body { padding: 20px; }
.post-card-title { margin: 11px 0 8px; color: var(--zoomy-ink); font-size: 19px; line-height: 1.58; }
.post-card-excerpt { display: -webkit-box; margin: 0 0 16px; overflow: hidden; color: var(--zoomy-muted); font-size: 14px; line-height: 1.8; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--zoomy-muted); font-size: 12px; }
.meta-item { display: inline-flex; align-items: center; gap: 5px; }
.meta-item svg { width: 15px; height: 15px; }
.newsletter-section { padding: 10px 0 80px; }
.newsletter-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; padding: 42px 48px; border-radius: var(--zoomy-radius-lg); background: linear-gradient(135deg, #0c5954, #123c42); color: #fff; }
.newsletter-card::after { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; top: -120px; border: 50px solid rgba(255,255,255,.06); border-radius: 50%; }
.newsletter-card .eyebrow { color: #9ee8dc; }
.newsletter-card h2 { margin: 0 0 8px; font-size: 30px; }
.newsletter-card p { margin: 0; color: rgba(255,255,255,.75); }
.button-light { position: relative; z-index: 1; color: var(--zoomy-dark); background: #fff; }
.button-light:hover { color: var(--zoomy-dark); background: #ecfffb; }

/* Breadcrumb and archives */
.breadcrumbs { padding: 22px 0 5px; color: var(--zoomy-muted); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-right: 8px; color: #b2bac2; }
.breadcrumbs span[aria-current="page"] { display: inline-block; max-width: 450px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.archive-main { padding-bottom: 80px; background: #fff; }
.archive-header { margin: 38px 0 42px; padding: 38px 40px; border-radius: var(--zoomy-radius-lg); background: linear-gradient(135deg, #effaf7, #f8fbfc); }
.archive-header h1 { margin: 0; color: var(--zoomy-ink); font-size: clamp(32px, 5vw, 48px); line-height: 1.35; }
.archive-header p, .archive-description { max-width: 750px; margin: 10px 0 0; color: var(--zoomy-muted); }
.archive-description p { margin: 0; }
.archive-search { max-width: 680px; margin-top: 22px; }
.archive-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 34px; align-items: start; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--zoomy-border); border-radius: 12px; background: #fff; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--zoomy-primary); background: var(--zoomy-primary); }

/* Sidebar and widgets */
.site-sidebar { position: sticky; top: 24px; display: grid; gap: 22px; }
.widget { padding: 22px; border: 1px solid var(--zoomy-border); border-radius: var(--zoomy-radius); background: #fff; }
.widget-title { position: relative; margin: 0 0 18px; padding-right: 14px; color: var(--zoomy-ink); font-size: 18px; }
.widget-title::before { content: ""; position: absolute; top: .45em; right: 0; width: 5px; height: 1.1em; border-radius: 5px; background: var(--zoomy-primary); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--zoomy-border); }
.widget li:last-child { border-bottom: 0; }
.widget img { border-radius: 12px; }
.widget .search-form { display: grid; }
.widget .search-submit { width: 100%; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tagcloud a { padding: 5px 10px; border-radius: 999px; background: var(--zoomy-surface-alt); font-size: 12px !important; }

/* Single article */
.single-main { padding-bottom: 80px; background: #fff; }
.single-header { padding-top: 34px; text-align: center; }
.single-header h1 { margin: 16px auto 14px; color: var(--zoomy-ink); font-size: clamp(35px, 5.6vw, 58px); line-height: 1.4; letter-spacing: -.7px; }
.single-lead { max-width: 760px; margin: 0 auto 20px; color: var(--zoomy-muted); font-size: 18px; }
.single-header .entry-meta { justify-content: center; font-size: 13px; }
.last-updated { margin: 9px 0 0; color: var(--zoomy-muted); font-size: 12px; }
.single-featured { margin-top: 36px; }
.single-featured img { display: block; width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--zoomy-radius-lg); box-shadow: var(--zoomy-shadow-sm); }
.single-featured figcaption { margin-top: 9px; color: var(--zoomy-muted); font-size: 12px; text-align: center; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 760px) 270px; justify-content: center; gap: 34px; align-items: start; margin-top: 44px; }
body:not(.has-sidebar) .article-layout { grid-template-columns: 190px minmax(0, 760px); }
.article-rail { position: sticky; top: 22px; display: grid; gap: 18px; }
.toc-box { padding: 18px; border: 1px solid var(--zoomy-border); border-radius: var(--zoomy-radius); background: #fff; }
.toc-box strong { display: block; margin-bottom: 10px; color: var(--zoomy-ink); font-size: 14px; }
.toc-box ol { margin: 0; padding: 0; list-style: none; }
.toc-box li { border-top: 1px solid var(--zoomy-border); }
.toc-box a { display: block; padding: 8px 0; color: var(--zoomy-muted); font-size: 12px; line-height: 1.6; }
.toc-box a:hover, .toc-box a.active { color: var(--zoomy-primary); }
.toc-box .toc-h3 a { padding-right: 12px; font-size: 11px; }
.share-box { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px; border-radius: var(--zoomy-radius); background: var(--zoomy-surface-alt); }
.share-box strong { width: 100%; margin-bottom: 3px; color: var(--zoomy-ink); font-size: 13px; }
.share-button { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 4px 9px; border: 1px solid var(--zoomy-border); border-radius: 9px; background: #fff; color: var(--zoomy-text); font-size: 11px; }
.share-button:hover { color: #fff; border-color: var(--zoomy-primary); background: var(--zoomy-primary); }
.share-button svg { width: 14px; height: 14px; }
.article-main-column { min-width: 0; }
.medical-disclaimer { margin-bottom: 26px; padding: 17px 20px; border-right: 4px solid var(--zoomy-accent); border-radius: 15px; background: #fff3f6; }
.medical-disclaimer strong { color: #9f1239; }
.medical-disclaimer p { margin: 3px 0 0; color: #7f2943; font-size: 14px; }
.article-content { color: #344350; font-size: 18px; line-height: 2.15; }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2, .article-content h3, .article-content h4 { scroll-margin-top: 30px; color: var(--zoomy-ink); }
.article-content h2 { margin: 2.2em 0 .7em; padding-bottom: .38em; border-bottom: 1px solid var(--zoomy-border); font-size: 29px; line-height: 1.55; }
.article-content h3 { margin: 1.8em 0 .55em; font-size: 23px; line-height: 1.6; }
.article-content h4 { margin: 1.55em 0 .45em; font-size: 19px; }
.article-content a { color: var(--zoomy-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-content strong { color: var(--zoomy-ink); }
.article-content ul, .article-content ol { margin: 0 0 1.5em; padding-right: 1.3em; }
.article-content li { margin-bottom: .45em; padding-right: .3em; }
.article-content blockquote { margin: 2em 0; padding: 24px 26px; border: 0; border-right: 5px solid var(--zoomy-primary); border-radius: 18px; background: var(--zoomy-primary-soft); color: var(--zoomy-primary-dark); font-size: 19px; }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content img { border-radius: 18px; }
.article-content figure { max-width: 100%; margin: 2em 0; }
.article-content figcaption { margin-top: 7px; color: var(--zoomy-muted); font-size: 12px; text-align: center; }
.article-content table { width: 100%; margin: 2em 0; border-collapse: collapse; border-radius: 14px; overflow: hidden; font-size: 15px; }
.article-content th, .article-content td { padding: 12px 14px; border: 1px solid var(--zoomy-border); text-align: right; }
.article-content th { color: var(--zoomy-ink); background: var(--zoomy-primary-soft); }
.article-content code { padding: 2px 5px; border-radius: 6px; background: #eef1f3; font-size: .9em; direction: ltr; }
.article-content pre { overflow-x: auto; padding: 20px; border-radius: 15px; background: #17222b; color: #edf7f5; direction: ltr; text-align: left; }
.article-content .wp-block-button__link { color: #fff; text-decoration: none; background: var(--zoomy-primary); }
.article-inline-widget { margin: 35px 0; }
.article-footer { display: grid; gap: 20px; margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--zoomy-border); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-list a { padding: 5px 11px; border-radius: 999px; background: var(--zoomy-surface-alt); color: var(--zoomy-text); font-size: 12px; }
.author-box { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding: 25px; border: 1px solid var(--zoomy-border); border-radius: var(--zoomy-radius); background: #fff; }
.author-box img { flex: 0 0 auto; border-radius: 50%; }
.author-box span { color: var(--zoomy-muted); font-size: 12px; }
.author-box h2 { margin: 1px 0 4px; color: var(--zoomy-ink); font-size: 20px; }
.author-box p { margin: 0; color: var(--zoomy-muted); font-size: 14px; }
.related-posts { margin-top: 55px; }
.related-posts .posts-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.related-posts .post-card-body { padding: 15px; }
.related-posts .post-card-title { font-size: 15px; }
.related-posts .post-card-excerpt { display: none; }
.related-posts .entry-meta { display: none; }

/* Pages, comments, 404 */
.page-main { padding-bottom: 80px; }
.page-article { margin-top: 32px; }
.page-header h1 { margin: 0 0 28px; color: var(--zoomy-ink); font-size: clamp(34px, 5vw, 50px); }
.page-featured-image { margin-bottom: 35px; }
.page-featured-image img { width: 100%; border-radius: var(--zoomy-radius-lg); }
.comments-area { margin-top: 55px; padding-top: 35px; border-top: 1px solid var(--zoomy-border); }
.comments-title, .comment-reply-title { color: var(--zoomy-ink); font-size: 24px; }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-right: 30px; list-style: none; }
.comment-body { margin: 18px 0; padding: 20px; border: 1px solid var(--zoomy-border); border-radius: 16px; }
.comment-meta { font-size: 13px; }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author img { border-radius: 50%; }
.comment-content p { margin-bottom: 0; }
.comment-form label { display: block; margin-bottom: 5px; color: var(--zoomy-ink); font-weight: 600; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--zoomy-border); border-radius: 12px; outline: none; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--zoomy-primary); }
.form-submit input { border: 0; border-radius: 12px; padding: 12px 20px; background: var(--zoomy-primary); color: #fff; font-weight: 700; }
.error-main { display: grid; align-items: center; padding: 70px 0; background: var(--zoomy-surface-alt); }
.error-card { padding: 55px; border-radius: var(--zoomy-radius-lg); background: #fff; text-align: center; box-shadow: var(--zoomy-shadow-sm); }
.error-code { display: block; color: var(--zoomy-primary); font-size: 90px; font-weight: 900; line-height: 1; }
.error-card h1 { margin: 15px 0 8px; color: var(--zoomy-ink); }
.error-card p { margin: 0 auto 25px; max-width: 590px; color: var(--zoomy-muted); }
.error-card .search-form { max-width: 600px; margin: 0 auto 20px; }
.empty-state { padding: 60px 30px; border: 1px dashed #ccd5dc; border-radius: var(--zoomy-radius-lg); text-align: center; }
.empty-icon { display: grid; place-items: center; width: 75px; height: 75px; margin: 0 auto 15px; border-radius: 24px; background: var(--zoomy-primary-soft); color: var(--zoomy-primary); font-size: 38px; font-weight: 900; }
.empty-state h1 { color: var(--zoomy-ink); }
.empty-state .search-form { max-width: 600px; margin: 25px auto 0; }

/* Footer */
.site-footer { padding-top: 62px; background: var(--zoomy-dark); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 35px; padding-bottom: 45px; }
.footer-logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 22px; }
.footer-logo:hover { color: #fff; }
.footer-brand p { max-width: 380px; margin: 20px 0 0; }
.site-footer .widget { padding: 0; border: 0; background: transparent; }
.site-footer .widget-title { color: #fff; }
.site-footer .widget li { border-color: rgba(255,255,255,.1); }
.site-footer a:hover { color: #fff; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-bottom p { margin: 0; }

/* WordPress alignments */
.alignwide { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-right: 50%; transform: translateX(50%); }
.alignfull { width: 100vw; max-width: none; margin-right: 50%; transform: translateX(50%); }
.wp-caption { max-width: 100%; }
.sticky { outline: 2px solid var(--zoomy-primary-soft); }
.bypostauthor { position: relative; }

/* Responsive */
@media (max-width: 1180px) {
  .primary-menu > li > a { padding-inline: 10px; }
  .article-layout { grid-template-columns: 190px minmax(0, 720px); }
  .article-layout > .site-sidebar { display: none; }
  .posts-grid-four { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .topbar-menu, .primary-navigation { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; }
  .site-branding { justify-self: center; min-width: 0; }
  .mobile-menu-toggle { display: inline-grid; }
  .hero-heading { align-items: start; flex-direction: column; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main-card { min-height: 480px; }
  .hero-side-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .posts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-layout .site-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; max-width: 820px; }
  .article-rail { position: static; grid-row: 2; }
  .article-rail .share-box { display: none; }
  .toc-box { margin-bottom: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 26px), var(--zoomy-container)); }
  .topbar-inner { justify-content: center; text-align: center; }
  .header-main { min-height: 70px; gap: 12px; }
  .custom-logo { max-height: 46px; max-width: 170px; }
  .text-logo small { display: none; }
  .logo-mark { width: 40px; height: 40px; border-radius: 13px 13px 13px 4px; }
  .icon-button { width: 40px; height: 40px; }
  .search-panel-inner { align-items: stretch; }
  .search-panel .search-close { flex: 0 0 auto; }
  .search-form { gap: 7px; }
  .search-submit { min-width: 48px; padding: 0 13px; }
  .search-submit span { display: none; }
  .hero-section { padding-top: 35px; }
  .hero-heading h1 { font-size: 36px; }
  .hero-main-card { min-height: 430px; }
  .hero-main-content { padding: 24px; }
  .hero-main-content h2 { font-size: 26px; }
  .hero-main-content p { display: none; }
  .hero-side-list, .posts-grid, .posts-grid-four { grid-template-columns: 1fr; }
  .hero-side-card { grid-template-columns: 120px minmax(0,1fr); }
  .topic-strip-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 17px; }
  .topic-links { width: 100%; }
  .content-section { padding: 50px 0; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 25px; }
  .text-link { font-size: 13px; }
  .newsletter-card { align-items: flex-start; flex-direction: column; padding: 31px 26px; }
  .archive-header { padding: 28px 24px; }
  .archive-layout .site-sidebar { grid-template-columns: 1fr; }
  .single-header { padding-top: 24px; }
  .single-header h1 { font-size: 34px; }
  .single-lead { font-size: 16px; }
  .single-featured { margin-top: 26px; }
  .single-featured img { border-radius: 18px; }
  .article-layout { margin-top: 28px; }
  .article-content { font-size: 16.5px; line-height: 2.05; }
  .article-content h2 { font-size: 24px; }
  .article-content h3 { font-size: 20px; }
  .article-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .author-box { align-items: flex-start; }
  .related-posts .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
  .alignwide, .alignfull { width: 100%; margin-right: 0; transform: none; }
  .error-card { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
