/*
Theme Name: Мермеклиева Custom
Theme URI: https://mermeklieva.bg/
Author: Custom build for МЦ „Офта – Невро“
Description: Лека custom тема за офталмология, невроофталмология и електрофизиология.
Version: 1.0.23
Text Domain: mermeklieva-custom
*/

:root {
  --green: #3f7445;
  --green-dark: #24472d;
  --cream: #b7d8d0;
  --mint: #b7d8d0;
  --paper: #fff;
  --ink: #1f2a1f;
  --muted: #5c6a60;
  --gold: #d9a441;
  --line: #dfeadf;
  --shadow: 0 18px 44px rgba(54, 95, 59, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
 a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #d9a441; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100% - 48px, 1810px);
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; min-width: 0; }
.brand-logo { width: 100px; height: 90px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: block; color: var(--green-dark); font-size: 25px; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
.brand-copy small { display: block; margin-top: 7px; color: var(--muted); font-size: 16px; line-height: 1.25; letter-spacing: 0; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: nowrap; font-size: 17px; font-weight: 900; white-space: nowrap; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--green); }
.button, .nav .button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(54,95,59,.22); text-decoration: none; }
.button:hover { background: var(--green-dark); color: #fff; }
.hero { padding: 86px 0 72px; background: var(--cream); }
.wrap { width: min(100% - 48px, 1810px); margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr) 330px; align-items: center; gap: 54px; }
.kicker { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 24px; padding: 11px 21px; border-radius: 999px; background: #fff; color: var(--green-dark); font-size: 15px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.kicker::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); }
h1, h2, h3 { margin: 0 0 22px; color: var(--ink); line-height: 1.04; letter-spacing: -.035em; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 790px; font-size: clamp(42px, 3.8vw, 68px); }
h2 { font-size: clamp(30px, 3vw, 48px); }
h3 { font-size: 23px; }
.hero-lead { max-width: 790px; margin: 0 0 30px; color: var(--muted); font-size: 21px; line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 18px; }
.button.soft { background: #fff; color: var(--green-dark); box-shadow: 0 10px 22px rgba(54,95,59,.08); }
.portrait-frame { padding: 10px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.portrait-frame img { display: block; width: 100%; aspect-ratio: .84; object-fit: cover; border-radius: 50%; }
.highlights { display: grid; gap: 26px; }
.highlight { padding: 24px; border-radius: 26px; background: #fff; box-shadow: 0 10px 24px rgba(54,95,59,.07); }
.highlight strong { display: block; margin-bottom: 9px; color: var(--green); font-size: 22px; line-height: 1.1; }
.highlight span { color: var(--muted); }
.compact { padding-top: 28px; padding-bottom: 28px; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.highlight-grid .highlight { text-decoration: none; padding: 24px; }
.notice { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; padding: 20px 24px; border-radius: 18px; background: #fff; color: var(--muted); box-shadow: 0 10px 24px rgba(54,95,59,.06); }
.notice strong { color: var(--green-dark); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag-list span { padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--green-dark); font-size: .9em; }
.bio-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
.bio-layout > div:first-child { color: var(--muted); }
.bio-details { display: grid; gap: 12px; }
.bio-details details { padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(54,95,59,.06); }
.bio-details summary { cursor: pointer; color: var(--green-dark); font-weight: 800; }
.bio-details ul { margin: 16px 0 0; padding-left: 22px; color: var(--muted); }
.bio-details p { margin: 16px 0 0; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-note { margin: 24px 0 0; color: var(--muted); }
.contact-note strong { color: var(--green-dark); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section { padding: 88px 0; background: #fff; }
.section.alt { background: #f5faf6; }
.section-heading { max-width: 850px; margin-bottom: 38px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 19px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(54,95,59,.06); }
.card p { margin: 0; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline .card strong { display: block; margin-bottom: 10px; color: var(--green); font-size: 21px; }
.contact-box { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 46px; border-radius: var(--radius); background: var(--cream); }
.contact-list { display: grid; gap: 6px; color: var(--muted); }
.contact-list strong { color: var(--green-dark); }
.site-footer { padding: 34px 0; background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.entry-content { max-width: 900px; margin: 0 auto; padding: 90px 0; }
.entry-content p, .entry-content li { color: var(--muted); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1500px) {
  .brand-copy { font-size: 22px; }
  .brand-copy small { font-size: 14px; }
  .nav { gap: 17px; font-size: 15px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr) 270px; gap: 32px; }
}
@media (max-width: 1300px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 40px; }
  .highlights { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
  .site-header { position: relative; }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .highlights { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .highlight-grid, .card-grid, .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .portrait-frame { max-width: 520px; margin: 0 auto; }
  .highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .header-inner { width: min(100% - 32px, 1810px); }
  .brand-logo { width: 78px; height: 72px; }
  .brand { gap: 12px; }
  .brand-copy { font-size: 18px; }
  .brand-copy small { margin-top: 4px; font-size: 11px; }
  .nav { gap: 10px 14px; font-size: 14px; }
  .nav .button { padding: 10px 16px; }
  .hero { padding: 54px 0 56px; }
  .hero-grid, .two-col, .highlight-grid, .card-grid, .timeline, .faq-grid, .bio-layout, .contact-box { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .hero-lead { font-size: 17px; }
  .section { padding: 66px 0; }
  .contact-box { padding: 28px; }
}

/* Самостоятелни страници и видео */
.page-hero{background:var(--mint);padding:68px 0 58px;border-bottom:1px solid rgba(47,94,38,.08)}
.page-hero h1{max-width:900px;margin:12px 0 14px;color:var(--ink)}
.page-hero p{max-width:780px;font-size:19px;line-height:1.6;color:var(--muted);margin:0}
.bio-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:42px;align-items:center}
.bio-portrait{justify-self:end;width:250px;height:310px;border:10px solid #fff;border-radius:48% 48% 45% 45%;overflow:hidden;box-shadow:0 18px 38px rgba(47,94,38,.15)}
.bio-portrait img{width:100%;height:100%;object-fit:cover}
.page-content{background:#fff}
.page-intro{max-width:900px;margin:0 auto 30px;font-size:19px;line-height:1.7;color:var(--muted)}
.page-details{max-width:920px;margin:0 auto}
.page-details details{margin-bottom:14px}
.page-details ul{margin:14px 0 0;padding-left:22px;color:var(--muted);line-height:1.65}
.page-details p{color:var(--muted);line-height:1.65}
.page-cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:34px}
.video-section{background:var(--mint)}
.video-panel{background:#fff;border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow);align-items:center}
.video-panel h2{margin-top:8px}
.video-panel p{color:var(--muted);line-height:1.6;font-size:17px}
.video-frame{width:100%;max-width:380px;margin:auto;border-radius:24px;overflow:hidden;background:#182019;box-shadow:0 18px 42px rgba(31,42,31,.14);border:8px solid #fff}
.video-frame video{width:100%;display:block;aspect-ratio:9/16;object-fit:contain;background:#182019}
.video-transcript{margin-top:12px;color:var(--muted)}
.video-transcript summary{cursor:pointer;font-weight:800;color:var(--green-dark)}
.page-video{margin-top:38px}
.advice-index{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px}
.advice-index a{background:var(--mint);color:var(--green-dark);font-weight:800;border-radius:999px;padding:11px 15px}
.advice-article{max-width:920px;margin:0 auto 26px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 12px 28px rgba(47,94,38,.05);scroll-margin-top:110px}
.advice-article h2{margin-top:0;color:var(--green-dark)}
.advice-article h3{margin:22px 0 8px}
.advice-article p,.advice-article li{color:var(--muted);line-height:1.65}
.advice-article ul{padding-left:22px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.news-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 12px 28px rgba(47,94,38,.05)}
.news-card time{display:block;color:var(--green-dark);font-weight:900;font-size:14px;margin-bottom:10px}
.news-card h2{font-size:22px;line-height:1.2;margin:0 0 12px}
.news-card p{color:var(--muted);line-height:1.6}
.news-card a{color:var(--green-dark);font-weight:900}
.news-follow{text-align:center;background:var(--mint);border-radius:24px;padding:28px;margin-top:30px;color:var(--muted)}
.pagination{display:flex;justify-content:center;margin-top:34px}.pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0}.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px 12px;border-radius:999px;background:var(--mint);color:var(--green-dark);font-weight:800;text-decoration:none}.pagination .current{background:var(--green);color:#fff}.news-entry{max-width:920px;margin:0 auto}.news-entry-text{color:var(--muted);line-height:1.75}.news-entry-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}.news-entry-gallery figure{margin:0;border-radius:20px;overflow:hidden;background:#f5faf6}.news-entry-gallery img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover}.news-entry-source{margin-top:24px}.news-entry-source a{color:var(--green-dark);font-weight:800}@media(max-width:720px){.news-entry-gallery{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.page-hero{padding:46px 0 40px}.page-hero h1{font-size:34px}.page-hero p{font-size:17px}.video-panel{padding:22px}.advice-article{padding:22px}.news-grid{grid-template-columns:1fr}.bio-hero{grid-template-columns:1fr}.bio-portrait{justify-self:start;width:190px;height:240px}}

/* Google consent banner and settings */
.site-consent,.site-consent-panel{font-size:14px;line-height:1.45}
.site-consent[hidden],.site-consent-panel[hidden]{display:none!important}
.site-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:90;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.98);color:var(--muted);box-shadow:0 18px 44px rgba(31,42,31,.18)}
.site-consent-copy{flex:1;min-width:0}
.site-consent-copy strong{display:block;margin-bottom:3px;color:var(--green-dark);font-size:14px}
.site-consent-copy p{margin:0}
.site-consent-copy a{color:var(--green-dark);font-weight:800}
.site-consent-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.site-consent .button{padding:9px 12px;font-size:13px;border:0;cursor:pointer;white-space:nowrap}
.site-consent-panel{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(24,42,29,.42);backdrop-filter:blur(5px)}
.site-consent-panel-inner{width:min(560px,100%);max-height:min(720px,calc(100vh - 40px));overflow:auto;padding:28px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 26px 80px rgba(31,42,31,.28);color:var(--muted)}
.site-consent-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:12px}
.site-consent-panel h2{margin:4px 0 0;color:var(--ink);font-size:28px;line-height:1.1}
.site-consent-close{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--green-dark);font-size:24px;line-height:1;cursor:pointer}
.site-consent-panel-inner>p{margin:0 0 20px}
.consent-options{display:grid;gap:10px;margin:0;padding:0;border:0}
.consent-option{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#f8fbf8;cursor:pointer}
.consent-option input{width:18px;height:18px;margin-top:2px;accent-color:var(--green)}
.consent-option span{display:grid;gap:3px}
.consent-option strong{color:var(--ink)}
.consent-option small{color:var(--muted);font-size:13px;line-height:1.45}
.site-consent-panel-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px}
@media(max-width:720px){.site-consent{flex-direction:column;align-items:stretch;gap:10px}.site-consent-actions{justify-content:stretch}.site-consent .button{flex:1}.site-consent-panel{padding:12px}.site-consent-panel-inner{padding:22px;border-radius:20px}.site-consent-panel h2{font-size:24px}.site-consent-panel-actions{display:grid;grid-template-columns:1fr}.site-consent-panel-actions .button{width:100%}}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* News archive thumbnails */
.news-card { overflow: hidden; }
.news-card-image { display: block; margin: -24px -24px 20px; background: #f5faf6; }
.news-card-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card-image:hover { opacity: .92; }
@media (max-width: 720px) {
  .news-card-image { margin: -22px -22px 18px; }
}

/* Mobile finishing pass */
@media (max-width: 720px) {
  .site-header { position: sticky; }
  .header-inner { gap: 12px; padding: 12px 0 14px; }
  .brand { align-items: flex-start; }
  .brand-logo { width: 68px; height: 64px; }
  .brand-copy { font-size: 16px; line-height: 1.12; }
  .brand-copy small { font-size: 10px; line-height: 1.35; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; font-size: 13px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
  .button, .nav .button { min-height: 44px; }
  .kicker { max-width: 100%; padding: 10px 16px; font-size: 13px; line-height: 1.25; }
  .hero-lead { line-height: 1.55; }
  .actions .button { flex: 1 1 150px; text-align: center; }
  .video-frame { max-width: 100%; border-width: 6px; }
  .video-frame video { max-width: 100%; }
  .section-heading p, .page-intro, .page-hero p { font-size: 17px; }
  .contact-box { align-items: stretch; }
  .contact-box .button { text-align: center; }
}

/* Медицинско визуално освежаване: по-ясна йерархия, дълбочина и спокойни интеракции */
:root {
  --line: #d6e7de;
  --shadow: 0 22px 52px rgba(54, 95, 59, .15);
  --shadow-soft: 0 12px 30px rgba(54, 95, 59, .09);
}

::selection { background: rgba(63, 116, 69, .2); color: var(--green-dark); }

.site-header {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 28px rgba(31, 42, 31, .07);
}
.header-inner { min-height: 82px; }
.brand-logo { filter: drop-shadow(0 5px 9px rgba(31, 42, 31, .08)); }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a {
  background: #edf7f0;
  color: var(--green-dark);
}
.nav .button,
.button {
  border: 1px solid rgba(36, 71, 45, .12);
  background: linear-gradient(135deg, #4b8a56 0%, #356c40 100%);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav .button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(54, 95, 59, .28);
}
.button.soft {
  border-color: #d6e7de;
  box-shadow: 0 10px 24px rgba(54, 95, 59, .09);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, .48) 0 9%, transparent 32%),
    linear-gradient(135deg, #b2d4cc 0%, #c4e1da 52%, #acd0c7 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .08), 0 0 0 58px rgba(255, 255, 255, .05);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }
.kicker {
  border: 1px solid rgba(63, 116, 69, .08);
  box-shadow: 0 8px 20px rgba(54, 95, 59, .08);
}
.portrait-frame {
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 24px 56px rgba(54, 95, 59, .2);
}
.highlight,
.notice,
.bio-details details,
.card,
.news-card {
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.highlight:hover,
.news-card:hover,
.bio-details details:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(54, 95, 59, .14);
}
.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  opacity: .82;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #c0dbcd;
  box-shadow: 0 18px 38px rgba(54, 95, 59, .14);
}
.card h3 { color: var(--green-dark); }
.section-heading { position: relative; }
.section-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}
.section-heading p { max-width: 760px; }
.section.alt { background: linear-gradient(180deg, #f8fcf9 0%, #eef8f3 100%); }
.contact-box {
  border: 1px solid rgba(63, 116, 69, .12);
  background: linear-gradient(135deg, #d8ece5 0%, #b7d8d0 100%);
  box-shadow: var(--shadow);
}
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr) minmax(0, 1fr);
  gap: 42px;
  padding: 52px 0 46px;
}
.footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  min-width: 0;
}
.footer-column h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-column a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-column a:hover { color: var(--green-dark); transform: translateX(2px); }
.footer-brand-column { gap: 16px; }
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--green-dark) !important;
}
.footer-brand-link:hover { transform: none !important; }
.footer-logo { width: 68px; height: 62px; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(31, 42, 31, .08)); }
.footer-brand-link span { display: grid; gap: 3px; }
.footer-brand-link strong { font-size: 17px; line-height: 1.2; }
.footer-brand-link small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.footer-brand-column p { max-width: 280px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.footer-appointment {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(63, 116, 69, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark) !important;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(54, 95, 59, .08);
}
.footer-appointment:hover { background: #edf7f0; transform: translateY(-2px) !important; }
.footer-contact-column { gap: 8px; }
.footer-contact-column a strong { color: var(--green-dark); font-size: 18px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.footer-socials a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; }
.footer-socials a:hover { background: #fff; transform: translateY(-1px); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 17px 0 19px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--green-dark); }
.page-hero {
  background: linear-gradient(135deg, #b7d8d0 0%, #c8e3dc 55%, #b3d4cb 100%);
}
.video-panel {
  border-color: #cfe3d9;
  box-shadow: var(--shadow);
}
.quick-actions {
  position: relative;
  z-index: 4;
  margin-top: -26px;
}
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 16px 17px;
  border: 1px solid rgba(63, 116, 69, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  color: var(--green-dark);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(54, 95, 59, .12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.quick-action:hover {
  transform: translateY(-4px);
  border-color: #a9cdbd;
  box-shadow: 0 22px 42px rgba(54, 95, 59, .18);
  text-decoration: none;
}
.quick-action.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #4b8a56 0%, #356c40 100%);
}
.quick-index {
  align-self: flex-start;
  min-width: 26px;
  padding-top: 2px;
  color: #af8130;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.quick-action.primary .quick-index { color: #f5d891; }
.quick-copy { display: grid; gap: 5px; min-width: 0; }
.quick-copy strong { font-size: 15px; line-height: 1.2; }
.quick-copy small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.quick-action.primary .quick-copy small { color: rgba(255, 255, 255, .78); }
.quick-arrow { margin-left: auto; align-self: flex-start; font-size: 20px; line-height: 1; }
.signal-strip {
  overflow: hidden;
  margin: 28px 0 0;
  border-top: 1px solid rgba(63, 116, 69, .12);
  border-bottom: 1px solid rgba(63, 116, 69, .12);
  background: rgba(247, 252, 249, .86);
  color: var(--green-dark);
}
.signal-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 18px;
  min-height: 44px;
  padding: 0 18px;
  animation: signal-marquee 34s linear infinite;
  white-space: nowrap;
}
.signal-track span { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.signal-track i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--gold); }
@keyframes signal-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  box-shadow: 0 0 14px rgba(63, 125, 74, .32);
  pointer-events: none;
}
body.admin-bar .scroll-progress { top: 32px; }
.motion-ready { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--motion-delay, 0ms); }
.motion-visible { opacity: 1; transform: translateY(0); }
.hero-grid > div:nth-child(2) { transition-delay: .12s; }
.hero-grid > div:nth-child(3) { transition-delay: .2s; }
.nav a.is-current { background: #edf7f0; color: var(--green-dark); }
.advice-index a {
  border: 1px solid rgba(63, 116, 69, .1);
  box-shadow: 0 6px 16px rgba(54, 95, 59, .06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.advice-index a:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 22px rgba(54, 95, 59, .1);
  text-decoration: none;
}

@media (max-width: 720px) {
  .header-inner { min-height: 0; }
  .nav a { min-height: 36px; padding: 6px 8px; }
  .card:hover,
  .highlight:hover,
  .news-card:hover,
  .bio-details details:hover { transform: none; }
  .card::before { left: 22px; right: 22px; }
  .quick-actions { margin-top: 0; }
  .quick-actions-grid { grid-template-columns: 1fr; gap: 10px; }
  .quick-action { min-height: 78px; padding: 14px 15px; }
  .quick-action:hover { transform: none; }
  .signal-track { gap: 14px; min-height: 40px; animation-duration: 28s; }
  .signal-track span { font-size: 11px; }
}

@media (max-width: 1050px) and (min-width: 721px) {
  .quick-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Precise anchor positioning and a more ordered tablet header */
.hero[id],
.section[id] { scroll-margin-top: 126px; }

@media (max-width: 1300px) and (min-width: 721px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .brand { width: 100%; }
  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 5px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
  .hero[id],
  .section[id] { scroll-margin-top: 190px; }
}

@media (max-width: 720px) {
  .hero[id],
  .section[id] { scroll-margin-top: 150px; }
}

/* Редакционен мащаб: по-компактна типография, повече въздух и по-спокойна медицинска композиция */
.wrap,
.header-inner { width: min(100% - 56px, 1280px); }
body { font-size: 16px; }
.brand { gap: 14px; }
.brand-logo { width: 84px; height: 78px; }
.brand-copy { font-size: 20px; }
.brand-copy small { margin-top: 5px; font-size: 13px; }
.nav { gap: 14px; font-size: 14px; }
.hero { padding: 70px 0 60px; }
.hero-grid { gap: 40px; }
.kicker { margin-bottom: 18px; padding: 9px 16px; font-size: 13px; }
.kicker::before { width: 10px; height: 10px; }
h1 { max-width: 700px; font-size: clamp(36px, 3.2vw, 56px); }
h2 { font-size: clamp(28px, 2.35vw, 38px); }
h3 { font-size: 20px; }
.hero-lead { max-width: 700px; margin-bottom: 24px; font-size: 18px; line-height: 1.62; }
.actions { gap: 12px; }
.portrait-frame { width: min(100%, 420px); justify-self: center; padding: 8px; border-radius: 44% 44% 24px 24px; background: linear-gradient(145deg, #fff 0%, #edf7f1 100%); }
.portrait-frame img { aspect-ratio: .8; border-radius: 38% 38% 17px 17px; object-position: center 38%; }
.highlights { gap: 16px; }
.highlight { padding: 20px; border-radius: 22px; }
.highlight strong { font-size: 20px; }
.compact { padding-top: 22px; padding-bottom: 22px; }
.highlight-grid { gap: 14px; }
.highlight-grid .highlight { padding: 20px; }
.notice { margin-top: 18px; padding: 16px 20px; }
.section { padding: 68px 0; }
.section-heading { margin-bottom: 28px; }
.section-heading p { font-size: 17px; }
.two-col { gap: 48px; }
.card-grid { gap: 18px; }
.card { padding: 22px; border-radius: 22px; }
.contact-box { gap: 28px; padding: 36px; }
.page-hero { padding: 56px 0 48px; }
.page-hero p, .page-intro { font-size: 17px; }
.bio-hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 34px; }
.bio-portrait { width: 220px; height: 280px; border: 8px solid #fff; border-radius: 44% 44% 18px 18px; }

/* Центърът вече се разказва с три отделни кадъра, вместо с един колаж */
.center-gallery { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 12px; min-height: 480px; }
.center-photo { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; padding: 6px; border: 1px solid rgba(63, 116, 69, .14); border-radius: 22px; background: #fff; box-shadow: 0 14px 30px rgba(54, 95, 59, .12); }
.center-photo-main { height: 100%; }
.center-photo-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: 100%; }
.center-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; transition: transform .45s ease, filter .45s ease; }
.center-photo-main img { object-position: center; }
.center-photo-stack .center-photo:first-child img { object-position: center 48%; }
.center-photo-stack .center-photo:last-child img { object-position: center 56%; }
.center-photo:hover img { transform: scale(1.035); filter: saturate(1.04); }
.center-photo figcaption { position: absolute; left: 17px; bottom: 17px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--green-dark); font-size: 12px; font-weight: 900; box-shadow: 0 8px 18px rgba(31, 42, 31, .12); }

@media (max-width: 900px) {
  .center-gallery { min-height: 420px; }
}

@media (max-width: 720px) {
  .wrap, .header-inner { width: min(100% - 32px, 1280px); }
  .brand-logo { width: 68px; height: 64px; }
  .brand-copy { font-size: 16px; }
  .brand-copy small { font-size: 10px; }
  .nav { gap: 10px 12px; font-size: 13px; }
  .hero { padding: 48px 0 46px; }
  h1 { font-size: 34px; }
  h2 { font-size: 30px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 56px 0; }
  .two-col { gap: 30px; }
  .contact-box { padding: 26px; }
  .bio-hero { grid-template-columns: 1fr; gap: 24px; }
  .bio-portrait { justify-self: start; width: 190px; height: 240px; }
  .center-gallery { grid-template-columns: 1fr; min-height: 0; }
  .center-photo-main { min-height: 360px; }
  .center-photo-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: 180px; }
  .center-photo:hover img { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 38px 0 34px; }
  .footer-logo { width: 60px; height: 55px; }
  .footer-bottom-inner { align-items: flex-start; padding: 15px 0 18px; }
  .footer-legal { gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .center-photo img { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-track { animation: none; }
  .motion-ready { opacity: 1; transform: none; transition: none; }
}

/* Следващ polish pass: по-ясна ориентация на вътрешните страници и мобилен контакт */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
  color: rgba(36, 71, 45, .68);
  font-size: 13px;
  line-height: 1.4;
}
.breadcrumbs a { color: var(--green-dark); font-weight: 800; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs-row { display: block; }
.mobile-action-bar { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .site-consent { bottom: 88px; }
  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1px;
    padding: 7px max(10px, env(safe-area-inset-left)) max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(63, 116, 69, .2);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 28px rgba(31, 42, 31, .12);
    backdrop-filter: blur(14px);
  }
  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 7px 10px;
    border-radius: 13px;
    color: var(--green-dark);
    text-decoration: none;
  }
  .mobile-action-bar a.primary { background: linear-gradient(135deg, #4b8a56 0%, #356c40 100%); color: #fff; }
  .mobile-action-bar small, .mobile-action-bar strong { display: block; line-height: 1.2; }
  .mobile-action-bar small { font-size: 10px; opacity: .78; }
  .mobile-action-bar strong { font-size: 13px; }
  .mobile-action-icon { font-size: 18px; line-height: 1; }
}

/* Автоматични Facebook публикации */
.facebook-feed-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 0 auto 26px; max-width: 900px; }
.facebook-feed-intro h2 { margin: 5px 0 8px; }
.facebook-feed-intro p { max-width: 650px; margin: 0; color: var(--muted); }
.facebook-feed { max-width: 540px; margin: 0 auto; }
.facebook-feed-frame { display: block; width: 100%; min-height: 1400px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgba(31, 42, 31, .08); }
.facebook-feed-frame[hidden], .facebook-feed-placeholder[hidden] { display: none !important; }
.facebook-feed-placeholder { display: grid; justify-items: center; gap: 12px; padding: clamp(34px, 6vw, 66px) 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #f8fcf8, #eef7f0); text-align: center; box-shadow: 0 18px 44px rgba(31, 42, 31, .06); }
.facebook-feed-placeholder h2 { margin: 0; color: var(--ink); }
.facebook-feed-placeholder p { max-width: 560px; margin: 0; color: var(--muted); }
.facebook-feed-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #1877f2; color: #fff; font: 900 34px/1 Arial, sans-serif; }
.facebook-feed-placeholder .actions { justify-content: center; margin-top: 8px; }
.facebook-feed-noscript { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #f8fcf8; text-align: center; }
@media (max-width: 720px) {
  .facebook-feed-intro { display: grid; align-items: start; gap: 16px; }
  .facebook-feed-intro .button { justify-self: start; }
  .facebook-feed-frame { min-height: 980px; border-radius: 16px; }
  .facebook-feed-placeholder { padding: 40px 18px; border-radius: 16px; }
  .facebook-feed-placeholder .actions { display: grid; width: 100%; }
  .facebook-feed-placeholder .actions .button { width: 100%; }
}

/* Contact map and social brand marks */
.contact-map{margin:24px 0 0;padding:10px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}
.contact-map iframe{display:block;width:100%;height:360px;border:0;border-radius:16px;background:var(--mint)}
.contact-map figcaption{padding:12px 10px 4px;color:var(--green-dark);font-size:14px;line-height:1.5}
.social-links a.button,.footer-socials a{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.social-brand{display:inline-block;width:22px;height:22px;flex:0 0 22px;vertical-align:middle}
.footer-socials .social-brand{width:20px;height:20px;flex-basis:20px}
@media(max-width:720px){.contact-map{padding:8px;border-radius:20px}.contact-map iframe{height:300px;border-radius:12px}}


/* Calendar and location blocks */
.contact-box--stacked{display:grid;gap:1.25rem}
.booking-panel,.location-panel{border:1px solid rgba(45,95,65,.14);border-radius:1.25rem;background:rgba(255,255,255,.74);padding:1.15rem;box-shadow:0 16px 40px rgba(37,73,52,.08)}
.booking-panel__head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem}
.booking-panel__head h3{margin:.25rem 0 .45rem}
.booking-panel__head p{margin:0;max-width:46rem}
.booking-frame{position:relative;overflow:hidden;border:1px solid rgba(45,95,65,.14);border-radius:1rem;background:#fff;min-height:700px}
.booking-frame iframe{display:block;width:100%;min-height:700px;border:0;background:#fff}
.booking-fallback{padding:1rem 1.1rem;color:var(--muted);border-top:1px solid rgba(45,95,65,.12)}
.location-panel{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(17rem,.7fr);gap:1rem}
.map-card{position:relative;min-height:240px;overflow:hidden;border-radius:1rem;border:1px solid rgba(45,95,65,.14);background:linear-gradient(135deg,#d4ebe3,#eef7f2);isolation:isolate}
.map-grid{position:absolute;inset:-20%;opacity:.45;background:linear-gradient(28deg,transparent 46%,rgba(255,255,255,.9) 47% 51%,transparent 52%),linear-gradient(118deg,transparent 43%,rgba(91,139,109,.35) 44% 47%,transparent 48%);transform:rotate(-8deg) scale(1.2)}
.map-pin{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);color:var(--green);filter:drop-shadow(0 10px 14px rgba(31,76,43,.2));z-index:1}
.map-pin svg{width:3.5rem;height:3.5rem;fill:currentColor;stroke:#fff;stroke-width:1.2}
.map-pin circle{fill:#fff;stroke:none}
.map-label{position:absolute;left:1rem;right:1rem;bottom:1rem;display:grid;gap:.15rem;padding:.8rem 1rem;border-radius:.85rem;background:rgba(255,255,255,.9);box-shadow:0 10px 25px rgba(30,70,46,.09);z-index:2}
.map-label span{color:var(--muted)}
.map-actions{display:flex;flex-wrap:wrap;align-content:center;gap:.6rem}
@media (max-width:760px){.booking-panel__head,.location-panel{display:block}.booking-panel__head .button{margin-top:.8rem}.booking-frame,.booking-frame iframe{min-height:640px}.map-card{min-height:210px;margin-bottom:.8rem}.map-actions .button{width:100%;text-align:center}}
/* Responsive finishing pass */
:root { --muted:#4b6054; }
.site-header { top:0; }
body.admin-bar .site-header { top:32px; }
.header-inner { gap:20px; }
.brand-copy { font-size:18px; }
.brand-copy small { max-width:340px; font-size:11px; }
.nav { gap:4px; font-size:13px; }
.nav .button { padding:12px 18px; }
.nav-toggle { display:none; }
.hero { padding:52px 0 58px; }
.hero-grid { grid-template-columns:minmax(0,1.5fr) minmax(280px,.85fr); gap:30px 64px; }
.hero-copy { min-width:0; }
.hero h1 { max-width:760px; font-size:clamp(38px,3.7vw,50px); line-height:1.1; margin-bottom:28px; }
.hero .kicker { font-size:12px; }
.hero .portrait-frame { width:360px; max-width:100%; }
.hero .hero-lead { grid-column:1/-1; max-width:none; margin:0; font-size:17px; line-height:1.7; }
.hero .highlights { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }
.hero .highlight { display:grid; gap:6px; padding:20px 24px; }
.hero .highlight strong { margin:0; }
.signal-track { animation:none; width:auto; flex-wrap:wrap; justify-content:center; gap:12px 18px; padding:16px 22px; white-space:normal; }
.signal-track > :nth-child(n+17) { display:none; }
.motion-ready { opacity:1; transform:none; transition:none; }
.section[id],.hero[id] { scroll-margin-top:140px; }
.booking-location-section { background:linear-gradient(180deg,#f7fbf9,#eef7f2); }
.booking-panel { padding:28px; }
.booking-panel__head { align-items:center; }
.booking-panel__head h2 { font-size:32px; margin-bottom:10px; }
.contact-list a { text-underline-offset:3px; overflow-wrap:anywhere; }
.footer-column a { min-height:32px; display:inline-flex; align-items:center; }
@media(max-width:1100px) {
 .header-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:10px 0; }
 .brand { width:auto; align-items:center; }
 .nav-toggle { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:48px; min-height:48px; padding:10px; border:1px solid var(--line); border-radius:14px; background:#f4faf6; color:var(--green-dark); cursor:pointer; }
 .nav-toggle svg { width:24px; height:24px; }
 .nav-toggle[aria-expanded="true"] { background:var(--green-dark); color:#fff; }
 .nav { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; width:100%; overflow:visible; white-space:normal; }
 .nav a { min-height:48px; border-radius:12px; padding:12px 16px; }
 .nav .button { justify-content:center; grid-column:1/-1; }
 .site-header.nav-ready .nav { position:absolute; top:calc(100% + 8px); left:24px; right:24px; width:auto; max-height:calc(100dvh - 180px); overflow-y:auto; padding:12px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 20px 48px rgba(31,42,31,.18); }
 .site-header.nav-ready .nav:not(.is-open) { display:none; }
 .hero-grid { grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr); gap:28px 36px; }
 .hero h1 { font-size:40px; }
 .hero .portrait-frame { width:320px; }
 .hero .highlights { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .site-header { position:sticky; }
}
@media(max-width:720px) {
 body { padding-bottom:calc(78px + env(safe-area-inset-bottom)); }
 body.admin-bar .site-header { top:0; }
 .wrap,.header-inner { width:calc(100% - 32px); }
 .header-inner { gap:8px; padding:10px 0; }
 .brand { gap:8px; }
 .brand-logo { width:48px; height:52px; }
 .brand-copy { font-size:14px; line-height:1.2; }
 .brand-copy small { font-size:9px; line-height:1.4; margin-top:4px; }
 .nav-toggle { min-width:44px; min-height:44px; padding:9px; border-radius:12px; }
 .site-header.nav-ready .nav { left:16px; right:16px; }
 .nav { font-size:14px; }
 .hero { padding:32px 0 38px; }
 .hero-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
 .hero h1 { font-size:32px; line-height:1.13; margin-bottom:22px; }
 .hero .kicker { padding:10px 12px; font-size:10px; line-height:1.4; margin-bottom:18px; }
 .hero .portrait-frame { width:280px; }
 .hero .hero-lead { font-size:16px; line-height:1.65; }
 .hero .highlights { grid-template-columns:minmax(0,1fr); gap:12px; }
 .hero .highlight { padding:18px 20px; }
 .actions .button { min-height:48px; padding:12px 14px; }
 .quick-actions-grid { grid-template-columns:minmax(0,1fr); }
 .kicker { font-size:12px; line-height:1.4; white-space:normal; }
 h2 { font-size:28px; line-height:1.15; }
 h3 { line-height:1.2; }
 .section { padding:48px 0; }
 .section[id],.hero[id] { scroll-margin-top:112px; }
 .contact-box { padding:22px; gap:20px; }
 .contact-list { font-size:15px; gap:10px; }
 .contact-map iframe { height:280px; }
 .booking-panel { padding:16px; border-radius:20px; }
 .booking-panel__head { display:grid; gap:16px; }
 .booking-panel__head h2 { font-size:28px; }
 .booking-panel__head .button { margin:0; justify-self:start; }
 .booking-frame,.booking-frame iframe { min-height:720px; }
 .social-links { gap:8px; }
 .social-links .button { padding:11px 14px; }
 .site-consent { bottom:calc(88px + env(safe-area-inset-bottom)); }
 .footer-column a { min-height:44px; }
 .footer-socials a { min-height:44px; }
 .page-hero h1 { font-size:32px; line-height:1.12; }
 .advice-article { padding:20px; }
 .signal-track { justify-content:flex-start; gap:10px 14px; padding:14px 16px; }
 .signal-track span { font-size:10px; letter-spacing:.035em; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Final responsive adjustments */
@media(min-width:1101px) { .header-inner { flex-direction:row; align-items:center; } .nav { width:auto; overflow:visible; padding:0; } }
.footer-contact-column > a { display:block; padding:6px 0; }
@media(max-width:720px) {
 body.admin-bar .scroll-progress { top:0; }
 .booking-panel { padding:0; border:0; background:transparent; box-shadow:none; }
 .booking-panel__head .button { width:100%; text-align:center; background:var(--green-dark); color:#fff; }
 .booking-panel__head .button:hover { background:var(--green); }
 .bio-details summary { min-height:44px; display:list-item; padding:8px 0; }
}

/* Readable text and action contrast */
:root{--muted:#40584a}
.button,.nav .button,.quick-action.primary,.mobile-action-bar a.primary{background:linear-gradient(135deg,#3f7445,#2d5b38)}
.button.soft{background:#fff;color:var(--green-dark)}
@media(max-width:720px){.booking-panel__head .button{background:var(--green-dark);color:#fff}}

/* Отличие 2026: малко факсимиле и компактна новинарска публикация */
.hero .portrait-frame { position:relative; }
.hero .hero-award-stamp { position:absolute; left:calc(50% - 135px); bottom:-16px; z-index:2; display:block; width:270px; height:164px; padding:8px 10px; background:rgba(255,255,255,.66); border:1px dashed rgba(79,108,79,.32); border-radius:2px; box-shadow:none; transform:none; transition:none; }
.hero .hero-award-stamp:hover { transform:none; }
.hero .hero-award-stamp img { display:block; width:100%; height:100%; max-height:152px; aspect-ratio:auto; object-fit:contain; object-position:center bottom; border-radius:0; box-shadow:none; }
.news-article { width:min(100% - 48px,1000px); max-width:1000px; margin:32px auto 48px; padding:30px 40px 34px; background:#fff; border:1px solid #dfe8e1; border-radius:12px; }
.news-article .breadcrumbs { margin:0 0 18px; font-size:12px; flex-wrap:wrap; }
.news-article .kicker { padding:0; margin:0 0 10px; background:none; border:0; box-shadow:none; font-size:11px; }
.news-article .kicker::before { width:7px; height:7px; }
.news-article h1 { max-width:none; margin:0 0 12px; font-size:32px; line-height:1.18; text-wrap:initial; letter-spacing:-.025em; }
.news-article .news-meta { margin:0 0 22px; font-size:13px; color:var(--muted); }
.news-article .entry-content { padding:0; margin:0; max-width:none; }
.news-article .news-article-hero { float:right; width:255px; margin:0 0 18px 26px; }
.news-article figure img { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
.news-article .news-article-hero img { border-radius:6px; }
.news-article p,.news-article li { font-size:16px; line-height:1.7; }
.news-article p { margin:0 0 16px; }
.news-article .article-lead { font-size:17px; line-height:1.65; }
.news-article h2 { margin:24px 0 12px; font-size:22px; line-height:1.25; text-wrap:initial; }
.news-article figure { clear:both; width:min(100%,560px); margin:22px auto; }
.news-article .news-article-hero { clear:none; }
.news-article .award-facsimile { width:min(100%,400px); padding:8px; background:#faf8f1; border:1px solid #d9ccb2; border-radius:3px; }
.news-article figcaption { margin-top:7px; color:var(--muted); font-size:12px; line-height:1.4; }
.news-article .news-back { clear:both; margin-top:24px; }
.news-article a { color:var(--green-dark); text-underline-offset:3px; }
.news-index-hero { padding:26px 0 24px; }
.news-index-hero .breadcrumbs { margin-bottom:12px; }
.news-index-hero h1 { margin:0 0 8px; font-size:32px; }
.news-index-hero p { font-size:16px; }
.news-index-list { padding:26px 0; background:#fff; }
.award-news-grid { display:grid; gap:18px; max-width:1000px; margin:0 auto; }
.award-news-heading { display:flex; justify-content:space-between; align-items:center; max-width:1000px; margin:0 auto 14px; gap:16px; }
.award-news-heading h2 { font-size:21px; margin:0; }
.award-category-link { color:var(--green-dark); font-size:13px; text-underline-offset:3px; }
.news-card.award-news-card { display:grid; grid-template-columns:150px minmax(0,1fr); gap:22px; align-items:center; padding:18px; border-radius:10px; box-shadow:none; }
.news-card.award-news-card .news-card-image { display:block; margin:0; padding:0; background:none; }
.news-card.award-news-card .news-card-image img { display:block; width:150px; height:150px; aspect-ratio:auto; object-fit:contain; border-radius:4px; }
.award-news-card .news-card-body { padding:0; }
.award-news-card h2,.award-news-card h3 { margin:0 0 10px; font-size:22px; line-height:1.25; text-wrap:initial; }
.award-news-card h2 a,.award-news-card h3 a { text-decoration:none; }
.award-news-card time { margin:0 0 8px; font-size:12px; }
.award-news-card p { margin:0 0 10px; font-size:15px; line-height:1.55; }
.award-news-card .news-card-read-more { font-size:14px; text-underline-offset:3px; }
@media(max-width:1199px) and (min-width:721px) { .hero .hero-award-stamp { left:calc(50% - 124px); bottom:-16px; width:248px; height:152px; } }
@media(max-width:720px) {
 .hero .hero-award-stamp { left:calc(50% - 110px); bottom:-16px; width:220px; height:138px; padding:6px 8px; }
 .news-article { width:calc(100% - 24px); margin:18px auto 28px; padding:22px 20px; }
 .news-article h1 { font-size:26px; }
 .news-article .news-article-hero { float:none; width:min(100%,240px); margin:0 auto 18px; }
 .news-article p,.news-article li { font-size:16px; }
 .news-index-hero { padding:22px 0; }
 .news-index-list { padding:20px 0; }
 .news-card.award-news-card { grid-template-columns:90px minmax(0,1fr); gap:14px; align-items:start; padding:14px; }
 .news-card.award-news-card .news-card-image img { width:90px; height:90px; }
 .award-news-card h2,.award-news-card h3 { font-size:18px; }
 .award-news-card p { font-size:14px; }
}

.news-index-links { max-width:1000px; margin:12px auto 0; font-size:13px; }
.news-index-list + .section.page-content { padding-top:28px; }

/* Compact social profile cards and the legacy news archive. */
.news-social-intro,.news-social-grid,.news-social-note { max-width:1000px; margin-left:auto; margin-right:auto; }
.news-social-intro { margin-bottom:20px; }
.news-social-intro h2 { margin:0 0 8px; font-size:25px; }
.news-social-intro p { margin:0; color:var(--muted); }
.news-social-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.news-social-card { display:flex; flex-direction:column; align-items:flex-start; padding:26px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.news-social-card-head { display:flex; align-items:center; gap:14px; }
.news-social-card-head h3 { margin:0 0 3px; font-size:23px; }
.news-social-card-head span:not(.news-social-icon) { color:var(--muted); font-size:13px; }
.news-social-icon { display:grid; flex:0 0 46px; place-items:center; width:46px; height:46px; border-radius:12px; }
.news-social-icon--facebook { background:#edf4ff; color:#1763bd; font:700 37px/1 Arial,sans-serif; padding-top:7px; overflow:hidden; }
.news-social-icon--instagram { color:#a13072; background:#faf0f6; }
.news-social-icon svg { width:28px; height:28px; }
.news-social-card p { margin:20px 0 22px; font-size:15px; line-height:1.6; color:var(--muted); }
.news-social-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:auto; color:var(--green-dark); font-size:14px; font-weight:800; text-underline-offset:4px; }
.news-social-note { margin-top:12px; margin-bottom:0; color:var(--muted); font-size:12px; }
.news-card.award-news-card--text { grid-template-columns:minmax(0,1fr); }
.news-index-list .pagination .nav-links { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
@media(max-width:720px) {
 .news-social-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
 .news-social-card { padding:22px; }
 .news-social-intro h2 { font-size:23px; }
}

/* Two selected posts per social profile, served entirely by this site. */
.news-social-column { min-width:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:#fff; }
.news-social-column > .news-social-card-head { padding:22px; border-bottom:1px solid var(--line); }
.news-social-column .news-social-card-head h3 { font-size:22px; }
.news-social-column .news-social-card-head a { color:var(--muted); font-size:12px; text-decoration:none; }
.news-social-column .news-social-card-head a:hover { text-decoration:underline; }
.news-social-posts { flex:1; display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); }
.news-social-post { min-width:0; display:grid; grid-template-columns:120px minmax(0,1fr); align-items:start; gap:16px; padding:22px; }
.news-social-post + .news-social-post { border-top:1px solid var(--line); }
.news-social-post-image { display:block; padding:0; border-radius:6px; overflow:hidden; background:#f8faf8; }
.news-social-post-image img { display:block; width:120px; height:140px; object-fit:contain; }
.news-social-post-date { display:block; margin-bottom:7px; color:var(--muted); font-size:11px; }
.news-social-post h4 { margin:0 0 9px; font-size:17px; line-height:1.3; }
.news-social-post h4 a { text-decoration:none; color:var(--ink); }
.news-social-post h4 a:hover { text-decoration:underline; }
.news-social-post p { margin:0 0 11px; font-size:14px; line-height:1.55; color:var(--muted); }
.news-social-post-more { display:inline-flex; align-items:center; gap:7px; min-height:36px; color:var(--green-dark); font-size:12px; font-weight:800; text-underline-offset:3px; }
@media(max-width:720px) {
 .news-social-column > .news-social-card-head { padding:20px; }
 .news-social-post { padding:20px; gap:14px; grid-template-columns:92px minmax(0,1fr); }
 .news-social-post-image img { width:92px; height:115px; }
 .news-social-post h4 { font-size:16px; }
 .news-social-post p { font-size:13px; }
 .news-social-post-more { min-height:44px; }
}

/* Reliable booking flow: a direct Google Calendar page, without a blank embed. */
.booking-panel--direct { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:44px; padding:36px; align-items:center; }
.booking-direct-copy .kicker { margin-bottom:16px; }
.booking-direct-copy h2 { font-size:32px; margin:0 0 14px; }
.booking-direct-copy > p { max-width:540px; color:var(--muted); line-height:1.65; }
.booking-direct-button { display:inline-flex; align-items:center; gap:12px; margin:8px 0; }
.booking-direct-copy .booking-direct-note { font-size:13px; margin-bottom:0; }
.booking-direct-details { padding:24px; border:1px solid var(--line); border-radius:18px; background:#f8fbf9; }
.booking-steps { list-style:none; padding:0; margin:0; display:grid; gap:22px; }
.booking-steps li { display:flex; gap:14px; align-items:flex-start; }
.booking-steps li > span { display:grid; flex:0 0 30px; place-items:center; width:30px; height:30px; border-radius:50%; background:#e5f0e8; color:var(--green-dark); font-size:13px; font-weight:800; }
.booking-steps strong { display:block; margin:3px 0 5px; color:var(--ink); font-size:15px; }
.booking-steps p { margin:0; color:var(--muted); font-size:14px; line-height:1.5; }
.booking-direct-phone { margin:22px 0 0; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:14px; }
.booking-direct-phone a { white-space:nowrap; color:var(--green-dark); font-weight:800; text-underline-offset:3px; }
@media(max-width:720px) {
 .booking-panel--direct { grid-template-columns:minmax(0,1fr); gap:24px; padding:0; }
 .booking-direct-copy h2 { font-size:28px; }
 .booking-direct-button { width:100%; justify-content:center; text-align:center; padding:14px; font-size:14px; }
 .booking-direct-details { padding:22px 18px; }
}

.news-social-post.news-social-post--text { grid-template-columns:minmax(0,1fr); }

/* Superdoc profile and direct appointment booking. */
.booking-panel--superdoc { padding:30px; }
.superdoc-booking-head { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.superdoc-booking-copy { min-width:0; max-width:680px; }
.superdoc-booking-copy .kicker { margin-bottom:12px; }
.superdoc-booking-copy h2 { margin:0 0 12px; font-size:32px; }
.superdoc-booking-copy p { margin:0; color:var(--muted); line-height:1.65; }
.superdoc-booking-button { flex-shrink:0; gap:10px; white-space:nowrap; }
.superdoc-profile-card { display:flex; align-items:center; gap:28px; padding:26px; border:1px solid #d5e6ec; border-radius:18px; background:linear-gradient(120deg,#f2f9fc 0%,#fff 70%); text-decoration:none; color:var(--ink); transition:border-color .2s,box-shadow .2s; }
.superdoc-profile-card:hover { border-color:#9ec4d6; box-shadow:0 10px 28px rgba(44,92,109,.08); }
.superdoc-profile-card:focus-visible { outline:3px solid var(--green-dark); outline-offset:5px; }
.superdoc-profile-photo { display:block; flex:0 0 148px; width:148px; height:148px; aspect-ratio:1; object-fit:cover; border-radius:12px; }
.superdoc-profile-info { flex:1; min-width:0; }
.superdoc-profile-brand { display:block; margin-bottom:10px; color:#486c80; font-size:13px; }
.superdoc-profile-brand strong { color:#217aa5; font-size:16px; }
.superdoc-profile-info h3 { margin:0 0 8px; font-size:25px; line-height:1.25; color:var(--ink); }
.superdoc-profile-info p { margin:0 0 5px; font-size:16px; line-height:1.5; }
.superdoc-profile-info .superdoc-profile-location { color:var(--muted); font-size:14px; }
.superdoc-profile-link { display:inline-block; margin-top:14px; color:#1f7095; font-size:14px; font-weight:800; text-underline-offset:3px; }
.superdoc-profile-card:hover .superdoc-profile-link { text-decoration:underline; }
.superdoc-profile-arrow { color:#217aa5; font-size:30px; align-self:center; }
.superdoc-booking-foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 24px; padding-top:18px; color:var(--muted); font-size:14px; line-height:1.6; }
.superdoc-booking-foot p { margin:0; }
.superdoc-booking-foot a { color:var(--green-dark); font-weight:800; text-underline-offset:3px; }
@media(max-width:900px) { .superdoc-booking-head { align-items:flex-start; flex-direction:column; } }
@media(max-width:720px) {
 .booking-panel--superdoc { padding:20px 16px; }
 .superdoc-booking-head { gap:18px; margin-bottom:20px; }
 .superdoc-booking-copy h2 { font-size:28px; }
 .superdoc-booking-button { width:100%; justify-content:center; white-space:normal; text-align:center; }
 .superdoc-profile-card { align-items:flex-start; flex-wrap:wrap; padding:20px; gap:18px; }
 .superdoc-profile-photo { flex-basis:104px; width:104px; height:104px; }
 .superdoc-profile-info { flex-basis:100%; }
 .superdoc-profile-info h3 { font-size:23px; }
 .superdoc-profile-arrow { display:none; }
 .superdoc-booking-foot { display:grid; padding-top:16px; }
}
