/* ==========================================================
   АлматыНьюс — Main Stylesheet
   Hybrid structure: modern news portal
   ========================================================== */

:root {
  --red:      #e63946;
  --red-dark: #c1121f;
  --blue:     #1d6fa4;
  --blue-lt:  #4ea8de;
  --green:    #2a9d3f;
  --green-lt: #52b788;
  --purple:   #7b2d8b;
  --purple-lt:#b67dd4;
  --orange:   #e07b25;
  --teal:     #0a9396;
  --pink:     #c9184a;
  --dark:     #12161c;
  --dark2:    #1e2530;
  --dark3:    #2b3240;
  --gray:     #4a5568;
  --gray-lt:  #718096;
  --bg:       #f7f8fa;
  --bg2:      #edf2f7;
  --white:    #ffffff;
  --border:   #e2e8f0;
  --radius:   10px;
  --shadow:   0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:0 8px 32px rgba(0,0,0,.14);
  --font:     'Inter', system-ui, sans-serif;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--dark); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── UTILITY ────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-spaced { margin-top: 56px; }
.section-title {
  font-size: 1.45rem; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: 10px;
}
.section-title-center { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--gray-lt); margin-bottom: 36px; }
.title-accent { display: inline-block; width: 5px; height: 22px; border-radius: 3px; }
.title-red    { background: var(--red); }
.title-blue   { background: var(--blue); }
.title-green  { background: var(--green); }
.title-purple { background: var(--purple); }
.title-pink   { background: var(--pink); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.view-all { font-size: .85rem; font-weight: 600; color: var(--blue); display:flex; align-items:center; gap:4px; }
.view-all:hover { color: var(--red); }

/* BADGES */
.category-badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  padding: 2px 9px; border-radius: 20px; text-transform: uppercase; margin-bottom: 6px;
}
.badge-red    { background: var(--red); color: #fff; }
.badge-blue   { background: var(--blue); color: #fff; }
.badge-green  { background: var(--green); color: #fff; }
.badge-purple { background: var(--purple); color: #fff; }
.badge-orange { background: var(--orange); color: #fff; }
.badge-teal   { background: var(--teal); color: #fff; }
.badge-pink   { background: var(--pink); color: #fff; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: .9rem;
  transition: all .2s; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: #f0f0f0; }
.btn-telegram { background: #2CA5E0; color: #fff; }
.btn-telegram:hover { background: #1a8bc4; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }

/* ── BREAKING BAR ───────────────────────────────────────── */
.breaking-bar {
  background: var(--dark);
  color: #fff;
  display: flex; align-items: center;
  height: 38px; overflow: hidden;
  position: sticky; top: 0; z-index: 1000;
}
.breaking-label {
  background: var(--red); padding: 0 16px;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  height: 100%; display: flex; align-items: center; gap: 6px;
  white-space: nowrap; flex-shrink: 0;
}
.ticker-wrapper { overflow: hidden; flex: 1; height: 100%; display: flex; align-items: center; }
.ticker-content {
  display: flex; white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
  font-size: .8rem; color: #cdd5e0;
}
.ticker-content span { padding-right: 40px; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SITE HEADER ────────────────────────────────────────── */
.site-header {
  background: var(--dark2);
  border-bottom: 3px solid var(--red);
  position: sticky; top: 38px; z-index: 900;
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px; background: var(--red);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; flex-shrink: 0;
}
.logo-main { font-size: 1.25rem; font-weight: 900; color: #fff; font-family: 'Playfair Display', serif; }
.logo-sub  { font-size: .68rem; color: #8899aa; display: block; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  color: #c8d5e0; font-size: .85rem; font-weight: 600;
  padding: 8px 13px; border-radius: 6px; transition: all .2s;
}
.main-nav a:hover, .main-nav a.active { background: var(--red); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-form {
  display: flex; align-items: center;
  background: #2b3240; border-radius: 22px; overflow: hidden;
  border: 1px solid #3d4c5e;
}
.search-form input {
  background: transparent; border: none; outline: none; color: #fff;
  padding: 8px 14px; font-size: .82rem; width: 200px;
}
.search-form input::placeholder { color: #7a8fa0; }
.search-form button {
  background: var(--red); color: #fff; border: none;
  padding: 8px 14px; transition: background .2s;
}
.search-form button:hover { background: var(--red-dark); }
.burger-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger-btn span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all .3s;
}

/* MOBILE NAV */
.mobile-nav {
  display: none; background: var(--dark2); padding: 16px;
  border-bottom: 2px solid var(--red);
}
.mobile-nav.open { display: block; }
.mobile-nav li { border-bottom: 1px solid #2b3240; }
.mobile-nav a { display: block; padding: 12px 8px; color: #c8d5e0; font-weight: 600; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb-nav { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 8px 0; }
.breadcrumb { display: flex; gap: 6px; font-size: .8rem; color: var(--gray-lt); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 6px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--red); }

/* ── HERO SECTION ───────────────────────────────────────── */
.hero-section {
  background: var(--dark2);
  padding: 40px 0 44px;
  position: relative;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(230,57,70,.15) 0%, transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px;
  align-items: start; position: relative;
}
.hero-main h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem; line-height: 1.25; color: #fff;
  margin: 10px 0 18px;
}
.hero-lead { font-size: 1.05rem; color: #9bb0c5; margin-bottom: 22px; line-height: 1.7; }
.hero-meta {
  display: flex; gap: 20px; font-size: .8rem; color: #6a8099;
  margin-bottom: 22px; flex-wrap: wrap; align-items: center;
}
.hero-meta i { color: var(--red); margin-right: 4px; }

.hero-sidebar {
  background: #1e2530; border-radius: 12px; padding: 22px;
  border: 1px solid #2b3748;
}
.sidebar-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--red); }
.top-news-list { display: flex; flex-direction: column; gap: 14px; }
.top-news-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding-bottom: 12px; border-bottom: 1px solid #2b3748;
}
.top-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.rank {
  font-size: 1.5rem; font-weight: 900; color: #2b3748; line-height: 1;
  min-width: 32px; font-family: 'Playfair Display', serif;
}
.top-news-item h3 { font-size: .82rem; line-height: 1.4; margin: 4px 0; }
.top-news-item h3 a { color: #c8d5e0; }
.top-news-item h3 a:hover { color: var(--red); }
.top-news-item time { font-size: .72rem; color: #6a8099; display: flex; align-items: center; gap: 4px; }
.top-news-item time i { color: var(--red); }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar { background: var(--red); padding: 20px 0; }
.stats-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 12px; color: #fff; flex: 1; min-width: 160px; }
.stat-icon { font-size: 1.6rem; opacity: .85; }
.stat-num { font-size: 1.3rem; font-weight: 800; display: block; line-height: 1; }
.stat-label { font-size: .72rem; opacity: .85; }

/* ── CAPTURE BLOCKS ─────────────────────────────────────── */
.capture-block { padding: 40px 20px; margin: 40px 0; }
.capture-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.capture-center { justify-content: center; text-align: center; flex-direction: column; }
.capture-gradient-1 { background: linear-gradient(135deg, #1d6fa4 0%, #0a9396 100%); border-radius: 16px; }
.capture-gradient-2 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%); border-radius: 16px; }
.capture-gradient-3 { background: linear-gradient(135deg, #7b2d8b 0%, #c9184a 100%); border-radius: 16px; }
.capture-gradient-4 { background: linear-gradient(135deg, #e07b25 0%, #e63946 100%); border-radius: 16px; }

.capture-text h2 { color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.capture-text p  { color: rgba(255,255,255,.85); font-size: .95rem; max-width: 560px; }
.capture-form { display: flex; gap: 10px; flex-wrap: wrap; }
.capture-form input {
  padding: 12px 18px; border-radius: 8px; border: none; outline: none;
  font-size: .9rem; min-width: 260px; font-family: var(--font);
}
.capture-features { margin-top: 12px; list-style: none; }
.capture-features li { color: rgba(255,255,255,.9); font-size: .88rem; margin-bottom: 6px; }
.capture-features i { color: #fff; margin-right: 6px; }
.capture-icon-big { font-size: 3.5rem; color: #2CA5E0; }

/* ── MAIN LAYOUT (2 col) ────────────────────────────────── */
.main-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 36px;
  margin-top: 36px; align-items: start;
}

/* ── NEWS GRIDS ─────────────────────────────────────────── */
.news-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* NEWS CARD */
.news-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-featured { grid-row: span 2; }

.card-image {
  height: 190px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-image .category-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0;
}
.card-image-inner { color: rgba(255,255,255,.4); }

/* Image color themes */
.politics-img  { background: linear-gradient(135deg, #1d2952, #c1121f); }
.city-img      { background: linear-gradient(135deg, #2b3240, #e63946); }
.gov-img       { background: linear-gradient(135deg, #1a1a2e, #4a5568); }
.econ-img      { background: linear-gradient(135deg, #0a2e50, #1d6fa4); }
.biz-img       { background: linear-gradient(135deg, #1a3a1a, #2a9d3f); }
.realty-img    { background: linear-gradient(135deg, #3d1a00, #e07b25); }
.tourism-img   { background: linear-gradient(135deg, #00383b, #0a9396); }
.edu-img       { background: linear-gradient(135deg, #2d0845, #7b2d8b); }
.culture1      { background: linear-gradient(135deg, #3d0018, #c9184a); }
.culture2      { background: linear-gradient(135deg, #1a0828, #7b2d8b); }
.culture3      { background: linear-gradient(135deg, #1a1a2e, #1d6fa4); }
.sport1        { background: linear-gradient(135deg, #0d2a0d, #2a9d3f); }
.sport2        { background: linear-gradient(135deg, #0a1d36, #1d6fa4); }
.sport3        { background: linear-gradient(135deg, #3d1a00, #e07b25); }
.sport4        { background: linear-gradient(135deg, #2d0845, #7b2d8b); }

.card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: .92rem; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.card-body h3 a:hover { color: var(--red); }
.card-body p { font-size: .82rem; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 10px; }
.card-meta {
  display: flex; gap: 12px; font-size: .74rem; color: var(--gray-lt);
  margin-top: auto; align-items: center; flex-wrap: wrap;
}
.card-meta i { color: var(--red); margin-right: 3px; }
.card-meta time { display: flex; align-items: center; }

/* HORIZONTAL CARD */
.card-horizontal { flex-direction: row; align-items: stretch; }
.card-image-sm {
  width: 130px; min-width: 130px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.card-image-sm .card-image-inner { color: rgba(255,255,255,.4); }

/* MINI CARD */
.news-card-mini {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s;
}
.news-card-mini:hover { transform: translateY(-3px); }
.mini-img {
  height: 130px; display: flex; align-items: center; justify-content: center;
}
.mini-img-inner { color: rgba(255,255,255,.35); }
.news-card-mini h3 { font-size: .84rem; font-weight: 700; line-height: 1.4; padding: 10px 14px 6px; }
.news-card-mini h3 a:hover { color: var(--red); }
.news-card-mini time { display: flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--gray-lt); padding: 0 14px 12px; }
.news-card-mini .category-badge { margin: 8px 14px 0; display: block; }

/* MOSAIC */
.news-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 18px;
}
.mosaic-main {
  grid-column: 1 / 2; grid-row: 1 / 4;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.mosaic-img {
  height: 260px; display: flex; align-items: center; justify-content: center;
}
.mosaic-img-inner { color: rgba(255,255,255,.4); }
.mosaic-body { padding: 18px 20px; }
.mosaic-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.mosaic-body h3 a:hover { color: var(--red); }
.mosaic-body p { font-size: .84rem; color: var(--gray); line-height: 1.6; margin-bottom: 10px; }

.mosaic-small {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px;
}
.mosaic-small h3 { font-size: .86rem; font-weight: 700; line-height: 1.4; margin: 6px 0 8px; }
.mosaic-small h3 a:hover { color: var(--red); }
.mosaic-small time { font-size: .72rem; color: var(--gray-lt); display: flex; align-items: center; gap: 4px; }
.mosaic-small time i { color: var(--red); }

/* ── TABLES ─────────────────────────────────────────────── */
.table-section { }
.table-intro { color: var(--gray); text-align: center; max-width: 700px; margin: 0 auto 28px; font-size: .95rem; }
.table-responsive { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table {
  width: 100%; border-collapse: collapse; background: #fff;
  font-size: .88rem;
}
.data-table thead { background: var(--dark2); color: #fff; }
.data-table th {
  padding: 14px 16px; font-weight: 700; text-align: left;
  font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: #f0f5ff; }
.data-table tbody tr:last-child td { border-bottom: none; }
.up   { color: var(--green); font-weight: 700; }
.down { color: var(--red);   font-weight: 700; }
.today-row { background: #fffbeb !important; font-weight: 600; }

/* Districts table */
.districts-table td:nth-child(4) { color: var(--gray); font-size: .8rem; }

/* Weather table */
.weather-section { }

/* Events table */
.events-table td:nth-child(1) { font-weight: 700; color: var(--dark); white-space: nowrap; }

/* ── SIDEBAR ────────────────────────────────────────────── */
.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.widget {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px;
}
.widget-title {
  font-size: .95rem; font-weight: 800; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--red);
  display: flex; align-items: center; gap: 8px;
}
.widget-title i { color: var(--red); }

/* Weather widget */
.widget-weather { background: linear-gradient(135deg, #0a2e50, #1d6fa4); color: #fff; }
.widget-weather .widget-title { color: #fff; border-color: rgba(255,255,255,.3); }
.widget-weather .widget-title i { color: #ffd166; }
.weather-widget { }
.weather-main { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.weather-temp { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.weather-desc { font-size: .9rem; font-weight: 600; }
.weather-date { font-size: .75rem; opacity: .8; margin-top: 2px; }
.weather-details { display: flex; gap: 16px; font-size: .8rem; opacity: .85; }
.weather-details i { color: #7dd3fc; margin-right: 3px; }

/* Popular list */
.popular-list { counter-reset: pop; }
.popular-list li {
  counter-increment: pop; display: flex; align-items: baseline;
  gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .84rem;
}
.popular-list li:last-child { border-bottom: none; }
.popular-list li::before {
  content: counter(pop); min-width: 22px; height: 22px;
  background: var(--red); color: #fff;
  border-radius: 50%; font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.popular-list a { color: var(--dark); line-height: 1.35; }
.popular-list a:hover { color: var(--red); }

/* Subscribe widget */
.widget-subscribe form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.widget-subscribe input {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 7px;
  font-size: .85rem; outline: none; font-family: var(--font);
}
.widget-subscribe input:focus { border-color: var(--blue); }
.widget-subscribe p { font-size: .82rem; color: var(--gray); }

/* Social links */
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px; font-size: .85rem; font-weight: 600;
  color: #fff; transition: opacity .2s;
}
.social-btn span { margin-left: auto; font-size: .78rem; opacity: .85; }
.social-btn:hover { opacity: .88; color: #fff; }
.social-telegram  { background: #2CA5E0; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-youtube   { background: #FF0000; }
.social-facebook  { background: #1877F2; }

/* Categories */
.categories-list { display: flex; flex-direction: column; gap: 6px; }
.cat-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 7px;
  font-size: .84rem; font-weight: 500; color: var(--dark);
  transition: background .2s;
}
.cat-link:hover { background: var(--bg2); color: var(--red); }
.cat-link i { width: 16px; color: var(--red); }
.cat-count {
  margin-left: auto; background: var(--bg2); padding: 2px 8px;
  border-radius: 12px; font-size: .72rem; font-weight: 700; color: var(--gray-lt);
}

/* ── SEO TEXT BLOCK ─────────────────────────────────────── */
.seo-text-block {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 40px; border-left: 5px solid var(--blue);
}
.seo-text-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; margin-bottom: 24px; color: var(--dark);
}
.seo-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.seo-text-col p { font-size: .93rem; line-height: 1.75; color: var(--gray); margin-bottom: 14px; }
.seo-text-col p:last-child { margin-bottom: 0; }
.seo-text-col strong { color: var(--dark); font-weight: 700; }

/* ── TAGS CLOUD ─────────────────────────────────────────── */
.tags-section { background: var(--bg2); padding: 40px 20px; border-radius: 16px; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.tag {
  padding: 7px 16px; border-radius: 20px; font-size: .82rem; font-weight: 600;
  transition: opacity .2s;
}
.tag:hover { opacity: .8; }
.tag-red    { background: rgba(230,57,70,.12);  color: var(--red-dark); }
.tag-blue   { background: rgba(29,111,164,.12); color: var(--blue); }
.tag-green  { background: rgba(42,157,63,.12);  color: var(--green); }
.tag-purple { background: rgba(123,45,139,.12); color: var(--purple); }
.tag-orange { background: rgba(224,123,37,.12); color: var(--orange); }
.tag-teal   { background: rgba(10,147,150,.12); color: var(--teal); }
.tag-pink   { background: rgba(201,24,74,.12);  color: var(--pink); }

/* ── CITY FACTS ─────────────────────────────────────────── */
.city-facts-section { background: var(--bg2); padding: 56px 20px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.fact-card {
  background: #fff; border-radius: 14px; padding: 28px 26px;
  box-shadow: var(--shadow); border-top: 4px solid;
  transition: transform .2s;
}
.fact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fact-card i { font-size: 1.8rem; margin-bottom: 14px; }
.fact-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.fact-card p  { font-size: .85rem; color: var(--gray); line-height: 1.6; }
.fact-red    { border-color: var(--red);    } .fact-red    i { color: var(--red); }
.fact-blue   { border-color: var(--blue);   } .fact-blue   i { color: var(--blue); }
.fact-green  { border-color: var(--green);  } .fact-green  i { color: var(--green); }
.fact-purple { border-color: var(--purple); } .fact-purple i { color: var(--purple); }
.fact-orange { border-color: var(--orange); } .fact-orange i { color: var(--orange); }
.fact-teal   { border-color: var(--teal);   } .fact-teal   i { color: var(--teal); }

/* ── PARTNERS ───────────────────────────────────────────── */
.partners-section { padding: 44px 20px; background: #fff; }
.partners-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
.partner-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2); padding: 14px 22px; border-radius: 10px;
  font-size: .88rem; font-weight: 600; color: var(--gray);
  border: 1px solid var(--border); transition: all .2s;
}
.partner-item:hover { background: var(--dark2); color: #fff; }
.partner-item i { font-size: 1.1rem; color: var(--red); }

/* ── SITE FOOTER ────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #9bb0c5; margin-top: 60px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: 50px 20px;
}
.footer-logo {
  font-size: 1.35rem; font-weight: 900; color: #fff;
  font-family: 'Playfair Display', serif;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.footer-logo i { color: var(--red); }
.footer-col p { font-size: .85rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: #1e2530; display: flex; align-items: center; justify-content: center;
  color: #9bb0c5; font-size: 1rem; transition: all .2s;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 {
  font-size: .9rem; font-weight: 800; color: #fff;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: 8px; border-bottom: 2px solid var(--red);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { font-size: .85rem; color: #7a8fa0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { background: #0a0d12; border-top: 1px solid #1e2530; padding: 18px 20px; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .78rem; color: #4a5568; }
.footer-bottom strong { color: #7a8fa0; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: .78rem; color: #4a5568; }
.footer-legal a:hover { color: var(--red); }

/* ── PAGE STYLES (privacy, terms, faq) ─────────────────── */
.page-hero {
  background: var(--dark2); padding: 48px 20px 36px;
  text-align: center;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #fff; margin-bottom: 12px; }
.page-hero p  { color: #8899aa; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.page-body { max-width: 900px; margin: 0 auto; padding: 48px 20px 80px; }
.page-section { margin-bottom: 40px; }
.page-section h2 {
  font-size: 1.25rem; font-weight: 800; color: var(--dark);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.page-section h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 16px 0 8px; }
.page-section p  { font-size: .92rem; color: var(--gray); line-height: 1.75; margin-bottom: 12px; }
.page-section ul, .page-section ol {
  padding-left: 24px; margin-bottom: 12px;
}
.page-section ul { list-style: disc; }
.page-section ol { list-style: decimal; }
.page-section li { font-size: .9rem; color: var(--gray); line-height: 1.65; margin-bottom: 6px; }
.page-section a { color: var(--blue); }
.page-section a:hover { color: var(--red); }

/* FAQ ACCORDION */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 18px 20px;
  font-size: .95rem; font-weight: 700; color: var(--dark);
  background: #fff; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
}
.faq-question:hover { background: var(--bg2); }
.faq-question i { color: var(--red); transition: transform .3s; font-size: .85rem; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s;
  padding: 0 20px;
  font-size: .9rem; color: var(--gray); line-height: 1.7;
}
.faq-answer.open { max-height: 400px; padding: 0 20px 18px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid          { grid-template-columns: 1fr 320px; }
  .main-layout        { grid-template-columns: 1fr 280px; }
  .facts-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-top         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .news-grid-3        { grid-template-columns: repeat(2, 1fr); }
  .news-grid-4        { grid-template-columns: repeat(2, 1fr); }
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-sidebar       { display: none; }
  .main-layout        { grid-template-columns: 1fr; }
  .sidebar            { position: static; }
  .seo-text-grid      { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr 1fr; }
  .stats-grid         { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .main-nav           { display: none; }
  .burger-btn         { display: flex; }
  .search-form        { display: none; }
  .news-grid-3        { grid-template-columns: 1fr; }
  .news-grid-2        { grid-template-columns: 1fr; }
  .news-grid-4        { grid-template-columns: 1fr; }
  .news-mosaic        { grid-template-columns: 1fr; }
  .mosaic-main        { grid-column: auto; grid-row: auto; }
  .facts-grid         { grid-template-columns: 1fr; }
  .hero-main h1       { font-size: 1.5rem; }
  .capture-inner      { flex-direction: column; }
  .capture-form       { flex-direction: column; }
  .capture-form input { min-width: 100%; }
  .card-horizontal    { flex-direction: column; }
  .card-image-sm      { width: 100%; height: 120px; }
  .footer-top         { grid-template-columns: 1fr; }
  .footer-bottom-inner{ flex-direction: column; text-align: center; }
  .stats-bar          { display: none; }
  .partners-grid      { gap: 12px; }
}
@media (max-width: 480px) {
  .breaking-bar .ticker-wrapper { font-size: .72rem; }
  .logo-sub           { display: none; }
  .btn                { padding: 10px 18px; font-size: .85rem; }
  .data-table th,
  .data-table td      { padding: 10px 12px; font-size: .8rem; }
  .page-hero h1       { font-size: 1.6rem; }
}
