.blogs {
    position: relative;
    z-index: 0;
}

/* ===== Background ===== */
.blogs::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/section-bg-rec-circle.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
    opacity: .15;
    z-index: -1;
}

.blogs .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Row ===== */
.blogs .row {
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 40px;
}

/* ===== Right Column ===== */
.blogs .col-right {
    width: 28%;
}

.blogs .col-right .top-quote {
    background-color: var(--primaryColor);
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 35px;
    color: var(--white);
}

.blogs .col-right h2 {
    margin: 30px 0;
    font-size: 25px;
    font-weight: 700;
}

.blogs .col-right p {
    margin: 30px 0;
    font-size: 17px;
}

.blogs .col-right .btn {
    background-color: var(--primaryColor);
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
}

/* ===== Left Column ===== */
.blogs .col-left {
    width: 68%;
    overflow: hidden;
}

/* ===== Slider ===== */
.blogs-cards {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* ===== Blog Card ===== */
.blog-card {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    flex-direction: column;
    background-color: #F9F9F9;
    height: 500px;               /* ⭐ طول موحد */
    border-radius: 20px;
    overflow: hidden;
}

/* ===== Image ===== */
.blog-card .blog-img {
    height: 300px;               /* ⭐ صورة ثابتة */
    position: relative;
    flex-shrink: 0;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category */
.blog-img .blog-category {
    position: absolute;
    top: 15%;
    right: 5%;
    background-color: var(--primaryColor);
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 10px;
    color: var(--white);
}

/* ===== Content ===== */
.blog-card .blog-title {
    flex: 1;                     /* ⭐ يملأ المساحة */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.blog-title .day {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primaryColor);
    padding: 10px 25px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
}

.blog-title .year {
    margin-top: 30px;
}

.blog-title h2 {
    transition: color .3s ease;
    color: var(--primaryColor);

}

.blog-title h2:hover {
    color: var(--primaryColor);
}

/* Button always bottom */
.blog-title .btn {
    margin-top: auto;
    background-color: var(--primaryColor);
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
    width: fit-content;
}

/* ===== Responsive ===== */
@media (max-width: 1003px) {
    .blogs .col-right,
    .blogs .col-left {
        width: 100%;
        text-align: center;
    }

    .blog-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 767px) {
    .blogs .col-right h2 {
        font-size: 24px;
    }

    .blog-card {
        height: 480px;           /* ⭐ نفس الطول للموبايل */
    }
}
