/* ============================================================
   Future Andhra English – Main Stylesheet
   Design: Editorial Magazine with Crimson + Ink palette
   Fonts: Merriweather (serif headlines) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Oswald:wght@600;700&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --crimson:    #c1121f;
  --crimson-dk: #9d0f19;
  --crimson-lt: #f8d7da;
  --ink:        #0d0d0d;
  --ink-2:      #1a1a2e;
  --slate:      #2c3e50;
  --steel:      #4a5568;
  --mist:       #718096;
  --cloud:      #e2e8f0;
  --smoke:      #f7f8fa;
  --white:      #ffffff;
  --gold:       #d4a017;
  --teal:       #1a7a7a;
  --nav-bg:     #0d1b2a;
  --topbar-bg:  #0a0f1e;

  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-meta: 'Oswald', sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --container:  1240px;
  --gap:        24px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body   { font-family: var(--font-body); color: var(--ink); background: var(--smoke); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a      { text-decoration: none; color: inherit; transition: color .18s; }
img    { max-width: 100%; display: block; height: auto; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
figure { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sr-only   { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── TOP BAR ────────────────────────────────────────────── */
.topbar {
  background: var(--topbar-bg);
  color: #8899aa;
  font-size: 11.5px;
  font-family: var(--font-meta);
  letter-spacing: .4px;
  padding: 6px 0;
  border-bottom: 1px solid #1e2d3d;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-date { display: flex; align-items: center; gap: 6px; }
.topbar-date i { color: var(--crimson); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: #6699aa; font-size: 12px; transition: color .2s; }
.topbar-social a:hover { color: var(--white); }
.topbar-lang { display: flex; gap: 8px; }
.topbar-lang a { color: #6699aa; font-size: 11px; padding: 2px 6px; border-radius: 2px; border: 1px solid #2a3a4a; transition: all .2s; }
.topbar-lang a:hover, .topbar-lang a.active { background: var(--crimson); color: white; border-color: var(--crimson); }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 3px solid var(--crimson);
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo img { height: 60px; width: auto; object-fit: contain; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-search { display: flex; background: var(--smoke); border: 1.5px solid var(--cloud); border-radius: 40px; overflow: hidden; }
.header-search input { border: none; background: transparent; padding: 8px 14px; font-size: 13.5px; width: 220px; outline: none; color: var(--ink); }
.header-search button { padding: 8px 16px; background: var(--crimson); color: white; font-size: 13px; border-radius: 0 40px 40px 0; transition: background .2s; }
.header-search button:hover { background: var(--crimson-dk); }
.header-subscribe { padding: 8px 18px; background: var(--crimson); color: white; border-radius: 40px; font-size: 13px; font-weight: 600; transition: background .2s; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.header-subscribe:hover { background: var(--crimson-dk); color: white; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 23px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── NAVIGATION ─────────────────────────────────────────── */
.main-nav { background: var(--nav-bg); }
.main-nav .container { display: flex; align-items: stretch; position: relative; }
.nav-list { display: flex; flex-wrap: nowrap; overflow-x: auto; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  padding: 13px 15px;
  color: #c8d8e8; font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  white-space: nowrap; transition: all .2s;
  border-bottom: 2px solid transparent;
}
.nav-item > a:hover, .nav-item.active > a { color: white; border-bottom-color: var(--crimson); }
.nav-item.breaking-link > a { color: #ff6b6b; }
.nav-item > a .caret { font-size: 9px; margin-left: 2px; transition: transform .2s; }
.nav-item:hover > a .caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; z-index: 999;
  background: var(--white); min-width: 200px;
  box-shadow: var(--shadow-lg); border-top: 2px solid var(--crimson);
  border-radius: 0 0 var(--radius) var(--radius);
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 9px 16px; font-size: 13px; color: var(--slate); border-bottom: 1px solid var(--cloud); transition: all .15s; }
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--smoke); color: var(--crimson); padding-left: 22px; }

/* ── BREAKING NEWS TICKER ───────────────────────────────── */
.breaking-bar { background: var(--crimson); overflow: hidden; }
.breaking-bar .container { display: flex; align-items: center; height: 40px; }
.breaking-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.25); color: white;
  padding: 0 14px; height: 100%; flex-shrink: 0;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  font-family: var(--font-meta);
}
.breaking-badge i { animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.4 } }
.ticker-outer { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.ticker-inner { display: flex; gap: 80px; animation: ticker 50s linear infinite; white-space: nowrap; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-inner a { color: rgba(255,255,255,.92); font-size: 13px; font-weight: 500; flex-shrink: 0; transition: color .2s; }
.ticker-inner a:hover { color: white; text-decoration: underline; }
@keyframes ticker { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--cloud); padding: 10px 0; font-size: 12.5px; color: var(--mist); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--cloud); }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb li:last-child { color: var(--mist); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 280px; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.page-body { padding: 28px 0 48px; }
.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: var(--gap); align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: var(--gap); }

/* ── SECTION HEADING ────────────────────────────────────── */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 3px solid var(--crimson); padding-bottom: 10px; margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-meta); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.section-head h2 i { color: var(--crimson); }
.section-head .see-all { font-size: 12px; font-weight: 600; color: var(--crimson); letter-spacing: .3px; display: flex; align-items: center; gap: 4px; }
.section-head .see-all:hover { color: var(--crimson-dk); }

/* ── CATEGORY BADGE ─────────────────────────────────────── */
.cat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  font-family: var(--font-meta); white-space: nowrap;
  background: var(--crimson); color: white;
}
.cat-badge.badge-breaking { background: #ff4500; }
.cat-badge.badge-featured { background: var(--gold); color: var(--ink); }
.cat-badge.badge-trending { background: var(--teal); }

/* ── HERO SECTION ───────────────────────────────────────── */
.hero { margin-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; }
.hero-main { position: relative; background: var(--ink); }
.hero-main .hero-img { width: 100%; height: 480px; object-fit: cover; opacity: .85; transition: opacity .3s; }
.hero-main:hover .hero-img { opacity: .78; }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
  padding: 28px 24px;
}
.hero-overlay .cat-badge { margin-bottom: 10px; }
.hero-overlay h2 {
  font-family: var(--font-head); font-size: 26px; font-weight: 900; line-height: 1.25;
  color: white; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-overlay h2 a { color: white; }
.hero-overlay h2 a:hover { color: #ffcccb; }
.hero-overlay .hero-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.75); align-items: center; }
.hero-overlay .hero-meta i { margin-right: 3px; }

.hero-side { display: flex; flex-direction: column; gap: 4px; }
.hero-side-item { flex: 1; position: relative; background: var(--ink); min-height: 0; }
.hero-side-item img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s; min-height: 200px; }
.hero-side-item:hover img { opacity: .7; }
.hero-side-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 65%);
  padding: 14px;
}
.hero-side-overlay h3 {
  font-family: var(--font-head); font-size: 14px; font-weight: 700; color: white; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-side-overlay h3 a { color: white; }
.hero-side-overlay h3 a:hover { color: #ffcccb; }
.hero-side-overlay .meta-sm { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 6px; }

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

.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { position: relative; overflow: hidden; flex-shrink: 0; }
.card-img img { width: 100%; height: 190px; object-fit: cover; transition: transform .4s; }
.news-card:hover .card-img img { transform: scale(1.04); }
.card-img .cat-badge { position: absolute; top: 10px; left: 10px; }
.card-img .bookmark-btn {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: white; display: flex; align-items: center; justify-content: center;
  font-size: 12px; opacity: 0; transition: opacity .2s;
}
.news-card:hover .bookmark-btn { opacity: 1; }
.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
  font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.4;
  margin-bottom: 8px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body h3 a:hover { color: var(--crimson); }
.card-body p { font-size: 13px; color: var(--steel); line-height: 1.55; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--mist); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--cloud); }
.card-meta i { margin-right: 3px; }
.card-meta .views { margin-left: auto; }

/* ── LIST ITEM (compact) ────────────────────────────────── */
.list-item { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cloud); }
.list-item:last-child { border-bottom: none; }
.list-item img { width: 90px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); }
.list-item-body h4 { font-family: var(--font-head); font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item-body h4 a:hover { color: var(--crimson); }
.list-item-body .meta-sm { font-size: 11px; color: var(--mist); }

/* ── FEATURED STRIP (horizontal) ───────────────────────── */
.h-strip { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.h-strip-main .card-img img { height: 260px; }
.h-strip-main .card-body h3 { font-size: 18px; -webkit-line-clamp: 3; }

/* ── SIDEBAR WIDGETS ────────────────────────────────────── */
.widget { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.widget-title {
  background: var(--nav-bg); color: white; padding: 12px 16px;
  font-family: var(--font-meta); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; display: flex; align-items: center; gap: 8px;
}
.widget-title i { color: var(--crimson); }
.widget-body { padding: 14px 16px; }

.numbered-list { counter-reset: news-counter; }
.numbered-item {
  counter-increment: news-counter; display: flex; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--cloud); align-items: flex-start;
}
.numbered-item:last-child { border-bottom: none; }
.numbered-item::before {
  content: counter(news-counter, decimal-leading-zero);
  font-family: var(--font-meta); font-size: 22px; font-weight: 700;
  color: var(--cloud); line-height: 1; flex-shrink: 0; min-width: 30px;
}
.numbered-item h4 { font-size: 13px; font-weight: 600; line-height: 1.4; }
.numbered-item h4 a:hover { color: var(--crimson); }
.numbered-item .meta-sm { font-size: 11px; color: var(--mist); margin-top: 4px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 16px; }
.tag-pill { padding: 5px 11px; border: 1.5px solid var(--cloud); border-radius: 30px; font-size: 12px; color: var(--steel); transition: all .2s; }
.tag-pill:hover { background: var(--crimson); color: white; border-color: var(--crimson); }

/* Ad widget */
.ad-widget { background: #f0f0f0; border: 1px dashed #ccc; border-radius: var(--radius); padding: 20px; text-align: center; font-size: 12px; color: #999; min-height: 120px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.ad-widget i { font-size: 24px; color: #ddd; }

/* ── CATEGORY PAGE ──────────────────────────────────────── */
.category-header {
  border-left: 4px solid var(--crimson); padding: 12px 18px;
  background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.category-header h1 { font-family: var(--font-head); font-size: 24px; font-weight: 900; }
.category-header p { font-size: 13px; color: var(--mist); margin-top: 4px; }

.subcategory-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.subcategory-tabs a {
  padding: 7px 16px; border-radius: 30px; font-size: 12.5px; font-weight: 600;
  border: 1.5px solid var(--cloud); background: var(--white); color: var(--steel);
  transition: all .2s; display: flex; align-items: center; gap: 5px;
}
.subcategory-tabs a:hover, .subcategory-tabs a.active { background: var(--crimson); color: white; border-color: var(--crimson); }

/* ── ARTICLE PAGE ───────────────────────────────────────── */
.article-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-header { padding: 28px 32px 0; }
.article-cats { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.article-title {
  font-family: var(--font-head); font-size: 32px; font-weight: 900; line-height: 1.22;
  margin-bottom: 14px; color: var(--ink);
}
.article-excerpt {
  font-size: 17px; color: var(--steel); line-height: 1.65; border-left: 3px solid var(--crimson);
  padding: 12px 18px; background: var(--smoke); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 18px; font-style: italic;
}
.article-meta-bar {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--cloud); border-bottom: 1px solid var(--cloud);
  font-size: 12.5px; color: var(--mist); margin-bottom: 0;
}
.article-meta-bar i { color: var(--crimson); margin-right: 4px; }
.author-mini { display: flex; align-items: center; gap: 9px; }
.author-mini img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.author-mini .name { font-weight: 600; color: var(--slate); font-size: 13px; }
.article-share-bar { display: flex; gap: 8px; margin-left: auto; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 30px;
  font-size: 12px; font-weight: 600; transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-fb { background: #1877f2; color: white; }
.share-tw { background: #000; color: white; }
.share-wa { background: #25d366; color: white; }

.article-featured-img { width: 100%; max-height: 520px; object-fit: cover; margin: 22px 0 0; }
.img-caption { padding: 8px 32px; font-size: 12px; color: var(--mist); font-style: italic; background: var(--smoke); }

.article-content { padding: 28px 32px; font-size: 16.5px; line-height: 1.82; color: var(--slate); }
.article-content > * + * { margin-top: 1.25em; }
.article-content h2 { font-family: var(--font-head); font-size: 22px; font-weight: 900; color: var(--ink); margin-top: 2em; }
.article-content h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 1.5em; }
.article-content blockquote { border-left: 4px solid var(--crimson); padding: 14px 22px; background: #fdf5f6; margin: 24px 0; font-style: italic; font-size: 18px; color: var(--slate); border-radius: 0 var(--radius) var(--radius) 0; }
.article-content a { color: var(--crimson); text-decoration: underline; }
.article-content img { border-radius: var(--radius); margin: 24px auto; }
.article-content ul, .article-content ol { padding-left: 2em; }
.article-content li { margin-bottom: .5em; }

/* Reading Progress */
#reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--crimson); z-index: 9999; width: 0; transition: width .1s linear; }

.article-tags { padding: 0 32px 20px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.article-tags span { font-size: 12px; font-weight: 600; color: var(--mist); }
.article-footer { padding: 20px 32px; border-top: 1px solid var(--cloud); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Author Box */
.author-box { background: var(--smoke); border-radius: var(--radius); padding: 22px; margin: 24px 32px; display: flex; gap: 18px; border: 1px solid var(--cloud); }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box .name { font-family: var(--font-head); font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.author-box .role { font-size: 12px; color: var(--crimson); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.author-box .bio  { font-size: 13.5px; color: var(--steel); margin-top: 8px; line-height: 1.6; }

/* Related Articles */
.related-wrap { padding: 24px 32px 32px; border-top: 1px solid var(--cloud); }

/* ── SEARCH PAGE ────────────────────────────────────────── */
.search-hero { background: var(--nav-bg); padding: 40px 0; text-align: center; color: white; }
.search-hero h1 { font-family: var(--font-head); font-size: 26px; margin-bottom: 20px; }
.search-box-lg { display: flex; max-width: 540px; margin: 0 auto; background: white; border-radius: 40px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.search-box-lg input { flex: 1; padding: 14px 20px; font-size: 16px; border: none; outline: none; color: var(--ink); }
.search-box-lg button { padding: 14px 24px; background: var(--crimson); color: white; font-size: 15px; border-radius: 0 40px 40px 0; }
.search-results-header { padding: 20px 0 8px; font-size: 14px; color: var(--mist); }
.search-results-header strong { color: var(--ink); font-size: 18px; }

/* ── PAGINATION ─────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--cloud);
  background: var(--white); color: var(--steel); transition: all .2s;
}
.pagination a:hover { background: var(--crimson); color: white; border-color: var(--crimson); }
.pagination .current { background: var(--crimson); color: white; border-color: var(--crimson); }
.pagination .prev, .pagination .next { width: auto; padding: 0 14px; gap: 6px; }

/* ── NO RESULTS ─────────────────────────────────────────── */
.no-results { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius); }
.no-results i { font-size: 56px; color: var(--cloud); margin-bottom: 18px; }
.no-results h2 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.no-results p  { color: var(--mist); font-size: 14px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--ink-2); color: #8899aa; margin-top: 60px; }
.footer-top { background: var(--nav-bg); padding: 14px 0; border-bottom: 1px solid #1a2a3a; }
.footer-top .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo img { height: 50px; width: auto; opacity: .9; }
.footer-social-row { display: flex; gap: 12px; }
.footer-social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #88aacc; font-size: 13px; transition: all .2s; }
.footer-social-row a:hover { background: var(--crimson); color: white; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding: 44px 0 32px; }
.footer-col h4 { color: white; font-family: var(--font-meta); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--crimson); }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: #8899aa; display: flex; align-items: center; gap: 7px; transition: color .2s; }
.footer-col ul li a::before { content: '›'; color: var(--crimson); font-size: 14px; font-weight: 700; }
.footer-col ul li a:hover { color: white; }
.footer-recent li { border-bottom: 1px solid #1a2a3a; padding-bottom: 10px; margin-bottom: 10px; }
.footer-recent li:last-child { border-bottom: none; }
.footer-recent a { font-size: 12.5px; color: #8899aa; display: block; margin-bottom: 3px; transition: color .2s; }
.footer-recent a:hover { color: white; }
.footer-recent .ft-meta { font-size: 11px; color: #567; }

.footer-bottom { background: #070a12; padding: 16px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.footer-bottom .links { display: flex; gap: 16px; }
.footer-bottom .links a { color: #8899aa; transition: color .2s; }
.footer-bottom .links a:hover { color: white; }

/* ── BACK TO TOP ────────────────────────────────────────── */
#back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--crimson); color: white; font-size: 16px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .3s; z-index: 888; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
#back-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-top:hover { background: var(--crimson-dk); transform: translateY(-2px); }

/* ── UTILITY CLASSES ────────────────────────────────────── */
.meta-sm { font-size: 11.5px; color: var(--mist); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.meta-sm i { margin-right: 3px; }
.text-crimson { color: var(--crimson); }
.badge-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); }
.img-placeholder { background: linear-gradient(135deg, #e8ecf0 0%, #d8dde3 100%); display: flex; align-items: center; justify-content: center; color: #bcc; }

/* ── LAZY LOADING ───────────────────────────────────────── */
img.lazy { opacity: 0; transition: opacity .4s; }
img.lazy.loaded { opacity: 1; }
img.lazy-placeholder { background: linear-gradient(90deg, #e8ecf0 0%, #f5f7f9 50%, #e8ecf0 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr 280px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .hero-main .hero-img { height: 360px; }
  .hero-overlay h2 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .h-strip { grid-template-columns: 1fr 1fr; }
  .h-strip-main { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --gap: 16px; }
  .hamburger { display: flex; }
  .site-header { padding: 10px 0; }
  .site-logo img { height: 48px; }
  .header-right .header-subscribe { display: none; }
  .header-search input { width: 160px; }

  .main-nav .container { flex-direction: column; align-items: flex-start; }
  .nav-list { flex-direction: column; width: 100%; display: none; }
  .nav-list.open { display: flex; }
  .nav-item > a { border-bottom: 1px solid rgba(255,255,255,.06); width: 100%; }
  .nav-dropdown { position: static; box-shadow: none; border-top: none; background: rgba(0,0,0,.15); display: none !important; }
  .nav-item.dropdown-open .nav-dropdown { display: block !important; }
  .nav-dropdown a { color: #aac; }

  .main-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; }

  .news-grid   { grid-template-columns: 1fr 1fr; }
  .news-grid-4 { grid-template-columns: 1fr 1fr; }
  .h-strip     { grid-template-columns: 1fr; }

  .article-title { font-size: 22px; }
  .article-content { padding: 18px; font-size: 15px; }
  .article-header { padding: 18px 18px 0; }
  .article-footer { padding: 16px 18px; }
  .author-box { margin: 16px 18px; }
  .article-tags { padding: 0 18px 16px; }
  .img-caption { padding: 8px 18px; }
  .related-wrap { padding: 18px 18px 24px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-top .container { flex-direction: column; }
}

@media (max-width: 480px) {
  .news-grid, .news-grid-2 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .hero-overlay h2 { font-size: 16px; }
  .hero-side { flex-direction: column; }
  .hero-main .hero-img { height: 260px; }
  .article-title { font-size: 20px; }
  .topbar-date { display: none; }
  .article-share-bar { flex-wrap: wrap; }
  .header-search { display: none; }
}
