/* PILL (los cuadros de la home) */
.pill a {
    display: block;
    transition: transform 0.2s ease, outline 0.2s ease;
}

.pill a:hover {
    transform: scale(1.03);
    outline: none;
}

.pill a:focus {
    outline: 3px solid #6aa1ab;
    outline-offset: 4px;
    border-radius: 8px;
    box-shadow: 0 0 0 4px rgba(232, 137, 51, 0.3);
}


/* PANEL HEADING (título del acordeón como 'Autor/a') */
.panel-heading a {
    display: block;
    transition: transform 0.2s ease, outline 0.2s ease, background 0.2s ease;
}

.panel-heading a:focus,
.panel-heading a:hover {
    transform: scale(1.06);
    font-weight: 600;
    color: #000;
    outline: none;
}


/* ENLACES DENTRO DEL PANEL-BODY (autores individuales) */
.panel-body a {
    display: inline-block;
    transition: transform 0.2s ease, outline 0.2s ease;
}

.panel-body a:hover {
    transform: scale(1.02);
    outline: none;
    background: none;
}

.panel-body a:focus {
    outline: 2px solid #e88933;
    outline-offset: 2px;
    border-radius: 4px;
    background-color: #fdf4e3;
    text-decoration: none;
    color: #000; /* texto negro para contraste */
}

.media-heading a {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
    transform-origin: left;
    position: relative;
    z-index: 10;
    font-weight: bold; /* asegura que siempre está en bold */
}

.media-heading a:hover,
.media-heading a:focus {
    transform: scale(1.06);
    color: #000;
    outline: none;
    /* no pongas font-weight aquí */
}