/* ===== TEPAN — Technology Education Practitioners Association of Nigeria ===== */

:root {
  --navy: #0b2e59;
  --navy-dark: #071f3d;
  --navy-light: #133d73;
  --gold: #c8a24a;
  --gold-light: #e4c987;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1f2a37;
  --text-muted: #5b6b7c;
  --border: #e3e7ee;
  --success: #1e7e45;
  --danger: #b3261e;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11,46,89,.07);
  --shadow-lg: 0 12px 32px rgba(11,46,89,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--navy-dark); margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ===== Header ===== */
.topbar { background: var(--navy-dark); color: #cdd8e6; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px; }
.topbar-links a { color: #cdd8e6; margin-left: 18px; }
.topbar-links a:hover { color: var(--gold-light); }

.site-header { background: var(--surface); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 8px; background: var(--navy);
  color: var(--gold); font-family: Georgia, serif; font-weight: bold; font-size: 22px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-logo {
  width: 46px; height: 46px; object-fit: contain; flex-shrink: 0;
}
.brand-logo-lg { width: 72px; height: 72px; object-fit: contain; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand-row h4 { margin: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--navy-dark); font-size: 1.15rem; letter-spacing: .5px; }
.brand-text small { color: var(--text-muted); font-size: .72rem; max-width: 260px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  color: var(--text); font-weight: 600; font-size: .93rem; padding: 10px 14px; border-radius: 6px;
}
.main-nav > a:hover, .main-nav > a.active { background: var(--bg); color: var(--navy); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 6px; z-index: 50;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: .9rem; }
.dropdown-menu a:hover { background: var(--bg); color: var(--navy); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(200,162,74,.25), transparent 45%);
}
.hero-inner { position: relative; max-width: 700px; }
.hero .eyebrow { color: var(--gold-light); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; }
.hero h1 { color: #fff; font-size: 2.4rem; margin: .4em 0; }
.hero p { color: #cdd8e6; font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 7px;
  font-weight: 600; font-size: .92rem; border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .82rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8f1e18; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== Sections ===== */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.6rem; }
.section-head .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-size: .78rem; }
.section-desc { color: var(--text-muted); max-width: 640px; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; margin-top: 32px; }
.stat-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat-card strong { display: block; font-size: 1.8rem; color: var(--gold-light); font-family: Georgia, serif; }
.stat-card span { font-size: .8rem; color: #cdd8e6; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.pub-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.pub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pub-cover {
  background: linear-gradient(160deg, var(--navy), var(--navy-light)); color: var(--gold-light);
  aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 18px; font-family: Georgia, serif; position: relative;
}
.pub-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pub-cover .cover-fallback { position: relative; z-index: 1; }
.pub-cover .cover-vol { font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.pub-cover .cover-title { font-size: 1.05rem; margin-top: 6px; font-weight: bold; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--navy-dark);
  font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; z-index: 2;
}
.pub-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pub-meta { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.pub-body h3 { font-size: 1.05rem; margin: 0; }
.pub-body p { font-size: .88rem; color: var(--text-muted); margin: 0; flex: 1; }
.pub-authors { font-size: .82rem; color: var(--navy); font-weight: 600; }
.pub-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* ===== Author byline (detail view) ===== */
.detail-byline { font-size: .95rem; color: var(--text-muted); margin: -2px 0 12px; }
.detail-byline a { color: var(--navy); font-weight: 600; }

/* ===== Author index list ===== */
.author-list { display: flex; flex-direction: column; gap: 10px; }
.author-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s;
}
.author-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.author-row .author-name { font-family: Georgia, serif; font-size: 1.08rem; color: var(--navy-dark); font-weight: bold; }
.author-row .author-count { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }

/* ===== Lists (volume / year index) ===== */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.tile .tile-num { font-family: Georgia, serif; font-size: 1.9rem; color: var(--navy); font-weight: bold; }
.tile .tile-label { color: var(--text-muted); font-size: .82rem; margin-top: 4px; }
.tile .tile-sub { color: var(--gold); font-size: .78rem; margin-top: 8px; font-weight: 600; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 30px; flex-wrap: wrap; }
.tabs a {
  padding: 10px 18px; font-weight: 600; font-size: .9rem; color: var(--text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tabs a.active, .tabs a:hover { color: var(--navy); border-color: var(--gold); }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: .84rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--navy-light); }
.breadcrumb .sep { margin: 0 6px; }

/* ===== Page header (inner pages) ===== */
.page-hero { background: var(--navy-dark); color: #fff; padding: 40px 0; }
.page-hero h1 { color: #fff; margin: 0; font-size: 1.9rem; }
.page-hero p { color: #b9c6d6; margin: 8px 0 0; }
.issn-line { font-size: .82rem; letter-spacing: .3px; color: #91a2b8 !important; margin-top: 10px !important; }
.footer-issn { font-size: .8rem; color: #8fa1b6; margin-top: 8px; letter-spacing: .3px; }

/* ===== Detail view ===== */
.detail-grid { display: grid; grid-template-columns: 280px 1fr; gap: 36px; }
.detail-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.detail-info h1 { font-size: 1.7rem; }
.detail-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 20px 0; }
.detail-facts div span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.detail-facts div strong { font-size: .98rem; color: var(--navy-dark); }

/* ===== Empty state ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state .icon { font-size: 2.4rem; margin-bottom: 10px; }

/* ===== Forms ===== */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); max-width: 620px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy-dark); }
.form-group .hint { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
input[type=text], input[type=number], input[type=date], input[type=email], input[type=password], input[type=file], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; font-size: .92rem; font-family: inherit; background: #fff; color: var(--text);
}
textarea { resize: vertical; min-height: 100px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(19,61,115,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }

/* ===== Alerts ===== */
.alert { padding: 12px 16px; border-radius: 7px; margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: #e6f4ea; color: var(--success); border: 1px solid #b7ddc4; }
.alert-error { background: #fbe9e7; color: var(--danger); border: 1px solid #f0c2bd; }

/* ===== Tables (admin) ===== */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { background: var(--bg); color: var(--navy-dark); font-size: .76rem; text-transform: uppercase; letter-spacing: .4px; }
tr:last-child td { border-bottom: none; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.pill-current { background: #e6f4ea; color: var(--success); }
.pill-muted { background: var(--bg); color: var(--text-muted); }

/* ===== Admin shell ===== */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 230px; background: var(--navy-dark); color: #cdd8e6; flex-shrink: 0; padding: 20px 0; }
.admin-sidebar .brand-mini { display: flex; align-items: center; gap: 10px; padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 12px; color: #fff; font-family: Georgia, serif; font-weight: bold; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: #cdd8e6; font-size: .9rem; font-weight: 500; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.08); color: #fff; border-right: 3px solid var(--gold); }
.admin-main { flex: 1; background: var(--bg); }
.admin-topbar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; }
.admin-content { padding: 28px; }
.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; margin-bottom: 28px; }
.admin-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.admin-stat strong { display: block; font-size: 1.8rem; font-family: Georgia, serif; color: var(--navy); }
.admin-stat span { font-size: .82rem; color: var(--text-muted); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); padding: 20px; }
.login-card { background: #fff; border-radius: 12px; padding: 36px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); }
.login-card .brand-mark { margin: 0 auto 16px; }
.login-card h1 { text-align: center; font-size: 1.3rem; }
.login-card .sub { text-align: center; color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #b9c6d6; padding: 48px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b9c6d6; font-size: .88rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #b9c6d6;
  font-size: .88rem;
  line-height: 1.4;
}
.footer-contact-item a { word-break: break-all; }
.footer-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: .8rem; text-align: center; color: #8fa1b6; }

/* ===== Contact Page & Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(11,46,89,.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-title {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-card-link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  word-break: break-all;
}
.contact-card-link:hover {
  color: var(--gold);
}
.contact-phone-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card-text {
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
}

/* ===== Homepage: compact "Current Issue" feature ===== */
.home-current { padding: 40px 0; }
.home-current .section-head { margin-bottom: 20px; }
.home-current .section-head h2 { font-size: 1.25rem; }
.home-current .section-head .eyebrow { font-size: .72rem; }
.home-current .detail-grid { grid-template-columns: 190px 1fr; gap: 26px; align-items: start; }
.home-current .detail-info h1 { font-size: 1.15rem; margin-bottom: .4em; }
.home-current .detail-info .pub-meta { font-size: .72rem; }
.home-current .detail-info p { font-size: .88rem; }
.home-current .pub-actions .btn { padding: 8px 15px; font-size: .82rem; }

/* ===== Homepage: compact journal listing cards ===== */
.home-recent { padding: 40px 0; }
.home-recent .section-head { margin-bottom: 20px; }
.home-recent .section-head h2 { font-size: 1.25rem; }
.home-recent .section-head .eyebrow { font-size: .72rem; }
.home-recent .card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.home-recent .pub-cover { padding: 14px; }
.home-recent .pub-cover .cover-vol { font-size: .68rem; }
.home-recent .pub-cover .cover-title { font-size: .9rem; }
.home-recent .pub-body { padding: 12px 14px; gap: 6px; }
.home-recent .pub-body h3 { font-size: .92rem; }
.home-recent .pub-meta { font-size: .7rem; }
.home-recent .pub-actions .btn { padding: 6px 11px; font-size: .76rem; }

/* ===== Prose (policy / announcement bodies) ===== */
.prose { color: var(--text); }
.prose h2 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 1.08rem; margin: 1.3em 0 .4em; }
.prose p, .prose li { font-size: .95rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--navy-light); text-decoration: underline; }
.page-updated { margin-top: 2.5em; font-size: .8rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--border); }
.link-list a { display: block; padding: 12px 4px; font-weight: 600; color: var(--navy); }
.link-list a:hover { color: var(--gold); }

/* ===== Editorial board ===== */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 36px; }
.board-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.board-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 1.6rem; }
.board-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-info h3 { margin: 0 0 2px; font-size: 1.02rem; }
.board-position { font-size: .84rem; color: var(--navy); font-weight: 600; }
.board-affil { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }
.board-bio { font-size: .84rem; color: var(--text); margin: 8px 0 0; }
.board-links { margin-top: 8px; display: flex; gap: 12px; }
.board-links a { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }

/* ===== Resource list ===== */
.resource-list { display: flex; flex-direction: column; gap: 10px; }
.resource-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.resource-desc { font-size: .86rem; color: var(--text-muted); margin-top: 2px; }
.resource-meta { font-size: .74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; margin-top: 4px; }

/* ===== Announcements ===== */
.announce-list { display: flex; flex-direction: column; gap: 16px; }
.announce-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.announce-item h3 { margin: 4px 0 8px; font-size: 1.12rem; }
.announce-date { font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); font-weight: 700; }
.announce-item p { font-size: .9rem; color: var(--text-muted); }

.announce-strip { background: #fff7e8; border-bottom: 1px solid var(--border); }
.announce-strip .container { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.announce-strip-label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--navy); flex-shrink: 0; }
.announce-strip ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex: 1; overflow: hidden; flex-wrap: wrap; }
.announce-strip li { font-size: .86rem; }
.announce-strip li a { color: var(--navy-dark); font-weight: 600; }
.announce-strip-date { color: var(--text-muted); margin-left: 6px; font-size: .78rem; }
.announce-strip-all { font-size: .8rem; font-weight: 700; flex-shrink: 0; }

/* ===== Subscribe ===== */
.subscribe-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 28px; }
.subscribe-box p { font-size: .88rem; color: var(--text-muted); margin: 4px 0 12px; }
.subscribe-form { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe-form input { flex: 1; min-width: 140px; }
.footer-subscribe { border-top: 1px solid rgba(255,255,255,.12); }
.footer-subscribe .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; flex-wrap: wrap; }
.footer-subscribe strong { color: #fff; display: block; }
.footer-subscribe span { color: #8fa1b6; font-size: .84rem; }
.footer-subscribe .subscribe-form { max-width: 460px; }
.footer-subscribe input { background: rgba(255,255,255,.95); border: none; }

/* ===== Admin sidebar sections ===== */
.nav-section { padding: 16px 20px 6px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #7f93ab; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-cover { max-width: 220px; }
  .home-current .detail-grid { grid-template-columns: 1fr; }
  .home-current .detail-cover { max-width: 190px; }
  .contact-grid { grid-template-columns: 1fr; }
  .board-card { flex-direction: column; }
  .footer-subscribe .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .topbar-inner span:first-child { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px; border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { display: block; position: static; border: none; box-shadow: none; padding-left: 14px; }
  .navbar { position: relative; }
  .hero h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: -230px; top: 0; bottom: 0; z-index: 150; transition: left .2s; }
  .admin-sidebar.open { left: 0; }
}
