/* =========================================================
   Rose Hill Baptist Church - Main Stylesheet
   Theme: Light Tan & Maroon | Mobile-Friendly
   ========================================================= */

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

:root {
  --primary: #800000;     /* Maroon */
  --background: #f8f3ed;  /* Light Tan */
  --light: #fffaf4;       /* Cream */
  --accent: #d4a017;      /* Gold accent */
  --dark: #333;
}

/*  DEFAULT BODY SETTINGS */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--background);
  color: var(--dark);
  line-height: 1.6;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
.navbar {
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/*  MOBILE MENU BUTTON */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* =========================================================
   HERO SECTIONS AND HEADERS
   ========================================================= */
.hero {
  /* Use an image that ships with the site so the hero displays on all devices */
  background: url('churchfamily.jpeg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1.5rem;
}
.hero-content {
  background-color: rgba(128, 0, 0, 0.6);
  display: inline-block;
  padding: 2rem;
  border-radius: 10px;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1rem;
}

/*  Page Hero (smaller internal banners) */
.page-hero {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  background-color: var(--accent);
  color: white;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  margin: 0.3rem;
  display: inline-block;
  cursor: pointer;
  font-weight: 600;
}
.btn:hover {
  background-color: #b88b14;
}
.btn-alt {
  background-color: var(--primary);
}
.btn-alt:hover {
  background-color: #a02828;
}

/* =========================================================
   SECTIONS & CONTAINERS
   ========================================================= */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 0;
}
h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
}

/* =========================================================
   WELCOME & EVENTS ON HOME PAGE
   ========================================================= */
.welcome {
  text-align: center;
  background: var(--light);
  padding: 3rem 1rem;
}
.welcome-img {
  margin-top: 2rem;
  max-width: 600px;
  width: 90%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.upcoming-events {
  text-align: center;
  background: #efe8df;
  padding: 3rem 1rem;
}
.event-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.event-card {
  background: white;
  border-radius: 6px;
  width: 270px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding-bottom: 1rem;
}
.event-card img {
  width: 100%;
  height: 180px;
  border-radius: 6px 6px 0 0;
  object-fit: cover;
}

/* Logos inside event cards should never be cropped */
.event-card img.event-logo {
  object-fit: contain;
  background: white;
  padding: 10px;
}

/* Email links should wrap cleanly on small screens */
.email-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.event-card h3 {
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

/* =========================================================
   ABOUT AND STAFF SECTIONS
   ========================================================= */
.staff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.staff-card {
  /* Match the light-tan/cream theme */
  background: var(--light);
  width: 260px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.staff-card img {
  width: 100%;
  border-radius: 6px;
}
.staff-card h3 {
  color: var(--primary);
  margin: 0.5rem 0;
}

/* =========================================================
   MINISTRIES PAGE
   ========================================================= */
.ministry-list .ministry {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
}
.ministry img {
  width: 240px;
  border-radius: 6px;
}
.ministry h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* =========================================================
   SERMONS PAGE
   ========================================================= */
.video-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.video-card {
  background: white;
  border-radius: 6px;
  width: 340px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.gallery-grid img {
  width: 300px;
  border-radius: 6px;
}

/* =========================================================
   EVENTS & CALENDAR
   ========================================================= */
.calendar iframe {
  border: 2px solid var(--primary);
  border-radius: 4px;
  margin-top: 1.5rem;
}

/* =========================================================
   FORMS (Contact, Give, Basketball)
   ========================================================= */
form {
  display: flex;
  flex-direction: column;
}
form label {
  margin-top: 1rem;
  font-weight: 600;
}
form input,
form textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
form input:focus,
form textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* =========================================================
   BLOG / RESOURCES
   ========================================================= */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.blog-card {
  width: 300px;
  background: white;
  padding-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
}
.blog-card img {
  width: 100%;
  height: 180px;
  border-radius: 6px 6px 0 0;
  object-fit: cover;
}
.blog-card h3 {
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 1.8rem 1rem;
  margin-top: 2rem;
}
footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer-container p {
  margin-bottom: 0.5rem;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* 🔸 Tablets / Medium screens */
@media (max-width: 768px) {
  .event-grid,
  .staff-grid,
  .blog-grid,
  .video-grid {
    flex-direction: column;
    align-items: center;
  }

  .ministry {
    flex-direction: column;
  }
}

/* 🔸 Mobile / Small screens */
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--primary);
    display: none;
    text-align: center;
    padding: 1rem 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    margin: 0.6rem 0;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }

  /* Make cards fill the screen nicely on phones */
  .event-card,
  .blog-card,
  .video-card,
  .staff-card {
    width: 100%;
    max-width: 520px;
  }

  .event-card img,
  .blog-card img {
    height: 200px;
  }
}

/* =========================================================
   PROFESSIONAL POLISH (Cards, Buttons, Focus, Success Page)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary), #5e0000);
}

.contact-info,
.contact-form,
.registration-info,
.registration-form,
.contact-reminder,
.give-box,
.section-card {
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.contact-info,
.registration-info {
  margin-top: -1.5rem;
}

.contact-form,
.registration-form,
.contact-reminder {
  margin-top: 1.5rem;
}

form {
  gap: 0.25rem;
}

form input,
form textarea,
form select {
  background: white;
}

.btn {
  transition: transform 0.08s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(0,0,0,0.10);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(212, 160, 23, 0.6);
  outline-offset: 2px;
}

/* Success page */
.success-wrap {
  padding: 2.5rem 0 4rem;
}

.success-card {
  background: white;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.15);
  border: 2px solid rgba(212, 160, 23, 0.35);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.small-muted {
  color: rgba(0,0,0,0.65);
  font-size: 0.98rem;
}

/* Make embedded maps/cards breathe on mobile */
@media (max-width: 600px) {
  .contact-info,
  .contact-form,
  .registration-info,
  .registration-form,
  .contact-reminder,
  .give-box,
  .section-card {
    padding: 1.3rem;
  }

  .page-hero {
    padding: 2.2rem 1rem;
  }
}

/* =========================================================
   SUCCESS PAGE
   ========================================================= */
.success-hero {
  background: linear-gradient(180deg, rgba(128, 0, 0, 0.96), rgba(128, 0, 0, 0.88));
  color: white;
  text-align: center;
  padding: 4.5rem 1rem 4rem;
}

.success-hero-inner {
  max-width: 820px;
}

.success-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

.success-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.success-lead {
  font-size: 1.08rem;
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
}

.success-checkmark {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
}

.success-checkmark .check-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22a55b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.success-checkmark .check-stem,
.success-checkmark .check-kick {
  position: absolute;
  background: white;
  border-radius: 999px;
  z-index: 2;
}

.success-checkmark .check-stem {
  width: 10px;
  height: 42px;
  left: 55px;
  top: 31px;
  transform: rotate(45deg);
}

.success-checkmark .check-kick {
  width: 10px;
  height: 22px;
  left: 39px;
  top: 49px;
  transform: rotate(-45deg);
}

.success-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.success-card-pro {
  background: white;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(128, 0, 0, 0.08);
}

.success-card-pro h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.success-step {
  background: var(--light);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(128, 0, 0, 0.08);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 0.9rem;
}

.success-step h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.success-step p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

.success-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 768px) {
  .success-hero {
    padding: 3.5rem 1rem 3rem;
  }

  .success-hero h1 {
    font-size: 2rem;
  }

  .success-card-pro {
    padding: 1.35rem;
  }

  .success-steps {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   AUTO-UPDATING SERMONS FEED
   ========================================================= */
.sermon-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sermon-subtitle {
  margin-bottom: 0;
  color: #5e5e5e;
}

.sermon-status {
  margin: 1.25rem 0 1.75rem;
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.featured-sermon {
  margin-bottom: 2.25rem;
}

.featured-sermon-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  background: white;
}

.featured-sermon-highlight {
  border: 1px solid rgba(212, 160, 23, 0.4);
  box-shadow: 0 16px 38px rgba(0,0,0,0.10), 0 0 0 5px rgba(212, 160, 23, 0.08);
}

.featured-sermon-video-wrap,
.sermon-thumb-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
}

.featured-sermon-video-wrap {
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}

.featured-sermon-thumb,
.sermon-thumb {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.featured-sermon-video-wrap::after,
.sermon-thumb-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.28));
  pointer-events: none;
}

.featured-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.18);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.featured-sermon-content h3 {
  color: var(--primary);
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.featured-sermon-note {
  color: #555;
  max-width: 34rem;
}

.featured-sermon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.more-sermons-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.sermon-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sermon-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.sermon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.14);
  border-color: rgba(212, 160, 23, 0.28);
}

.sermon-card:hover .sermon-thumb,
.sermon-thumb-link:hover .sermon-thumb,
.featured-sermon-video-wrap:hover .featured-sermon-thumb {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 0, 0, 0.88);
  color: white;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  transition: transform 0.28s ease, background 0.28s ease;
  z-index: 2;
}

.play-badge svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.play-badge-large {
  width: 74px;
  height: 74px;
}

.duration-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.82);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sermon-thumb-link:hover .play-badge,
.featured-sermon-video-wrap:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(160, 40, 40, 0.95);
}

.sermon-card-body {
  padding: 1rem;
}

.sermon-card-body h4 {
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.sermon-date {
  color: #666;
  margin-bottom: 0.85rem;
}

.sermon-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.sermon-link:hover {
  color: #a02828;
}

@media (max-width: 900px) {
  .featured-sermon-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .featured-sermon-content h3 {
    font-size: 1.5rem;
  }

  .play-badge-large {
    width: 64px;
    height: 64px;
  }

  .sermon-card-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   SERMONS MOBILE + PERFORMANCE POLISH
   ========================================================= */
.sermon-videos.container {
  padding-top: 1.5rem;
}

.sermon-status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  width: 100%;
}

.status-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(128,0,0,0.18);
  border-top-color: var(--primary);
  animation: sermonSpin 0.8s linear infinite;
  flex: 0 0 auto;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 6px rgba(31,157,85,0.14);
  flex: 0 0 auto;
}

@keyframes sermonSpin {
  to { transform: rotate(360deg); }
}

.featured-sermon-card {
  border-radius: 18px;
  overflow: hidden;
}

.featured-sermon-video-wrap {
  border-radius: 16px;
}

.featured-sermon-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sermon-card {
  border-radius: 16px;
}

.sermon-card-body {
  display: flex;
  flex-direction: column;
  min-height: 154px;
}

.sermon-card-body .sermon-link {
  margin-top: auto;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 768px) {
  .sermon-section-header {
    align-items: stretch;
  }

  .sermon-section-header .btn {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .featured-sermon-card {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, 1100px);
  }

  .page-hero {
    padding: 2rem 1rem 1.8rem;
  }

  .page-hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.4rem;
  }

  .page-hero p {
    margin-bottom: 0;
    font-size: 0.98rem;
  }

  .sermon-videos.container,
  .gallery.container {
    padding-top: 1.2rem;
    padding-bottom: 1.4rem;
  }

  .sermon-section-header {
    gap: 0.85rem;
  }

  .sermon-section-header h2,
  .more-sermons-title,
  .gallery h2 {
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 0.65rem;
  }

  .sermon-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 32ch;
  }

  .sermon-status {
    margin: 1rem 0 1.25rem;
    padding: 0.9rem;
    border-radius: 14px;
    font-size: 0.98rem;
  }

  .featured-sermon {
    margin-bottom: 1.5rem;
  }

  .featured-sermon-card {
    padding: 0.85rem;
    gap: 0.95rem;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10), 0 0 0 4px rgba(212, 160, 23, 0.08);
  }

  .featured-sermon-video-wrap {
    border-radius: 14px;
  }

  .featured-sermon-content {
    padding: 0.1rem 0.15rem 0.2rem;
  }

  .featured-label {
    font-size: 0.8rem;
    padding: 0.32rem 0.65rem;
    margin-bottom: 0.6rem;
  }

  .featured-sermon-content h3 {
    font-size: 1.3rem;
    line-height: 1.22;
    margin-bottom: 0.55rem;
  }

  .featured-sermon-note {
    font-size: 0.96rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
  }

  .featured-sermon-actions .btn {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .play-badge {
    width: 52px;
    height: 52px;
  }

  .play-badge svg {
    width: 22px;
    height: 22px;
  }

  .play-badge-large {
    width: 60px;
    height: 60px;
  }

  .duration-badge {
    right: 0.55rem;
    bottom: 0.55rem;
    min-width: auto;
    font-size: 0.82rem;
    padding: 0.24rem 0.48rem;
  }

  .sermon-card-grid {
    gap: 1rem;
  }

  .sermon-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: stretch;
    min-height: 132px;
  }

  .sermon-thumb-link {
    height: 100%;
  }

  .sermon-thumb {
    aspect-ratio: auto;
  }

  .sermon-card-body {
    padding: 0.9rem 0.9rem 0.85rem;
    min-height: auto;
  }

  .sermon-card-body h4 {
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sermon-date {
    font-size: 0.92rem;
    margin-bottom: 0.65rem;
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .gallery-grid img {
    width: 100%;
    max-width: none;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-spinner,
  .sermon-card,
  .play-badge,
  .featured-sermon-thumb,
  .sermon-thumb {
    animation: none !important;
    transition: none !important;
  }
}
