﻿@import url("../../main-colors.css");

.single-blog-page {
    background-color: var(--light-background-color);
}

.blog-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 2.1;
    color: #333;
}

.blog-text {
    text-align: justify;
}

.blog-main-img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    transition: transform 0.5s;
}

    .blog-main-img:hover {
        transform: scale(1.04);
    }

.blog-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.blog-image-overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
}

.custom-list {
    padding-right: 20px;
    margin: 1.5rem 0;
}

    .custom-list li {
        margin-bottom: 12px;
        position: relative;
    }

        .custom-list li::marker {
            color: var(--secondary-color);
        }

.btn-readmore {
    background: var(--secondary-color);
    color: #212529;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

    .btn-readmore:hover {
        background: #e6b800;
        transform: translateX(-8px);
    }

.blog-card:hover {
    transform: translateY(-10px);
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 50%;
        width: 80px;
        height: 5px;
        background: var(--secondary-color);
        border-radius: 3px;
    }

@media (max-width: 992px) {
    .blog-main-img {
        height: 50vh;
    }

    .blog-main-title {
        font-size: 2.2rem;
    }

    .order-lg-1, .order-lg-2 {
        order: initial !important;
    }
}
