/* ==========================================================================
   Spiritual Direction and Companionship Page Styles
   ========================================================================== */

.spiritual-direction-page {
  width: 100%;
  min-height: 100vh;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.spiritual-direction-main {
  flex: 1;
  width: 100%;
}

/* Page Reveal & Animation Defaults */
.spiritual-direction-page .reveal-left,
.spiritual-direction-page .reveal-up,
.spiritual-direction-page .reveal-fade {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ==========================================================================
   Spiritual Direction Banner Section (Matches Digital Access Banner Pattern)
   ========================================================================== */
.spiritual-direction-banner-section {
  width: 100%;
  background-color: #FAF6FB;
  border-bottom: 1px solid #EBE3EF;
  position: relative;
  overflow: hidden;
}

.spiritual-direction-banner-container {
  width: 100%;
  margin: 0 auto;
  min-height: 580px;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.spiritual-direction-banner-inner {
  width: 100%;
  padding: 4.5rem 7.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.spiritual-direction-banner-text-box {
  max-width: 650px;
  transition: all 0.3s ease;
}

.spiritual-direction-banner-title {
  font-family: 'museo Slab';
  font-size: 3.25rem;
  font-weight: 700;
  color: #1A0D2E;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}

.spiritual-direction-banner-desc {
  font-family: 'museo Slab';
  font-weight: 400;
  color: #4A3B63;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Spiritual Direction About & Members Section
   ========================================================================== */
.sd-about-section {
  width: 100%;
  padding: 4.5rem 2rem 5.5rem 2rem;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

.sd-about-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Top Card: About */
.sd-about-card {
  background: #F6F0FA;
  border-radius: 32px;
  padding: 4rem 4rem 5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.sd-about-left-content {
  flex: 1;
  max-width: 60%;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.sd-about-title {
  font-family: 'museo Slab';
  font-size: 2.8rem;
  font-weight: 700;
  color: #1A0D2E;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.sd-about-sub {
  font-family: 'museo Slab';
  font-size: 1.12rem;
  color: #4A3B63;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.sd-about-lead {
  font-family: 'museo Slab';
  font-size: 1.12rem;
  font-weight: 700;
  color: #1A0D2E;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.sd-about-body {
  font-family: 'museo Slab';
  font-size: 1.125rem;
  font-weight: 400;
  color: #4A3B63;
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.sd-about-callout {
  font-family: 'museo Slab';
  font-size: 1.12rem;
  font-weight: 700;
  color: #8B3DA8;
  margin-bottom: 2.5rem;
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* Stats Row */
.sd-about-stats-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  /* border-top: 1px solid rgba(214, 194, 227, 0.5); */
  padding-top: 1rem;
  margin-top: 1rem;
}

.sd-stat-item {
  display: flex;
  flex-direction: column;
}

.sd-stat-num {
  font-family: 'museo Slab';
  font-size: 2.8rem;
  font-weight: 700;
  color: #1A0D2E;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sd-stat-lbl {
  font-family: 'museo Slab';
  font-size: 0.92rem;
  font-weight: 600;
  color: #4A3B63;
}

.sd-stat-divider {
  width: 1px;
  height: 52px;
  background-color: rgba(121, 24, 220, 0.25);
}

/* Background Graphic */
.sd-about-bg-graphic {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

/* Bottom Floating Card: Members Include */
.sd-members-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 3.5rem 4rem;
  border: 1px solid #ECE5F3;
  box-shadow: 0 16px 48px rgba(26, 13, 46, 0.07);
  margin-top: -3.5rem;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  position: relative;
  z-index: 3;
  box-sizing: border-box;
}

.sd-members-title {
  font-family: 'museo Slab';
  font-size: 1.18rem;
  font-weight: 700;
  color: #1A0D2E;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 3rem auto;
  line-height: 1.5;
}

.sd-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.sd-members-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sd-members-list li {
  font-family: 'museo Slab';
  font-size: 1.125rem;
  color: #4A3B63;
  line-height: 1.5;
  position: relative;
  padding-left: 1.35rem;
}

.sd-members-list li::before {
  content: "•";
  color: #8B3DA8;
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* ==========================================================================
   Spiritual Direction Search & Explore Section
   ========================================================================== */
.sd-search-explore-section {
  width: 100%;
  padding: 0rem 2rem 0rem 2rem;
  background-color: #FFFFFF;
  box-sizing: border-box;
  margin-bottom: 4rem;
}

.sd-search-explore-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;

}

/* Top Block: Find a Spiritual Director */
.sd-find-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: 3rem;
}

.sd-find-title {
  font-family: 'museo Slab';
  font-size: 2.6rem;
  font-weight: 700;
  color: #1A0D2E;
  margin: 0 0 1.25rem 0;
  line-height: 1.25;
}

.sd-find-desc {
  font-family: 'museo Slab';
  font-size: 1.05rem;
  color: #4A3B63;
  max-width: 860px;
  line-height: 1.65;
  margin: 0 0 3.25rem 0;
}

.sd-search-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.sd-search-card {
  background: #FFFFFF;
  border: 1px solid #ECE5F3;
  border-radius: 24px;
  padding: 1.6rem 1.85rem;
  box-shadow: 0 14px 36px rgba(121, 24, 220, 0.06);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.sd-search-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(121, 24, 220, 0.14);
  border-color: #8B3DA8;
}

.sd-search-card-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.sd-search-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-search-badge-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.sd-search-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.sd-search-card-title {
  font-family: 'museo Slab';
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A0D2E;
  margin: 0;
  line-height: 1.3;
  word-wrap: anywhere;
}

.sd-search-card-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'museo Slab';
  font-size: 0.94rem;
  font-weight: 700;
  color: #8B3DA8;
}

.sd-search-link-arrow {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.sd-search-card:hover .sd-search-link-arrow {
  transform: translateX(4px);
}

/* Bottom Dark Banner: Explore. Learn. Go Deeper. */
.sd-explore-banner-card {
  width: 100%;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 3rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 6, 30, 0.2);
  margin-bottom: 3rem;
}

.sd-explore-banner-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sd-explore-title {
  font-family: 'museo Slab';
  font-size: 3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 1.15rem 0;
  line-height: 1.25;
}

.sd-explore-highlight {
  color: #D8B4FE;
}

.sd-explore-sub {
  font-family: 'museo Slab';
  font-size: 1.1rem;
  color: white;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 3.25rem 0;
}

.sd-explore-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
}

.sd-explore-btn-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 1.15rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-decoration: none;
  flex: 1 1 calc(50% - 1rem);
  max-width: 440px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.sd-explore-btn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.sd-explore-btn-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}

.sd-explore-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-explore-badge-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.sd-explore-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.sd-explore-btn-title {
  font-family: 'museo Slab';
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A0D2E;
  margin: 0;
  line-height: 1.3;

}

.sd-explore-btn-sub {
  font-family: 'museo Slab';
  font-size: 0.85rem;
  color: #5C4B75;
  margin-top: 0.2rem;

}

.sd-explore-btn-arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-explore-btn-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.sd-explore-btn-card:hover .sd-explore-btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Spiritual Direction FAQ Section
   ========================================================================== */
.sd-faq-section {
  width: 100%;
  padding: 4.5rem 2rem 6rem 2rem;
  background-color: #FAF6FC;
  box-sizing: border-box;
}

.sd-faq-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.sd-faq-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 3.5rem 4rem;
  box-shadow: 0 20px 60px rgba(26, 13, 46, 0.05);
  border: 1px solid #ECE5F3;
  box-sizing: border-box;
}

.sd-faq-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.sd-faq-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-faq-badge-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.sd-faq-header-text {
  display: flex;
  flex-direction: column;
}

.sd-faq-title {
  font-family: 'museo Slab';
  font-size: 2.2rem;
  font-weight: 700;
  color: #1A0D2E;
  margin: 0 0 0.4rem 0;
  line-height: 1.25;
}

.sd-faq-subtitle {
  font-family: 'museo Slab';
  font-size: 0.98rem;
  color: #4A3B63;
  margin: 0;
}

.sd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid #EAE1F0;
}

.sd-faq-item {
  border-bottom: 1px solid #F3ECF8;

  transition: background-color 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.sd-faq-item:last-child {
  border-bottom: none;
}

.sd-faq-item.open {
  background-color: #FBF8FD;
  border-bottom-color: transparent;
  padding-bottom: 0.5rem;
}

.sd-faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  outline: none;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.sd-faq-question-btn:hover {
  background-color: #852484 !important;
}

.open .sd-faq-question-btn {
  background-color: #852484 !important;
}

.sd-faq-question-btn:hover span {
  color: white !important;
}

.open .sd-faq-question-btn span {
  color: white !important;
}

.sd-faq-question-btn:hover img {
  filter: brightness(0) invert(1) !important;
}

.open .sd-faq-question-btn img {
  filter: brightness(0) invert(1) !important;
}

.sd-faq-question-text {
  font-family: 'museo Slab';
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A0D2E;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.sd-faq-item.open .sd-faq-question-text {
  color: #852484;
}

.sd-faq-arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sd-faq-arrow-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.sd-faq-answer-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sd-faq-item.open .sd-faq-answer-collapse,
.sd-faq-answer-collapse.open {
  grid-template-rows: 1fr;
}

.sd-faq-answer-box {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), padding 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.sd-faq-item.open .sd-faq-answer-box,
.sd-faq-answer-collapse.open .sd-faq-answer-box {
  opacity: 1;
  transform: translateY(0);
  padding: 1.25rem 1.5rem 1.25rem 1.5rem;
}

.sd-faq-answer-text {
  font-family: 'museo Slab';
  font-size: 1rem;
  color: #4A3B63;
  line-height: 1.65;
  margin: 0;
}

.sd-faq-answer-text li {
  margin-bottom: 0.80rem;
}

/* ==========================================================================
   Responsive Breakpoints (Full Responsiveness & Digital Access Banner Matching)
   ========================================================================== */
@media (max-width: 1200px) {
  .spiritual-direction-banner-container {
    min-height: 480px;
  }

  .spiritual-direction-banner-title {
    font-size: 2.8rem;
  }

  .sd-about-card {
    padding: 3.5rem 2.5rem 4.5rem 2.5rem;
    position: relative;
    overflow: hidden;
  }

  .sd-about-left-content {
    max-width: 100%;
    padding-right: 1.5rem;
  }

  .sd-about-bg-graphic {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 46%;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    display: none;
  }

  .sd-members-card {
    margin-top: 2rem;
    margin-left: 0;
    margin-right: 0;
    padding: 3rem 2.5rem;
  }

  .sd-search-cards-grid {
    gap: 1.25rem;
  }

  .sd-faq-card {
    padding: 3rem 2.5rem;
  }
}

@media (max-width: 1056px) {
  .spiritual-direction-banner-text-box {
    max-width: 520px;
    background: rgba(250, 246, 251, 0.88);
    padding: 1.75rem;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(26, 13, 46, 0.08);
  }
}

@media (max-width: 992px) {
  .spiritual-direction-banner-container {
    min-height: 420px;
    background-position: 85% center;
  }

  .spiritual-direction-banner-inner {
    padding: 3.5rem 2rem;
  }

  .spiritual-direction-banner-title {
    font-size: 2.4rem;
  }

  .spiritual-direction-banner-desc {
    font-size: 1.15rem;
  }

  .sd-about-card {
    padding: 3rem 2rem 4rem 2rem;
    position: relative;
    overflow: hidden;
  }

  .sd-about-left-content {
    max-width: 100%;
    padding-right: 1.25rem;
  }

  .sd-about-stats-row {
    flex-direction: row;
  }

  .sd-about-bg-graphic {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
  }

  .sd-members-card {
    margin-top: 2rem;
    margin-left: 0;
    margin-right: 0;
    padding: 2.5rem 2rem;
  }

  .sd-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .sd-search-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sd-explore-banner-card {
    padding: 3.5rem 2rem;
  }

  .sd-explore-cards-row {
    flex-direction: column;
    width: 100%;
  }

  .sd-explore-btn-card {
    max-width: 100% !important;
    width: 100%;
    flex: 1 1 100%;
  }

  .sd-faq-card {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 767px) {
  .sd-search-explore-wrapper {
    padding: 10px;
  }

  .sd-about-left-content {
    max-width: 100%;
    padding-right: 0;
    position: relative;
    z-index: 2;
  }

  .sd-about-bg-graphic {
    display: none !important;
  }

  .mobilepadding-left-right-zero {
    padding-right: 0px;
    padding-bottom: 0px;
  }

  .spiritual-direction-banner-container {
    min-height: auto;
    background-position: center bottom;
    background-size: cover;
    padding-bottom: 220px;
  }

  .spiritual-direction-banner-inner {
    padding: 2.5rem 1.25rem 1rem;
  }

  .spiritual-direction-banner-text-box {
    max-width: 100%;
    background: rgba(250, 246, 251, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .spiritual-direction-banner-title {
    font-size: 1.85rem !important;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .spiritual-direction-banner-desc {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .sd-about-section {
    padding: 2rem 1rem 3rem 1rem;
  }

  .sd-about-card {
    padding: 2rem 1.25rem 2.5rem 1.25rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
  }

  .sd-about-title {
    font-size: 1.7rem !important;
    margin-bottom: 1rem;
  }

  .sd-about-stats-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .sd-stat-divider {
    display: none;
  }

  .sd-stat-num {
    font-size: 2.2rem;
  }

  .sd-members-card {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .sd-members-title {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .sd-members-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sd-search-explore-section {
    padding: 3rem 1rem 4rem 1rem;
  }

  .sd-find-title {
    font-size: 1.7rem !important;
  }

  .sd-find-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .sd-search-card {
    padding: 1.25rem 1.25rem;
  }

  .sd-explore-banner-card {
    padding: 2.5rem 1.25rem;
    border-radius: 20px;
  }

  .sd-explore-title {
    font-size: 1.8rem !important;
  }

  .sd-explore-sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .sd-explore-btn-card {
    padding: 1rem 1.25rem;
  }

  .sd-faq-section {
    padding: 2.5rem 1rem 3.5rem 1rem;
  }

  .sd-faq-card {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .sd-faq-header {
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-direction: column;
  }

  .sd-faq-title {
    font-size: 1.7rem !important;
  }

  .sd-faq-subtitle {
    font-size: 1rem;
  }

  .sd-faq-icon-badge {
    width: 44px;
    height: 44px;
  }

  .sd-faq-badge-img {
    width: 44px;
    height: 44px;
  }

  .sd-faq-question-btn {
    padding: 1rem 0.85rem;
  }

  .sd-faq-question-text {
    font-size: 0.95rem !important;
  }

  .sd-faq-answer-box {
    padding: 0 0.85rem;
  }

  .sd-faq-item.open .sd-faq-answer-box,
  .sd-faq-answer-collapse.open .sd-faq-answer-box {
    padding: 1rem 0.85rem 1rem 0.85rem;
  }

  .sd-faq-answer-text {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .sd-explore-btn-title {
    text-align: center;
  }

  .sd-explore-btn-sub {
    text-align: center;
  }

  .sd-explore-btn-left {
    flex-direction: column;
  }

  .sd-explore-btn-card {
    flex-direction: column;
  }

  .spiritual-direction-banner-container {
    padding-bottom: 180px;
  }

  .spiritual-direction-banner-inner {
    padding: 2rem 1rem 0.75rem;
  }

  .spiritual-direction-banner-title {
    font-size: 1.7rem !important;
    margin-bottom: 0.75rem;
  }

  .spiritual-direction-banner-desc {
    font-size: 1rem;
    line-height: 1.55;
  }

  .sd-about-left-content {
    max-width: 100%;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .sd-about-stats-row {
    flex-direction: column;
  }

  .spiritual-direction-banner-container {
    padding-bottom: 160px;
  }

  .spiritual-direction-banner-inner {
    padding: 1.75rem 0.85rem 0.5rem;
  }

  .spiritual-direction-banner-title {
    font-size: 1.65rem !important;
  }

  .spiritual-direction-banner-desc {
    font-size: 1rem;
  }

  .sd-about-left-content {
    max-width: 100%;
    padding-right: 0;
  }
}

/* ==========================================================================
   Spiritual Direction Video Section
   ========================================================================== */
.sd-video-section {
  width: 100%;
  padding: 3.5rem 2.5rem;
  background-color: white;
  box-sizing: border-box;
}

.sd-video-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

/* Left Column: Video Card */
.sd-video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(26, 13, 46, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #1A0D2E;
}

.sd-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26, 13, 46, 0.16);
}

.sd-video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-video-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 0, 21, 0.15) 0%, rgba(10, 0, 21, 0.65) 100%);
  pointer-events: none;
}

.sd-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  z-index: 3;
}

.sd-video-play-icon-img {
  object-fit: contain;
  width: 111px;
  height: 54px;
  max-width: max-content;
}


.sd-video-card:hover .sd-video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFFFFF;
}

.sd-video-bottom-title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  right: 1.75rem;
  font-family: 'museo Slab', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

/* Right Column: Info Card */
.sd-video-info-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #EBE2F0;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(26, 13, 46, 0.04);
  box-sizing: border-box;
}

.sd-video-info-p {
  font-family: 'museo Slab', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.68;
  color: #3D334A;
  margin: 0 0 2rem 0;
}

.sd-video-info-footer {
  font-family: 'museo Slab', Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  color: #5A4E6C;
  line-height: 1.55;
  margin: 0;
}

.sd-video-here-link {
  color: #852484;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.sd-video-here-link:hover {
  color: #6E1A6E;
}

/* Modal Popup */
.sd-video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 21, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: sdVideoFadeIn 0.25s ease forwards;
}

@keyframes sdVideoFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.sd-video-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.sd-video-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.sd-video-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.sd-video-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
}

.sd-video-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .sd-video-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .sd-video-thumbnail-wrapper {
    min-height: 280px;
  }

  .sd-video-bottom-title {
    font-size: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
  }

  .sd-video-info-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .sd-video-section {
    padding: 2.5rem 1.25rem;
  }

  .sd-video-thumbnail-wrapper {
    min-height: 240px;
  }

  .sd-video-bottom-title {
    font-size: 1.1rem;
  }

  .sd-video-info-p {
    font-size: 1rem;
  }
}