/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/* Archive Header Style */
.archive-page-header{
    background: linear-gradient(135deg, #59a53b 0%, #4a8f31 100%);
    padding: 28px 35px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(89,165,59,0.18);
    margin-bottom: 30px;
}

.archive-page-header::before{
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.archive-page-header::after{
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.archive-page-header .page-title{
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.archive-page-header .page-title span{
    display: inline-block;
    color: #eaffde;
    margin-left: 6px;
    position: relative;
}

.archive-page-header .page-title span::after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.4);
    margin-top: 6px;
    border-radius: 10px;
}
/* ===== EXCERPT LIMIT ===== */

.custom-post-excerpt,
.blog-list-excerpt{
    overflow:hidden;
}

.custom-post-excerpt p,
.blog-list-excerpt p{
    margin:0;
}

.custom-post-excerpt{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.blog-list-excerpt{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
/* Mobile */
@media (max-width: 768px){
    .archive-page-header{
        padding: 22px 20px;
        border-radius: 14px;
    }

    .archive-page-header .page-title{
        font-size: 22px;
        line-height: 1.5;
    }
}
/*************** ADD CUSTOM CSS HERE.   ***************/
/* ===== POST GRID ===== */

.col.post-item{
    display:flex;
    margin-bottom:30px;
}

/* ===== CARD ===== */

.custom-post-card{
    width:100%;
    height:100%;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #ececec;
    transition:all .3s ease;
    display:flex;
    flex-direction:column;
}

.custom-post-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

/* ===== THUMBNAIL ===== */

.custom-post-thumbnail{
    position:relative;
    width:100%;
    aspect-ratio: 4 / 3;
    overflow:hidden;
    background:#f3f3f3;
}

.custom-post-thumbnail a{
    display:block;
    width:100%;
    height:100%;
}

.custom-post-thumbnail img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
    display:block;
}

.custom-post-card:hover .custom-post-thumbnail img{
    transform:scale(1.05);
}

/* ===== CONTENT ===== */

.custom-post-content{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

/* ===== TITLE ===== */

.custom-post-title{
    margin:0 0 14px;
    font-size:22px;
    line-height:1.45;
    font-weight:700;
}

.custom-post-title a{
    color:#111;
    text-decoration:none;
    transition:all .25s ease;
}

.custom-post-title a:hover{
    color:#c59d5f;
}

/* ===== EXCERPT ===== */

.custom-post-excerpt{
    flex:1;
}

.custom-post-excerpt p{
    margin:0;
    font-size:15px;
    line-height:1.8;
    color:#666;
}

/* ===== RESPONSIVE ===== */

@media(max-width:849px){

    .custom-post-content{
        padding:18px;
    }

    .custom-post-title{
        font-size:19px;
    }

}

@media(max-width:549px){

    .custom-post-title{
        font-size:17px;
        line-height:1.5;
    }

    .custom-post-excerpt p{
        font-size:14px;
        line-height:1.7;
    }

}
.blog-list-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-list-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.blog-list-inner {
    display: flex;
    gap: 25px;
}

.blog-list-thumbnail {
    width: 320px;
    flex-shrink: 0;
}

.blog-list-thumbnail img {
    width: 100%;
    border-radius: 10px;
}

.blog-list-content {
    flex: 1;
}

.blog-list-content .entry-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-list-content .entry-meta {
    font-size: 13px;
    opacity: .7;
    margin-bottom: 10px;
}

.blog-list-content .entry-excerpt {
    margin-bottom: 15px;
}

@media(max-width:849px){

    .blog-list-inner{
        flex-direction:column;
    }

    .blog-list-thumbnail{
        width:100%;
    }

}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}