/* ═══════════════════════════════════════════════════════════════
   HERO — OPTION A  (v2)
   Warm slate tones — no pure black backgrounds
═══════════════════════════════════════════════════════════════ */

.f2n-hero {
  background: var(--bg, #f5f7fa);
  padding: 20px 0 0;
}

.f2n-hero-a {
  display: grid;
  grid-template-columns: 1fr 300px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 6px 28px rgba(0,0,0,.14); */
  border: 1px solid rgba(0,0,0,.07);
}

/* ── Slider ────────────────────────────────────────────────── */
.f2n-hero-a__slider { position: relative; overflow: hidden; background: #2c3347; }

.f2n-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.f2n-slide--active { opacity: 1; visibility: visible; z-index: 2; }

.f2n-slide__bg { position: absolute; inset: 0; overflow: hidden; }
.f2n-slide__bg img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.f2n-slide--active .f2n-slide__bg img { transform: scale(1); }
.f2n-slide__placeholder { width: 100%; height: 100%; background: #2c3347; }

.f2n-slide__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,24,36,.8) 0%, rgba(20,24,36,.1) 60%, transparent 100%),
    linear-gradient(to top,   rgba(12,16,26,.96) 0%, rgba(12,16,26,.0) 52%);
}

.f2n-slide__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 28px 40px; z-index: 3;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s ease .15s, opacity .5s ease .15s;
}
.f2n-slide--active .f2n-slide__content { transform: translateY(0); opacity: 1; }

.f2n-slide__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

.f2n-slide__cat {
  background: var(--red, #c0392b); color: #fff;
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-xs, 10px); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 3px;
}
.f2n-slide__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-xs, 10px); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2); padding: 3px 9px; border-radius: 20px;
}
.f2n-slide__live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #ff5252; flex-shrink: 0;
  animation: f2n-live-pulse 1.6s infinite;
}
@keyframes f2n-live-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,82,82,.7); }
  70%  { box-shadow: 0 0 0 7px rgba(255,82,82,0);  }
  100% { box-shadow: 0 0 0 0   rgba(255,82,82,0);  }
}

.f2n-slide__title {
  font-family: var(--font-head, serif); font-size: clamp(18px, 2vw, 26px);
  font-weight: 700; line-height: 1.24; letter-spacing: -.02em; margin-bottom: 10px;
}
.f2n-slide__title a {
  color: #fff; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.f2n-slide__title a:hover { opacity: .85; }

.f2n-slide__excerpt {
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-sm, 13px); line-height: 1.62;
  color: rgba(255,255,255,.6); margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.f2n-slide__foot { display: flex; align-items: center; gap: 16px; }
.f2n-slide__date {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-xs, 11px); color: rgba(255,255,255,.42);
}
.f2n-slide__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red, #c0392b); color: #fff;
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-xs, 12px); font-weight: 600;
  padding: 7px 16px; border-radius: 5px; text-decoration: none;
  transition: background .2s, gap .15s;
}
.f2n-slide__btn:hover { background: #ffffff; gap: 9px; }

.f2n-slider__arrow {
  position: absolute; bottom: 38px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(30,34,46,.6); backdrop-filter: blur(4px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.f2n-slider__arrow:hover { background: var(--red, #c0392b); border-color: var(--red, #c0392b); }
.f2n-slider__arrow--prev { right: 68px; }
.f2n-slider__arrow--next { right: 24px; }

.f2n-slider__dots {
  position: absolute; bottom: 14px; left: 28px; z-index: 10;
  display: flex; align-items: center; gap: 6px;
}
.f2n-slider__dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3); background: transparent;
  cursor: pointer; padding: 0; transition: background .2s, width .3s, border-color .2s;
}
.f2n-slider__dot--active { background: #fff; border-color: #fff; width: 22px; border-radius: 4px; }

.f2n-slider__progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(255,255,255,.1); z-index: 10;
}
.f2n-slider__progress-bar {
  height: 100%; background: var(--red, #c0392b);
  width: 0; animation: f2n-progress linear forwards;
}
.f2n-slider--paused .f2n-slider__progress-bar { animation-play-state: paused; }
@keyframes f2n-progress { from { width: 0; } to { width: 100%; } }

/* ── News list (right) — white panel ──────────────────────── */
.f2n-hero-a__list {
  background: #ffffff;
  border-left: 1px solid var(--line, #e8edf2);
  display: flex; flex-direction: column; overflow: hidden;
}

.f2n-hero-a__list-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-sm, 13px); font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink, #0f1117);
  padding: 13px 16px 11px;
  border-bottom: 2px solid var(--line, #e8edf2);
  flex-shrink: 0; position: relative;
}
.f2n-hero-a__list-head::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 44px; height: 2px;
  background: var(--red, #c0392b); border-radius: 2px;
}
.f2n-hero-a__list-dot { display: none; }

.f2n-hero-a__items { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.f2n-hero-a__item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #f0f3f7;
  text-decoration: none;
  border-left: 3px solid transparent;
  flex: 1;
  transition: background .15s, border-left-color .15s;
}
.f2n-hero-a__item:last-child { border-bottom: none; }
.f2n-hero-a__item:hover { background: #fff8f7; border-left-color: rgba(192,57,43,.3); }
.f2n-hero-a__item--active { background: #fff3f2; border-left-color: var(--red, #c0392b); }

.f2n-hero-a__item-img {
  width: 68px; height: 52px; border-radius: 5px; overflow: hidden;
  flex-shrink: 0; background: #eef1f5;
}
.f2n-hero-a__item-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.f2n-hero-a__item:hover .f2n-hero-a__item-img img { transform: scale(1.06); }

.f2n-hero-a__item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.f2n-hero-a__item-cat {
  font-family: var(--font-ui, sans-serif); font-size: 9px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--red, #c0392b);
}
.f2n-hero-a__item-title {
  font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-xs, 13px); font-weight: 600;
  color: var(--ink-2, #1e2535); line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.f2n-hero-a__item:hover .f2n-hero-a__item-title { color: var(--red, #c0392b); }
.f2n-hero-a__item--active .f2n-hero-a__item-title { color: var(--ink, #0f1117); }
.f2n-hero-a__item-date { font-family: var(--font-ui, sans-serif); font-size: var(--f2n-font-xs, 13px); color: var(--muted, #6b7280); margin-top: 1px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) { .f2n-hero-a { grid-template-columns: 1fr 260px; height: 460px; } }
@media (max-width: 820px) {
  .f2n-hero-a { grid-template-columns: 1fr 220px; height: 420px; }
  .f2n-slide__excerpt { display: none; }
  .f2n-hero-a__item-img { width: 54px; height: 42px; }
}
@media (max-width: 640px) {
  .f2n-container {
    padding: 24px;
  }
  .f2n-hero { padding: 0; }
  .f2n-hero-a { grid-template-columns: 1fr; grid-template-rows: 300px auto; height: auto; border-radius: 0; }
  .f2n-hero-a__list { max-height: none; border-left: none; border-top: 1px solid var(--line, #e8edf2); max-height: 220px; }
  .f2n-hero-a__items { overflow-y: auto; }
  .f2n-hero-a__item { flex: none; }
  .f2n-slide__content { padding: 0 16px 28px; }
  .f2n-slider__arrow { display: none; }
  .f2n-slider__dots { left: 16px; bottom: 10px; }
}