/* ═══════════════════════════════════════════════════════════════════
   Light & Faith Revival Church — site.css
   Palette: Navy #1a1a2e · Gold #C9A84C · Cream #FFF8E7 · Dark #0d0d1a
   ═══════════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --navy:       #1a1a2e;
  --navy-light: #16213e;
  --gold:       #C9A84C;
  --gold-light: #e8c96a;
  --cream:      #FFF8E7;
  --text:       #1a1a2e;
  --text-muted: #6b7280;
  --bg:         #f9f6f0;
  --card-bg:    #ffffff;
  --border:     #e5e0d5;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(26,26,46,0.10);
  --shadow-lg:  0 12px 48px rgba(26,26,46,0.18);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --transition: 0.25s ease;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── CONTAINER ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
}
.cross-icon {
  font-size: 22px; color: var(--gold);
  text-shadow: 0 0 12px rgba(201,168,76,0.6);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; }
.brand-sub  { font-size: 10px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-link {
  color: #c9cbd5; font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(201,168,76,0.15); }
.nav-admin {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 5px 14px; border-radius: 8px;
}
.nav-admin:hover { background: var(--gold); color: var(--navy) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: var(--navy); border-bottom: 2px solid var(--gold);
  flex-direction: column; padding: 12px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #c9cbd5; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 350px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #16213e 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(13,13,26,0.3); }
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: #fff; padding: 40px 24px;
}
.hero-cross {
  font-size: 36px; color: var(--gold);
  text-shadow: 0 0 30px rgba(201,168,76,0.7);
  display: block; margin-bottom: 12px;
  animation: floatCross 3s ease-in-out infinite;
}
@keyframes floatCross {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(24px, 4vw, 40px);
  font-weight: 700; line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.hero-subtitle { font-size: 14px; color: var(--gold-light); letter-spacing: 2px; margin-bottom: 24px; }
.hero-btn {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: 10px 28px; border-radius: 50px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
  box-shadow: 0 4px 24px rgba(201,168,76,0.4);
  transition: all var(--transition);
}
.hero-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.5); }

/* ══════════════════════════════════════════════════════════════════
   ARTICLES SECTION
   ══════════════════════════════════════════════════════════════════ */
.articles-section { padding: 60px 0 80px; }

/* Filter Bar & Search */
.filter-bar {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 40px;
}
.search-form {
  display: flex; gap: 10px;
  max-width: 500px; width: 100%;
}
.search-input {
  flex: 1; padding: 10px 15px; border-radius: 5px;
  border: 1px solid var(--border); font-family: var(--font-body);
  font-size: 14px;
}
.search-btn {
  padding: 10px 20px; border-radius: 5px; cursor: pointer;
}

/* Category Filter */
.category-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  background: #fff; border: 1.5px solid var(--border); color: var(--text-muted);
  transition: all var(--transition); cursor: pointer;
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--card-bg); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-image-link { display: block; }
.card-image {
  aspect-ratio: 16/9;
  background-color: var(--navy); background-size: contain; background-repeat: no-repeat; background-position: center;
  position: relative; overflow: hidden;
}
.card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,13,26,0.6) 100%);
}
.card-category {
  display: inline-block; vertical-align: middle;
  background: var(--gold); color: var(--navy);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 4px; margin-left: 8px;
}
.card-yt-badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(220,38,38,0.9); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
}
.card-body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-family: var(--font-head); font-size: 18px; line-height: 1.4;
  margin-bottom: 8px; display: block;
}
.card-title a { color: var(--navy); transition: color var(--transition); text-decoration: none; vertical-align: middle; }
.card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.meta-dot { margin: 0 6px; }
.card-desc { font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.read-btn {
  font-size: 14px; font-weight: 600; color: var(--gold);
  transition: all var(--transition);
}
.read-btn:hover { color: var(--navy); }
.card-icons { display: flex; gap: 6px; }
.badge-icon {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}
.pdf-badge { background: #e0f2fe; color: #0369a1; }
.yt-badge  { background: #fee2e2; color: #dc2626; font-size: 12px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-icon  { display: block; font-size: 48px; color: var(--gold); margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 8px; color: var(--navy); }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 15px; padding-top: 50px;
}
.page-btn {
  padding: 8px 16px; border-radius: 5px; border: 1px solid var(--border);
  color: var(--navy); font-size: 14px; font-weight: 500;
  transition: all var(--transition);
}
.page-btn:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.page-info {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════
   CONTENT READER
   ══════════════════════════════════════════════════════════════════ */
.reader-page { padding-bottom: 60px; }

.breadcrumb-bar {
  padding: 14px 0; font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.breadcrumb-bar a:hover { color: var(--gold); }
.bc-sep { opacity: 0.5; }

.reader-container { max-width: 960px; }

.reader-header { margin-bottom: 32px; }
.reader-category {
  display: inline-block;
  background: var(--navy); color: var(--gold);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 3px 12px; border-radius: 4px; margin-bottom: 14px;
}
.reader-title {
  font-family: var(--font-head); font-size: clamp(24px, 4vw, 38px);
  font-weight: 700; line-height: 1.25; margin-bottom: 12px;
}
.reader-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.meta-sep { opacity: 0.4; }
.reader-description {
  border-left: 4px solid var(--gold); padding: 12px 20px;
  background: var(--cream); border-radius: 4px;
  font-style: italic; color: #4b5563; font-size: 15px;
}

/* Tabs */
.reader-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 22px; border-radius: 50px;
  background: #fff; border: 1.5px solid var(--border);
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.tab-btn:hover  { border-color: var(--gold); color: var(--navy); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* PDF viewer */
.pdf-toolbar {
  background: var(--navy); color: var(--gold);
  padding: 10px 16px; border-radius: var(--radius) var(--radius) 0 0;
  font-size: 13px; font-weight: 600;
}
.pdf-viewer-wrapper {
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; background: #525659;
}
.pdf-iframe {
  width: 100%; height: 1000px; border: none; display: block;
}

/* YouTube */
.youtube-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.youtube-iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.yt-meta { margin-top: 14px; text-align: right; }
.yt-link-btn {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--text-muted); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 50px;
  transition: all var(--transition);
}
.yt-link-btn:hover { border-color: #dc2626; color: #dc2626; }

.no-content-notice {
  text-align: center; padding: 60px 20px;
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  color: var(--text-muted);
}

.reader-back { margin-top: 40px; }
.back-btn {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: color var(--transition);
}
.back-btn:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   ADMIN PAGES
   ══════════════════════════════════════════════════════════════════ */
.admin-page { padding: 40px 0 80px; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.admin-header h1 { font-family: var(--font-head); color: var(--navy); font-size: 28px; }

/* Admin Filter Bar */
.admin-filter-bar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 32px; box-shadow: var(--shadow);
}
.admin-filter-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 13px; font-weight: 600; color: var(--navy); opacity: 0.8; }
.admin-input {
  padding: 10px 14px; border-radius: 6px; border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 14px; color: var(--navy);
  transition: all var(--transition);
}
.admin-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }

.checkbox-filters { display: flex; gap: 20px; padding: 10px 0; }
.check-container {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 14px; user-select: none;
}
.filter-actions { display: flex; gap: 12px; }

/* Stats */
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.stat-card {
  background: #fff; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border); text-align: center;
  box-shadow: var(--shadow); transition: all var(--transition);
  text-decoration: none; display: flex; flex-direction: column;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.stat-card.active { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.stat-num { display: block; font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Table */
.admin-table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--card-bg); }
.admin-table th {
  background: var(--navy); color: var(--gold);
  padding: 14px 16px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; text-align: left;
}
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }
.admin-table a { color: var(--navy); font-weight: 500; }
.admin-table a:hover { color: var(--gold); }
.center { text-align: center; }

.badge-cat {
  background: var(--navy); color: var(--gold);
  font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: 4px;
}
.action-cell { display: flex; gap: 6px; align-items: center; }
.action-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; border: 1px solid var(--border);
  transition: all var(--transition); background: #fff;
}
.edit-btn:hover   { background: #eff6ff; border-color: #3b82f6; color: #3b82f6; }
.delete-btn:hover { background: #fef2f2; border-color: #ef4444; color: #ef4444; }

/* Upload Form */
.upload-form-wrapper { max-width: 800px; }
.upload-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-input {
  padding: 11px 15px; border-radius: 8px;
  border: 1.5px solid var(--border); background: #fff;
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-select { appearance: auto; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-note { background: #fffbeb; border: 1px solid #fbbf24; border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #92400e; }

/* File Drop */
.file-drop {
  border: 2px dashed var(--border); border-radius: 10px;
  padding: 32px; text-align: center; position: relative;
  background: #fafafa; transition: all var(--transition); cursor: pointer;
}
.file-drop:hover, .file-drop.drag-over { border-color: var(--gold); background: var(--cream); }
.file-input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer;
}
.file-drop-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.file-drop-ui p  { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.file-browse      { color: var(--gold); font-weight: 600; }
.file-name        { font-size: 12px; color: var(--navy); font-weight: 500; }

.form-actions { display: flex; gap: 12px; align-items: center; padding-top: 8px; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: 11px 28px; border-radius: 8px;
  font-weight: 700; font-size: 14px; border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.4); }
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 10px 28px; border-radius: 8px;
  font-weight: 600; font-size: 14px; border: 1.5px solid var(--border);
  cursor: pointer; transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.full-width { width: 100%; text-align: center; }

/* ── ALERTS ────────────────────────────────────────────────────── */
.alert-success {
  background: #d1fae5; border: 1px solid #34d399; color: #065f46;
  padding: 12px 18px; border-radius: 8px; margin-bottom: 24px; font-size: 14px;
}
.alert-error {
  background: #fee2e2; border: 1px solid #f87171; color: #991b1b;
  padding: 12px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════════
   ADMIN LOGIN PAGE
   ══════════════════════════════════════════════════════════════════ */
.login-body {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 60%, #16213e 100%);
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
}
.login-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
  border: 1px solid rgba(201,168,76,0.3); border-radius: 20px;
  padding: 48px 44px; width: 100%; max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.login-header { text-align: center; margin-bottom: 32px; }
.login-cross { font-size: 40px; color: var(--gold); display: block; margin-bottom: 12px; text-shadow: 0 0 20px rgba(201,168,76,0.6); }
.login-title { font-family: var(--font-head); font-size: 26px; color: #fff; margin-bottom: 4px; }
.login-sub   { font-size: 13px; color: rgba(255,255,255,0.5); }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form .form-group label { color: rgba(255,255,255,0.75); }
.login-form .form-input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.login-form .form-input::placeholder { color: rgba(255,255,255,0.3); }
.login-form .form-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.login-back-link { display: block; text-align: center; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.login-back-link:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.main-content { flex: 1; }
.footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  border-top: 2px solid var(--gold); padding: 36px 0;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; color: #fff; font-family: var(--font-head); font-size: 17px; }
.footer-copy  { font-size: 13px; margin-bottom: 6px; }
.footer-verse { font-size: 13px; font-style: italic; color: var(--gold-light); }

/* ══════════════════════════════════════════════════════════════════
   ADSENSE PLACEHOLDERS
   ══════════════════════════════════════════════════════════════════ */
.adsense-side {
  position: fixed; top: 100px;
  width: 160px; height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; z-index: 50;
}
.adsense-left  { left: 10px; }
.adsense-right { right: 10px; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1365px) {
  /* Hide side ads on screens where they might overlap the main content */
  .adsense-side { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .form-row   { grid-template-columns: 1fr; }
  .pdf-iframe { height: 480px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .login-card { padding: 36px 24px; margin: 20px; }
}
@media (max-width: 480px) {
  .article-grid { grid-template-columns: 1fr; }
  .hero-title   { font-size: 26px; }
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════ */
.about-hero {
  background: var(--navy); color: #fff; padding: 100px 0 60px; text-align: center;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L33 27L60 30L33 33L30 60L27 33L0 30L27 27L30 0Z' fill='%23C9A84C'/%3E%3C/svg%3E");
}
.about-title { font-family: var(--font-head); font-size: 42px; margin-bottom: 12px; }
.about-subtitle { font-size: 18px; color: var(--gold); letter-spacing: 1px; }

.about-grid { display: grid; grid-template-columns: 1fr 350px; gap: 60px; margin-top: 60px; }
@media (max-width: 992px) { .about-grid { grid-template-columns: 1fr; } }

.about-text { font-size: 17px; line-height: 1.8; color: #4b5563; }
.about-text h2 { color: var(--navy); margin-bottom: 24px; font-family: var(--font-head); }

.thank-you-box {
  background: rgba(201,168,76,0.05); border-left: 4px solid var(--gold);
  padding: 32px; margin-top: 40px; border-radius: 0 8px 8px 0;
}
.thank-you-text { font-style: italic; font-size: 18px; color: var(--navy); margin-bottom: 16px; font-weight: 500; }
.thank-you-text:last-child { margin-bottom: 0; }

.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.contact-card h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 24px; color: var(--navy); }

.contact-methods { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 18px; flex-shrink: 0;
}
.contact-info { min-width: 0; }
.contact-info label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.contact-info a { 
  color: var(--navy); text-decoration: none; font-weight: 600; 
  transition: color var(--transition); 
  display: block; 
  word-break: break-word; 
  overflow-wrap: anywhere;
}
.contact-info a:hover { color: var(--gold); }