/*==================================================
BLOG GRID
==================================================*/

.ct-blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:32px;
    margin:50px 0;
}


/*==================================================
BLOG CARD
==================================================*/

.ct-blog-card{
    display:flex;
    flex-direction:column;
    height:100%;
    overflow:hidden;

    background:var(--ct-cream);
    border:1px solid rgba(122,30,30,.12);
    border-radius:20px;

    box-shadow:0 10px 28px rgba(0,0,0,.08);
    transition:all .35s ease;
}

.ct-blog-card:hover{
    transform:translateY(-8px);
    border-color:var(--ct-secondary);
    box-shadow:0 20px 45px rgba(122,30,30,.15);
}


/*==================================================
BLOG IMAGE
==================================================*/

.ct-blog-image{
    overflow:hidden;
}

.ct-blog-image img{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    transition:transform .45s ease;
}

.ct-blog-card:hover .ct-blog-image img{
    transform:scale(1.06);
}


/*==================================================
BLOG CONTENT
==================================================*/

.ct-blog-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:24px;
}


/*==================================================
CATEGORY
==================================================*/

.ct-blog-category{
    display:inline-block;
    align-self:flex-start;

    padding:7px 15px;

    background:rgba(122,30,30,.08);
    border-radius:30px;

    color:var(--ct-primary);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}


/*==================================================
BLOG TITLE
==================================================*/

.ct-blog-title{
    margin:18px 0 12px;

    font-family:"Cormorant Garamond",serif;
    font-size:30px;
    line-height:1.25;

    min-height:80px;
}

.ct-blog-title a{
    color:var(--ct-primary);
    text-decoration:none;
    transition:.3s;
}

.ct-blog-card:hover .ct-blog-title a{
    color:var(--ct-secondary);
}


/*==================================================
BLOG DATE
==================================================*/

.ct-blog-date{
    margin-bottom:18px;

    color:#666;
    font-size:15px;
}


/*==================================================
BLOG EXCERPT
==================================================*/

.ct-blog-excerpt{
    flex:1;

    margin-bottom:28px;

    color:#555;
    line-height:1.8;

    min-height:95px;
}


/*==================================================
READ MORE BUTTON
==================================================*/

.ct-blog-readmore{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:13px 22px;

    background:var(--ct-primary);
    border-radius:10px;

    color:#fff;
    font-weight:600;
    text-decoration:none;

    transition:.3s;
}

.ct-blog-readmore:hover{
    background:var(--ct-secondary);
    color:#fff;
    transform:translateY(-2px);
}


/*==================================================
BLOG SEARCH
==================================================*/

.ct-blog-search{
    display:flex;
    max-width:700px;
    margin:40px auto 55px;
}

.ct-blog-search input{
    flex:1;

    height:56px;
    padding:0 18px;

    background:#fff;
    border:1px solid rgba(122,30,30,.15);
    border-right:none;
    border-radius:14px 0 0 14px;

    font-size:16px;
    outline:none;

    transition:.3s;
}

.ct-blog-search input:focus{
    border-color:var(--ct-primary);
    box-shadow:0 0 0 4px rgba(122,30,30,.08);
}

.ct-blog-search button{
    width:150px;

    border:none;
    border-radius:0 14px 14px 0;

    background:var(--ct-primary);

    color:#fff;
    font-size:16px;

    cursor:pointer;
    transition:.3s;
}

.ct-blog-search button:hover{
    background:var(--ct-secondary);
}


/*==================================================
NO RESULTS
==================================================*/

.ct-no-results{
    grid-column:1/-1;

    padding:70px 20px;

    background:var(--ct-cream);
    border:1px solid rgba(122,30,30,.12);
    border-radius:18px;

    text-align:center;
}

.ct-no-results h3{
    margin-bottom:10px;

    color:var(--ct-primary);
    font-family:"Cormorant Garamond",serif;
    font-size:32px;
}

.ct-no-results p{
    color:#666;
    font-size:17px;
}
/*==================================================
BLOG SINGLE LAYOUT
==================================================*/

.ct-blog-wrapper{
    max-width:1140px;
    margin:60px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:2fr 1fr;
    gap:60px;

    align-items:start;
}

.ct-blog-main{
    min-width:0;
}


/*==================================================
BLOG SIDEBAR
==================================================*/

.ct-blog-sidebar{
    width:100%;
    position:sticky;
    top:120px;
}

.ct-blog-sidebar-inner{
    display:flex;
    flex-direction:column;
    gap:30px;
}


/*==================================================
SIDEBAR WIDGET
==================================================*/

.ct-sidebar-widget{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:24px;
}

.ct-widget-title{
    margin:0 0 20px;

    font-size:24px;
    font-weight:600;
    line-height:1.3;

    color:var(--ct-primary);
}


/*==================================================
RECENT POSTS
==================================================*/

.ct-recent-post{
    padding:20px 0;
    border-bottom:1px solid #ececec;
}

.ct-recent-post:last-child{
    border-bottom:none;
}

.ct-recent-date{
    display:inline-block;

    margin-bottom:15px;
    padding:6px 16px;

    background:#e7ddd3;
    border-radius:20px;

    color:#6c4a32;
    font-size:14px;
    font-weight:500;
}

.ct-recent-title{
    margin:0;

    font-size:20px;
    line-height:1.6;
}

.ct-recent-title a{
    color:#5b1d1d;
    text-decoration:none;
    transition:.3s;
}

.ct-recent-title a:hover{
    color:#9a2d2d;
}


/*==================================================
NEWSLETTER
==================================================*/

.ct-newsletter{
    padding:30px;

    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
}

.ct-newsletter .ct-widget-title{
    margin:0 0 15px;

    color:#3b2b23;
    font-size:28px;
    font-weight:600;
    line-height:1.3;
}

.ct-newsletter-text{
    margin:0 0 25px;

    color:#666;
    font-size:15px;
    line-height:1.8;
}

.ct-newsletter-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.ct-form-group{
    width:100%;
}

.ct-form-group input{
    width:100%;
    height:52px;
    padding:0 18px;

    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    box-sizing:border-box;

    color:#333;
    font-size:15px;

    transition:.3s;
}

.ct-form-group input::placeholder{
    color:#999;
}

.ct-form-group input:focus{
    outline:none;
    border-color:#8a1212;
    box-shadow:0 0 0 3px rgba(138,18,18,.10);
}

.ct-newsletter-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:140px;
    height:52px;
background:#8A0015 !important;
    color:#F2B91A!important;
   /* background:var(--ct-primary);*/
  

    border:none;
    border-radius:8px;

    font-size:16px !important;
    font-weight:800;
    text-decoration:none;

    cursor:pointer;
    transition:.3s ease;
}

.ct-newsletter-btn:hover{
   background:#FBF4E0 !important;
    color:#8A0015!important;
    transform:translateY(-2px);
     border:2px solid #8A0015;
    border-radius:12px;
}


/*==================================================
AUTHOR META
==================================================*/

.ct-author-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:35px;

    margin:20px 0 35px;
}

.ct-author-item{
    display:flex;
    align-items:center;
    gap:10px;

    color:#666;
    font-size:15px;
}

.ct-author-avatar img,
.ct-author-item img{
    width:40px;
    height:40px;

    border-radius:50%;
    object-fit:cover;
}

.ct-author-name{
    color:#444;
}


/*==================================================
AUTHOR SVG ICON
==================================================*/

.ct-meta-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    color:#8a1212;
    flex-shrink:0;
}

.ct-meta-icon svg{
    width:18px;
    height:18px;
}


/*==================================================
SIDEBAR SEARCH
==================================================*/

.ct-search-form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.ct-search-input{
    width:100%;
}

.ct-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:120px !important;
    height:52px;
    margin:0 auto;   /* Center the button */
     background:#8A0015 !important;
    color:#fff !important;
    border:2px solid #8A0015;
    border-radius:12px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.ct-btn:hover{
    background:#FBF4E0 !important;
    color:#8A0015 !important;
     border:2px solid #8A0015;
    border-radius:12px;

}

/*==================================================
TABLET (991px)
==================================================*/

@media (max-width:991px){

    /* Blog Grid */
    .ct-blog-grid{
        grid-template-columns:repeat(2,1fr);
        gap:24px;
    }

    /* Blog Card */
    .ct-blog-content{
        padding:22px;
    }

    .ct-blog-title{
        font-size:24px;
        min-height:auto;
    }

    .ct-blog-excerpt{
        min-height:auto;
    }

    /* Blog Single */
    .ct-blog-wrapper{
        grid-template-columns:1fr;
        gap:40px;
    }

    .ct-blog-sidebar{
        position:static;
    }

    /* Search Widget */
    .ct-search-input{
        height:50px;
        padding:0 18px;
        font-size:15px;
    }

  
    .ct-search-form .ct-btn{
        width:auto;
        min-width:130px;
    

}
}
/*==================================================
MOBILE (767px)
==================================================*/

@media (max-width:767px){

    /* Blog Grid */
    .ct-blog-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .ct-blog-image img{
        aspect-ratio:4/3;
    }

    .ct-blog-content{
        padding:20px;
    }

    .ct-blog-title{
        font-size:22px;
        min-height:auto;
    }

    .ct-blog-excerpt{
        min-height:auto;
    }

    .ct-blog-readmore{
        width:100%;
    }

    /* Newsletter */
    .ct-newsletter{
        padding:24px;
    }

    .ct-newsletter .ct-widget-title{
        font-size:24px;
    }

    /* Author */
    .ct-author-meta{
        gap:20px;
    }

    /* Search Widget */
    .ct-search-form{
        gap:12px;
    }

    .ct-search-input{
        height:48px;
        padding:0 16px;
        border-radius:24px;
        font-size:15px;
    }

    .ct-search-input::placeholder{
        font-size:14px;
    }

    .ct-search-form .ct-btn{
        width:auto;
        min-width:120px;
    }
    .ct-search-form .elementor-button{
    width:auto !important;
    min-width:140px;
    padding:12px 34px !important;
}

}