@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'Basics Serif Free';
    src: url('./assets/font/basics_serif/Basics\ Serif\ -\ Free.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: url(./assets/images/printed-bg.png);
}

.banner-header {
    background: linear-gradient(to top, #FFFFFF 0%, #E4B0A0 74.04%, #DFA391 85.72%, #DA947F 100%);
    text-align: center;
    color: white;
    height: 300px;
}

.banner-head {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Basics Serif Free';
}

.banner-header .banner-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

.banner-header .banner-breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.blog-headings {
    text-align: center;
    margin-top: 3rem;
}

.blog-head-1 {
    font-size: 18px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 3px;
}

.blog-head-2 {
    font-size: 30px;
    font-family: 'Basics Serif Free', serif;
    font-weight: 400;
    padding-bottom: 2%;
}

.top-blogs {
    padding: 20px 0 60px;
}

.top-blogs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;

}

.top-blog-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.top-blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}

.top-blog-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: white;
}

.top-blog-title {
    font-family: 'Basics Serif Free', serif;
    font-size: 20px;
    width: 50%;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.top-blog-title-right {
    font-family: 'Basics Serif Free', serif;
    font-size: 20px;
    width: 70%;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.top-blog-date {

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.top-blog-btn {
    display: inline-block;
    background-color: #7B3F50;
    color: white;
    width: auto;
    padding: 2% 3%;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.top-blog-btn:hover {
    background-color: #5a2d3a;
    color: white;
}

.top-blog-large {
    grid-row: span 2;
    min-height: 500px;
}

.top-blog-small {
    min-height: 246px;
}

.top-blog-small .top-blog-title {
    font-size: 26px;
}

.top-blog-small .top-blog-content {
    bottom: 30px;
    left: 30px;
    right: 30px;
}



.blog-list {
    padding: 60px 0;
}

.blog-list-heading {
    font-family: 'Basics Serif Free', serif;
    font-size: 34px;
    font-weight: 400;
    color: #000;
    margin-bottom: 40px;
}

.blog-card {
    background: transparent;
}

.blog-card-img {
    overflow: hidden;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    margin-bottom: 20px;
}

.blog-card-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 0;
}

.blog-card-title {
    font-family: 'Basics Serif Free', serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-date {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #E4956F;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.blog-card-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-btn {
    display: inline-block;
    background-color: #7B3F50;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.blog-card-btn:hover {
    background-color: #5a2d3a;
    color: white;
}


@media (max-width: 992px) {
    .blog-list-heading {
        font-size: 34px;
    }

    .blog-card-title {
        font-size: 22px;
    }

    .top-blogs-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .top-blog-large {
        grid-row: span 1;
        min-height: 400px;
    }

    .top-blog-small {
        min-height: 350px;
    }

    .top-blog-title {
        font-size: 28px;
        width: 100%;
    }

    .top-blog-small .top-blog-title {
        font-size: 24px;
    }

    .banner-header {
        background: linear-gradient(to top, #FFFFFF 0%, #E4B0A0 74.04%, #DFA391 85.72%, #DA947F 100%);
        text-align: center;
        color: white;
        height: 350px;
    }

    .banner-head {
        font-size: 20px;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.7;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Basics Serif Free';
    }
}

@media (max-width: 576px) {
    .blog-list {
        padding: 40px 0;
    }

    .blog-list-heading {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .blog-card-img img {
        height: 220px;
    }

    .blog-card-title {
        font-size: 16px;
    }

    .blog-card-btn {
        padding: 10px 22px;
        font-size: 13px;
    }

    .top-blog-large,
    .top-blog-small {
        min-height: 300px;
    }

    .top-blog-content {
        bottom: 25px;
        left: 20px;
        right: 20px;
    }

    .top-blog-title {
        font-size: 18px;
        line-height: 1.7;
        width: 100%;
    }

    .top-blog-title-right {
        font-size: 18px;
        width: 100%;
    }

    .top-blog-small .top-blog-title {
        font-size: 10px;
    }

    .top-blog-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .banner-header {
        background: linear-gradient(to top, #FFFFFF 0%, #E4B0A0 74.04%, #DFA391 85.72%, #DA947F 100%);
        text-align: center;
        color: white;
        height: 250px;
    }

    .banner-head {
        font-size: 20px;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.7;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Basics Serif Free';
    }
}