/* ============================================================
   ScholariOpen — main.css
   Design : vivid académique, palette riche, responsive
   ============================================================ */

/* ââ Fonts ââ */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ââ Variables ââ */
:root {
  --navy:       #0d1f3c;
  --navy-mid:   #1a3a5c;
  --teal:       #00897b;
  --teal-light: #e0f2f0;
  --violet:     #5e35b1;
  --violet-lt:  #ede7f6;
  --coral:      #e64a2e;
  --coral-lt:   #fde8e5;
  --amber:      #f59e0b;
  --amber-lt:   #fef3c7;
  --sky:        #0284c7;
  --sky-lt:     #e0f2fe;
  --rose:       #db2777;
  --rose-lt:    #fce7f3;
  --green:      #16a34a;
  --green-lt:   #dcfce7;

  --ink:        #111827;
  --ink-mid:    #374151;
  --ink-mute:   #9ca3af;
  --surface:    #f9fafb;
  --white:      #ffffff;
  --border:     rgba(17,24,39,0.10);
  --border-md:  rgba(17,24,39,0.20);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);

  --font-head: 'Lora', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --nav-h: 68px;
}

/* ââ Reset ââ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ââ Container ââ */
.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ââ Buttons ââ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--navy-mid), var(--violet));
  color: white;
  border: none; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: opacity .15s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px;
  border: 1.5px solid var(--border-md); border-radius: var(--radius-md);
  background: transparent; color: var(--ink);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .15s;
}
.btn-outline:hover { background: var(--surface); }

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-teal {
  background: linear-gradient(135deg, var(--teal), #00695c);
  color: white; border: none;
}
.btn-coral { background: linear-gradient(135deg, var(--coral), #bf360c); color: white; border: none; }

/* ââ Badges type ââ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase;
}
.badge-article  { background: var(--sky-lt);    color: var(--sky); }
.badge-thesis   { background: var(--amber-lt);  color: #92400e; }
.badge-review   { background: var(--green-lt);  color: var(--green); }
.badge-data     { background: var(--violet-lt); color: var(--violet); }
.badge-conf     { background: var(--rose-lt);   color: var(--rose); }
.badge-new      { background: var(--coral);     color: white; }
.badge-oa       { background: var(--teal-lt);   color: var(--teal); font-size:10px; }

/* ââââââââââââââââââââââââââââââââââââââââââ
   NAVBAR
   ââââââââââââââââââââââââââââââââââââââââââ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--nav-h);
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy-mid), var(--violet));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-name {
  font-family: var(--font-head); font-size: 20px; font-weight: 600;
  color: var(--ink);
}
.logo-name em { color: var(--teal); font-style: normal; }

.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  flex: 1;
}
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-mid);
  position: relative; transition: color .15s;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-highlight {
  color: var(--violet); font-weight: 600;
}
.nav-links .nav-highlight:hover { color: var(--violet); }
.nav-links .nav-highlight::after { background: var(--violet); }

.nav-search {
  display: flex; align-items: center;
  border: 1.5px solid var(--border-md); border-radius: 8px;
  overflow: hidden; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
  flex: 0 0 240px;
}
.nav-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,137,123,.12);
}
.nav-search input {
  border: none; outline: none; background: transparent;
  padding: 8px 12px; font-size: 13px;
  font-family: var(--font-body); color: var(--ink); width: 100%;
}
.nav-search button {
  padding: 0 12px; border: none; background: transparent;
  cursor: pointer; color: var(--ink-mute); display: flex;
  align-items: center;
  transition: color .15s;
}
.nav-search button:hover { color: var(--teal); }
.nav-search svg { width: 17px; height: 17px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.mobile-menu {
  display: none; flex-direction: column; gap: .5rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: white;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-search {
  display: flex; border: 1.5px solid var(--border-md); border-radius: 8px;
  overflow: hidden; margin-bottom: .5rem;
}
.mobile-search input {
  flex: 1; border: none; outline: none; padding: 10px 12px;
  font-size: 14px; font-family: var(--font-body);
}
.mobile-search button {
  padding: 0 14px; border: none; background: var(--teal); color: white;
  font-size: 16px; cursor: pointer;
}

/* ââââââââââââââââââââââââââââââââââââââââââ
   HERO
   ââââââââââââââââââââââââââââââââââââââââââ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2a6c 50%, #23074d 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(94,53,177,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(0,137,123,.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--amber);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600; line-height: 1.1; letter-spacing: -.5px;
  color: white; margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--amber); font-style: italic; }

.hero-subtitle {
  font-size: 15px; color: rgba(255,255,255,.72);
  max-width: 440px; margin-bottom: 2rem; line-height: 1.7;
}

/* Hero search */
.hero-search {
  display: flex; flex-direction: column; gap: 12px;
}
.hero-search-box {
  display: flex;
  background: white; border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  overflow: hidden;
}
.hero-search-box input {
  flex: 1; border: none; outline: none;
  padding: 15px 18px; font-size: 15px;
  font-family: var(--font-body); color: var(--ink);
}
.hero-search-box input::placeholder { color: var(--ink-mute); }
.hero-search-btn {
  padding: 0 24px;
  background: linear-gradient(135deg, var(--teal), #00695c);
  border: none; color: white;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity .15s;
}
.hero-search-btn:hover { opacity: .88; }

.hero-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.filter-pill {
  padding: 5px 14px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.filter-pill:hover, .filter-pill.active {
  background: white; color: var(--navy); border-color: white;
}

/* Hero right — recent cards */
.hero-recent {
  display: flex; flex-direction: column; gap: 12px;
}
.hero-recent-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.recent-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.recent-card:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.25);
}
.recent-card-meta {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.doi-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: rgba(255,255,255,.5);
  font-family: monospace;
}
.doi-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 6px #4ade80;
}
.recent-card-title {
  font-family: var(--font-head); font-size: 13px;
  color: rgba(255,255,255,.9); line-height: 1.4;
}
.recent-card-authors { font-size: 11px; color: rgba(255,255,255,.45); }

/* ââââââââââââââââââââââââââââââââââââââââââ
   STATS BAND
   ââââââââââââââââââââââââââââââââââââââââââ */
.stats-band {
  background: white;
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.stat-item:nth-child(1)::before { background: linear-gradient(90deg, var(--teal), var(--sky)); }
.stat-item:nth-child(2)::before { background: linear-gradient(90deg, var(--violet), var(--rose)); }
.stat-item:nth-child(3)::before { background: linear-gradient(90deg, var(--coral), var(--amber)); }
.stat-item:nth-child(4)::before { background: linear-gradient(90deg, var(--green), var(--teal)); }
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: 34px; font-weight: 600; letter-spacing: -1px;
  color: var(--ink);
}
.stat-label { font-size: 12px; color: var(--ink-mute); }

/* ââââââââââââââââââââââââââââââââââââââââââ
   DISCIPLINES
   ââââââââââââââââââââââââââââââââââââââââââ */
.disciplines-section { padding: 4rem 0; background: var(--surface); }

.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2rem;
}
.section-title {
  font-family: var(--font-head); font-size: 26px;
  font-weight: 600; color: var(--ink);
}
.section-link {
  font-size: 13px; font-weight: 500; color: var(--teal);
  display: flex; align-items: center; gap: 4px;
  transition: gap .15s;
}
.section-link:hover { gap: 8px; }

.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.disc-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.disc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  opacity: 0; transition: opacity .2s;
}
.disc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.disc-card:hover::before { opacity: 1; }

/* Dynamic color bars per discipline type */
.disc-card[data-color="red"]::before    { background: linear-gradient(90deg, var(--coral), var(--rose)); }
.disc-card[data-color="teal"]::before   { background: linear-gradient(90deg, var(--teal), var(--sky)); }
.disc-card[data-color="blue"]::before   { background: linear-gradient(90deg, var(--sky), var(--violet)); }
.disc-card[data-color="amber"]::before  { background: linear-gradient(90deg, var(--amber), var(--coral)); }
.disc-card[data-color="purple"]::before { background: linear-gradient(90deg, var(--violet), var(--rose)); }
.disc-card[data-color="coral"]::before  { background: linear-gradient(90deg, var(--coral), var(--amber)); }
.disc-card[data-color="green"]::before  { background: linear-gradient(90deg, var(--green), var(--teal)); }
.disc-card[data-color="pink"]::before   { background: linear-gradient(90deg, var(--rose), var(--violet)); }

.disc-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.disc-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.disc-count { font-size: 11px; color: var(--ink-mute); }

/* ââââââââââââââââââââââââââââââââââââââââââ
   MAIN GRID (Articles + Sidebar)
   ââââââââââââââââââââââââââââââââââââââââââ */
.main-section { padding: 4rem 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem; align-items: start;
}

/* ââ Article cards ââ */
.articles-list { display: flex; flex-direction: column; gap: 0; }

.article-card-full {
  display: grid; grid-template-columns: 5px 1fr;
  gap: 0 18px;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.article-card-full:first-child { padding-top: 0; }
.article-card-full:last-child { border-bottom: none; }
.article-card-full:hover .article-card-title { color: var(--teal); }

.article-stripe { border-radius: 3px; transition: opacity .15s; }
.stripe-blue   { background: linear-gradient(180deg, var(--sky), var(--violet)); }
.stripe-amber  { background: linear-gradient(180deg, var(--amber), var(--coral)); }
.stripe-green  { background: linear-gradient(180deg, var(--green), var(--teal)); }
.stripe-violet { background: linear-gradient(180deg, var(--violet), var(--rose)); }
.stripe-coral  { background: linear-gradient(180deg, var(--coral), var(--amber)); }
.stripe-teal   { background: linear-gradient(180deg, var(--teal), var(--sky)); }

.article-inner { display: flex; flex-direction: column; gap: 8px; }
.article-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-doi { font-size: 10.5px; font-family: monospace; color: var(--ink-mute); }
.article-card-title {
  font-family: var(--font-head); font-size: 17px;
  font-weight: 400; line-height: 1.45; color: var(--ink);
  transition: color .15s;
}
.article-abstract {
  font-size: 13.5px; color: var(--ink-mid); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.article-footer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 11.5px; color: var(--ink-mute);
}
.article-footer strong { color: var(--ink-mid); font-weight: 500; }
.article-oa { color: var(--teal); font-weight: 600; font-size: 10.5px; }

/* ââ Sidebar ââ */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-card-header {
  padding: 14px 18px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.sidebar-card-body { padding: 16px 18px; }

/* DOI promo card */
.doi-promo-card {
  background: linear-gradient(135deg, var(--navy-mid), var(--violet));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 12px;
  color: white;
}
.doi-promo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.doi-promo-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.doi-promo-text { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.55; }

/* Discipline list in sidebar */
.disc-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: color .15s;
}
.disc-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.disc-list-item:hover .disc-list-name { color: var(--teal); }
.disc-list-icon { font-size: 14px; width: 20px; }
.disc-list-name { font-size: 13px; flex: 1; padding: 0 8px; }
.disc-list-count { font-size: 11px; color: var(--ink-mute); }

/* Count bar */
.disc-bar {
  height: 3px; border-radius: 2px; margin-top: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
}

/* Submit widget */
.submit-widget {
  background: linear-gradient(135deg, var(--teal), #00695c);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: white;
  display: flex; flex-direction: column; gap: 10px;
}
.submit-widget h3 { font-family: var(--font-head); font-size: 16px; }
.submit-widget p { font-size: 12px; opacity: .75; line-height: 1.5; }
.submit-widget .btn-white {
  padding: 9px 18px; background: white; border: none;
  border-radius: 8px; color: var(--teal); font-weight: 600;
  font-size: 13px; cursor: pointer; transition: opacity .15s;
  width: 100%; text-align: center; font-family: var(--font-body);
}
.submit-widget .btn-white:hover { opacity: .9; }
.submit-tag { font-size: 10px; opacity: .65; text-align: center; }

/* ââââââââââââââââââââââââââââââââââââââââââ
   FEATURED / HIGHLIGHT BANNER
   ââââââââââââââââââââââââââââââââââââââââââ */
.highlight-banner {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1.5px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.highlight-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--amber); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.highlight-text { display: flex; flex-direction: column; gap: 4px; }
.highlight-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #92400e; }
.highlight-title { font-family: var(--font-head); font-size: 15px; color: var(--ink); line-height: 1.4; }
.highlight-meta { font-size: 11.5px; color: var(--ink-mute); }

/* ââââââââââââââââââââââââââââââââââââââââââ
   SEARCH RESULTS PAGE
   ââââââââââââââââââââââââââââââââââââââââââ */
.search-bar-page {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.search-bar-page form {
  display: flex; gap: 10px; align-items: center;
}
.search-bar-page input {
  flex: 1; border: 1.5px solid var(--border-md); border-radius: 8px;
  padding: 11px 16px; font-size: 14px; font-family: var(--font-body);
  outline: none; background: white;
  transition: border-color .2s;
}
.search-bar-page input:focus { border-color: var(--teal); }

.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.filter-row label {
  font-size: 12px; font-weight: 600; color: var(--ink-mute);
  margin-right: 4px;
}
.filter-row select {
  padding: 6px 12px; border: 1.5px solid var(--border-md);
  border-radius: 6px; font-size: 13px; font-family: var(--font-body);
  background: white; cursor: pointer; outline: none;
  transition: border-color .2s;
}
.filter-row select:focus { border-color: var(--teal); }

.results-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; font-size: 13.5px;
}
.results-count strong { color: var(--teal); }

/* ââââââââââââââââââââââââââââââââââââââââââ
   PAGINATION
   ââââââââââââââââââââââââââââââââââââââââââ */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 2.5rem 0;
}
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-md); border-radius: 8px;
  font-size: 13.5px; font-weight: 500; cursor: pointer;
  color: var(--ink-mid); text-decoration: none;
  transition: all .15s;
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active {
  background: linear-gradient(135deg, var(--navy-mid), var(--violet));
  border-color: transparent; color: white;
}
.page-btn.disabled { opacity: .35; pointer-events: none; }

/* ââââââââââââââââââââââââââââââââââââââââââ
   FOOTER
   ââââââââââââââââââââââââââââââââââââââââââ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-tagline { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.f-badge {
  padding: 3px 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px; font-size: 10px; font-weight: 600;
  letter-spacing: .5px; color: rgba(255,255,255,.5);
}
.footer-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 11.5px;
}

/* ââââââââââââââââââââââââââââââââââââââââââ
   RESPONSIVE
   ââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-search, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-recent { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid var(--border); }
  .stat-item:nth-child(2), .stat-item:nth-child(4) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .disc-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .section-title { font-size: 20px; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .disc-grid { grid-template-columns: 1fr 1fr; }
  .filter-row { flex-direction: column; align-items: flex-start; }
}

/* ââ Animations ââ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title, .hero-subtitle, .hero-search { animation: fadeUp .6s ease both; }
.hero-subtitle { animation-delay: .1s; }
.hero-search   { animation-delay: .2s; }

.disc-card, .article-card-full, .recent-card {
  animation: fadeUp .4s ease both;
}

/* ââ No-results ââ */
.no-results {
  text-align: center; padding: 4rem 1rem;
  color: var(--ink-mute);
}
.no-results .nr-icon { font-size: 48px; margin-bottom: 1rem; }
.no-results h3 { font-family: var(--font-head); font-size: 20px; color: var(--ink); margin-bottom: .5rem; }
.no-results p { font-size: 14px; }



.btn-secondary {
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 6px;
  padding: .4rem .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
}
