/* Single Case Study CSS */

.single-case-study-content :where(h1, h2, h3, h4, h5, h6) {
    font-family: "Lexend", Sans-serif !important;
    color: #020101;
    margin: 0;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.single-case-study-content h1 {
    font-size: 2rem;
}

.single-case-study-content h2 {
    font-size: 1.75rem;
}

.single-case-study-content blockquote {
    background-color: #040f16;
    border-radius: .75rem;
    padding: 1.5rem 1rem;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
}

.single-case-study-content h1:not(:first-child),
.single-case-study-content h2:not(:first-child),
.single-case-study-content h3:not(:first-child),
.single-case-study-content h4:not(:first-child),
.single-case-study-content h5:not(:first-child),
.single-case-study-content h6:not(:first-child),
.single-case-study-content blockquote:not(:first-child) {
    margin-top: 2.5rem;
}

.single-case-study-content h1:not(:last-child),
.single-case-study-content h2:not(:last-child),
.single-case-study-content h3:not(:last-child),
.single-case-study-content h4:not(:last-child),
.single-case-study-content h5:not(:last-child),
.single-case-study-content h6:not(:last-child),
.single-case-study-content ol:not(:last-child),
.single-case-study-content ul:not(:last-child) {
    margin-bottom: 1.5rem;    
}

.single-case-study-content blockquote:not(:last-child) {
    margin-bottom: 2rem;
}

.single-case-study-content blockquote p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.6;
}

.single-case-study-content blockquote .author {
    margin-top: 1.5rem;
    font-size: 1.25rem;
	display: block;
}

.case-study-breadcrumb a{
	color: #fff !important;
	transition: all 0.3s ease-in-out;
}

.case-study-breadcrumb a:hover{
	color: #A2A7AA !important;
}

#content{
	scroll-margin-top: 30px;
}



/* More case studies section: Case Study Tag */
.case-study-tag {
	margin: 0 !important;
	background-color: #F3FAFC;
	border: 1px solid #3AABBC;
	border-radius: .25rem;
	padding: .125rem .5rem;
	color: #005D77;
	font-family: "Lexend", Sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.75em;
}

.case-study-tags {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5em;
}

.case-study-country {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 !important;
	margin-top: .5rem !important;
	background-color: #fff8f1;
	border: 1px solid #FF8E19;
	border-radius: .25rem;
	padding: .125rem .5rem;
	color: #005D77;
	font-family: "Lexend", Sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.75em;
	width: fit-content;
}

.case-study-country-flag {
	width: 14px;
	border-radius: 50px;
}



/* Responsive */
@media (min-width: 1024px) {
    .single-case-study-content h1 {
        font-size: 3.25rem;
    }
    
    .single-case-study-content h2 {
        font-size: 2.75rem;
    }
    
    .single-case-study-content h1:not(:first-child),
    .single-case-study-content h2:not(:first-child),
    .single-case-study-content h3:not(:first-child),
    .single-case-study-content h4:not(:first-child),
    .single-case-study-content h5:not(:first-child),
    .single-case-study-content h6:not(:first-child),
    .single-case-study-content blockquote:not(:first-child) {
        margin-top: 3rem;
    }
    
    .single-case-study-content h1:not(:last-child),
    .single-case-study-content h2:not(:last-child),
    .single-case-study-content h3:not(:last-child),
    .single-case-study-content h4:not(:last-child),
    .single-case-study-content h5:not(:last-child),
    .single-case-study-content h6:not(:last-child) {
        margin-bottom: 2rem;    
    }
    
    .single-case-study-content blockquote {
        padding: 2.5rem;
    }
    
    .single-case-study-content blockquote:not(:last-child) {
        margin-bottom: 3rem;
    }
    
    .single-case-study-content blockquote p {
        font-size: 2rem;
    }
	
	.single-case-study-content blockquote .author{
		font-size: 1.65rem;
	}
}

@media (max-width: 1024px) {
    .e-con-inner, .case-studies-grid .elementor-grid .e-loop-item:last-child {
        display: none;
    }
}

@media (max-width: 767px){
	ul{
		padding-inline-start: 30px;
	}
}

@media screen and (min-width: 561px) and (max-width: 767px) {
    .case-studies-grid .elementor-loop-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
	
	.case-study-card-image{
		min-height: 28vw !important;
	}
}

@media (min-width: 430px) and (max-width: 561px){
	.case-study-card-image{
		min-height: 50vw !important;
	}
}
