/* Font Ronzino */

@font-face {
    font-family: 'Ronzino-Bold';
    src: url('../Fonts/Ronzino/Ronzino-Bold.woff2') format('woff2'),
}

@font-face {
    font-family: 'Ronzino-BoldOblique';
    src: url('../Fonts/Ronzino/Ronzino-BoldOblique.woff2') format('woff2'),
}

@font-face {
    font-family: 'Ronzino-Medium';
    src: url('../Fonts/Ronzino/Ronzino-Medium.woff2') format('woff2'),
}

@font-face {
    font-family: 'Ronzino-MediumOblique';
    src: url('../Fonts/Ronzino/Ronzino-MediumOblique.woff2') format('woff2'),
}

@font-face {
    font-family: 'Ronzino-Oblique';
    src: url('../Fonts/Ronzino/Ronzino-Oblique.woff2') format('woff2'),
}

@font-face {
    font-family: 'Ronzino-Regular';
    src: url('../Fonts/Ronzino/Ronzino-Regular.woff2') format('woff2'),
}

@font-face {
    font-family: 'InterVariable';
    src: url('../Fonts/Inter/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Sitoweb Artishock */

:root {
    color-scheme: dark;
    --color-pink: #ff3eb5;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey: #505050;
    --color-lightgrey: grey;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--color-black);
}

body {
    margin: 0;
    padding: 0;
}

.flex {
    display: flex;
}

main {
    margin: 0;
    padding: 0;
}

.sections {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 30px;
    min-height: 100vh;
    box-sizing: border-box;
}

.section1 {
    background-color: var(--color-black);
}

.section2 {
    background-color: var(--color-black);
}

@media (min-width: 1000px) {
    .section2 {
        min-height: auto;
    }
}

.article-cards {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px;
    align-self: start;
    z-index: 2;
}

.article-card {
    --article-card-grey: #303030;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 14rem;
    min-width: 0;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--article-card-grey);
    color: var(--color-white);
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 800ms ease;
}

.article-card::before {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        to bottom,
        var(--article-card-grey) 0%,
        var(--color-pink) 25%,
        var(--color-white) 50%,
        var(--color-white) 100%
    );
    content: "";
    pointer-events: none;
    transform: translateY(100%) scale(0.96);
    transition: transform 1000ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.article-card > * {
    position: relative;
    z-index: 1;
    transition: color 100ms ease;
}

.article-card:hover::before,
.article-card:focus-visible::before {
    transform: translateY(-50%) scale(1.04);
}

.article-card:hover,
.article-card:focus-visible {
    color: var(--color-black);
}

.article-card:hover h3,
.article-card:focus-visible h3,
.article-card:hover .article-card-subtitle,
.article-card:focus-visible .article-card-subtitle {
    color: var(--color-black);
    transition-delay: 0ms;
}

.article-card:hover .article-card-pages,
.article-card:focus-visible .article-card-pages {
    transition-delay: 100ms;
}

.article-card:hover .article-card-subtitle,
.article-card:focus-visible .article-card-subtitle {
    transition-delay: 200ms;
}

.article-card:hover h3:first-of-type,
.article-card:focus-visible h3:first-of-type {
    transition-delay: 200ms;
}

.article-card:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}

.article-card-subtitle {
    font-family: 'Ronzino-Regular', sans-serif;
    font-size: clamp(0.5rem, 5vw, 1rem);
    font-weight: normal;
    color: var(--color-white);
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    transition: color 100ms ease;
    transition-delay: 0ms;
}

.article-card-pages {
    margin-top: auto;
}

.section3 {
    background-color: var(--color-black);
}

.section4 {
    background-color: var(--color-black);
}

.section5 {
    background-color: var(--color-black);
}





.col-1 {
    grid-column: span 1;
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-6 {
    grid-column: span 6;
}

.col-7 {
    grid-column: span 7;
}

.col-8 {
    grid-column: span 8;
}

.col-9 {
    grid-column: span 9;
}

.col-10 {
    grid-column: span 10;
}

.col-11 {
    grid-column: span 11;
}

.col-12 {
    grid-column: span 12;
}

.curators-title {
    display: flex;
    flex-direction: column;
}

.curators-title span:first-child {
    margin-bottom: 1em;
}

.curators-title span:hover {
    color: var(--color-pink);
    cursor: pointer;
}

.curator-list > span:first-child {
    display: flex;
    align-items: center;
    gap: 2px;
}

.curator-list > span {
    transition: all 0.2s ease-in-out;
}

.curator-list > span:first-child:hover {
    color: var(--color-white);
}

.curator-symbol {
    width: 0.8em;
    height: 0.8em;
    object-fit: contain;
}

.curator-list > span:not(:first-child) {
    display: flex;
    align-items: center;
}

.curator-list > span:not(:first-child)::before {
    content: "";
    flex: 0 0 0;
    height: 0.8em;
    width: 0;
    margin-right: 0;
    opacity: 0;
    background: url("../Assets/Images/rel_symbol_2.png") center / contain no-repeat;
    transition: all 0.2s ease-in-out;
}

.curator-list > span:not(:first-child):hover::before {
    flex-basis: 0.8em;
    width: 0.8em;
    margin-right: 2px;
    opacity: 1;
}

.students-title > span:first-child {
    display: flex;
    align-items: center;
    gap: 2px;
}

.students-title > span {
    transition: all 0.2s ease-in-out;
}

.students-title > span:first-child:hover {
    color: var(--color-white);
}

.student-symbol {
    width: 0.7em;
    height: 0.7em;
    object-fit: contain;
     height: 0.7em;
}

.students-title > span:not(:first-child) {
    display: flex;
    align-items: center;
}

.students-title > span:not(:first-child)::before {
    content: "";
    flex: 0 0 0;
    height: 0.7em;
    width: 0;
    margin-right: 0;
    opacity: 0;
    background: url("../Assets/Images/stu_symbol_2.png") center / contain no-repeat;
    transition: all 0.2s ease-in-out;
}

.students-title > span:not(:first-child):hover::before {
    flex-basis: 0.7em;
    width: 0.7em;
    margin-right: 2px;
    opacity: 1;
}

.columns {
    position: absolute;
    inset: 30px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    pointer-events: none;
}

.columns span {
    border: 1px solid #ffffff20;
    z-index: 1;
}









h3 {
    font-family: 'Ronzino-Medium', sans-serif;
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: normal;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-white);
    margin: 0;
    padding: 0;
}

ul.nav {
    position: fixed;
    z-index: 1000;
    top: 30px;
    right: 30px;
    font-family: 'Ronzino-Medium', sans-serif;
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1;
    font-weight: normal;
    list-style: none;
    justify-self: end;
    padding: 0;
    margin: 0;
    color: var(--color-grey);
}

.nav-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    color: var(--color-pink);
    cursor: pointer;
}

.nav-link.is-active,
.nav-link.is-active:hover {
    color: var(--color-white);
    transition: all 0.2s ease-in-out;
}

.nav-link:hover .interlocalarrow {
    transition: all 0.2s ease-in-out;
    background-color: var(--color-pink);
    color: var(--color-black);
    rotate: 90deg;
}

.nav-link.is-active .interlocalarrow,
.nav-link.is-active:hover .interlocalarrow {
    background-color: var(--color-white);
    color: var(--color-black);
    rotate: 0deg;
}

.interlocalarrow {
    rotate: 180deg;
    background-color: var(--color-grey);
    color: var(--color-black);
    display: inline-flex;
    width: 1em;
    height: 1em;
    padding: 0.1em;
    margin-right: 0.2em;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-family: 'InterVariable', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 0.1;
    text-decoration: none;
    font-feature-settings: 'calt'1, 'liga'1;
    letter-spacing: normal;
    font-variant-ligatures: contextual common-ligatures;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

.arrow-detail-1 {
    rotate: -45deg;
    background-color: var(--color-white);
    color: var(--color-black);
    display: inline-flex;
    width: 1em;
    height: 1em;
    padding: 0.1em;
    margin-right: 0.2em;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-family: 'InterVariable', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 0.1;
    text-decoration: none;
    font-feature-settings: 'calt'1, 'liga'1;
    letter-spacing: normal;
    font-variant-ligatures: contextual common-ligatures;
    border-radius: 50%;
}

.arrow-detail-2 {
    rotate: 90deg;
    background-color: var(--color-pink);
    color: var(--color-black);
    display: inline-flex;
    width: 1em;
    height: 1em;
    padding: 0.1em;
    margin-right: 0.2em;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-family: 'InterVariable', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 0.1;
    text-decoration: none;
    font-feature-settings: 'calt'1, 'liga'1;
    letter-spacing: normal;
    font-variant-ligatures: contextual common-ligatures;
    border-radius: 50%;
}

.crocinosx {
    height: 30px;
    width: 30px;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 15px;
    justify-self: end;
    padding: 0;
    margin: 0;
}

.crocinodx {
    height: 30px;
    width: 30px;
    position: fixed;
    z-index: 1000;
    top: 50%;
    right: 15px;
    justify-self: end;
    padding: 0;
    margin: 0;
}

.bottom-section1 {
    font-family: 'Ronzino-Medium', sans-serif;
    font-size: clamp(0.5rem, 5vw, 1rem);
    line-height: 1;
    font-weight: normal;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    bottom: 30px;
    left: 30px;
    align-self: end;
    margin: 0;
    padding: 0;
}

.simboli {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / span 2;
    gap: clamp(6px, 0.5vw, 10px);
    min-width: 0;
}

.bottom-section-symbol-circle {
    flex: 1 1 0;
    width: 100%;
    height: auto;
    max-width: 32px;
    max-height: 32px;
    min-width: 0;
}

.bottom-section-symbol-square {
    flex: 1 1 0;
    width: 100%;
    height: auto;
    max-width: 28px;
    max-height: 28px;
    min-width: 0;
}

.slider-box {
    display: contents;
    color: var(--color-grey);
}

.slider-text {
    margin: 0;
    grid-column: 5 / span 1;
    align-self: center;
    justify-self: end;
    text-align: right;
}

.slider {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    grid-column: 6 / span 2;
    max-width: none;
    height: 16px;
    align-self: center;
    min-width: 0;
    margin: 0;
    border: 0;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
}

.slider::-webkit-slider-runnable-track {
    height: 16px;
    border: 1px solid grey;
    border-radius: 999px;
    background-color: #303030;
    box-sizing: border-box;
}

.slider::-moz-range-track {
    height: 16px;
    border: 1px solid grey;
    border-radius: 999px;
    background-color: darkgrey;
    box-sizing: border-box;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: grey;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background-color: grey;
}

.edition-label{
    grid-column: 8 / span 1;
    align-self: center;
    text-align: right;
    color: var(--color-white);
}

.gradient-symbol1 {
    grid-column: 9 / span 2;
    align-self: center;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    aspect-ratio: 12 / 1;
    background-color: var(--color-pink);
}

.gradient-symbol1 span {
    box-shadow: inset 0 0 0 1px var(--color-pink);
    background-color: color-mix(
        in srgb,
        var(--color-white) calc(100% - var(--gradient-position)),
        var(--color-pink) var(--gradient-position)
    );
}

.gradient-symbol2 {
    grid-column: 11 / span 2;
    align-self: center;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    aspect-ratio: 12 / 1;
    background-color: var(--color-pink);
}

.gradient-symbol2 span {
    box-shadow: inset 0 0 0 1px var(--color-lightgrey);
    background-color: color-mix(
        in srgb,
        var(--color-white) calc(100% - var(--gradient-position)),
        var(--color-grey) var(--gradient-position)
    );
}














































@media (max-width: 999px) {
    .sections {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
        padding: 20px;
    }

    .columns {
        inset: 20px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }

    .columns span:nth-child(n + 7) {
        display: none;
    }

    .article-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12 {
        grid-column: span 6;
    }

    ul.nav {
        top: 20px;
        right: 20px;
        line-height: 1.2;
    }

    .descrizionemagazine {
        align-self: end;
        transform: translateY(20vh);
    }

    .crocinosx {
        height: 20px;
        width: 20px;
        left: 10px;
    }

    .crocinodx {
        height: 20px;
        width: 20px;
        right: 10px;
    }

    .bottom-section1 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }

    .simboli {
        grid-column: span 3;
    }

    .slider-box {
        display: none;
    }

    .edition-label{
        grid-column: 4 / span 3;
    }

    .gradient-symbol1 {
        grid-column: 1 / span 3;
    }

    .gradient-symbol2 {
        grid-column: 4 / span 3;
    }
}

@media (max-width: 599px) {
    .article-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .article-card {
        padding: 12px;
    }

    .students-title{
        margin-top: 50px;
    }
}

.safari-bottom-shim {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px; /* Almeno 3-11px per essere rilevato da Safari */
  background-color: var(--color-black);
  z-index: 9999;
  pointer-events: none; /* Evita che blocchi i click */
}