/* Turbota theme: friendly health portal. Mint ground, forest green, amber, soft rounded shapes, icon tiles. */
* { box-sizing: border-box; margin: 0; padding: 0; }
body.care {
  margin: 0;
  --ground: #f0f6f1; --card: #ffffff; --green: #17603f; --green-deep: #0e432c; --mint: #d9eee0;
  --amber: #f2a93b; --ink: #1a2921; --muted: #5a6a61; --line: #d8e5dc; --rose: #fbe1e4; --rose-ink: #a02138;
  --t-peach: #fde5d6; --t-sky: #dbeafb; --t-lilac: #e8e1fa; --t-lemon: #faefc6; --t-rose: #fbe0e7; --t-mint: #d6f0e0;
  --display: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;
  --text: 'Onest', 'Segoe UI', system-ui, sans-serif;
  background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 16.5px; line-height: 1.6;
}
.care a { color: inherit; text-decoration: none; }
.care a:focus-visible, .care button:focus-visible, .care input:focus-visible, .care summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.care img { display: block; width: 100%; height: 100%; object-fit: cover; }
.care svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.l-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

.topbar { position: relative; padding: 12px 0; }
.topbar__row { display: flex; align-items: center; gap: 14px; padding: 9px 10px 9px 16px; background: var(--card); border-radius: 999px; box-shadow: 0 6px 22px rgba(23, 96, 63, 0.09); }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--green-deep); letter-spacing: -0.01em; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--green); color: #fff; }
.topbar__nav { display: none; gap: 22px; margin-left: 18px; font-weight: 500; font-size: 15.5px; }
.topbar__nav a:hover { color: var(--green); }
.topbar__spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: 600 15.5px var(--text); cursor: pointer; }
.btn:hover { background: var(--green-deep); }
.btn--ghost { background: var(--mint); color: var(--green-deep); padding: 10px; }
.btn--amber { background: var(--amber); color: #2c1d00; }

.hero { margin-top: 6px; padding: 30px 22px; border-radius: 30px; background: var(--green); color: #fff; display: grid; gap: 26px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -170px; border-radius: 50%; background: #1f7650; }
.hero > * { position: relative; min-width: 0; }
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; }
.hero__text { margin-top: 12px; max-width: 46ch; font-size: 1.06rem; color: #d7ebde; }
.search { display: flex; gap: 6px; margin-top: 22px; padding: 6px; background: #fff; border-radius: 999px; max-width: 520px; }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font: 16px var(--text); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; font-size: 14.5px; color: #c9e3d2; }
.chip { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 500; }
.chip:hover { background: rgba(255, 255, 255, 0.26); }
.hero__photo { position: relative; height: 230px; border-radius: 26px 26px 120px 26px; overflow: hidden; }
.hero__badge { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--green-deep); font-weight: 600; font-size: 14.5px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16); }

.block { padding: 40px 0 0; }
.block__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.block__title { font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.01em; }
.block__link { font-weight: 600; color: var(--green); white-space: nowrap; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--card); border-radius: 22px; border: 1px solid var(--line); }
.tile:hover { border-color: var(--green); }
.tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-size: 1.25rem; color: var(--ink); }
.tile__name { font-family: var(--display); font-weight: 800; font-size: 1.08rem; line-height: 1.2; }
.tile__count { font-size: 14px; color: var(--muted); }
.is-peach { background: var(--t-peach); } .is-sky { background: var(--t-sky); } .is-lilac { background: var(--t-lilac); }
.is-lemon { background: var(--t-lemon); } .is-rose { background: var(--t-rose); } .is-mint { background: var(--t-mint); }

.cards { display: grid; gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.card__media { aspect-ratio: 16 / 10; }
.card__body { display: flex; flex-direction: column; gap: 9px; padding: 16px 18px 18px; flex: 1; }
.tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.card__title { font-family: var(--display); font-weight: 800; font-size: 1.18rem; line-height: 1.25; }
.card:hover .card__title { color: var(--green); }
.card__meta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }

.promise { margin-top: 44px; padding: 26px 20px; border-radius: 28px; background: var(--mint); display: grid; gap: 20px; }
.promise__item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.promise__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--green); font-size: 1.2rem; }
.promise__name { font-family: var(--display); font-weight: 800; font-size: 1.08rem; }
.promise__text { font-size: 15px; color: #38493f; }

.foot { margin-top: 48px; padding: 34px 0 30px; border-radius: 34px 34px 0 0; background: var(--green-deep); color: #c5ddcd; font-size: 15px; }
.foot__grid { display: grid; gap: 24px; }
.foot__title { font-family: var(--display); font-weight: 800; color: #fff; margin-bottom: 8px; }
.foot li { list-style: none; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot__note { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; }

/* article */
.trail { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 0; font-size: 14px; color: var(--muted); }
.trail a { padding: 4px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.trail span { padding: 4px 4px; }
.post__head { padding: 22px 0 0; max-width: 820px; }
.post__title { margin: 12px 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.post__lead { font-size: 1.12rem; color: #33443a; max-width: 62ch; }
.author { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.author__pic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--t-lilac); font-family: var(--display); font-weight: 800; color: var(--ink); }
.author__name { font-weight: 600; color: var(--ink); display: block; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-weight: 600; font-size: 13.5px; }
.post__cover { margin-top: 22px; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; }
.post__layout { display: grid; gap: 22px; padding-top: 24px; }
.post__body { min-width: 0; font-size: 1.06rem; line-height: 1.7; }
.post__body h2 { margin: 34px 0 12px; font-family: var(--display); font-weight: 900; font-size: 1.55rem; line-height: 1.2; }
.post__body p { margin-bottom: 15px; }
.post__body p a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.keybox { padding: 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.keybox__title { font-family: var(--display); font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.keybox li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 5px 0; font-size: 16px; }
.keybox li svg { color: var(--green); margin-top: 3px; }
.sheetcard { margin: 20px 0; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.sheetcard__scroll { overflow-x: auto; }
.grid-table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.grid-table caption { text-align: left; padding: 14px 18px 10px; font-family: var(--display); font-weight: 800; }
.grid-table th { text-align: left; padding: 10px 18px; background: var(--mint); font-size: 13.5px; font-weight: 600; color: var(--green-deep); }
.grid-table td { padding: 10px 18px; border-top: 1px solid var(--line); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.dot--ok { background: #3aa76d; } .dot--mid { background: var(--amber); } .dot--high { background: #d6455d; }
.howto { counter-reset: n; list-style: none; display: grid; gap: 10px; margin: 6px 0 18px; }
.howto li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 16px; }
.howto li::before { content: counter(n); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--t-lemon); font-family: var(--display); font-weight: 900; }
.alarm { margin: 20px 0; padding: 20px; border-radius: 24px; background: var(--rose); color: #4a1220; font-size: 16px; }
.alarm__title { display: flex; gap: 10px; align-items: flex-start; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--rose-ink); margin-bottom: 8px; }
.alarm li { margin-left: 1.2em; padding: 2px 0; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; font-size: 16px; }
.sources { margin-top: 26px; padding: 18px 20px; border-radius: 22px; background: var(--mint); font-size: 14.5px; }
.sources__title { font-family: var(--display); font-weight: 800; font-size: 1.02rem; margin-bottom: 6px; }
.sources li { margin-left: 1.2em; padding: 2px 0; }
.side { display: grid; gap: 14px; align-content: start; }
.side__card { padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.side__title { font-family: var(--display); font-weight: 800; margin-bottom: 8px; }
.side__card li { list-style: none; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.side__card li:first-of-type { border-top: 0; }
.side__card a:hover { color: var(--green); }
.side__card--warm { background: var(--t-lemon); border-color: #ecdc9c; }

@media (min-width: 720px) {
  .l-wrap { padding: 0 24px; }
  .topbar__nav { display: flex; }
  .hero { padding: 46px 44px; grid-template-columns: 1.25fr 1fr; align-items: center; border-radius: 40px; }
  .hero__photo { height: 300px; }
  .post__cover { aspect-ratio: 21 / 9; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: repeat(3, 1fr); padding: 32px; }
  .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .post__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .side { position: sticky; top: 16px; }
}

/* ── pieces the real site needs beyond the mock-up ───────────────────────── */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 12px; }
.care h1, .care h2, .care h3 { text-wrap: balance; }
.lang { padding: 8px 10px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--green-deep); }
.lang:hover { background: var(--mint); }
.topbar__burger { display: inline-flex; }
.btn--ghost svg { width: 1.35em; height: 1.35em; }

.drawer { position: fixed; inset: 0; z-index: 20; background: rgba(14, 67, 44, 0.45); }
.drawer__panel { margin-left: auto; width: min(360px, 88vw); height: 100%; overflow-y: auto; padding: 16px 18px 28px; background: var(--ground); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer__nav { display: grid; gap: 6px; margin-bottom: 18px; }
.drawer__nav a { padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.drawer__label { margin: 0 4px 8px; font-size: 14px; color: var(--muted); }
.drawer__topics { display: grid; }
.drawer__topics a { padding: 10px 4px; border-bottom: 1px dashed var(--line); }

.trail { padding: 8px 0 0; }
.lead { padding: 26px 0 22px; max-width: 760px; }
.lead--topic { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.lead--center { margin: 0 auto; text-align: center; }
.lead__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; font-size: 1.9rem; }
.lead__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 5.4vw, 2.7rem); line-height: 1.12; letter-spacing: -0.015em; }
.lead__text { margin-top: 8px; font-size: 1.08rem; color: #33443a; }
.lead__over { font-size: 14.5px; font-weight: 600; color: var(--green); }
.lead__count { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.lead__intro { max-width: 70ch; margin: -6px 0 24px; color: #33443a; }
.lead__code { font-family: var(--display); font-weight: 900; font-size: 4.5rem; line-height: 1; color: var(--green); }
.tiles--all { margin-bottom: 8px; }
.card__blank { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3rem; color: var(--ink); }
.tag.is-plain { background: var(--card); border: 1px solid var(--line); }
a.tag:hover { filter: brightness(0.96); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.pager__num, .pager__step { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.pager__num:hover, .pager__step:hover { border-color: var(--green); }
.pager__num.is-current { background: var(--green); border-color: var(--green); color: #fff; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.person { display: grid; justify-items: start; gap: 4px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.person:hover { border-color: var(--green); }
.person__pic, .profile__pic { display: grid; place-items: center; border-radius: 50%; background: var(--t-lilac); font-family: var(--display); font-weight: 800; object-fit: cover; }
.person__pic { width: 72px; height: 72px; margin-bottom: 8px; font-size: 1.4rem; }
.person__name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; }
.person__role, .person__count { font-size: 14.5px; color: var(--muted); }
.profile { display: grid; gap: 18px; padding: 26px 0 6px; max-width: 820px; }
.profile__pic { width: 112px; height: 112px; font-size: 2.2rem; }
.profile__role { margin-top: 4px; font-weight: 600; color: var(--green); }
.profile__bio { margin-top: 12px; font-size: 1.05rem; }
.profile__fact { margin-top: 8px; font-size: 15px; color: var(--muted); }

.finder .search { border: 1px solid var(--line); box-shadow: 0 6px 22px rgba(23, 96, 63, 0.07); }
.finder--center .search { margin: 0 auto 30px; }
.finder__status { margin: 14px 4px 18px; color: var(--muted); }
.search .btn span { display: none; }

.author__who { display: flex; align-items: center; gap: 10px; }
.author__who:hover .author__name { color: var(--green); }
img.author__pic { object-fit: cover; }
.post__cover { margin: 22px 0 0; }
.post__body h3 { margin: 24px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.22rem; }
.post__body > ul, .post__body > ol { margin: 0 0 16px 1.3em; }
.post__body > ul li, .post__body > ol li { padding: 3px 0; }
.post__body > ul li::marker { color: var(--green); }
.post__body blockquote { margin: 20px 0; padding: 18px 20px; border-radius: 24px; background: var(--t-lemon); }
.post__body blockquote p:last-child { margin-bottom: 0; }
.post__table { margin: 20px 0; overflow-x: auto; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.post__table table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.post__table caption { text-align: left; padding: 14px 18px 10px; font-family: var(--display); font-weight: 800; }
.post__table th { text-align: left; padding: 10px 18px; background: var(--mint); font-size: 13.5px; font-weight: 600; color: var(--green-deep); }
.post__table td { padding: 10px 18px; border-top: 1px solid var(--line); }
.post__body .sources h2 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; }
.sources a { text-decoration: underline; text-underline-offset: 3px; }
.post__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.post__note { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.post__body--page { max-width: 760px; padding: 26px 0 0; }
.post__body--page .lead__title { margin-bottom: 18px; }
.side__card li a { display: block; }
.foot ul { margin: 0; padding: 0; }

@media (min-width: 720px) {
  .topbar__burger { display: none; }
  .search .btn span { display: inline; }
  .profile { grid-template-columns: auto 1fr; align-items: start; gap: 26px; }
  .tiles--all { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 719px) {
  .topbar__find { display: none; }
  .trail span:last-child { display: none; }
  .post__cover { aspect-ratio: 16 / 10; border-radius: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tile, .card, .person, .btn, .chip { transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
}
@media print { .topbar, .drawer, .side, .foot, .trail { display: none; } body.care { background: #fff; } }

/* long one-word category names (Гастроентерологія, Оториноларингология) must not push a tile wider than its column */
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { min-width: 0; }
.tile__name { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 719px) { .tile { padding: 12px; } .tile__name { font-size: 0.9rem; letter-spacing: -0.01em; } }
@media (min-width: 720px) { .tiles, .tiles--all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.people { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.person { align-content: start; }
.person .tag { margin-top: 6px; }
@media (max-width: 719px) { .person { padding: 14px; } .person__pic { width: 56px; height: 56px; font-size: 1.1rem; } }

/* ── sticky header ── */
.topbar { position: sticky; top: 0; z-index: 15; padding: 10px 0; background: linear-gradient(var(--ground) 62%, rgba(240, 246, 241, 0)); }
.topbar__row { box-shadow: 0 6px 24px rgba(23, 96, 63, 0.12); }
.post__body h2[id] { scroll-margin-top: 92px; }
@media (min-width: 1040px) { .side { top: 92px; } }

/* ── category colours: a soft gradient ground and a deep glyph of the same hue ── */
.is-rose { background: linear-gradient(140deg, #ffe6ec, #fbcbd7); color: #b3214e; }
.is-lilac { background: linear-gradient(140deg, #efe9ff, #dcd0fb); color: #5a36c9; }
.is-peach { background: linear-gradient(140deg, #ffeadc, #fdd2b6); color: #c2410c; }
.is-lemon { background: linear-gradient(140deg, #fdf4d2, #f8e39c); color: #8a5a00; }
.is-sky { background: linear-gradient(140deg, #e3f0ff, #c6defa); color: #1559a8; }
.is-mint { background: linear-gradient(140deg, #dff5e8, #bfe9cf); color: #0d6b41; }
.tag.is-plain { color: var(--ink); }
.care svg.glyph { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.lead__icon svg.glyph { width: 42px; height: 42px; }
.card__blank svg.glyph { width: 72px; height: 72px; opacity: 0.85; }

/* ── categories on the home page: all of them, 2 columns on phones, 4 on tablets, 4 x 5 compact rows on desktop ── */
.tile__icon { width: 52px; height: 52px; border-radius: 17px; }
.tile:hover { border-color: transparent; box-shadow: 0 10px 26px rgba(23, 96, 63, 0.14); transform: translateY(-2px); }
.tile:hover .tile__name { color: var(--green); }
@media (min-width: 1040px) {
  .tiles--home, .tiles--all { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .tiles--home .tile__name, .tiles--all .tile__name { overflow-wrap: normal; hyphens: manual; }
  .tiles--home .tile, .tiles--all .tile { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 13px; row-gap: 1px; align-content: center; padding: 13px 14px; min-height: 80px; }
  .tiles--home .tile__icon, .tiles--all .tile__icon { grid-row: 1 / 3; align-self: center; }
  .tiles--home .tile__name, .tiles--all .tile__name { align-self: end; font-size: 1.02rem; line-height: 1.18; }
  .tiles--home .tile__count, .tiles--all .tile__count { align-self: start; font-size: 13px; }
}
@media (max-width: 719px) { .tile__icon { width: 44px; height: 44px; border-radius: 14px; } .care svg.glyph { width: 26px; height: 26px; } }

/* ── hero: a cut-out picture standing on the green block instead of a framed photo ── */
.hero { overflow: visible; }
.hero::before { width: min(420px, 86%); height: auto; aspect-ratio: 1; right: 0; top: auto; bottom: 0; background: radial-gradient(circle at 50% 50%, #2b8a5f 0, #1f7650 55%, rgba(31, 118, 80, 0) 72%); border-radius: 50%; }
.hero__art { position: relative; align-self: end; display: grid; justify-items: center; margin-bottom: -30px; }
.hero__art img { width: min(100%, 460px); height: auto; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.28)); }
.hero__art .hero__badge { position: static; order: -1; margin-bottom: 4px; }
@media (min-width: 720px) {
  .hero { padding-bottom: 46px; }
  .hero__art { margin: -30px 0 -76px; }
  .hero__art { margin: -10px 0 -64px; }
  .hero__art img { width: min(112%, 600px); max-width: none; }
}
@media (prefers-reduced-motion: no-preference) { .tile { transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s; } }

/* portraits: fixed round sizes (the general image rule would stretch them to the container) */
.care img.author__pic { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; }
.care img.person__pic { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.care img.profile__pic { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
@media (max-width: 719px) { .care img.person__pic { width: 56px; height: 56px; } }

/* ══ pieces added when the page logic was aligned with the owner's first site ══ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__title { margin: 0; }
.block--tight { padding-top: 30px; }
.chipline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 22px; font-size: 14.5px; color: var(--muted); }

/* header: search field with suggestions */
.hsearch { position: relative; display: none; align-items: center; gap: 8px; flex: 1; max-width: 340px; margin-left: auto; padding: 0 14px; height: 42px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); color: var(--muted); }
.hsearch:focus-within { border-color: var(--green); background: #fff; }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: 15px var(--text); color: var(--ink); outline: 0; }
.hsearch__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(14, 67, 44, 0.18); }
.hsearch__list a { display: grid; gap: 1px; padding: 9px 12px; border-radius: 12px; color: var(--ink); }
.hsearch__list a:hover, .hsearch__list a:focus-visible { background: var(--mint); }
.hsearch__list b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.hsearch__list span { font-size: 13px; color: var(--muted); }
.hsearch__list .hsearch__all { margin-top: 4px; border-top: 1px dashed var(--line); border-radius: 0 0 12px 12px; font-weight: 600; color: var(--green); }
.topbar__spacer { display: none; }
.lang { margin-left: auto; }
.drawer__search { margin-bottom: 14px; border: 1px solid var(--line); max-width: none; }
@media (min-width: 900px) { .hsearch { display: flex; } .lang { margin-left: 0; } }

/* category tiles: picture, name, themes of the category */
.tile { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 13px; align-items: center; padding: 13px 14px; min-height: 80px; background: var(--card); border-radius: 22px; border: 1px solid var(--line); }
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; }
.tile__body { display: grid; gap: 2px; min-width: 0; }
.tile__name { font-family: var(--display); font-weight: 800; font-size: 1.02rem; line-height: 1.18; overflow-wrap: normal; hyphens: manual; }
.tile__name:hover { color: var(--green); }
.tile__sub { font-size: 13px; line-height: 1.35; color: var(--muted); }
.tile__sub a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.tile__sub a:hover { color: var(--green); }
.tiles { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 719px) { .tile { min-height: 0; padding: 10px 12px; } .tile__icon { width: 46px; height: 46px; border-radius: 15px; } .tile { grid-template-columns: 46px minmax(0, 1fr); } }

/* cards and rows */
.card__dek { font-size: 14.5px; line-height: 1.5; color: #3c4d43; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: 13.5px; }
.rows { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.row__thumb { width: 132px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.row__title { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.25; }
.row__title a:hover { color: var(--green); }
.row__dek { margin-top: 4px; font-size: 14.5px; color: #3c4d43; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row__meta { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.row__meta a { color: var(--green); font-weight: 600; }
@media (max-width: 559px) { .row__thumb { width: 92px; } .row__dek { display: none; } }

/* "reading now" and emergency numbers */
.aside-band { display: grid; gap: 16px; padding-top: 40px; }
.panel { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; }
.panel__title { font-family: var(--display); font-weight: 900; font-size: 1.25rem; margin-bottom: 12px; }
.panel__list { counter-reset: n; list-style: none; display: grid; gap: 2px; }
.panel__list li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--line); }
.panel__list li:first-child { border-top: 0; }
.panel__list li::before { content: counter(n); font-family: var(--display); font-weight: 900; color: var(--green); }
.panel__list a:hover { color: var(--green); }
.panel--hot { background: var(--rose); border-color: #f3c4cb; }
.hot { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; padding: 9px 0; border-top: 1px dashed #e9aab4; color: #4a1220; }
.hot:first-of-type { border-top: 0; }
.hot b { font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--rose-ink); white-space: nowrap; }
.hot span { font-size: 14.5px; }
@media (min-width: 900px) { .aside-band { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.promise { margin-top: 0; }

/* article */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 20px; }
.who { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--muted); }
.who > span { display: grid; }
.who__role { font-size: 12.5px; }
.who .author__name { font-weight: 600; color: var(--ink); }
.who:hover .author__name { color: var(--green); }
.who .pill { margin-top: 4px; justify-self: start; }
.byline__dates { font-size: 14.5px; color: var(--muted); }
.toc-top { margin-top: 22px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.toc-top ol { margin-left: 1.2em; display: grid; gap: 5px; font-size: 15.5px; }
.toc-top a:hover { color: var(--green); }
@media (min-width: 1040px) { .toc-top { display: none; } }
@media (max-width: 1039px) { .side { display: none; } }
.share { margin-top: 28px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; display: grid; gap: 12px; }
.share__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.share__label { font-weight: 600; font-size: 14.5px; min-width: 122px; }
.share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mint); color: var(--green-deep); cursor: pointer; }
.share__btn svg { width: 20px; height: 20px; }
.share__btn:hover, .share__btn.is-done { background: var(--green); color: #fff; }
.share__btn--tg:hover { background: #229ed9; } .share__btn--vb:hover { background: #7360f2; } .share__btn--wa:hover { background: #1faf55; } .share__btn--fb:hover { background: #1877f2; } .share__btn--x:hover { background: #111; }
.share__ais { display: flex; flex-wrap: wrap; gap: 8px; }
.share__ais a { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.share__ais a:hover { border-color: var(--green); color: var(--green); }
.updates, .related { margin-top: 20px; padding: 18px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); font-size: 15.5px; }
.updates p { margin: 0; padding: 5px 0; }
.updates time { font-weight: 600; margin-right: 6px; }
.related a { display: block; padding: 8px 0; border-top: 1px dashed var(--line); font-weight: 500; }
.related a:first-of-type { border-top: 0; }
.related a:hover { color: var(--green); }
.post__note a { text-decoration: underline; text-underline-offset: 3px; }

/* authors grouped by category */
.team { padding-top: 26px; }
.team__title { font-family: var(--display); font-weight: 900; font-size: 1.3rem; margin-bottom: 12px; }
.team__title a { display: inline-flex; align-items: center; gap: 12px; }
.team__title a:hover { color: var(--green); }
.team__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; }
.care .team__icon svg.glyph { width: 24px; height: 24px; }
.people { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* footer */
.foot__grid { align-items: start; }
.foot__cols { columns: 2; column-gap: 22px; }
.foot__cols li { break-inside: avoid; }
.foot__note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.2fr 1.9fr 1fr 1.1fr; } }
.row:not(:has(.row__thumb)) { grid-template-columns: minmax(0, 1fr); }

/* hero picture: one stethoscope standing on a soft light spot; it may reach below the green block */
.hero::before { width: min(440px, 80%); right: 2%; bottom: -6%; background: radial-gradient(circle at 50% 50%, #3aa070 0, #24805a 45%, rgba(31, 118, 80, 0) 70%); }
.hero__art { margin: 0 0 -34px; }
.hero__art img { width: min(74%, 300px); max-width: none; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.32)); }
@media (min-width: 720px) {
  .hero__art { margin: -18px 0 -70px; }
  .hero__art img { width: min(100%, 400px); }
}
/* phones: categories in two columns, ten rows; picture above the name so long names fit */
@media (max-width: 719px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { grid-template-columns: minmax(0, 1fr); row-gap: 9px; align-content: start; padding: 13px 12px; min-height: 0; }
  .tile__name { font-size: 0.92rem; letter-spacing: -0.01em; }
}

/* category colours must win over the general link colour (tiles and tags are links) */
.care .is-rose { color: #b3214e; } .care .is-lilac { color: #5a36c9; } .care .is-peach { color: #c2410c; }
.care .is-lemon { color: #8a5a00; } .care .is-sky { color: #1559a8; } .care .is-mint { color: #0d6b41; }
.care .tag.is-plain { color: var(--ink); }

/* reader reviews under an article */
.reviews { margin-top: 20px; padding: 18px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); font-size: 15.5px; }
.reviews__none { color: var(--muted); }
.reviews__avg { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.stars { --r: 0; display: inline-block; width: 5.2em; height: 1.05em; flex: none; background: linear-gradient(90deg, var(--amber) calc(var(--r) / 5 * 100%), #dfe6e1 0); -webkit-mask: repeat-x left / 1.04em 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.500l2.600 5.400 5.900.800-4.300 4.100 1 5.900-5.200-2.800-5.200 2.800 1-5.900L1.500 7.700l5.900-.800z'/%3E%3C/svg%3E"); mask: repeat-x left / 1.04em 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.500l2.600 5.400 5.900.800-4.300 4.100 1 5.900-5.200-2.800-5.200 2.800 1-5.900L1.500 7.700l5.900-.800z'/%3E%3C/svg%3E"); }
.review { padding: 12px 0; border-top: 1px dashed var(--line); }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 4px; }
.review__head time { font-size: 13.5px; color: var(--muted); }
.reviews__wrap { margin-top: 12px; }
.reviews__wrap summary { display: inline-block; cursor: pointer; padding: 9px 18px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-weight: 600; list-style: none; }
.reviews__wrap summary::-webkit-details-marker { display: none; }
.review-form { display: grid; gap: 12px; margin-top: 14px; max-width: 520px; }
.review-form label { display: grid; gap: 5px; font-weight: 600; font-size: 14.5px; }
.review-form input[name="name"], .review-form textarea { padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; font: 15.5px var(--text); color: var(--ink); background: #fff; }
.review-form__rating { border: 0; }
.review-form__rating legend { font-weight: 600; font-size: 14.5px; margin-bottom: 2px; }
.review-form__stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; position: relative; }
.review-form__stars input { position: absolute; opacity: 0; }
.review-form__stars label { display: block; font-size: 1.9rem; line-height: 1; color: #cfd8d2; cursor: pointer; }
.review-form__stars input:checked ~ label, .review-form__stars label:hover, .review-form__stars label:hover ~ label { color: var(--amber); }
.review-form__stars input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.review-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.review-form .btn { justify-self: start; }
.review-form__note { font-size: 13.5px; color: var(--muted); }
.review-form__msg.is-ok { color: var(--green); font-weight: 600; }
.review-form__msg.is-err { color: var(--rose-ink); font-weight: 600; }

/* hero drawing is a vector: keep it crisp and a little larger */
.hero__art img { width: min(82%, 320px); }
@media (min-width: 720px) { .hero__art img { width: min(100%, 430px); } .hero__art { margin: -26px 0 -62px; } }
