/* ============================================
   Сміла Онлайн — style.css
   Mobile-first, Ukraine colors
   Blue: #005BBB | Yellow: #FFD700 | White: #FFFFFF
   ============================================ */

/* ============================================
   NEWS TICKER
   ============================================ */
.ticker-wrap {
  background: #0f172a;
  color: #e2e8f0;
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 201;
  border-bottom: 1px solid rgba(255,215,0,0.2);
  user-select: none;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFD700;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 14px;
  height: 100%;
  flex-shrink: 0;
  white-space: nowrap;
}

.ticker-inner {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker-track:hover,
.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.82rem;
  padding: 0 40px;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}

.ticker-item::after {
  content: '·';
  position: absolute;
  right: 0;
  color: #FFD700;
  font-size: 1.2rem;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.ticker-item:hover {
  color: #FFD700;
}

.ticker-item a {
  color: inherit;
  text-decoration: none;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 480px) {
  .ticker-label { padding: 0 10px; font-size: 0.65rem; }
  .ticker-item  { font-size: 0.78rem; padding: 0 28px; }
}

/* ============================================
   LIVE CITY HUB — original light visual system
   ============================================ */
.city-hero,
.featured-section,
.utility-section,
.engagement-section {
  background:
    radial-gradient(circle at top left, rgba(0, 91, 187, 0.08), transparent 34rem),
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.16), transparent 28rem),
    linear-gradient(135deg, #f0f5ff 0%, #fff9e6 100%);
  color: var(--text);
}

.city-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
}

.city-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 91, 187, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 187, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.city-hero__inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.city-hero__main,
.city-hero__status,
.featured-card,
.status-card,
.utility-card,
.engagement-panel,
.poll-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.city-hero__main {
  border-radius: 28px;
  padding: clamp(1.25rem, 5vw, 3rem);
}

.live-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.live-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.75);
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.city-hero__title {
  max-width: 820px;
  color: var(--dark);
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 1rem;
}

.city-hero__lead {
  max-width: 620px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.city-hero__photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 91, 187, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  margin: 0 0 1.5rem;
  background: var(--white);
}

.city-hero__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
}

.city-hero__photo figcaption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  width: fit-content;
  max-width: calc(100% - 1.6rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0.45rem 0.75rem;
  box-shadow: 0 8px 26px rgba(26, 26, 46, 0.12);
}

.city-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.city-hero__status {
  border-radius: 24px;
  padding: 1rem;
}

.city-status-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-card {
  min-height: 112px;
  border-radius: 18px;
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.status-card:hover,
.featured-card:hover,
.utility-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 91, 187, 0.24);
  background: var(--white);
}

.status-card__label {
  display: block;
  color: var(--text-light);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.status-card__value {
  display: block;
  color: var(--dark);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.15;
}

.status-card__meta {
  display: block;
  color: var(--text-light);
  font-size: 0.78rem;
  margin-top: 0.55rem;
}

.section__header--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.featured-section .section__title,
.utility-section .section__title,
.engagement-section .section__title {
  color: var(--dark);
}

.section-link {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.featured-grid {
  display: grid;
  gap: 1rem;
}

.featured-card {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  border-radius: 24px;
  padding: 1.1rem;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.featured-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(0, 91, 187, 0.12);
}

.featured-card--primary {
  min-height: 320px;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(0, 91, 187, 0.08), rgba(255, 215, 0, 0.18)),
    var(--white);
}

.featured-card__kicker,
.news-card__recent {
  width: fit-content;
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  background: rgba(0, 91, 187, 0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.featured-card__title {
  color: var(--dark);
  font-size: 1.18rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.featured-card--primary .featured-card__title {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
}

.featured-card__desc,
.featured-card__meta {
  color: var(--text-light);
}

.utility-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.utility-card {
  border-radius: 18px;
  padding: 1rem;
  color: var(--dark);
  font-weight: 800;
  min-height: 104px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.utility-card span {
  display: block;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.reaction-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.reaction-btn:hover,
.reaction-btn--active {
  transform: translateY(-1px);
  background: rgba(0, 91, 187, 0.08);
  border-color: rgba(0, 91, 187, 0.24);
}

.poll-card {
  border-radius: 22px;
  padding: 1.1rem;
  color: var(--text);
}

.poll-card__options {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.poll-card__options button,
.mobile-bottom-nav button {
  font: inherit;
}

.poll-card__options button {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  text-align: left;
  cursor: pointer;
}

.poll-card--voted .poll-card__options button {
  opacity: 0.7;
}

.engagement-panel {
  border-radius: 26px;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: grid;
  gap: 1rem;
  align-items: center;
}

.mobile-bottom-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 250;
  display: flex;
  justify-content: space-around;
  gap: 0.25rem;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 750;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  body { padding-bottom: 72px; }
}

@media (min-width: 768px) {
  .city-hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  }

  .featured-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .featured-card--primary {
    grid-row: span 2;
  }

  .utility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .engagement-panel {
    grid-template-columns: 1fr auto;
  }

  .mobile-bottom-nav {
    display: none;
  }
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #005BBB;
  --blue-dark: #004494;
  --blue-light: #1a75d6;
  --yellow: #FFD700;
  --yellow-dark: #e6c200;
  --white: #FFFFFF;
  --dark: #1a1a2e;
  --gray: #f5f7fa;
  --gray-mid: #e8edf5;
  --text: #2c3e50;
  --text-light: #6b7a99;
  --green: #27ae60;
  --orange: #e67e22;
  --purple: #8e44ad;

  /* === SURFACE / BORDER TOKENS === */
  --surface: #ffffff;
  --border: #e2e8f0;
  --text-secondary: #6b7a99;
  --text-muted: #9ca3af;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 91, 187, 0.12);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;

  --container: 1200px;
  --gap: 1.5rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* === SECTION === */
.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.section__desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 91, 187, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.btn--yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
}

.btn--header {
  background: var(--blue);
  color: var(--white);
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  display: none;
}

@media (min-width: 640px) {
  .btn--header {
    display: inline-flex;
  }
}

.btn--large {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  min-height: 36px;
}

.btn--channel {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green:hover { background: #219a52; }
.btn--orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--orange:hover { background: #c0680a; }
.btn--purple { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn--purple:hover { background: #7a3796; }

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.logo__img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

/* Лого на чорному полотні — органічно в світлій шапці */
.header .logo {
  padding: 5px 12px 6px;
  border-radius: 12px;
  background: radial-gradient(135% 160% at 15% 12%, #1a2230 0%, #07090e 52%, #050608 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 14px rgba(0, 91, 187, 0.14);
  transition: box-shadow var(--transition), transform var(--transition);
}

.header .logo:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 4px 18px rgba(0, 91, 187, 0.22);
}

.header .logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.header .logo__img {
  height: 38px;
  max-width: min(200px, 46vw);
}

.logo__text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo__text strong {
  color: var(--blue);
  font-weight: 800;
}

/* === NAV === */
.nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 0.25rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--blue);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}
.nav__link--active {
  color: var(--blue);
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #fff9e6 100%);
  padding: 3rem 0 2rem;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--yellow) 50%);
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 91, 187, 0.1);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero__title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.25rem;
  }
}

.hero__accent {
  color: var(--blue);
  position: relative;
}

.hero__accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.stat__num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.stat__divider {
  width: 1px;
  height: 2.5rem;
  background: var(--gray-mid);
}

/* Phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 220px;
  background: var(--dark);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 2px rgba(255,255,255,0.1) inset;
  animation: float 4s ease-in-out infinite;
}

@media (min-width: 640px) {
  .phone-mockup {
    width: 260px;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-mockup__screen {
  background: #f0f2f5;
  border-radius: 18px;
  overflow: hidden;
}

.chat-preview {
  padding: 0.75rem;
}

.chat-preview__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  margin: -0.75rem -0.75rem 0.75rem;
  padding: 0.6rem 0.75rem;
}

.chat-preview__avatar {
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-preview__name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
}

.chat-preview__sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

.chat-preview__messages {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.msg {
  background: var(--white);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* === CHANNELS GRID === */
.channels__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .channels__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .channels__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.channel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.channel-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.channel-card__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.channel-card__meta {
  flex: 1;
  min-width: 0;
}

.channel-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-card__handle {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
}

.channel-card__badge {
  background: var(--gray);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  flex-shrink: 0;
}

.channel-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.channel-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag {
  background: var(--gray);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}

/* Card accent borders */
.channel-card--news { border-top: 3px solid var(--blue); }
.channel-card--jobs { border-top: 3px solid var(--green); }
.channel-card--auto { border-top: 3px solid var(--orange); }
.channel-card--realty { border-top: 3px solid var(--purple); }

/* === BOT SECTION === */
.bot-section {
  background: var(--gray);
}

.bot-section__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bot-section__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.bot-section__label {
  display: inline-block;
  background: rgba(0,91,187,0.1);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.bot-section__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .bot-section__title {
    font-size: 2.25rem;
  }
}

.bot-section__desc {
  color: var(--text-light);
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.bot-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bot-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bot-feature__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.bot-feature strong {
  display: block;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.bot-feature span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Bot visual card */
.bot-section__visual {
  display: flex;
  justify-content: center;
}

.bot-card {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bot-card__header {
  background: var(--blue);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bot-card__avatar {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-card__name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.bot-card__status {
  font-size: 0.8rem;
  color: #4ade80;
  font-weight: 500;
}

.bot-card__chat {
  padding: 1rem;
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bot-msg {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bot-msg--bot {
  background: var(--white);
  color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.bot-cmd-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.bot-cmd {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.bot-cmd:hover {
  background: var(--blue);
  color: var(--white);
}

/* === ABOUT === */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .about__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition);
}

.about-card:hover {
  transform: translateY(-3px);
}

.about-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,215,0,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.cta-banner__text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .cta-banner__text h2 {
    font-size: 1.85rem;
  }
}

.cta-banner__text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.cta-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  flex-shrink: 0;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding-top: 3rem;
}

.footer__inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.logo--footer .logo__img {
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
  padding: 0;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
}

.logo--footer .logo:hover .logo__img {
  filter: drop-shadow(0 3px 18px rgba(0, 91, 187, 0.35));
}

.logo--footer:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 6px;
}

.logo--footer .logo__text {
  color: var(--white);
}

.logo--footer .logo__text strong {
  color: var(--yellow);
}

/* === "ЩО ЦЕ ОЗНАЧАЄ" + FAQ (AI Overviews / EEAT) === */
.article-meaning {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--blue);
  background: rgba(0, 91, 187, 0.05);
  border-radius: 0 10px 10px 0;
}

.article-meaning__heading {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.article-meaning p {
  margin: 0 0 0.6rem;
  color: var(--text);
  line-height: 1.6;
}

.article-meaning p:last-child {
  margin-bottom: 0;
}

.article-faq {
  margin-top: 2.25rem;
}

.article-faq__heading {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text);
}

.article-faq__item {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(0, 91, 187, 0.12);
}

.article-faq__item:first-of-type {
  border-top: 1px solid rgba(0, 91, 187, 0.12);
}

.article-faq__q {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--blue);
}

.article-faq__a {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

/* === EVERGREEN SECTIONS === */
.article-section {
  margin-top: 1.75rem;
}

.article-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.article-section ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.article-section li {
  margin: 0.35rem 0;
  line-height: 1.5;
}

/* === RELATED ARTICLES (внутрішня перелінковка) === */
.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 91, 187, 0.15);
}

.related__heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text);
}

.related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .related__list {
    grid-template-columns: 1fr 1fr;
  }
}

.related__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 91, 187, 0.18);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.related__link:hover {
  border-color: var(--blue);
  background: rgba(0, 91, 187, 0.04);
}

.related__link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.related__cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.related__title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer__tagline {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer__nav-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer__channels ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__channels a,
.footer__contact a,
.footer__contact span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  display: block;
}

.footer__channels a:hover,
.footer__contact a:hover {
  color: var(--yellow);
}

.footer__bottom {
  padding: 1.25rem 0;
}

.footer__bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

@media (min-width: 640px) {
  .footer__bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* === FOCUS STYLES (accessibility) === */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}


/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 600;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 91, 187, 0.35);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  display: none;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  display: flex;
}
.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .back-to-top {
    bottom: 90px;
    right: 12px;
  }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
  .channel-card,
  .about-card {
    animation: fadeInUp 0.5s ease both;
  }

  .channel-card:nth-child(2) { animation-delay: 0.1s; }
  .channel-card:nth-child(3) { animation-delay: 0.2s; }
  .channel-card:nth-child(4) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === PRINT === */
@media print {
  .header, .cta-banner, .footer { display: none; }
  .btn { border: 1px solid #000; }
}

/* ============================================
   NEWS FEED SECTION
   ============================================ */

/* === Filters === */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.news-filter {
  padding: 8px 16px;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.news-filter:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.news-filter--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.news-filter--jobs.news-filter--active  { background: #16a34a; border-color: #16a34a; }
.news-filter--auto.news-filter--active  { background: #d97706; border-color: #d97706; }
.news-filter--realty.news-filter--active { background: #7c3aed; border-color: #7c3aed; }

/* === Grid === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

/* === Skeleton === */
.news-skeleton {
  height: 200px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--border) 25%, #e8e8e8 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === News Card === */
.news-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 91, 187, 0.12);
}

/* Кольорова смужка зверху по канальному кольору */
.news-card--blue   { border-top: 3px solid var(--blue); }
.news-card--green  { border-top: 3px solid #16a34a; }
.news-card--orange { border-top: 3px solid #d97706; }
.news-card--purple { border-top: 3px solid #7c3aed; }

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-card__channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.news-card--blue   .news-card__channel-badge { background: #eff6ff; color: var(--blue); }
.news-card--green  .news-card__channel-badge { background: #f0fdf4; color: #16a34a; }
.news-card--orange .news-card__channel-badge { background: #fffbeb; color: #d97706; }
.news-card--purple .news-card__channel-badge { background: #f5f3ff; color: #7c3aed; }

.news-card__date {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
  margin-left: auto;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.news-card__tg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.news-card__tg-link:hover { opacity: 0.85; }

.news-card--blue   .news-card__tg-link { background: var(--blue); color: #fff; }
.news-card--green  .news-card__tg-link { background: #16a34a; color: #fff; }
.news-card--orange .news-card__tg-link { background: #d97706; color: #fff; }
.news-card--purple .news-card__tg-link { background: #7c3aed; color: #fff; }

.news-card__subscribe {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
}
.news-card__subscribe:hover { color: var(--blue); }

/* === Photo === */
.news-card__photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin: -4px 0 4px;
}

/* === Empty / Error === */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.news-empty__icon { font-size: 3rem; margin-bottom: 12px; }

/* === Load more === */
.news-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.news-updated {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
}

/* === Dark mode === */
@media (prefers-color-scheme: dark) {
  .news-skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
  }
  .news-card--blue   .news-card__channel-badge { background: rgba(0,91,187,0.2); }
  .news-card--green  .news-card__channel-badge { background: rgba(22,163,74,0.2); }
  .news-card--orange .news-card__channel-badge { background: rgba(217,119,6,0.2); }
  .news-card--purple .news-card__channel-badge { background: rgba(124,58,237,0.2); }
}

/* === Mobile === */
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-filters {
    gap: 6px;
  }
  .news-filter {
    padding: 6px 12px;
    font-size: 0.8125rem;
  }
}

/* ============================================
   ALERT BAR (тривога + погода)
   ============================================ */
.alert-bar {
  background: #1a1a2e;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 6px 0;
  position: sticky;
  top: 0;
  z-index: 200;
}
.alert-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.alert-bar__status { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.alert-bar__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6b7280;
  flex-shrink: 0;
  transition: background 0.3s;
}
.alert-bar__dot--safe    { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.alert-bar__dot--danger  { background: #ef4444; box-shadow: 0 0 6px #ef4444; animation: pulse 1s infinite; }
.alert-bar__dot--loading { background: #6b7280; }
.alert-bar__weather {
  color: #94a3b8;
  font-size: 0.8rem;
  max-width: min(42vw, 360px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ============================================
   CONTACTS SECTION
   ============================================ */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: 0 4px 20px rgba(0,91,187,0.1); }
.contact-card__icon { font-size: 2rem; }
.contact-card__name { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.contact-card__phone {
  font-size: 1.25rem; font-weight: 700;
  color: var(--blue); text-decoration: none;
  letter-spacing: 0.5px;
}
.contact-card__phone:hover { text-decoration: underline; }
.contact-card__desc { font-size: 0.8125rem; color: var(--text-secondary); }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 12px;
  transition: background 0.2s;
}
.faq-question:hover { background: #f0f4ff; }
.faq-icon {
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.faq-answer[hidden] { display: none; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--blue); }

/* ============================================
   NEWS → Telegram CTA
   ============================================ */
.news-tg-cta {
  text-align: center;
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-radius: 16px;
  border: 1px solid #bfdbfe;
}
.news-tg-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-main {
  padding: 2rem 0 4rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.3rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article__header {
  margin-bottom: 2rem;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article__category a {
  display: inline-block;
  background: rgba(0,91,187,0.1);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-decoration: none;
}
.article__category a:hover { background: var(--blue); color: #fff; }

.article__date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.article__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .article__title { font-size: 2.25rem; }
}

.article__lead {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
  margin: 0;
}

.article__image {
  overflow: hidden;
  margin: 1.5rem 0 0;
  border-radius: 22px;
  border: 1px solid rgba(0, 91, 187, 0.12);
  box-shadow: var(--shadow-card);
  background: var(--gray);
}

.article__image img {
  display: block;
  width: 100%;
  height: auto;
}

.article__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin: 2rem 0;
}
.article__body p { margin-bottom: 1.25rem; }
.article__body p:last-child { margin-bottom: 0; }

.article__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-tag {
  background: var(--gray);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.article__source {
  font-size: 0.85rem;
  color: var(--text-light);
}
.article__source a { color: var(--blue); }

.article__tg-cta {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.article__tg-cta p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ============================================
   CHANNELS SECTION
   ============================================ */
.channels-section {
  background: var(--gray);
}

/* ============================================
   BOT SECTION
   ============================================ */
.bot-section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ============================================
   ABOUT SEO TEXT
   ============================================ */
.about__seo-text {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.about__seo-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.about__seo-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}
.about__seo-text p:last-child { margin-bottom: 0; }
.about__seo-text a { color: var(--blue); }

/* ============================================
   SCROLL CTA BANNER
   ============================================ */
.scroll-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  width: calc(100% - 32px);
  max-width: 480px;
  animation: slideUp 0.4s ease;
}
.scroll-cta__inner {
  background: #1e293b;
  color: #f8fafc;
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  flex-wrap: wrap;
}
.scroll-cta__inner span { font-size: 0.9rem; flex: 1; }
.scroll-cta__close {
  background: none; border: none; color: #94a3b8;
  cursor: pointer; font-size: 1rem; padding: 2px 6px;
  border-radius: 6px;
}
.scroll-cta__close:hover { color: #f8fafc; background: rgba(255,255,255,0.1); }
@keyframes slideUp { from { opacity:0; transform: translateX(-50%) translateY(20px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

@media (max-width: 640px) {
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .alert-bar__weather { display: none; }
  .scroll-cta__inner { flex-wrap: nowrap; }
}

/* Мітка "Нове" на картках */
.news-card__recent {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ef4444;
  animation: pulse 1.5s infinite;
  white-space: nowrap;
}

/* ============================================
   ABOUT CITY SECTION
   ============================================ */
.about-city__content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.about-city__text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-city__text p:last-child { margin-bottom: 0; }
.about-city__text a { color: var(--blue); font-weight: 500; }
.about-city__text strong { color: var(--text); }

.about-city__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 300px;
}
.city-symbol-card {
  grid-column: 1 / -1;
  overflow: hidden;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(0, 91, 187, 0.04), rgba(255, 215, 0, 0.08)),
    var(--surface);
  border: 1px solid rgba(0, 91, 187, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.city-symbol-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 260px;
  padding: 18px 18px 8px;
  background: rgba(255, 255, 255, 0.72);
}
.city-symbol-card__image img {
  display: block;
  width: min(100%, 220px);
  height: auto;
  filter: contrast(1.04);
}
.city-symbol-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 16px;
}
.city-symbol-card strong {
  color: var(--blue);
  font-size: 0.95rem;
  line-height: 1.2;
}
.city-symbol-card span {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
}
.city-fact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.city-fact__icon { font-size: 1.5rem; flex-shrink: 0; }
.city-fact div { display: flex; flex-direction: column; }
.city-fact strong { font-size: 0.9375rem; color: var(--text); line-height: 1.2; }
.city-fact span { font-size: 0.75rem; color: var(--text-secondary); }

@media (max-width: 768px) {
  .about-city__content { grid-template-columns: 1fr; }
  .about-city__facts { grid-template-columns: repeat(4, 1fr); min-width: unset; }
  .city-symbol-card { grid-column: 1 / -1; }
  .city-symbol-card__image { max-height: 220px; }
  .city-symbol-card__image img { width: min(100%, 180px); }
}
@media (max-width: 480px) {
  .about-city__facts { grid-template-columns: 1fr 1fr; }
}
