/*
 * JaimeDiaz.TV
 * Centro Multimedia — Clean Experience V1
 *
 * No depende de jd-multimedia.css.
 * No utiliza clases jdm-*.
 */

.jdx-detail,
.jdx-detail *,
.jdx-detail *::before,
.jdx-detail *::after {
    box-sizing: border-box;
}

.jdx-detail {
    width: min(
        calc(100% - 48px),
        1180px
    );

    margin-inline: auto;
    padding: 34px 0 76px;

    color: #182238;
}

.jdx-detail img,
.jdx-detail iframe,
.jdx-detail video {
    display: block;
    max-width: 100%;
}

.jdx-detail a {
    color: inherit;
    text-decoration: none;
}

/* Hero */

.jdx-hero {
    position: relative;

    width: 100%;
    height: 350px;

    overflow: hidden;

    border-radius: 20px;
    background: #071f27;

    box-shadow:
        0 24px 58px rgba(13, 48, 56, 0.16);
}

.jdx-hero__background,
.jdx-hero__shade {
    position: absolute;
    inset: 0;
}

.jdx-hero__background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jdx-hero__shade {
    background:
        linear-gradient(
            90deg,
            rgba(4, 24, 30, 0.96) 0%,
            rgba(4, 24, 30, 0.8) 38%,
            rgba(4, 24, 30, 0.18) 76%,
            rgba(4, 24, 30, 0.03) 100%
        );
}

.jdx-hero__content {
    position: relative;
    z-index: 2;

    width: min(570px, 62%);
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 22px 34px 28px;

    color: #fff;
}

.jdx-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: fit-content;

    color: rgba(255, 255, 255, 0.74);
    font-size: 0.65rem;
    font-weight: 700;
}

.jdx-hero__body {
    margin-top: auto;
}

.jdx-hero__eyebrow,
.jdx-section__eyebrow {
    display: block;

    margin-bottom: 7px;

    color: #d8a332;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jdx-hero h1 {
    margin: 0;

    color: #fff;
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.jdx-hero__navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 14px;
}

.jdx-hero__navigation a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 0.6rem;
}

/* Contenido */

.jdx-detail__content {
    display: grid;
    gap: 56px;

    padding-top: 48px;
}

.jdx-section {
    width: 100%;
    min-width: 0;
}

.jdx-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 18px;
    padding-bottom: 15px;

    border-bottom: 1px solid rgba(13, 48, 56, 0.1);
}

.jdx-section__header h2 {
    margin: 0;

    color: #17233c;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.jdx-section__header p {
    max-width: 620px;

    margin: 7px 0 0;

    color: #667085;
    font-size: 0.74rem;
    line-height: 1.5;
}

/* Video */

.jdx-videos__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(260px, 0.7fr);

    gap: 18px;
}

.jdx-player {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 16px;
    background: #02070a;
}

.jdx-player iframe,
.jdx-player video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

/* Fotografías */

.jdx-photo-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 90px;
    grid-auto-flow: dense;

    gap: 10px;
}

.jdx-photo {
    position: relative;

    grid-column: span 4;
    grid-row: span 3;

    overflow: hidden;

    border-radius: 14px;
    background: #071f27;
}

.jdx-photo:first-child {
    grid-column: span 8;
    grid-row: span 6;
}

.jdx-photo:nth-child(4),
.jdx-photo:nth-child(5) {
    grid-column: span 6;
    grid-row: span 4;
}

.jdx-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Responsive */

@media (max-width: 860px) {
    .jdx-videos__layout {
        grid-template-columns: 1fr;
    }

    .jdx-photo-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .jdx-photo,
    .jdx-photo:nth-child(n) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .jdx-photo:first-child {
        grid-column: span 6;
        grid-row: span 4;
    }
}

@media (max-width: 620px) {
    .jdx-detail {
        width: calc(100% - 28px);
        padding-top: 20px;
    }

    .jdx-hero {
        height: 410px;
    }

    .jdx-hero__content {
        width: 100%;
        padding: 20px 18px;
    }

    .jdx-hero__shade {
        background:
            linear-gradient(
                0deg,
                rgba(4, 24, 30, 0.98),
                rgba(4, 24, 30, 0.7) 64%,
                rgba(4, 24, 30, 0.08)
            );
    }

    .jdx-section__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .jdx-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 120px;
        gap: 8px;
    }

    .jdx-photo,
    .jdx-photo:nth-child(n) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .jdx-photo:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* =========================================================
   Clean Experience — componentes funcionales
   ========================================================= */

.jdx-hero__description {
    max-width: 510px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    line-height: 1.5;
}

.jdx-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.jdx-hero__stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 27px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(4,24,30,.72);
    font-size: .58rem;
    font-weight: 750;
}

.jdx-section__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jdx-section__count {
    color: #667085;
    font-size: .66rem;
    font-weight: 750;
    white-space: nowrap;
}

.jdx-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding: 8px 11px;
    border-radius: 8px;
    background: #103d47;
    color: #fff !important;
    font-size: .63rem;
    font-weight: 800;
}

.jdx-videos__information {
    padding-top: 14px;
}

.jdx-videos__information > span {
    color: #a56d12;
    font-size: .59rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jdx-videos__information h3 {
    margin: 5px 0 0;
    color: #17233c;
    font-size: 1.08rem;
}

.jdx-videos__description {
    margin: 7px 0 0;
    color: #667085;
    font-size: .72rem;
    line-height: 1.5;
}

.jdx-video-playlist {
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(13,48,56,.08);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(13,48,56,.07);
}

.jdx-video-playlist__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px 11px;
    border-bottom: 1px solid rgba(13,48,56,.08);
}

.jdx-video-playlist__header strong {
    font-size: .76rem;
}

.jdx-video-playlist__header span {
    color: #667085;
    font-size: .59rem;
}

.jdx-video-item {
    appearance: none;
    width: 100%;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid rgba(13,48,56,.08);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.jdx-video-item:last-child {
    border-bottom: 0;
}

.jdx-video-item.is-active {
    background: rgba(244,115,33,.09);
}

.jdx-video-item__thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #071f27;
}

.jdx-video-item__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jdx-video-item__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(4,24,30,.18);
}

.jdx-video-item__duration {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 3px 5px;
    border-radius: 5px;
    background: rgba(4,24,30,.88);
    color: #fff;
    font-size: .5rem;
}

.jdx-video-item__content {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.jdx-video-item__content strong {
    color: #17233c;
    font-size: .7rem;
    line-height: 1.25;
}

.jdx-video-item__content small {
    color: #667085;
    font-size: .55rem;
}

.jdx-photo img {
    position: absolute;
    inset: 0;
}

.jdx-photo__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 42px 12px 11px;
    background: linear-gradient(
        0deg,
        rgba(4,24,30,.9),
        rgba(4,24,30,0)
    );
    color: #fff;
}

.jdx-photo__overlay small,
.jdx-photo__overlay strong,
.jdx-photo__caption {
    display: block;
}

.jdx-photo__overlay small {
    opacity: .68;
    font-size: .51rem;
    text-transform: uppercase;
}

.jdx-photo__overlay strong {
    margin-top: 3px;
    font-size: .7rem;
}

.jdx-photo__caption {
    margin-top: 4px;
    opacity: .75;
    font-size: .58rem;
}

.jdx-empty {
    padding: 50px 24px;
    border: 1px solid rgba(13,48,56,.08);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.jdx-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(2,10,14,.96);
    color: #fff;
}

.jdx-lightbox::backdrop {
    background: rgba(2,10,14,.96);
}

.jdx-lightbox figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 44px 72px;
}

.jdx-lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 100px);
    object-fit: contain;
}

.jdx-lightbox figcaption {
    position: fixed;
    right: 70px;
    bottom: 20px;
    left: 70px;
    text-align: center;
    font-size: .75rem;
}

.jdx-lightbox__close,
.jdx-lightbox__previous,
.jdx-lightbox__next {
    position: fixed;
    z-index: 3;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
}

.jdx-lightbox__close {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
}

.jdx-lightbox__previous,
.jdx-lightbox__next {
    top: 50%;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    transform: translateY(-50%);
}

.jdx-lightbox__previous {
    left: 18px;
}

.jdx-lightbox__next {
    right: 18px;
}

html.jdx-lightbox-open {
    overflow: hidden;
}

@media (max-width: 620px) {
    .jdx-section__actions {
        width: 100%;
        justify-content: space-between;
    }

    .jdx-lightbox figure {
        padding: 54px 14px;
    }

    .jdx-lightbox figcaption {
        right: 14px;
        left: 14px;
    }
}


/* =========================================================
   Multimedia Experience — Gallery & Player Polish V1
   ========================================================= */

/* ---------------------------------------------------------
   Reproductor
   --------------------------------------------------------- */

.jdx-videos__layout {
    align-items: start;
}

.jdx-videos__main {
    min-width: 0;
}

.jdx-player {
    isolation: isolate;
    border: 1px solid rgba(13, 48, 56, 0.08);
    background:
        radial-gradient(
            circle at 50% 45%,
            #113943,
            #02070a 72%
        );
    box-shadow:
        0 20px 46px rgba(13, 48, 56, 0.15),
        0 5px 14px rgba(13, 48, 56, 0.07);
}

.jdx-player iframe,
.jdx-player video {
    z-index: 2;
    opacity: 1;
    transition:
        opacity 180ms ease,
        transform 240ms ease;
}

.jdx-player iframe.is-leaving,
.jdx-player video.is-leaving {
    opacity: 0;
    transform: scale(0.988);
}

.jdx-player iframe.is-entering,
.jdx-player video.is-entering {
    animation: jdx-player-enter 260ms ease both;
}

.jdx-player__loader {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(3, 18, 23, 0.95),
            rgba(8, 45, 54, 0.92)
        );

    color: rgba(255, 255, 255, 0.78);
    font-size: 0.64rem;
    font-weight: 750;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.jdx-player.is-loading .jdx-player__loader {
    opacity: 1;
    visibility: visible;
}

.jdx-player__spinner {
    width: 30px;
    height: 30px;

    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: #fff;
    border-radius: 50%;

    animation: jdx-spin 750ms linear infinite;
}

/* Playlist más integrada */

.jdx-video-playlist {
    position: sticky;
    top: 110px;
}

.jdx-video-item {
    min-height: 78px;

    transition:
        background 180ms ease,
        transform 180ms ease;
}

.jdx-video-item:hover {
    background: rgba(16, 61, 71, 0.055);
}

.jdx-video-item.is-active {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(244, 115, 33, 0.13),
            rgba(244, 115, 33, 0.045)
        );
}

.jdx-video-item.is-active::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;

    width: 3px;

    border-radius: 0 4px 4px 0;
    background: #d89d28;

    content: "";
}

/* ---------------------------------------------------------
   Mosaico fotográfico
   --------------------------------------------------------- */

.jdx-photo-grid {
    grid-auto-rows: 84px;
    gap: 11px;
}

.jdx-photo {
    isolation: isolate;
    border: 1px solid rgba(13, 48, 56, 0.08);

    box-shadow:
        0 10px 26px rgba(13, 48, 56, 0.1),
        0 2px 7px rgba(13, 48, 56, 0.04);

    transform: translateY(0);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

/* Ritmo más equilibrado */

.jdx-photo:nth-child(1) {
    grid-column: span 8;
    grid-row: span 6;
}

.jdx-photo:nth-child(2),
.jdx-photo:nth-child(3) {
    grid-column: span 4;
    grid-row: span 3;
}

.jdx-photo:nth-child(4),
.jdx-photo:nth-child(5) {
    grid-column: span 6;
    grid-row: span 4;
}

.jdx-photo:nth-child(6),
.jdx-photo:nth-child(7),
.jdx-photo:nth-child(8) {
    grid-column: span 4;
    grid-row: span 3;
}

.jdx-photo:nth-child(9) {
    grid-column: span 5;
    grid-row: span 4;
}

.jdx-photo:nth-child(10) {
    grid-column: span 3;
    grid-row: span 4;
}

.jdx-photo:nth-child(11) {
    grid-column: span 4;
    grid-row: span 4;
}

/* Efecto de carga */

.jdx-photo::before {
    position: absolute;
    inset: 0;
    z-index: 3;

    background:
        linear-gradient(
            105deg,
            rgba(231, 238, 239, 0.8) 20%,
            rgba(255, 255, 255, 0.96) 38%,
            rgba(231, 238, 239, 0.8) 56%
        );

    background-size: 200% 100%;

    content: "";

    opacity: 0;
    pointer-events: none;
}

.jdx-photo.is-loading::before {
    opacity: 1;
    animation: jdx-photo-shimmer 1.15s linear infinite;
}

.jdx-photo img {
    opacity: 0;
    transform: scale(1.025);

    transition:
        opacity 460ms ease,
        transform 650ms cubic-bezier(.2,.75,.25,1),
        filter 300ms ease;
}

.jdx-photo.is-loaded img {
    opacity: 1;
    transform: scale(1);
}

.jdx-photo.has-error {
    background:
        linear-gradient(
            135deg,
            #0a323b,
            #071f27
        );
}

.jdx-photo__overlay {
    opacity: 0.92;
    transform: translateY(3px);

    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

@media (hover: hover) {
    .jdx-photo:hover {
        z-index: 4;

        border-color: rgba(13, 48, 56, 0.16);

        transform: translateY(-5px);

        box-shadow:
            0 22px 44px rgba(13, 48, 56, 0.17),
            0 7px 16px rgba(13, 48, 56, 0.08);
    }

    .jdx-photo:hover img {
        filter:
            saturate(1.06)
            contrast(1.02);

        transform: scale(1.035);
    }

    .jdx-photo:hover .jdx-photo__overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
   Lightbox avanzado
   --------------------------------------------------------- */

.jdx-lightbox {
    position: fixed;
    inset: 0;

    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 0;
    background:
        rgba(2, 11, 15, 0.97);

    color: #fff;
}

.jdx-lightbox[open] {
    display: block;
    animation: jdx-lightbox-open 220ms ease both;
}

.jdx-lightbox::backdrop {
    background: rgba(2, 11, 15, 0.97);
}

.jdx-lightbox__stage {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    padding: 74px 86px 100px;
}

.jdx-lightbox__image {
    max-width: 100%;
    max-height: 100%;

    display: block;

    object-fit: contain;

    opacity: 1;
    transform: translateX(0) scale(1);

    transition:
        opacity 170ms ease,
        transform 260ms ease;
}

.jdx-lightbox__image.is-changing {
    opacity: 0;
    transform: scale(0.985);
}

.jdx-lightbox.is-moving-next
.jdx-lightbox__image.is-changing {
    transform: translateX(-18px) scale(0.985);
}

.jdx-lightbox.is-moving-previous
.jdx-lightbox__image.is-changing {
    transform: translateX(18px) scale(0.985);
}

.jdx-lightbox__shade {
    position: absolute;
    inset: auto 0 0;
    height: 170px;

    background:
        linear-gradient(
            0deg,
            rgba(2, 11, 15, 0.82),
            rgba(2, 11, 15, 0)
        );

    pointer-events: none;
}

.jdx-lightbox__header {
    position: absolute;
    top: 18px;
    right: 20px;
    left: 20px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.jdx-lightbox__counter {
    margin-right: auto;

    color: rgba(255, 255, 255, 0.66);
    font-size: 0.67rem;
    font-weight: 750;
}

.jdx-lightbox__autoplay,
.jdx-lightbox__close,
.jdx-lightbox__previous,
.jdx-lightbox__next {
    appearance: none;

    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        rgba(255, 255, 255, 0.09);

    color: #fff;

    cursor: pointer;
    backdrop-filter: blur(10px);

    transition:
        background 180ms ease,
        transform 180ms ease;
}

.jdx-lightbox__autoplay {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;

    border-radius: 999px;

    font-size: 0.62rem;
    font-weight: 750;
}

.jdx-lightbox__close {
    position: static;

    width: 38px;
    height: 38px;

    border-radius: 50%;
}

.jdx-lightbox__previous,
.jdx-lightbox__next {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 46px;
    height: 58px;

    border-radius: 13px;

    font-size: 1.6rem;

    transform: translateY(-50%);
}

.jdx-lightbox__previous {
    left: 20px;
}

.jdx-lightbox__next {
    right: 20px;
}

.jdx-lightbox__autoplay:hover,
.jdx-lightbox__close:hover,
.jdx-lightbox__previous:hover,
.jdx-lightbox__next:hover {
    background: rgba(255, 255, 255, 0.17);
}

.jdx-lightbox__previous:hover {
    transform: translate(-3px, -50%);
}

.jdx-lightbox__next:hover {
    transform: translate(3px, -50%);
}

.jdx-lightbox__footer {
    position: absolute;
    right: 70px;
    bottom: 21px;
    left: 70px;
    z-index: 5;
}

.jdx-lightbox__caption {
    margin-bottom: 11px;

    overflow: hidden;

    color: rgba(255, 255, 255, 0.83);
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdx-lightbox__progress {
    width: min(420px, 100%);
    height: 3px;

    margin-inline: auto;

    overflow: hidden;

    border-radius: 999px;
    background:
        rgba(255, 255, 255, 0.16);
}

.jdx-lightbox__progress span {
    width: 100%;
    height: 100%;

    display: block;

    background: #dca52f;
    transform: scaleX(0);
    transform-origin: left center;
}

.jdx-lightbox__loader {
    position: absolute;
    inset: 0;
    z-index: 4;

    display: grid;
    place-items: center;

    pointer-events: none;
}

.jdx-lightbox__loader[hidden] {
    display: none;
}

.jdx-lightbox__loader span {
    width: 34px;
    height: 34px;

    border: 3px solid rgba(255, 255, 255, 0.16);
    border-top-color: #fff;
    border-radius: 50%;

    animation: jdx-spin 760ms linear infinite;
}

/* ---------------------------------------------------------
   Animaciones
   --------------------------------------------------------- */

@keyframes jdx-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes jdx-player-enter {
    from {
        opacity: 0;
        transform: scale(0.988);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes jdx-photo-shimmer {
    from {
        background-position: 180% 0;
    }

    to {
        background-position: -20% 0;
    }
}

@keyframes jdx-lightbox-open {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

@media (max-width: 900px) {
    .jdx-video-playlist {
        position: static;
    }

    .jdx-photo:nth-child(n) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .jdx-photo:nth-child(1),
    .jdx-photo:nth-child(6) {
        grid-column: span 6;
        grid-row: span 4;
    }

    .jdx-lightbox__stage {
        padding: 65px 58px 92px;
    }
}

@media (max-width: 620px) {
    .jdx-photo-grid {
        grid-auto-rows: 105px;
        gap: 8px;
    }

    .jdx-photo:nth-child(n) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .jdx-photo:nth-child(1),
    .jdx-photo:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .jdx-lightbox__stage {
        padding: 62px 12px 94px;
    }

    .jdx-lightbox__header {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .jdx-lightbox__autoplay span {
        display: none;
    }

    .jdx-lightbox__autoplay {
        width: 38px;
        padding: 0;
        justify-content: center;
    }

    .jdx-lightbox__previous,
    .jdx-lightbox__next {
        top: auto;
        bottom: 50px;

        width: 42px;
        height: 42px;

        border-radius: 50%;

        transform: none;
    }

    .jdx-lightbox__previous {
        left: 13px;
    }

    .jdx-lightbox__next {
        right: 13px;
    }

    .jdx-lightbox__previous:hover,
    .jdx-lightbox__next:hover {
        transform: none;
    }

    .jdx-lightbox__footer {
        right: 64px;
        bottom: 22px;
        left: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jdx-photo,
    .jdx-photo img,
    .jdx-player iframe,
    .jdx-player video,
    .jdx-lightbox,
    .jdx-lightbox__image {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   Visor personalizado retirado
   Fancybox es ahora el único visor fotográfico.
   ========================================================= */

.jdx-lightbox {
    display: none !important;
}

html.jdx-lightbox-open {
    overflow: auto !important;
}

/* =========================================================
   Prioridad visual para rostros en fotografías
   ========================================================= */

/*
 * Mantiene el mosaico cubierto, pero desplaza el recorte
 * ligeramente hacia arriba para proteger caras y cabezas.
 */
.jdx-photo img {
    object-position: center 28%;
}

/*
 * Fotografías verticales:
 * damos todavía más prioridad a la zona superior.
 */
.jdx-photo:nth-child(2) img,
.jdx-photo:nth-child(3) img,
.jdx-photo:nth-child(10) img {
    object-position: center 20%;
}

/*
 * Fotografías panorámicas o de acción:
 * conservan un encuadre más centrado.
 */
.jdx-photo:nth-child(1) img,
.jdx-photo:nth-child(4) img,
.jdx-photo:nth-child(5) img,
.jdx-photo:nth-child(6) img,
.jdx-photo:nth-child(7) img,
.jdx-photo:nth-child(8) img,
.jdx-photo:nth-child(9) img,
.jdx-photo:nth-child(11) img {
    object-position: center 38%;
}


/* =========================================================
   Punto focal individual por fotografía
   ========================================================= */

/*
 * El valor definitivo llega inline desde focus_x/focus_y.
 * Se conserva cover para llenar la tarjeta sin deformar.
 */
.jdx-photo img {
    object-fit: cover;
}

/*
 * Las reglas anteriores por posición del mosaico dejan de decidir
 * el encuadre. El atributo style de cada imagen tiene prioridad.
 */
.jdx-photo:nth-child(n) img {
    object-position: inherit;
}

/* JD Multimedia Experience — Replay Card V1 */

.jdx-replay {
    width: 100%;
}

.jdx-replay__card {
    position: relative;

    width: 100%;
    height: 340px;
    min-height: 340px;

    display: grid;
    grid-template-columns: 58% 42%;

    overflow: hidden;

    border: 1px solid rgba(13, 48, 56, 0.08);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 20px 48px rgba(13, 48, 56, 0.12),
        0 4px 14px rgba(13, 48, 56, 0.05);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.jdx-replay__image {
    position: relative;

    min-width: 0;
    height: 340px;
    min-height: 340px;

    display: block;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0a3039,
            #071f27
        );
}

.jdx-replay__image::after {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 22, 28, 0.12),
            rgba(3, 22, 28, 0)
        );

    content: "";
    pointer-events: none;
}

.jdx-replay__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 35%;

    transition:
        transform 600ms cubic-bezier(.2, .75, .25, 1),
        filter 300ms ease;
}

.jdx-replay__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;

    background:
        rgba(7, 31, 39, 0.82);

    color: #ffffff;
    font-size: 1.15rem;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.24);

    backdrop-filter: blur(10px);

    transform: translate(-50%, -50%);

    transition:
        background 200ms ease,
        transform 200ms ease;
}

.jdx-replay__play i {
    margin-left: 3px;
}

.jdx-replay__content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 28px 36px;

    color: #17233c;
}

.jdx-replay__content > small {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 11px;

    color: #a56d12;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.jdx-replay__content > small::before {
    width: 22px;
    height: 2px;

    border-radius: 999px;
    background: #dca52f;

    content: "";
}

.jdx-replay__content > strong {
    display: block;

    margin: 0;

    color: #17233c;
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.jdx-replay__content > span {
    display: -webkit-box;

    max-width: 420px;
    margin-top: 12px;

    overflow: hidden;

    color: #667085;
    font-size: 0.73rem;
    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.jdx-replay__content > em {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 22px;
    padding: 9px 14px;

    border-radius: 9px;

    background: #103d47;

    color: #ffffff;
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 800;

    transition:
        background 180ms ease,
        transform 180ms ease;
}

.jdx-replay__content > em i {
    transition: transform 180ms ease;
}

@media (hover: hover) {
    .jdx-replay__card:hover {
        border-color: rgba(13, 48, 56, 0.15);

        box-shadow:
            0 28px 58px rgba(13, 48, 56, 0.16),
            0 8px 18px rgba(13, 48, 56, 0.07);

        transform: translateY(-3px);
    }

    .jdx-replay__card:hover
    .jdx-replay__image img {
        filter:
            saturate(1.04)
            contrast(1.02);

        transform: scale(1.035);
    }

    .jdx-replay__card:hover
    .jdx-replay__play {
        background: rgba(244, 115, 33, 0.94);

        transform:
            translate(-50%, -50%)
            scale(1.06);
    }

    .jdx-replay__card:hover
    .jdx-replay__content > em {
        background: #0b3039;
    }

    .jdx-replay__card:hover
    .jdx-replay__content > em i {
        transform: translateX(3px);
    }
}

@media (max-width: 820px) {
    .jdx-replay__card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .jdx-replay__image {
        min-height: 0;
        aspect-ratio: 2 / 1;
    }

    .jdx-replay__content {
        padding: 25px 24px 27px;
    }

    .jdx-replay__content > span {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .jdx-replay__card {
        border-radius: 15px;
    }

    .jdx-replay__play {
        width: 54px;
        height: 54px;

        font-size: 1rem;
    }

    .jdx-replay__content {
        padding: 21px 18px 23px;
    }

    .jdx-replay__content > strong {
        font-size: 1.25rem;
    }

    .jdx-replay__content > em {
        margin-top: 18px;
    }
}

/* JD Multimedia — Mobile Final Polish V1 */

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 820px) {
    .jdx-detail {
        padding-bottom: 44px;
    }

    .jdx-detail__content {
        row-gap: 38px;
    }

    .jdx-section {
        margin-block: 0;
    }

    .jdx-section__header {
        margin-bottom: 16px;
    }

    /* Hero más compacto */

    .jdx-hero {
        min-height: 300px;
        height: 300px;
    }

    .jdx-hero__content {
        min-height: 300px;
        padding:
            58px
            clamp(20px, 5vw, 32px)
            24px;
    }

    /* Videos */

    .jdx-videos__layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .jdx-video-playlist {
        position: static;
        width: 100%;
    }

    /* Replay vertical */

    .jdx-replay__card {
        height: auto !important;
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
    }

    .jdx-replay__image {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
    }

    .jdx-replay__content {
        min-height: 0;
        padding: 25px 24px 27px;
    }
}


/* =========================================================
   Móvil
   ========================================================= */

@media (max-width: 620px) {
    .jdx-detail {
        width: min(calc(100% - 22px), 100%);
        padding-top: 18px;
        padding-bottom: 34px;
    }

    .jdx-detail__content {
        row-gap: 30px;
    }

    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .jdx-hero {
        height: 260px;
        min-height: 260px;
        border-radius: 15px;
    }

    .jdx-hero__content {
        width: 100%;
        min-height: 260px;
        padding: 48px 16px 16px;
    }

    .jdx-hero__back {
        top: 14px;
        left: 15px;
    }

    .jdx-hero__body {
        max-width: 92%;
    }

    .jdx-hero__eyebrow {
        margin-bottom: 5px;
        font-size: 0.54rem;
    }

    .jdx-hero h1,
    .jdx-hero__title {
        max-width: 100%;
        font-size: clamp(1.45rem, 8vw, 2rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .jdx-hero__description {
        max-width: 94%;
        margin-top: 8px;
        font-size: 0.64rem;
        line-height: 1.4;
    }

    .jdx-hero__metadata {
        margin-top: 8px;
        gap: 8px;
        font-size: 0.54rem;
    }

    .jdx-hero__stats {
        gap: 5px;
        margin-top: 9px;
    }

    .jdx-hero__stats span {
        min-height: 23px;
        padding: 4px 7px;
        font-size: 0.52rem;
    }

    .jdx-hero__navigation {
        margin-top: 8px;
        gap: 8px;
        font-size: 0.52rem;
    }

    /* -----------------------------------------------------
       Encabezados de sección
       ----------------------------------------------------- */

    .jdx-section__header {
        margin-bottom: 12px;
    }

    .jdx-section__eyebrow {
        margin-bottom: 4px;
        font-size: 0.53rem;
        letter-spacing: 0.11em;
    }

    .jdx-section__header h2 {
        font-size: 1.18rem;
        line-height: 1.08;
        letter-spacing: -0.025em;
    }

    .jdx-section__header p {
        margin-top: 5px;
        font-size: 0.61rem;
        line-height: 1.42;
    }

    .jdx-section__count {
        font-size: 0.55rem;
    }

    /* -----------------------------------------------------
       Reproductor y playlist
       ----------------------------------------------------- */

    .jdx-videos__layout {
        gap: 12px;
    }

    .jdx-player {
        border-radius: 13px;
        box-shadow:
            0 12px 28px rgba(13, 48, 56, 0.12),
            0 3px 8px rgba(13, 48, 56, 0.05);
    }

    .jdx-videos__information {
        padding-top: 8px;
    }

    .jdx-videos__information small {
        font-size: 0.5rem;
    }

    .jdx-videos__information h3 {
        margin-top: 3px;
        font-size: 0.82rem;
    }

    .jdx-videos__information p {
        margin-top: 4px;
        font-size: 0.59rem;
        line-height: 1.4;
    }

    .jdx-video-playlist {
        border-radius: 12px;
    }

    .jdx-video-playlist__header {
        min-height: 38px;
        padding: 9px 11px;
    }

    .jdx-video-item {
        min-height: 66px;
        padding: 7px;
    }

    .jdx-video-item__thumbnail {
        width: 88px;
        min-width: 88px;
        height: 50px;
        border-radius: 7px;
    }

    .jdx-video-item__content strong {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    .jdx-video-item__content span {
        margin-top: 3px;
        font-size: 0.5rem;
    }

    /* -----------------------------------------------------
       Galería más limpia
       ----------------------------------------------------- */

    .jdx-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 116px;
        gap: 7px;
    }

    .jdx-photo:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 116px;
        border-radius: 10px;
    }

    .jdx-photo:nth-child(1) {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
        min-height: 239px;
    }

    .jdx-photo:nth-child(6) {
        grid-column: span 2 !important;
        min-height: 150px;
    }

    .jdx-photo__overlay {
        padding: 24px 7px 7px;
    }

    /*
     * En móvil dejamos solamente la identificación corta.
     * Se evita repetir títulos largos en todas las tarjetas.
     */
    .jdx-photo__overlay strong,
    .jdx-photo__overlay p {
        display: none !important;
    }

    .jdx-photo__overlay small {
        display: block;
        overflow: hidden;
        font-size: 0.47rem;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .jdx-photo:nth-child(1)
    .jdx-photo__overlay strong {
        display: block !important;
        margin-top: 2px;
        font-size: 0.62rem;
        line-height: 1.2;
    }

    /* -----------------------------------------------------
       Replay vertical y compacto
       ----------------------------------------------------- */

    .jdx-replay__card {
        height: auto !important;
        min-height: 0 !important;
        display: grid;
        grid-template-columns: 1fr !important;
        overflow: hidden;
        border-radius: 14px;
    }

    .jdx-replay__image {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
    }

    .jdx-replay__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 28%;
    }

    .jdx-replay__play {
        width: 48px;
        height: 48px;
        font-size: 0.88rem;
    }

    .jdx-replay__content {
        min-height: 0;
        padding: 18px 16px 19px;
    }

    .jdx-replay__content > small {
        margin-bottom: 7px;
        font-size: 0.51rem;
    }

    .jdx-replay__content > small::before {
        width: 16px;
    }

    .jdx-replay__content > strong {
        font-size: 1.05rem;
        line-height: 1.08;
        letter-spacing: -0.025em;
    }

    .jdx-replay__content > span {
        margin-top: 8px;
        font-size: 0.61rem;
        line-height: 1.45;
        -webkit-line-clamp: 3;
    }

    .jdx-replay__content > em {
        min-height: 34px;
        margin-top: 13px;
        padding: 8px 11px;
        font-size: 0.57rem;
    }
}

/* =========================================================
   Mobile Gallery — cierre de filas impares
   ========================================================= */

@media (max-width: 620px) {
    /*
     * Si la cantidad total es impar, la última fotografía
     * ocupa todo el ancho y evita una celda vacía.
     */
    .jdx-photo-grid > .jdx-photo:last-child:nth-child(odd) {
        grid-column: span 2 !important;
        min-height: 116px;
        height: 116px;
        overflow: hidden;
    }

    .jdx-photo-grid > .jdx-photo:last-child:nth-child(odd) img {
        object-position:
            var(--jdx-focus-x, 50%)
            var(--jdx-focus-y, 35%);
    }
}

/* =========================================================
   Mobile Gallery — separación segura del bloque siguiente
   ========================================================= */

@media (max-width: 620px) {
    .jdx-photos {
        overflow: visible;
    }

    .jdx-photo-grid {
        margin-bottom: 8px;
    }

    .jdx-replay {
        position: relative;
        z-index: 1;
        clear: both;
    }
}

/* JD Multimedia — Desktop Hero Typography V1 */

@media (min-width: 821px) {
    /*
     * El contenido ocupa una zona editorial controlada.
     * Evita títulos gigantes y saltos visuales desordenados.
     */
    .jdx-hero__content {
        width: min(58%, 660px);
        padding:
            54px
            34px
            28px;
    }

    .jdx-hero__body {
        width: 100%;
        max-width: 610px;
    }

    .jdx-hero__back {
        top: 22px;
        left: 34px;
    }

    .jdx-hero__eyebrow {
        margin-bottom: 7px;
        font-size: 0.62rem;
        letter-spacing: 0.11em;
        line-height: 1;
    }

    .jdx-hero h1,
    .jdx-hero__title {
        width: 100%;
        max-width: 610px;
        margin: 0;

        font-size: clamp(2.25rem, 3.25vw, 3.45rem);
        font-weight: 720;
        letter-spacing: -0.045em;
        line-height: 1.01;

        text-wrap: balance;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .jdx-hero__description {
        max-width: 520px;
        margin-top: 12px;

        font-size: 0.76rem;
        line-height: 1.5;
    }

    .jdx-hero__metadata {
        margin-top: 12px;
    }

    .jdx-hero__stats {
        margin-top: 0;
    }

    .jdx-hero__navigation {
        margin-top: 10px;
    }
}

/*
 * Pantallas medianas de escritorio:
 * todavía más compacto para evitar seis líneas.
 */
@media (min-width: 821px) and (max-width: 1180px) {
    .jdx-hero__content {
        width: 62%;
        padding-inline: 28px;
    }

    .jdx-hero__back {
        left: 28px;
    }

    .jdx-hero h1,
    .jdx-hero__title {
        font-size: clamp(2rem, 3.4vw, 2.8rem);
        max-width: 560px;
    }
}

/* JD Multimedia — Desktop Hero Balance V2 */

@media (min-width: 821px) {
    /*
     * Zona editorial más estrecha para títulos largos.
     */
    .jdx-hero__content {
        width: min(50%, 540px);
        padding:
            52px
            32px
            26px;
    }

    .jdx-hero__body {
        width: 100%;
        max-width: 490px;
    }

    .jdx-hero__back {
        top: 21px;
        left: 32px;
    }

    .jdx-hero h1,
    .jdx-hero__title {
        width: 100%;
        max-width: 490px;
        margin: 0;

        font-size: clamp(2.05rem, 2.9vw, 3.05rem);
        font-weight: 720;
        letter-spacing: -0.04em;
        line-height: 1.08;

        text-wrap: balance;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .jdx-hero__description {
        max-width: 455px;
        margin-top: 12px;

        font-size: 0.74rem;
        line-height: 1.5;
    }

    .jdx-hero__metadata {
        margin-top: 12px;
    }

    .jdx-hero__stats {
        margin-top: 0;
    }

    .jdx-hero__navigation {
        margin-top: 10px;
    }

    /*
     * Degradado más amplio y progresivo.
     */
    .jdx-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(2, 24, 30, 0.96) 0%,
                rgba(2, 24, 30, 0.88) 27%,
                rgba(2, 24, 30, 0.62) 45%,
                rgba(2, 24, 30, 0.24) 66%,
                rgba(2, 24, 30, 0.04) 82%,
                rgba(2, 24, 30, 0) 100%
            ),
            linear-gradient(
                0deg,
                rgba(2, 20, 25, 0.44) 0%,
                rgba(2, 20, 25, 0.12) 46%,
                rgba(2, 20, 25, 0.02) 100%
            );
    }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .jdx-hero__content {
        width: 55%;
        padding-inline: 26px;
    }

    .jdx-hero__body,
    .jdx-hero h1,
    .jdx-hero__title {
        max-width: 440px;
    }

    .jdx-hero__back {
        left: 26px;
    }

    .jdx-hero h1,
    .jdx-hero__title {
        font-size: clamp(1.9rem, 3.1vw, 2.55rem);
        line-height: 1.07;
    }
}

/* JD Multimedia — Hero Navigation Visibility Fix V1 */

/*
 * En escritorio, los accesos inferiores duplican los contadores
 * y no caben correctamente dentro del hero compacto.
 */
@media (min-width: 821px) {
    .jdx-hero__navigation {
        display: none !important;
    }

    .jdx-hero__metadata {
        margin-bottom: 0;
    }

    .jdx-hero__stats {
        margin-bottom: 0;
    }
}

/*
 * En móvil mantenemos la navegación rápida porque aporta utilidad
 * y el diseño ya contempla su espacio.
 */
@media (max-width: 820px) {
    .jdx-hero__navigation {
        display: flex;
    }
}

/* JD Multimedia — Speedbar V1 */

.jdx-speedbar {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 14px;
    padding: 0 3px;

    color: #667085;
    font-size: 0.67rem;
    line-height: 1.2;
}

.jdx-speedbar a,
.jdx-speedbar__current {
    min-width: 0;

    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jdx-speedbar a {
    color: #526775;
    font-weight: 650;
    text-decoration: none;

    transition:
        color 160ms ease,
        opacity 160ms ease;
}

.jdx-speedbar a:hover {
    color: #0d3b45;
}

.jdx-speedbar a:first-child {
    flex: 0 0 auto;
}

.jdx-speedbar__separator {
    flex: 0 0 auto;

    color: #aab5bc;
    font-size: 0.58rem;
}

.jdx-speedbar__current {
    flex: 1 1 auto;

    overflow: hidden;

    color: #8a969e;
    font-weight: 550;

    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .jdx-speedbar {
        gap: 7px;
        margin-bottom: 10px;
        padding-inline: 1px;

        font-size: 0.58rem;
    }

    .jdx-speedbar a:first-child span {
        display: none;
    }

    .jdx-speedbar a:first-child {
        width: 24px;
        height: 24px;

        justify-content: center;

        border: 1px solid rgba(13, 59, 69, 0.1);
        border-radius: 50%;

        background: rgba(255, 255, 255, 0.68);
    }

    .jdx-speedbar__separator {
        font-size: 0.5rem;
    }

    .jdx-speedbar__current {
        max-width: 48vw;
    }
}

/* JD Multimedia related story — subtle hero link */
.jdx-detail a.jdx-related-story-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 10px;
    color: #d8a332;
    font-size: 0.64rem;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    opacity: 0.84;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.jdx-detail a.jdx-related-story-link > .fa-file-text-o {
    color: inherit;
    font-size: 0.72rem;
    opacity: 0.72;
}

.jdx-detail a.jdx-related-story-link > span {
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease;
}

.jdx-related-story-link__arrow {
    color: inherit;
    font-size: 0.68rem;
    opacity: 0.62;
    transform: translateX(0);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.jdx-detail a.jdx-related-story-link:hover,
.jdx-detail a.jdx-related-story-link:focus-visible {
    color: #d8a332;
    opacity: 1;
}

.jdx-detail a.jdx-related-story-link:hover > span,
.jdx-detail a.jdx-related-story-link:focus-visible > span {
    border-bottom-color: currentColor;
}

.jdx-detail a.jdx-related-story-link:hover .jdx-related-story-link__arrow,
.jdx-detail a.jdx-related-story-link:focus-visible
    .jdx-related-story-link__arrow {
    opacity: 0.92;
    transform: translateX(2px);
}

.jdx-detail a.jdx-related-story-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 3px;
}

@media (max-width: 820px) {
    .jdx-related-story-link {
        gap: 6px;
        margin-top: 8px;
        font-size: 0.58rem;
    }

    .jdx-related-story-link > .fa-file-text-o {
        font-size: 0.66rem;
    }
}

