/* BaAlawi homepage follow-up annotation pass, 24 Oct 2026. */
.ba-pathway-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.75rem) !important;
}
.ba-pathway-grid > .wp-block-column { min-width: 0; display: flex; }
.ba-pathway-grid .ba-pathway-card { width: 100%; height: 100%; display: flex; flex-direction: column; }
.ba-pathway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin-top: auto;
  font-size: .9rem;
  font-weight: 750;
}
.ba-pathway-actions a { text-underline-offset: .18em; }
.ba-pathway-actions a::after { content: " →"; }
.ba-pathway-actions__primary { color: var(--wp--preset--color--clay); }

.ba-hero-quran { gap: .7rem; }
.ba-hero-quran p { max-width: none; margin: 0; }
.ba-hero-quran .ba-hero-quran__eyebrow {
  font-family: var(--wp--preset--font-family--sans);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--wp--preset--color--antique-gold);
}
.ba-hero-quran .ba-hero-quran__arabic {
  width: 100%;
  margin-top: .25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
  text-align: right;
  color: var(--wp--preset--color--ivory);
}
.ba-hero-quran .ba-hero-quran__translation {
  font-family: var(--wp--preset--font-family--editorial);
  font-size: clamp(1.1rem, 1.25vw, 1.35rem);
  line-height: 1.45;
  color: var(--wp--preset--color--ivory);
}
.ba-hero-quran .ba-hero-quran__reference {
  font-family: var(--wp--preset--font-family--sans);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  color: color-mix(in srgb, var(--wp--preset--color--ivory) 68%, transparent);
}
.ba-hero-quran__cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .35rem;
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--wp--preset--color--antique-gold);
  color: var(--wp--preset--color--ivory) !important;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none !important;
}
.ba-hero-quran__cta::after { content: " →"; margin-left: .35rem; }
.ba-hero-quran__cta:hover,
.ba-hero-quran__cta:focus-visible { color: var(--wp--preset--color--sand) !important; }

.ba-home-video__context { display: flex; flex-wrap: wrap; align-items: center; gap: .12rem .3rem; }
.ba-home-video__context a {
  color: inherit !important;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.ba-home-video__context a:hover,
.ba-home-video__context a:focus-visible { color: var(--wp--preset--color--sand) !important; }

.ba-footer-menu {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}
.ba-footer-menu li { display: grid; gap: .25rem; }
.ba-footer-menu__group {
  color: var(--wp--preset--color--ivory) !important;
  font-size: .98rem;
  font-weight: 750;
  text-decoration: none !important;
}
.ba-footer-menu__links { display: flex; flex-wrap: wrap; gap: .2rem .75rem; }
.ba-footer-menu__links a {
  color: color-mix(in srgb, var(--wp--preset--color--ivory) 72%, transparent) !important;
  font-size: .85rem;
  font-weight: 600;
}

@media (max-width: 1399px) and (min-width: 783px) {
  .ba-pathway-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .ba-pathway-grid { grid-template-columns: 1fr; }
  .ba-hero-quran .ba-hero-quran__arabic { font-size: clamp(1.9rem, 9vw, 2.5rem); }
}


/* Follow-up: preserve the original left hero and use the right side for From the Qur’an. */
@media (min-width: 783px) {
  .ba-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ba-hero-content {
    grid-column: 1;
    grid-row: 1;
  }
  .ba-hero-editorial.ba-hero-quran {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    min-height: 100%;
    margin: 0;
  }
}
