/* ══════════════════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════════════════ */
:root {
  --p4: #c084fc;
  --p5: #a855f7;
  --p6: #9333ea;
  --p7: #7c3aed;
  --p8: #6d28d9;
  --p9: #4c1d95;
  --pink: #ec4899;
  --font-h: "Outfit", sans-serif;
  --font-b: "DM Sans", sans-serif;
  --tr: 0.2s ease;
}
[data-theme="dark"] {
  --bg: #000;
  --bg-card: #111827;
  --bg-input: #1f2937;
  --text: #fff;
  --text-m: #bbc3d0;
  --text-d: #a1a7af;
  --border: rgba(76, 29, 149, 0.5);
  --border-l: rgba(76, 29, 149, 0.25);
  --hdr: rgba(0, 0, 0, 0.82);
  --dot: rgba(139, 92, 246, 1);
  --foot: #030712;
  --pur: var(--p4);
  --pur2: var(--p5);
  --ghost-bg: rgba(76, 29, 149, 0.18);
  --ghost-txt: var(--p4);
  --ghost-bdr: rgba(109, 40, 217, 0.32);
  --tag: rgba(76, 29, 149, 0.28);
  --hi-bg: rgba(76, 29, 149, 0.22);
  --hi-bdr: rgba(109, 40, 217, 0.45);
  --sun: #deed3a;
}
[data-theme="light"] {
  --bg: #fff;
  --bg-card: #fff;
  --bg-input: #f9fafb;
  --text: #111827;
  --text-m: #6b7280;
  --text-d: #818791;
  --border: rgba(168, 85, 247, 0.22);
  --border-l: rgba(168, 85, 247, 0.14);
  --hdr: rgba(255, 255, 255, 0.85);
  --dot: rgba(168, 85, 247, 1);
  --foot: #f3f4f6;
  --pur: var(--p7);
  --pur2: var(--p6);
  --ghost-bg: rgba(168, 85, 247, 0.07);
  --ghost-txt: var(--p7);
  --ghost-bdr: rgba(168, 85, 247, 0.28);
  --tag: rgba(168, 85, 247, 0.1);
  --hi-bg: rgba(243, 232, 255, 0.8);
  --hi-bdr: #d8b4fe;
  --sun: var(--p7);
}

/* ══════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition:
    background 0.3s,
    color 0.3s;
  position: relative;
  overflow-x: hidden;
}
/* Global subtle dot grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-h);
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  font-family: var(--font-b);
  border: none;
  background: none;
}
img {
  display: block;
}
svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
/* FA icons should not be affected by SVG rules */
.fa,
.fas,
.fab,
.far,
.fa-solid,
.fa-brands,
.fa-regular {
  font-style: normal;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}
.z10 {
  position: relative;
  z-index: 10;
}

/* ══════════════════════════════════════════════════════
   LOADING SCREEN
══════════════════════════════════════════════════════ */
#loading {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s;
}
#loading.hide {
  opacity: 0;
  pointer-events: none;
}
.ld {
  display: flex;
  gap: 8px;
}
.ld span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--p6);
  animation: ldpulse 1.2s infinite;
}
.ld span:nth-child(2) {
  animation-delay: 0.2s;
}
.ld span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes ldpulse {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-14px);
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
#hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--hdr);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transition: opacity var(--tr);
}
.logo-btn:hover {
  opacity: 0.8;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f7effc;
  flex-shrink: 0;
  transition: background 0.3s;
}
[data-theme="dark"] .logo-icon {
  background: #f7effc;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-icon span {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-h);
}
.logo-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}
.desk-nav {
  display: none;
  align-items: center;
  gap: 22px;
}
@media (min-width: 768px) {
  .desk-nav {
    display: flex;
  }
}
.nav-btn {
  color: var(--text-m);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--tr);
}
.nav-btn:hover {
  color: var(--pur);
}
.theme-btn {
  padding: 8px;
  border-radius: 8px;
  background: var(--ghost-bg);
  color: var(--sun);
  transition: background var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-btn:hover {
  background: rgba(109, 40, 217, 0.35);
}
.mob-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .mob-ctrls {
    display: none;
  }
}
.ham-btn {
  padding: 8px;
  color: var(--text);
  display: flex;
}
.mob-menu {
  display: none;
  padding: 10px 0;
  background: var(--hdr);
}
.mob-menu.open {
  display: block;
}
@media (min-width: 768px) {
  .mob-menu {
    display: none !important;
  }
}
.mob-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  color: var(--text-m);
  font-size: 0.9375rem;
  transition: all var(--tr);
  border-radius: 6px;
  margin: 2px 0;
}
.mob-nav-btn:hover {
  color: var(--pur);
  background: var(--ghost-bg);
}

/* ══════════════════════════════════════════════════════
   HERO SECTION — with glowing grid overlay
══════════════════════════════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 1rem 2rem;
  position: relative;
  overflow: hidden;
}
/* Vibrant hero grid — brighter, glowing */
#home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    var(--dot) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  opacity: 0.45;
  mask-image: radial-gradient(
    ellipse 75% 80% at 50% 50%,
    black 10%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 75% 80% at 50% 50%,
    black 10%,
    transparent 100%
  );
}
/* Glow bloom behind text */
#home::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(147, 51, 234, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(40px);
}
.hero-inner {
  max-width: 880px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  background: var(--tag);
  border: 1px solid var(--ghost-bdr);
  color: var(--pur);
  font-size: 0.875rem;
  font-weight: 500;
  animation: fiu 0.6s ease both;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fiu 0.6s 0.1s ease both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--p6), var(--p4), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.45));
}
.hero-sub1 {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--text-m);
  margin-bottom: 12px;
  line-height: 1.6;
  animation: fiu 0.6s 0.2s ease both;
}
.hero-sub2 {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--text-d);
  margin-bottom: 36px;
  line-height: 1.6;
  animation: fiu 0.6s 0.3s ease both;
}
.hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--p6), var(--p8));
  box-shadow: 0 8px 32px rgba(109, 40, 217, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  filter: drop-shadow(0 0 16px rgba(147, 51, 234, 0.45));
  animation: fiu 0.6s 0.4s ease both;
}
.hero-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(109, 40, 217, 0.55);
}
.hero-sec-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: fiu 0.6s 0.5s ease both;
}
.hero-sec-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ghost-txt);
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-bdr);
  transition: all 0.2s;
  filter: drop-shadow(0 0 8px rgba(147, 51, 234, 0.12));
}
.hero-sec-btn:hover {
  transform: scale(1.05);
  background: rgba(109, 40, 217, 0.22);
}
.boards {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-d);
  margin-top: 18px;
}

.boards a {
  color: var(--pur);
  text-decoration: none;
  margin: 0 4px;
}

/* Add | separator between links except the last one */
.boards a:not(:last-child)::after {
  content: " |";
  margin-left: 4px;
}
@keyframes fiu {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════
   CONTACT & NOTICES SECTION
══════════════════════════════════════════════════════ */
.sec-block {
  padding: 64px 0;
}
.sec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .sec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.card-hdr {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.card-title svg {
  color: var(--pur);
}
.card-badge {
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tag);
  color: var(--pur);
  font-weight: 600;
}
.instr-box {
  margin: 14px 20px 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--hi-bg);
  border: 1px solid var(--hi-bdr);
  font-size: 0.85rem;
  color: var(--pur2);
  display: none;
}
.instr-box.show {
  display: block;
}
.card-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border-l);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--p6);
  color: #fff;
  transition: background var(--tr);
  width: 100%;
}
.btn-primary:hover {
  background: var(--p7);
}

/* ── Contacts auto-scroll ── */
.contacts-scroll-outer {
  overflow: hidden;
  padding: 16px 20px;
  cursor: default;
}
.contacts-track {
  display: flex;
  gap: 14px;
  width: max-content;
}
.contacts-track.running {
  animation: scroll-ltr 28s linear infinite;
}
.contacts-scroll-outer:hover .contacts-track {
  animation-play-state: paused;
}
@keyframes scroll-ltr {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.contact-card-sm {
  flex-shrink: 0;
  width: 168px;
  padding: 16px 12px 14px;
  border-radius: 14px;
  background: var(--ghost-bg);
  border: 1px solid var(--border-l);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-card-sm:hover {
  background: rgba(109, 40, 217, 0.22);
  transform: translateY(-3px);
  border-color: var(--ghost-bdr);
}
.c-avatar {
  width: 128px;
  height: 128px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--p6), var(--p8));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 11px;
  flex-shrink: 0;
  border: 2px solid var(--border-l);
}
.c-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-avatar span {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-h);
}
.c-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.c-subj {
  font-size: 0.72rem;
  color: var(--text-m);
  line-height: 1.3;
}

/* ── Notices auto-scroll ── */
.notices-scroll-outer {
  overflow: hidden;
  height: 300px;
  padding: 0 8px;
  cursor: default;
}
.notices-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.notices-track.running {
  animation: scroll-up 24s linear infinite;
}
.notices-scroll-outer:hover .notices-track {
  animation-play-state: paused;
}
@keyframes scroll-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.notice-item {
  padding: 13px 14px;
  border-left: 3px solid var(--p6);
  background: var(--ghost-bg);
  cursor: default;
  transition: background var(--tr);
  margin-bottom: 8px;
  border-radius: 0 10px 10px 0;
}
.notice-item:hover {
  background: rgba(109, 40, 217, 0.16);
}
.n-date {
  font-size: 0.72rem;
  color: var(--pur);
  font-weight: 600;
  margin-bottom: 3px;
}
.n-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}
.n-preview {
  font-size: 0.8rem;
  color: var(--text-m);
  line-height: 1.4;
  margin-bottom: 6px;
}
.n-viewmore {
  font-size: 0.75rem;
  color: var(--pur);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  transition: color var(--tr);
}
.n-viewmore:hover {
  text-decoration: underline;
}

.notices-show-all-bar {
  padding: 12px 14px;
  border-top: 1px solid var(--border-l);
  text-align: center;
}
.notices-show-all-btn {
  font-size: 0.85rem;
  color: var(--pur);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--tr);
}
.notices-show-all-btn:hover {
  text-decoration: underline;
  gap: 10px;
}

/* ══════════════════════════════════════════════════════
   RESOURCES SECTION
══════════════════════════════════════════════════════ */
#resources {
  padding: 64px 0;
}
.sec-heading {
  text-align: center;
  margin-bottom: 48px;
}
.sec-heading h2 {
  font-family: var(--font-h);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.sec-heading p {
  color: var(--text-m);
  font-size: 1rem;
}
.res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .res-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .res-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }
}
.res-card {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--tag) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-l);
  transition: all 0.2s;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.2s,
    box-shadow 0.2s;
}
.res-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.res-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(109, 40, 217, 0.14);
}
.res-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.res-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ghost-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pur);
  font-size: 0.9rem;
}
.res-expand-btn {
  padding: 6px;
  border-radius: 8px;
  color: var(--pur);
  transition: all 0.2s;
  display: flex;
}
.res-expand-btn:hover {
  background: var(--ghost-bg);
}
.res-expand-btn.open {
  transform: rotate(180deg);
}
.res-card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 5px;
}
.res-card .res-desc {
  font-size: 0.78rem;
  color: var(--text-m);
  margin-bottom: 10px;
  line-height: 1.5;
}
.res-items {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s;
  margin-bottom: 0;
}
.res-items.open {
  max-height: 250px;
  opacity: 1;
  margin-bottom: 10px;
}
.res-items ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.res-items li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-m);
}
.res-items li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--p5);
  flex-shrink: 0;
}
/* Multi-buttons */
.res-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.res-btn {
  padding: 7px 12px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.78rem;
  background: var(--ghost-bg);
  color: var(--pur);
  border: 1px solid var(--ghost-bdr);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.res-btn:hover {
  background: rgba(109, 40, 217, 0.22);
  transform: scale(1.03);
}
.res-btn.disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
#footer {
  background: var(--foot);
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
}
@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.foot-col h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.foot-col p {
  color: var(--text-m);
  font-size: 0.9rem;
  line-height: 1.6;
}
.foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-links a,
.foot-links button {
  color: var(--text-m);
  font-size: 0.9rem;
  transition: color var(--tr);
  text-align: left;
}
.foot-links a:hover,
.foot-links button:hover {
  color: var(--pur);
}
.foot-links .admin-lnk {
  font-size: 0.72rem;
  opacity: 0.28;
  transition:
    opacity 0.2s,
    color 0.2s;
}
.foot-links .admin-lnk:hover {
  opacity: 1;
}
.foot-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.foot-contact-row i {
  color: var(--pur);
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.foot-contact-row span {
  color: var(--text-m);
  font-size: 0.875rem;
}
.foot-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.foot-social-btn {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--ghost-bg);
  color: var(--pur);
  transition: background var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.foot-social-btn:hover {
  background: rgba(109, 40, 217, 0.3);
}
.foot-bottom {
  padding: 22px 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-l);
  text-align: center;
  color: var(--text-m);
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
}
.foot-bottom i {
  white-space: nowrap;
  color: var(--p6);
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════ */
.modal-ov {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-ov.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  width: 100%;
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.95);
  transition: transform 0.25s;
  overflow: hidden;
}
.modal-ov.open .modal-box {
  transform: scale(1);
}
.modal-hdr {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 5;
}
.modal-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--p6), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-close {
  padding: 8px;
  border-radius: 999px;
  color: var(--text-m);
  transition: background var(--tr);
  display: flex;
}
.modal-close:hover {
  background: var(--bg-input);
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* ── About Modal ── */
#about-modal .modal-box {
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
#about-modal .modal-body {
  flex: 1;
}
.about-sec {
  margin-bottom: 30px;
}
.about-sec-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.about-sec-title i {
  color: var(--pur);
  font-size: 1rem;
  width: 22px;
  text-align: center;
}
.about-sec-title h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.3rem;
}
.about-story-p {
  color: var(--text-m);
  line-height: 1.72;
}
.about-goals {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-goals li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-m);
  line-height: 1.5;
}
.about-goals li::before {
  content: "•";
  color: var(--p5);
  margin-top: 1px;
  flex-shrink: 0;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hl-card {
  padding: 16px;
  border-radius: 12px;
  background: var(--hi-bg);
  border: 1px solid var(--hi-bdr);
  text-align: center;
}
.hl-value {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pur);
}
.hl-label {
  font-size: 0.875rem;
  color: var(--text-m);
  margin-top: 4px;
}
/* Gallery */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery-img {
  max-width: 350px;
  max-height: 150px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border-l);
  transition: transform 0.2s;
}
.gallery-img:hover {
  transform: scale(1.04);
}
/* Image Modal (Lightbox) */
#image-modal .image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#image-modal img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-modal-close,
.image-modal-prev,
.image-modal-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-modal-close:hover,
.image-modal-prev:hover,
.image-modal-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.image-modal-close {
  top: 20px;
  right: 20px;
}

.image-modal-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.image-modal-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Hide arrows on small screens if desired */
@media (max-width: 600px) {
  .image-modal-prev,
  .image-modal-next {
    width: 32px;
    height: 32px;
  }
}
/* CTA */
.about-cta {
  margin-top: 32px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.15),
    rgba(236, 72, 153, 0.1)
  );
  border: 1px solid var(--ghost-bdr);
  text-align: center;
}
.about-cta h3 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-cta p {
  color: var(--text-m);
  margin-bottom: 20px;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--p6), var(--p8));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  filter: drop-shadow(0 0 12px rgba(147, 51, 234, 0.35));
}
.about-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(109, 40, 217, 0.45);
}

/* ── Contact Profile Modal ── */
#contact-modal .modal-box {
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
#contact-modal .modal-body {
  flex: 1;
}
.cp-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}
.cp-avatar {
  width: 150px;
  height: 150px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--p6), var(--p9));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  border: 2px solid var(--ghost-bdr);
}
.cp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cp-avatar span {
  color: #fff;
  font-weight: 700;
  font-size: 2.75rem;
  font-family: var(--font-h);
}
.cp-name {
  font-family: var(--font-h);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.cp-edu {
  font-size: 0.875rem;
  color: var(--text-m);
}
.cp-avail {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--hi-bg);
  border: 1px solid var(--hi-bdr);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cp-avail i {
  color: var(--pur);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}
.cp-avail .avail-label {
  font-size: 0.75rem;
  color: var(--text-m);
}
.cp-avail .avail-val {
  font-weight: 600;
  text-transform: capitalize;
}
.cp-bio {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-l);
  margin-bottom: 18px;
}
.cp-bio .bio-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pur);
  margin-bottom: 6px;
}
.cp-bio p {
  color: var(--text-m);
  font-style: italic;
  line-height: 1.65;
}
.cp-section {
  margin-bottom: 16px;
}
.cp-section .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pur);
  margin-bottom: 6px;
}
.cp-section .val {
  color: var(--text-m);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.socials-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-bdr);
  transition: all 0.2s;
  color: var(--text);
}
.social-link-row:hover {
  background: rgba(109, 40, 217, 0.2);
  transform: scale(1.01);
}
.soc-icon {
  padding: 8px;
  border-radius: 999px;
  background: var(--hi-bg);
  color: var(--pur);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.soc-plat {
  font-size: 0.72rem;
  color: var(--text-m);
  text-transform: capitalize;
}
.soc-user {
  font-weight: 500;
  font-size: 0.9375rem;
}

/* ── Notices Modal ── */
#notices-modal .modal-box {
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
#notices-modal .modal-body {
  flex: 1;
}
.notice-full-item {
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border-l);
  background: var(--ghost-bg);
}
.nf-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.nf-date {
  font-size: 0.72rem;
  color: var(--pur);
  font-weight: 600;
  margin-bottom: 3px;
}
.nf-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.nf-preview {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.5;
  margin-top: 4px;
}
.nf-toggle {
  font-size: 0.78rem;
  color: var(--pur);
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--tag);
  transition: background var(--tr);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}
.nf-toggle:hover {
  background: rgba(109, 40, 217, 0.35);
}
.nf-expand {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s;
}
.nf-expand.open {
  max-height: 600px;
  padding-top: 12px;
}
.nf-full-content {
  font-size: 0.9rem;
  color: var(--text-m);
  line-height: 1.72;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-input);
  border-left: 3px solid var(--p6);
}
.nf-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.nf-images img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}
.notices-modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border-l);
  text-align: center;
}
.notices-modal-footer a {
  font-size: 0.875rem;
  color: var(--pur);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.notices-modal-footer a:hover {
  text-decoration: underline;
}

/* ── Admin Login ── */
#admin-login .modal-box {
  max-width: 400px;
}
#admin-login .modal-body {
  padding: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 7px;
  color: var(--text-m);
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.9375rem;
  transition: border-color var(--tr);
  outline: none;
}
.form-input:focus {
  border-color: var(--p6);
}
.form-input::placeholder {
  color: var(--text-d);
}
.form-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 75px;
}
.form-error {
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 7px;
  display: none;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--text-d);
  margin-top: 5px;
}

/* ── Admin Dashboard ── */
#admin-modal .modal-box {
  max-width: 1020px;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
}
.adm-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.adm-tabs::-webkit-scrollbar {
  display: none;
}
.adm-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--text-m);
  transition: all 0.2s;
}
.adm-tab:hover {
  background: var(--ghost-bg);
  color: var(--pur);
}
.adm-tab.active {
  background: var(--p6);
  color: #fff;
}
.adm-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
}
.adm-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
}
.adm-panel.active {
  display: flex;
}
/* Floating save footer — sticky within scroll container */
.adm-sticky-save {
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-l);
  padding: 12px 0 2px;
  margin-top: 8px;
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: center;
}
.adm-sec-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.adm-sec-hdr h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
}
.btn-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--p6);
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background var(--tr);
}
.btn-add:hover {
  background: var(--p7);
}
.btn-save {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  background: var(--p6);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--tr);
}
.btn-save:hover {
  background: var(--p7);
}
.btn-save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-del {
  padding: 8px;
  border-radius: 8px;
  color: #f87171;
  transition: background var(--tr);
  display: flex;
}
.btn-del:hover {
  background: rgba(248, 113, 113, 0.12);
}
.adm-item {
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-l);
  margin-bottom: 12px;
}
.adm-item-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.adm-item-hdr h4 {
  font-weight: 700;
  font-size: 0.9375rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.socials-adm h5 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-m);
  margin: 12px 0 8px;
}
.soc-adm-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .soc-adm-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}
/* Buttons admin per resource */
.res-btns-adm h5 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-m);
  margin: 12px 0 8px;
}
.res-btn-adm-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
/* About highlights & gallery */
.hl-adm-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.gal-adm-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
/* Footer socials admin */
.foot-soc-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.grad-option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.grad-option-row input {
  flex: 1;
  min-width: 160px;
}
.grad-hint {
  font-size: 0.78rem;
  color: var(--text-d);
  margin-top: 5px;
}

/* ── Other modals ── */
#expanded-contacts .modal-box {
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
#expanded-contacts .modal-body {
  flex: 1;
}
.exp-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

/* ══════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-d);
}
.empty-state i {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.35;
}
.w-full {
  width: 100%;
}
.mt-1 {
  margin-top: 4px;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--p7);
}

/* ══════════════════════════════════════════════════════
   PLATFORM INFO TABS (About / How it Works / Notices)
══════════════════════════════════════════════════════ */
.platform-tabs {
  display: none;
  gap: 6px;
  margin-bottom: 16px;
}
.platform-tab {
  flex: 1;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-h);
  color: var(--text-m);
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.platform-tab i {
  font-size: 1rem;
  color: var(--text-d);
  transition: color 0.2s;
}
.platform-tab.active {
  background: var(--ghost-bg);
  border-color: var(--pur);
  color: var(--pur);
}
.platform-tab.active i {
  color: var(--pur);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
/* ── Platform panel needs own padding since .card has none ── */
.platform-panel {
  padding: 22px 24px;
}
@media (max-width: 767px) {
  .platform-tabs {
    display: flex;
  }
  .platform-grid {
    display: block;
  }
  .platform-panel {
    display: none;
    padding: 18px 20px;
  }
  .platform-panel.active {
    display: block;
  }
}

/* ── Subject tag scroll row ── */
.subjects-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  margin-top: 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.subjects-scroll::-webkit-scrollbar {
  display: none;
}
.subjects-scroll .hero-badge {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   SHARE BUTTONS
══════════════════════════════════════════════════════ */
.share-section {
  padding: 32px 0 24px;
  text-align: center;
}
.share-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-d);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.share-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-h);
  border: 1px solid var(--border-l);
  background: var(--bg-card);
  color: var(--text-m);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.share-btn.whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.share-btn.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.share-btn.copy {
  position: relative;
}
.share-btn.copy.copied {
  background: var(--ghost-bg);
  color: var(--pur);
  border-color: var(--pur);
}

/* ══════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════ */
.faq-section {
  padding: 48px 0 32px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.faq-item {
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-h);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.faq-item.open .faq-q {
  color: var(--pur);
}
.faq-q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ghost-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--pur);
  transition: transform 0.3s;
}
.faq-item.open .faq-q-icon {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.2s;
  padding: 0 18px;
  font-size: 0.85rem;
  color: var(--text-m);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 18px 16px;
}

/* ══════════════════════════════════════════════════════
   CONTACT FORM SECTION
══════════════════════════════════════════════════════ */
.contact-form-section {
  padding: 48px 0;
  background: var(--bg-s);
}
.contact-form-inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: 20px;
  padding: 28px 24px;
  margin-top: 28px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .cf-row {
    grid-template-columns: 1fr;
  }
}
.cf-status {
  margin-top: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
  color: var(--pur);
}
.cf-status.error {
  color: #f87171;
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL — Generic
══════════════════════════════════════════════════════ */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Bio rich text content */
.cp-bio-content p {
  margin: 0 0 6px;
}
.cp-bio-content a {
  color: var(--pur);
}
.cp-bio-content ul,
.cp-bio-content ol {
  padding-left: 18px;
  margin: 4px 0;
}
.cp-bio-content strong {
  font-weight: 700;
}
/* Notice full content rich text */
.nf-full-content p {
  margin: 0 0 8px;
}
.nf-full-content a {
  color: var(--pur);
  text-decoration: underline;
}
.nf-full-content ul,
.nf-full-content ol {
  padding-left: 20px;
  margin: 6px 0;
}
.nf-full-content h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 10px 0 5px;
}
.nf-full-content h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 8px 0 4px;
}
