/* -------------------------------------------------
   Other certifications list
   ------------------------------------------------- */
.other-cert-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 700px;
}

.other-cert-item {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    color: var(--text);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: color 0.2s, text-shadow 0.2s;
    border-bottom: 1px dashed var(--text-alt);
}

.other-cert-item:last-child {
    border-bottom: none;
}

.other-cert-item:hover {
    color: #ff3333;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.7);
}

/* ------------------------------------------------------------------
   Refined field certification archive
   ------------------------------------------------------------------ */
.other-certifications-main {
    min-height: 100vh;
    padding: 2.5rem 1.25rem 5rem;
}

.other-certifications-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.other-certifications-directory {
    padding: 1.2rem;
    border: 1px solid color-mix(in srgb, var(--text) 38%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--text) 7%, transparent), var(--bg));
}

.other-cert-list {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    max-width: none;
    margin: 0;
}

.other-cert-item,
.other-cert-item:last-child {
    padding: 1rem 0.9rem;
    border: 1px solid transparent;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.2s, border-color 0.2s, background 0.2s, text-shadow 0.2s, transform 0.2s;
}

.other-cert-item:hover,
.other-cert-item:focus-visible {
    border-color: color-mix(in srgb, var(--text) 50%, transparent);
    background: color-mix(in srgb, var(--text) 9%, transparent);
    color: var(--text);
    text-shadow: 0 0 8px var(--glow);
    outline: none;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .other-certifications-main {
        padding: 2rem 0.8rem 3rem;
    }

    .other-certifications-directory {
        padding: 1rem;
    }

    .other-cert-item,
    .other-cert-item:last-child {
        padding: 0.95rem 0.7rem;
        font-size: 0.86rem;
    }
}