/* =========================================================
   KomuInfo Legacy Overrides
   ---------------------------------------------------------
   Purpose:
   - Temporary containment area for unavoidable !important
   - Keep old conflict-fixes out of base/component/page files
   - Reduce and delete rules from this file over time
   ========================================================= */

/* Headings: final simplification overrides */
.ki-modern-shell h2,
.ki-modern-shell .entry-content h2,
.ki-modern-shell .cps-post-main h2,
.ki-modern-shell h2.ki-ui-headline,
.ki-modern-shell h2.ki-ui-headline--hub {
  text-align: left !important;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border-top-width: 0 !important;
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
}

/* Fallback: pages/templates where .ki-modern-shell is not present */
.entry-content h2,
.cps-post-main h2,
h2.ki-ui-headline,
h2.ki-ui-headline--hub {
  border: 0 !important;
  border-style: none !important;
  border-top-width: 0 !important;
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
}

.ki-modern-shell h2::before,
.ki-modern-shell h2::after,
.ki-modern-shell h2.ki-ui-headline::before,
.ki-modern-shell h2.ki-ui-headline::after,
.ki-modern-shell h2.ki-ui-headline--hub::before,
.ki-modern-shell h2.ki-ui-headline--hub::after {
  content: none !important;
  display: none !important;
}

.ki-modern-shell .ki-ui-section-head h2,
.ki-modern-shell .ki-ui-section-head h2.ki-ui-headline,
.ki-modern-shell .ki-ui-section-head h2.ki-ui-headline--hub,
.ki-modern-shell.single .cps-post-main.entry-content .ki-ui-section-head h2,
.ki-modern-shell.single .cps-post-main.entry-content .ki-ui-section-head h2.ki-ui-headline,
.ki-modern-shell.single .cps-post-main.entry-content .ki-ui-section-head h2.ki-ui-headline--hub {
  text-align: left !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top-width: 0 !important;
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
}

.ki-modern-shell .ki-ui-section-head h2::before,
.ki-modern-shell .ki-ui-section-head h2::after,
.ki-modern-shell .ki-ui-section-head h2.ki-ui-headline::before,
.ki-modern-shell .ki-ui-section-head h2.ki-ui-headline::after,
.ki-modern-shell .ki-ui-section-head h2.ki-ui-headline--hub::before,
.ki-modern-shell .ki-ui-section-head h2.ki-ui-headline--hub::after {
  content: none !important;
  display: none !important;
}

/* IAA report: keep main title plain */
.ki-modern-shell .iaa-report-wrapper h2.iaa-main-title,
.ki-modern-shell.single .cps-post-main.entry-content .iaa-report-wrapper h2.iaa-main-title {
  text-align: left !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.ki-modern-shell .iaa-report-wrapper h2.iaa-main-title::before,
.ki-modern-shell .iaa-report-wrapper h2.iaa-main-title::after,
.ki-modern-shell.single .cps-post-main.entry-content .iaa-report-wrapper h2.iaa-main-title::before,
.ki-modern-shell.single .cps-post-main.entry-content .iaa-report-wrapper h2.iaa-main-title::after {
  content: none !important;
  display: none !important;
}
