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

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* LAYOUT */
html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f0f4f8; /* soft light blue-gray for relaxing feel */
  color: #2c3e50; /* dark blue-gray for readability */
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* HEADER / NAV */
header {
  padding: 32px 40px 32px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95); /* semi-transparent white for modern glass effect */
  backdrop-filter: blur(10px); /* modern blur effect */
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  color: #2c3e50;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #ffc20e; /* school gold */
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(42, 95, 48, 0.1);
  color: #2a5f30;
}

.nav-links .help-btn,
#logout-btn.help-btn {
  background: #ffffff;
  color: #ff2a2a;
  border: 2px solid #ff2a2a;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 42, 42, 0.2);
  text-shadow: none;
}

.nav-links .help-btn:hover,
#logout-btn.help-btn:hover {
  background-color: #ff2a2a;
  color: #ffffff;
  border-color: #ff2a2a;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 42, 42, 0.6);
}


/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #ffc20e;
}

/* MAIN CONTENT */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); /* subtle gradient for depth */
}

.home-page main {
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  padding: 48px 24px 72px;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ── HOME VERSE ────────────────────────────────────────────────────────────── */

.home-verse-section {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-verse-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #e8f4f8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-verse-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2a5f30;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.home-verse-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a2a35;
  margin-bottom: 16px;
  font-style: italic;
}

.home-verse-ref {
  font-size: 16px;
  color: #556f7f;
  font-weight: 500;
}

/* ── HOME INSPIRATIONAL ───────────────────────────────────────────────────── */

.home-inspirational-section {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-inspirational-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #f0f7f2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.home-inspirational-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2a5f30;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.inspirational-text {
  font-size: 18px;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 24px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.inspirational-video {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.inspirational-video iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ── ADMIN STYLES ─────────────────────────────────────────────────────────── */

.inspirational-preview {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  font-size: 14px;
  line-height: 1.5;
}

.inspirational-preview p {
  margin: 8px 0;
}

.inspirational-preview a {
  color: #2a5f30;
  text-decoration: underline;
}

/* ── HOME MISSION ──────────────────────────────────────────────────────────── */

.home-mission {
  width: 100%;
  background: #ffffff;
  padding: 50px 40px 60px;
}

.home-mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.home-mission-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a2a35;
  margin-bottom: 20px;
  line-height: 1.2;
}

.home-mission-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #556f7f;
}

/* ── HOME FEATURES ────────────────────────────────────────────────────────── */

.home-features {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.home-feature {
  text-align: center;
  padding: 36px 28px;
  background: #f8fbf9;
  border-radius: 16px;
  border: 1px solid #d4e8da;
  transition: all 0.3s ease;
}

.home-feature:hover {
  background: #f0f7f2;
  border-color: #2a5f30;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(42, 95, 48, 0.12);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 14px;
  display: block;
}

.home-feature h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2a5f30;
  margin-bottom: 10px;
}

.home-feature p {
  font-size: 16px;
  line-height: 1.7;
  color: #556f7f;
  margin: 0;
}

/* ── HOME CTA SECTION ──────────────────────────────────────────────────────── */

.home-cta-section {
  width: 100%;
  background: linear-gradient(135deg, #f9fbf8 0%, #f5f9f7 100%);
  padding: 60px 40px;
}

.home-cta-content {
  max-width: 1260px;
  margin: 0 auto;
}

.home-cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a2a35;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.2;
}

.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.cta-item {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid #e0ebe8;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(42, 95, 48, 0.06);
}

.cta-item:hover {
  border-color: #2a5f30;
  box-shadow: 0 12px 28px rgba(42, 95, 48, 0.12);
  transform: translateY(-4px);
}

.cta-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2a5f30;
  margin: 0;
}

.cta-item p {
  font-size: 14px;
  color: #556f7f;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.cta-item a {
  color: #2a5f30;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.cta-item a:hover {
  color: #1f4525;
  text-decoration: underline;
}

/* ── RESPONSIVENESS ────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .home-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-verse-section {
    padding: 0 20px;
  }

  .home-verse-card {
    padding: 28px 24px;
  }

  .home-verse-text {
    font-size: 20px;
  }

  .home-inspirational-section {
    padding: 0 20px;
  }

  .home-inspirational-card {
    padding: 28px 24px;
  }

  .inspirational-text {
    font-size: 16px;
  }

  .inspirational-video iframe {
    height: 250px;
  }

  .home-mission {
    padding: 40px 20px 50px;
  }

  .home-mission-content h2 {
    font-size: 32px;
  }

  .home-mission-content p {
    font-size: 16px;
  }

  .home-features {
    padding: 50px 20px;
  }

  .home-feature {
    padding: 28px 20px;
  }

  .feature-icon {
    font-size: 40px;
  }

  .home-feature h3 {
    font-size: 20px;
  }

  .home-cta-section {
    padding: 50px 20px;
  }

  .home-cta-content h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .home-cta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-item {
    padding: 20px 18px;
  }

  .cta-item h4 {
    font-size: 18px;
  }
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #7f8c8d;
}

.cta-btn {
  display: inline-block;
  background: #2a5f30;
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.cta-btn:hover {
  background: #245a2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 95, 48, 0.4);
}

.page-container {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-page main {
  align-items: flex-start;
  padding: 56px 24px 72px;
}

.contact-shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-intro {
  background: linear-gradient(160deg, #ffffff 0%, #eef4f7 100%);
  border: 1px solid #dbe6ee;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 22px rgba(18, 45, 73, 0.08);
}

.contact-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a5f30;
  margin-bottom: 8px;
}

.contact-intro h1 {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.contact-intro p:last-child {
  color: #607486;
  font-size: 17px;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #dbe6ee;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 26px rgba(18, 45, 73, 0.08);
}

.contact-form label {
  font-weight: 600;
  color: #294454;
}

.contact-recipient-group {
  border: 1px solid #d6e2ec;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 8px;
  background: #f8fbfd;
}

.contact-recipient-group legend {
  padding: 0 8px;
  font-weight: 700;
  color: #214253;
}

.contact-helper {
  color: #6a7c8c;
  font-size: 14px;
}

.recipient-section {
  margin-top: 14px;
}

.recipient-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.recipient-section h3 {
  font-size: 15px;
  color: #2a5f30;
}

.recipient-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #355265;
  white-space: nowrap;
  flex-shrink: 0;
}

.recipient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.recipient-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d9e4ec;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.contact-form .recipient-option input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: #2a5f30;
}

.recipient-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
  min-width: 0;
}

.recipient-name {
  font-size: 14px;
  font-weight: 600;
  color: #274354;
}

.recipient-role {
  font-size: 12px;
  color: #6b7f90;
}

.recipient-select-all input {
  width: 14px;
  min-width: 14px;
  height: 14px;
  margin: 0;
}

.selected-recipient-preview {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recipient-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #34546d;
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ced9e1;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .cta-btn {
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.contact-form .cta-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin-top: 10px;
  min-height: 22px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.success {
  color: #215b2a;
}

.form-status.error {
  color: #ad2f2f;
}

.help-page main {
  align-items: flex-start;
  padding: 56px 24px 72px;
}

.help-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.help-hero {
  background: linear-gradient(130deg, #ffffff 0%, #f6faf5 60%, #eef6f2 100%);
  border: 1px solid #dbe6ee;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 24px rgba(18, 45, 73, 0.08);
}

.help-kicker {
  color: #b6362d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 8px;
}

.help-hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.help-hero p {
  color: #4f6574;
  font-size: 17px;
}

.help-updated {
  margin-top: 10px;
  font-size: 13px;
  color: #748897;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.help-card {
  background: #ffffff;
  border: 1px solid #d9e5ec;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(18, 45, 73, 0.06);
  display: grid;
  gap: 10px;
  align-content: start;
}

.help-card.danger {
  border-color: #f0c4c1;
  background: linear-gradient(165deg, #fff8f8 0%, #ffffff 100%);
}

.help-card h2 {
  font-size: 20px;
  line-height: 1.25;
  color: #233a49;
  min-height: 2.5em;
}

.help-hours {
  display: inline-flex;
  width: 190px;
  height: 28px;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  white-space: nowrap;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: #edf4f8;
  color: #3c586c;
}

.help-card p {
  color: #5a7081;
  font-size: 15px;
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.help-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  text-decoration: none;
  border: 1px solid #cddbe6;
  background: #f8fbfd;
  color: #234459;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.help-actions a:hover {
  border-color: #2a5f30;
  color: #1f4d24;
  background: #eef8ef;
}

.podcast-page main {
  align-items: flex-start;
  padding: 54px 24px 72px;
}

.podcast-page .page-container {
  max-width: 1380px;
  padding: 44px;
}

.events-page main {
  align-items: flex-start;
  padding: 54px 24px 72px;
}

.events-container {
  text-align: left;
  max-width: 1280px;
}

.events-container h2 {
  margin-bottom: 8px;
}

.events-intro {
  margin-bottom: 20px;
  color: #607486;
  font-size: 17px;
}

.events-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.events-grid.is-empty {
  display: block;
}

.events-grid > .event-card:only-child {
  margin-left: auto;
  margin-right: auto;
}

.events-empty-state {
  max-width: 760px;
  margin: 10px 0 0;
  padding: 8px 0 0;
  text-align: left;
}

.events-empty-state h3 {
  color: #2c4354;
  font-size: 26px;
  margin-bottom: 10px;
}

.events-empty-state p {
  color: #6b7f90;
  font-size: 16px;
  line-height: 1.7;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 420px;
  min-height: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #cfe0eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(18, 45, 73, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a5f30 0%, #3f7f4a 55%, #ffc20e 100%);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(18, 45, 73, 0.14);
}

.event-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.event-image-placeholder {
  width: 100%;
  height: 220px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 48%),
    linear-gradient(135deg, #edf4f8 0%, #dce8f0 100%);
  border-bottom: 1px solid #d6e3ec;
}

.event-image-placeholder span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d7384;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #cddbe6;
  border-radius: 999px;
  padding: 6px 12px;
}

.event-card:hover .event-image {
  transform: scale(1.03);
}

.event-content {
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.event-content h3 {
  color: #1f3440;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
}

.event-when {
  color: #1f5f28;
  display: inline-flex;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e9f6eb;
  border: 1px solid #cbe6cf;
  font-weight: 700;
  margin-bottom: 0;
  font-size: 13px;
}

.event-location {
  color: #355166;
  font-weight: 600;
  margin-top: -2px;
  margin-bottom: 2px;
  font-size: 14px;
  border-left: 3px solid #d7e6f1;
  padding-left: 9px;
}

.event-desc {
  color: #5f7384;
  line-height: 1.72;
  margin: 0;
}

.event-desc-preview {
  display: -webkit-box;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-height: 6.4em;
}

.event-card-hint {
  margin: auto 16px 14px;
  color: #7a8e9d;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: left;
}

.event-card:hover .event-card-hint {
  color: #536b7d;
}

.event-card:focus-visible {
  outline: 3px solid #ffcf5a;
  outline-offset: 2px;
}

.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.rsvp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 34, 48, 0.56);
}

.rsvp-dialog {
  position: relative;
  width: min(94vw, 840px);
  margin: 6vh auto 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 34px;
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.rsvp-dialog > * + * {
  margin-top: 16px;
}

.rsvp-event-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  border-radius: 12px;
  margin-top: 2px;
  background: #f1f6fa;
}

.rsvp-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #4b6275;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rsvp-close:hover {
  color: #334d63;
}

.rsvp-close:focus-visible {
  outline: 3px solid #ffcf5a;
  outline-offset: 2px;
}

.rsvp-event-name {
  color: #2b4356;
  margin-top: 2px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  padding-right: 48px;
}

.rsvp-meta-lines {
  display: grid;
  gap: 10px;
}

.rsvp-event-when {
  display: inline-flex;
  width: fit-content;
  color: #1f5f28;
  background: #e9f6eb;
  border: 1px solid #cbe6cf;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 700;
}

.rsvp-event-location {
  color: #355166;
  font-size: 14px;
  font-weight: 600;
  border-left: 3px solid #d7e6f1;
  padding-left: 9px;
  margin-top: 0;
}

.rsvp-event-description {
  margin-top: 4px;
  color: #5f7384;
  line-height: 1.72;
}

.rsvp-form-wrap {
  margin-top: 14px;
}

.rsvp-disabled-note {
  margin-top: 14px;
  color: #607486;
  font-weight: 600;
}

.rsvp-form {
  margin-top: 0;
  display: grid;
  gap: 12px;
}

.rsvp-form label {
  font-weight: 600;
  color: #294454;
}

.rsvp-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ced9e1;
  border-radius: 10px;
  font-size: 15px;
}

.rsvp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.ghost-btn {
  border: 1px solid #cddbe6;
  border-radius: 999px;
  background: #ffffff;
  color: #3a5f76;
  padding: 9px 14px;
  font-weight: 600;
  cursor: pointer;
}

.ghost-btn:hover {
  background: #f4f9fc;
}

.rsvp-status {
  min-height: 20px;
  font-size: 14px;
  font-weight: 600;
}

.rsvp-status.success {
  color: #1d6b2a;
}

.rsvp-status.error {
  color: #b63d3d;
}

.event-empty {
  padding: 28px 20px;
  text-align: center;
}

.event-empty h3 {
  color: #2f4656;
  margin-bottom: 6px;
}

.event-empty p {
  color: #6f8191;
}

/* FOOTER */
footer {
  background: #2a5f30; /* school green */
  color: #fff7a8;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

/* ADMIN STYLES */
.admin-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hidden {
  display: none;
}

#admin-login-form,
#resource-form,
#event-form,
#add-admin-form,
#verse-form,
#team-member-form,
#inspirational-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

#admin-login-form input,
#resource-form input,
#event-form input,
#add-admin-form input,
#team-member-form input,
#inspirational-form input,
#resource-form select,
#event-form select,
#add-admin-form select,
#team-member-form select,
#inspirational-form select,
#resource-form textarea,
#event-form textarea,
#add-admin-form textarea,
#team-member-form textarea,
#inspirational-form textarea {
  padding: 10px;
  border: 1px solid #d1d8dc;
  border-radius: 8px;
  font-size: 16px;
}

#resource-form input[type="file"],
#event-form input[type="file"] {
  padding: 8px;
  background: #f8fbfd;
}

.alert {
  margin-top: 12px;
  margin-bottom: 12px;
}

.alert.success {
  color: #2a5f30;
}

.alert.error {
  color: #e74c3c;
}

.resource-item {
  text-align: left;
  border: 1px solid #e2e8f0;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
}

/* TABLET */
@media (max-width: 1024px) {
  header {
    padding: 24px 28px 18px;
  }

  .nav-links {
    gap: 22px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .help-btn {
    padding: 10px 18px;
  }

  .page-container {
    padding: 30px;
  }
}

/* MOBILE */
@media (max-width: 980px) {
  header {
    padding: 18px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 28px 0 24px;
    border-top: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  .page-container {
    padding: 20px;
    margin: 20px;
  }

  .home-page main {
    padding: 30px 16px 56px;
  }

  .intro {
    font-size: 16px;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }

  .cta-btn {
    padding: 12px 25px;
  }
}

/* LEADERSHIP STYLES */
.page-container h1, .page-container h2 {
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-container h2 {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 24px;
}

.intro {
  font-size: 18px;
  line-height: 1.7;
  color: #7f8c8d;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.positions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.position {
  text-align: center;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.position:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.position img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 15px 0;
  border: 3px solid #ecf0f1;
  transition: border-color 0.3s ease;
}

.position:hover img {
  border-color: #2a5f30;
}

.position h3 {
  color: #2a5f30;
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 5px;
}

.section.officers .position h3,
.section.cabinet .position h3 {
  color: #2a5f30;
}

.section.officers .position:hover img,
.section.cabinet .position:hover img {
  border-color: #2a5f30;
}

.position h4 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 500;
  margin: 5px 0 15px;
}

.position p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.5;
}

.verse-card {
  background: #f9f6e0;
  border-left: 6px solid #ffc20e;
  padding: 20px;
  margin: 20px 0 30px;
  border-radius: 12px;
}

.verse-text {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.verse-ref {
  font-size: 16px;
  color: #2a5f30;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.podcast-card {
  background: #ffffff;
  border: 1px solid #e0e5ea;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.podcast-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2a5f30;
}

.podcast-card p {
  margin: 6px 0;
}

.podcast-card audio {
  width: 100%;
  margin-top: 12px;
  border-radius: 8px;
}

.podcast-stats {
  background: #fefbf1;
  border: 1px solid #f6d58d;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
  text-align: left;
}

.podcast-stats h3 {
  margin-bottom: 8px;
  color: #2a5f30;
}

.podcast-stats p {
  margin: 2px 0;
  font-size: 15px;
}

.admin-main {
  display: block;
  padding: 0;
  background: #eef3f7;
  min-height: calc(100vh - 80px);
}

.admin-page footer {
  margin-top: 0;
}

.admin-page .admin-main {
  padding-bottom: 48px;
}

.admin-login-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 24px;
}

.admin-dashboard {
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 24px 56px;
  width: 100%;
  min-height: 100%;
}

.admin-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.admin-dashboard-head h2 {
  margin: 0;
}

.admin-dashboard-head #admin-name {
  color: #2a5f30;
}

.admin-top-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-upload-form {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 7px 20px rgba(24, 39, 75, 0.08);
}

.admin-upload-form h3 {
  margin: 0 0 8px;
  color: #2a5f30;
}

.resource-list {
  display: grid;
  gap: 10px;
}

.admin-existing {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #d6e2ec;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 0;
  box-shadow: 0 8px 22px rgba(24, 39, 75, 0.07);
}

.admin-events-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.admin-existing-events {
  margin-top: 0;
}

.admin-inspirational-current {
  margin-top: 0;
}

.admin-admin-tools {
  margin-top: 24px;
}

.admin-admin-tools .contact-helper {
  margin-top: 2px;
  font-size: 14px;
}

.admin-manage-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.admin-inspirational-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.admin-add-user-form {
  border-radius: 14px;
}

.admin-add-user-form .cta-btn {
  margin-top: 10px;
}

.admin-manage-list {
  background: #ffffff;
  border: 1px solid #d6e2ec;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(24, 39, 75, 0.07);
}

#admin-users-message {
  display: none;
  margin-top: 12px;
}

#admin-users-list {
  margin-top: 8px;
}

#admin-users-list .resource-item {
  margin-top: 0;
}

.admin-manage-list h4 {
  margin: 0 0 8px;
  color: #2a5f30;
  font-size: 22px;
}

#add-admin-form h3,
.admin-manage-list h3 {
  margin: 0 0 8px;
  color: #2a5f30;
}

.admin-user-item {
  display: grid;
  gap: 10px;
}

.admin-user-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.admin-user-head strong {
  color: #1f3440;
  font-size: 17px;
}

.admin-user-handle {
  font-size: 13px;
  color: #698091;
}

.admin-role-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 9px;
}

.admin-role-pill.executive {
  background: #fff6dd;
  color: #8a6510;
  border: 1px solid #f2dca2;
}

.admin-role-pill.standard {
  background: #eaf3ff;
  color: #31597a;
  border: 1px solid #cfe0f3;
}

.admin-user-item .podcast-meta {
  margin-top: 2px;
}

.admin-user-item .delete-btn {
  margin-left: 0;
}

.event-item {
  display: grid;
  gap: 8px;
}

.event-rsvp-admin {
  margin-top: 4px;
  background: #f8fbfd;
  border: 1px solid #d7e5ef;
  border-radius: 10px;
  padding: 10px 12px;
}

.event-rsvp-admin p {
  margin: 0;
  font-size: 14px;
}

.event-attendee-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.event-attendee-list li {
  color: #445c6f;
  font-size: 14px;
}

.event-attendee-list span {
  color: #6d8192;
}

.admin-event-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.admin-existing h3 {
  margin: 0 0 12px;
  color: #1d3543;
}

.empty-state {
  color: #6f8191;
}

.podcast-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dce5ee;
  padding: 14px;
}

.podcast-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.podcast-item-head strong {
  color: #1f3440;
  display: block;
  margin-top: 6px;
}

.podcast-item-head small {
  color: #6f7f90;
}

.admin-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #31597a;
}

.podcast-item-date {
  margin: 2px 0 8px;
  font-size: 13px;
  color: #728596;
}

.admin-audio {
  width: 100%;
  margin-top: 8px;
}

.podcast-item .podcast-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.podcast-card {
  text-align: left;
  background: #ffffff;
  border: 1px solid #d9e4ec;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(18, 45, 73, 0.08);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.podcast-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #2a5f30 0%, #4f7d91 100%);
}

.podcast-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.podcast-pill {
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  color: #24572b;
  background: #eaf8ec;
}

.podcast-desc {
  color: #596f82;
  margin-top: 8px;
}

.podcast-date {
  margin-top: 6px;
  font-size: 13px;
  color: #708395;
}

.player-shell {
  margin-top: 14px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef4f7 100%);
  border: 1px solid #d0dde8;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.podcast-audio {
  display: none;
}

.player-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.player-play {
  border: none;
  border-radius: 999px;
  background: #2a5f30;
  color: #ffffff;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.player-play:hover {
  background: #224d27;
}

.player-seek {
  width: 100%;
  accent-color: #2a5f30;
}

.player-time {
  font-size: 12px;
  color: #5f6f80;
  display: flex;
  gap: 6px;
  min-width: 78px;
  justify-content: flex-end;
}

.player-speed-line {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.player-speed-wrap {
  font-size: 13px;
  color: #607486;
}

.player-speed {
  border: 1px solid #c9d7e3;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  color: #304f61;
}

.podcast-meta {
  margin-top: 10px;
  color: #607284;
}

.delete-btn {
  margin-left: auto;
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.delete-btn:hover {
  background: #cc3f31;
}

@media (max-width: 900px) {
  .admin-top-grid {
    grid-template-columns: 1fr;
  }

  .admin-events-wrap {
    grid-template-columns: 1fr;
  }

  .admin-manage-grid {
    grid-template-columns: 1fr;
  }

  .admin-inspirational-wrap {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .player-speed-line {
    justify-content: flex-start;
  }

  .player-controls {
    grid-template-columns: 1fr;
  }

  .player-time {
    justify-content: flex-start;
  }

  .podcast-grid {
    grid-template-columns: 1fr;
  }

  .podcast-page .page-container {
    padding: 24px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-intro h1 {
    font-size: 32px;
  }

  .help-hero h1 {
    font-size: 32px;
  }

  .recipient-grid {
    grid-template-columns: 1fr;
  }

  .recipient-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    width: 100%;
    min-height: 0;
  }

  .events-page main {
    padding: 40px 16px 56px;
  }

  .rsvp-dialog {
    width: min(95vw, 620px);
    margin-top: 7vh;
    padding: 24px;
  }

  .rsvp-event-image {
    max-height: 320px;
  }

  .rsvp-actions {
    justify-content: stretch;
  }

  .rsvp-actions .ghost-btn,
  .rsvp-actions .cta-btn {
    flex: 1;
    text-align: center;
  }

  .help-actions a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .admin-login-view {
    padding: 16px;
    min-height: calc(100vh - 64px);
  }

  .admin-container {
    padding: 22px 18px;
  }

  .admin-dashboard {
    padding: 22px 14px 40px;
  }

  .admin-dashboard-head {
    gap: 10px;
    margin-bottom: 18px;
  }

  .admin-dashboard-head h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  #logout-btn.help-btn {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .podcast-stats {
    margin: 0;
    padding: 12px 14px;
  }

  .admin-upload-form,
  .admin-existing {
    padding: 14px;
  }

  .admin-manage-list {
    padding: 14px;
  }

  .admin-add-user-form .cta-btn,
  .admin-user-item .delete-btn {
    width: 100%;
    text-align: center;
  }

  .admin-user-head {
    flex-direction: column;
    gap: 6px;
  }

  .podcast-item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .podcast-item .podcast-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .delete-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  #resource-form .cta-btn,
  #event-form .cta-btn,
  #add-admin-form .cta-btn,
  #inspirational-form .cta-btn,
  #admin-login-form .cta-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .admin-dashboard-head h2 {
    font-size: 21px;
  }

  #admin-login-form input,
  #resource-form input,
  #event-form input,
  #add-admin-form input,
  #resource-form select,
  #event-form select,
  #add-admin-form select,
  #resource-form textarea,
  #event-form textarea,
  #add-admin-form textarea {
    font-size: 15px;
  }
}

@media (max-width: 430px) {
  html,
  body {
    overflow-x: hidden;
  }

  header {
    padding: 14px 14px;
  }

  nav {
    gap: 10px;
  }

  .logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 18px;
    padding: 20px 0 18px;
  }

  .nav-links a {
    font-size: 17px;
  }

  main {
    padding: 24px 12px;
  }

  .home-page main {
    padding: 22px 12px 44px;
  }

  .events-page main,
  .contact-page main,
  .podcast-page main {
    padding: 28px 12px 44px;
  }

  .events-grid {
    gap: 16px;
  }

  .event-content {
    padding: 18px 16px 14px;
    gap: 12px;
  }

  .event-content h3 {
    font-size: 22px;
  }

  .rsvp-dialog {
    width: 96vw;
    margin-top: 4vh;
    padding: 18px;
    border-radius: 12px;
  }

  .rsvp-close {
    width: 38px;
    height: 38px;
    font-size: 28px;
    right: 8px;
    top: 8px;
  }

  .rsvp-event-name {
    font-size: 21px;
    padding-right: 40px;
  }

  .positions {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .position {
    padding: 22px 14px;
  }

  .position h4 {
    font-size: 20px;
  }

  .admin-dashboard {
    padding: 18px 10px 34px;
  }

  .admin-dashboard-head h2 {
    font-size: 19px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .admin-dashboard-head #admin-name {
    display: inline-block;
    overflow-wrap: anywhere;
  }

  .admin-upload-form,
  .admin-existing {
    padding: 12px;
  }

  .podcast-item,
  .event-item {
    padding: 12px;
  }
}

/* ── BIBLE VERSE — HOME PAGE ───────────────────────────────────────────────── */

.home-verse-section {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

.home-verse-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(135deg, #fffef4 0%, #f8fbf4 55%, #eef6f0 100%);
  border: 1px solid #d8e9d4;
  border-left: 5px solid #2a5f30;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 10px 26px rgba(42, 95, 48, 0.09);
}

.home-verse-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a5f30;
}

.home-verse-text {
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  color: #1e3828;
  margin: 0;
  quotes: none;
}

.home-verse-ref {
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  color: #3a6b42;
}

/* ── BIBLE VERSE — ADMIN ───────────────────────────────────────────────────── */

.admin-verse-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.admin-verse-current {
  margin-top: 0;
}

.verse-mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.verse-tab {
  background: #f0f4f8;
  border: 1px solid #c9d7e3;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #445c6f;
  transition: all 0.2s ease;
}

.verse-tab.active {
  background: #2a5f30;
  color: #ffffff;
  border-color: #2a5f30;
}

.verse-tab:hover:not(.active) {
  background: #e3edf3;
}

.verse-lookup-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.verse-lookup-row input {
  flex: 1;
}

.verse-lookup-row select {
  padding: 10px;
  border: 1px solid #d1d8dc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #ffffff;
  cursor: pointer;
}

.verse-preview {
  margin-top: 10px;
  background: #f5fbf5;
  border: 1px solid #c3dfc4;
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.verse-preview.hidden {
  display: none;
}

.verse-preview-text {
  font-size: 16px;
  font-style: italic;
  color: #1e3828;
  margin: 0;
  line-height: 1.6;
}

.verse-preview-ref {
  font-size: 14px;
  font-weight: 600;
  color: #2a5f30;
}

.verse-preview-error {
  color: #ad2f2f;
  font-size: 14px;
  margin: 0;
}

#verse-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#verse-form input,
#verse-form textarea {
  padding: 10px;
  border: 1px solid #d1d8dc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
}

#verse-form textarea {
  resize: vertical;
}

#verse-form .cta-btn {
  border: none;
  cursor: pointer;
}

#verse-message {
  display: none;
}

@media (max-width: 900px) {
  .admin-verse-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .verse-lookup-row {
    flex-direction: column;
  }

  .verse-lookup-row .cta-btn,
  .verse-lookup-row select {
    width: 100%;
    text-align: center;
  }
}

/* ─── Team Member Management (Admin) ──────────────────────────────────────── */

.team-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0 1.5rem;
}

.team-member-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  box-sizing: border-box;
}

/* Cropper container */
.team-crop-container {
  margin: 1rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.team-crop-container img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.team-crop-actions {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
}

/* Cropped image preview */
.team-image-preview-wrap {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.team-image-preview-wrap img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2a5f30;
}

.team-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Admin team member list */
.team-admin-group {
  margin-bottom: 1.25rem;
}

.team-admin-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2a5f30;
  margin: 0 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e0e0e0;
}

.team-admin-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.team-admin-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #ddd;
  flex-shrink: 0;
}

.team-admin-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #999;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}

.team-admin-info {
  flex: 1;
  min-width: 0;
}

.team-admin-info strong {
  display: block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-admin-info span {
  font-size: 0.78rem;
  color: #666;
}

/* Cropper.js override — keep it constrained in the form column */
.cropper-container {
  max-width: 100%;
}

/* Edit button (secondary/neutral) */
.admin-edit-btn {
  background: #f0f4f8;
  color: #2a5f30;
  border: 1px solid #c5d8c7;
  padding: 5px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.admin-edit-btn:hover {
  background: #dff0e0;
  border-color: #2a5f30;
}

/* Delete / Remove / Cancel button (destructive) */
.admin-delete-btn {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6c2;
  padding: 5px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.admin-delete-btn:hover {
  background: #fde0de;
  border-color: #c0392b;
}

/* Tutoring Page Styles */
.tutoring-page .page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.tutoring-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #555;
}

.tutoring-info {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #666;
}

.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.coordinator-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}

.coordinator-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.coordinator-card h3 {
  margin: 0 0 0.5rem 0;
  color: #2a5f30;
  font-size: 1.2rem;
}

.coordinator-position {
  font-weight: 600;
  color: #666;
  margin-bottom: 0.5rem;
}

.coordinator-email a {
  color: #2a5f30;
  text-decoration: none;
}

.coordinator-email a:hover {
  text-decoration: underline;
}

/* Coordinator Admin Styles */
.coordinator-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fff;
}

.coordinator-admin-info strong {
  display: block;
  color: #2a5f30;
}

.coordinator-admin-info span {
  font-size: 0.85rem;
  color: #666;
}

.coordinator-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Tutoring Page Enhancements */
.tutoring-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #2a5f30;
}

.tutoring-section h3 {
  color: #2a5f30;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.tutoring-section p {
  line-height: 1.6;
  color: #555;
}

/* Coordinator Admin Form Styles */
.coordinator-form {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.coordinator-form h3 {
  margin-top: 0;
  color: #2a5f30;
}

.coordinator-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.coordinator-form input,
.coordinator-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.coordinator-form input:focus,
.coordinator-form select:focus {
  outline: none;
  border-color: #2a5f30;
  box-shadow: 0 0 0 2px rgba(42, 95, 48, 0.1);
}

.coordinator-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fff;
}

.coordinator-admin-info strong {
  display: block;
  color: #2a5f30;
  font-size: 1.1rem;
}

.coordinator-admin-info span {
  font-size: 0.9rem;
  color: #666;
}

.resource-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-edit-btn,
.admin-delete-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.admin-edit-btn {
  background: #3498db;
  color: white;
}

.admin-edit-btn:hover {
  background: #2980b9;
}

.admin-delete-btn {
  background: #e74c3c;
  color: white;
}

.admin-delete-btn:hover {
  background: #c0392b;
}



