/* ===============================
   BLOGS PAGE BASE
================================ */
.blogs-page {
    background: radial-gradient(circle at top, #0036ff33, #002aaaff 75%);
    padding: 70px 0;
    min-height: 100vh;
}

/* PAGE TITLE */
.blogs-page-title {
    text-align: center;
    font-size: clamp(30px, 4vw, 44px);
    color: #FFD700;
    margin-bottom: 50px;
    font-weight: 800;
    text-shadow:
        0 0 14px rgba(255,215,0,0.6),
        0 0 26px rgba(255,215,0,0.35);
}

/* ===============================
   GRID WRAPPER (OVERRIDES BOOTSTRAP)
================================ */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding: 0 28px;          /* left-right spacing */
}

/* IMPORTANT: kill bootstrap column behavior */
.blogs-grid > div[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* ===============================
   BLOG TILE
================================ */
.blog-tile {
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
    position: relative;
}

/* Hover Glow */
.blog-tile:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 0 1px rgba(255,215,0,0.45),
        0 22px 50px rgba(0,42,175,0.55),
        0 0 30px rgba(255,215,0,0.45);
}

/* ===============================
   IMAGE (FIXED HEIGHT)
================================ */
.blog-tile-image {
    width: 100%;
    height: 260px;            /* fixed thumbnail height */
    overflow: hidden;
    background: #eee;
}

.blog-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ===============================
   CONTENT
================================ */
.blog-tile-content {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 12.5px;
    color: #666;
    margin-bottom: 6px;
}

/* TITLE WITH GLOW */
.blog-title {
    font-size: 18px;
    font-weight: 800;
    color: #002aaf;
    margin-bottom: 8px;
    line-height: 1.35;
    text-shadow:
        0 0 10px rgba(255,215,0,0.55),
        0 0 18px rgba(255,215,0,0.25);
}

/* FIXED EXCERPT HEIGHT */
.blog-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: #333;
    margin-bottom: 16px;
    flex-grow: 1;
    overflow: hidden;
}

/* ===============================
   READ MORE BUTTON
================================ */
.blog-read-more {
    align-self: flex-start;
    padding: 9px 22px;
    background: linear-gradient(135deg, #FFD700, #ffcc00);
    color: #002aaf;
    font-weight: 800;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(255,215,0,0.45);
}

.blog-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(255,215,0,0.85);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}
