/*
 * Heading tags were changed for SEO (one H1 per page) without changing how anything looks.
 * Each rule below gives the new tag exactly the styling the old tag used to get.
 */

/* Titles that used to be h1/h3 and are now div/span. These copy the element-level heading rules
   (Bootstrap + main.css) with zero specificity, so the class rules still override them as before. */
:where(div, span):where(.tp-slider-3-big-text, .tp-slider-3-title, .breadcrumb__title) {
   display: block;
   font-family: var(--tp-ff-heading);
   color: var(--tp-common-black);
   margin-top: 0;
   margin-bottom: .5rem;
   font-weight: 700;
   line-height: 1.2;
   transition: color 0.3s 0s ease-out;
}

/* Home slide 1: the title box (previously a div) is now the page's h1. It must not pick up any heading styles. */
h1.tp-slider-3-title-box {
   margin: 0;
   font-family: inherit;
   font-size: inherit;
   font-weight: inherit;
   line-height: inherit;
   color: inherit;
}

/* Classic project page: the project name in the breadcrumb is the h1, styled like the plain span it replaced. */
h1.breadcrumb__current {
   display: inline;
   margin: 0;
   font: inherit;
   color: inherit;
   text-transform: inherit;
   transition: none;
}
