/* ==========================================================================
   İÇƏRİŞƏHƏR — проект BAKU.WS. Шапка в стиле baku.ws (жёлтый + чёрный + Live),
   контент — своя тема: известняк, графит, каспийская бирюза.
   Один файл, ноль зависимостей. Светлая и тёмная темы.
   ========================================================================== */

:root {
  /* бренд baku.ws */
  --brand:      #FFD525;
  --brand-deep: #E5B800;
  --bar:        #222222;
  --live:       #D14343;

  /* тема сайта — светлая */
  --paper:      #FBF8F1;
  --card:       #FFFFFF;
  --stone:      #F0EADC;
  --line:       #DED6C4;
  --ink:        #1B1A16;
  --ink-mute:   #5B5850;
  --ink-faint:  #8B8778;
  --sea:        #0E6C79;
  --sea-soft:   #E4F1F2;
  --sand:       #B5843A;
  --dark:       #171612;
  --dark-2:     #0F0E0B;
  --shadow:     0 18px 50px rgb(27 26 22 / .10);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gut: 26px;
  --r: 14px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

html[lang="he"] {
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans:  "Heebo", -apple-system, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --paper:      #131210;
  --card:       #1C1B17;
  --stone:      #1F1E19;
  --line:       #33312A;
  --ink:        #F3EFE4;
  --ink-mute:   #B4AE9E;
  --ink-faint:  #8B8778;
  --sea:        #4FBFCB;
  --sea-soft:   #16302F;
  --sand:       #D9A54F;
  --dark:       #0C0B09;
  --dark-2:     #080807;
  --shadow:     0 18px 50px rgb(0 0 0 / .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
figure { margin: 0; }
a { color: var(--sea); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.16; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 99;
  background: var(--bar); color: #fff; padding: 12px 20px; border-radius: 8px; font-weight: 600;
  transition: top .18s var(--ease);
}
.skip:focus { top: 14px; color: #fff; }

/* --- Шапка (как на baku.ws) ---------------------------------------------- */

.hdr { background: var(--brand); color: #17150C; }
.hdr__row { display: flex; align-items: center; gap: 14px; min-height: 74px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #17150C; }
.brand__logo { display: block; flex-shrink: 0; }
/* фирменный логотип baku.ws: цвет наследуется от .brand (жёлтая шапка — тёмный, подвал — белый) */
.brand__svg { display: block; height: 27px; width: auto; }
.brand__proj {
  padding-inline-start: 12px; margin-inline-start: 2px; border-inline-start: 2px solid rgb(23 21 12 / .28);
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25;
  max-width: 12ch;
}
.tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.iconbtn {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(23 21 12 / .10); color: #17150C;
  display: grid; place-items: center; padding: 0;
  transition: background .18s var(--ease);
}
.iconbtn:hover { background: rgb(23 21 12 / .2); color: #17150C; }
.iconbtn svg { width: 19px; height: 19px; fill: currentColor; }
.iconbtn .moon { display: block; }
.iconbtn .sun { display: none; }
html[data-theme="dark"] .iconbtn .moon { display: none; }
html[data-theme="dark"] .iconbtn .sun { display: block; }

.langs { display: flex; gap: 3px; }
.langs a {
  min-width: 40px; height: 32px; display: grid; place-items: center; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: rgb(23 21 12 / .62);
}
.langs a:hover { background: rgb(23 21 12 / .12); color: #17150C; }
.langs a.is-on { background: var(--bar); color: var(--brand); }

.livebtn {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  height: 38px; padding: 0 17px; border-radius: 999px;
  background: var(--live); color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  transition: filter .18s var(--ease);
}
.livebtn:hover { filter: brightness(1.09); color: #fff; }
.livebtn svg { width: 17px; height: 17px; fill: #fff; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgb(255 255 255 / .8); animation: ping 2.2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgb(255 255 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); } }

/* --- Полоса разделов ------------------------------------------------------ */

.nav { background: var(--bar); position: sticky; top: 0; z-index: 40; }
.nav__row { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.nav__row::-webkit-scrollbar { display: none; }
.nav a {
  padding: 15px 0; white-space: nowrap; color: rgb(255 255 255 / .7);
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: #fff; }
.nav a.is-on { color: var(--brand); border-bottom-color: var(--brand); }

/* --- Первый экран -------------------------------------------------------- */

.hero { position: relative; background: var(--dark-2); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgb(12 11 9 / .93) 0%, rgb(12 11 9 / .74) 48%, rgb(12 11 9 / .3) 100%);
}
[dir="rtl"] .hero::after { background: linear-gradient(255deg, rgb(12 11 9 / .93) 0%, rgb(12 11 9 / .74) 48%, rgb(12 11 9 / .3) 100%); }
.hero__in { position: relative; z-index: 1; padding-block: 86px 74px; max-width: 44rem; }
.kick { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.hero h1 { font-family: var(--serif); font-size: clamp(46px, 7.4vw, 86px); margin: 16px 0 0; letter-spacing: -.02em; }
.hero__lead { margin: 20px 0 0; font-size: 19px; line-height: 1.6; color: rgb(255 255 255 / .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cap {
  position: relative; z-index: 1; margin: 0; padding-bottom: 14px;
  font-size: 11.5px; color: rgb(255 255 255 / .4);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.btn--brand { background: var(--brand); color: #17150C; }
.btn--brand:hover { background: var(--brand-deep); color: #17150C; }
.btn--live { background: var(--live); color: #fff; }
.btn--live:hover { filter: brightness(1.09); color: #fff; }
.btn--ghost { border-color: rgb(255 255 255 / .34); color: #fff; }
.btn--ghost:hover { background: rgb(255 255 255 / .12); color: #fff; }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--line:hover { background: var(--stone); color: var(--ink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Полоса цифр --------------------------------------------------------- */

.facts { background: var(--bar); color: #fff; }
.facts__row { display: flex; flex-wrap: wrap; gap: 30px 58px; padding-block: 26px; }
.facts b {
  display: block; font-family: var(--serif); font-size: 40px; line-height: 1;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.facts span { font-size: 12.5px; color: rgb(255 255 255 / .66); }

/* --- Секции -------------------------------------------------------------- */

.sec { padding-block: 74px; }
.sec--tight { padding-block: 46px; }
.sec--stone { background: var(--stone); }
.sec--dark { background: var(--dark); color: #fff; }
.sec h2 {
  font-family: var(--serif); font-size: clamp(30px, 3.8vw, 44px);
  padding-bottom: 12px; margin-bottom: 26px;
  border-bottom: 3px solid var(--brand);
}
.sec--dark h2 { border-bottom-color: rgb(255 255 255 / .3); }
.sec h3 { font-family: var(--serif); font-size: 25px; margin-bottom: 8px; }

.prose p { margin: 0 0 20px; font-size: 17.5px; line-height: 1.72; color: var(--ink-mute); max-width: 70ch; }
.prose p:first-child { font-size: 20px; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.sec--dark .prose p { color: rgb(255 255 255 / .8); }
.sec--dark .prose p:first-child { color: #fff; }
.note { font-size: 13.5px; line-height: 1.6; color: var(--ink-faint); max-width: 80ch; margin: 16px 0 0; }
.sec--dark .note { color: rgb(255 255 255 / .5); }

/* --- Текст + фото -------------------------------------------------------- */

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: center; }
.split + .split { margin-top: 56px; }
.split__fig figcaption, .figcap {
  margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-faint);
}
.split__fig img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.split--rev .split__txt { order: 2; }
.split h3 { margin-bottom: 10px; }
.split p { margin: 0 0 16px; color: var(--ink-mute); }
.split p:last-child { margin-bottom: 0; }

/* --- Карточки ------------------------------------------------------------ */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  border-top: 3px solid var(--sea);
}
.card__y { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--sand); font-variant-numeric: tabular-nums; }
.card b { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.card p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-mute); }

.pcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pcard {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.pcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pcard__in { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__n { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--sand); }
.pcard b { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.pcard p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-mute); }
.pcard__go { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--sea); }

/* --- Хронология ---------------------------------------------------------- */

.tl { list-style: none; margin: 0; padding-inline-start: 28px; border-inline-start: 2px solid var(--line); }
.tl li { position: relative; padding: 0 0 26px 4px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ""; position: absolute; inset-inline-start: -35px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--sea);
}
.tl time { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.tl b { display: block; font-family: var(--serif); font-size: 22px; margin-top: 3px; }
.tl p { margin: 5px 0 0; font-size: 16px; line-height: 1.58; color: var(--ink-mute); max-width: 68ch; }

/* --- Таблица характеристик ----------------------------------------------- */

.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 36px; }
.specs > div { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.specs dd { margin: 0; font-size: 15.5px; }

/* --- Цитата -------------------------------------------------------------- */

.quote { background: var(--dark); color: #fff; padding-block: 76px; }
.quote blockquote {
  margin: 0 auto; max-width: 30ch; text-align: center;
  font-family: var(--serif); font-size: clamp(26px, 4.2vw, 44px); line-height: 1.24;
}
.quote blockquote::before { content: "«"; color: var(--brand); }
.quote blockquote::after { content: "»"; color: var(--brand); }
.quote figcaption { margin: 24px auto 0; max-width: 52ch; text-align: center; font-size: 14.5px; color: rgb(255 255 255 / .6); }

/* --- Галерея ------------------------------------------------------------- */

.gal { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gal figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); background: var(--stone); }
.gal figure.tall img { aspect-ratio: 3/4; }

/* --- Эфир ---------------------------------------------------------------- */

.live {
  position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r);
  background: #000; border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 26px 70px rgb(0 0 0 / .5);
}
.live img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .3s var(--ease), transform .6s var(--ease); }
.live video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.live__btn {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  border: 0; background: none; color: #fff; cursor: pointer; display: block; font: inherit;
}
.live__btn:hover img { opacity: .75; transform: scale(1.02); }
.live__play {
  position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; background: var(--live);
  display: grid; place-items: center; box-shadow: 0 14px 44px rgb(209 67 67 / .5);
  transition: transform .2s var(--ease);
}
.live__btn:hover .live__play { transform: translate(-50%, -50%) scale(1.07); }
.live__play svg { width: 34px; height: 34px; fill: #fff; margin-inline-start: 5px; }
.live__badge {
  position: absolute; inset-inline-start: 18px; top: 16px;
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px;
  background: var(--live); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.live__ch {
  position: absolute; inset-inline-end: 16px; top: 16px; padding: 7px 13px; border-radius: 8px;
  background: rgb(12 11 9 / .74); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.live__fail {
  position: absolute; inset: 0; display: none; place-content: center; text-align: center;
  padding: 26px; background: rgb(12 11 9 / .92); color: #fff;
}
.live.is-fail .live__fail { display: grid; }
.live__fail p { margin: 0 0 16px; font-size: 16px; color: rgb(255 255 255 / .78); }

.livebar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); }
.livemeta { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 34px; }
.livemeta dt { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .44); }
.livemeta dd { margin: 3px 0 0; font-size: 15px; }
.livebar .btn { margin-inline-start: auto; }

/* Анонс эфира на других страницах */
.liveteaser {
  display: flex; align-items: center; gap: 22px; padding: 18px;
  border-radius: var(--r); background: var(--dark); color: #fff; overflow: hidden;
}
.liveteaser:hover { color: #fff; }
.liveteaser img { width: 260px; flex-shrink: 0; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; opacity: .82; }
.liveteaser:hover img { opacity: 1; }
.liveteaser__k { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--live); }
.liveteaser b { display: block; margin-top: 6px; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.liveteaser p { margin: 6px 0 0; font-size: 14.5px; color: rgb(255 255 255 / .68); }
.liveteaser__go { margin-inline-start: auto; flex-shrink: 0; }

/* --- FAQ ----------------------------------------------------------------- */

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq summary {
  cursor: pointer; padding: 16px 0; font-family: var(--serif); font-size: 20px;
  display: flex; align-items: center; gap: 12px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; color: var(--sea); font-family: var(--sans); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--ink-mute); max-width: 74ch; }

/* --- Постраничная навигация и подвал ------------------------------------- */

.pnav { display: flex; gap: 14px; flex-wrap: wrap; }
.pn { flex: 1 1 260px; padding: 18px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.pn:hover { border-color: var(--sea); color: var(--ink); }
.pn span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.pn b { display: block; margin-top: 4px; font-family: var(--serif); font-size: 21px; }
.pn--next { text-align: end; }

.crumbs { padding-block: 15px 0; font-size: 12.5px; color: var(--ink-faint); }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--sea); }

.phead { padding-block: 42px 32px; border-bottom: 1px solid var(--line); }
.phead .kick { color: var(--sea); }
.phead h1 { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 62px); margin: 12px 0 0; }
.phead__lead { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-mute); max-width: 66ch; }

.lead-shot { margin: 34px 0 0; }
.lead-shot img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--r); }

.foot { background: var(--bar); color: #fff; padding-block: 40px; }
.foot__row { display: flex; align-items: flex-start; gap: 26px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot .brand__svg { height: 24px; }
.foot__txt { max-width: 46ch; }
.foot__txt b { display: block; font-size: 15px; }
.foot__txt span, .foot__txt p { font-size: 12.5px; color: rgb(255 255 255 / .6); }
.foot__txt p { margin: 8px 0 0; line-height: 1.55; }
.foot__links { display: grid; gap: 6px; margin-inline-start: auto; }
.foot__links a { font-size: 13.5px; color: rgb(255 255 255 / .74); }
.foot__links a:hover { color: var(--brand); }
.foot .langs a { color: rgb(255 255 255 / .66); }
.foot .langs a:hover { background: rgb(255 255 255 / .14); color: #fff; }
.foot .langs a.is-on { background: var(--brand); color: var(--bar); }

.credits { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.credits li { font-size: 12px; color: var(--ink-faint); }
.credits a { color: var(--ink-faint); text-decoration: underline; }

/* --- Адаптив ------------------------------------------------------------- */

@media (max-width: 1080px) {
  .cards, .pcards, .gal { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { gap: 30px; }
}
@media (max-width: 900px) {
  :root { --gut: 18px; }
  .hero__in { padding-block: 56px 46px; }
  .sec { padding-block: 52px; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__txt { order: 0; }
  .specs { grid-template-columns: 1fr; }
  .facts b { font-size: 33px; }
  .livebar .btn { margin-inline-start: 0; width: 100%; }
  .liveteaser { flex-wrap: wrap; }
  .liveteaser img { width: 100%; }
  .liveteaser__go { margin-inline-start: 0; }
  .live__play { width: 68px; height: 68px; }
  .live__play svg { width: 26px; height: 26px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand__svg { height: 22px; }
  .cards, .pcards, .gal { grid-template-columns: 1fr; }
  .brand__proj { display: none; }
  .brand__name { font-size: 20px; }
  .livebtn span.txt { display: none; }
  .livebtn { padding: 0 13px; }
  .specs > div { grid-template-columns: 1fr; gap: 2px; }
  .pn--next { text-align: start; }
  .prose p:first-child { font-size: 18px; }
}

/* --- Информер baku.ws ----------------------------------------------------- */

.newsbar { background: var(--card); border-bottom: 1px solid var(--line); }
.newsbar__row { display: flex; align-items: center; gap: 18px; min-height: 56px; flex-wrap: wrap; }
.newsbar__live {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 6px 13px; border-radius: 999px; background: var(--live); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.newsbar__live:hover { color: #fff; filter: brightness(1.08); }
.newsbar__item { display: flex; align-items: baseline; gap: 12px; min-width: 0; color: var(--ink); }
.newsbar__lbl {
  flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.newsbar__t {
  font-family: var(--serif); font-size: 18px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.newsbar__item:hover .newsbar__t { color: var(--sea); }
.newsbar__all { margin-inline-start: auto; flex-shrink: 0; font-size: 13.5px; font-weight: 700; }

.sec--news { background: var(--card); border-block: 1px solid var(--line); padding-block: 56px; }
.news__head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.news__head h2 { margin: 0; border: 0; padding: 0; }
.news__head p { margin: 6px 0 0; font-size: 14px; color: var(--ink-faint); }
.news__head .btn { margin-inline-start: auto; min-height: 42px; }

.ncards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.ncard { display: block; color: var(--ink); }
.ncard img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px;
  background: var(--stone); transition: opacity .2s var(--ease);
}
.ncard:hover img { opacity: .88; }
.ncard__in { display: block; }
.ncard__cat {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c, var(--sea));
}
.ncard__cat::before { content: ""; width: 16px; height: 3px; background: var(--c, var(--sea)); }
.ncard__cat--pol { --c: #B03A2E; }
.ncard__cat--eco { --c: #1F6F4A; }
.ncard__cat--soc { --c: #0E6C79; }
.ncard__cat--spo { --c: #2C5AA0; }
.ncard__cat--inc { --c: #C2410C; }
.ncard__cat--wor { --c: #6B4EA0; }
.ncard__cat--cul { --c: #B5843A; }
html[data-theme="dark"] .ncard__cat--pol { --c: #E8776A; }
html[data-theme="dark"] .ncard__cat--eco { --c: #63C596; }
html[data-theme="dark"] .ncard__cat--soc { --c: #4FBFCB; }
html[data-theme="dark"] .ncard__cat--spo { --c: #7BA3E8; }
html[data-theme="dark"] .ncard__cat--inc { --c: #F0925E; }
html[data-theme="dark"] .ncard__cat--wor { --c: #B39CE8; }
html[data-theme="dark"] .ncard__cat--cul { --c: #D9A54F; }
.ncard__t {
  display: block; margin-top: 6px; font-family: var(--serif); font-size: 19px;
  line-height: 1.28; letter-spacing: -.01em;
}
.ncard:hover .ncard__t { color: var(--sea); }
.ncard__time { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

@media (max-width: 1080px) { .ncards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) {
  .newsbar__row { padding-block: 12px; gap: 10px; }
  .newsbar__item { flex-direction: column; gap: 2px; width: 100%; }
  .newsbar__t { white-space: normal; font-size: 17px; }
  .newsbar__all { margin-inline-start: 0; }
  .news__head .btn { margin-inline-start: 0; }
}
@media (max-width: 560px) { .ncards { grid-template-columns: 1fr; } }
