/* =========================
   BLOG SECTION
========================= */

.blogs-section {
    padding: 40px 0 80px 0;
}

.page-banner {
    margin-bottom: 60px;
}


/* =========================
   GRID LAYOUT
========================= */

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================
   BLOG CARD
========================= */

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3eaf2;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    height: 100%;

    transition: all 0.3s ease;
}

/* Hover Effect */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Golden Top Line */
.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #d4af37;
    transition: 0.3s;
}

.blog-card:hover::before {
    width: 100%;
}


/* =========================
   IMAGE
========================= */

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s;
}

.blog-card:hover img {
    transform: scale(1.05);
}


/* =========================
   DATE BADGE
========================= */

.blog-date-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;

    background: #0b2c4d;
    color: white;

    padding: 8px 16px;
    font-size: 13px;

    border-radius: 4px;
}


/* =========================
   CONTENT
========================= */

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


/* TITLE */

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #0b2c4d;

    margin-bottom: 12px;
    line-height: 1.4;

    text-transform: uppercase;
    transition: 0.3s;
}

.blog-card:hover .blog-title {
    color: #d4af37;
}


/* DESCRIPTION */

.blog-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    flex-grow: 1;
}


/* BUTTON */

.blog-btn {
    margin-top: auto;

    display: inline-block;
    background: #0b2c4d;
    color: #ffffff;

    padding: 10px 20px;
    border-radius: 6px;

    font-size: 14px;
    text-decoration: none;

    transition: all 0.3s ease;
}

.blog-btn:hover {
    background: #d4af37;
    color: white;
}


/* =========================
   PAGINATION
========================= */

.pagination {
    margin-top: 50px;
    text-align: center;
}

.page-number,
.page-btn {
    display: inline-block;
    padding: 10px 16px;
    margin: 5px;

    border-radius: 6px;
    text-decoration: none;

    color: #0b2c4d;
    border: 1px solid #e3eaf2;

    transition: 0.3s;
}

.page-number:hover,
.page-btn:hover {
    background: #0b2c4d;
    color: white;
}

.page-number.active {
    background: #0b2c4d;
    color: white;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}