}

.basic-knowledge__main-card {
  background: var(--md-surface-container-low);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.basic-knowledge__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--md-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.basic-knowledge__main-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.basic-knowledge__main-desc {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  line-height: 1.6;
  max-width: 400px;
}

.basic-knowledge__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--md-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.basic-knowledge__link:hover {
  opacity: 0.8;
}

.basic-knowledge__side-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.basic-knowledge__card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.basic-knowledge__card--top {
  background: #F5F2E1;
}

.basic-knowledge__card--bottom {
  background: #EAEBE6;
}

.basic-knowledge__card-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.basic-knowledge__card-desc {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  line-height: 1.6;
  max-width: 250px;
}

.basic-knowledge__card-img-wrap {
  width: 6rem;
  height: 6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 1rem;
  box-shadow: var(--shadow-md);
}

.basic-knowledge__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basic-knowledge__card-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1rem;
}

.basic-knowledge__card-icon {
  font-size: 1.875rem;
  color: #8E7E44;
}

/* ═══════════════════════════════════════════════════
   FIND CHURCH
   ═══════════════════════════════════════════════════ */
.find-church {
  padding: 4rem 0;
  background: var(--md-surface-container-low);
}

.find-church__layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media(min-width: 1024px) {
  .find-church__layout {
    flex-direction: row;
  }
}

.find-church__left {
  width: 100%;
  padding-top: 2rem;
}
@media(min-width: 1024px) {
  .find-church__left {
    width: 33.333%;
  }
}

.find-church__title {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--md-on-surface);
  margin-bottom: 1rem;
}

.find-church__desc {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.find-church__search {
  position: relative;
  margin-bottom: 2rem;
}

.find-church__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--md-on-surface-variant);
}

.find-church__input {
  width: 100%;
  background: #EAEBE6;
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1rem 3rem;
  font-size: 0.875rem;
  color: var(--md-on-surface);
  outline: none;
}
.find-church__input:focus {
  box-shadow: 0 0 0 2px var(--md-primary);
}

.find-church__results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.find-church__result-card {
  background: var(--md-surface-container);
  padding: 1rem;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  border: 1px solid transparent;
}
.find-church__result-card:hover {
  background: #EAEBE6;
}

.find-church__result-card--active {
  background: #F5F2E1;
  border-color: rgba(100, 87, 43, 0.1);
}

.find-church__result-icon {
  color: var(--md-on-surface-variant);
  margin-top: 0.25rem;
}
.find-church__result-card--active .find-church__result-icon {
  color: #8E7E44;
}

.find-church__result-title {
  font-weight: 700;
  color: var(--md-on-surface);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.find-church__result-addr {
  font-size: 0.75rem;
  color: var(--md-on-surface-variant);
}

.find-church__map-wrap {
  width: 100%;
  height: 500px;
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(230, 226, 214, 0.2);
}
@media(min-width: 1024px) {
  .find-church__map-wrap {
    width: 66.666%;
    height: 600px;
  }
}

.find-church__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.8;
}

.find-church__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(234, 235, 230, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.find-church__pin-icon {
  color: #8E7E44;
  font-size: 0.875rem;
}

.find-church__pin-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--md-on-surface);
}

/* ==========================================================================
   HOMEPAGE RHYTHM OVERRIDES
   ========================================================================== */

.home-sections {
  background: var(--md-background);
}

.home-sections .container--wide {
  max-width: 1180px;
}

#home-hero.hero {
  height: 375px !important;
  min-height: 375px;
  padding: 90px 0 68px !important;
}

#home-hero .hero-content {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

#home-hero .hero-eyebrow {
  margin-bottom: 0.625rem;
  font-size: 0.625rem;
  justify-content: flex-start;
}

#home-hero .hero-eyebrow::before {
  display: none;
}

#home-hero .hero-title {
  margin-bottom: 0.375rem;
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
}

#home-hero .hero-quote {
  margin-bottom: 0.375rem;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.22;
}

#home-hero .hero-ref {
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

#home-hero .hero-btn-primary,
#home-hero .hero-btn-ghost {
  padding: 0.55rem 1rem;
  font-size: 0.6875rem;
}

#home-hero .hero-icons-row {
  margin-top: 1rem !important;
}

#home-hero .side-icon {
  width: 2rem;
  height: 2rem;
}

#home-hero .hero-dots {
  bottom: 1rem;
  left: 2rem;
}

#home-hero .scroll-hint {
  display: none;
}

@media (min-width: 640px) {
  #home-hero.hero {
    height: 525px !important;
    min-height: 525px;
  }
}

@media (min-width: 1024px) {
  #home-hero.hero {
    height: 690px !important;
    min-height: 690px;
  }
}

.home-sections > section {
  margin: 0;
  padding-top: clamp(1.5rem, 3vw, 2.375rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2.375rem) !important;
}

.welcome-section {
  width: min(calc(100% - 2rem), 1180px);
  margin-top: clamp(1rem, 2vw, 1.75rem);
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0;
  padding: clamp(1.125rem, 2.5vw, 1.875rem) clamp(1rem, 3vw, 2rem) !important;
  border-radius: 14px;
}

.welcome-section__grid {
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 0;
  justify-content: center;
  justify-items: center;
}

.welcome-section > .container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .welcome-section__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.welcome-section__text {
  max-width: 500px;
  margin: 0 auto;
}

.welcome-section__desc,
.welcome-section__features,
.welcome-section__ask-card {
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.welcome-section__image img {
  aspect-ratio: 4 / 3;
  max-height: 420px;
}

.heritage {
  background: #fff;
}

.heritage__header,
.daily-word-header,
.cardinals__header,
.cardinals-header {
  margin-bottom: clamp(0.875rem, 2vw, 1.375rem) !important;
}

.heritage__grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.heritage__side {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.heritage__card--main img {
  height: clamp(320px, 42vw, 500px);
}

.heritage__card--side {
  height: clamp(210px, 20vw, 238px);
}

.heritage__card-info {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.daily-word-section {
  background: var(--md-surface-container-low) !important;
}

.daily-word-section > * {
  width: min(calc(100% - 2rem), 1180px);
  margin-left: auto;
  margin-right: auto;
}

.daily-word-card {
  align-items: stretch;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
}

.dw-left,
.dw-tabs-panel,
.dw-media-col {
  min-width: 0;
}

.dw-left {
  flex: 0 0 240px !important;
}

.dw-media-col {
  flex: 0 0 340px !important;
}

#home-cardinals {
  background: var(--md-surface) !important;
}

.cardinals__grid {
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.cardinals__card {
  min-height: 100%;
  padding: 1.5rem 1rem 2rem !important;
}

.cardinals__avatar {
  width: clamp(7.75rem, 11vw, 9.25rem) !important;
  height: clamp(7.75rem, 11vw, 9.25rem) !important;
}

.cardinals-section.martyrs {
  background: #fcfcf9 !important;
}

.martyrs-slider {
  padding-bottom: 0 !important;
}

.hdgm-nhiemky {
  background: var(--md-surface-container-low) !important;
}

.hdgm-nhiemky__wrapper {
  gap: clamp(0.625rem, 1.5vw, 1rem);
}

.hdgm-nhiemky__img {
  max-height: 520px;
  object-fit: cover;
}

.hdgm-news {
  width: 100%;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.services-section,
.info-section {
  padding-top: clamp(1.5rem, 3vw, 2.375rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2.375rem) !important;
}

.services-grid {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
}

.info-row {
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.info-map-box,
.info-news-box {
  padding: clamp(1.5rem, 4vw, 2.75rem) !important;
  border-radius: 14px !important;
}

@media (max-width: 1023px) {
  .daily-word-card,
  .info-row {
    flex-direction: column;
  }

  .dw-left,
  .dw-media-col {
    flex-basis: auto !important;
  }

  .dw-media-col {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .home-sections > section,
  .services-section,
  .info-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .welcome-section {
    width: calc(100% - 1.5rem);
    margin-top: 0.75rem;
    padding: 1rem !important;
  }

  .welcome-section__features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .heritage__card-tags {
    left: 1rem;
    top: 1rem;
    flex-wrap: wrap;
  }

  .heritage__card--main img,
  .heritage__card--side {
    height: 260px;
  }

  .daily-word-section > * {
    width: min(calc(100% - 1.5rem), 1180px);
  }

  .dw-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .dw-tab {
    white-space: nowrap;
  }

  .cardinals__grid {
    grid-template-columns: 1fr !important;
  }

  .martyrs-track {
    gap: 1rem;
  }

  .services-grid {
    width: calc(100% - 1.5rem);
  }
}
