/* ============================================
   Recovery Programs — GateWay Bible Church
   ============================================ */


/* (Hero uses shared page-hero--photo component from components.css) */


/* --- Program Sections (split layout) --- */

.recovery-program-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: start;
}

.recovery-program-layout--reverse {
  grid-template-columns: 0.8fr 1.2fr;
  direction: rtl;
}

.recovery-program-layout--reverse > * {
  direction: ltr;
}

.recovery-program-logo {
  margin-bottom: var(--space-6);
}

.recovery-program-logo img {
  height: 48px;
  width: auto;
  opacity: 0.85;
}

.recovery-program-desc {
  font-size: var(--text-base);
  font-weight: var(--font-weight-light);
  color: var(--dark-blue-70);
  line-height: 1.7;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.recovery-program-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.recovery-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--dark-blue);
}

.recovery-detail svg {
  color: var(--bright-blue);
  flex-shrink: 0;
}

.recovery-program-areas {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-light);
  color: var(--dark-blue-70);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.recovery-program-areas strong {
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
}

.recovery-program-welcome {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--bright-blue);
  margin-top: var(--space-4);
}

.recovery-program-privacy {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--gray-blue);
  margin-top: var(--space-4);
}

.recovery-program-privacy svg {
  flex-shrink: 0;
  color: var(--gray-blue);
}


/* --- Quote aside --- */

.recovery-program-aside {
  display: flex;
  align-items: center;
  height: 100%;
}

.recovery-quote {
  background: var(--dark-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  position: relative;
  border-left: 3px solid var(--gold);
}

.recovery-quote::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-black);
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.recovery-quote p {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--white-90);
  line-height: 1.7;
  margin: 0;
}


/* --- Resources Grid --- */

.recovery-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.recovery-resource-card {
  display: flex;
  flex-direction: column;
  background: var(--white-10);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-decoration: none;
  transition: background var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.recovery-resource-card:hover {
  background: var(--white-20);
  transform: translateY(-2px);
  border-color: var(--bright-blue-20);
}

.recovery-resource-title {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: var(--space-3);
}

.recovery-resource-desc {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-book);
  color: var(--white-70);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-4);
}

.recovery-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--bright-blue);
}

.recovery-resource-card:hover .recovery-resource-link svg {
  transform: translate(2px, -2px);
  transition: transform var(--duration-fast) var(--ease-out);
}


/* --- Counseling Callout --- */

.recovery-counseling-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-16);
  align-items: start;
}

.recovery-counseling-desc {
  font-size: var(--text-base);
  font-weight: var(--font-weight-light);
  color: var(--dark-blue-70);
  line-height: 1.7;
  margin: var(--space-4) 0 var(--space-8);
}

.recovery-counseling-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-top: 3px solid var(--bright-blue);
  box-shadow: var(--shadow-md);
}

.recovery-counseling-card h3 {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--dark-blue);
  margin-bottom: var(--space-3);
}

.recovery-counseling-card p {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-light);
  color: var(--dark-blue-70);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.recovery-counseling-phone {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--bright-blue);
  text-decoration: none;
  margin-bottom: var(--space-1);
}

.recovery-counseling-phone:hover {
  opacity: 0.8;
}

.recovery-counseling-hours {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-light);
  color: var(--gray-blue);
}


/* --- Scripture --- */

.recovery-verse {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.recovery-verse-text {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.recovery-verse-ref {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--white-50);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* --- Closing CTA --- */

.recovery-closing {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.recovery-closing-headline {
  font-size: clamp(2.5rem, 7vw, var(--text-5xl));
  font-weight: var(--font-weight-black);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.recovery-closing-sub {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-book);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto var(--space-8);
}

.recovery-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .recovery-program-layout,
  .recovery-program-layout--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    direction: ltr;
  }

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

  .recovery-counseling-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

}

@media (max-width: 600px) {
  .recovery-resources-grid {
    grid-template-columns: 1fr;
  }

  .recovery-quote {
    padding: var(--space-6);
  }

  .recovery-verse-text {
    font-size: var(--text-xl);
  }
}
