/* ============================================================
   Credence Grid — 1282_credence_grid
   Prefix: .ow-about-certs-
   ============================================================ */

.ow-about-certs-section {
    padding: 88px 0;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}
.ow-about-certs-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}
.ow-about-certs-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 44px;
}
.ow-about-certs-note {
    font-size: .81rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 300px;
    text-align: right;
    flex-shrink: 0;
    margin: 0;
}
.ow-about-certs-eyebrow {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
}
.ow-about-certs-eyebrow::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #E8193C;
    flex-shrink: 0;
}
.ow-about-certs-title {
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.07;
    color: #111827;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin: 0;
}
.ow-about-certs-title em {
    font-style: normal;
    color: #E8193C;
}

/* ── Grid ─────────────────────────────────────────────────── */

.ow-about-certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ── Card ─────────────────────────────────────────────────── */

.ow-about-cert {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    transition: border-color .16s, transform .16s, box-shadow .16s;
}
.ow-about-cert:hover,
.ow-about-cert:focus-visible {
    border-color: #d1d5db;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
}

/* ── Frame link wrapper ───────────────────────────────────── */

.ow-about-cert-frame-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ── Frame ────────────────────────────────────────────────── */

.ow-about-cert-frame {
    aspect-ratio: 1145 / 1600;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}
.ow-about-cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
/* Placeholder fallback keeps the decorative parchment look */
.ow-about-cert-frame:has(.ow-about-cert-placeholder) {
    background: linear-gradient(135deg, #f7f3ea 0%, #ede7d5 100%);
}
.ow-about-cert-frame:has(.ow-about-cert-placeholder)::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(200, 168, 75, .28);
    border-radius: 2px;
    pointer-events: none;
}
.ow-about-cert-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.ow-about-cert-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(200, 168, 75, .12);
    border: 1.5px solid rgba(200, 168, 75, .3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ow-about-cert-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: rgba(140, 110, 50, .6);
    stroke-width: 1.6;
    stroke-linecap: round;
}
.ow-about-cert-doc-title {
    font-size: .68rem;
    font-weight: 700;
    color: rgba(110, 85, 35, .6);
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.4;
}

/* ── Zoom hint ────────────────────────────────────────────── */

.ow-about-zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s;
}
.ow-about-zoom-hint svg {
    width: 13px;
    height: 13px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}
.ow-about-cert:hover .ow-about-zoom-hint {
    opacity: 1;
}

/* ── Card body ────────────────────────────────────────────── */

.ow-about-cert-body {
    padding: 16px 18px 18px;
}
.ow-about-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #003a66;
    background: #eef4fb;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 9px;
}
.ow-about-cert-badge svg {
    width: 9px;
    height: 9px;
    stroke: #003a66;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}
.ow-about-cert-title {
    font-size: .88rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 5px;
    margin-top: 0;
}
.ow-about-cert-desc {
    font-size: .75rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}
.ow-about-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: .73rem;
    font-weight: 700;
    color: #003a66;
    transition: gap .13s;
    text-decoration: none;
}
.ow-about-cert-link:hover {
    gap: 7px;
}
.ow-about-cert-link svg {
    width: 9px;
    height: 9px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 880px) {
    .ow-about-certs-top {
        flex-direction: column;
        gap: 12px;
    }
    .ow-about-certs-note {
        text-align: left;
    }
    .ow-about-certs-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .ow-about-certs-grid {
        grid-template-columns: 1fr;
    }
}
