/* ============================================================
   COLLEGE DE BETHEL / APARUDE
   Main Stylesheet — matches collegedebethel.free.nf
   Professional school design · Dark/Light mode
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;900&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --blue:          #1e3a8a;
  --blue-mid:      #2b4c96;
  --blue-light:    #3b5fc0;
  --orange:        #f97316;
  --orange-dark:   #ea6c0a;
  --green:         #16a34a;
  --red:           #dc2626;

  /* Dark theme (default) */
  --bg:            #0f172a;
  --bg-surface:    #1e293b;
  --bg-card:       #1e293b;
  --bg-nav:        #111827;
  --bg-input:      #1e293b;
  --border:        #334155;
  --text:          #f1f5f9;
  --text-sub:      #94a3b8;
  --text-muted:    #64748b;
  --shadow:        rgba(0,0,0,0.4);
  --card-hover:    rgba(249,115,22,0.4);

  /* ── Aliases for legacy variable names used in article.php ── */
  --bethel-orange:  #f97316;
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --shadow-color:   rgba(0,0,0,0.4);
  --border-color:   #334155;
}

[data-theme="light"] {
  --bg:            #f8fafc;
  --bg-surface:    #ffffff;
  --bg-card:       #ffffff;
  --bg-nav:        #ffffff;
  --bg-input:      #f8fafc;
  --border:        #e2e8f0;
  --text:          #0f172a;
  --text-sub:      #475569;
  --text-muted:    #64748b;
  --shadow:        rgba(0,0,0,0.08);
  --card-hover:    rgba(249,115,22,0.3);
  /* aliases */
  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --shadow-color:   rgba(0,0,0,0.08);
  --border-color:   #e2e8f0;
}

/* ── BASE ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.7; transition: background .3s, color .3s;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── TOPBAR ────────────────────────────────────────────────── */
.topbar {
  background: var(--blue);
  color: #fff; padding: 8px 0; font-size: .8rem; z-index: 100; position: relative;
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-contact a:hover { color: var(--orange); }
.topbar-socials { display: flex; gap: 6px; }
.topbar-socials a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
  transition: all .2s;
}
.topbar-socials a:hover { background: var(--orange); transform: translateY(-2px); }

/* ── BRAND BAR ─────────────────────────────────────────────── */
.brand-bar {
  background: var(--bg-nav); border-bottom: 1px solid var(--border);
  padding: 18px 24px; text-align: center; position: relative;
  transition: background .3s;
}
.brand-bar::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 4px; background: var(--orange);
}
.brand-bar h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem,3vw,2rem); color: var(--text);
  letter-spacing: .06em; margin-bottom: 5px; transition: color .3s;
}
.brand-bar .divider { width: 70px; height: 3px; background: var(--orange); margin: 0 auto 7px; border-radius: 2px; }
.brand-bar p { font-size: .73rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-sub); font-weight: 600; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  background: var(--bg-nav); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 4px 20px var(--shadow); transition: background .3s;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px; font-size: .85rem; font-weight: 500;
  color: var(--text-sub); position: relative; transition: all .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--orange); border-radius: 2px; transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: calc(100% - 26px); }
.nav-links a.active { color: var(--orange); }
.nav-links a.nav-apply {
  background: var(--orange); color: #fff !important; border-radius: 100px; padding: 8px 18px;
}
.nav-links a.nav-apply::after { display: none; }
.nav-links a.nav-apply:hover { background: var(--orange-dark); transform: translateY(-1px); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--bg-surface); color: var(--orange); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px var(--shadow); transition: all .3s;
}
.theme-btn:hover { background: var(--orange); color: #fff; transform: scale(1.1); }
.btn-staff {
  background: var(--orange); color: #fff;
  padding: 8px 18px; border-radius: 100px; font-size: .60rem; font-weight: 500;
  transition: all .2s;
}
.btn-staff:hover { background: var(--orange-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }
.mobile-menu {
  display: none; flex-direction: column; padding: 10px 14px 14px;
  background: var(--bg-nav); border-top: 1px solid var(--border); gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 12px; border-radius: 8px; font-size: .8rem; font-weight: 400; color: var(--text-sub); transition: all .2s; }
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(249,115,22,.1); color: var(--orange); }

/* ── HERO SLIDER ───────────────────────────────────────────── */
.hero-slider {
  position: relative; height: clamp(360px,58vw,640px);
  overflow: hidden; background: var(--bg);
}
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(15,23,42,.65),rgba(43,76,150,.60)); }
.slide-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; max-width: 760px;
  animation: slideUp .8s ease forwards;
}
@keyframes slideUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.slide-badge {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: .50rem; font-weight: 700; letter-spacing: 2px; padding: 5px 16px;
  border-radius: 100px; margin-bottom: 18px; text-transform: uppercase;
}
.slide-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem,5vw,3.6rem); color: #fff; line-height: 1.2;
  margin-bottom: 14px; text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.slide-content h2 span { color: var(--orange); }
.slide-content p { color: rgba(255,255,255,.88); font-size: clamp(.93rem,2vw,1.15rem); max-width: 520px; margin: 0 auto 28px; font-weight: 300; }
.slide-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--orange); color: #fff; padding: 13px 30px; border-radius: 100px;
  font-weight: 600; font-size: .83rem; border: 2px solid var(--orange);
  transition: all .3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { background: transparent; transform: translateY(-3px); }
.btn-hero-outline {
  background: transparent; color: #fff; padding: 13px 30px; border-radius: 100px;
  font-weight: 700; font-size: .93rem; border: 2px solid rgba(255,255,255,.5);
  transition: all .3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.3); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer; transition: all .3s;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-50%) scale(1.1); }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.dot { height: 6px; border-radius: 3px; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; width: 6px; }
.dot.active { background: var(--orange); width: 24px; }
.scroll-hint {
  position: absolute; bottom: 22px; right: 22px; z-index: 10;
  color: rgba(255,255,255,.5); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ── ANNOUNCEMENT TICKER ───────────────────────────────────── */
.ticker-wrap {
  background: var(--blue); color: #fff; padding: 10px 0;
  overflow: hidden; border-bottom: 3px solid var(--orange);
}
.ticker-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; }
.ticker-label {
  background: var(--orange); padding: 3px 12px; border-radius: 100px;
  font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; flex-shrink: 0;
}
.ticker-track { display: flex; gap: 60px; animation: ticker 28s linear infinite; white-space: nowrap; }
.ticker-track a { color: rgba(255,255,255,.9); font-size: .84rem; font-weight: 500; transition: color .2s; }
.ticker-track a:hover { color: var(--orange); }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── PARTNERS STRIP ────────────────────────────────────────── */
.partners-strip {
  background: var(--bg-surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 14px 0; overflow: hidden;
}
.partners-track { display: flex; animation: scroll-left 26s linear infinite; width: max-content; }
.partners-track:hover { animation-play-state: paused; }
@keyframes scroll-left { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.partner-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 26px; border-right: 1px solid var(--border);
  white-space: nowrap; color: var(--text-sub); font-weight: 600; font-size: .88rem;
}
.partner-chip:hover { color: var(--orange); }
.partner-chip i { color: var(--orange); font-size: 1.05rem; }

/* ── SECTIONS ──────────────────────────────────────────────── */
.section { padding: 76px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-bg { background: var(--bg); }
.section-alt { background: var(--bg-surface); }
.section-border { border-top: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg,var(--orange),#fb923c); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; padding: 4px 14px;
  border-radius: 100px; margin-bottom: 14px; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(249,115,22,.3);
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem,3.2vw,2.5rem); color: var(--text); margin-bottom: 10px;
}
.section-header p { color: var(--text-sub); max-width: 520px; margin: 0 auto; font-size: .95rem; }
.section-divider { width: 52px; height: 4px; background: var(--orange); border-radius: 2px; margin: 10px auto 0; }

/* ── FEATURED ARTICLE (homepage hero post) ─────────────────── */
.featured-article-wrap { margin-bottom: 36px; }
.featured-article {
  display: grid; grid-template-columns: 1.2fr 1fr;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px var(--shadow); transition: all .35s;
}
.featured-article:hover { transform: translateY(-5px); box-shadow: 0 28px 70px var(--shadow); }
.feat-img {
  min-height: 340px; position: relative;
  background: linear-gradient(135deg,var(--blue),#0f172a);
  overflow: hidden;
}
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured-article:hover .feat-img img { transform: scale(1.04); }
.feat-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.5),transparent 50%); }
.feat-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2; flex-wrap: wrap; }
.feat-latest {
  background: var(--orange); color: #fff; font-size: .67rem; font-weight: 800;
  padding: 3px 12px; border-radius: 100px; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(249,115,22,.5);
}
.news-tag { background: var(--orange); color: #fff; font-size: .67rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; }
.feat-body {
  background: var(--bg-card); padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.feat-type { font-size: .73rem; font-weight: 700; color: var(--orange); margin-bottom: 10px; letter-spacing: .5px; }
.feat-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem,2.2vw,1.75rem); color: var(--text); margin-bottom: 14px; line-height: 1.3;
}
.feat-excerpt { color: var(--text-sub); font-size: .95rem; line-height: 1.8; margin-bottom: 18px; }
.feat-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .78rem; color: var(--text-muted); }
.feat-meta span { display: flex; align-items: center; gap: 5px; }
.feat-meta i { color: var(--orange); }

/* ── NEWS CARDS ────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 22px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all .3s;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 16px 40px var(--shadow); }
.news-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background: linear-gradient(135deg,var(--blue),#1e293b);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.45),transparent); }
.news-body { padding: 18px; }
.news-body h3 { color: var(--text); font-weight: 700; font-size: .97rem; margin-bottom: 7px; }
.news-body p { color: var(--text-sub); font-size: .84rem; margin-bottom: 12px; line-height: 1.6; }
.news-meta { display: flex; gap: 12px; font-size: .77rem; color: var(--text-muted); }
.news-meta i { color: var(--orange); }
.news-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-size: .82rem; font-weight: 600; margin-top: 10px; transition: gap .2s;
}
.news-read-more:hover { gap: 10px; }

/* ── PROGRAMS ──────────────────────────────────────────────── */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 22px; }
.program-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; transition: all .35s; display: flex; flex-direction: column;
}
.program-card:hover { transform: translateY(-7px); border-color: var(--card-hover); box-shadow: 0 20px 50px var(--shadow); }
.program-card-img { height: 185px; position: relative; overflow: hidden; }
.program-card-img > div { width: 100%; height: 100%; }
.program-card:hover .program-card-img > div { transform: scale(1.04); transition: transform .5s; }
.program-card-icon {
  position: absolute; top: 12px; left: 12px; width: 36px; height: 36px;
  background: var(--orange); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem; box-shadow: 0 4px 12px rgba(249,115,22,.4);
}
.program-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.program-card-body h3 { color: var(--text); font-weight: 700; font-size: 1rem; margin-bottom: 7px; }
.program-card-body p { color: var(--text-sub); font-size: .84rem; margin-bottom: 14px; flex: 1; line-height: 1.65; }
.program-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .77rem; color: var(--text-sub);
}
.program-card-footer span { display: flex; align-items: center; gap: 4px; }
.program-card-footer i { color: var(--orange); }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,2.8vw,2.1rem); color: var(--text); margin-bottom: 18px; }
.about-text p { color: var(--text-sub); margin-bottom: 14px; line-height: 1.8; }
.mission-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--orange); border-radius: 14px;
  padding: 24px; margin-bottom: 16px; transition: all .3s;
}
.mission-card:hover { transform: translateX(4px); box-shadow: 0 8px 24px var(--shadow); }
.mission-card-icon { width: 42px; height: 42px; background: var(--orange); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.mission-card h3 { color: var(--text); font-weight: 700; margin-bottom: 7px; }
.mission-card p { color: var(--text-sub); font-size: .87rem; }

/* ── STATS ─────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 22px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 28px 20px; text-align: center; transition: all .3s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px var(--shadow); }
.stat-icon { width: 58px; height: 58px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin: 0 auto 14px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-label { color: var(--text); font-weight: 700; margin: 5px 0 3px; }
.stat-desc { color: var(--text-muted); font-size: .8rem; }

/* ── CAMPUS GALLERY ────────────────────────────────────────── */
.campus-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,230px); gap: 12px; }
.campus-item { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; }
.campus-item.tall { grid-row: span 2; }
.cam-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .5s; }
.campus-item:hover .cam-bg { transform: scale(1.06); }
.campus-caption {
  position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.72),transparent 50%);
  display: flex; align-items: flex-end; padding: 14px; opacity: 0; transition: opacity .3s;
}
.campus-item:hover .campus-caption { opacity: 1; }
.campus-caption span { color: #fff; font-weight: 700; font-size: .88rem; }

/* ── TESTIMONIAL ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: clamp(24px,5vw,52px); position: relative; overflow: hidden;
}
.quote-mark { font-family: Georgia,serif; font-size: 5.5rem; line-height: 1; color: rgba(249,115,22,.08); position: absolute; top: 0; left: 18px; }
.testimonial-text { color: var(--text); font-size: clamp(.93rem,1.8vw,1.1rem); font-style: italic; font-weight: 300; line-height: 1.9; margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 18px; }
.testimonial-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.testimonial-author h4 { color: var(--text); font-weight: 700; }
.testimonial-author span { color: var(--orange); font-size: .84rem; font-weight: 600; }

/* ── CTA ───────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg,var(--blue) 0%,#1e3a8a 100%);
  padding: 76px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);
  background-size: 25px 25px;
}
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem,3.5vw,2.8rem); color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-section p  { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1rem; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-cta-primary { background: var(--orange); color: #fff; padding: 13px 34px; border-radius: 100px; font-weight: 700; font-size: .97rem; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(249,115,22,.4); }
.btn-cta-outline { background: rgba(255,255,255,.12); color: #fff; padding: 13px 34px; border-radius: 100px; font-weight: 700; font-size: .97rem; border: 2px solid rgba(255,255,255,.3); transition: all .3s; }
.btn-cta-outline:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }

/* ── FOOTER ────────────────────────────────────────────────── */
footer { background: var(--bg-nav); border-top: 1px solid var(--border); padding: 60px 24px 22px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; margin-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.footer-brand span { font-weight: 800; color: var(--orange); font-size: 1rem; }
.footer-col p { color: var(--text-sub); font-size: .84rem; line-height: 1.8; }
.footer-socials { display: flex; gap: 9px; margin-top: 16px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-surface); color: var(--text-sub); display: flex; align-items: center; justify-content: center; font-size: .82rem; border: 1px solid var(--border); transition: all .3s; }
.footer-socials a:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-3px); }
.footer-col h4 { color: var(--text); font-weight: 700; font-size: .93rem; margin-bottom: 18px; position: relative; padding-bottom: 9px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 26px; height: 2px; background: var(--orange); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: var(--text-sub); font-size: .84rem; transition: all .2s; display: flex; align-items: center; gap: 5px; }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--orange); margin-top: 3px; font-size: .83rem; flex-shrink: 0; }
.footer-contact-item span { color: var(--text-sub); font-size: .84rem; }
.footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p, .footer-bottom a { color: var(--text-muted); font-size: .79rem; transition: color .2s; }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; gap: 18px; }

/* ── FLOATING BUTTONS ──────────────────────────────────────── */
.fab-whatsapp { position: fixed; bottom: 26px; left: 26px; z-index: 9999; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 6px 22px rgba(37,211,102,.4); transition: all .3s; }
.fab-whatsapp:hover { transform: translateY(-4px) scale(1.1); background: #1fab54; }
.fab-top { position: fixed; bottom: 26px; right: 26px; z-index: 9999; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 6px 22px rgba(249,115,22,.4); transition: all .3s; opacity: 0; pointer-events: none; }
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-top:hover { transform: translateY(-4px) scale(1.1); }

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg,#1e293b,var(--blue));
  padding: 68px 24px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.04) 1px,transparent 1px); background-size: 20px 20px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; font-size: .82rem; color: rgba(255,255,255,.55); position: relative; z-index: 1; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem,3.8vw,2.8rem); color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: var(--text-sub); font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--bg-input);
  color: var(--text); font-family: 'Inter',sans-serif; font-size: .92rem; transition: all .3s;
}
.form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.btn-submit { width: 100%; padding: 12px; border-radius: 10px; border: none; cursor: pointer; background: var(--orange); color: #fff; font-weight: 700; font-size: .97rem; font-family: 'Inter',sans-serif; transition: all .3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 36px; }
.contact-form-card h3 { color: var(--text); font-family: 'Playfair Display',serif; font-size: 1.4rem; margin-bottom: 22px; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MISC ──────────────────────────────────────────────────── */
.btn-orange { display: inline-flex; align-items: center; gap: 7px; background: var(--orange); color: #fff; padding: 12px 28px; border-radius: 100px; font-weight: 700; font-size: .92rem; border: none; cursor: pointer; transition: all .3s; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.text-center { text-align: center; }
.mt-12 { margin-top: 46px; }

/* ── ARTICLE ───────────────────────────────────────────────── */
.article-content { color: var(--text); font-size: 1.03rem; line-height: 1.9; }
.article-content h1,.article-content h2,.article-content h3 { font-family: 'Playfair Display',serif; color: var(--text); margin: 32px 0 14px; }
.article-content h2 { font-size: 1.45rem; border-bottom: 2px solid var(--orange); padding-bottom: 7px; display: inline-block; }
.article-content h3 { font-size: 1.15rem; color: var(--orange); }
.article-content p { margin-bottom: 18px; color: var(--text-sub); }
.article-content ul,.article-content ol { margin: 0 0 18px 22px; color: var(--text-sub); }
.article-content li { margin-bottom: 7px; }
.article-content strong { color: var(--text); }
.article-content blockquote { border-left: 4px solid var(--orange); margin: 22px 0; padding: 14px 22px; background: rgba(249,115,22,.05); border-radius: 0 8px 8px 0; font-style: italic; color: var(--text-sub); }
.article-content img { max-width: 100%; border-radius: 12px; margin: 22px 0; box-shadow: 0 8px 24px var(--shadow); }
.article-content a { color: var(--orange); text-decoration: underline; }
.article-content code { background: var(--bg-surface); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.article-content pre { background: var(--bg-surface); padding: 14px; border-radius: 8px; overflow-x: auto; margin-bottom: 18px; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media(max-width:1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-article { grid-template-columns: 1fr; }
  .feat-img { min-height: 220px; }
  .campus-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .campus-item.tall { grid-row: span 1; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media(max-width:640px) {
  .section { padding: 52px 16px; }
  .topbar-contact a span { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .campus-grid { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .programs-grid,.news-grid { grid-template-columns: 1fr; }
  .feat-body { padding: 24px; }
}

/* ============================================================
   BETHEL v4 — Extended Styles
   Roboto headings, programs redesign, leaders slider,
   news notifications, publications, apply form
   ============================================================ */

/* ── Roboto for all h2 headings ────────────────────────────── */
h2, .section-header h2, .feat-title, .feat-body h2,
.slide-content h2, .cta-section h2,
.about-text h2, .page-hero h1 {
  font-family: 'Roboto', 'Playfair Display', sans-serif !important;
  font-weight: 700;
  color: #ffffff !important;
}
/* For light mode – body h2 inside cards should be readable */
[data-theme="light"] .section-header h2,
[data-theme="light"] .about-text h2,
[data-theme="light"] .feat-title,
[data-theme="light"] .feat-body h2 { color: #0f172a !important; }
[data-theme="light"] .slide-content h2,
[data-theme="light"] .cta-section h2,
[data-theme="light"] .page-hero h1 { color: #ffffff !important; }
[data-theme="light"] .leader-card h2,
[data-theme="light"] .mission-card h3 { color: #0f172a !important; }

/* ── NEWS NOTIFICATION POPUPS ──────────────────────────────── */
#news-notif-container {
  position: fixed; bottom: 90px; right: 20px; z-index: 9998;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.news-notif-popup {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--orange); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25); width: 320px;
  animation: notifSlideIn .4s cubic-bezier(.34,1.56,.64,1) forwards;
  pointer-events: auto; overflow: hidden;
  transform: translateX(340px);
}
@keyframes notifSlideIn {
  to { transform: translateX(0); }
}
.news-notif-popup.nnp-hide {
  animation: notifSlideOut .4s ease forwards;
}
@keyframes notifSlideOut {
  to { transform: translateX(340px); opacity: 0; }
}
.nnp-inner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 14px 10px;
}
.nnp-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg,var(--orange),#fb923c);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.nnp-body { flex: 1; min-width: 0; }
.nnp-label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--orange); margin-bottom: 3px; }
.nnp-title { font-size: .84rem; font-weight: 600; color: var(--text); display: block; line-height: 1.4; transition: color .2s; }
.nnp-title:hover { color: var(--orange); }
.nnp-close {
  width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--border);
  color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0; transition: all .2s; margin-top: 2px;
}
.nnp-close:hover { background: #dc2626; color: #fff; }
.nnp-progress {
  height: 3px; background: var(--orange);
  animation: nnpProgress 7s linear forwards;
}
@keyframes nnpProgress { from{width:100%} to{width:0%} }
@media(max-width:480px){
  .news-notif-popup { width: calc(100vw - 24px); }
  #news-notif-container { right: 12px; }
}

/* ── PROGRAMS V2 CARDS ─────────────────────────────────────── */
.programs-section-label {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.05rem; color: var(--text);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.programs-section-label i { color: var(--orange); font-size: 1.15rem; }
.programs-section-label span { font-size: .78rem; color: var(--text-muted); font-weight: 500; margin-left: auto; }

.programs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; }
.programs-grid-reb { grid-template-columns: repeat(auto-fill,minmax(380px,1fr)); }

.program-card-v2 {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; transition: all .35s;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 16px var(--shadow);
}
.program-card-v2:hover { transform: translateY(-8px); box-shadow: 0 20px 50px var(--shadow); border-color: var(--orange); }

.pc2-image {
  height: 195px; position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.program-card-v2:hover .pc2-image { transform: scale(1.02); transition: transform .5s; }
.pc2-gradient { position: absolute; inset: 0; }
.pc2-code {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  color: #fff; font-size: .7rem; font-weight: 900; letter-spacing: 2px;
  padding: 4px 10px; border-radius: 6px; text-transform: uppercase;
}
.reb-badge { background: var(--orange) !important; border-radius: 100px !important; }
.pc2-icon {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; border: 1px solid rgba(255,255,255,.3);
}

.pc2-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pc2-body h3 { color: var(--text) !important; font-family: 'Roboto',sans-serif !important; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.pc2-desc { color: var(--text-sub); font-size: .86rem; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.pc2-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.pc2-level { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.pc2-students { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.pc2-read-more {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); color: #fff; padding: 9px 20px;
  border-radius: 100px; font-size: .83rem; font-weight: 700;
  transition: all .25s; align-self: flex-start;
}
.pc2-read-more:hover { background: var(--orange-dark); transform: translateX(4px); }

/* ── LEADERS SLIDER ────────────────────────────────────────── */
.leaders-slider-wrap { position: relative; overflow: hidden; }
.leaders-track {
  display: flex; gap: 24px; transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.leader-card {
  min-width: calc(50% - 12px); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 8px 32px var(--shadow);
  transition: all .3s;
}
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px var(--shadow); }
.leader-img-wrap {
  height: 220px; overflow: hidden; position: relative;
  background: linear-gradient(135deg,var(--blue),#0f172a);
}
.leader-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.leader-card:hover .leader-img-wrap img { transform: scale(1.05); }
.leader-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.leader-quote { font-size: 1.8rem; color: rgba(249,115,22,.25); line-height: 1; margin-bottom: 8px; }
.leader-text { color: var(--text-sub); font-size: .9rem; line-height: 1.8; font-style: italic; flex: 1; margin-bottom: 20px; }
.leader-info { border-top: 1px solid var(--border); padding-top: 16px; }
.leader-name { font-family: 'Roboto',sans-serif; font-weight: 700; color: var(--text); font-size: 1rem; margin-bottom: 3px; }
.leader-role { font-size: .8rem; color: var(--orange); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.leaders-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.leaders-prev, .leaders-next {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border);
  background: var(--bg-card); color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.leaders-prev:hover, .leaders-next:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.leaders-dots { display: flex; gap: 8px; }
.ldot { width: 8px; height: 8px; border-radius: 4px; background: var(--border); cursor: pointer; transition: all .3s; }
.ldot.active { background: var(--orange); width: 24px; }
@media(max-width:860px) {
  .leader-card { min-width: calc(100% - 0px); }
}

/* ── CTA WITH PHOTO BACKGROUND ─────────────────────────────── */
.cta-section { padding: 100px 24px; text-align: center; position: relative; }
.cta-bg-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(15,23,42,.88),rgba(30,58,138,.82));
}
.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: #fff !important; margin-bottom: 16px; font-size: clamp(1.8rem,4vw,3rem); }
.cta-section p  { color: rgba(255,255,255,.85); margin-bottom: 36px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary { background: var(--orange); color: #fff; padding: 14px 36px; border-radius: 100px; font-weight: 700; font-size: .98rem; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(249,115,22,.4); }
.btn-cta-outline { background: rgba(255,255,255,.12); color: #fff; padding: 14px 36px; border-radius: 100px; font-weight: 700; font-size: .98rem; border: 2px solid rgba(255,255,255,.4); transition: all .3s; }
.btn-cta-outline:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
@supports(-webkit-overflow-scrolling:touch){ .cta-bg-photo { background-attachment: scroll; } }

/* ── PUBLICATIONS PAGE ─────────────────────────────────────── */
.pub-filter-bar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.pub-search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.pub-search-box { position: relative; flex: 1; min-width: 220px; }
.pub-search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.pub-search-box input { width: 100%; padding: 11px 14px 11px 36px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg-card); color: var(--text); font-size: .9rem; font-family: inherit; outline: none; transition: border-color .3s; }
.pub-search-box input:focus { border-color: var(--orange); }
.pub-search-btn { padding: 11px 22px; background: var(--orange); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: .88rem; }
.pub-clear-btn { padding: 11px 14px; background: var(--bg-card); color: var(--text-muted); border: 1.5px solid var(--border); border-radius: 10px; display: flex; align-items: center; }
.pub-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-tab { padding: 7px 18px; border-radius: 100px; font-size: .82rem; font-weight: 700; border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text-muted); transition: all .2s; cursor: pointer; }
.pub-tab:hover { border-color: var(--orange); color: var(--orange); }
.pub-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.pub-tab-count { font-size: .7rem; opacity: .8; margin-left: 4px; }
.pub-empty { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.pub-empty i { font-size: 2.8rem; margin-bottom: 14px; display: block; opacity: .3; }
.pub-empty h3 { color: var(--text); margin-bottom: 6px; }

.pub-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px; }
.pub-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.pub-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px var(--shadow); border-color: var(--orange); }
.pub-card-expired { opacity: .7; }
.pub-banner { height: 160px; position: relative; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.pub-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.5),transparent); }
.pub-banner-placeholder i { font-size: 3rem; color: rgba(255,255,255,.5); position: relative; z-index: 1; }
.pub-expired-badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(220,38,38,.9); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; display: flex; align-items: center; gap: 5px; }
.pub-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pub-meta-top { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pub-type-badge { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.pub-type-announcement { background: rgba(249,115,22,.12); color: var(--orange); }
.pub-type-event { background: rgba(8,145,178,.12); color: #0891b2; }
.pub-cat { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.pub-title { font-family: 'Roboto',sans-serif; font-weight: 700; color: var(--text) !important; font-size: 1rem; margin-bottom: 8px; }
.pub-excerpt { color: var(--text-muted); font-size: .84rem; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.pub-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.pub-dates { display: flex; flex-direction: column; gap: 3px; font-size: .75rem; color: var(--text-muted); }
.pub-expired-text { color: #dc2626; font-weight: 600; }
.pub-expiring-soon { color: #d97706; font-weight: 700; }
.pub-actions { display: flex; gap: 8px; align-items: center; }
.pub-read-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--orange); color: #fff; padding: 7px 16px; border-radius: 100px; font-size: .8rem; font-weight: 700; transition: all .2s; }
.pub-read-btn:hover { background: var(--orange-dark); transform: translateX(2px); }
.pub-link-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .82rem; transition: all .2s; }
.pub-link-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── APPLY FORM ─────────────────────────────────────────────── */
.apply-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 36px; flex-wrap: wrap; }
.apply-step { display: flex; align-items: center; gap: 8px; }
.step-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-surface); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; border: 2px solid var(--border); transition: all .3s; }
.apply-step.active .step-circle { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 4px 12px rgba(249,115,22,.35); }
.apply-step span { color: var(--text-muted); font-size: .82rem; font-weight: 500; }
.apply-step.active span { color: var(--text); font-weight: 700; }
.step-line { width: 36px; height: 2px; background: var(--border); margin: 0 6px; }
.apply-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px var(--shadow); }
.apply-card-header { background: linear-gradient(135deg,var(--blue),var(--blue-mid)); padding: 28px 32px; }
.apply-card-header h3 { color: #fff !important; font-family: 'Roboto',sans-serif !important; font-size: 1.25rem; margin-bottom: 6px; }
.apply-card-header p { color: rgba(255,255,255,.75); font-size: .85rem; }
.apply-section { padding: 24px 32px; border-bottom: 1px solid var(--border); }
.apply-section:last-of-type { border-bottom: none; }
.apply-section-title { font-family: 'Roboto',sans-serif; font-weight: 700; color: var(--orange); font-size: .92rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .5px; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-grid .form-group { margin-bottom: 0; }
.req { color: #ef4444; }

.prog-tabs { display: flex; gap: 10px; }
.prog-tab-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 10px; border: 2px solid var(--border); background: var(--bg-surface); color: var(--text-muted); cursor: pointer; font-size: .88rem; font-weight: 600; font-family: inherit; transition: all .25s; }
.prog-tab-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 4px 14px rgba(249,115,22,.3); }
.prog-tab-btn:hover:not(.active) { border-color: var(--orange); color: var(--orange); }
.prog-panel { animation: fadeIn .3s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

.doc-upload-area {
  border: 2px dashed var(--border); border-radius: 14px; padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; cursor: pointer; transition: all .25s; position: relative;
}
.doc-upload-area:hover, .doc-upload-area.drag-over { border-color: var(--orange); background: rgba(249,115,22,.04); }
.doc-upload-icon { font-size: 2.5rem; color: #dc2626; }
.doc-upload-text strong { font-size: 1rem; color: var(--text); display: block; margin-bottom: 4px; }
.doc-upload-text p { color: var(--text-muted); font-size: .84rem; margin: 0; }
.doc-hint { color: var(--text-muted); font-size: .8rem !important; margin-top: 6px !important; }
.doc-browse-btn { background: var(--orange); color: #fff; border: none; padding: 10px 24px; border-radius: 100px; font-weight: 700; cursor: pointer; font-size: .88rem; transition: all .2s; margin-top: 4px; }
.doc-browse-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
#document-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.doc-preview {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: rgba(220,38,38,.05); border: 1.5px solid #fca5a5; border-radius: 10px; margin-top: 10px;
}
.apply-errors { background: #fee2e2; border: 1px solid #fca5a5; border-radius: 10px; padding: 14px 20px; margin: 0 32px 16px; color: #991b1b; display: flex; gap: 10px; align-items: flex-start; }
.apply-success { padding: 48px 32px; text-align: center; }
.apply-success-icon { font-size: 3.5rem; color: #16a34a; margin-bottom: 16px; }
.apply-success h3 { color: var(--text); font-size: 1.4rem; margin-bottom: 10px; }
.apply-success p { color: var(--text-muted); font-size: .95rem; }
.apply-submit-row { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 20px 32px; background: var(--bg-surface); flex-wrap: wrap; }
.apply-disclaimer { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.apply-disclaimer i { color: var(--orange); }
.apply-submit-btn { background: var(--orange); color: #fff; border: none; padding: 13px 36px; border-radius: 100px; font-weight: 700; font-size: .97rem; cursor: pointer; font-family: inherit; transition: all .3s; display: flex; align-items: center; gap: 8px; }
.apply-submit-btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }

@media(max-width:640px) {
  .apply-grid { grid-template-columns: 1fr; }
  .apply-section { padding: 18px; }
  .apply-card-header, .apply-submit-row { padding: 20px 18px; }
  .prog-tabs { flex-direction: column; }
  .apply-steps { gap: 4px; }
  .step-line { width: 20px; }
}

/* ── PROGRAMS MOBILE ────────────────────────────────────────── */
@media(max-width:640px) {
  .programs-grid, .programs-grid-reb { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .leader-card { min-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   BETHEL WEBSITE — PHASE 2 ADDITIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── NEWS BELL BUTTON ───────────────────────────────────────── */
.news-bell-btn {
  position: relative; background: transparent; border: 1.5px solid var(--border);
  border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; color: var(--text-muted);
  transition: all .3s; font-size: 1rem;
}
.news-bell-btn:hover { background: var(--bg-card); border-color: var(--orange); color: var(--orange); }
.bell-badge {
  position: absolute; top: -5px; right: -5px; background: #ef4444; color: #fff;
  border-radius: 50%; width: 18px; height: 18px; font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg); animation: bellPulse 1.5s ease-in-out infinite;
}
@keyframes bellPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.bell-has-new { animation: bellShake .6s ease-in-out; border-color: var(--orange); color: var(--orange); }
@keyframes bellShake {
  0%,100%{transform:rotate(0)} 20%{transform:rotate(-15deg)} 40%{transform:rotate(15deg)}
  60%{transform:rotate(-10deg)} 80%{transform:rotate(10deg)}
}

/* ── NEWS BELL PANEL ────────────────────────────────────────── */
.news-bell-panel {
  position: fixed; top: 72px; right: 16px; width: 380px; max-width: calc(100vw - 32px);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); z-index: 9999; max-height: 560px;
  display: flex; flex-direction: column; opacity: 0; transform: translateY(-12px) scale(.97);
  pointer-events: none; transition: all .3s cubic-bezier(.4,0,.2,1);
}
.news-bell-panel.open { opacity: 1; transform: none; pointer-events: all; }
.nbp-overlay { position: fixed; inset: 0; z-index: 9998; display: none; }
.nbp-overlay.open { display: block; }
.nbp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.nbp-title { font-weight: 700; font-size: .95rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.nbp-title i { color: var(--orange); }
.nbp-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: .9rem; padding: 4px 8px; border-radius: 6px; transition: .2s; }
.nbp-close:hover { background: var(--bg-surface); color: var(--text); }
.nbp-cats {
  display: flex; gap: 6px; padding: 12px 20px; overflow-x: auto;
  border-bottom: 1px solid var(--border); scrollbar-width: none;
}
.nbp-cats::-webkit-scrollbar { display: none; }
.nbp-cat-btn {
  flex-shrink: 0; padding: 4px 12px; border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--bg-surface); color: var(--text-muted); font-size: .72rem; font-weight: 700;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.nbp-cat-btn.active, .nbp-cat-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.nbp-articles { overflow-y: auto; flex: 1; padding: 10px; }
.nbp-article-card {
  display: flex; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none;
  transition: background .2s; margin-bottom: 4px;
}
.nbp-article-card:hover { background: var(--bg-surface); }
.nbp-art-thumb {
  width: 72px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), #1e3a8a);
}
.nbp-art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nbp-art-thumb-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 1.4rem; }
.nbp-art-body { flex: 1; min-width: 0; }
.nbp-art-cat { display: inline-block; padding: 2px 8px; border-radius: 100px; font-size: .62rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.nbp-art-title { font-weight: 700; font-size: .82rem; color: var(--text); line-height: 1.4; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbp-art-desc { font-size: .73rem; color: var(--text-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.nbp-art-time { font-size: .68rem; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; }
.nbp-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.nbp-empty i { font-size: 2rem; margin-bottom: 8px; display: block; opacity: .4; }
.nbp-footer-link {
  display: block; text-align: center; padding: 14px; border-top: 1px solid var(--border);
  color: var(--orange); font-weight: 700; font-size: .85rem; text-decoration: none;
  transition: background .2s; border-radius: 0 0 18px 18px;
}
.nbp-footer-link:hover { background: var(--bg-surface); }

/* ── HOME NEWS TWO-COLUMN GRID ──────────────────────────────── */
.home-news-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
@media(max-width:860px) { .home-news-grid { grid-template-columns: 1fr; } }
.home-news-featured { }
.home-feat-link { text-decoration: none; display: block; }
.home-feat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; box-shadow: 0 8px 32px var(--shadow); transition: transform .3s, box-shadow .3s;
}
.home-feat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px var(--shadow); }
.home-feat-img { position: relative; height: 260px; overflow: hidden; }
.home-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-feat-card:hover .home-feat-img img { transform: scale(1.05); }
.home-feat-img-fallback { width: 100%; height: 100%; background: linear-gradient(135deg,#1e3a8a,#2b4c96); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); }
.home-feat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%); }
.home-feat-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 2; }
.home-feat-body { padding: 24px; }
.home-feat-title { font-size: 1.25rem; font-weight: 800; color: var(--text); line-height: 1.4; margin: 8px 0 12px; }
.home-feat-excerpt { color: var(--text-muted); font-size: .88rem; line-height: 1.7; margin-bottom: 14px; }
.home-feat-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--text-secondary); }
.home-feat-meta span { display: flex; align-items: center; gap: 5px; }
.home-news-sidebar { display: flex; flex-direction: column; gap: 12px; }
.home-side-card {
  display: flex; gap: 14px; padding: 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 14px; text-decoration: none;
  transition: all .25s; box-shadow: 0 2px 12px var(--shadow);
}
.home-side-card:hover { background: var(--bg-surface); transform: translateX(4px); border-color: var(--orange); }
.home-side-thumb { width: 88px; height: 72px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg,#1e3a8a,#2b4c96); }
.home-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-side-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 1.5rem; }
.home-side-body { flex: 1; min-width: 0; }
.home-side-body h4 { font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.4; margin: 5px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-side-body p { font-size: .75rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-side-meta { display: flex; gap: 10px; font-size: .7rem; color: var(--text-secondary); }
.home-side-meta span { display: flex; align-items: center; gap: 4px; }

/* ── LEADERS SLIDER FIX ─────────────────────────────────────── */
.leaders-slider-wrap { position: relative; overflow: hidden; width: 100%; }
.leaders-track {
  display: flex; gap: 24px; transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.leader-card {
  flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 8px 32px var(--shadow); transition: box-shadow .3s;
}
.leader-card:hover { box-shadow: 0 16px 48px var(--shadow); }

/* ── APPLY FORM — APPLICATION TYPE TABS ─────────────────────── */
.apply-type-tabs {
  display: flex; gap: 0; margin-bottom: 28px; border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.apply-type-btn {
  flex: 1; padding: 14px 20px; border: none; background: var(--bg-surface);
  color: var(--text-muted); cursor: pointer; font-family: inherit; font-size: .92rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: all .25s; border-right: 1.5px solid var(--border);
}
.apply-type-btn:last-child { border-right: none; }
.apply-type-btn.active { background: var(--orange); color: #fff; }
.apply-type-btn i { font-size: 1.1rem; }

/* Job position cards */
.job-position-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.job-pos-card {
  border: 2px solid var(--border); border-radius: 12px; padding: 14px 16px; cursor: pointer;
  transition: all .25s; background: var(--bg-surface);
}
.job-pos-card:hover { border-color: var(--orange); background: rgba(249,115,22,.05); }
.job-pos-card.selected { border-color: var(--orange); background: rgba(249,115,22,.08); }
.job-pos-card input[type=radio] { display: none; }
.job-pos-title { font-weight: 700; font-size: .9rem; color: var(--text); margin-bottom: 4px; }
.job-pos-dept { font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.job-pos-type { display: inline-block; padding: 2px 8px; border-radius: 100px; font-size: .65rem; font-weight: 700; margin-top: 6px; background: rgba(43,76,150,.15); color: #2b4c96; }
[data-theme=dark] .job-pos-type { background: rgba(43,76,150,.3); color: #7aaaf7; }

/* ── TRADE DETAIL PAGES ─────────────────────────────────────── */
.trade-hero {
  position: relative; min-height: 440px; display: flex; align-items: flex-end;
  overflow: hidden; border-radius: 0 0 32px 32px;
}
.trade-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 8s ease; }
.trade-hero:hover .trade-hero-bg { transform: scale(1.03); }
.trade-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,20,.92) 0%, rgba(5,5,20,.5) 50%, rgba(5,5,20,.1) 100%); }
.trade-hero-content { position: relative; z-index: 2; padding: 56px 48px; max-width: 900px; }
.trade-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,.18); color: var(--orange); border: 1.5px solid rgba(249,115,22,.35); border-radius: 100px; padding: 6px 16px; font-size: .78rem; font-weight: 700; margin-bottom: 16px; }
.trade-hero-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.trade-hero-sub { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; margin-bottom: 20px; line-height: 1.7; }
.trade-hero-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.trade-hero-pill { background: rgba(255,255,255,.12); color: #fff; padding: 6px 16px; border-radius: 100px; font-size: .78rem; font-weight: 600; border: 1px solid rgba(255,255,255,.2); }
.trade-body { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.trade-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; margin-top: 40px; }
@media(max-width:900px){ .trade-grid { grid-template-columns: 1fr; } }
.trade-section { margin-bottom: 40px; }
.trade-section-title { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.trade-section-title i { color: var(--orange); }
.trade-modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.trade-module-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.trade-module-card i { color: var(--orange); font-size: 1.1rem; flex-shrink: 0; }
.trade-module-card span { font-size: .82rem; font-weight: 600; color: var(--text); }
.trade-career-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.trade-career-pill { padding: 6px 14px; border-radius: 100px; font-size: .78rem; font-weight: 600; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); }
.trade-sidebar { }
.trade-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.trade-info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.trade-info-row:last-child { border-bottom: none; }
.trade-info-label { font-size: .8rem; color: var(--text-muted); }
.trade-info-val { font-size: .88rem; font-weight: 700; color: var(--text); }
.trade-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.trade-gallery img { border-radius: 10px; width: 100%; height: 100px; object-fit: cover; }
.trade-back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-size: .88rem; text-decoration: none; padding: 10px 0; margin-bottom: 16px; }
.trade-back-link:hover { opacity: .8; }
.trade-apply-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #fff; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: all .3s; margin-top: 12px; }
.trade-apply-btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }
.trade-outcomes-list { list-style: none; padding: 0; }
.trade-outcomes-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: .9rem; color: var(--text-sub); }
.trade-outcomes-list li::before { content: "✓"; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── PUBLICATION TOAST NOTIFICATION ────────────────────────── */
.pub-toast {
  position: fixed; bottom: 90px; left: 24px; z-index: 9000;
  background: var(--bg-card); border: 1.5px solid var(--orange);
  border-radius: 14px; padding: 14px 18px; box-shadow: 0 8px 32px rgba(249,115,22,.25);
  display: flex; gap: 12px; align-items: flex-start; max-width: 340px;
  animation: pubToastIn .4s cubic-bezier(.4,0,.2,1);
}
@keyframes pubToastIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.pub-toast-hide { animation: pubToastOut .35s ease forwards; }
@keyframes pubToastOut { to { transform: translateY(20px); opacity: 0; } }
.pub-toast-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--orange),#f59e0b); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem; flex-shrink: 0; }
.pub-toast-body { flex: 1; min-width: 0; }
.pub-toast-label { font-size: .7rem; font-weight: 700; color: var(--orange); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .05em; }
.pub-toast-title { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.pub-toast-link { font-size: .75rem; color: var(--orange); text-decoration: none; font-weight: 600; }
.pub-toast-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: .8rem; padding: 2px; flex-shrink: 0; line-height: 1; }
.pub-toast-close:hover { color: var(--text); }

/* ── NEWS NOTIFICATION POPUP (updated) ─────────────────────── */
.news-notif-popup {
  position: fixed; bottom: 90px; right: 24px; z-index: 8900;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 0; box-shadow: 0 8px 32px var(--shadow);
  width: 300px; max-width: calc(100vw - 48px); overflow: hidden;
  animation: nnpIn .4s cubic-bezier(.4,0,.2,1);
}
@keyframes nnpIn { from { transform: translateX(20px); opacity:0; } to { transform:none; opacity:1; } }
.news-notif-popup.nnp-hide { animation: nnpOut .3s ease forwards; }
@keyframes nnpOut { to { transform: translateX(20px); opacity:0; } }
.nnp-inner { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; }
.nnp-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#2b4c96,var(--orange)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem; flex-shrink: 0; }
.nnp-label { font-size: .7rem; color: var(--orange); font-weight: 700; margin-bottom: 2px; }
.nnp-title { font-size: .82rem; color: var(--text); font-weight: 700; text-decoration: none; display: block; line-height: 1.35; }
.nnp-title:hover { color: var(--orange); }
.nnp-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; margin-left: auto; flex-shrink: 0; font-size: .8rem; }
.nnp-close:hover { color: var(--text); }
.nnp-progress { height: 3px; background: linear-gradient(90deg,var(--orange),#f59e0b); animation: nnpBar 7s linear forwards; }
@keyframes nnpBar { from { width: 100%; } to { width: 0%; } }

/* Notification container (multiple popups stack) */
#news-notif-container { position: fixed; bottom: 90px; right: 24px; z-index: 8900; display: flex; flex-direction: column-reverse; gap: 10px; pointer-events: none; }
#news-notif-container .news-notif-popup { position: relative; bottom: auto; right: auto; pointer-events: all; }


/* ── NEWS PAGE FEATURED POST GRID ──────────────────────────── */
@media(max-width:700px) {
  .home-feat-card[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column;
  }
  .home-feat-img[style*="height:100%"] { height: 220px !important; }
}

/* ── ACADEMICS PAGE PROGRAM CARDS ──────────────────────────── */
.program-card-v2 { /* ensure pointer cursor on hover for linked cards */ cursor: default; }
.pc2-read-more:hover { background: var(--orange-dark); }

/* ── TRADE HERO MOBILE ─────────────────────────────────────── */
@media(max-width:640px) {
  .trade-hero-title { font-size: 1.9rem; }
  .trade-hero-content { padding: 36px 20px; }
  .trade-grid { grid-template-columns: 1fr; }
  .trade-modules-grid { grid-template-columns: 1fr; }
}

/* ── APPLICATION TYPE TAB MOBILE ───────────────────────────── */
@media(max-width:520px) {
  .apply-type-tabs { flex-direction: column; }
  .apply-type-btn { border-right: none !important; border-bottom: 1.5px solid var(--border); }
  .apply-type-btn:last-child { border-bottom: none; }
  .job-position-grid { grid-template-columns: 1fr; }
}

/* ── ADMIN APPLICATIONS — JOB BADGE ────────────────────────── */
.app-card { display: flex; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; align-items: flex-start; }
.app-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--orange),var(--orange-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.app-details { flex: 1; min-width: 0; }
.app-details h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.app-details p { font-size: .85rem; color: var(--text-muted); margin: 0 0 8px; }
.app-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.app-meta span { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.app-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
@media(max-width:640px) { .app-card { flex-direction: column; } .app-actions { flex-direction: row; flex-wrap: wrap; } }

/* ── NBP PANEL POSITION FIX ────────────────────────────────── */
@media(max-width:480px) {
  .news-bell-panel { right: 8px; left: 8px; width: auto; max-width: none; }
}

/* ── HOME FEAT CARD GRID RESPONSIVE ───────────────────────── */
@media(max-width:700px) {
  .home-feat-card { display: flex !important; flex-direction: column !important; }
}

