/* ═══════════════════════════════════════════════════════════════
   GAM — Génies Afrique Médias — Media Platform Design
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f2;
  --bg-dark: #111111;
  --surface: #ffffff;
  --border: #e2e0db;
  --text: #111111;
  --text-2: #444444;
  --text-3: #888888;
  --primary: #1C1F4A;
  --primary-dark: #12143a;
  --accent: #F9AE4C;
  --accent-dark: #e89a35;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --font: Arial, Helvetica, sans-serif;
  --font-display: Arial, Helvetica, sans-serif;
  --nav-h: 64px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.page { display: none; }
.page.active { display: block; }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container { display: flex; align-items: center; height: 100%; gap: 32px; }

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  display: flex;
  align-items: center;
}
.logo-mark img {
  height: 42px;
  width: auto;
}
.logo-text { font-weight: 700; font-size: 14px; color: var(--text-2); display: none; }
@media(min-width:768px) { .logo-text { display: block; } }

.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-item {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .15s;
  cursor: pointer;
}
.nav-item:hover { color: var(--text); background: var(--bg-alt); }
.nav-item.active { color: var(--primary); font-weight: 700; position: relative; }
.nav-item.active::after { content: ''; position: absolute; bottom: -4px; left: 14px; right: 14px; height: 2px; background: var(--accent); border-radius: 2px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-search {
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--text-2);
  transition: background .15s;
}
.btn-search:hover { background: var(--bg-alt); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-light { background: white; color: var(--text); border: 1px solid var(--border); }
.btn-light:hover { background: var(--bg-alt); }
.btn-sm { padding: 7px 16px; font-size: 13px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

@media(max-width:768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px; box-shadow: var(--shadow); }
  .hamburger { display: block; }
  .btn-search { display: none; }
}

/* ─── BREAKING BAR ─── */
.breaking-bar {
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
.breaking-label {
  background: var(--accent);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.6 } }
.breaking-text { white-space: nowrap; animation: scroll 25s linear infinite; }
@keyframes scroll { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* ─── HERO ─── */
.hero { padding: 20px 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; min-height: 480px; }

.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s;
}
.hero-main:hover .hero-img { transform: scale(1.03); }
.hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(transparent 30%, rgba(0,0,0,.85));
  color: white;
}
.hero-overlay h1 { font-family: var(--font-display); font-size: 30px; line-height: 1.25; margin: 12px 0 10px; }
.hero-excerpt { font-size: 15px; opacity: .85; max-width: 600px; }
.hero-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; opacity: .75; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-side-card {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.hero-side-img { flex: 1; background-size: cover; background-position: center; min-height: 140px; transition: transform .4s; overflow: hidden; }
.hero-side-card:hover .hero-side-img { transform: scale(1.05); }
.hero-side-card:hover { border-color: var(--accent); }
.hero-side-content { padding: 14px 16px; background: var(--surface); }
.hero-side-content h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-top: 6px; }
.meta-time { font-size: 12px; color: var(--text-3); margin-top: 6px; display: block; }

@media(max-width:768px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-main { min-height: 340px; }
  .hero-overlay h1 { font-size: 22px; }
}

/* ─── BADGES ─── */
.cat-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--cat-color);
  color: white;
}
.cat-badge.small { font-size: 10px; padding: 3px 8px; }
.cat-badge.tiny { font-size: 10px; padding: 2px 7px; }

/* ─── SECTIONS ─── */
.section-block { padding: 48px 0; }
.section-block.bg-alt { background: var(--bg-alt); }
.section-block.bg-dark { background: var(--bg-dark); color: white; }

.section-title-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.title-accent { width: 4px; height: 24px; background: var(--accent); border-radius: 2px; }
.see-all { font-size: 14px; font-weight: 600; color: var(--primary); transition: color .15s; }
.see-all:hover { color: var(--accent-dark); }

/* ─── TRENDING ─── */
.trending-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.trending-card {
  display: flex; gap: 16px; padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
}
.trending-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.trending-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: rgba(249,174,76,.3); line-height: 1; }
.trending-card h4 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-top: 4px; }
.card-meta { font-size: 12px; color: var(--text-3); margin-top: 6px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sep { color: var(--text-3); }

/* ─── ARTICLES GRID ─── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--accent); }
.article-img {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
}
.article-img .cat-badge { position: absolute; top: 12px; left: 12px; }
.article-body { padding: 18px; }
.article-body h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.article-body p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.avatar-sm { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.avatar-xs { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ─── VIDEO GRID ─── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-card { cursor: pointer; transition: transform .2s; }
.video-card:hover { transform: translateY(-3px); }
.video-card.featured-video { grid-column: span 2; }
@media(max-width:768px) { .video-card.featured-video { grid-column: span 1; } }

.video-thumb {
  position: relative;
  height: 180px;
  background-size: cover; background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-video .video-thumb { height: 280px; }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(0,0,0,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: all .2s;
}
.play-btn.large { width: 80px; height: 80px; }
.video-card:hover .play-btn { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }
.video-duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.8); color: white;
  font-size: 12px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
}
.live-badge {
  position: absolute; top: 10px; left: 10px;
  background: #dc2626; color: white;
  font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 4px;
  animation: pulse 1.5s infinite;
}
.video-info { padding: 12px 0; }
.video-info h3 { font-size: 15px; font-weight: 700; margin-top: 6px; line-height: 1.35; }

/* ─── CATEGORIES GRID ─── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .2s;
  cursor: pointer;
  border-bottom: 3px solid var(--cat-color);
}
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-bottom-width: 4px; }
.cat-icon { margin-bottom: 10px; color: var(--cat-color); }
.category-card h4 { font-size: 15px; font-weight: 700; }
.category-card span { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ─── AD ─── */
.ad-banner {
  background: linear-gradient(135deg, var(--primary), #0e1030);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.ad-banner .ad-label { color: rgba(255,255,255,.4); }
.ad-label { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.ad-content h3 { font-size: 24px; font-weight: 800; margin: 8px 0; }
.ad-content p { font-size: 14px; opacity: .7; margin-bottom: 16px; }

/* ─── NEWSLETTER ─── */
.newsletter-section { padding-bottom: 60px; }
.newsletter-card {
  background: linear-gradient(135deg, var(--primary), #0e1030);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  color: white;
}
.newsletter-content { flex: 1; }
.newsletter-content h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 10px; }
.newsletter-content p { font-size: 16px; opacity: .85; max-width: 500px; margin-bottom: 20px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px;
  border-radius: 8px; border: none;
  font-size: 14px; font-family: var(--font);
  background: rgba(255,255,255,.2);
  color: white;
  backdrop-filter: blur(4px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form .btn { background: var(--accent); color: var(--primary); font-weight: 700; white-space: nowrap; }
.newsletter-note { font-size: 12px; opacity: .6; margin-top: 10px; display: block; }
.newsletter-visual { flex-shrink: 0; }
.nl-icon { line-height: 0; }
@media(max-width:768px) { .newsletter-card { flex-direction: column; padding: 32px; text-align: center; } .newsletter-form { flex-direction: column; } .newsletter-visual { display: none; } }

/* ─── KPI ─── */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; text-align: center; }
.kpi-num { font-family: var(--font-display); font-size: 48px; font-weight: 900; display: block; color: var(--accent); letter-spacing: -1px; }
.kpi-label { font-size: 14px; opacity: .6; margin-top: 4px; }
@media(max-width:768px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .kpi-num { font-size: 36px; } }

/* ═══ ARTICLE DETAIL ═══ */
.article-hero-img { height: 420px; background-size: cover; background-position: center; }
@media(max-width:768px) { .article-hero-img { height: 260px; } }

.article-container { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 32px; }
@media(max-width:900px) { .article-container { grid-template-columns: 1fr; } }

.article-head { margin-bottom: 32px; }
.article-head h1 { font-family: var(--font-display); font-size: 34px; line-height: 1.25; margin: 14px 0 12px; }
.article-excerpt { font-size: 18px; color: var(--text-2); line-height: 1.6; }
.article-author-bar { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.author-name-lg { font-weight: 700; font-size: 15px; }
.article-meta-row { font-size: 13px; color: var(--text-3); display: flex; gap: 4px; }
.share-btns { margin-left: auto; display: flex; gap: 6px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer; color: var(--text-2); transition: all .15s; display: flex; align-items: center; justify-content: center; }
.share-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.article-body-text { font-size: 17px; line-height: 1.8; color: var(--text); }
.article-body-text h2 { font-size: 24px; font-weight: 800; margin: 32px 0 14px; }
.article-body-text p { margin-bottom: 18px; }
.article-body-text .lead { font-size: 19px; font-weight: 500; color: var(--text-2); border-left: 4px solid var(--accent); padding-left: 18px; margin-bottom: 28px; }
.article-body-text blockquote { border-left: 4px solid var(--accent); padding: 20px 24px; background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; font-style: italic; font-size: 18px; }
.article-body-text blockquote cite { display: block; margin-top: 10px; font-size: 14px; color: var(--text-3); font-style: normal; font-weight: 600; }

.article-figure { margin: 28px 0; }
.article-figure img { border-radius: var(--radius); width: 100%; }
.article-figure figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; text-align: center; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--border); }
.tag { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; background: var(--bg-alt); color: var(--text-2); border: 1px solid var(--border); transition: all .15s; cursor: pointer; }
.tag:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }

.ad-inline { text-align: center; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); margin: 28px 0; }
.ad-inline-content { font-size: 14px; color: var(--text-3); padding: 20px; border: 2px dashed var(--border); border-radius: var(--radius-sm); margin-top: 6px; }

.related-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-section h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media(max-width:768px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { cursor: pointer; transition: transform .2s; }
.related-card:hover { transform: translateY(-2px); }
.related-img { height: 140px; background-size: cover; background-position: center; border-radius: var(--radius-sm); margin-bottom: 10px; }
.related-card h4 { font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ─── SIDEBAR ─── */
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.sidebar-widget h4 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.popular-list { display: flex; flex-direction: column; gap: 12px; }
.popular-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 600; line-height: 1.4; }
.popular-item:hover { color: var(--primary); }
.pop-num { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: rgba(249,174,76,.35); line-height: 1; }
.ad-sidebar-content { text-align: center; padding: 40px 20px; border: 2px dashed var(--border); border-radius: var(--radius-sm); color: var(--text-3); font-size: 14px; margin-top: 6px; }
.input-sm { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; font-family: var(--font); }

/* ═══ ARTICLES LIST ═══ */
.page-header { padding: 48px 0 36px; background: var(--primary); border-bottom: none; color: white; }
.page-header h1 { font-family: var(--font-display); font-size: 32px; font-weight: 900; }
.page-header p { color: rgba(255,255,255,.65); font-size: 16px; margin-top: 4px; }

.list-layout { padding: 28px 0 60px; }
.filters-bar { display: flex; gap: 12px; margin-bottom: 24px; }
.filter-select { padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font); font-size: 14px; background: var(--surface); cursor: pointer; color: var(--text); }

.article-row { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.article-row:hover { background: var(--bg-alt); margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-radius: var(--radius-sm); }
.row-img { width: 220px; height: 150px; border-radius: var(--radius-sm); background-size: cover; background-position: center; flex-shrink: 0; }
.row-body { flex: 1; }
.row-body h3 { font-size: 18px; font-weight: 700; margin: 8px 0 6px; line-height: 1.35; }
.row-body p { font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
@media(max-width:600px) { .row-img { width: 100px; height: 100px; } .row-body h3 { font-size: 15px; } }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .15s; }
.page-btn:hover { background: var(--bg-alt); }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ═══ WEB TV ═══ */
.tv-tabs { display: flex; gap: 6px; margin-bottom: 24px; overflow-x: auto; }
.tv-tab { padding: 10px 20px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; white-space: nowrap; font-family: var(--font); }
.tv-tab:hover { background: var(--bg-alt); }
.tv-tab.active { background: var(--primary); color: white; border-color: var(--primary); }

.tv-player {
  position: relative;
  height: 480px;
  background-size: cover; background-position: center;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.tv-player-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,.9)); color: white; }
.tv-player-info h2 { font-family: var(--font-display); font-size: 28px; margin-top: 10px; }
@media(max-width:768px) { .tv-player { height: 280px; } }

/* ═══ CATEGORIES PAGE ═══ */
.cat-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; padding: 28px 0 60px; }
.cat-full-card { position: relative; height: 240px; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid transparent; transition: border-color .2s; }
.cat-full-card:hover { border-color: var(--accent); }
.cat-full-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s; }
.cat-full-card:hover .cat-full-bg { transform: scale(1.06); }
.cat-full-overlay { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(transparent 30%, rgba(0,0,0,.85)); color: white; }
.cat-full-overlay h3 { font-size: 24px; font-weight: 800; }
.cat-full-overlay p { font-size: 13px; opacity: .75; margin-top: 4px; }
.cat-full-desc { font-size: 12px; opacity: .55; margin-top: 6px; }

/* ═══ SEARCH ═══ */
.search-hero { padding: 80px 0 60px; background: var(--primary); color: white; text-align: center; }
.search-hero h1 { font-family: var(--font-display); font-size: 40px; margin-bottom: 24px; }
.search-bar-lg { display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto; background: rgba(255,255,255,.1); border-radius: 12px; padding: 14px 20px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); }
.search-bar-lg input { flex: 1; background: none; border: none; color: white; font-size: 16px; font-family: var(--font); outline: none; }
.search-bar-lg input::placeholder { color: rgba(255,255,255,.5); }
.search-bar-lg svg { color: rgba(255,255,255,.5); flex-shrink: 0; }
.search-tags { margin-top: 20px; display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; }
.search-tag-label { font-size: 13px; color: rgba(255,255,255,.4); }
.search-tag { padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); font-size: 13px; cursor: pointer; transition: all .15s; font-family: var(--font); }
.search-tag:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }

/* ═══ LOGIN ═══ */
.login-container { min-height: calc(100vh - 100px); display: flex; align-items: center; justify-content: center; background: var(--bg-alt); padding: 40px 20px; }
.login-card { background: white; border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-header { text-align: center; margin-bottom: 28px; }
.login-header .logo-mark img { height: 56px; }
.login-header h2 { font-size: 24px; font-weight: 800; margin-top: 16px; }
.login-header p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: var(--font); transition: border-color .15s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,174,76,.2); }
.login-divider { text-align: center; margin: 20px 0; position: relative; }
.login-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.login-divider span { background: white; padding: 0 16px; position: relative; color: var(--text-3); font-size: 13px; }
.login-register { text-align: center; font-size: 14px; color: var(--text-2); }
.login-register a { color: var(--accent-dark); font-weight: 600; }

/* ═══ ABOUT ═══ */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 28px 0 60px; }
@media(max-width:768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 16px; }
.about-text h3 { font-size: 20px; font-weight: 800; margin: 32px 0 16px; }
.about-text p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; margin-top: 16px; }
.team-member { text-align: center; }
.team-member img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.team-member h4 { font-size: 14px; font-weight: 700; }
.team-member span { font-size: 12px; color: var(--text-3); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--bg-dark); color: white; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer-brand p { color: rgba(255,255,255,.5); font-size: 14px; margin-top: 12px; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; transition: background .15s; }
.social-btn:hover { background: var(--accent); color: var(--primary); }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,.5); padding: 4px 0; transition: color .15s; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding: 24px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.3); }
