/* ==========================================================================
   Equipo (sitio público): piezas comunes y perfil individual.
   El directorio (equipo.html) tiene su hoja propia, equipo-dir.css, que se
   carga después de esta y usa de aquí los chips, skeletons, botones eq-btn
   y el avatar con iniciales. Todo lo propio del módulo lleva el prefijo eq-.
   ========================================================================== */

:root {
    --eq-border: #e3e8ef;
    --eq-card-radius: 18px;
    --eq-chip-bg: #eef4fb;
    --eq-chip-text: #1f4e8c;
    --eq-ladum-bg: #f3f9ec;
    --eq-ladum-border: #d9ecc2;
    --eq-muted: #6b7f95;
    --eq-transition: 200ms ease;
}

/* ---------- Utilidades comunes ------------------------------------------ */

/* El atributo hidden debe ganar a cualquier display (grid, flex, sticky). */
[hidden] { display: none !important; }

.eq-card {
    background: var(--card-bg);
    border: 1px solid var(--eq-border);
    border-radius: var(--eq-card-radius);
    box-shadow: var(--shadow-sm);
    padding: 26px 28px;
}

.eq-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 800;
}

.eq-card__title i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--eq-chip-bg);
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.eq-card__title .eq-card__action {
    margin-left: auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
    white-space: nowrap;
}

.eq-card__title .eq-card__action:hover,
.eq-card__title .eq-card__action:focus-visible { text-decoration: underline; }

.eq-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.eq-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--eq-chip-bg);
    color: var(--eq-chip-text);
    border: 1px solid #dbe6f4;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
}

.eq-chip--small { padding: 4px 10px; font-size: 0.76rem; }

.eq-prose { color: var(--gray-text); line-height: 1.75; font-size: 0.98rem; }
.eq-prose p { margin: 0 0 12px; }
.eq-prose p:last-child { margin-bottom: 0; }

.eq-muted { color: var(--eq-muted); }

.eq-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.eq-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-blue), var(--primary-blue));
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    user-select: none;
}

/* Enlaces de texto (correo, sitio web) */
.eq-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}
.eq-link:hover, .eq-link:focus-visible { text-decoration: underline; }

/* Botones compactos: mismas formas que el sitio, tamaño de perfil */
.eq-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform var(--eq-transition), background var(--eq-transition), border-color var(--eq-transition), box-shadow var(--eq-transition);
}
.eq-btn:hover, .eq-btn:focus-visible { transform: translateY(-2px); }
.eq-btn--primary { background: var(--primary-blue); color: #fff; border-color: rgba(255,255,255,0.25); }
.eq-btn--primary:hover { background: var(--accent-blue); box-shadow: 0 10px 22px rgba(0,45,90,0.28); }
.eq-btn--light { background: #fff; color: var(--primary-blue); border-color: #fff; }
.eq-btn--light:hover { background: #f1f5fb; }
.eq-btn--outline { background: transparent; color: var(--primary-blue); border-color: rgba(0,45,90,0.25); }
.eq-btn--outline:hover { border-color: var(--primary-blue); background: rgba(0,45,90,0.04); }

/* Foco visible coherente en todo el módulo */
.eq-btn:focus-visible,
.eq-social__link:focus-visible, .eq-tabs__link:focus-visible, .eq-project-card:focus-visible,
.eq-link:focus-visible, .eq-inline-link:focus-visible {
    outline: 3px solid var(--emerald);
    outline-offset: 3px;
}

/* ---------- Skeletons ----------------------------------------------------- */

.eq-skeleton {
    position: relative;
    overflow: hidden;
    background: #e9eef5;
    border-radius: 8px;
    color: transparent !important;
}
.eq-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    animation: eq-shimmer 1.4s infinite;
}
@keyframes eq-shimmer { to { transform: translateX(100%); } }
.eq-skeleton--circle { border-radius: 50%; }
.eq-skeleton--line { height: 14px; margin: 8px 0; }
.eq-skeleton--line.w-40 { width: 40%; }
.eq-skeleton--line.w-60 { width: 60%; }
.eq-skeleton--line.w-80 { width: 80%; }
.eq-skeleton--block { height: 120px; border-radius: 12px; }

/* ==========================================================================
   PERFIL (perfil-equipo.html)
   ========================================================================== */

.eq-profile-hero {
    position: relative;
    color: #fff;
    padding: 150px 0 60px;
    background: var(--primary-blue);
    overflow: hidden;
    isolation: isolate;
}
.eq-profile-hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url('../images/admin/fondo_login.jpg');
    background-size: cover;
    background-position: center 40%;
}
.eq-profile-hero__bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(0,45,90,0.94) 0%, rgba(0,45,90,0.82) 45%, rgba(0,75,135,0.72) 100%);
}
.eq-profile-hero__inner {
    max-width: 1140px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
}
.eq-profile-hero__photo {
    width: 208px; height: 208px; border-radius: 50%;
    border: 5px solid #fff;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.eq-profile-hero__photo::before {
    content: '';
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(141,198,63,0.75);
    pointer-events: none;
}
.eq-profile-hero__photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: 50%;
}
.eq-profile-hero__photo .eq-avatar-initials { font-size: 3.4rem; }

.eq-profile-hero h1 {
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    line-height: 1.12;
    margin: 0 0 6px;
    color: #fff;
}
.eq-profile-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #e7f0fa;
    margin: 0 0 8px;
}
.eq-profile-hero__role { font-size: 1rem; color: rgba(255,255,255,0.85); margin: 0 0 12px; }
.eq-profile-hero__meta {
    list-style: none; padding: 0; margin: 0 0 20px;
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    color: rgba(255,255,255,0.78); font-size: 0.92rem; font-weight: 500;
}
.eq-profile-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.eq-profile-hero__meta i { color: var(--emerald); }

.eq-social { display: flex; flex-wrap: wrap; gap: 10px; }
.eq-social__link {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    color: var(--primary-blue);
    border: 3px solid rgba(255,255,255,0.35);
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform var(--eq-transition), box-shadow var(--eq-transition);
    position: relative;
}
.eq-social__link:hover, .eq-social__link:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
.eq-social__link--linkedin { background: #0a66c2; color: #fff; }
.eq-social__link--github { background: #1f2328; color: #fff; }
.eq-social__link--orcid { background: #a6ce39; color: #fff; }
.eq-social__link--scholar { background: #4285f4; color: #fff; }
.eq-social__link--researchgate { background: #00ccbb; color: #fff; }
.eq-social__link--website, .eq-social__link--institutional, .eq-social__link--other { background: var(--primary-blue); color: #fff; }
/* Tooltip sencillo con el nombre de la red */
.eq-social__link::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #0b1a2e;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--eq-transition), transform var(--eq-transition);
}
.eq-social__link:hover::after, .eq-social__link:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.eq-profile-hero__aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-end; max-width: 300px; }
.eq-profile-hero__quote {
    margin: 0;
    padding-top: 14px;
    position: relative;
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
}
.eq-profile-hero__quote::before { content: ''; position: absolute; top: 0; right: 0; width: 40px; height: 3px; background: var(--emerald); border-radius: 2px; }
.eq-profile-hero__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; width: 100%; }

.eq-card--quote { position: relative; background: #f8fafc; }
.eq-card--quote > i { color: #c9d6e6; font-size: 1.6rem; }
.eq-card--quote blockquote { margin: 8px 0 12px; font-style: italic; color: var(--dark-text); line-height: 1.65; font-size: 0.98rem; }
.eq-card--quote footer { text-align: right; color: var(--eq-muted); font-size: 0.86rem; font-weight: 600; }
.eq-profile-hero__actions .eq-btn { justify-content: center; }
.eq-profile-hero__actions:empty { display: none; }

/* Navegación interna */
.eq-tabs {
    background: #fff;
    border-bottom: 1px solid var(--eq-border);
    box-shadow: 0 6px 18px -12px rgba(0,45,90,0.35);
    position: sticky;
    top: 0;
    z-index: 900;
}
.eq-tabs__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.eq-tabs__inner::-webkit-scrollbar { display: none; }
.eq-tabs__link {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 16px 18px;
    color: var(--gray-text);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color var(--eq-transition), border-color var(--eq-transition), background var(--eq-transition);
}
.eq-tabs__link i { font-size: 0.85rem; opacity: 0.8; }
.eq-tabs__link:hover { color: var(--primary-blue); background: #f6f9fc; }
.eq-tabs__link.is-active { color: var(--primary-blue); border-bottom-color: var(--primary-blue); background: #f3f7fb; }

/* Distribución principal */
.eq-profile-layout {
    max-width: 1140px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
    padding-top: 26px;
    padding-bottom: 70px;
}
.eq-profile-main, .eq-profile-side { display: grid; gap: 22px; min-width: 0; }
.eq-profile-side { position: sticky; top: 76px; }

/* Anclas: dejan espacio para la barra pegajosa */
.eq-profile-main > section[id], .eq-profile-main > div[id] { scroll-margin-top: 78px; }

.eq-card--ladum { background: var(--eq-ladum-bg); border-color: var(--eq-ladum-border); }
.eq-card--ladum .eq-card__title i { background: #e2f1cf; color: #4c7a15; }
.eq-card--ladum .eq-prose { color: #3f5a2a; }

/* Áreas: mostrar subconjunto y «Ver todas» */
.eq-inline-link {
    background: transparent; border: 0; padding: 6px 4px; cursor: pointer;
    color: var(--accent-blue); font-weight: 700; font-size: 0.86rem; font-family: inherit;
}
.eq-inline-link:hover { text-decoration: underline; }

/* Información lateral */
.eq-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.eq-info-list li {
    display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: baseline;
    font-size: 0.9rem;
}
.eq-info-list dt, .eq-info-list .eq-info-list__label { color: var(--eq-muted); font-weight: 500; }
.eq-info-list dd, .eq-info-list .eq-info-list__value { margin: 0; color: var(--dark-text); font-weight: 600; word-break: break-word; }

/* Enlaces profesionales */
.eq-links-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eq-links-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; min-width: 0; }
.eq-links-list__icon {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 0.95rem;
}
.eq-links-list__body { min-width: 0; display: flex; flex-direction: column; }
.eq-links-list__label { font-size: 0.82rem; font-weight: 700; color: var(--dark-text); display: inline-flex; align-items: center; gap: 6px; }
.eq-links-list__label i { font-size: 0.68rem; color: var(--eq-muted); }
.eq-links-list__url { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Datos de interés */
.eq-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eq-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; align-items: baseline; }
.eq-facts li span:first-child { color: var(--eq-muted); flex-shrink: 0; }
.eq-facts li span:last-child { color: var(--dark-text); font-weight: 700; text-align: right; max-width: 62%; }

/* Proyectos en LADUM */
.eq-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .eq-projects { grid-template-columns: 1fr; } }
.eq-project-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--eq-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--eq-transition), box-shadow var(--eq-transition), border-color var(--eq-transition);
}
.eq-project-card:hover, .eq-project-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0,75,135,0.35); }
.eq-project-card__cover {
    aspect-ratio: 16 / 9;
    /* Las portadas suelen ser capturas de pantalla: se muestran desde arriba. */
    background: var(--light-bg) top center / cover no-repeat;
    border-bottom: 1px solid var(--eq-border);
    position: relative;
}
.eq-project-card__cover.is-empty { display: flex; align-items: center; justify-content: center; color: var(--accent-blue); font-size: 1.6rem; background: linear-gradient(135deg, #e9f0f8, #dfe9f4); }
.eq-project-card__badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,45,90,0.88); color: #fff;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 4px 9px; border-radius: 6px;
}
.eq-project-card__badge--external { background: rgba(141,198,63,0.95); color: #1c2f0a; }
.eq-project-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.eq-project-card h3 { font-size: 1rem; line-height: 1.35; color: var(--primary-blue); margin: 0; }
.eq-project-card__meta { font-size: 0.8rem; color: var(--eq-muted); font-weight: 600; }
.eq-project-card__desc {
    font-size: 0.86rem; color: var(--gray-text); line-height: 1.55; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.eq-project-card__cta { margin-top: auto; padding-top: 8px; color: var(--accent-blue); font-size: 0.86rem; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.eq-project-card__cta i { font-size: 0.75rem; }

/* Publicaciones (lista compacta) */
.eq-pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eq-pub {
    display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--eq-border);
    border-radius: 12px;
    text-decoration: none; color: inherit;
    transition: border-color var(--eq-transition), background var(--eq-transition);
}
.eq-pub:hover, .eq-pub:focus-visible { border-color: rgba(0,75,135,0.35); background: #f8fafc; }
.eq-pub__icon {
    width: 46px; height: 46px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--eq-chip-bg); color: var(--accent-blue); font-size: 1.05rem;
}
.eq-pub__body { display: flex; flex-direction: column; min-width: 0; }
.eq-pub__title { font-weight: 700; color: var(--primary-blue); font-size: 0.95rem; line-height: 1.35; margin: 0 0 3px; }
.eq-pub__meta { font-size: 0.8rem; color: var(--eq-muted); font-weight: 600; }
.eq-pub__cta { color: var(--eq-muted); font-size: 0.8rem; }
@media (max-width: 560px) { .eq-pub { grid-template-columns: 46px 1fr; } .eq-pub__cta { display: none; } }

/* Experiencia y formación */
.eq-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .eq-two-col { grid-template-columns: 1fr; } }

.eq-timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid #dbe4ee; display: grid; gap: 22px; }
.eq-timeline__item { position: relative; }
.eq-timeline__item::before {
    content: '';
    position: absolute; left: -29px; top: 5px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent-blue);
}
.eq-timeline__item.is-current::before { border-color: var(--emerald); background: var(--emerald); }
.eq-timeline__head { font-weight: 800; color: var(--primary-blue); font-size: 0.98rem; margin: 0; line-height: 1.35; }
.eq-timeline__org { color: var(--dark-text); font-weight: 600; font-size: 0.9rem; margin: 2px 0; }
.eq-timeline__dates { color: var(--eq-muted); font-size: 0.82rem; font-weight: 600; margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; }
.eq-timeline__dates .eq-chip--small { padding: 2px 8px; font-size: 0.68rem; background: #eaf5da; color: #3c6e0e; border-color: #d3e8b6; }
.eq-timeline__desc { color: var(--gray-text); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* Estados de página: carga / no encontrado */
.eq-state {
    max-width: 640px; margin: 0 auto; text-align: center; padding: 150px 20px 90px;
}
.eq-state > i { font-size: 2.6rem; color: var(--accent-blue); margin-bottom: 16px; }
.eq-state h1 { color: var(--primary-blue); font-size: 2rem; margin: 0 0 10px; }
.eq-state p { color: var(--gray-text); margin: 0 0 24px; }
.eq-state__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.eq-profile-hero--skeleton .eq-profile-hero__photo { background: #dfe6ef; border-color: rgba(255,255,255,0.6); }
.eq-profile-hero--skeleton .eq-skeleton { background: rgba(255,255,255,0.22); }
.eq-profile-hero--skeleton .eq-skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); }

/* ---------- Responsive perfil -------------------------------------------- */

@media (max-width: 1024px) {
    .eq-profile-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
    .eq-profile-hero { padding: 120px 0 44px; }
    .eq-profile-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 22px; justify-items: center; }
    .eq-profile-hero__photo { width: 168px; height: 168px; }
    .eq-profile-hero__meta { justify-content: center; }
    .eq-social { justify-content: center; }
    .eq-profile-hero__aside { max-width: none; align-items: center; }
    .eq-profile-hero__quote { text-align: center; }
    .eq-profile-hero__quote::before { right: auto; left: 50%; transform: translateX(-50%); }
    .eq-profile-hero__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .eq-profile-layout { grid-template-columns: 1fr; }
    .eq-profile-side { position: static; }
    .eq-tabs__link { padding: 14px 14px; }
}
@media (max-width: 560px) {
    .eq-card { padding: 20px 18px; }
    .eq-info-list li { grid-template-columns: 1fr; gap: 2px; }
    .eq-profile-hero__actions .eq-btn { flex: 1; }
}

/* Movimiento reducido: sin desplazamientos ni brillos */
@media (prefers-reduced-motion: reduce) {
    .eq-skeleton::after { animation: none; }
    .eq-btn, .eq-project-card, .eq-social__link, .eq-tabs__link, .eq-pub {
        transition: none !important;
    }
    .eq-btn:hover, .eq-project-card:hover, .eq-social__link:hover { transform: none; }
}

/* ---------- Compartir perfil ----------------------------------------------- */

.eq-share { position: relative; }
.eq-share .eq-btn { width: 100%; justify-content: center; }
/* Variante para el hero azul: borde y texto claros. */
.eq-btn--onblue { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); }
.eq-btn--onblue:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.eq-share__menu {
    position: absolute;
    right: 0;
    /* El hero recorta lo que sobresale: el menú se abre hacia arriba. */
    bottom: calc(100% + 8px);
    z-index: 30;
    min-width: 210px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--eq-border);
    box-shadow: 0 18px 38px -18px rgba(7, 43, 87, 0.45), 0 2px 6px rgba(7, 43, 87, 0.06);
    display: grid;
    gap: 2px;
}
.eq-share__menu[hidden] { display: none; }
.eq-share__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.eq-share__item i { width: 18px; text-align: center; color: var(--accent-blue); }
.eq-share__item:hover, .eq-share__item:focus-visible { background: #f1f5fb; }
.eq-share__item.is-done { color: #3F7A1E; }
.eq-share__item.is-done i { color: #3F7A1E; }

@media (max-width: 880px) {
    /* Los botones van en fila: el menú se ancla al borde derecho del botón
       para no salirse de la pantalla. */
    .eq-share__menu { right: 0; left: auto; transform: none; max-width: calc(100vw - 40px); }
}
