/* Marriage page styles. Shared site-wide components remain in global.css and career-page.css. */
@import url("./career-page.css");

.marriage-page { color: var(--ink); }
.marriage-page > section {
  margin: 4px 8px;
  overflow: hidden;
  border: 1px solid rgba(36,55,59,.14);
  border-radius: 12px;
}
.marriage-page > #marriageHero {
  margin: 0 8px;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.marriage-hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.marriage-hero-visual { min-width: 0; }
.marriage-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}
.marriage-hero h1 { max-width: 720px; }
.marriage-icas-credential { margin-top: 20px; }

.marriage-page > .review-section {
  margin: 4px 8px;
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #B9D5C0;
  border: 1px solid rgba(28,80,92,.12);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}
.marriage-page > .review-section .review-panel {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.marriage-feature-section,
.marriage-questions-section,
.marriage-muhurta-section {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 5vw, 64px);
}
.marriage-analysis-section { background: #E4E8D6; }
.marriage-questions-section { background: #D5E9E6; }
.marriage-muhurta-section { background: #E5E1E8; }

.marriage-section-heading,
.marriage-feature-heading {
  max-width: 900px;
  margin: 0 auto 24px;
  text-align: center;
}
.marriage-section-heading .eyebrow,
.marriage-feature-heading .eyebrow {
  margin: 0 auto 12px;
  color: #70452E;
  font: 700 13px/1.7 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
}
.marriage-section-heading h2,
.marriage-feature-heading h2 {
  margin: 0 0 14px;
  color: var(--deep-teal);
  font: 400 clamp(30px, 4vw, 46px)/1.12 Georgia, "Times New Roman", serif;
}
.marriage-section-heading p:not(.eyebrow),
.marriage-feature-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #405653;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}
.marriage-feature-art {
  width: min(100%, 1000px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
}
.marriage-feature-art img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.marriage-muhurta-art { width: min(100%, 1000px); }

.marriage-remedy-section { background-color: #F1E8E6; }
.marriage-remedy-section .career-remedy-layout {
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}
.marriage-remedy-section .career-remedy-art {
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  line-height: 0;
}
.marriage-remedy-section .career-remedy-art img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: top;
}
.marriage-remedy-section .career-remedy-overlay { display: none; }

@media (max-width: 760px) {
  .marriage-hero-inner { grid-template-columns: minmax(0,1fr); }
  .marriage-hero-visual img { max-height: none; }
  .marriage-page > .review-section { padding: 24px 18px; }
  .marriage-page > .review-section .review-panel { flex-direction: column; gap: 12px; }
  .marriage-feature-section,
  .marriage-questions-section,
  .marriage-muhurta-section { padding: 34px 16px; }
  .marriage-section-heading,
  .marriage-feature-heading { margin-bottom: 20px; }
  .marriage-section-heading h2,
  .marriage-feature-heading h2 { font-size: clamp(28px, 7vw, 38px); }
}
@media (max-width: 600px) {
  .marriage-remedy-section .career-remedy-art {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .marriage-remedy-section .career-remedy-art img {
    height: auto !important;
    min-height: 0 !important;
  }
  .site-header { margin-bottom: 0; border-radius: 9px 9px 0 0; }
  .marriage-page > #marriageHero { margin: 0 6px; border-radius: 0 0 12px 12px; }
  .marriage-page > section { margin: 4px 6px; }
  .marriage-page > .review-section { margin: 4px 6px; }
  .marriage-section-heading .eyebrow,
  .marriage-feature-heading .eyebrow { font-size: 11px; }
}


/* Remedies page overrides: preserve the Marriage page ribbon/hero rhythm. */
.remedies-page { color: var(--ink); }
.remedies-page > #remediesHero {
  margin: 0 8px;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.remedies-page .remedies-hero {
  background: var(--teal);
}
.remedies-page .remedies-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
}
.remedies-page .remedies-hero-copy {
  width: 100%;
  max-width: 1080px;
  padding: 8px 0;
}
.remedies-page .remedies-hero .career-lead {
  max-width: 900px;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.75;
}
.remedies-page .remedies-hero h1 { max-width: 1000px; }
.remedies-page .remedies-hero .career-icas-credential { margin-top: 22px; }

/* Remedy images: two columns on desktop, one image per row on mobile. */
.remedies-gallery-section {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 5vw, 64px);
  background: #FAF9F6;
}
.remedies-gallery-heading {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}
.remedies-gallery-heading .eyebrow {
  margin: 0 auto 12px;
  color: #70452E;
  font: 700 13px/1.7 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
}
.remedies-gallery-heading h2 {
  margin: 0 0 14px;
  color: var(--deep-teal);
  font: 400 clamp(30px, 4vw, 46px)/1.12 Georgia, "Times New Roman", serif;
}
.remedies-gallery-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #405653;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}
.remedies-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.remedies-gallery-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  line-height: 0;
}
.remedies-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.remedies-practice-section {
  background: #F1E8E6;
}
.remedies-practice-section .career-remedy-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}
.remedies-practice-section .career-remedy-copy { max-width: 900px; }

@media (max-width: 760px) {
  .remedies-gallery-section { padding: 34px 16px; }
  .remedies-gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .remedies-gallery-heading { margin-bottom: 20px; }
  .remedies-gallery-heading h2 { font-size: clamp(28px, 7vw, 38px); }
}
@media (max-width: 600px) {
  .site-header { margin-bottom: 0; border-radius: 9px 9px 0 0; }
  .remedies-page > #remediesHero { margin: 0 6px; border-radius: 0 0 12px 12px; }
  .remedies-page > section { margin: 4px 6px; }
  .remedies-page > .review-section { margin: 4px 6px; }
  .remedies-gallery-heading .eyebrow { font-size: 11px; }
}
