/* ===========================================
   CHURCH WEBSITE - SPLASH PAGE STYLES
   =========================================== */

/* Splash Page - Full Screen Hero */
.splash-page {
  height: 100vh;
  height: 100dvh;
  /* dynamic viewport height for mobile (F-09) */
  width: 100%;
  /* was 100vw — avoids scrollbar overflow (F-16) */
  position: relative;
  overflow: hidden;
}

.splash-slideshow {
  position: absolute;
  inset: 0;
}

.splash-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.splash-slide.active {
  opacity: 1;
}

.splash-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Splash Overlay */
.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 25, 41, 0.60) 0%,
      rgba(26, 58, 82, 0.80) 50%,
      rgba(10, 25, 41, 0.94) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  text-align: center;
}

/* Splash Content */
.splash-content {
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

.splash-logo {
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-lg);
  animation: fadeIn 1.5s ease-out;
}

.splash-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.splash-tagline {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Scripture Quote */
.splash-scripture {
  max-width: 600px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.splash-scripture .scripture {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 0;
}

.splash-scripture .scripture-reference {
  color: #e6b887;
  margin-top: var(--space-md);
}

/* Enter Button */
.splash-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a52;
  background: var(--text-light);
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse 2s infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
}

.splash-enter-btn:hover {
  background: #d4a574;
  color: var(--text-light);
  transform: scale(1.05);
  animation: none;
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.45);
}

.splash-enter-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.splash-enter-btn:hover svg {
  transform: translateX(4px);
}

/* Splash Footer */
.splash-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.splash-footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg) var(--space-2xl);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.splash-footer-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.splash-footer-item svg {
  width: 16px;
  height: 16px;
  color: #e6b887;
}

.splash-footer-item a {
  color: rgba(255, 255, 255, 0.85);
}

.splash-footer-item a:hover {
  color: #e6b887;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
}

.slide-indicator {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slide-indicator.active {
  background: #e6b887;
  width: 30px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
}

/* Skeleton Loader Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.1) 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
  border-radius: 8px;
}

.skeleton-text {
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-heading {
  height: 20px;
  width: 60%;
  margin-bottom: 16px;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16/10;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .splash-scripture {
    padding: var(--space-lg);
    margin: var(--space-xl) auto;
  }

  .splash-footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }

  .slide-indicators {
    bottom: 140px;
  }
}

/* ===========================================
   SERMON ARCHIVE - WORLD CLASS UPGRADE
   =========================================== */

/* Cinematic Sermon Hero */
.sermon-hero {
  position: relative;
  background: linear-gradient(135deg, #1a3a52 0%, #0f2438 100%);
  padding: 120px 0 100px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.sermon-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  animation: noiseAnimation 8s steps(10) infinite;
  z-index: 1;
  pointer-events: none !important;
}

@keyframes noiseAnimation {
  0% {
    transform: translate(0, 0)
  }

  10% {
    transform: translate(-5%, -5%)
  }

  20% {
    transform: translate(-10%, 5%)
  }

  30% {
    transform: translate(5%, -10%)
  }

  40% {
    transform: translate(-5%, 15%)
  }

  50% {
    transform: translate(-10%, 5%)
  }

  60% {
    transform: translate(15%, 0)
  }

  70% {
    transform: translate(0, 10%)
  }

  80% {
    transform: translate(-15%, 0)
  }

  90% {
    transform: translate(10%, 5%)
  }

  100% {
    transform: translate(5%, 0)
  }
}

.sermon-hero .container {
  position: relative;
  z-index: 2;
}

.sermon-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #d4a574 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sermon-section {
  padding: 45px 0 100px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 50%, #f8f9fa 100%);
  min-height: 80vh;
  position: relative;
}

.sermon-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.sermon-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(145deg, #1a3a52 0%, #2a5278 50%, #c99a60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  line-height: 1.3;
}

.sermon-header h2::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #2a5278 30%, #1a3a52 50%, #2a5278 70%, transparent 100%);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(42, 82, 120, 0.4);
}

.sermon-header p {
  color: #6d7680;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  letter-spacing: 0.01em;
  margin-top: 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.65;
}

/* Glassmorphism Filter UI - Premium design */
.filter-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow:
    0 8px 32px rgba(26, 58, 82, 0.1),
    0 2px 8px rgba(26, 58, 82, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  max-width: 720px;
  margin: 0 auto 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.filter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(42, 82, 120, 0.05) 0%, transparent 100%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.filter-card:hover {
  box-shadow: 0 10px 44px rgba(26, 58, 82, 0.12), 0 6px 24px rgba(42, 82, 120, 0.1);
}

.filter-card:hover::before {
  opacity: 1;
}

.filter-card.active {
  border-color: rgba(42, 82, 120, 0.45);
  box-shadow: 0 14px 54px rgba(26, 58, 82, 0.14), 0 8px 28px rgba(42, 82, 120, 0.12);
}

.filter-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: #d4a574;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.filter-group select {
  width: 100%;
  padding: 14px 50px 14px 20px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid rgba(212, 175, 120, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a3a52' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  box-shadow: 0 4px 16px rgba(26, 58, 82, 0.06);
  color: #1a3a52;
  font-weight: 500;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.filter-group select:focus-visible {
  outline: 2px solid #d4a574;
  outline-offset: 3px;
}

.filter-group select:hover {
  border-color: #2a5278;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 58, 82, 0.1), 0 3px 10px rgba(42, 82, 120, 0.08);
}

#sermon-search:focus {
  outline: none;
  border-color: #1a3a52;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 0 0 4px rgba(42, 82, 120, 0.2);
}

/* Inline Search Row & Reset Button */
.search-flex-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.reset-btn {
  background: rgba(212, 165, 116, 0.1);
  color: #b88d5f;
  border: 1.5px solid rgba(212, 165, 111, 0.2);
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  height: 52px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reset-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.5s ease;
}

.reset-btn:hover {
  background: #d4a574;
  color: #fff;
  border-color: #d4a574;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.reset-btn:hover svg {
  transform: rotate(-180deg);
}

.results-header.archived-meta {
  margin-top: 35px;
  margin-bottom: 35px;
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.count-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 253, 255, 0.92) 100%);
  padding: 12px 28px;
  border-radius: 100px;
  box-shadow:
    0 4px 12px rgba(26, 58, 82, 0.04),
    0 12px 32px rgba(26, 58, 82, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #1a3a52;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.count-badge::before {
  content: '';
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9-9 4.03-9 9 4.03 9 9 9z'%3E%3C/path%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.count-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #d4a574;
  margin-right: 2px;
  line-height: 1;
}

.count-badge .highlight {
  color: #1a3a52;
  font-weight: 500;
  opacity: 0.7;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Results Divider removed for centered compact layout */

/* Filter transition animation */
.sermon-list {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.sermon-list.transitioning {
  opacity: 0.5;
  transform: translateY(10px);
}

/* Prompt State - Premium styling */
.sermon-prompt {
  text-align: center;
  padding: 90px 40px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(26, 58, 82, 0.06), 0 10px 50px rgba(26, 58, 82, 0.03);
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 120, 0.12);
}

.sermon-prompt .icon-wrap {
  width: 100px;
  height: 100px;
  background: linear-gradient(145deg, rgba(42, 82, 120, 0.12) 0%, rgba(42, 82, 120, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  border: 2px solid rgba(42, 82, 120, 0.2);
}

.sermon-prompt .icon-wrap svg {
  width: 48px;
  height: 48px;
  color: #2a5278;
  stroke-width: 1.5;
}

.sermon-prompt h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  background: linear-gradient(145deg, #1a3a52, #2a5278);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.sermon-prompt p {
  color: #6d7680;
  max-width: 440px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Results */
.sermon-results {
  display: none;
}

.sermon-results.active {
  display: block;
}

.sermon-count {
  text-align: center;
  margin-bottom: 40px;
  padding: 14px 32px;
  background: linear-gradient(145deg, rgba(42, 82, 120, 0.12) 0%, rgba(42, 82, 120, 0.06) 100%);
  color: #1a3a52;
  border-radius: 26px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  box-shadow: 0 4px 18px rgba(42, 82, 120, 0.12);
  border: 2px solid rgba(42, 82, 120, 0.3);
}

.count-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.sermon-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 850px;
  margin: 0 auto;
}

/* Beautiful Sermon Cards - Premium enhanced with animations */
.sermon-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(26, 58, 82, 0.08),
    0 2px 8px rgba(26, 58, 82, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  opacity: 0;
  animation: sermonFadeIn 0.6s ease-out forwards;
  will-change: transform, box-shadow;
}

/* Staggered entrance animations */
@keyframes sermonFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sermon-item:nth-child(1) {
  animation-delay: 0.05s;
}

.sermon-item:nth-child(2) {
  animation-delay: 0.1s;
}

.sermon-item:nth-child(3) {
  animation-delay: 0.15s;
}

.sermon-item:nth-child(4) {
  animation-delay: 0.2s;
}

.sermon-item:nth-child(5) {
  animation-delay: 0.25s;
}

.sermon-item:nth-child(6) {
  animation-delay: 0.3s;
}

.sermon-item:nth-child(n+7) {
  animation-delay: 0.35s;
}

/* Remove alternating gradient backgrounds */
.sermon-item:nth-child(even) {
  background: rgba(250, 252, 254, 0.95);
}

.sermon-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: #d4a574;
  transition: height 0.4s ease;
  z-index: 2;
}

.sermon-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(26, 58, 82, 0.12),
    0 8px 16px rgba(212, 175, 120, 0.1);
  border-color: rgba(212, 175, 120, 0.3);
}

.sermon-item:hover::before {
  height: 100%;
}

.sermon-item.playing {
  border-color: rgba(42, 82, 120, 0.45);
  box-shadow:
    0 15px 45px rgba(42, 82, 120, 0.15),
    0 4px 12px rgba(42, 82, 120, 0.1),
    inset 0 0 20px rgba(42, 82, 120, 0.05);
  background: linear-gradient(145deg, #ffffff 0%, #f0f6fc 100%);
  transform: scale(1.01);
}

.sermon-item.playing::before {
  content: 'Now Playing';
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: #d4a574;
  padding: 5px 10px;
  border-radius: 20px 0 14px 0;
  box-shadow: 2px 2px 10px rgba(212, 165, 116, 0.2);
  z-index: 5;
  width: auto;
  height: auto;
  pointer-events: none;
}

@keyframes badge-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}

/* Loading skeleton state */
.sermon-item.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  cursor: default;
  pointer-events: none;
  min-height: 100px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.sermon-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  position: relative;
  z-index: 5;
}

/* Adjust layout for mobile when columns get tight */
@media (max-width: 640px) {
  .sermon-row {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 16px 20px;
  }

  .sermon-number {
    display: none;
    /* Hide number on small mobile to save space */
  }
}

/* Focus indicators for accessibility */
.play-btn:focus-visible,
.yt-link:focus-visible {
  outline: 2px solid #d4a574;
  outline-offset: 3px;
}

.sermon-number {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(42, 82, 120, 0.14) 0%, rgba(42, 82, 120, 0.06) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2a5278;
  font-family: 'Playfair Display', serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  border: 1.5px solid rgba(42, 82, 120, 0.25);
}

.sermon-item:hover .sermon-number {
  background: linear-gradient(145deg, #2a5278 0%, #1a3a52 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
}

.play-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #2a5278 0%, #1a3a52 100%);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(26, 58, 82, 0.3);
  position: relative;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Play Button Interior Glow */
.play-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.sermon-item:hover .play-btn {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(42, 82, 120, 0.35);
}

.sermon-item:hover .play-btn::after {
  opacity: 1;
}

.play-btn svg {
  width: 16px;
  height: 16px;
  color: white;
  margin-left: 2px;
  position: relative;
  z-index: 1;
  fill: currentColor;
}

.sermon-info {
  flex: 1;
  min-width: 0;
}

.sermon-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #1a3a52;
  margin-bottom: 5px;
  line-height: 1.3;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sermon-item:hover .sermon-title {
  color: #2a5278;
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.sermon-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #8b9299;
  font-size: 0.85rem;
  font-weight: 500;
}

.sermon-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.sermon-item:hover .sermon-meta span {
  color: #6d7680;
}

.sermon-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  color: #d4a574;
  transition: opacity 0.3s ease;
}

.sermon-item:hover .sermon-meta svg {
  opacity: 1;
}

.sermon-actions {
  display: flex;
  align-items: center;
}

.yt-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(145deg, rgba(255, 0, 0, 0.12) 0%, rgba(255, 0, 0, 0.06) 100%);
  border: 2px solid rgba(255, 0, 0, 0.3);
  border-radius: 12px;
  color: #cc0000;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.yt-link:hover {
  background: linear-gradient(145deg, #ff0000 0%, #cc0000 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
}

.yt-link svg {
  width: 14px;
  height: 14px;
}

/* Video Player - Enhanced slideDown animation */
.video-player {
  display: none;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.5);
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 700px;
  }
}

.video-player.active {
  display: block;
}

.video-player iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.15),
    0 0 0 0 rgba(255, 0, 0, 0);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.close-btn:focus-visible {
  outline: 2px solid #d4a574;
  outline-offset: 3px;
}

.close-btn:hover {
  background: linear-gradient(145deg, #ff0000 0%, #cc0000 100%);
  border-color: transparent;
  transform: scale(1.08) rotate(90deg);
  box-shadow:
    0 8px 30px rgba(255, 0, 0, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.25),
    0 0 0 5px rgba(255, 0, 0, 0.15);
}

.close-btn svg {
  width: 22px;
  height: 22px;
  color: #1a1a1a;
  stroke-width: 2.5;
  transition: color 0.3s ease;
}

.close-btn:hover svg {
  color: white;
  stroke-width: 3;
}

.no-sermons {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(145deg, #f0f4f9 0%, #eaeff6 100%);
  border-radius: 18px;
  max-width: 550px;
  margin: 40px auto;
  border: 2px solid rgba(42, 82, 120, 0.25);
  box-shadow: 0 6px 28px rgba(42, 82, 120, 0.12);
}

.no-sermons h3 {
  background: linear-gradient(145deg, #2a5278, #3a6a94);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
}

.no-sermons p {
  color: #556a7a;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Back to top */
.back-top {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a3a52 0%, #2a5278 100%);
  border: 2px solid rgba(212, 165, 116, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(26, 58, 82, 0.35);
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.back-top:focus-visible {
  outline: 2px solid #d4a574;
  outline-offset: 3px;
}

.back-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 36px rgba(26, 58, 82, 0.45);
  border-color: rgba(212, 165, 116, 0.5);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .sermon-section {
    padding: 45px 0 75px;
  }

  .sermon-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .sermon-header h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .sermon-header p {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-top: 18px;
  }

  .filter-card {
    padding: 20px 20px;
    margin: 0 16px 40px;
    border-radius: 16px;
  }

  .filter-group {
    min-width: 100%;
  }

  .filter-group select {
    padding: 14px 48px 14px 18px;
    font-size: 0.9rem;
  }

  .sermon-list {
    margin: 0 16px;
    gap: 16px;
  }

  .sermon-item {
    border-radius: 14px;
  }

  .sermon-row {
    flex-wrap: wrap;
    padding: 16px 18px;
    gap: 14px;
  }

  .sermon-number {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .play-btn {
    width: 46px;
    height: 46px;
  }

  .play-btn svg {
    width: 16px;
    height: 16px;
  }

  .sermon-title {
    font-size: clamp(1rem, 4vw, 1.15rem);
  }

  .sermon-meta {
    gap: 16px;
    font-size: 0.85rem;
  }

  .sermon-meta svg {
    width: 14px;
    height: 14px;
  }

  .sermon-actions {
    width: 100%;
    margin-top: 12px;
    padding-left: 0;
    justify-content: flex-end;
  }

  .yt-link {
    padding: 10px 20px;
    font-size: 0.75rem;
  }

  .yt-link svg {
    width: 14px;
    height: 14px;
  }

  .video-player {
    border-radius: 14px;
  }

  .video-player iframe {
    aspect-ratio: 16/9;
  }

  .close-btn {
    width: 46px;
    height: 46px;
    top: 14px;
    right: 14px;
  }

  .close-btn svg {
    width: 20px;
    height: 20px;
  }

  .no-sermons {
    padding: 60px 32px;
    margin: 40px 20px;
  }

  .sermon-prompt {
    padding: 70px 32px;
  }

  .back-top {
    width: 48px;
    height: 48px;
    bottom: 24px;
    right: 24px;
  }

  .back-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Extra Small Screens (480px and below) */
@media (max-width: 480px) {
  .filter-card {
    padding: 20px 16px;
    margin: 0 12px 30px;
    border-radius: 14px;
  }

  .sermon-row {
    padding: 16px;
    gap: 12px;
  }

  .sermon-number {
    display: none;
  }

  .play-btn {
    width: 44px;
    height: 44px;
  }

  .yt-link {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .sermon-prompt {
    padding: 50px 20px;
  }

  .no-sermons {
    padding: 40px 20px;
    margin: 30px 12px;
  }

  .splash-footer-content {
    font-size: 0.85rem;
    gap: 6px;
    padding: 12px;
  }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .sermon-item,
  .play-btn,
  .video-player {
    animation: none !important;
    transition: none !important;
  }

  .sermon-item {
    opacity: 1;
    transform: none;
  }

  /* F-20: Splash page animations */
  .splash-enter-btn {
    animation: none;
  }

  .splash-slide {
    transition-duration: 0.01ms !important;
  }

  .gallery-overlay,
  .footer-block {
    transition: none;
  }
}

/* ===========================================
   TESTIMONY PAGE STYLES - SPACIOUS REDESIGN
   =========================================== */

.testimony-page {
  padding: 60px 0 100px;
}

.layout-aligned-subpage .navbar-inner {
  max-width: 1280px !important;
}

.testimony-layout {
  display: grid;
  grid-template-columns: minmax(min-content, 280px) 1fr;
  /* Widened to 340px to prevent TOC text wrapping */
  gap: 50px;
  /* Reduced gap slightly to compensate */
  max-width: 1280px;
  /* Reverted to original width per user request */
  margin: 0 auto;
  padding: 0 20px;
}

/* Sidebar / Table of Contents */
.testimony-sidebar {
  position: sticky;
  top: 90px;
  /* Adjusted to 90px per user request */
  height: fit-content;
}

.toc-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: visible;
  /* Changed for hover bridge */
}

/* TOC Card Hover Bridge */
.toc-card::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: transparent;
  z-index: -1;
}

.toc-card:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.16),
    0 3px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.toc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #1a3a52;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #2a5278 0%, #1a3a52 100%) 1;
  background: linear-gradient(90deg, #2a5278 0%, #1a3a52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-link {
  display: block;
  padding: 10px 14px;
  /* Compact padding */
  color: #555;
  text-decoration: none;
  font-size: 0.82rem;
  /* Slightly smaller to fit content */
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  line-height: 1.3;
  /* Tighter line height */
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.toc-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #2a5278, #1a3a52);
  z-index: -1;
  transition: left 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.toc-link:hover {
  background: rgba(42, 82, 120, 0.08);
  color: #1a3a52;
  transform: translateX(4px);
}

.toc-link.active {
  background: linear-gradient(135deg, #2a5278 0%, #1a3a52 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(42, 82, 120, 0.25);
  padding-left: 18px;
  /* Space for accent bar */
}

.toc-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  background: #b88d5f;
  border-radius: 0 4px 4px 0;
}

.toc-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #e8f0f8 0%, #dce6f0 100%);
  border: 1.5px solid rgba(42, 82, 120, 0.15);
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 10px;
  color: #2a5278;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.toc-link:hover .toc-number {
  background: linear-gradient(135deg, #d4e5f0 0%, #c8dae8 100%);
  border-color: rgba(42, 82, 120, 0.25);
  transform: scale(1.1);
}

.toc-link.active .toc-number {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  box-shadow: 0 2px 8px rgba(42, 82, 120, 0.2);
}

/* Main Content */
.testimony-content {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 60px;
  /* Symmetric padding for balanced desktop view */
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.testimony-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a5278 0%, #1a3a52 100%);
}

.testimony-intro {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(42, 82, 120, 0.2) 0%, rgba(42, 82, 120, 0.05) 100%) 1;
}

.testimony-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #1a3a52 0%, #2a5278 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}



.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #b88d5f 0%, #d4af37 100%);
  z-index: 2000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(184, 141, 95, 0.4);
}

.testimony-intro p {
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

.testimony-section {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(42, 82, 120, 0.15) 0%, transparent 100%) 1;
  scroll-margin-top: 100px;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  /* Speeded up from 0.8s */
}

.testimony-section.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.testimony-section.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.testimony-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.testimony-section:target {
  opacity: 1;
}

.testimony-header {
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(42, 82, 120, 0.1);
}

.testimony-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #1a3a52 0%, #2a5278 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.testimony-header .author {
  color: #b88d5f;
  /* Gold-tone color from design */
  font-weight: 700;
  font-size: 0.82rem;
  /* Smaller, more surgical font */
  text-transform: uppercase;
  /* All caps per reference */
  letter-spacing: 1.5px;
  /* Elegant tracking */
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimony-header .author::before {
  content: '';
  width: 32px;
  /* Increased size */
  height: 32px;
  background: linear-gradient(135deg, #2a5278 0%, #1a3a52 100%);
  border-radius: 50%;
  opacity: 1;
  /* More visible */
  box-shadow: 0 4px 10px rgba(42, 82, 120, 0.2);
}

.testimony-body p {
  line-height: 1.8;
  /* Refined line height */
  color: #444;
  margin-bottom: 24px;
  text-align: justify !important;
  /* Ensure justification fills the wider container */
  text-indent: 0;
  /* No Indent */
  max-width: none !important;
  /* Override global 70ch limit from mobile.css */
  width: 100%;
  transition: color 0.3s ease;
}

.testimony-body p:hover {
  color: #2a5278;
}

.testimony-body p.no-indent {
  text-indent: 0;
}

/* Editorial Drop-cap */
.testimony-section .testimony-body p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin: 0.1em 0.15em 0 0;
  color: #1a3a52;
  background: linear-gradient(135deg, #1a3a52 0%, #2a5278 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scripture-quote {
  background: linear-gradient(135deg, #f0f6fb 0%, #e6f0f8 100%);
  padding: 28px 32px;
  border-radius: 16px;
  border-left: 5px solid;
  border-image: linear-gradient(180deg, #2a5278 0%, #1a3a52 100%) 1;
  margin: 32px 0;
  font-style: italic;
  color: #333;
  line-height: 1.9;
  text-indent: 0 !important;
  box-shadow:
    0 4px 12px rgba(42, 82, 120, 0.12),
    inset 0 1px 0 rgba(42, 82, 120, 0.1);
  border-radius: 16px;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  /* Slightly larger */
  font-weight: 500;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2a5278 0%, #1a3a52 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 10px 28px rgba(42, 82, 120, 0.35),
    0 2px 8px rgba(42, 82, 120, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-6px);
  box-shadow:
    0 14px 36px rgba(42, 82, 120, 0.45),
    0 2px 8px rgba(42, 82, 120, 0.25);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .testimony-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .testimony-sidebar {
    position: relative;
    top: 0;
    order: 2;
  }

  .testimony-content {
    order: 1;
    padding: 40px 30px;
  }

  .testimony-intro h1 {
    font-size: 2rem;
  }

  .testimony-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .testimony-page {
    padding: 40px 0 80px;
  }

  .testimony-layout {
    gap: 25px;
    padding: 0 16px;
  }

  .testimony-content {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .toc-card {
    padding: 20px;
    border-radius: 16px;
  }

  .testimony-intro {
    margin-bottom: 35px;
    padding-bottom: 30px;
  }

  .testimony-intro h1 {
    font-size: 1.6rem;
  }

  .testimony-intro p {
    font-size: 0.95rem;
  }

  .testimony-header h2 {
    font-size: 1.3rem;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 24px;
    right: 24px;
  }
}