/* Главная и общие блоки (Block / *). Mobile first, десктоп ≥1024px — по макету 1440. */

/* ---------- мелкие компоненты ---------- */
.muted{ opacity:.7; }
.divider{ display:block; width:44px; height:2px; background:currentColor; }
.stars{ color:currentColor; letter-spacing:2px; font-size:16px; line-height:16px; }
.tag{ display:inline-flex; align-items:center; padding:4px 8px; border:1px solid var(--border-subtle); font:500 12px/16px var(--font-text); text-transform:uppercase; letter-spacing:.04em; }
.tag--status{ background:var(--accent-bg); color:var(--accent-fg); border-color:var(--accent-bg); }
@media (max-width:1023px){ .hide-mobile{ display:none !important; } }

.link-arrow{ display:inline-flex; align-items:center; gap:8px; padding-bottom:8px; border-bottom:1px solid var(--border-subtle); font:600 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; color:inherit; text-decoration:none; }
.link-arrow .icon{ width:20px; height:20px; transition:transform .2s; }
.link-arrow:hover,.link-arrow:focus-visible{ border-bottom-color:currentColor; }
.link-arrow:hover .icon{ transform:translateX(8px); }

.btn-circle{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--border-strong); border-radius:50%; color:inherit; transition:background .2s,color .2s; }
.btn-circle .icon{ width:20px; height:20px; }
.btn-circle:hover{ background:var(--accent-bg); color:var(--accent-fg); }

.btn-square{ display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border:1px solid var(--border-strong); background:transparent; color:var(--text-primary); cursor:pointer; transition:background .2s,color .2s; }
.btn-square .icon{ width:24px; height:24px; }
.btn-square:hover{ background:var(--accent-bg); color:var(--accent-fg); }

@media (min-width:1024px){
  .link-arrow{ gap:16px; font-size:18px; line-height:24px; }
  .link-arrow .icon{ width:32px; height:24px; }
  .btn-circle{ width:76px; height:76px; }
  .btn-circle .icon{ width:32px; height:24px; }
  .btn-square{ width:56px; height:56px; }
}

/* ---------- заголовок секции ---------- */
.section-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:32px var(--gutter) 24px; }
.section-head.has-line{ border-bottom:1px solid var(--border-subtle); }
.section-head__title{ margin:0; font:400 48px/48px var(--font-display); text-transform:uppercase; }
.section-head__link{ display:none; }
@media (min-width:1024px){
  .section-head{ padding:64px 64px 32px; }
  .section-head__title{ font-size:96px; line-height:96px; }
  .section-head__link{ display:inline-flex; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:600px; padding:32px var(--gutter) 24px; background:var(--bg-deep); overflow:hidden; isolation:isolate; }
.hero__slides{ position:absolute; inset:0; z-index:-1; }
.hero__slide{ position:absolute; inset:0; background:center/cover no-repeat; opacity:0; transition:opacity .8s ease; pointer-events:none; }
.hero__slide.is-active{ opacity:1; pointer-events:auto; }
.hero::after{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(180deg,rgba(37,11,9,.2) 0%,rgba(37,11,9,.15) 45%,rgba(37,11,9,.85) 100%); }
.hero__content{ display:flex; flex-direction:column; gap:12px; pointer-events:none; }
.hero__eyebrow{ margin:0; font:400 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:0; }
@media (min-width:1024px){ .hero__eyebrow{ letter-spacing:.05em; } }
.hero__title{ margin:0; font:400 clamp(48px,19vw,80px)/.85 var(--font-display); text-transform:uppercase; }
.hero__title.has-image img{ display:block; width:100%; max-width:342px; height:auto; }
.hero__controls{ display:flex; gap:8px; margin:24px 0 0 auto; }
/* правки 20.11: только белые стрелки, без рамки и фона */
.hero__controls .btn-square{ background:none; border:0; color:#fff; opacity:.7; }
.hero__controls .btn-square:hover,.hero__controls .btn-square:focus-visible{ background:none; color:#fff; opacity:1; }
@media (min-width:1024px){
  .hero{ min-height:800px; padding:64px; }
  .hero__content{ gap:32px; }
  .hero__eyebrow{ font-size:28px; line-height:36px; }
  .hero__title{ font-size:192px; line-height:164px; }
  .hero__title.has-image img{ max-width:800px; }
  .hero__controls{ margin-top:48px; gap:8px; }
}

/* ---------- Афиша на главной ---------- */
.home-afisha{ display:flex; background:var(--bg-page); border-top:1px solid var(--border-subtle); }
.home-afisha__main{ flex:1 1 auto; min-width:0; }
.home-afisha__list{ padding:0 var(--gutter) 24px; }
.home-afisha__list .empty{ padding:32px 0; font:var(--t-body); opacity:.7; }
.home-afisha__all{ display:flex; justify-content:space-between; gap:8px; width:100%; min-height:48px; margin-top:24px; padding:11px 20px; }
.home-afisha__all .icon{ width:32px; height:24px; }
@media (max-width:1023px){ .home-afisha{ background:linear-gradient(180deg,var(--wine-700) 0%,var(--wine-900) 100%); } }
.home-afisha__ornament{ display:none; }
@media (min-width:1024px){
  .home-afisha__list{ padding:0 0 136px 64px; } /* макет: блок 868, от последней строки до низа 136 */
  .home-afisha .event-row{ clip-path:inset(0 0 0 -64px); } /* подсветка — до левого края экрана, не заходит на колонку орнамента справа */
  .home-afisha__all{ display:none; }
  .home-afisha__ornament{ display:block; flex:0 0 216px; background:var(--ornament, none) center top/216px auto repeat-y; opacity:var(--ornament-opacity); }
}

/* ---------- Строка события ---------- */
.event-row{ position:relative; display:grid; grid-template-columns:104px 1fr auto; align-items:start; gap:0 12px; padding:24px 0; border-bottom:1px solid var(--border-subtle); }
.event-row__date{ display:flex; flex-direction:column; gap:8px; }
.event-row__day{ font:400 72px/68px var(--font-display); letter-spacing:-.06em; }
.event-row__meta{ display:flex; flex-direction:column; gap:2px; font:400 12px/16px var(--font-text); }
.event-row__time{ font-weight:500; }
.event-row__info{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.event-row__title{ margin:0; font:600 16px/20px var(--font-text); text-transform:uppercase; }
.event-row__title a{ color:inherit; text-decoration:none; }
.event-row__title a::after{ content:""; position:absolute; inset:0; } /* вся строка кликабельна */
.event-row__type,.event-row__place{ margin:0; font:400 14px/20px var(--font-text); }
.event-row__type{ opacity:.8; }
.event-row__place{ display:flex; gap:6px; align-items:flex-start; }
.event-row__place .icon{ flex:0 0 auto; width:12px; height:16px; margin-top:2px; }
.event-row__badges{ display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.event-row__image{ display:none; }
.event-row__cta{ position:relative; z-index:1; align-self:start; }
.event-row.is-past{ opacity:.55; }
/* ховер строки — на всю ширину экрана, за пределы полей контейнера */
.event-row{ box-shadow:0 0 0 100vmax transparent; clip-path:inset(0 -100vmax); transition:background-color .25s ease, box-shadow .25s ease; }
@media (hover:hover){ .event-row:hover{ background:var(--overlay-hover); box-shadow:0 0 0 100vmax var(--overlay-hover); } }
@media (min-width:1024px){
  .event-row{ grid-template-columns:320px 1fr 280px auto; gap:0; align-items:center; min-height:180px; padding:8px 0; }
  .event-row__date{ flex-direction:row; align-items:center; gap:32px; align-self:stretch; padding:20px 24px 20px 0; border-right:1px solid var(--border-faint); }
  .event-row__day{ font-size:128px; line-height:124px; }
  .event-row__meta{ gap:6px; font-size:20px; line-height:28px; }
  .event-row__info{ padding:0 24px; gap:8px; }
  .event-row__title{ font-size:24px; line-height:28px; }
  .event-row__type,.event-row__place{ font-size:18px; line-height:24px; }
  .event-row__place .icon{ width:16px; height:16px; margin-top:4px; }
  .event-row__cta{ align-self:center; }
  .event-row__image{ display:block; position:relative; z-index:1; width:280px; height:152px; overflow:hidden; background:var(--bg-deep); }
  .event-row__image img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
  .event-row:hover .event-row__image img{ transform:scale(1.04); }
  .event-row__cta{ padding:0 56px; }
}

/* ---------- История ---------- */
.history{ display:flex; flex-direction:column; background:var(--cream-100); color:var(--text-primary); }
.history__photo{ aspect-ratio:390/336; background:var(--border-inverse); overflow:hidden; }
.history__photo img{ width:100%; height:100%; object-fit:cover; }
.history__content{ display:flex; flex-direction:column; align-items:flex-start; gap:20px; padding:40px var(--gutter); }
.history .divider{ width:40px; opacity:.7; }
.history__title{ margin:0; font:400 72px/60px var(--font-display); text-transform:uppercase; }
.history__text{ margin:0; font:400 16px/24px var(--font-text); color:var(--text-inverse-body); }
@media (min-width:1024px){
  .history{ flex-direction:row; align-items:center; gap:0; }
  .history__photo{ flex:0 0 59.7%; aspect-ratio:860/741; }
  .history__content{ flex:1 1 auto; justify-content:center; gap:28px; padding:64px; max-width:580px; }
  .history .divider{ width:44px; }
  .history__title{ font-size:96px; line-height:96px; }
  .history__text{ font-size:20px; line-height:28px; }
}

/* ---------- Новости ---------- */
.home-news{ background:linear-gradient(180deg,var(--bg-page) 0%,var(--bg-deep) 100%); padding-bottom:40px; }
.home-news__list{ display:grid; grid-template-columns:1fr; padding:0 var(--gutter); }
.news-card{ position:relative; display:flex; flex-direction:column; gap:12px; padding:0 0 24px; margin-bottom:24px; border-bottom:1px solid var(--border-subtle); }
.news-card__meta{ display:flex; flex-direction:column; gap:8px; }
.news-card__more{ margin:0; }
.news-card__more .link-arrow{ position:relative; z-index:1; font-size:12px; line-height:16px; }
.home-news .news-card{ gap:16px; }
@media (max-width:599px){ .home-news__list .news-card:nth-child(n+2){ display:none; } }
@media (min-width:600px) and (max-width:1023px){ .home-news__list{ display:grid; grid-template-columns:1fr 1fr; gap:32px 24px; } .home-news__list .news-card:nth-child(n+3){ display:none; } .news-card__cover{ height:220px; } }
.news-card__cover{ display:block; height:240px; background:var(--bg-section-top); overflow:hidden; }
.news-card__cover img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.news-card:hover .news-card__cover img{ transform:scale(1.04); }
.news-card__date{ margin:0; font:400 14px/20px var(--font-text); text-transform:uppercase; }
.news-card__title{ margin:0; font:500 18px/24px var(--font-text); }
.news-card__title a{ color:inherit; text-decoration:none; }
.news-card__title a::after{ content:""; position:absolute; inset:0; }
.news-card__excerpt{ margin:0; font:400 16px/24px var(--font-text); opacity:.85; }
.home-news__all{ margin:0; padding:0 var(--gutter); }
@media (min-width:1024px){
  .home-news{ padding-bottom:96px; }
  .home-news__list{ grid-template-columns:repeat(3,1fr); padding:0 64px; }
  .news-card{ margin:0; padding:0 32px; border-bottom:0; border-left:1px solid var(--border-subtle); gap:16px; }
  .news-card:first-child{ padding-left:0; border-left:0; }
  .news-card:last-child{ padding-right:0; }
  .news-card__cover{ height:280px; }
  .news-card__date{ font-size:20px; line-height:28px; }
  .news-card__title{ font-size:24px; line-height:28px; }
  .news-card__excerpt{ font-size:20px; line-height:28px; }
  .news-card__more .link-arrow{ font-size:18px; line-height:24px; }
  .home-news__all{ display:none; }
}

/* ---------- Отзывы ---------- */
.reviews{ background:var(--bg-page); border-top:1px solid var(--border-subtle); padding-bottom:40px; }
.reviews__bar{ padding:0 var(--gutter) 24px; }
.yandex-badge{ display:inline-flex; align-items:center; gap:16px; padding:12px 16px; border:1px solid var(--border-subtle); color:inherit; text-decoration:none; }
.yandex-badge__logo{ display:block; flex:none; width:40px; height:40px; } /* знак Яндекс Карт из макета */
.yandex-badge__text{ display:flex; flex-direction:column; }
.yandex-badge__label{ font:400 14px/20px var(--font-text); opacity:.7; white-space:nowrap; }
.yandex-badge__score{ display:flex; align-items:center; gap:8px; font:500 20px/24px var(--font-text); }
.yandex-badge__divider{ align-self:stretch; width:1px; background:var(--border-subtle); }
.yandex-badge__counts{ white-space:nowrap; display:flex; flex-direction:column; font:400 14px/20px var(--font-text); }
.reviews__cards{ display:grid; grid-template-columns:1fr; gap:24px; padding:0 var(--gutter); }
.review-card{ display:flex; flex-direction:column; gap:16px; padding:24px; border-left:1px solid var(--border-subtle); background:var(--wine-700); color:inherit; text-decoration:none; transition:background .2s; }
.review-card:hover{ background:var(--bg-section-top); }
.review-card__head{ display:flex; align-items:center; gap:12px; }
.review-card__avatar{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:var(--accent-bg); color:var(--accent-fg); font:600 12px/16px var(--font-text); letter-spacing:.04em; }
.review-card__author{ display:flex; flex-direction:column; }
.review-card__name{ font:500 20px/24px var(--font-text); }
.review-card__date{ font:400 14px/20px var(--font-text); opacity:.7; }
.review-card__text{ font:400 16px/24px var(--font-text); }
.reviews__note{ margin:24px 0 0; padding:0 var(--gutter); font:400 14px/20px var(--font-text); opacity:.6; }
@media (min-width:1024px){
  .reviews{ padding-bottom:64px; }
  .reviews__bar{ padding:0 64px 32px; }
  .yandex-badge{ min-width:405px; min-height:84px; padding:16px 24px; gap:24px; }
  .yandex-badge__logo{ width:48px; height:48px; }
  .yandex-badge__score{ font-size:24px; line-height:28px; }
  .yandex-badge__counts{ font-size:18px; line-height:24px; }
  .reviews__cards{ grid-template-columns:repeat(4,1fr); gap:16px; padding:0 64px; }
  .review-card{ min-height:316px; padding:24px 32px; }
  .review-card__avatar{ font-size:14px; line-height:20px; }
  .review-card__name{ font-size:24px; line-height:28px; }
  .review-card__text{ font-size:20px; line-height:28px; }
  .reviews__note{ padding:0 64px; margin-top:40px; }
}

/* бейдж Яндекса на мобилке: в строку на всю ширину, 72 высотой, лого→текст 12 (макет 561:36289) */
@media (max-width:1023px){
  .yandex-badge{ display:flex; width:100%; min-height:72px; }
  .yandex-badge__logo{ margin-right:-4px; }
  .yandex-badge__text{ min-width:0; }
  .yandex-badge__counts{ margin-left:auto; }
}

/* ---------- Форма-приглашение ---------- */
.invite{ position:relative; overflow:hidden; background:var(--bg-page); color:var(--text-primary); padding:40px var(--gutter); }
.invite__ornament{ position:absolute; inset:0; pointer-events:none; background:url(../img/ornament-invite.png) calc(50% - 64px) center/auto 100% repeat-x; mix-blend-mode:multiply; } /* крупный узор на всю плашку, multiply — как в макете */
.invite__inner{ position:relative; display:flex; flex-direction:column; gap:24px; }
.invite .btn{ width:100%; justify-content:space-between; min-height:44px; padding:12px 20px; }
.invite .divider{ width:40px; opacity:.7; }
.invite__contacts a:not(.invite__phone){ text-decoration:underline; text-underline-offset:3px; }
.invite__title{ margin:0; font:400 40px/44px var(--font-display); text-transform:uppercase; }
.invite__info{ display:flex; flex-direction:column; align-items:flex-start; gap:24px; }
.invite__lead{ margin:0; font:400 16px/24px var(--font-text); color:var(--text-inverse-body); }
.invite__contacts{ display:flex; flex-direction:column; gap:8px; margin:0; }
.invite__contacts a{ color:inherit; text-decoration:none; font:400 16px/24px var(--font-text); }
.invite__contacts .invite__phone{ font:500 20px/24px var(--font-text); }
@media (min-width:1024px){
  .invite{ padding:96px 64px; }
  .invite__inner{ flex-direction:row; justify-content:space-between; align-items:flex-start; gap:48px; }
  .invite .btn{ width:auto; min-height:56px; padding:16px 24px; }
  .invite .divider{ width:44px; }
  .invite__info{ gap:24px; }
  .invite__title{ max-width:753px; font-size:80px; line-height:80px; }
  .invite__info{ flex:0 0 416px; }
  .invite__lead{ font-size:20px; line-height:28px; }
  .invite__contacts a{ font-size:18px; line-height:24px; }
  .invite__contacts .invite__phone{ font-size:24px; line-height:28px; }
}

@media (min-width:1024px){ .invite__ornament{ background-position:-91px center; } }
/* 768: слово «Кантеле» в hero крупнее */
@media (min-width:600px) and (max-width:1023px){ .hero__title.has-image img{ max-width:580px; } }
/* 1024–1279: строка события компактнее — без фото, дата уже (иначе колонка с названием сжимается до 60px) */
@media (min-width:1024px) and (max-width:1279px){
  .event-row{ grid-template-columns:232px minmax(0,1fr) auto; }
  .event-row__date{ gap:20px; padding-right:20px; }
  .event-row__day{ font-size:104px; line-height:100px; }
  .event-row__meta{ font-size:18px; line-height:24px; }
  .event-row__image{ display:none; }
  .event-row__cta{ padding:0 24px; }
}
/* версия для слабовидящих: блок «Украшение любого события» и отзывы по макетам 518:63198 / 524:25938 */
.invite__label{ display:none; }
html[data-a11y] .invite__label{ display:block; font:400 20px/28px var(--font-text); }
html[data-a11y] .invite__lead{ font-size:20px; line-height:28px; }
html[data-a11y] .invite__contacts .invite__phone{ font-size:24px; line-height:32px; font-weight:500; }
html[data-a11y] .invite__contacts a:not(.invite__phone){ font-size:20px; line-height:28px; }
html[data-a11y] .yandex-badge__logo{ filter:grayscale(1); }
html[data-a11y] .review-card{ border:0; padding-left:0; padding-right:0; }
html[data-a11y] .review-card + .review-card{ border-top:1px solid var(--a11y-fg); padding-top:24px; }
html[data-a11y] .review-card__text{ font-size:20px; line-height:28px; }
@media (min-width:1024px){
  html[data-a11y] .invite__title{ max-width:513px; font-size:56px; line-height:64px; }
  html[data-a11y] .invite__lead{ font-size:28px; line-height:40px; }
  html[data-a11y] .invite__contacts .invite__phone{ font-size:32px; line-height:40px; }
  html[data-a11y] .invite__contacts a:not(.invite__phone){ font-size:24px; line-height:32px; }
  html[data-a11y] .review-card{ padding:24px 32px; }
  html[data-a11y] .review-card:first-child{ padding-left:0; }
  html[data-a11y] .review-card + .review-card{ border-top:0; border-left:1px solid var(--a11y-fg); padding-top:24px; }
  html[data-a11y] .review-card__text{ font-size:28px; line-height:40px; }
  html[data-a11y] .yandex-badge__counts{ font-size:24px; line-height:32px; }
}

/* ---------- Отзывы: вариант B «колонки без плашек» (632:35307 / 632:35335) ---------- */
.reviews--cols{ background:var(--wine-800); border-top:0; padding:48px 0; display:flex; flex-direction:column; gap:28px; }
.reviews--cols > *{ padding-inline:24px; }
.reviews__head{ display:flex; flex-direction:column; gap:16px; }
.reviews__title.s-title{ margin:0; font:400 48px/48px var(--font-display); text-transform:uppercase; }
.reviews__rating{ display:flex; flex-direction:column; gap:4px; color:inherit; text-decoration:none; align-self:flex-start; }
.reviews__score{ display:flex; align-items:center; gap:12px; padding:12px 0; }
.reviews__num{ font:400 32px/32px var(--font-display); }
.reviews__stars{ font:400 16px/20px var(--font-text); letter-spacing:.02em; }
.reviews__count{ font:400 14px/22px var(--font-text); }
.reviews__cols{ display:flex; flex-direction:column; }
.review{ margin:0; display:flex; flex-direction:column; gap:16px; padding:24px 0; border-top:1px solid var(--border-subtle); }
.reviews__cols .review:nth-child(2){ border-bottom:1px solid var(--border-subtle); }
.review__quote{ display:block; height:40px; font:400 64px/64px var(--font-display); overflow:visible; }
.review__text{ margin:0; font:400 16px/24px var(--font-text); }
.review__meta{ display:flex; flex-direction:column; gap:16px; margin-top:auto; padding-top:0; }
.review__stars{ font:400 14px/18px var(--font-text); letter-spacing:.02em; }
.review__author{ font:600 14px/18px var(--font-text); }
.reviews__all{ align-self:flex-start; font:600 15px/22px var(--font-text); text-transform:uppercase; color:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--border-subtle); transition:text-decoration-color var(--t-fast, .2s); }
.reviews__all:hover{ text-decoration-color:currentColor; }
@media (min-width:1024px){
  .reviews--cols{ padding:96px 0; gap:48px; }
  .reviews--cols > *{ padding-inline:64px; }

  .reviews__head{ flex-direction:row; align-items:flex-start; justify-content:space-between; gap:24px; }
  .reviews__title.s-title{ font-size:96px; line-height:96px; margin-top:2px; }
  .reviews__num{ font-size:48px; line-height:48px; }
  .reviews__stars{ font-size:20px; line-height:24px; }
  .reviews__count{ font-size:16px; line-height:22px; }
  .reviews__cols{ display:grid; grid-template-columns:415fr 448fr 448fr; }
  .review{ padding:0 32px; border-top:0; border-left:1px solid var(--border-subtle); min-height:276px; }
  .reviews__cols .review:nth-child(2){ border-bottom:0; }
  .review:first-child{ padding-left:0; border-left:0; }
  .review__quote{ height:60px; font-size:96px; line-height:96px; }
  .review__text{ font-size:18px; line-height:28px; }
  .review__text + .review__meta{ padding-top:16px; }
}
@media (min-width:600px) and (max-width:1023px){ .reviews__cols .review.hide-mobile{ display:flex; } .reviews__cols .review:nth-child(2){ border-bottom:0; } .reviews__cols .review:last-child{ border-bottom:1px solid var(--border-subtle); } }
html[data-a11y] .reviews--cols{ background:var(--a11y-bg); }
html[data-a11y] .review,html[data-a11y] .reviews__cols .review:nth-child(2){ border-color:var(--a11y-fg); }
html[data-a11y] .review__text{ font-size:20px; line-height:28px; }
@media (min-width:1024px){ html[data-a11y] .review__text{ font-size:28px; line-height:40px; } }

/* ===== сверка с макетом (SBS 0.8.2) ===== */
/* a#1. Hero 1440: затемнение слева направо, как в Hero / Main (#250b09 88% → 60% на 30% → 0 на 50%), низ кадра не затемнен */
@media (min-width:1024px){ .hero::after{ background:linear-gradient(90deg,rgba(37,11,9,.88) 0%,rgba(37,11,9,.6) 30%,rgba(37,11,9,0) 50%); } }
/* a#4. Новости на главной 1440: три колонки по 394, между ними 32 + линия 1px + 32 (раньше крайние 405, средняя 373) */
@media (min-width:1024px){
  .home-news__list{ column-gap:65px; }
  .home-news__list .news-card,.home-news__list .news-card:first-child,.home-news__list .news-card:last-child{ padding:0; border-left:0; }
  .home-news__list .news-card + .news-card::before{ content:""; position:absolute; top:0; bottom:0; left:-33px; width:1px; background:var(--border-subtle); }
}
/* a#5/a#6. Отзывы (вариант B): текст → звезды 33, звезды → автор 16; автор 15/22 Medium */
.review__meta,.review__text + .review__meta{ padding-top:17px; }
.review__author{ font:500 15px/22px var(--font-text); }
/* a#7 / b#23. кнопка приглашения: e-mail → кнопка 32 (gap 24 + Submit padding-top 8 на 1440; Body gap 32 на 390) */
.invite .btn{ margin-top:8px; }

/* Рейтинг — ссылка на отзывы в Яндекс Картах: видно, что кликабельно (правки заказчика 19.11) */
.reviews__count{ display:inline-flex; align-items:center; gap:8px; text-decoration:underline; text-underline-offset:4px; text-decoration-color:var(--border-subtle); transition:text-decoration-color .2s; }
.reviews__count svg{ width:18px; height:18px; flex:none; transition:transform .2s ease; }
.reviews__rating:hover .reviews__count{ text-decoration-color:currentColor; }
.reviews__rating:hover .reviews__count svg{ transform:translateX(4px); }

/* Правки 19.11. Карточки новостей в ряду выровнены по строкам: дата+заголовок, анонс и «Читать далее» стоят на одной высоте
   у всех трех, даже если заголовки разной длины (subgrid; без поддержки — как раньше). */
@media (min-width:1024px){
  @supports (grid-template-rows:subgrid){
    .home-news__list .news-card,.news-grid .news-card{ display:grid; grid-template-rows:subgrid; grid-row:span 4; gap:0; align-content:start; }
    .home-news__list .news-card > * + *,.news-grid .news-card > * + *{ margin-top:16px; }
    .home-news__list .news-card__excerpt,.news-grid .news-card__excerpt{ grid-row:3; }
    .home-news__list .news-card__more,.news-grid .news-card__more{ grid-row:4; }
    .news-grid{ row-gap:0; } .news-grid .news-card{ margin-bottom:48px; }
  }
}
/* Заголовок новости подчеркивается при наведении на карточку — видно, что это ссылка */
.news-card__title a{ text-decoration:underline; text-decoration-color:transparent; text-underline-offset:4px; text-decoration-thickness:1px; transition:text-decoration-color .2s; }
.news-card:hover .news-card__title a,.news-card__title a:focus-visible{ text-decoration-color:currentColor; }

/* 24.11: у баннера, ведущего в раздел, вместо надписи «Кантеле» — заголовок раздела */
.hero__title[hidden]{ display:none; }
.hero__title--section{ font-size:clamp(32px,11vw,72px); line-height:.9; max-width:900px; text-shadow:0 2px 24px rgba(20,8,7,.75), 0 0 2px rgba(20,8,7,.5); }
@media (min-width:1024px){ .hero__title--section{ font-size:128px; line-height:108px; } }
/* 24.11: баннеры — светлые фото разделов; затемнение сверху плотнее, чтобы заголовок читался */
@media (max-width:1023px){ .hero::after{ background:linear-gradient(180deg,rgba(37,11,9,.78) 0%,rgba(37,11,9,.55) 22%,rgba(37,11,9,.1) 48%,rgba(37,11,9,.85) 100%); } }
@media (min-width:1024px){ .hero::after{ background:linear-gradient(90deg,rgba(37,11,9,.9) 0%,rgba(37,11,9,.72) 38%,rgba(37,11,9,0) 80%), linear-gradient(180deg,rgba(37,11,9,.5) 0%,rgba(37,11,9,0) 40%); } }
.hero__eyebrow[hidden]{ display:none; }
@media (max-width:1023px){ .hero__eyebrow{ min-height:40px; } } /* две строки: надпись «Кантеле» не прыгает между баннерами */
/* 24.11: аудит кадров. Первый экран на широких мониторах растет с шириной (800 → 883 на 1920 → максимум 1150), иначе от фото остается узкая полоса;
   у баннеров разделов кадр привязан к людям, а не к центру фото */
@media (min-width:1441px){ .hero{ min-height:clamp(800px, 46vw, 1150px); } }
.hero__slide[style*="home-sec-01-wide"]{ background-position:center 72%; }
.hero__slide[style*="home-sec-02-wide"]{ background-position:center 78%; }
.hero__slide[style*="home-sec-04-wide"]{ background-position:center 30%; }
/* 28.11: на телефоне фото молодежной студии опущено, чтобы заголовок не ложился на голову танцовщицы; сверху — темный фон в тон затемнения */
@media (max-width:699px){ .hero__slide[style*="home-sec-04-wide"]{ background-size:auto 84%; background-position:center bottom; -webkit-mask-image:linear-gradient(180deg,transparent 16%,#000 30%); mask-image:linear-gradient(180deg,transparent 16%,#000 30%); } }
