.certifications-page {
    min-height: calc(100vh - 220px);
    padding: 3rem 1.25rem 4rem;
    background: linear-gradient(160deg, #eef2f7 0%, #d8e0eb 100%);
}

.certifications-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d8dfeb;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    box-shadow: 0 24px 48px rgba(18, 29, 48, 0.14);
}

.certifications-shell .eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #647494;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.certifications-shell h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    color: #0f1b33;
    margin-bottom: 0.7rem;
}

.certifications-shell .lead {
    max-width: 72ch;
    color: #445570;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.certification-card {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 1.15rem;
    background: #f8fbff;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.certification-card h2 {
    font-size: 1.08rem;
    margin-bottom: 0;
    color: #1a2d4f;
}

.certification-card p {
    color: #4d607d;
    line-height: 1.65;
    margin-bottom: 0;
}

.certification-thumb-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d1dbeb;
    background: #e8eef7;
}

.certification-thumb {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.certification-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: #ffffff;
    background: #274878;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.certification-link:hover {
    background: #1d3760;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}
