/*==========================================================
                BUILD ESTATE BLOG PAGE
==========================================================*/

.blog-section{
    background:#faf9f3;
    padding:90px 0;
}

/* Heading */

.heading-section .subheading{
    color:#d4ca68;
    font-size:14px;
    font-weight:700;
    letter-spacing:4px;
    text-transform:uppercase;
}

.heading-section h2{
    font-size:46px;
    font-weight:800;
    color:#1d2939;
    margin-bottom:18px;
}

/*==================================================
                BLOG CARD
==================================================*/

.blog-card{

    background:#fff;

    border:none;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    height:100%;

}

.blog-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}

/*=========================
        IMAGE
=========================*/

.blog-card-media{

    position:relative;

    height:250px;

    background-size:cover;

    background-position:center;

    transition:.4s;

}

.blog-card:hover .blog-card-media{

    transform:scale(1.05);

}

.blog-card-media::after{

    content:'';

    position:absolute;

    inset:0;

    background:linear-gradient(to top,rgba(0,0,0,.45),transparent);

}

/*=========================
        BODY
=========================*/

.blog-card-body{

    padding:28px;

}

.blog-date{

    color:#999;

    font-size:13px;

    font-weight:500;

}

.blog-title{

    font-size:24px;

    font-weight:700;

    color:#222;

    margin:14px 0;

    line-height:1.4;

}

.blog-title:hover{

    color:#d4ca68;

}

.blog-excerpt{

    color:#6b7280;

    font-size:15px;

    line-height:1.9;

}

/*=========================
        BUTTON
=========================*/

.blog-card .btn{

    background:#d4ca68;

    border:none;

    border-radius:30px;

    padding:10px 24px;

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.blog-card .btn:hover{

    background:#b5a94b;

    transform:translateY(-2px);

}

/* Share */

.blog-card a{

    color:#888;

    transition:.3s;

}

.blog-card a:hover{

    color:#d4ca68;

}

/*==================================================
            GRID
==================================================*/

.blog-grid-row{

    row-gap:30px;

}

/*==================================================
                PAGINATION
==================================================*/

.pagination{

    gap:10px;

}

.pagination .page-link{

    width:45px;

    height:45px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    border:none;

    color:#555;

    font-weight:600;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}

.pagination .page-item.active .page-link{

    background:#d4ca68;

    color:#fff;

}

.pagination .page-link:hover{

    background:#d4ca68;

    color:#fff;

}

/*==================================================
            MODAL
==================================================*/

.blog-modal .modal-content{

    border:none;

    border-radius:22px;

    overflow:hidden;

}

.blog-modal .modal-header{

    border:none;

    padding:25px 30px;

}

.blog-modal .modal-title{

    font-size:28px;

    font-weight:700;

}

.blog-modal .modal-body{

    padding:30px;

}

.blog-modal img{

    width:100%;

    border-radius:16px;

    max-height:450px;

    object-fit:cover;

    margin-bottom:25px;

}

.blog-modal .blog-meta{

    color:#999;

    margin-bottom:20px;

}

.blog-full-content{

    color:#555;

    line-height:2;

    font-size:16px;

}

.blog-modal .modal-footer{

    border:none;

    padding:20px 30px;

}

/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:991px){

.heading-section h2{

    font-size:38px;

}

.blog-card-media{

    height:220px;

}

}

@media(max-width:767px){

.blog-section{

    padding:60px 0;

}

.heading-section h2{

    font-size:30px;

}

.blog-card-media{

    height:200px;

}

.blog-card-body{

    padding:20px;

}

.blog-title{

    font-size:20px;

}

.blog-card .btn{

    width:100%;

    margin-bottom:12px;

}

.blog-card-body .d-flex{

    flex-direction:column;

    align-items:flex-start!important;

}

.pagination{

    justify-content:center;

}

.pagination .page-link{

    width:40px;

    height:40px;

}

.blog-modal .modal-body{

    padding:20px;

}

.blog-modal img{

    max-height:250px;

}

}

/*=========================================
            BLOG MODAL
==========================================*/

.blog-modal .modal-dialog{

    max-width:1050px;

}

.blog-modal .modal-content{

    border:none;

    border-radius:20px;

    overflow:hidden;

    background:#fff;

    box-shadow:0 25px 70px rgba(0,0,0,.20);

}

/*=========================
        HERO IMAGE
=========================*/

.blog-modal-image-wrap{

    position:relative;

    height:420px;

    overflow:hidden;

}

.blog-modal-image-wrap img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.blog-modal-image-wrap::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,.15),
        transparent
    );

}

/*=========================
      CLOSE BUTTON
=========================*/

.blog-modal-close{

    position:absolute;

    right:20px;

    top:20px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(8px);

    color:#fff;

    font-size:28px;

    cursor:pointer;

    z-index:5;

    transition:.3s;

}

.blog-modal-close:hover{

    background:#d4ca68;

}

/*=========================
        OVERLAY
=========================*/

.blog-modal-overlay{

    position:absolute;

    left:40px;

    right:40px;

    bottom:40px;

    z-index:3;

    color:#fff;

}

.blog-badge{

    display:inline-block;

    background:#d4ca68;

    color:#fff;

    padding:7px 18px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

    margin-bottom:18px;

}

.blog-modal-overlay h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:12px;

    line-height:1.3;

}

.blog-modal-meta{

    font-size:15px;

    opacity:.9;

}

/*=========================
      CONTENT
=========================*/

.blog-modal .modal-body{

    padding:45px;

}

.blog-full-content{

    color:#555;

    font-size:17px;

    line-height:2;

}

.blog-full-content img{

    max-width:100%;

    border-radius:14px;

    margin:25px 0;

}

/* headings */

.blog-full-content h1,
.blog-full-content h2,
.blog-full-content h3,
.blog-full-content h4{

    color:#222;

    margin-top:35px;

    margin-bottom:15px;

}

/* paragraphs */

.blog-full-content p{

    margin-bottom:18px;

}

/* list */

.blog-full-content ul{

    padding-left:20px;

}

.blog-full-content li{

    margin-bottom:10px;

}

/*=========================
      SCROLLBAR
=========================*/

.blog-modal .modal-body::-webkit-scrollbar{

    width:8px;

}

.blog-modal .modal-body::-webkit-scrollbar-thumb{

    background:#d4ca68;

    border-radius:20px;

}

/*=========================
      RESPONSIVE
=========================*/

@media(max-width:991px){

.blog-modal-image-wrap{

    height:320px;

}

.blog-modal-overlay{

    left:25px;

    right:25px;

    bottom:25px;

}

.blog-modal-overlay h2{

    font-size:30px;

}

.blog-modal .modal-body{

    padding:30px;

}

}

@media(max-width:767px){

.blog-modal .modal-dialog{

    margin:10px;

}

.blog-modal-image-wrap{

    height:220px;

}

.blog-modal-overlay{

    left:18px;

    right:18px;

    bottom:18px;

}

.blog-modal-overlay h2{

    font-size:22px;

}

.blog-badge{

    font-size:11px;

    padding:6px 14px;

}

.blog-modal-meta{

    font-size:13px;

}

.blog-modal .modal-body{

    padding:20px;

}

.blog-full-content{

    font-size:15px;

    line-height:1.8;

}

.blog-modal-close{

    width:38px;

    height:38px;

    font-size:24px;

    right:12px;

    top:12px;

}

}