/* ========================================
   DEFERRED CSS — Non-critical styles loaded asynchronously
   These styles are not needed for initial above-the-fold render.
   All CSS custom properties (var(--*)) are defined in the critical CSS.
   ======================================== */

/* ========================================
   PROSE CONTENT STYLES
   ======================================== */

.has-content-block .prose {
  & > h1,
  & > h2,
  & > h3,
  & > h4,
  & > h5,
  & > h6 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--section-spacing-sm);
  }

  & > h1,
  & > .h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--section-spacing-lg);
  }

  & > h2,
  & > .h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--section-spacing-md);
  }

  & > h3,
  & > .h3 {
    font-size: var(--text-3xl);
  }

  & > h4,
  & > .h4 {
    font-size: var(--text-2xl);
  }

  & > h5,
  & > .h5 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-medium);
  }

  & > h6,
  & > .h6 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
  }

  & > p,
  & > .p {
    font-size: var(--text-base);
    margin-bottom: var(--section-spacing-sm);
    line-height: 1.5;
  }

  & > p:not(:has(+ p)),
  & > .p:not(:has(+ .p)) {
    margin-bottom: var(--section-spacing-md);
  }

  & > .lead {
    font-size: var(--text-lg);
    margin-bottom: var(--section-spacing-sm);
  }

  & > .lead:not(:has(+ .lead)) {
    margin-bottom: var(--section-spacing-md);
  }

  & > .simple-table-wrapper,
  & > .table-wrapper,
  & > .gallery,
  & > .single-image-container,
  & > .video-container {
    margin-bottom: var(--section-spacing-xl);
  }

  & > ul,
  & > ol,
  & > .button,
  & > .button-group,
  & > .download-card {
    margin-bottom: var(--section-spacing-md);
  }

  & > .single-image-container img {
    border-radius: 1rem;
  }

  & > .warning {
    margin-bottom: var(--section-spacing-sm);
  }

  & > *:last-child {
    margin-bottom: 0;
  }
}

/* ========================================
   NEWS CONTENT STYLES
   ======================================== */
.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
  margin-bottom: 24px;
}

/* Ensure links inside headings inherit heading typography */
.news-content h1 a,
.news-content h2 a,
.news-content h3 a,
.news-content h4 a,
.news-content h5 a,
.news-content h6 a {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

/* Make h2 red and styled like h4 */
.news-content h2 {
  color: var(--color-red-300);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
}

/* Make h3 styled like h6 */
.news-content h3 {
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

/* Heading class overrides with !important to ensure they work when content comes with specific classes */
.news-content .h1 {
  font-size: var(--text-7xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .h2 {
  font-size: var(--text-6xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .h3 {
  font-size: var(--text-5xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .h4 {
  font-size: var(--text-4xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .h5 {
  font-size: var(--text-3xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .h6 {
  font-size: var(--text-2xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .h7 {
  font-size: var(--text-xl) !important;
  line-height: var(--leading-tight) !important;
}

.news-content .gallery {
  margin-bottom: 24px;
}

.news-content .simple-table-wrapper,
.news-content .table-wrapper {
  margin-bottom: var(--section-spacing-xl);
}

/* p that is not the last child */
.news-content p {
  margin-bottom: 20px;
}
/* first child has margin-top */
.news-content p:first-child,
.news-content h1:first-child,
.news-content h2:first-child,
.news-content h3:first-child,
.news-content h4:first-child,
.news-content h5:first-child,
.news-content h6:first-child {
  margin-top: 20px;
}

.news-content ol,
.news-content ul {
  padding-left: 80px;
  padding-right: 80px;
  @media (max-width: 768px) {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.news-content li {
  padding-left: calc(10px + 1rem);
}

.news-content .quote-content p {
  margin: 0;
}
.news-content .video {
  margin-bottom: 20px;
}

/* RTE Image styles */
.rte-image-wrapper {
  margin: 20px 0;
}

.rte-image-wrapper a {
  display: block;
}

.rte-image-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* RTE Separator styles */
.rte-separator {
  border: none;
  height: 1px;
  background-color: var(--color-slate-400);
  margin: 32px 0;
}

/* ========================================
   RTE TEXT COLOR UTILITIES
   ======================================== */
.text-red {
  color: var(--color-red-300) !important;
}

.eyebrow {
  font-size: var(--text-xs) !important;
  font-weight: bold;
}

.eyebrowBlack {
  font-size: var(--text-xs);
  font-weight: bold;
}
.eyebrowRed {
  font-size: var(--text-xs);
  font-weight: bold;
  color: var(--color-red-300);
}

/* ========================================
   VERSUS KEYVISUAL ACTIVE STATE
   ======================================== */
body.theme-versusbronze,
body.theme-versusbronze section {
  background-color: #000 !important;
}

body.theme-versusbronze footer {
  background-color: #000 !important;
}

/* Form RTE content in versus keyvisual mode */
body.theme-versusbronze .form-container .form-field--rte-basic .prose,
body.theme-versusbronze .form-container .form-field--rte-basic .prose p {
  color: #b0b0b0 !important;
  font-size: 14px;
  font-weight: 300;
}

body.theme-versusbronze .form-container .form-field--rte-basic .prose a {
  color: #d2090e !important;
  text-decoration: underline;
}

/* Theme Pivot Overrides */
.theme-pivot {
  --color-pivot-gold: #9f7032;
  --color-pivot-text: #282829;
}

.theme-pivot .eyebrow {
  color: var(--color-pivot-gold);
}

/* Ensure RichText paragraph inherits color in eyebrow within theme-pivot */
.theme-pivot .eyebrow .prose p,
.theme-pivot .eyebrow p {
  color: var(--color-pivot-gold) !important;
}

/* Force deep inheritance for eyebrow in theme-pivot */
.theme-pivot .eyebrow > * {
  color: var(--color-pivot-gold) !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  text-transform: inherit !important;
  letter-spacing: inherit !important;
}

/* Versus Keyvisual specific styles for theme-pivot */
body.theme-pivot .versus-keyvisual .eyebrow {
  font-size: 12px !important;
  font-weight: 300 !important;
  letter-spacing: 3px !important;
}

@media (min-width: 48rem) {
  body.theme-pivot .versus-keyvisual .eyebrow {
    font-size: 16px !important;
  }
}

body.theme-pivot .versus-keyvisual .heading-image img {
  max-width: 255px !important;
}

@media (min-width: 48rem) {
  body.theme-pivot .versus-keyvisual .heading-image img {
    max-width: 435px !important;
  }
}

body.theme-pivot .versus-keyvisual .rte-content p {
  font-size: 12px !important;
  line-height: 22px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
}

@media (min-width: 48rem) {
  body.theme-pivot .versus-keyvisual .rte-content p {
    font-size: 16px !important;
    line-height: 32px !important;
  }
}

/* Pivot Didot heading style with decorative line */
.pivot-didot {
  font-family: var(--font-didot) !important;
  font-size: 26px !important;
  line-height: 34px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  color: #282829 !important;
  position: relative;
  display: inline-block;
  text-align: center;
}

@media (min-width: 768px) {
  .pivot-didot {
    font-size: 50px !important;
    line-height: 80px !important;
    letter-spacing: 2px !important;
  }
}

/* Didot font family only */
.didot {
  font-family: var(--font-didot) !important;
}

/* Decorative gold line underneath */
.pivot-didot::after {
  content: '';
  display: block;
  width: 188px;
  height: 1px;
  margin: 15px auto 0;
  background: #9f7032;
}

/* Hide CookieYes floating revisit/settings button */
.cky-btn-revisit-wrapper {
  display: none !important;
}

pirnar-konfigurator {
  width: 100%;
}
