/* ==========================================================================
   AIVITA v2 — поверх style.css
   1) без внешних теней (только inset и тонкое кольцо)  2) промо-баннер фото/видео
   3) AI-ассистент со скриншотом чата  4) AV Chat «скоро»  5) тёмные панели — хан-атлас в тон
   ========================================================================== */

/* 1. Тени: убираем внешние, оставляем рельеф внутри */
.tile, .stat, .link-tile { box-shadow: 0 0 0 1px rgba(var(--shd), .07) !important; }
.panel, .stat-dark { box-shadow: inset 0 10px 18px -11px rgba(var(--navy-sh), .30), inset 0 -7px 14px -12px rgba(var(--navy-sh), .16), 0 0 0 1px rgba(var(--navy-sh), .25) !important; }
.btn-flat { box-shadow: inset 0 0 0 1px rgba(var(--shd), .14) !important; }
.chip-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14) !important; }
.btn-flat:active, .link-tile:active, .chip-dark:active { transform: scale(.98) !important; }
.stat:hover, .stat-dark:hover, .link-tile:hover { transform: none !important; }
.btn3d:active { transform: scale(.98); }
.robot-doctor-preview-tray img { box-shadow: none !important; }

/* 5. Хан-атлас справа с размытым краем — как на экране входа в админку */
.ikat-night { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 20% 0%, rgba(255,255,255,.06), transparent 60%), linear-gradient(176deg, #221E3E, #17142E) !important; }
.ikat-night::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 68%;
  background: url("assets/khan-atlas.jpg") right 60% / cover no-repeat;
  background-image: image-set(url("assets/khan-atlas.webp") type("image/webp"), url("assets/khan-atlas.jpg") type("image/jpeg")); filter: brightness(1.35) saturate(1.15);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 35%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 35%, #000 72%); }
.ikat-night::after { content: none; }
@media (max-width: 860px) {
  .ikat-night::before { width: 100%; top: auto; height: 70%; background-position: center 30%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 35%, #000 80%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 35%, #000 80%); }
}

.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* 2. Промо-баннер */
.hero-well-screen.promo { padding: 0; display: block; background: #2A2540; }
.promo-track { position: absolute; inset: 0; }
.pslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.pslide.on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.pslide .p-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.pslide.on .p-img { transform: scale(1); }
.pslide.is-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(28,32,70,.45), rgba(28,32,70,0) 55%); pointer-events: none; }
.pslide.is-image.align-left::after { background: linear-gradient(90deg, rgba(28,32,70,.45), rgba(28,32,70,0) 55%); }
/* видео: размытая заливка тем же роликом + чёткий кадр без рамки, края растворяются */
.pv-fill { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) saturate(1.1); transform: scale(1.1); opacity: .95; }
.pslide.is-video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(42,37,64,.55) 0%, rgba(42,37,64,.15) 45%, rgba(42,37,64,0) 70%); }
.pv-main { position: absolute; z-index: 1; top: 0; right: 9%; height: 100%; width: auto; aspect-ratio: 400 / 720; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.p-card { position: absolute; z-index: 3; left: 92px; bottom: 68px; max-width: min(460px, calc(100% - 184px)); border-radius: 24px; padding: 22px 26px;
  opacity: 0; transform: translateY(12px); transition: opacity .6s .2s ease, transform .6s .2s ease; }
.pslide.on .p-card { opacity: 1; transform: none; }
.pslide.is-image:not(.align-left) .p-card { left: auto; right: 92px; }
.p-card h2 { margin: 10px 0 0; font-size: 30px; line-height: 1.14; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.p-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.76); }
.p-cta { margin-top: 16px; display: inline-flex; align-items: center; height: 46px; padding: 0 24px; font-size: 15px; font-weight: 800; color: #fff; text-decoration: none; }
.p-badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.p-badge.green { background: rgba(159,208,162,.18); color: #BFE5C1; }
.p-badge.clay { background: rgba(214,154,160,.2); color: #F0C2C7; }
.p-badge.sky { background: rgba(134,184,225,.2); color: #BCD9F2; }
.promo-arrow { position: absolute; z-index: 5; top: 50%; margin-top: -29px; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff; background: var(--clay); transition: background .15s, transform .15s; }
.promo-arrow:hover { background: var(--clay-lt); } .promo-arrow:active { transform: scale(.96); }
.promo-arrow.prev { left: 22px; } .promo-arrow.next { right: 22px; }
.promo.single .promo-arrow, .promo.single .promo-bar { display: none; }
.promo-bar { position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 999px; background: rgba(28,32,70,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.promo-dots { display: flex; gap: 8px; }
.promo-dots button { position: relative; width: 36px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; }
.promo-dots button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; border-radius: 999px; }
.promo-dots button.on i { animation: promoFill var(--dur, 6s) linear forwards; }
.promo.paused .promo-dots button.on i { animation-play-state: paused; }
@keyframes promoFill { to { width: 100%; } }
.promo-pause { width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.promo button:focus-visible, .promo a:focus-visible { outline: 3px solid #86B8E1; outline-offset: 3px; }

/* 3. AI-ассистент */
.assistant-panel-card { align-items: center; gap: 48px; }
.assistant-text-content { flex: 1 1 auto; min-width: 0; }
.live-tag, .soon-tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.live-tag { background: rgba(159,208,162,.18); color: #BFE5C1; }
.soon-tag { background: #DCE8F4; color: #3F6E9A; }
.soon-tag.sm { font-size: 11px; padding: 3px 9px; vertical-align: middle; margin-left: 6px; }
.assist-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 16px; color: rgba(255,255,255,.86); }
.assist-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #D69AA0; margin-right: 12px; vertical-align: middle; }
.assist-list.dark { color: var(--ink); } .assist-list.dark li::before { background: var(--sky); }
.assist-cta { margin-top: 26px; display: inline-flex; align-items: center; height: 54px; padding: 0 30px; font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; }
.chat-phone { position: relative; flex: 0 0 320px; border-radius: 34px; padding: 14px; background: #F6F3EE; color: var(--ink); overflow: hidden;
  box-shadow: 0 0 0 7px #151836, 0 0 0 8px rgba(134,184,225,.35); }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid rgba(58,54,70,.08); }
.cp-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.cp-head b { display: block; font-size: 15px; } .cp-head span { font-size: 12px; font-weight: 700; color: #4E9A62; }
.cp-body { display: flex; flex-direction: column; gap: 9px; padding: 12px 2px; }
.cp-me { align-self: flex-end; max-width: 86%; padding: 10px 13px; border-radius: 16px 16px 5px 16px; background: var(--clay); color: #fff; font-size: 13px; line-height: 1.45; }
.cp-row { display: flex; gap: 7px; align-items: flex-end; }
.cp-row img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex-shrink: 0; }
.cp-ai { padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: #fff; box-shadow: 0 0 0 1px rgba(58,54,70,.07); font-size: 13px; line-height: 1.45; }
.cp-ai.warn { background: #F6E1E4; color: #8C3F49; box-shadow: none; }
.cp-input { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 6px 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(58,54,70,.1); font-size: 13px; color: #9A94A5; }
.cp-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--clay); }

/* 4. AV Chat */
.avchat-section { position: relative; margin: 32px 80px 0 80px; }
.avchat-card { border-radius: 40px; padding: 48px 56px; display: flex; gap: 48px; align-items: center; }
.avchat-text { flex: 1 1 auto; min-width: 0; }
.avchat-text .section-title .serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #5D92C4; }
.avchat-text p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 600px; }
.wl-form { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.wl-form input { flex: 1 1 240px; min-width: 0; height: 54px; padding: 0 20px; border-radius: 999px; font: 700 15px var(--font-main); outline: none; }
.wl-form .btn3d.sky { background: var(--sky); height: 54px; padding: 0 26px; font-size: 15px; font-weight: 800; color: #fff; border: 0; }
.wl-form .btn3d.sky:hover { background: var(--sky-lt); }
.wl-done { color: #3F6E9A; font-size: 16px; align-self: center; }
.avchat-mock { flex: 0 0 320px; display: flex; flex-direction: column; gap: 10px; }
.av-bub { max-width: 90%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: #E6EEF7; font-size: 14px; line-height: 1.45; color: var(--ink); }
.av-bub b { display: block; font-size: 13px; margin-bottom: 2px; }
.av-bub.out { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--clay); color: #fff; }
.av-bub.sup { background: #fff; box-shadow: 0 0 0 1px rgba(58,54,70,.08); }

@media (max-width: 1100px) {
  .avchat-section { margin: 32px 32px 0; }
  .chat-phone, .avchat-mock { flex-basis: 280px; }
}
@media (max-width: 1100px) {
  .p-card { max-width: min(400px, calc(100% - 184px)); padding: 18px 22px; }
  .p-card h2 { font-size: 26px; } .p-card p { font-size: 14px; }
}
@media (max-width: 860px) {
  .hero-well-screen.promo { height: 560px; }
  .promo-arrow { display: none; }
  .p-card { left: 12px !important; right: 12px !important; bottom: 60px; max-width: none; padding: 18px; border-radius: 20px; }
  .p-card h2 { font-size: 24px; } .p-card p { font-size: 14px; }
  .p-cta { height: 48px; padding: 0 22px; font-size: 15px; }
  .pv-main { right: 50%; transform: translateX(50%); height: 62%; }
  .pslide.is-video::before { background: linear-gradient(0deg, rgba(42,37,64,.6), rgba(42,37,64,0) 60%); }
  .pslide .p-img { object-position: 45% 25% !important; }
  .promo-bar { bottom: 14px; }
  .assistant-panel-card { text-align: left; align-items: stretch; }
  .chat-phone { flex-basis: auto; width: 100%; max-width: 340px; align-self: center; }
  .avchat-section { margin: 32px 20px 0; }
  .avchat-card { flex-direction: column; padding: 30px 24px; border-radius: 32px; gap: 26px; align-items: stretch; }
  .avchat-mock { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pslide, .p-card, .pslide .p-img { transition: none; }
  .promo-dots button.on i { animation: none; width: 100%; }
}

/* 6. Возможности — один блок вместо двух */
.features-grid-3 { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { padding: 22px 22px 24px; border-radius: 24px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(var(--shd), .10); }
.feature-card .fc-ico { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.feature-card h3 { margin: 16px 0 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.feature-card p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.features-tray-card .serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #B8757D; }
.features-cta { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.features-cta .btn3d { height: 58px; padding: 0 36px; font-size: 17px; font-weight: 800; }
.features-cta span { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 1100px) { .features-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .features-grid-3 { grid-template-columns: 1fr; gap: 10px; } .feature-card { padding: 18px; } .features-cta .btn3d { width: 100%; } }
@media (max-width: 860px) {
  .features-tray-card { padding: 28px 18px !important; border-radius: 30px; }
  .feature-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .feature-card .fc-ico { width: 44px; height: 44px; grid-row: span 2; }
  .feature-card h3 { margin: 2px 0 0; font-size: 16px; }
  .feature-card p { font-size: 14px; }
  .features-cta .btn3d { height: auto; min-height: 54px; padding: 14px 20px; font-size: 16px; white-space: normal; }
}

/* 7. Правильное питание */
.nutrition-section { position: relative; margin: 32px 80px 0 80px; }
.nutrition-card { border-radius: 40px; padding: 48px 56px; display: flex; align-items: center; gap: 40px; overflow: hidden; }
.nutrition-text { flex: 1 1 auto; min-width: 0; }
.nutrition-text .serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #4E9A62; }
.nutrition-text p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; }
.nut-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink); }
.nut-list li { display: flex; align-items: center; gap: 12px; }
.nut-list .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.nut-cta { margin-top: 26px; display: inline-flex; align-items: center; height: 54px; padding: 0 30px; font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; }
.nutrition-art { flex: 0 0 440px; }
.nutrition-art img, .nutrition-art svg { display: block; width: 100%; height: auto; }
.library-section { margin-top: 32px; }
.library-section .serif-accent { color: #A86A72; }
@media (max-width: 1100px) { .nutrition-section { margin: 32px 32px 0; } .nutrition-art { flex-basis: 340px; } }
@media (max-width: 860px) {
  .nutrition-section { margin: 32px 20px 0; }
  .nutrition-card { flex-direction: column-reverse; padding: 26px 20px 30px; border-radius: 30px; gap: 8px; align-items: stretch; }
  .nutrition-art { flex-basis: auto; max-width: 360px; align-self: center; width: 100%; }
  .nut-cta { width: 100%; justify-content: center; height: auto; min-height: 54px; padding: 14px 20px; font-size: 15px; text-align: center; }
}

/* 5. Hero — портрет агента */
.hero-note { margin: 16px 0 0 !important; font-size: 14px !important; color: var(--ink-soft) !important; }
.hero-visual { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-portrait { position: relative; height: 440px; border-radius: 36px; overflow: hidden; background: #2A2540; }
.hero-portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-bubble { padding: 12px 14px; border-radius: 18px; color: var(--ink); min-width: 0; }
.hero-bubble b { display: block; font-size: 12px; letter-spacing: .02em; color: #A86A72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-bubble span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; }

/* 6. Крючки */
.hooks-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hook-card { display: flex; flex-direction: column; padding: 22px 22px 22px; border-radius: 24px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(var(--shd), .10); }
.hook-pain { margin: 0 0 16px; font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.35; color: #8C5A62; }
.hook-card .fc-ico { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.hook-card h3 { margin: 16px 0 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.hook-card p:not(.hook-pain) { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); flex: 1 1 auto; }
.hook-link { margin-top: 16px; font-size: 14px; font-weight: 800; color: #A86A72; text-decoration: none; }
.hook-link:hover { color: #8C5A62; }

/* 7. Куда я вас веду */
.next-section { position: relative; margin: 96px 80px 0; }
.next-card { border-radius: 40px; padding: 56px 60px; overflow: hidden; display: flex; gap: 48px; align-items: flex-start; }
.next-text { flex: 0 1 440px; }
.section-title.light { color: #fff; }
.section-title.light .serif-accent { color: #D69AA0; }
.next-text .section-title { font-size: 38px; line-height: 1.12; }
.next-grid li { background: rgba(30,26,44,.55); }
.next-text p { margin: 16px 0 0; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.78); }
.next-grid { flex: 1 1 auto; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.next-grid li { padding: 16px 18px; border-radius: 20px; background: rgba(30,26,44,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.next-grid b { display: block; font-size: 15px; color: #fff; }
.next-grid span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.7); }

@media (max-width: 1100px) {
  .hooks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-card { flex-direction: column; padding: 44px 40px; }
  .next-text { flex-basis: auto; }
  .hero-portrait { height: 400px; }
}
@media (max-width: 860px) {
  .hero-intro-section { flex-direction: column; padding: 40px 20px 0; gap: 26px; }
  .intro-text-col { width: 100%; }
  .intro-text-col h1 { font-size: 40px; }
  .intro-cta-row { flex-direction: column; }
  .intro-cta-row .btn3d, .intro-cta-row .btn-flat { width: 100%; justify-content: center; }
  .hero-visual { width: 100%; }
  .hero-portrait { height: 380px; border-radius: 28px; }
  .hero-feed { grid-template-columns: 1fr; gap: 8px; }
  .hooks-grid { grid-template-columns: 1fr; gap: 10px; }
  .hook-card { padding: 18px; }
  .next-section { margin: 56px 20px 0; }
  .next-card { padding: 32px 22px; border-radius: 30px; }
  .next-grid { grid-template-columns: 1fr; }
}

/* FAQ: карточка на .btn-flat была inline-flex — ответ вставал справа от вопроса */
.faq-card-item, .btn-flat.faq-card-item { display: block; width: 100%; }

/* Футер: мелкая строка «Врачам · Клиникам» */
.footer-partners { position: relative; margin: 26px 0 0; font-size: 13px; color: rgba(255,255,255,.45); display: flex; gap: 10px; flex-wrap: wrap; }
.footer-partners a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-partners a:hover { color: #D69AA0; }

/* <picture> внутри .grain: «.grain > *» делает потомка position:relative, и
   абсолютная картинка схлопывалась по нулевой высоте <picture> (пустой портрет).
   display:contents убирает бокс <picture> из раскладки. */
.hero-portrait > picture { display: contents; }
/* [hidden] должен побеждать display у .chip-dark и др. */
[hidden] { display: none !important; }

/* ---- Медицинские новости на главной (#news) ---- */
.news-home { position: relative; margin: 32px 80px 0; }
.news-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.news-home-head .serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #A86A72; }
.news-home-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }
.news-home-all { flex: 0 0 auto; height: 48px; padding: 0 22px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.news-home-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-home-grid[hidden] { display: none; }
.news-card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--tile); text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(var(--shd), .07), 0 10px 30px rgba(var(--shd), .10); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(var(--shd), .1), 0 18px 40px rgba(var(--shd), .16); }
.news-card-img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--board); }
.news-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; flex: 1 1 auto; }
.news-card-cat { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.news-card-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.news-card-lead { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-meta { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); }
.news-card-read { font-weight: 800; color: #9C5E6C; }
.news-home-topics { margin-top: 18px; border-radius: 32px; padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.news-home-topics-col h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.news-topic-row { display: flex; flex-wrap: wrap; gap: 10px; }
.news-topic { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; text-decoration: none;
  font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(var(--shd), .16); transition: box-shadow .2s ease; }
.news-topic:hover { box-shadow: inset 0 0 0 2px rgba(156, 94, 108, .45); }
.news-topic-dot { width: 10px; height: 10px; border-radius: 50%; background: #9C5E6C; flex: 0 0 auto; }
.news-topic-count { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.news-topic-count:empty { display: none; }
.news-home-cta { flex: 0 0 340px; display: flex; flex-direction: column; gap: 14px; }
.news-home-cta p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.news-home-cta .btn3d { align-self: flex-start; height: 54px; padding: 0 30px; font-size: 16px; font-weight: 800; }
@media (max-width: 1100px) {
  .news-home { margin: 32px 32px 0; }
  .news-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-home-grid .news-card:nth-child(3) { display: none; }
  .news-home-topics { flex-direction: column; align-items: stretch; }
  .news-home-cta { flex-basis: auto; }
}
@media (max-width: 860px) {
  .news-home { margin: 32px 20px 0; }
  .news-home-head { flex-direction: column; align-items: stretch; }
  .news-home-all { align-self: flex-start; }
  .news-home-grid { grid-template-columns: 1fr; gap: 12px; }
  .news-home-grid .news-card:nth-child(3) { display: flex; }
  .news-card { flex-direction: row; border-radius: 22px; }
  .news-card-img { width: 112px; aspect-ratio: auto; height: auto; min-height: 100%; flex: 0 0 112px; }
  .news-card-body { padding: 14px 16px 16px; gap: 6px; }
  .news-card-title { font-size: 16px; }
  .news-card-lead { -webkit-line-clamp: 2; font-size: 14px; }
  .news-home-topics { padding: 22px 18px 24px; border-radius: 26px; }
  .news-topic { height: 40px; font-size: 14px; padding: 0 14px; }
  .news-home-cta .btn3d { width: 100%; }
}
