/* ==========================================================================
   SEO heading structure - keeps the look identical after heading tags changed.
   Each page has one h1, sections use h2 and cards inside a section use h3.
   Text that only looks like a heading (small label above a section title,
   footer column titles, extra banner slides, share label) is a <div> with a
   seo-* class. The rules below give those elements, and headings whose tag
   moved up or down, exactly the styles their old tag had.
   Load after custom.css.
   ========================================================================== */

/* non-heading replacements: same base as "h1..h6" in custom.css */
.seo-sub-title,
.seo-slide-title,
.seo-footer-title,
.seo-share-title{
	margin: 0;
	font-weight: 700;
	line-height: 1.2em;
	color: var(--primary-color);
}

/* rules generated from custom.css: each one repeats a rule written for the old tag */
.section-title .seo-sub-title{
	position: relative;
	display: inline-block;
	font-size: 14px;
    font-weight: 600;
	line-height: 1.6em;
	letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
	padding-left: 18px;
    margin-bottom: 15px;
}

.section-title .seo-sub-title::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--accent-color);
    border-radius: 50%;
    width: 8px;
    height: 8px;
}

.section-title .seo-slide-title{
	font-size: 80px;
	font-weight: 700;
	line-height: 1.2em;
	letter-spacing: -0.02em;
	color: var(--primary-color);
	margin-bottom: 0;
}

.section-title.dark-section .seo-slide-title,
.section-title.dark-section .seo-sub-title{
	color: var(--white-color);
}

.section-title.dark-section .seo-sub-title::before{
	background: var(--white-color);
}

.post-item-content h3{
	font-size: 20px;
	line-height: 1.4em;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.post-item-content h3 a{
	display: block;
	color: inherit;
}

.footer-links .seo-footer-title{
	color: var(--white-color);
	font-size: 20px;
	text-transform: capitalize;
	margin-bottom: 20px;
}

.team-content h2{
	font-size: 20px;
	text-transform: capitalize;
	margin-bottom: 10px;
}

.team-content h2 a{
	color: inherit;
}

.page-service-content h2{
	color: var(--white-color);
	font-size: 20px;
	text-transform: capitalize;
}

.project-content h2{
	font-size: 20px;
	text-transform: capitalize;
	color: var(--white-color);
}

.project-content h2 a{
	color: inherit;
}

.team-member-info .section-title .seo-sub-title{
	padding-left: 0;
}

.team-member-info .section-title .seo-sub-title::before{
	display: none;
}

@media only screen and (max-width: 991px){
.section-title .seo-sub-title{
		margin-bottom: 10px;
}
}

@media only screen and (max-width: 991px){
.section-title .seo-slide-title{
		font-size: 60px;
}
}

@media only screen and (max-width: 991px){
.post-item-content h3{
		font-size: 18px;
		margin-bottom: 10px;
}
}

@media only screen and (max-width: 991px){
.team-content h2{
		margin-bottom: 5px;
}
}

@media only screen and (max-width: 767px){
.section-title .seo-slide-title{
		font-size: 34px;
}
}

@media only screen and (max-width: 767px){
.footer-links .seo-footer-title{
		font-size: 18px;
		margin-bottom: 15px;
}
}

@media only screen and (max-width: 767px){
.team-content h2{
		font-size: 18px;
}
}

@media only screen and (max-width: 767px){
.page-service-content h2{
		font-size: 18px;
}
}

@media only screen and (max-width: 767px){
.project-content h2{
		font-size: 18px;
}
}

/* service detail: title moved h3 -> h2, keeps the h3 size (not ".service-entry h2") */
.service-entry h2.seo-as-h3{
	font-size: calc(1.3rem + .6vw);
	margin-bottom: 0;
}
@media (min-width: 1200px){
	.service-entry h2.seo-as-h3{
		font-size: 1.75rem;
	}
}

/* blog detail: title moved h5 -> h2, keeps ".post-entry h5" size */
.post-entry h2.seo-as-h5{
	font-size: 24px;
}

/* FAQ questions moved h2 -> h3, keep the Bootstrap h2 size on the header */
.faq-accordion h3.accordion-header{
	font-size: calc(1.325rem + .9vw);
}
@media (min-width: 1200px){
	.faq-accordion h3.accordion-header{
		font-size: 2rem;
	}
}
