/* css/blogs.css */

/* Dark Theme Global Adjustments */
body {
    background-color: #000;
}

/* Reusing title-wrapper styles from news.css */
.title-wraper {
    display: flex;
    height: 340px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    background-color: #000;
}

.title-wraper h1 {
    font-size: clamp(24px, -4px + 2.1875vw, 38px);
    font-weight: 400;
    letter-spacing: .11em;
    line-height: 1.16;
    text-transform: uppercase;
    color: #D5D1CC;
    /* Updated to requested color */
}

.title-wraper p {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
    width: 100%;
    max-width: 500px;
    text-align: center;
    color: #D5D1CC;
    /* Updated to requested color */
    opacity: 0.8;
}

/* Main Container */
.blog-main-container {
    padding: 100px 0;
    background-color: #000;
    /* Dark background */
}

/* Common Card Elements */
.blog-card {
    overflow: hidden;
    transition: all 0.5s ease;
}

.full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Featured Blog Styling */
.featured-blog {
    border-bottom: 1px solid #ffffff1a;
    /* Subtle border for dark theme */
    padding-bottom: 80px;
}

.blog-img-box {
    overflow: hidden;
    position: relative;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.9);
    /* Slightly darker images for luxury feel */
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.05);
    filter: brightness(1);
}

.blog-card.featured .blog-img-box {
    height: 60vh;
}

.category-tag {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #D5D1CC;
    /* Contrast for dark theme */
    color: #000;
    padding: 6px 15px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 5;
}

/* Blog Date Styles (Luxury News Style) */
.post-date {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #D5D1CC;
    z-index: 5;
    font-size: 70px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
    background: #00000061;
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 10px;
}

.post-date span {
    /* font-family: 'TT Drugs', sans-serif; */
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    width: 65px;
    border-bottom: 1px solid #D5D1CC59;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.post-date.small-date {
    font-size: 45px;
    left: 15px;
    top: 15px;
    background: #00000061;
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 10px;
}

.post-date.small-date span {
    font-size: 9px;
    width: 44px;
}

.blog-text-box {
    padding: 40px 10px 40px 10px;
}

.blog-card.featured h2 {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #D5D1CC;
    /* Updated to requested color */
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-card.featured p {
    font-size: 18px;
    color: #D5D1CC;
    /* Updated to requested color */
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.7;
}

.read-more {
    font-size: 12px;
    color: #D5D1CC;
    /* Updated to requested color */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    border-bottom: 1px solid #D5D1CC;
    padding-bottom: 5px;
    display: inline-block;
}

/* Grid Blog Styling */
.blog-img-box.small {
    height: 350px;
}

.blog-text-box.small h3 {
    font-size: 18px;
    color: #D5D1CC;
    /* Updated to requested color */
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 75px;
}

.blog-card:hover h3 {
    color: #fff;
}

.blog-text-box.small p {
    font-size: 16px;
    color: #D5D1CC;
    /* Updated to requested color */
    line-height: 1.6;
    height: 75px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 25px;
    opacity: 0.7;
}

/* Pagination */
.pagination-container {
    text-align: center;
}

.load-more-btn {
    display: inline-block;
    padding: 18px 45px;
    border: 1px solid #D5D1CC;
    /* Updated to requested color */
    color: #D5D1CC;
    /* Updated to requested color */
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 4px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.load-more-btn:hover {
    background: #D5D1CC;
    color: #000;
}

.blog-card .blog-text-box {
    padding-left: 40px;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-card.featured .blog-img-box {
        height: 40vh;
    }

    .blog-text-box {
        padding: 40px 20px;
    }

    .blog-card.featured h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .title-wraper {
        height: 340px;
        padding-bottom: 20px;
    }

    .blog-img-box.small {
        height: 280px;
    }

    .blog-main-container {
        padding: 60px 0;
    }

    .title-wraper p {
        padding: 0 50px;
    }

    .blog-card.featured h2 {
        font-size: 22px;
    }

    .blog-text-box {
        padding: 20px 16px !important;
    }
}