/* Final title-only policy. Keep module typography, positioning, and back arrows. */
:root:not(#page-title-policy-1):not(#page-title-policy-2) :is(
  .profile-page-title,
  .module-page-title,
  .ms-universal-title-text,
  .ms-universal-title-link,
  .ms-universal-title-row,
  .ms-universal-title-stack,
  .profile-body-title-stack,
  .profile-body-title-link,
  .profile-section-title-wrap,
  .profile-section-title-row,
  .profile-section-title-link,
  .profile-detail-title-row,
  .profile-detail-title-link,
  .detail-title-row,
  .detail-page-title,
  .compact-detail-back-title,
  .album-page-title
) {
  text-decoration: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Decorative bars are separate elements or ::after rules in older modules. */
:root:not(#page-title-policy-1):not(#page-title-policy-2) :is(
  .profile-page-title,
  .module-page-title,
  .ms-universal-title-text,
  .ms-universal-title-link,
  .ms-universal-title-row,
  .ms-universal-title-stack,
  .profile-body-title-stack,
  .profile-body-title-link,
  .profile-section-title-wrap,
  .profile-section-title-row,
  .profile-section-title-link,
  .profile-detail-title-row,
  .profile-detail-title-link,
  .detail-title-row,
  .detail-page-title,
  .compact-detail-back-title,
  .album-page-title
)::after,
:root:not(#page-title-policy-1):not(#page-title-policy-2) .profile-section-title-line {
  display: none !important;
}
