/* ============================================================
   GS Certificados — Estilos frontend
   ============================================================ */

/* ---------- Lista (shortcode) ---------- */
.gs-cert-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gs-cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    flex-wrap: wrap;
}

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

.gs-cert-link {
    font-size: 1rem;
    font-weight: 600;
    color: #4a8108;
    text-decoration: none;
    transition: color .2s;
    flex: 1;
}

.gs-cert-link:hover {
    color: #89cc36;
    text-decoration: underline;
}

/* Badge estado */
.gs-cert-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.gs-cert-badge--certificado,
.gs-cert-badge--proceso {
    background-color: #fff8e1;
    color: #856404;
    border: 1px solid #ffc107;
}

.gs-cert-badge--acreditacion {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

/* Enlace PDF en lista */
.gs-cert-pdf {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .85rem;
    color: #4a8108;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #89cc36;
    border-radius: 50px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.gs-cert-pdf:hover {
    background-color: #89cc36;
    color: #fff;
    text-decoration: none;
}

/* ---------- Single ---------- */
.gs-cert-hero {
    padding: 60px 0;
}

.gs-cert-titulo {
    font-size: 2rem;
    font-weight: 800;
    color: #89cc36;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.separator-verde {
    border: none;
    border-top: 3px solid #89cc36;
    width: 60px;
    margin: 16px 0 24px;
}

.gs-cert-descripcion {
    margin-bottom: 24px;
    line-height: 1.7;
}

.gs-cert-btn-pdf {
    display: inline-flex;
    align-items: center;
    background-color: #89cc36;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s;
}

.gs-cert-btn-pdf:hover {
    background-color: #aadd6b;
}

.gs-cert-imagen img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.gs-cert-volver {
    color: #4a8108;
    font-weight: 600;
    text-decoration: none;
}

.gs-cert-volver:hover {
    text-decoration: underline;
}

/* Breadcrumb nav (fallback) */
.gs-cert-breadcrumb {
    padding: 10px 0;
    font-size: .875rem;
    color: rgba(255,255,255,.7);
}

.gs-cert-breadcrumb a {
    color: #89cc36;
    text-decoration: none;
}

.gs-cert-breadcrumb a:hover {
    text-decoration: underline;
}

/* Empty state */
.gs-cert-empty {
    color: #666;
    font-style: italic;
}
