/* ==========================================================================
   OPENING SANCTUARY: SECTION 01 (HERO IMAGE) & SECTION 02 (MAIN HEADLINE)
   ========================================================================== */

.sanctuary-header {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 50% 34%, rgba(168, 42, 68, 0.38) 0%, transparent 56%),
    radial-gradient(circle at 50% 82%, rgba(22, 64, 46, 0.28) 0%, transparent 62%),
    linear-gradient(180deg, #1b040a 0%, #2b0711 52%, #18050b 100%);
  color: var(--color-ink-on-dark);
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 195, 114, 0.35);
}

/* Subtle cathedral ambient glow */
.sanctuary-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 48% at 50% 32%, rgba(229, 195, 114, 0.14), transparent 72%);
  pointer-events: none;
}

/* Section 01: Hero Image */
.hero-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(1.75rem, 4.5vw, 3.25rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  padding-inline: var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-ornament-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(100%, 20rem);
  margin-bottom: clamp(1.1rem, 2.4vw, 1.75rem);
  color: var(--color-gold-bright);
  opacity: 0.9;
}

.hero-ornament-top::before,
.hero-ornament-top::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 195, 114, 0.65));
}

.hero-ornament-top::after {
  background: linear-gradient(90deg, rgba(229, 195, 114, 0.65), transparent);
}

.hero-frame {
  position: relative;
  width: min(88vw, 440px);
  max-width: 100%;
  padding: clamp(0.45rem, 1.2vw, 0.75rem);
  background: linear-gradient(
    145deg,
    rgba(229, 195, 114, 0.55) 0%,
    rgba(198, 156, 70, 0.22) 50%,
    rgba(229, 195, 114, 0.55) 100%
  );
  border-radius: 0.375rem;
  box-shadow: var(--shadow-icon);
  animation: heroEnter 1.1s var(--ease-sacred) both;
}

.hero-frame__mat {
  background-color: #ffffff;
  border: 1px solid rgba(208, 169, 86, 0.45);
  border-radius: 0.25rem;
  padding-inline: clamp(0.65rem, 2.2vw, 1.5rem);
  overflow: hidden;
}

.hero-frame__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* Section 02: Main Christmas Headline */
.headline-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  padding-inline: var(--section-pad-x);
  text-align: center;
}

.headline-group {
  max-width: 54rem;
  margin-inline: auto;
  animation: headlineEnter 1.1s 0.16s var(--ease-sacred) both;
}

.headline-blessed {
  margin: 0 0 0.35rem;
  font-family: var(--font-caps);
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
}

.headline-christmas {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 8.6vw, 6.25rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: var(--color-gold-pale);
  text-shadow: 0 4px 36px rgba(214, 174, 88, 0.26);
}

.headline-newyear {
  margin: clamp(0.65rem, 1.5vw, 1rem) 0 0;
  font-family: var(--font-caps);
  font-size: clamp(0.95rem, 1.95vw, 1.375rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--color-ink-on-dark);
}

.headline-divider {
  margin-top: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(229, 195, 114, 0.38);
  color: var(--color-gold-bright);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    transform 0.35s var(--ease-sacred),
    background-color 0.35s var(--ease-sacred),
    border-color 0.35s var(--ease-sacred);
}

.scroll-cue:hover {
  transform: translateY(3px);
  background: rgba(229, 195, 114, 0.14);
  border-color: var(--color-gold-bright);
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes headlineEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   SECTION 03: ENGLISH CHRISTMAS GREETINGS
   ========================================================================== */

.greetings-section {
  position: relative;
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
}

.greetings-section--english {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 253, 248, 0.9), transparent 70%),
    var(--color-ivory);
  border-bottom: 1px solid rgba(198, 156, 70, 0.22);
}

.editorial-card {
  position: relative;
  max-width: var(--container-reading);
  margin-inline: auto;
  background-color: var(--color-white-soft);
  border: 1px solid rgba(198, 156, 70, 0.3);
  border-radius: 0.5rem;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.35rem, 4.5vw, 3.25rem);
  box-shadow: var(--shadow-card);
}

.editorial-card::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(198, 156, 70, 0.16);
  border-radius: 0.3rem;
  pointer-events: none;
}

.editorial-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.editorial-header__ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-burgundy-rich);
}

.editorial-body {
  font-family: var(--font-body-en);
  font-size: clamp(1.02rem, 1.2vw, 1.125rem);
  line-height: 1.88;
  color: var(--color-ink);
}

.editorial-body p {
  margin: 0 0 1.35em;
}

.editorial-body p:last-of-type {
  margin-bottom: 0;
}

/* Scripture Quotation Block */
.scripture-quote {
  margin: clamp(1.75rem, 3.5vw, 2.35rem) 0;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3.2vw, 2rem);
  background: linear-gradient(135deg, #f8f2e6 0%, #f3ead8 100%);
  border-left: 3px solid var(--color-burgundy-accent);
  border-top: 1px solid rgba(198, 156, 70, 0.28);
  border-right: 1px solid rgba(198, 156, 70, 0.22);
  border-bottom: 1px solid rgba(198, 156, 70, 0.28);
  border-radius: 0 0.375rem 0.375rem 0;
}

.scripture-quote__text {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.22rem, 2vw, 1.44rem);
  line-height: 1.62;
  color: var(--color-burgundy-deep);
}

.scripture-quote__cite {
  display: block;
  font-family: var(--font-body-en);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--color-burgundy-accent);
  text-align: right;
}

.closing-wish {
  font-weight: 500;
  color: var(--color-burgundy-rich);
}

/* Signature Block */
.greeting-signature {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(198, 156, 70, 0.32);
}

.greeting-signature p {
  margin: 0;
  line-height: 1.65;
}

.greeting-signature__salutation {
  font-weight: 600;
  color: var(--color-ink-soft);
  margin-bottom: 0.3rem;
}

.greeting-signature__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: var(--color-burgundy-rich);
}

/* ==========================================================================
   SECTION 04: MALAYALAM CHRISTMAS GREETINGS
   ========================================================================== */

.greetings-section--malayalam {
  background:
    radial-gradient(circle at 50% 100%, rgba(25, 58, 44, 0.06), transparent 65%),
    var(--color-cream);
  border-bottom: 1px solid rgba(198, 156, 70, 0.25);
}

.editorial-card--malayalam {
  border-color: rgba(25, 58, 44, 0.24);
}

.editorial-card--malayalam::before {
  border-color: rgba(198, 156, 70, 0.22);
}

.editorial-header__ornament--forest {
  color: var(--color-forest-rich);
}

.section-heading--malayalam {
  font-family: var(--font-body-ml);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--color-forest-deep);
}

.editorial-body--malayalam {
  font-family: var(--font-body-ml);
  font-size: clamp(1rem, 1.22vw, 1.1rem);
  line-height: 2;
  letter-spacing: 0;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  color: #1f2522;
}

.editorial-body--malayalam p {
  margin: 0 0 1.45em;
}

.scripture-quote--malayalam {
  background: linear-gradient(135deg, #f8faf7 0%, #f1f5f0 100%);
  border-left: 3px solid var(--color-forest-rich);
  border-top: 1px solid rgba(25, 58, 44, 0.18);
  border-right: 1px solid rgba(25, 58, 44, 0.14);
  border-bottom: 1px solid rgba(25, 58, 44, 0.18);
}

.scripture-quote--malayalam .scripture-quote__text {
  font-family: var(--font-body-ml);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.95;
  letter-spacing: 0;
  color: var(--color-forest-deep);
}

.scripture-quote--malayalam .scripture-quote__cite {
  font-family: var(--font-body-ml);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--color-forest-rich);
}

.closing-wish--malayalam {
  font-weight: 600;
  color: var(--color-forest-deep);
}

.greeting-signature--malayalam {
  border-top-color: rgba(25, 58, 44, 0.22);
}

.greeting-signature--malayalam .greeting-signature__salutation {
  font-family: var(--font-body-ml);
  font-weight: 600;
  letter-spacing: 0;
  color: #414c46;
}

.greeting-signature--malayalam .greeting-signature__name {
  font-family: var(--font-body-ml);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--color-forest-deep);
}

/* ==========================================================================
   SECTION 05: METROPOLITAN PHOTOGRAPH
   ========================================================================== */

.metropolitan-section {
  position: relative;
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 253, 248, 0.95) 0%, rgba(244, 236, 222, 0.65) 75%),
    var(--color-ivory);
  text-align: center;
}

.portrait-showcase {
  max-width: 28.5rem;
  margin-inline: auto;
}

.portrait-frame {
  position: relative;
  padding: clamp(0.65rem, 1.6vw, 1rem);
  background: var(--color-white-soft);
  border: 1px solid rgba(198, 156, 70, 0.55);
  border-radius: 0.375rem;
  box-shadow: var(--shadow-portrait);
}

.portrait-frame__inner {
  padding: 0.35rem;
  border: 1px solid rgba(198, 156, 70, 0.26);
  border-radius: 0.2rem;
}

.portrait-frame__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.125rem;
}

.portrait-caption {
  margin: 1.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--color-burgundy-rich);
  letter-spacing: 0.015em;
}

/* ==========================================================================
   SECTION 06: CHURCH LOGO & OFFICIAL ADDRESS FOOTER
   ========================================================================== */

.church-footer {
  position: relative;
  background:
    radial-gradient(circle at 50% 18%, rgba(124, 24, 46, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #2b0711 0%, #19040a 100%);
  color: var(--color-ink-on-dark);
  padding-top: clamp(3.5rem, 6.5vw, 5rem);
  padding-bottom: clamp(5.75rem, 10vw, 6.75rem);
  padding-inline: var(--section-pad-x);
  text-align: center;
  border-top: 2px solid rgba(208, 169, 86, 0.48);
}

.church-footer__inner {
  max-width: 46rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Circular gold-bezeled medallion framing the 1600x900 centered Diocese seal */
.diocese-seal {
  width: clamp(8.5rem, 22vw, 11.25rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid var(--color-gold-bright);
  box-shadow:
    0 0 0 6px rgba(229, 195, 114, 0.14),
    0 20px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin-bottom: clamp(1.5rem, 3.2vw, 2.25rem);
}

.diocese-seal picture,
.diocese-seal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.church-footer__name {
  margin: 0;
  font-family: var(--font-caps);
  font-size: clamp(0.95rem, 1.85vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.1em;
  color: var(--color-gold-pale);
}

.church-footer__divider {
  margin-block: clamp(1.15rem, 2.5vw, 1.5rem);
}

.church-footer__address {
  margin: 0;
  font-style: normal;
  font-family: var(--font-body-en);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 1.8;
  color: var(--color-ink-on-dark-muted);
  max-width: 36rem;
}

.nowrap {
  white-space: nowrap;
}

/* Footer Promotional Band (Domain Ads) */
.footer-promo {
  width: 100%;
  max-width: 42rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(208, 169, 86, 0.22);
}

.footer-promo__card {
  padding: clamp(1.4rem, 3.2vw, 2rem) clamp(1.15rem, 3.5vw, 2.25rem);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(229, 195, 114, 0.28);
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.footer-promo__heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-gold-pale);
}

.footer-promo__text {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  font-family: var(--font-body-en);
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 1.65;
  color: rgba(249, 243, 231, 0.82);
}

.footer-promo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 195, 114, 0.68);
  background: linear-gradient(
    145deg,
    rgba(229, 195, 114, 0.16) 0%,
    rgba(198, 156, 70, 0.08) 100%
  );
  color: var(--color-gold-pale);
  font-family: var(--font-body-en);
  font-size: clamp(0.875rem, 1.15vw, 0.95rem);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.28s var(--ease-sacred),
    border-color 0.28s var(--ease-sacred),
    color 0.28s var(--ease-sacred),
    transform 0.28s var(--ease-sacred);
}

.footer-promo__cta:hover {
  background: linear-gradient(145deg, #eccd82 0%, #c69c46 100%);
  border-color: var(--color-gold-bright);
  color: #1d050c;
  transform: translateY(-1px);
}

.footer-promo__credit {
  margin: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  font-family: var(--font-body-en);
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(249, 243, 231, 0.76);
}

.footer-promo__credit a {
  color: var(--color-gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 195, 114, 0.35);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-promo__credit a:hover {
  color: var(--color-gold-pale);
  border-bottom-color: var(--color-gold-pale);
}

.footer-promo__sep {
  color: rgba(229, 195, 114, 0.45);
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */

@media (min-width: 900px) and (max-height: 820px) {
  /* Keep both Hero Icon and Headline cleanly framed on compact laptop heights */
  .hero-section {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .hero-ornament-top {
    margin-bottom: 0.75rem;
  }

  .hero-frame {
    width: min(72vw, 336px);
  }

  .headline-section {
    padding-bottom: 2.35rem;
  }
}

@media (max-width: 600px) {
  .hero-frame {
    width: min(88vw, 350px);
  }

  .headline-blessed {
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }

  .headline-newyear {
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  .editorial-card {
    padding: 1.85rem 1.2rem;
  }

  .church-footer__name {
    letter-spacing: 0.06em;
  }
}
