/* ============================================
   Shared Sunday Service component
   Used by the Sundays page and homepage.
   ============================================ */

.sunday-service {
  position: relative;
  overflow: hidden;
  background: var(--dark-blue);
  color: var(--white);
  padding: var(--space-12) var(--space-6);
}

.sunday-service--page {
  padding-top: calc(var(--nav-height) + var(--space-12));
}

.sunday-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

.sunday-service-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.sunday-service-title {
  margin-bottom: var(--space-5);
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-weight-black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.sunday-service-sub {
  max-width: 440px;
  margin-bottom: var(--space-6);
  color: var(--white-70);
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  font-weight: var(--font-weight-book);
  line-height: 1.7;
}

.sunday-service-times {
  margin-bottom: var(--space-6);
}

.sunday-service-time {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-book);
}

.sunday-service-time svg {
  flex-shrink: 0;
  color: var(--bright-blue);
}

.sunday-service-time strong {
  font-weight: var(--font-weight-bold);
}

.sunday-service-livestream-note {
  color: var(--white-50);
}

.sunday-service-resources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.sunday-service-resources .btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sunday-service {
    padding: var(--space-16) var(--space-10);
  }

  .sunday-service--page {
    padding-top: calc(var(--nav-height) + var(--space-16));
  }
}

@media (min-width: 900px) {
  .sunday-service-inner {
    grid-template-columns: 42% 1fr;
    gap: var(--space-12);
  }
}
