/* Uniform styling for user-marked page and section headings. */
:root {
  --km-marked-heading-size: 48px;
  --km-marked-heading-leading: 1.16;
  --km-marked-heading-color: var(--green-2, #0b2d14);
  --km-marked-heading-accent: var(--gold-2, #f4b400);
  --km-marked-heading-rule: linear-gradient(90deg, #0b2d14 0%, #f4b400 100%);
}

.home-page .hero-copy > h1,
.home-page .about-copy > h2,
.home-page .profiles-heading > h2,
.home-page .pricing-copy > h2,
.home-page .stories-heading > h2,
.home-page .gallery-section .section-heading > h2,
.home-page .home-index-heading h2,
.skm-about-page .skm-about-copy > h1,
.skm-about-page .skm-about-cta-copy > h2,
.skm-pricing-page .skm-pricing-hero-copy > h1,
.skm-gallery-page .skm-gallery-copy > h1,
.events-page .events-hero h1,
.blog-page .blog-hero h1,
.skm-stories-page .skm-stories-copy > h1,
.skm-contact-page .skm-contact-copy > h1 {
  max-width: 820px;
  color: var(--km-marked-heading-color) !important;
  font-family: "Nirmala UI", "Latha", "Noto Serif Tamil", Georgia, serif;
  font-size: var(--km-marked-heading-size) !important;
  font-style: normal !important;
  font-weight: 950 !important;
  line-height: var(--km-marked-heading-leading) !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: normal;
}

.home-page .hero-copy > h1::after,
.home-page .about-copy > h2::after,
.home-page .profiles-heading > h2::after,
.home-page .pricing-copy > h2::after,
.home-page .stories-heading > h2::after,
.home-page .gallery-section .section-heading > h2::after,
.home-page .home-index-heading h2::after,
.skm-about-page .skm-about-copy > h1::after,
.skm-about-page .skm-about-cta-copy > h2::after,
.skm-pricing-page .skm-pricing-hero-copy > h1::after,
.skm-gallery-page .skm-gallery-copy > h1::after,
.events-page .events-hero h1::after,
.blog-page .blog-hero h1::after,
.skm-stories-page .skm-stories-copy > h1::after,
.skm-contact-page .skm-contact-copy > h1::after {
  content: "" !important;
  position: static !important;
  display: block !important;
  width: 88px !important;
  height: 5px !important;
  margin-top: 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--km-marked-heading-rule) !important;
  opacity: 1 !important;
  transform: none !important;
}

.home-page .profiles-heading > h2::after,
.home-page .stories-heading > h2::after,
.home-page .gallery-section .section-heading > h2::after {
  margin-left: auto !important;
  margin-right: auto !important;
}

.home-page .hero-copy > h1 .title-highlight,
.home-page .about-copy > h2 .about-accent,
.home-page .profiles-heading > h2 .profiles-title-accent,
.home-page .pricing-copy > h2 span,
.home-page .stories-heading > h2 .stories-title-accent,
.home-page .gallery-section .section-heading > h2 span,
.home-page .home-index-heading h2 span,
.skm-about-page .skm-about-copy > h1 .km-heading-accent,
.skm-pricing-page .skm-pricing-hero-copy > h1 .km-heading-accent,
.skm-gallery-page .skm-gallery-copy > h1 .km-heading-accent,
.skm-stories-page .skm-stories-copy > h1 .km-heading-accent,
.skm-contact-page .skm-contact-copy > h1 .km-heading-accent {
  color: var(--km-marked-heading-accent) !important;
}

.km-heading-accent {
  font: inherit;
  letter-spacing: inherit;
}

.home-page .hero-copy > h1 .title-line,
.home-page .about-copy > h2 .about-title-line,
.home-page .profiles-heading > h2 .profiles-title-line,
.home-page .stories-heading > h2 .stories-title-line {
  display: block;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 1024px) {
  :root {
    --km-marked-heading-size: 40px;
  }
}

@media (max-width: 680px) {
  :root {
    --km-marked-heading-size: 30px;
    --km-marked-heading-leading: 1.2;
  }

  .home-page .hero-copy,
  .home-page .about-copy,
  .home-page .pricing-copy,
  .home-page .home-index-heading,
  .skm-about-page .skm-about-copy,
  .skm-about-page .skm-about-cta-copy,
  .skm-pricing-page .skm-pricing-hero-copy,
  .skm-gallery-page .skm-gallery-copy,
  .events-page .events-hero__copy,
  .blog-page .blog-hero__copy,
  .skm-stories-page .skm-stories-copy,
  .skm-contact-page .skm-contact-copy {
    text-align: center;
  }

  .home-page .hero-copy > h1,
  .home-page .about-copy > h2,
  .home-page .profiles-heading > h2,
  .home-page .pricing-copy > h2,
  .home-page .stories-heading > h2,
  .home-page .gallery-section .section-heading > h2,
  .home-page .home-index-heading h2,
  .skm-about-page .skm-about-copy > h1,
  .skm-about-page .skm-about-cta-copy > h2,
  .skm-pricing-page .skm-pricing-hero-copy > h1,
  .skm-gallery-page .skm-gallery-copy > h1,
  .events-page .events-hero h1,
  .blog-page .blog-hero h1,
  .skm-stories-page .skm-stories-copy > h1,
  .skm-contact-page .skm-contact-copy > h1 {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home-page .hero-copy > h1::after,
  .home-page .about-copy > h2::after,
  .home-page .profiles-heading > h2::after,
  .home-page .pricing-copy > h2::after,
  .home-page .stories-heading > h2::after,
  .home-page .gallery-section .section-heading > h2::after,
  .home-page .home-index-heading h2::after,
  .skm-about-page .skm-about-copy > h1::after,
  .skm-about-page .skm-about-cta-copy > h2::after,
  .skm-pricing-page .skm-pricing-hero-copy > h1::after,
  .skm-gallery-page .skm-gallery-copy > h1::after,
  .events-page .events-hero h1::after,
  .blog-page .blog-hero h1::after,
  .skm-stories-page .skm-stories-copy > h1::after,
  .skm-contact-page .skm-contact-copy > h1::after {
    width: 72px !important;
    height: 4px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 420px) {
  :root {
    --km-marked-heading-size: 27px;
  }
}
