/* =========================================================
   JaimeDiaz.TV — Publicación completa
   Componente editorial jdr-article
   ========================================================= */

.jdr-article {
    width: min(100% - 32px, 1060px);
    margin: 34px auto 0;
    overflow: hidden;

    color: #182238;
    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    box-shadow:
        0 22px 60px rgba(16, 25, 43, 0.08),
        0 4px 14px rgba(16, 25, 43, 0.04);
}


/* =========================================================
   Cabecera editorial
   ========================================================= */

.jdr-article__header {
    padding: clamp(28px, 5vw, 58px)
             clamp(24px, 6vw, 76px)
             0;
}

.jdr-article__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 22px;
}

.jdr-article__context {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.jdr-article__category {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jdr-article__category::before {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    content: "";

    background: #f47321;
    border-radius: 50%;
}

.jdr-article__category a {
    color: #c78323;
    text-decoration: none;
}

.jdr-article__category a:hover {
    color: #e85d0f;
}

.jdr-article__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    color: #8c651e;
    background: #fff7e5;

    border: 1px solid #f4dfb2;
    border-radius: 999px;

    font-size: 0.69rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jdr-article__date {
    flex: 0 0 auto;

    padding: 8px 12px;

    color: #667085;
    background: #f7f9fc;

    border: 1px solid #edf1f5;
    border-radius: 999px;

    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1;
}

.jdr-article__date a {
    color: inherit;
    text-decoration: none;
}

.jdr-article__title {
    max-width: 900px;
    margin: 0;

    color: #17233c;

    font-size: clamp(2rem, 4.6vw, 4.15rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.048em;
    text-wrap: balance;
}

.jdr-article__meta {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 30px;
    padding: 20px 0 24px;

    border-bottom: 1px solid #e5eaf1;

    color: #667085;
    font-size: 0.78rem;
}

.jdr-article__byline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jdr-article__byline strong,
.jdr-article__byline a {
    color: #233a61;
    font-weight: 800;
    text-decoration: none;
}

.jdr-article__metrics {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.jdr-article__metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    white-space: nowrap;
}

.jdr-article__metric i {
    color: #8b98a9;
}

.jdr-article__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-left: auto;
}

.jdr-article__action,
.jdr-article__admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 36px;
    min-height: 36px;
    padding: 0 10px;

    color: #667085;
    background: #f7f9fc;

    border: 1px solid #e5eaf1;
    border-radius: 10px;

    cursor: pointer;

    font-size: 0.74rem;

    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.jdr-article__action:hover,
.jdr-article__admin-action:hover {
    color: #e85d0f;
    background: #fff8f3;
    border-color: #f2cab0;

    transform: translateY(-1px);
}

.jdr-article__action--active {
    color: #e85d0f;
    background: #fff4ec;
    border-color: #f4c9ad;
}


/* =========================================================
   Contenido completo
   ========================================================= */

.jdr-article__content {
    padding: clamp(30px, 5vw, 58px)
             clamp(24px, 6vw, 76px);

    color: #28364d;

    font-size: clamp(1rem, 1.3vw, 1.08rem);
    line-height: 1.82;
    overflow-wrap: anywhere;
}

.jdr-article__content > :first-child {
    margin-top: 0;
}

.jdr-article__content > :last-child {
    margin-bottom: 0;
}

.jdr-article__content p {
    margin: 0 0 1.45em;
}

.jdr-article__content h2,
.jdr-article__content h3,
.jdr-article__content h4 {
    color: #17233c;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.jdr-article__content h2 {
    margin: 1.7em 0 0.65em;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.jdr-article__content h3 {
    margin: 1.55em 0 0.6em;
    font-size: clamp(1.3rem, 2.3vw, 1.7rem);
}

.jdr-article__content a {
    color: #d4641d;
    text-decoration-color: rgba(212, 100, 29, 0.35);
    text-underline-offset: 3px;
}

.jdr-article__content a:hover {
    color: #e85d0f;
    text-decoration-color: currentColor;
}

.jdr-article__content img {
    display: block;

    max-width: 100%;
    height: auto;
    margin: 2rem auto;

    border-radius: 14px;
}

.jdr-article__content figure {
    max-width: 100%;
    margin: 2rem 0;
}

.jdr-article__content figcaption {
    margin-top: 10px;

    color: #667085;

    font-size: 0.79rem;
    line-height: 1.5;
    text-align: center;
}

.jdr-article__content blockquote {
    margin: 2rem 0;
    padding: 8px 0 8px 24px;

    color: #233a61;

    border-left: 4px solid #f47321;

    font-size: 1.12em;
    font-weight: 650;
    line-height: 1.65;
}

.jdr-article__content ul,
.jdr-article__content ol {
    margin: 1.3em 0;
    padding-left: 1.4em;
}

.jdr-article__content li + li {
    margin-top: 0.5em;
}

.jdr-article__content iframe,
.jdr-article__content video {
    display: block;

    max-width: 100%;
    margin: 2rem auto;

    border: 0;
    border-radius: 14px;
}


/* =========================================================
   Edición, rating y moderación
   ========================================================= */

.jdr-article__edited {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin: 0 clamp(24px, 6vw, 76px) 34px;
    padding: 16px 18px;

    color: #667085;
    background: #f7f9fc;

    border: 1px solid #e5eaf1;
    border-radius: 12px;

    font-size: 0.78rem;
    line-height: 1.55;
}

.jdr-article__edited > i {
    margin-top: 3px;
    color: #c78323;
}

.jdr-article__edited strong {
    color: #233a61;
}

.jdr-article__edited p {
    margin: 3px 0 0;
}

.jdr-article__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin: 0 clamp(24px, 6vw, 76px);
    padding: 24px 0 30px;

    border-top: 1px solid #e5eaf1;
}

.jdr-article__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    color: #667085;
}

.jdr-article__rating-label {
    font-size: 0.76rem;
    font-weight: 750;
}

.jdr-article__rating-like,
.jdr-article__rating-vote {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.jdr-article__rating-like span,
.jdr-article__rating-vote span {
    cursor: pointer;
}

.jdr-article__rating i {
    color: #c78323;
}

.jdr-article__report {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #7a8798;

    cursor: pointer;

    font-size: 0.74rem;
}

.jdr-article__report:hover {
    color: #c54444;
}


/* =========================================================
   Navegación entre publicaciones
   ========================================================= */

.jdr-article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    width: min(100% - 32px, 1060px);
    margin: 18px auto 0;
}

.jdr-article-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 88px;
    padding: 18px 20px;

    color: #233a61;
    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 14px;

    text-decoration: none;

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

.jdr-article-nav__link:hover {
    color: #e85d0f;
    border-color: #f0c6aa;

    box-shadow: 0 14px 34px rgba(16, 25, 43, 0.08);
    transform: translateY(-2px);
}

.jdr-article-nav__link--next {
    justify-content: flex-end;
    text-align: right;
}

.jdr-article-nav__link small {
    display: block;

    margin-bottom: 4px;

    color: #8a95a5;

    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.jdr-article-nav__link strong {
    font-size: 0.88rem;
}

.jdr-article-banner {
    width: min(100% - 32px, 1060px);
    margin: 18px auto 0;

    overflow: hidden;

    border-radius: 14px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 749px) {

    .jdr-article {
        width: min(100% - 20px, 1060px);
        margin-top: 20px;

        border-radius: 14px;
    }

    .jdr-article__header {
        padding: 24px 20px 0;
    }

    .jdr-article__topline {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .jdr-article__title {
        font-size: clamp(1.8rem, 9vw, 2.65rem);
        line-height: 1.07;
    }

    .jdr-article__meta {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px 16px;

        margin-top: 24px;
        padding: 17px 0 20px;
    }

    .jdr-article__actions {
        width: 100%;
        margin-left: 0;
    }

    .jdr-article__content {
        padding: 28px 20px 34px;

        font-size: 1rem;
        line-height: 1.75;
    }

    .jdr-article__content img,
    .jdr-article__content iframe,
    .jdr-article__content video {
        border-radius: 10px;
    }

    .jdr-article__edited {
        margin-right: 20px;
        margin-left: 20px;
    }

    .jdr-article__footer {
        align-items: flex-start;
        flex-direction: column;

        margin-right: 20px;
        margin-left: 20px;
    }

    .jdr-article-nav {
        grid-template-columns: 1fr;

        width: min(100% - 20px, 1060px);
    }

    .jdr-article-nav__link--next {
        grid-column: 1;
    }

    .jdr-article-banner {
        width: min(100% - 20px, 1060px);
    }

}

@media (max-width: 460px) {

    .jdr-article__topline {
        flex-direction: column;
        gap: 12px;
    }

    .jdr-article__date {
        align-self: flex-start;
    }

    .jdr-article__byline {
        width: 100%;
    }

}


/* =========================================================
   Refinamiento de cabecera editorial
   Título y franja de metadatos
   ========================================================= */

.jdr-article__title {
    max-width: 820px;

    font-size: clamp(1.9rem, 3.8vw, 3.45rem);
    line-height: 1.06;
    letter-spacing: -0.042em;
}

.jdr-article__meta {
    gap: 10px 18px;

    margin-top: 26px;
    padding: 12px 14px;

    background: #f8fafc;

    border: 1px solid #e8edf3;
    border-radius: 12px;

    font-size: 0.76rem;
}

.jdr-article__byline {
    gap: 5px;
    white-space: nowrap;
}

.jdr-article__byline > span {
    color: #8994a5;
}

.jdr-article__byline strong,
.jdr-article__byline a {
    color: #17233c;
}

.jdr-article__metrics {
    gap: 13px;
    padding-left: 17px;

    border-left: 1px solid #dde4ec;
}

.jdr-article__metric {
    gap: 7px;

    color: #667085;
}

.jdr-article__metric i {
    color: #8290a3;

    font-size: 0.78rem;
}

.jdr-article__actions {
    gap: 7px;
}

.jdr-article__action,
.jdr-article__admin-action {
    min-height: 34px;
    padding: 0 11px;

    background: #ffffff;

    border-color: #dde4ec;
    border-radius: 9px;

    font-weight: 700;
}

.jdr-article__content {
    padding-top: clamp(32px, 4vw, 44px);
}

.jdr-article__content > img:first-child,
.jdr-article__content > figure:first-child,
.jdr-article__content > p:first-child > img:first-child {
    margin-top: 0;
}

@media (max-width: 749px) {

    .jdr-article__title {
        font-size: clamp(1.75rem, 8vw, 2.45rem);
        line-height: 1.08;
    }

    .jdr-article__meta {
        padding: 12px;
    }

    .jdr-article__metrics {
        padding-left: 0;

        border-left: 0;
    }

    .jdr-article__actions {
        padding-top: 10px;

        border-top: 1px solid #e5eaf1;
    }

}

@media (max-width: 460px) {

    .jdr-article__metrics {
        width: 100%;
    }

}


/* =========================================================
   Título con distribución natural
   Evita cortes artificialmente balanceados
   ========================================================= */

.jdr-article__title {
    max-width: none;

    font-size: clamp(1.9rem, 3.55vw, 3.2rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
    text-wrap: wrap;
}

@media (max-width: 749px) {

    .jdr-article__title {
        font-size: clamp(1.75rem, 7.6vw, 2.4rem);
        line-height: 1.09;
        text-wrap: wrap;
    }

}


/* =========================================================
   Alineación editorial del título completo
   ========================================================= */

.jdr-article__title {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;

    text-align: center;
    text-wrap: wrap;
}


/* =========================================================
   Fullstory dividido
   Presentación editorial + lectura con rail
   ========================================================= */

.jdr-article--split {
    width: min(100% - 32px, 1060px);
    margin-top: 34px;
    overflow: visible;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}


/* =========================================================
   Presentación de la publicación
   ========================================================= */

.jdr-article__presentation {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    box-shadow:
        0 22px 60px rgba(16, 25, 43, 0.08),
        0 4px 14px rgba(16, 25, 43, 0.04);
}

.jdr-article--split .jdr-article__header {
    padding-bottom: 0;
}

.jdr-article--split .jdr-article__title {
    max-width: 900px;
}

.jdr-article__hero {
    margin: clamp(28px, 4vw, 40px)
            clamp(24px, 6vw, 76px)
            0;
}

.jdr-article__hero-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    background: #eef2f6;

    border-radius: 15px;
}

.jdr-article--split .jdr-article__meta {
    margin:
        20px
        clamp(24px, 6vw, 76px)
        clamp(26px, 4vw, 38px);
}


/* =========================================================
   Área de lectura
   ========================================================= */

.jdr-article__reading-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(270px, 300px);
    align-items: start;
    gap: 22px;

    margin-top: 20px;
}

.jdr-article__body {
    min-width: 0;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 16px;

    box-shadow: 0 14px 38px rgba(16, 25, 43, 0.055);
}

.jdr-article--split .jdr-article__content {
    padding: clamp(30px, 4vw, 46px);

    font-size: clamp(1rem, 1.25vw, 1.075rem);
    line-height: 1.84;
}

.jdr-article--split
.jdr-article__content > p:first-child {
    margin-top: 0;
}

/*
 * Cuando existe hero, DLE puede reutilizar short_story
 * si full_story está vacío. Se oculta únicamente el primer
 * bloque de imagen para impedir la duplicación visual.
 */
.jdr-article--split .jdr-article__edited {
    margin-right: clamp(30px, 4vw, 46px);
    margin-left: clamp(30px, 4vw, 46px);
}

.jdr-article--split .jdr-article__footer {
    margin-right: clamp(30px, 4vw, 46px);
    margin-left: clamp(30px, 4vw, 46px);
}


/* =========================================================
   Rail complementario
   ========================================================= */

.jdr-article-rail {
    min-width: 0;
}

.jdr-article-rail__sticky {
    position: sticky;
    top: 112px;

    display: grid;
    gap: 16px;
}

.jdr-article-rail__ad {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    min-height: 250px;
    padding: 20px;

    color: #8a95a5;
    background:
        linear-gradient(
            135deg,
            rgba(247, 249, 252, 0.96),
            rgba(238, 243, 247, 0.96)
        );

    border: 1px dashed #ccd5df;
    border-radius: 16px;

    text-align: center;
}

.jdr-article-rail__ad span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jdr-article-rail__ad strong {
    color: #667085;

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

.jdr-article-related__list {
    display: grid;
}


/* =========================================================
   Navegación adaptable
   ========================================================= */

.jdr-article-nav__link:only-child {
    grid-column: 1 / -1;

    max-width: 520px;
}

.jdr-article-nav__link--next:only-child {
    justify-self: end;
    width: 100%;
}


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

@media (max-width: 899px) {

    .jdr-article__reading-layout {
        grid-template-columns: 1fr;
    }

    .jdr-article-rail__sticky {
        position: static;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .jdr-article-related {
        grid-column: 1 / -1;
    }

}


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

@media (max-width: 749px) {

    .jdr-article--split {
        width: min(100% - 20px, 1060px);
        margin-top: 20px;
    }

    .jdr-article__presentation {
        border-radius: 14px;
    }

    .jdr-article__hero {
        margin: 24px 20px 0;
    }

    .jdr-article__hero-image {
        border-radius: 11px;
    }

    .jdr-article--split .jdr-article__meta {
        margin: 18px 20px 24px;
    }

    .jdr-article__reading-layout {
        gap: 14px;

        margin-top: 14px;
    }

    .jdr-article__body {
        border-radius: 14px;
    }

    .jdr-article--split .jdr-article__content {
        padding: 28px 20px 34px;
    }

    .jdr-article--split .jdr-article__edited,
    .jdr-article--split .jdr-article__footer {
        margin-right: 20px;
        margin-left: 20px;
    }

    .jdr-article-rail__sticky {
        grid-template-columns: 1fr;
    }

    .jdr-article-related {
        grid-column: auto;
    }

    .jdr-article-nav__link:only-child {
        max-width: none;
    }

}


/* =========================================================
   Sticky rail funcional
   El aside debe ocupar toda la altura del grid
   ========================================================= */

@media (min-width: 900px) {

    .jdr-article-rail {
        align-self: stretch;
        min-height: 100%;
    }

    .jdr-article-rail__sticky {
        position: sticky;
        top: 96px;
    }

}


/* =========================================================
   Ficha editorial y acciones de publicación
   ========================================================= */

.jdr-article__author {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-width: 0;
}

.jdr-article__author-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;
    width: 38px;
    height: 38px;

    color: #b96b20;
    background:
        linear-gradient(
            145deg,
            #fff9ed,
            #fff2dc
        );

    border: 1px solid #efd5ad;
    border-radius: 11px;

    font-size: 0.88rem;
}

.jdr-article__author-copy {
    display: grid;
    gap: 2px;

    min-width: 0;
}

.jdr-article__author-copy > span {
    color: #8994a5;

    font-size: 0.64rem;
    line-height: 1.2;
}

.jdr-article__author-copy strong,
.jdr-article__author-copy a {
    overflow: hidden;

    color: #17233c;

    font-size: 0.79rem;
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdr-article__author-copy a:hover {
    color: #e85d0f;
}

.jdr-article__metrics > a {
    color: inherit;
    text-decoration: none;
}

.jdr-article__metrics > a:hover {
    color: #e85d0f;
}

.jdr-article__action {
    font-family: inherit;
}

button.jdr-article__action {
    appearance: none;
    cursor: pointer;
}

.jdr-article__action-label {
    font-size: 0.68rem;
    font-weight: 750;
}

.jdr-article__action-status {
    position: absolute;
    right: 0;
    bottom: -30px;
    z-index: 4;

    visibility: hidden;
    opacity: 0;

    padding: 7px 10px;

    color: #ffffff;
    background: #17233c;

    border-radius: 8px;

    font-size: 0.67rem;
    font-weight: 750;
    white-space: nowrap;

    transform: translateY(-4px);

    transition:
        opacity 160ms ease,
        transform 160ms ease,
        visibility 160ms ease;
}

.jdr-article__action-status.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.jdr-article__actions {
    position: relative;
}

@media (max-width: 749px) {

    .jdr-article__author {
        flex: 1 1 210px;
    }

    .jdr-article__metrics {
        flex: 1 1 auto;
    }

    .jdr-article__actions {
        justify-content: flex-start;
    }

}

@media (max-width: 460px) {

    .jdr-article__action-label {
        display: none;
    }

    button.jdr-article__action {
        width: 36px;
        padding: 0;
    }

    .jdr-article__action-status {
        right: auto;
        left: 0;
    }

}


/* =========================================================
   Tarjetas relacionadas compactas
   ========================================================= */

.jdr-article-related__item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 11px;

    min-width: 0;
    padding: 12px 14px;

    border-top: 1px solid rgba(13, 48, 56, 0.08);
}

.jdr-article-related__item:first-child {
    border-top: 0;
}

.jdr-article-related__list
.jdr-article-related__media {
    display: block;
    overflow: hidden;

    width: 76px;
    height: 58px;
    padding: 0;

    background: #eef2f6;
    border: 0;
    border-radius: 9px;
}

.jdr-article-related__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.jdr-article-related__media > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #a96a28;
    background: #fff7e8;

    font-size: 1rem;
}

.jdr-article-related__body {
    display: grid;
    gap: 7px;

    min-width: 0;
}

.jdr-article-related__list
.jdr-article-related__title {
    display: -webkit-box;
    overflow: hidden;

    padding: 0;

    color: #233a61;
    background: transparent;

    border: 0;

    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.38;
    text-decoration: none;

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

.jdr-article-related__list
.jdr-article-related__title:hover {
    color: #e85d0f;
    background: transparent;
}

.jdr-article-related__date {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #8a95a5;

    font-size: 0.63rem;
}

@media (max-width: 749px) {

    .jdr-article-related__item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .jdr-article-related__list
    .jdr-article-related__media {
        width: 72px;
        height: 56px;
    }

}

/* =========================================================
   JD Fullstory share card
   ========================================================= */

.jdr-share-card {
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 16px 13px;

    color: #17233c;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(249, 251, 253, 1) 100%
        );

    border: 1px solid #e3e9f0;
    border-radius: 17px;

    box-shadow:
        0 13px 32px rgba(23, 35, 60, 0.07);
}

.jdr-share-card__header {
    margin-bottom: 15px;
}

.jdr-share-card__eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #bd8720;

    font-size: 0.62rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jdr-share-card__header h2 {
    margin: 0;

    color: #17233c;

    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.25;
}

.jdr-share-card__header p {
    margin: 5px 0 0;

    color: #7a8799;

    font-size: 0.72rem;
    line-height: 1.4;
}

.jdr-share-card__options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.jdr-share-card__option {
    appearance: none;

    display: grid;
    justify-items: center;
    gap: 6px;

    min-width: 0;
    padding: 0;

    color: #667085;
    background: transparent;

    border: 0;

    font-family: inherit;
    cursor: pointer;

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

.jdr-share-card__option > span:last-child {
    overflow: hidden;

    width: 100%;

    font-size: 0.54rem;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdr-share-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #f0f3f7;

    border: 1px solid transparent;
    border-radius: 50%;

    font-size: 1rem;

    box-shadow:
        0 7px 15px rgba(23, 35, 60, 0.08);

    transition:
        box-shadow 160ms ease,
        transform 160ms ease;
}

.jdr-share-card__option--whatsapp .jdr-share-card__icon {
    color: #ffffff;
    background: #25b95b;
}

.jdr-share-card__option--facebook .jdr-share-card__icon {
    color: #ffffff;
    background: #1877f2;
}

.jdr-share-card__option--x .jdr-share-card__icon {
    color: #ffffff;
    background: #101114;
}

.jdr-share-card__option--x strong {
    font-size: 0.92rem;
    font-weight: 850;
}

.jdr-share-card__option--instagram .jdr-share-card__icon {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #833ab4 0%,
            #e1306c 55%,
            #f77737 100%
        );
}

.jdr-share-card__option--copy .jdr-share-card__icon {
    color: #17233c;
    background: #f5f7fa;

    border-color: #dfe5ed;
}

.jdr-share-card__option:hover,
.jdr-share-card__option:focus-visible {
    color: #17233c;
    transform: translateY(-2px);
}

.jdr-share-card__option:hover .jdr-share-card__icon,
.jdr-share-card__option:focus-visible .jdr-share-card__icon {
    transform: translateY(-1px);

    box-shadow:
        0 10px 21px rgba(23, 35, 60, 0.16);
}

.jdr-share-card__option:focus-visible {
    outline: 2px solid #d9a333;
    outline-offset: 4px;
    border-radius: 9px;
}

.jdr-share-card__option.is-complete .jdr-share-card__icon {
    color: #ffffff;
    background: #bd8720;
    border-color: #bd8720;
}

.jdr-share-card__status {
    min-height: 15px;
    margin: 9px 0 0;

    color: #778397;

    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.jdr-share-card__status[data-state="success"] {
    color: #238149;
}

.jdr-share-card__status[data-state="error"] {
    color: #b42318;
}

@media (max-width: 460px) {

    .jdr-share-card {
        padding-right: 14px;
        padding-left: 14px;
    }

    .jdr-share-card__options {
        gap: 5px;
    }

    .jdr-share-card__icon {
        width: 38px;
        height: 38px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .jdr-share-card__option,
    .jdr-share-card__icon {
        transition: none;
    }

}

