/*
Theme Name: Caridad Child
Author: VamTam
Author URI: https://vamtam.com
Template: caridad
*/



/*

put your child theme styles here


you don't need any @import rules

*/
/*
Theme Name: Caridad Child
Author: VamTam
Author URI: https://vamtam.com
Template: caridad
*/

/*=======================================================
TEMPLATE BLOG STYLES
=======================================================*/

#sub-header {
    display: none;
}

.section-featured-post {
    background: #edf5ff;
    margin-top: -100px;
    padding-bottom: 40px;
}

.section-featured-post .bg-wrapper {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    position: relative;
}

.section-featured-post .section-heading {
    text-align: center;
}

.section-template-blog .container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-template-blog img {
    display: block;
}

.section-heading {
    margin-bottom: 15px;
}

.section-heading h2 {
    color: #022B49;
    margin: 0;
    font-size: 30px;
}

.card-featured-post p {
    margin: 0;
}

.section-featured-post__inner .card-featured-post .card-featured-post__thumbnail {
    position: relative;
    flex-basis: 60%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.section-featured-post__inner .card-featured-post .card-featured-post__thumbnail img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
}

.card-featured-post .posted-date {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
}

.card-featured-post .card-featured-post__title {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
}

.card-featured-post .btn-wrapper {
    margin-top: 20px;
}

body .post-btn {
    background: #6ED34B;
    color: #ffffff;
    padding: 15px 32px 13px;
    display: inline-block;
    border-radius: 40px;
    transition: all 0.3s ease-out;
}

body .post-btn:hover {
    background: #022B49;
}

.featured-post__tags {
    position: absolute;
    top: 10px;
    left: 10px;
}

.featured-post__tags ul {
    display: flex;
    align-items: center;
    margin: 0 -7.5px;
    list-style-type: none;
}

.featured-post__tags ul li {
    padding: 0 7.5px;
}

.featured-post__tags ul li span {
    display: block;
    background: #fff;
    padding: 5px 15px 3px;
    font-size: 13px;
    border-radius: 40px;
}
/*=======================================================
TEMPLATE BLOG (FEATURED TABS)
=======================================================*/

.section-blog-listing__tabs {
    margin-top: 30px;
}

.section-blog-listing__tabs .featured-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.section-blog-listing__tabs .featured-tabs ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    border-radius: 7px;
    margin: 0;
}

.section-blog-listing__tabs .featured-tabs ul li {
    margin-bottom: 8px;
}

.section-blog-listing__tabs .featured-tabs ul li:not(:last-child) {
    margin-right: 8px;
}

.section-blog-listing__tabs .featured-tabs ul li a {
    padding: 12px 30px;
    display: block;
    text-align: center;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 50px;
    border: 1px solid #ddd;
}

.section-blog-listing__tabs .featured-tabs ul li.active a,
.section-blog-listing__tabs .featured-tabs ul li:hover a {
    opacity: 1;
    color: #fff;
    background: #6ED34B;
    border-color: #6ED34B;
}

/*=======================================================
SECTION BLOG RECENT POSTS
=======================================================*/

.section-blog-listing__tabs + .section-blog-recent-posts {
    padding-top: 40px;
}

.section-blog-recent-posts {
    padding: 40px 0;
}

.section-blog-recent-posts .loadmore-posts {
    grid-column: 1/span 1;
}

.section-recent-posts__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
} 

.card-recent-post {
    background: #ffffff;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(10,30,70,.1);
}

.card-recent-post > a {
    display: block;
}

.card-recent-post .card-recent-post__thumbnail {
    overflow: hidden;
    position: relative;
}

.card-recent-post .card-recent-post__thumbnail img {
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: all 0.4s ease;
    width: 100%;
}

.card-recent-post > a:hover .card-recent-post__content h3,
.card-recent-post .card-recent-post__content h3 > a:hover {
    text-decoration: underline;
}

.card-recent-post .card-recent-post__content h3 > a:hover {
    color: #6ED34B;
}

.card-recent-post:hover .card-recent-post__thumbnail img {
    transform: scale(1.2,1.2);
}

.card-recent-post .card-recent-post__content {
    background: #ffffff;
    padding: 25px 20px;
}

.card-recent-post .card-recent-post__content .posted-date {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card-recent-post .card-recent-post__content h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin: 0 0 10px;
}

.card-recent-post .card-recent-post__content p {
    font-size: 15px;
    line-height: 24px;
}

.card-recent-post .readmore {
    background: #6ED34B;
    color: #ffffff;
    padding: 10px 25px 8px;
    display: inline-block;
    font-size: 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.card-recent-post .readmore:hover {
    background: #0b2a4a;
}


/*=======================================================
TEMPLATE SINGLE BLOG PAGE STYLES
=======================================================*/

.section-single-blog-content {
	position: relative;
    padding: 40px 0;
}

.section-single-blog-content .container {
    max-width: 1080px;
}

.section-single-blog-content .single-featured__title {
    font-size: 30px;
    line-height: 1.1;
    color: #000000;
    margin: 0 0 5px;
}

.section-single-blog-content .posted-date {
    color: #ad9d9d;
}

.section-single-blog-content .single-featured__thumb {
    margin-bottom: 25px;
}

.section-single-blog-content .single-featured__thumb img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    aspect-ratio: 16/9;
}

.section-single-blog-content .single-content h1 {
    font-size: 30px !important;
    line-height: 1.2;
}

.section-single-blog-content .single-content h2 {
    font-size: 26px !important;
    line-height: 30px;
}

.section-single-blog-content .single-content h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
}

.section-single-blog-content .single-content p {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.section-single-blog-content .single-content .limit-wrapper {
    padding: 0;
}

.section-single-blog-content .single-content p {
    font-size: 16px;
    line-height: 24px; 
}

.section-single-blog-content .single-content p:not(:last-child) {
    margin-bottom: 15px;
}

.section-related-articles {
    background: #edf5ff;
}

.section-related-articles .section-heading {
    text-align: center;
}

.single-content__tags {
    margin: 30px 0 0;
}

.single-content__tags ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-content__tags ul li {
    line-height: 1;
}

.single-content__tags ul li:not(:last-child) {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #ddd;
} 

/*=======================================================
TEMPLATE ARCHIVE STYLES
=======================================================*/

.section-blog-archive {
    padding: 30px 0;
}

.section-blog-archive .section-heading {
    text-align: center;
}

.loadmore-posts {
    margin: 30px 0 0;
    text-align: center;
}

.loadmore-btn {
    background: #6ED34B !important;
    color: #ffffff !important;
    padding: 14px 32px 10px;
    display: inline-block;
    font-size: 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.loadmore-btn:hover {
    background: #1D1C1C !important;
}

/*=======================================================
TEMPLATE BLOG LEADSPACE STYLES
=======================================================*/

.section-template-blog-leadspace {
    padding: 60px 0 140px;
}

.section-template-blog-leadspace-single .posted-date {
    color: #6ED34B;
}

.section-template-blog-leadspace-single h1::before {
    display: none;
}

.section-template-blog-leadspace {
    background: rgba(11, 42, 74, 1);
    position: relative;
}

.section-template-blog-leadspace .section-heading {
    text-align: center;
    margin-bottom: 0;
}

.section-template-blog-leadspace .section-heading h1 {
    margin: 0;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.section-template-blog-leadspace .section-heading h1::before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    width: 100px;
    height: 3px;
    background: #6ED34B;
    transform: translateX(-50%);
    border-radius: 5px;
}

.section-template-blog-leadspace .section-heading h1 span {
    color: #6ED34B;
}

.section-template-blog-leadspace-single {
    padding: 40px 0;
}

.section-template-blog-leadspace-single h1 {
    padding-bottom: 0 !important;
}

.section-template-blog-leadspace-single .section-heading h1 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.go-back-btn {
	margin: 20px 0 40px;
	text-align: center;
}

.go-back-btn > a {
    font-size: 16px;
    font-weight: 500;
    line-height: 1em;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: #6ED34B;
    border-radius: 50px 50px 50px 50px;
    padding: 17px 28px 14px 28px;
	transition: all 0.3s ease;
}

.go-back-btn > a:hover {
	background: #0b2a4a;
}

.section-featured-post .featured-post__tags {
	position: static;
	margin: 20px 0;
}

.section-featured-post .featured-post__tags ul {
	margin: 0 -4px;
}

.section-featured-post .featured-post__tags ul li {
	padding: 0 4px;
}

.section-featured-post .featured-post__tags ul li span {
	background: rgba(11, 42, 74, 1);
	color: #ffffff;
	padding: 5px 20px 3px;
	font-size: 14px;
}

/*=======================================================
TABLET SCREEN SIZES
=======================================================*/

@media screen and (min-width: 768px) {
	
	.section-featured-post .featured-post__tags {
		margin: 20px 0 0;
	}
	
	.go-back-btn {
		position: absolute;
		margin: 0;
		top: 30px;
		right: 30px;
	}

    .section-featured-post .bg-wrapper {
        padding: 50px 30px;
    }

    .section-featured-post__inner .card-featured-post {
        display: flex;
        align-items: center;
    }

    .section-heading,
    .section-blog-recent-posts .section-heading {
        margin-bottom: 30px;
    }
    
    .section-heading h2,
    .section-blog-recent-posts .section-heading h2 {
        font-size: 40px;
    }

    .section-featured-post__inner .card-featured-post .card-featured-post__content {
        flex-basis: 40%;
        padding-left: 40px;
    }

    .section-template-blog .container {
        padding: 0 30px;
    }

    .section-blog-listing__tabs .featured-tabs ul li a {
        padding: 20px 50px;
        font-size: 16px;
    } 

    .featured-post__tags {
        top: 20px;
        left: 20px;
    } 

    .section-featured-post__inner .card-featured-post .card-featured-post__thumbnail {
        margin-bottom: 0px;
    }

    .card-featured-post .card-featured-post__title {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 15px;
    }

    .card-featured-post .posted-date {
        font-size: 15px;
    }

    .card-featured-post .btn-wrapper {
        margin-top: 30px;
    }

    /*=======================================================
    TEMPLATE BLOG (FEATURED TABS)
    =======================================================*/

    .section-blog-listing__tabs {
        margin-top: 40px;
    }

    .section-blog-listing__tabs .featured-tabs ul li a {
        padding: 18px 45px;
        display: block;
    }

    /*=======================================================
    SECTION BLOG RECENT POSTS
    =======================================================*/

    .section-blog-recent-posts {
        padding: 60px 0;
    } 

    .section-recent-posts__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    } 

    .card-recent-post .card-recent-post__content {
        padding: 35px 22px;
    }

    .card-recent-post .card-recent-post__content .posted-date {
        font-size: 15px;
    }

    /*=======================================================
    TEMPLATE SINGLE BLOG PAGE STYLES
    =======================================================*/

    .section-single-blog-content {
        padding: 60px 0;
    }

    .section-single-blog-content .single-featured__title {
        padding: 0 30px;
    }

    .section-single-blog-content .single-featured__title {
        font-size: 46px;
        line-height: 1.2;
    }

    .section-single-blog-content .single-featured__thumb {
        margin-bottom: 35px;
    }

    .section-single-blog-content .single-content p {
        font-size: 18px;
        line-height: 26px; 
    }

    .section-single-blog-content .single-content p:not(:last-child) {
        margin-bottom: 20px;
    }

    .single-content__tags ul li:not(:last-child) {
        margin-right: 25px;
        padding-right: 25px;
    } 

    .single-content__tags {
        margin: 40px 0 0;
    } 

    .section-related-articles .section-recent-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-recent-post .readmore {
        font-size: 16px;
    }

    .section-template-blog-leadspace-single {
        padding: 60px 0;
    }

    .section-single-blog-content .single-content h1 {
        font-size: 45px !important;
    }

    .section-single-blog-content .single-content h2 {
        font-size: 34px !important;
        line-height: 40px;
    }

    .section-single-blog-content .single-content h3 {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }

    .section-single-blog-content .single-content p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /*=======================================================
    TEMPLATE ARCHIVE STYLES
    =======================================================*/

    .section-blog-archive {
        padding: 60px 0;
    }

    .loadmore-posts {
        margin: 50px 0 0;
    }

}


/*=======================================================
DESKTOP SCREEN SIZES
=======================================================*/

@media screen and (min-width: 1200px) {
	
	.go-back-btn {
		top: 40px;
	}
	
	.go-back-btn > a {
		font-size: 18px;
		padding: 19px 32px 16px 32px;
	}

    .section-featured-post {
        padding-bottom: 80px;
    }

    .section-featured-post .bg-wrapper {
        padding: 60px 30px;
    }

    .section-heading,
    .section-blog-recent-posts .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .section-blog-recent-posts .section-heading h2 {
        font-size: 50px;
    }

    .section-featured-post__inner .card-featured-post .card-featured-post__content {
        padding-left: 60px;
    }

    .card-featured-post .card-featured-post__title {
        font-size: 28px;
        line-height: 40px;
    }

    .section-blog-recent-posts .loadmore-posts {
        grid-column: 1/span 3;
    }

    /*=======================================================
    SECTION BLOG RECENT POSTS
    =======================================================*/

    .section-blog-listing__tabs {
        margin-top: 80px;
    }

    .section-blog-listing__tabs + .section-blog-recent-posts {
        padding-top: 80px;
    }

    .section-blog-recent-posts {
        padding: 100px 0;
    } 

    .section-recent-posts__grid {
        gap: 30px;
    }

    .card-recent-post .card-recent-post__content h3 {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 2px;
    }

    .card-recent-post .card-recent-post__content p {
        font-size: 16px;
        line-height: 26px;
    }

    /*=======================================================
    TEMPLATE SINGLE BLOG PAGE STYLES
    =======================================================*/

    .section-single-blog-content {
        padding: 80px 0;
    }

    .section-single-blog-content .single-featured__title {
        padding: 0 80px;
    }

    /*=======================================================
    TEMPLATE ARCHIVE STYLES
    =======================================================*/

    .section-blog-archive {
        padding: 80px 0;
    }

    .section-template-blog-leadspace {
        padding: 100px 0 180px;
    }

    .section-template-blog-leadspace .section-heading h1 {
        padding-bottom: 30px;
    }

    .section-template-blog-leadspace-single {
        padding: 80px 0;
    }

    .section-template-blog-leadspace-single .section-heading h1 {
        font-size: 50px;
    }

}
/*=======================================================
   HELPER CLASSES HERE
    =======================================================*/
.text-center{
    text-align: center;
}