/* =========================================================
   NAVIGAZIONE AREA AUTORE
========================================================= */

.author-related {
    padding: 20px 0 0px;
    background: #000;
}

.author-related > .container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

.author-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.author-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 16px;

    min-width: 0;
    padding: 18px 20px;
    box-sizing: border-box;

    border: 1px solid rgba(203, 175, 117, .65);
    background: linear-gradient(135deg, #10100e, #050505);

    color: #fff;
    text-decoration: none;
    cursor: pointer;

    transition:
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease;
}

.author-related-copy {
    min-width: 0;
}

.author-related-card h2 {
    margin: 0 0 12px;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .035em;
    color: #fff;
}

.author-related-card p {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .78);
}

.author-related-arrow {
    display: block;
    flex: 0 0 48px;
    color: var(--myoo-gold, #cbaf75);
    transition: transform .25s ease;
}

.author-related-card:hover,
.author-related-card:focus-visible {
    color: #fff;
    text-decoration: none;
    border-color: var(--myoo-gold, #cbaf75);

    background-color: rgba(203, 175, 117, .09);
    background-image: linear-gradient(
        135deg,
        rgba(203, 175, 117, .08),
        transparent
    );

    box-shadow: 0 0 18px rgba(203, 175, 117, .08);
}

.author-related-card:focus-visible {
    outline: 2px solid var(--myoo-gold, #cbaf75);
    outline-offset: 4px;
}

.author-related-card:hover .author-related-arrow,
.author-related-card:focus-visible .author-related-arrow {
    transform: translateX(6px);
}

.author-related-card:hover .author-related-arrow-left,
.author-related-card:focus-visible .author-related-arrow-left {
    transform: translateX(-6px);
}

@media (prefers-reduced-motion: reduce) {
    .author-related-card:hover .author-related-arrow-left,
    .author-related-card:focus-visible .author-related-arrow-left {
        transform: none;
    }
}
/* =========================================================
   NAVIGAZIONE — RESPONSIVE
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .author-related > .container {
        max-width: 960px;
    }

}

@media (max-width: 991px) {

    .author-related-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

}

@media (max-width: 575px) {

    .author-related {
        padding-bottom: 45px;
    }

    .author-related-card {
        padding: 24px 22px;
        gap: 18px;
    }

    .author-related-card h2 {
        font-size: 1.2rem;
    }

    .author-related-card p {
        font-size: 1rem;
    }

    .author-related-arrow {
        width: 36px;
        flex-basis: 36px;
    }

}


/* =========================================================
   ACCESSIBILITÀ — MOVIMENTO RIDOTTO
========================================================= */

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

    .author-related-card,
    .author-related-arrow {
        transition: none;
    }

    .author-related-card:hover .author-related-arrow,
    .author-related-card:focus-visible .author-related-arrow {
        transform: none;
    }

}

/* =========================================================
   FILETTO
========================================================= */

.author-related::before {
    content: "";
    display: block;
    width: calc(100% - 48px);
    max-width: 1072px;
    height: 1px;
    margin: 0 auto 60px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(216, 173, 97, .75),
        transparent
    );
}

@media (min-width: 992px) and (max-width: 1199px) {
    .author-related::before {
        max-width: 912px;
    }
}

.author-related-grid > .author-related-card:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 520px;
}