/*
RUTA: wwwroot/css/components/collection.css
----------------------------------------------------------
Wegmüller Freelancer - Componentes comunes de colecciones
Qué hace:
- Centraliza la presentación compartida de páginas de colección.
- Usa únicamente la paleta/tokens globales definidos en site.css.
- Define cabecera, historia, métricas, secciones, tarjetas, acciones y visor.
- No contiene estructura propia de una colección concreta.
Última modificación: 2026-09-15 - H20 piloto Pokémon / subnavegación común
----------------------------------------------------------
*/

.wf-collection-page {
    position: relative;
    z-index: 0;
    padding: 1rem 1rem 2.25rem;
    color: var(--wf-text);
    background: transparent !important;
    scroll-margin-top: 6rem;
}

.wf-collection-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .55fr);
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.15rem;
    margin-bottom: 1.05rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: var(--wf-radius-panel);
    background: var(--wf-panel-glow), var(--wf-panel-bg) !important;
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-hero-copy,
.wf-collection-hero-media {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
}

.wf-collection-hero-copy {
    padding: 1.35rem;
    border: 1px solid var(--wf-border-soft);
    background: var(--wf-card-bg);
}

.wf-collection-eyebrow,
.wf-collection-section-kicker {
    margin: 0 0 .34rem;
    color: var(--wf-title-soft);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.wf-collection-title {
    margin: 0 0 .65rem;
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(2rem, 3.25vw, 3.05rem);
    line-height: 1.03;
    font-weight: 800;
    text-shadow: var(--wf-heading-shadow);
}

.wf-collection-subtitle {
    margin: 0 0 .8rem;
    color: var(--wf-text);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.wf-collection-history,
.wf-collection-description {
    max-width: 64rem;
    margin-bottom: 1.05rem;
    color: var(--wf-text);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.01rem;
    line-height: 1.56;
    text-align: justify;
}

.wf-collection-history p {
    margin: 0 0 .78rem;
}

.wf-collection-history p:last-child {
    margin-bottom: 0;
}

.wf-collection-hero-media {
    min-height: 19rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--wf-border-soft);
    background: var(--wf-card-bg);
}

.wf-collection-hero-image {
    width: min(100%, 23rem);
    max-height: 18rem;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    filter: drop-shadow(0 1rem 1.2rem rgba(23, 63, 109, .15));
}

.wf-collection-logo-wrap {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 4.8rem;
    height: 4.8rem;
    padding: .45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wf-border-soft);
    border-radius: 999px;
    background: var(--wf-panel-title-bg);
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wf-collection-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: .65rem;
}

.wf-collection-metric {
    min-width: 0;
    padding: .72rem .55rem;
    border: 1px solid var(--wf-blue-border);
    border-radius: 1rem;
    background: var(--wf-count-bg);
    text-align: center;
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-metric-count,
.wf-collection-metric-label {
    display: block;
}

.wf-collection-metric-count {
    color: var(--wf-blue-3);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
}

.wf-collection-metric-label {
    margin-top: .22rem;
    color: var(--wf-text-soft);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wf-collection-section {
    margin-top: 1.05rem;
    padding: 1rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: var(--wf-radius-panel);
    background: var(--wf-panel-bg) !important;
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-section-heading {
    margin-bottom: 1rem;
    padding: .75rem 1rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: 1.1rem;
    background: var(--wf-panel-glow), var(--wf-panel-title-bg);
}

.wf-collection-section-heading h2 {
    margin: 0;
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.28rem, 1.9vw, 1.75rem);
    font-weight: 800;
    line-height: 1.12;
    text-shadow: var(--wf-heading-shadow);
}

.wf-collection-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--wf-border-soft) !important;
    border-radius: var(--wf-radius-card) !important;
    background: var(--wf-card-bg) !important;
    box-shadow: var(--wf-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wf-collection-card:hover,
.wf-collection-card:focus-within {
    transform: translateY(-2px);
    border-color: var(--wf-border) !important;
    box-shadow: var(--wf-shadow);
}

.wf-collection-card::before {
    content: "";
    position: absolute;
    inset: .32rem;
    border: 1px solid rgba(216, 174, 69, .2);
    border-radius: 1.25rem;
    pointer-events: none;
}

.wf-collection-card-title {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    min-height: 3.4rem;
    margin: 0;
    padding: .68rem .58rem .52rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(.9rem, 1.05vw, 1.08rem);
    font-weight: 800;
    line-height: 1.16;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-shadow: var(--wf-heading-shadow);
}

.wf-collection-card-title::after {
    content: "✦";
    position: absolute;
    left: 50%;
    bottom: -.18rem;
    transform: translateX(-50%);
    color: var(--wf-gold-2);
    font-size: .62rem;
}

.wf-image-zoom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 1.4rem);
    min-height: 11.4rem;
    margin: .62rem .7rem .8rem;
    padding: .55rem;
    border: 1px solid var(--wf-blue-border);
    border-radius: 1.05rem;
    background: var(--wf-button-bg);
    box-shadow: inset 0 0 0 1px var(--wf-border-soft);
    cursor: zoom-in;
}

.wf-image-zoom:focus-visible {
    outline: 3px solid var(--wf-focus);
    outline-offset: 3px;
}

.wf-collection-item-image {
    width: auto;
    max-width: 100%;
    max-height: 10.8rem;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 .8rem 1rem rgba(23, 63, 109, .15));
    transition: transform .16s ease, filter .16s ease;
}

.wf-image-zoom-card-front,
.wf-image-zoom-card-back,
.wf-image-zoom-card {
    min-height: 12.4rem;
}

.wf-collection-item-image-card-front,
.wf-collection-item-image-card-back,
.wf-collection-item-image-card {
    max-height: 11.7rem;
}

.wf-image-zoom:hover .wf-collection-item-image,
.wf-image-zoom:focus-visible .wf-collection-item-image {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 1rem 1.15rem rgba(23, 63, 109, .20));
}

.wf-collection-actions {
    margin-top: 1.4rem;
    display: flex;
    justify-content: center;
}

.wf-collection-back-button {
    min-width: 16rem;
    padding: .72rem 1.6rem;
    border: 1px solid var(--wf-blue-border);
    border-radius: 999px;
    color: var(--wf-title) !important;
    background: var(--wf-button-bg);
    font-weight: 850;
    letter-spacing: .02em;
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-back-button:hover,
.wf-collection-back-button:focus {
    border-color: var(--wf-border-strong);
    color: var(--wf-link-hover) !important;
    box-shadow: var(--wf-shadow);
}

/* Visor global Bootstrap ---------------------------------------------------- */

.wf-image-modal {
    --bs-modal-zindex: 3000;
}

.wf-image-modal-dialog {
    width: min(70rem, calc(100vw - 2rem));
    max-width: 70rem;
}

.wf-image-modal-content {
    overflow: hidden;
    border: 1px solid var(--wf-border-soft);
    border-radius: 1.35rem;
    background: var(--wf-panel-bg);
    box-shadow: var(--wf-shadow-strong);
}

.wf-image-modal-header {
    border-bottom: 1px solid var(--wf-border-soft);
    background: var(--wf-panel-title-bg);
}

.wf-image-modal-title {
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.22rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.12;
}

.wf-image-modal-close {
    flex: 0 0 auto;
}

.wf-image-modal-body {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--wf-panel-glow), var(--wf-card-bg);
}

.wf-image-modal-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 8.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: .8rem;
    box-shadow: var(--wf-shadow-soft);
}

html[data-theme="dark"] .wf-collection-section {
    background: var(--wf-card-bg) !important;
}

html[data-theme="dark"] .wf-collection-hero-image,
html[data-theme="dark"] .wf-collection-logo,
html[data-theme="dark"] .wf-collection-item-image {
    filter: drop-shadow(0 .85rem 1rem rgba(0, 0, 0, .30));
}

html[data-theme="dark"] .wf-image-modal-close {
    filter: invert(1) grayscale(100%) brightness(180%);
}

@media only screen and (max-width: 991.98px) {
    .wf-collection-hero {
        grid-template-columns: 1fr;
    }

    .wf-collection-hero-media {
        min-height: 15rem;
    }
}

@media only screen and (max-width: 575.98px) {
    .wf-collection-page {
        padding-inline: .55rem;
    }

    .wf-collection-hero,
    .wf-collection-section {
        padding: .8rem;
    }

    .wf-collection-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wf-collection-card-title {
        white-space: normal;
    }

    .wf-image-modal-dialog {
        width: calc(100vw - 1rem);
        margin: .5rem auto;
    }

    .wf-image-modal-image {
        max-height: calc(100vh - 7.5rem);
    }
}

/* H7 · Componentes reutilizables para colecciones con grupos/tabs ----------- */

.wf-collection-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1rem;
    padding: .55rem .85rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: 999px;
    color: var(--wf-text-soft);
    background: var(--wf-button-bg);
    box-shadow: var(--wf-shadow-soft);
    font-size: .9rem;
    font-weight: 750;
}

.wf-collection-breadcrumb a {
    color: var(--wf-link);
    text-decoration: none;
}

.wf-collection-breadcrumb a:hover,
.wf-collection-breadcrumb a:focus-visible {
    color: var(--wf-link-hover);
    text-decoration: underline;
}

.wf-collection-section-heading > p:not(.wf-collection-section-kicker) {
    margin: .5rem auto 0;
    color: var(--wf-text-soft);
    line-height: 1.5;
}

.wf-collection-group-menu {
    max-width: 72rem;
    margin: 0 auto 1.35rem;
    padding: 1rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: 1.2rem;
    background: var(--wf-card-bg);
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-group-menu-hint {
    margin: 0 0 .75rem;
    color: var(--wf-text-soft);
    font-size: .95rem;
    font-weight: 750;
    text-align: center;
}

.wf-collection-group-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
}

.wf-collection-group-tab {
    display: inline-grid;
    gap: .12rem;
    min-width: min(100%, 10.5rem);
    padding: .62rem .82rem;
    border: 1px solid var(--wf-blue-border);
    border-radius: .95rem;
    color: var(--wf-title);
    background: var(--wf-button-bg);
    box-shadow: var(--wf-shadow-soft);
    text-align: center;
    cursor: pointer;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.wf-collection-group-tab:hover,
.wf-collection-group-tab:focus-visible {
    transform: translateY(-2px);
    border-color: var(--wf-border-strong);
    box-shadow: var(--wf-shadow);
    outline: 3px solid var(--wf-focus);
    outline-offset: 2px;
}

.wf-collection-group-tab.is-active {
    border-color: var(--wf-border-strong);
    color: var(--wf-shell-text);
    background: var(--wf-shell-bg);
    box-shadow: var(--wf-shadow);
}

.wf-collection-group-tab-title,
.wf-collection-group-tab-count {
    display: block;
}

.wf-collection-group-tab-title {
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.wf-collection-group-tab-count {
    font-size: .72rem;
    font-weight: 750;
    opacity: .84;
}

.wf-collection-group[hidden] {
    display: none !important;
}

.wf-collection-group {
    margin: 1.35rem 0 .35rem;
}

.wf-collection-group-heading {
    max-width: 58rem;
    margin: 0 auto 1rem;
    text-align: center;
}

.wf-collection-group-heading h3 {
    margin: 0;
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.12rem, 1.55vw, 1.4rem);
    font-weight: 800;
}

.wf-collection-card-title-compact {
    min-height: 3.25rem;
    padding-inline: .62rem;
    font-size: clamp(.82rem, .95vw, .98rem);
}

.wf-collection-card-assets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .45rem .45rem .8rem;
}

.wf-collection-card-assets-count-2,
.wf-collection-card-assets-count-3 {
    display: grid;
    align-items: stretch;
}

.wf-collection-card-assets-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wf-collection-card-assets-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wf-collection-card-assets .wf-image-zoom {
    width: 100%;
    margin: 0;
}

.wf-collection-info,
.wf-collection-notes {
    margin-top: 1.05rem;
    padding: 1rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: var(--wf-radius-panel);
    background: var(--wf-panel-bg);
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
}

.wf-collection-info-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: 1.1rem;
    background: var(--wf-card-bg);
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-info-card h3 {
    margin: 0 0 .65rem;
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 800;
}

.wf-collection-info-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto .85rem;
    border-radius: .8rem;
}

.wf-collection-info-text p,
.wf-collection-notes li {
    color: var(--wf-text-soft);
    line-height: 1.5;
}

.wf-collection-notes ul {
    margin: 0;
}

@media only screen and (max-width: 575.98px) {
    .wf-collection-card-assets-count-3 {
        grid-template-columns: 1fr;
    }
}

/* H10 · Hub / línea temporal reutilizable ---------------------------------- */

.wf-collection-timeline {
    margin-top: 1.05rem;
}

.wf-collection-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.wf-collection-timeline-card {
    min-width: 0;
    min-height: 100%;
}

.wf-collection-timeline-link {
    display: grid;
    grid-template-rows: auto auto 1fr;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: var(--wf-radius-card);
    color: var(--wf-text);
    background: var(--wf-card-bg);
    box-shadow: var(--wf-shadow-soft);
    text-decoration: none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.wf-collection-timeline-link:hover,
.wf-collection-timeline-link:focus-visible {
    transform: translateY(-3px);
    border-color: var(--wf-border-strong);
    color: var(--wf-text);
    box-shadow: var(--wf-shadow);
    outline: 3px solid var(--wf-focus);
    outline-offset: 3px;
}

.wf-collection-timeline-marker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;
}

.wf-collection-timeline-order {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    flex: 0 0 2.3rem;
    border: 1px solid var(--wf-blue-border);
    border-radius: 999px;
    color: var(--wf-shell-text);
    background: var(--wf-shell-bg);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: .95rem;
    font-weight: 900;
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-timeline-year {
    color: var(--wf-title-soft);
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .03em;
}

.wf-collection-timeline-image-wrap {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / .72;
    margin-bottom: .9rem;
    padding: .5rem;
    overflow: hidden;
    border: 1px solid var(--wf-border-soft);
    border-radius: 1rem;
    background: var(--wf-button-bg);
}

.wf-collection-timeline-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: .7rem;
    filter: drop-shadow(0 .65rem .85rem rgba(23, 63, 109, .14));
}

.wf-collection-timeline-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wf-collection-timeline-title {
    margin: 0;
    color: var(--wf-title);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.18;
    text-align: center;
    text-shadow: var(--wf-heading-shadow);
}

.wf-collection-timeline-subtitle {
    margin: .45rem 0 0;
    color: var(--wf-text-soft);
    font-size: .9rem;
    line-height: 1.35;
    text-align: center;
}

.wf-collection-timeline-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: .85rem;
}

.wf-collection-timeline-metric {
    display: inline-flex;
    align-items: baseline;
    gap: .3rem;
    padding: .34rem .52rem;
    border: 1px solid var(--wf-blue-border);
    border-radius: 999px;
    background: var(--wf-count-bg);
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-timeline-metric-count {
    color: var(--wf-blue-3);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: .92rem;
    font-weight: 900;
}

.wf-collection-timeline-metric-label {
    color: var(--wf-text-soft);
    font-size: .7rem;
    font-weight: 800;
    text-transform: lowercase;
}

html[data-theme="dark"] .wf-collection-timeline-image {
    filter: drop-shadow(0 .65rem .85rem rgba(0, 0, 0, .3));
}

@media only screen and (max-width: 991.98px) {
    .wf-collection-timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 575.98px) {
    .wf-collection-timeline-grid {
        grid-template-columns: 1fr;
    }
}

/* H12 · Recursos múltiples por ficha --------------------------------------- */

.wf-collection-asset {
    display: grid;
    width: 100%;
    min-width: 0;
    align-content: start;
    gap: .28rem;
}

.wf-collection-asset-label {
    display: block;
    min-width: 0;
    color: var(--wf-text-soft);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    text-transform: lowercase;
}

.wf-collection-card-assets .wf-collection-asset .wf-image-zoom {
    margin: 0;
}

.wf-collection-card-assets .wf-collection-asset .wf-collection-item-image {
    max-height: 10.2rem;
}

/* H12b · Presentación vertical de recursos asociados ---------------------- */

.wf-collection-card-assets.wf-collection-card-assets-stacked {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.wf-collection-card-assets-stacked .wf-collection-asset {
    width: 100%;
}

.wf-collection-card-assets-stacked .wf-image-zoom {
    min-height: 10.5rem;
}

.wf-collection-card-assets-stacked .wf-collection-item-image {
    max-height: 11.5rem;
}

.wf-collection-card-assets-stacked .wf-collection-asset-label {
    margin-top: .1rem;
}

/* H15a2 · Hub Gormiti: imágenes de timeline completas -------------------- */

.wf-collection-timeline-image-wrap.wf-collection-timeline-image-wrap-hub {
    aspect-ratio: auto;
    min-height: 13.5rem;
    align-items: center;
    padding: .75rem;
}

.wf-collection-timeline-image-hub {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 14.5rem;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .wf-collection-timeline-image-wrap.wf-collection-timeline-image-wrap-hub {
        min-height: 11.5rem;
    }

    .wf-collection-timeline-image-hub {
        max-height: 12.5rem;
    }
}

/* H20 · Navegación secundaria común de familia ---------------------------- */

.wf-collection-subnav {
    margin: 0 0 1rem;
    padding: .75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: var(--wf-radius-panel);
    background: var(--wf-panel-bg);
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-subnav-link {
    padding: .5rem .82rem;
    border: 1px solid var(--wf-border-soft);
    border-radius: 999px;
    color: var(--wf-link);
    background: var(--wf-button-bg);
    font-size: .88rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: var(--wf-shadow-soft);
}

.wf-collection-subnav-link:hover,
.wf-collection-subnav-link:focus-visible,
.wf-collection-subnav-link.is-active {
    border-color: var(--wf-border-strong);
    color: var(--wf-title);
    text-decoration: none;
    outline: 3px solid var(--wf-focus);
    outline-offset: 2px;
}

.wf-collection-actions {
    flex-wrap: wrap;
    gap: .7rem;
}

/* H23a · Marco uniforme para imágenes de hub ------------------------------- */

.wf-collection-timeline-image-wrap.wf-collection-timeline-image-wrap-hub.wf-collection-timeline-image-wrap-uniform {
    height: 14.5rem;
    min-height: 14.5rem;
}

.wf-collection-timeline-image-hub.wf-collection-timeline-image-uniform {
    width: auto;
    height: 12.5rem;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .wf-collection-timeline-image-wrap.wf-collection-timeline-image-wrap-hub.wf-collection-timeline-image-wrap-uniform {
        height: 12.5rem;
        min-height: 12.5rem;
    }

    .wf-collection-timeline-image-hub.wf-collection-timeline-image-uniform {
        height: 10.5rem;
    }
}
