/* --- magazine --- */
@media (min-width: 500px) {

    /* --- int ---*/

    .int-magazine {
        position: relative;

        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: center;
        justify-content: center;

        height: 100%;
        width: 100%;
        overflow: hidden !important;

        border-radius: var(--smooth-radius);


    }
    .int-magazine.hidden {
        display: none;
    }

    .magazine-cover {
        position: relative;

        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: center;
        justify-content: center;

        height: 100%;
        width: 100%;
        overflow: hidden !important;

        gap: 1rem;
        background: linear-gradient(to right, black, var(--ui-overlay-hover), black);

        border-radius: var(--smooth-radius);
    }
    .magazine-cover.hidden {
        display: none;
    }

    /* --- top ---*/

    .magazine-top {
        position: relative;

        display: flex;
        flex-direction: row;
        align-items: start;
        align-content: start;
        justify-content: center;

        gap: 1rem;

        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .magazine-top-brand {
        position: absolute;
        top: 2rem;
        left: 0;
        right: 0;
        text-align: center;

        font-size: 240px;
        letter-spacing: 8px;
        line-height: 1;
        width: 100%;

    }
    .magazine-top-img {
        z-index: 1;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);

        object-position: center top;
        object-fit: contain;

        width: 100%;
        height: 100%;
    }

    /* --- metadata ---*/

    .magazine-left {
        z-index: 2;

        position: absolute;
        left: 0;
        bottom: 0;

        display: flex;
        flex-direction: column;
        align-items: start;
        align-content: start;
        justify-content: start;

        height: 70% !important;
        padding: 1.5rem;
        gap: 1.5rem;

        width: max-content;
    }

    .magazine-left-group {
        display: flex;
        flex-direction: column;
    }
    .magazine-left-group-title {
        font-size: 60px;
        font-weight: 600;
        line-height: 1.5;
        text-transform: uppercase;
    }
    .magazine-left-group-body {
        font-size: 24px;
        line-height: 1.5;
        text-transform: uppercase;
        max-width: 380px;

        color: var(--holy);
    }

    .magazine-left-group-date {
        font-size: 14px;
        font-weight: 600;

        opacity: 0.4;
    }

    .magazine-company {
        display: flex;
        flex-direction: column;
    }
    .magazine-company-title {
        font-size: 60px;
        font-weight: 600;
        line-height: 1.5;
        text-transform: uppercase;
    }
    .magazine-company-body {
        font-size: 24px;
        line-height: 1.5;
        text-transform: uppercase;
        max-width: 380px;

        color: var(--holy);
    }

    .magazine-metadata-curator {
        font-size: 13px;
    }

    .magazine-featured {
        z-index: 2;

        position: absolute;
        right: 0;
        bottom: 0;

        display: flex;
        flex-direction: column;
        align-items: start;
        align-content: start;
        justify-content: start;

        height: 65%;
        padding: 1.5rem;

        width: max-content;
    }
    .magazine-featured-title {
        font-size: 40px;
        max-width: 540px;
        font-weight: 600;
        line-height: 1.5;
        text-transform: uppercase;
    }
    .magazine-featured-body {
        font-size: 24px;
        max-width: 480px;
        line-height: 1.5;

        color: var(--holy);
    }

    .magazine-quote {
        z-index: 2;

        position: absolute;
        bottom: 3rem;
        right: 3rem;

        display: flex;
        flex-direction: column;
        align-items: start;
        align-content: start;
        justify-content: start;

        min-width: max-content;
    }
    .magazine-quote-title {
        font-size: 48px;
        opacity: 0.3;
        font-weight: 800;
        letter-spacing: 2px;
    }

    /* --- base ---*/

    .magazine-base {
        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: center;
        justify-content: start;

        gap: 1rem;
        width: max-content;
    }

    .magazine-base-action:first-of-type {
        border: 2px solid white;
        background: transparent;
        color: white;
    }
    .magazine-base-action {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        text-align: center;

        height: 48px;
        max-height: 48px;
        min-height: 48px;

        color: black;
        background: white;
        border-radius: var(--round-radius);
        padding-left: 2rem;
        padding-right: 2rem;

        font-size: 13px;
        font-weight: 600;

        cursor: pointer;
    }

    /* --- issue ---*/



    .magazine-index {
        position: relative;

        display: none;
        flex-direction: column;

        height: 100%;
        width: 100%;

        border-radius: var(--smooth-radius);

        overflow: hidden;
    }
    .magazine-index.active {
        display: flex;
    }

    .magazine-index-title {
        margin-top: 2rem;
        margin-left: 2rem;
        font-size: 19px;
        font-weight: 700;
        line-height: 1;
    }

    .magazine-index-navigation {
        display: flex;
        flex-direction: row;
        align-content: center;
        align-items: center;
        justify-content: center;

        gap: 1rem;

        min-width: max-content;
        width: max-content;
        height: 48px;
        min-height: 48px;
        max-height: 48px;

        margin-bottom: 1.5rem;
        margin-left: 1.5rem;
        padding-left: 2rem;
        padding-right: 2rem;

        background: transparent;
        border: 2px solid white;
        color: white;
        border-radius: var(--round-radius);

        font-size: 14px;
        font-weight: 600;

        cursor: pointer;
    }
    .magazine-index-navigation:hover {

    }

    .magazine-index-grid {
        position: relative;

        display: grid;
        grid-template-columns: repeat(5, 1fr);

        height: 100%;
        width: 100%;

        padding: var(--spacing-focus);
        gap: 2rem;

        border-radius: var(--smooth-radius);

        overflow: hidden;
    }
    .magazine-index-element {
        position: relative;

        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;

        width: 100%;
        height: 100%;

        background: var(--ui-overlay-hover);
        border-radius: var(--smooth-radius);

        overflow: hidden;

        cursor: pointer;
    }
    .magazine-index-element-img {
        position: absolute;
        top: 0;
        left: 0;

        object-position: center top;
        object-fit: cover;

        width: 100%;
        height: 100%;

        border-radius: inherit;

        transition: all 400ms ease;
    }
    .magazine-index-element:hover .magazine-index-element-img {
        transform: scale(1.03);
    }

    .magazine-index-element-title {
        font-size: 13px;
        font-weight: 600;
    }
}
@media (min-width: 2000px) {
    .magazine-top-brand {
        position: absolute;
        top: 2rem;
        left: 0;
        right: 0;
        text-align: center;

        font-size: 340px;
        letter-spacing: 8px;
        line-height: 1;
        width: 100%;

    }
}