/* ===========================
   RESPONSIVE OVERRIDES
   =========================== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .quick-actions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .watch__video {
    min-height: 250px;
  }

  .watch__carousel {
    grid-template-columns: repeat(2, 1fr);
  }

  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ministries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .giving__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .giving__text .section-title,
  .giving__text .section-eyebrow {
    text-align: center;
  }
  
  .hero {
    align-items: flex-start !important;
  }
  
  .hero__content.container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--navbar-height) + var(--space-lg) + var(--announcement-height, 0px)) !important;
  }

  .hero__eyebrow {
    text-align: center;
  }

  .hero__cta-group {
    justify-content: center;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 4rem;
  }
  
  .container {
    padding: 0 1.25rem;
  }

  .about-preview__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-preview__text .section-title,
  .about-preview__text .section-eyebrow {
    text-align: center;
  }

  .about-preview__media {
    order: -1;
  }

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

  .hero__content.container {
    padding-top: calc(var(--navbar-height) + 0.75rem) !important;
    gap: 1.25rem !important;
  }

  .hero__text-box {
    flex: none !important;
  }

  .hero__eyebrow {
    display: none !important;
  }

  .hero__title {
    margin-bottom: var(--space-xs) !important;
  }

  .hero__subtitle {
    margin-bottom: var(--space-xs) !important;
  }

  .hero__right-column {
    margin-top: 0 !important; /* Let standard flex gap handle it */
    gap: 0.5rem !important;
  }

  .hero__info-panel {
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    max-width: 100%;
    min-height: 145px;
  }

  .hero__carousel-slides {
    height: 84px;
  }

  .hero__carousel-slide {
    justify-content: center;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    width: 100%;
  }

  .info-item__icon {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto;
  }

  .info-item strong {
    font-size: 1.05rem !important;
  }

  .info-item span {
    font-size: 0.8rem !important;
  }

  .info-divider {
    width: 100%;
    height: 1px;
  }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
    margin-bottom: var(--space-sm) !important;
  }

  .hero__scroll-indicator {
    bottom: 0.75rem !important;
  }

  .hero__cta-group .btn {
    width: 100%;
    max-width: 350px;
  }

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

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

  .event-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .watch__carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-sm);
    gap: var(--space-md);
  }
  
  .sermon-card {
    flex: 0 0 calc(85% - var(--space-md));
    scroll-snap-align: center;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  :root {
    --space-3xl: 3.5rem;
    --space-2xl: 3rem;
  }
  
  .container {
    padding: 0 1rem;
  }

  .quick-actions__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.3rem;
  }

  .slogan-content h3 {
    font-size: 1.3rem;
  }

  .navbar__brand {
    font-size: 0.85rem;
  }
  
  .testimonials__slider {
    min-height: 380px;
  }
  
  .testimonial-card p {
    font-size: 1rem;
  }

  .btn--lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .about-preview__image {
    max-width: 100%;
  }
}
