/* =========================================================
   GLOBAL SERVICE PAGE BASE
   ========================================================= */
.blogs-page {
    font-family: 'Lora', sans-serif;
    color: #111;
    line-height: 1.7;
    font-size: 18px;
}

/* =========================================================
   UNIVERSAL SECTION SPACING
   ========================================================= */
.blogs-page .section {
    padding: 80px 0; /* top + bottom */
}

.blogs-page .section-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* left + right padding */
}

.blogs-page h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #1D2E5C;
}

/* =========================================================
   GRID SYSTEM 
   ========================================================= */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.blogs-grid .blogs-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.blogs-grid .blogs-card:hover {
    transform: translateY(-10px);
    border-color: #1D2E5C;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* BLOG CARD */
.blog-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #1D2E5C;
}

/* CONTENT */
.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 16px;
    opacity: 0.85;
}

/* ARROW */
.blog-arrow {
    font-size: 28px;
    font-weight: 700;
    color: #1D2E5C;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;
}

.blog-card:hover .blog-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================
   FOOTER
   ========================================================= */
.blogs-page .footer {
    background: #1D2E5C;
    color: white;
    padding: 40px 60px;
}

.blogs-page .disclaimer {
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   MOBILE RESPONSIVE FIX – BLOGS PAGE
   ========================================================= */
@media (max-width: 900px) {

    /* Base scale */
    .blogs-page {
        font-size: 16px;
    }

    /* Section spacing */
    .blogs-page .section {
        padding: 60px 0;
    }

    /* Headings */
    .blogs-page h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    /* Grid becomes single column */
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Blog cards */
    .blog-card {
        padding: 20px;
        flex-direction: column;
        gap: 16px;
    }

    .blog-content h3 {
        font-size: 18px;
    }

    .blog-content p {
        font-size: 15px;
    }

    /* Keep arrow visible on mobile (no hover on touch devices) */
    .blog-arrow {
        opacity: 1;
        transform: none;
        align-self: flex-end;
    }

}
