/* ===============================
   BLOG PAGE STYLES
================================= */

/* 1. Hero Section */
.blog-hero {
    height: 97vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.blog-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.mobile-banner {
    display: none;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.blog-hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding-left: 5%;
}

.blog-hero-title {
    font-size: 30px;
    color: var(--clr-white);
    line-height: 30px;
    font-weight: 400;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 2px;
}

.blog-hero-title span {

    display: block;
    margin-top: 10px;
    font-weight: 600;
}

/* 2. Blog Listing Section */
.blog-listing-section {
    padding: 100px 0 60px 0;
    background-color: var(--clr-dark);
}

.blog-section-title {
    text-align: center;
    margin-bottom: 80px;
}

.blog-section-title h2 {
    color: var(--clr-white);
    font-size: 32px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* 3. Blog Item */
.blog-item:not(:last-child) {
    margin-bottom: 100px;
}

/* Alternating layout for every second item */
.blog-item:nth-child(even) {
    flex-direction: row-reverse;
}

.blog-image-box {
    overflow: hidden;
}

.blog-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-base);
}

.blog-item:hover .blog-image-box img {
    transform: scale(1.05);
}

.blog-content-box {
    padding-left: 50px;
    /* Space from image when text is on right */
}

/* When text is on the left (even items) */
.blog-item:nth-child(even) .blog-content-box {
    padding-left: 0;
    padding-right: 50px;
    /* Space from image when text is on left */
}

.blog-title {
    font-size: 30px;
    color: var(--clr-white);
    line-height: 1.3;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-meta {
    font-size: 13px;
    color: var(--clr-white-60);
    margin-bottom: 25px;
    letter-spacing: 1.8px;
}

.blog-excerpt {
    font-size: 16px;
    color: var(--clr-white-75);
    margin-bottom: 30px;
    line-height: 1.8;
    letter-spacing: 1.8px;
}

.read-more-link {
    color: var(--clr-gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 4. Responsive */
@media (max-width: 1300px) {
    .blog-hero {
        height: 85vh;
    }

    .blog-hero-title {
        font-size: 28px;
    }

    .blog-title {
        font-size: 26px;
    }

    .blog-item:not(:last-child) {
        margin-bottom: 80px;
    }

    .blog-content-box {
        padding-left: 30px;
    }

    .blog-item:nth-child(even) .blog-content-box {
        padding-right: 30px;
    }
}

@media (max-width: 1024px) {
    .blog-hero {
        height: 75vh;
    }

    .blog-hero-title {
        font-size: 26px;
        line-height: 28px;
    }

    .blog-title {
        font-size: 22px;
    }

    .blog-listing-section {
        padding: 80px 0 40px;
    }

    .blog-item:not(:last-child) {
        margin-bottom: 60px;
    }
}

@media (max-width: 991px) {
    .blog-hero-overlay {
        display: none;
    }

    .blog-item {
        margin-bottom: 60px;
    }

    .blog-hero {
        height: 65vh;
    }

    .blog-hero-title {
        font-size: 28px;
    }

    .blog-title {
        font-size: 24px;
    }

    .blog-content-box,
    .blog-item:nth-child(even) .blog-content-box {
        padding: 20px 0 0 15px !important;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }

    .blog-hero {
        height: 55vh;
    }

    .blog-hero-title {
        font-size: 24px;
        line-height: 26px;
    }

    .blog-listing-section {
        padding: 60px 0 30px;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        height: 50vh;
    }

    .blog-hero-title {
        font-size: 22px;
        line-height: 24px;
    }

    .blog-section-title {
        margin-bottom: 40px;
    }

    .blog-section-title h2 {
        font-size: 22px;
    }
}

/* Blog Details Page */
.blog-details-banner {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    display: block;
}

.blog-details-content-section {
    padding: 80px 0;
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

.blog-details-header {
    margin-bottom: 60px;
}

.blog-details-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-white);
}

.blog-main-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--clr-white-75);
    letter-spacing: 0.8px;
}

.blog-main-content p {
    margin-bottom: 30px;
}

.blog-main-content ol,
.blog-main-content ul {
    margin-bottom: 40px;
    padding-left: 20px;

}

.blog-main-content ol p,
.blog-main-content ul p {
    margin-left: -17px;
}

.blog-main-content li {
    margin-bottom: 30px;
}

.blog-main-content li strong {
    display: block;
    color: #fff;
    font-size: 19px;
    margin-bottom: 5px;

}

@media (max-width: 991px) {
    .blog-details-banner {
        height: 45vh;
    }

    .blog-details-title {
        font-size: 28px;
    }

    .blog-main-content {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .blog-details-banner {
        height: 35vh;
    }

    .blog-details-title {
        font-size: 24px;
    }

    .blog-details-content-section {
        padding: 50px 0;
    }
}