.grid-24 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.grid-20 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.grid-18 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
}

/* > Tablet (> 640px) */
@media screen and (min-width: 40rem) {
    .grid-24 {
        grid-template-columns: repeat(12, 1fr);
    }

    .grid-20 {
        grid-template-columns: repeat(10, 1fr);
    }

    .grid-18 {
        grid-template-columns: repeat(9, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* > Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .grid-24 {
        grid-template-columns: repeat(24, 1fr);
    }

    .grid-20 {
        grid-template-columns: repeat(20, 1fr);
    }

    .grid-18 {
        grid-template-columns: repeat(18, 1fr);
    }

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

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 
    Page 
*/
.page {
    margin: 0;
    min-height: 100svh;
}

.page.margin-header {
    margin-top: var(--headerMargin, 2.3rem) !important;
}

.page.background {
    filter: blur(14px);
    -webkit-filter: blur(14px);
    opacity: 0.25;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.page-hero {
    position: relative;
    height: 100svh;
    overflow: hidden;
}

.page-hero-cover {
    height: 100%;
}

.page-hero-cover-caption {
    padding: 0.25rem 0.5rem;
    margin-bottom: 3rem;
}

.page-hero-title.absolute {
    position: absolute;
    color: white;
    mix-blend-mode: difference;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.page-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 5rem 0.5rem 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    color: white;
}

.page-hero-content.full {
    top: 0;
    padding: 2.5rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-hero-cover-picture {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.page-hero-cover-picture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-hero-cover-picture.contain .page-hero-cover-picture-image {
    object-fit: contain
}

.page-hero-cover .slideshow,
.page-hero-cover .slideshow-slide,
.page-hero-cover .slideshow-slide-picture,
.page-hero-cover .slideshow-slide-picture-image {
    width: 100%;
    height: 100%;
}

.page-hero-content-anchors {
    display: flex;
    gap: 2rem;
    margin: 2rem 0 0 0;
    padding: 0;
    max-width: 100%;
    list-style-type: none;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.page-hero-content-anchors li {
    white-space: nowrap;
}

.page-introduction {
    margin: 1.5rem 0.5rem 3rem;
}

.page-introduction-more-text {
    display: none;
}

.page-introduction-more-text.show {
    display: block;
}

.page-introduction-more-button span {
    display: none;
    pointer-events: none;
}

.page-introduction-more-button span.show {
    display: inline;
}

.page-content {
    padding: 0.5rem;
}

.page-content-text {
    grid-column: 2/14;
}

.page-content-side-info {
    grid-column: 16/-3;
}

/* Footer */
.page-footer {
    padding: 0.5rem;
}

.page-partners,
.page-team {
    grid-column: 1/-1;
}

.page-partners-title,
.page-team-title {
    border-top: 1px solid black;
    padding: 0.25rem 0;
    margin-bottom: 1rem;
}

/* Tablet (>640px) */
@media screen and (min-width: 40rem) {
    .page-partners,
    .page-team {
        grid-column: 2/-2;
    }

    .page-hero-content-anchors {
        margin: 4rem 0 0 0;
    }
}

/* Desktop (>1024px) */
@media screen and (min-width: 64rem) {
    .page {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* gap: 0.5rem; */
    }

    .page-introduction {
        padding-right: calc(100vw/6);
    }

    .page-hero,
    .page-introduction,
    .page-content,
    .section,
    .section-advertisements,
    .page-footer {
        grid-column: 1/-1;
    }


    .page-introduction {
        padding-right: calc(100vw/6);
    }

    .page-content {
        margin-top: 2rem;
    }

    .section.half {
        grid-column: span 1;
        padding-left: 0.5rem;
        padding-right: 0.25rem;
    }

    .section.half .section-header,
    .section.half .section-content {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .section.half + .section.half {
        padding-left: 0.25rem;
        padding-right: 0.5rem;
    }

    .page-partners {
        grid-column: 1/13;
    }
    
    .page-team {
        grid-column: 13/-1;
    }
}


/* Partners (About) */
.page-content-partners {
    margin-top: 4rem;
    grid-column: 2/12;
}

.page-content-partners-gallery {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin: 0 1rem 2rem;
}

.page-content-partners-gallery .logo {
    width: auto;
    height: 4rem;
    max-width: 10rem;
    object-fit: contain;
}




/* 
    Sub-Page
*/

.subpage-aside {
    display: none;
}

/* Tablet (>640px) */
@media screen and (min-width: 40rem) {
    .subpage-aside {
        display: block;
        position: fixed;
        bottom: 0;
        right: 0;
        width: 20vw;
        max-width: 220px;
        padding: 0.5rem;
        pointer-events: none;
        transition: 300ms ease;
        opacity: 0;
        z-index: 1;
    }

    .subpage-aside.show {
        pointer-events: auto;
        opacity: 1;
        z-index: 100;
    }

    .subpage-aside-nav {
        margin-bottom: 1.5rem;
    }

    .subpage-aside-related .thumbnail:not(:last-child) {
        margin-bottom: 0.5rem;
    }

}


/* Tablet (>1024px) */
@media screen and (min-width: 64rem) {
}

/* Subpage */
.subpage {
    position: relative;
    grid-column: 1/-1;
}

.subpage-close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem;
}

/* Header */
.subpage-header {
    grid-column: 1/-1;
    transition: 300ms ease;
    padding: 0.5rem;
    row-gap: 0;
}

.subpage-header.absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    right: 0;
    z-index: 1;
    color: white;
    padding: calc(var(--headerMargin, 2.5rem) + 0.5rem) 0.5rem 3rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.page.margin-header .subpage-header.absolute {
    padding-top: 0.5rem;
}

.subpage-header.hide {
    pointer-events: none;
    opacity: 0;
    animation: unset;
}

.subpage-header-chips {
    grid-column: 1/-1;
    display: flex;
    gap: 0.25rem;
}

.subpage-header-title {
    grid-column: 1/-1;
}

.subpage-header-info {
    grid-column: 1/-1;
    margin-top: 2rem;
}

.subpage-cover-container {
    grid-column: 1/-1;
    height: 150svh;
    position: relative;
}

.subpage-cover {
    grid-column: 1/-1;
    width: 100%;
    height: 100svh;
    position: sticky;
    top: 0;
    background-color: rgb(10, 10, 10);
    margin-bottom: 4rem;
}


.subpage-cover-figure,
.subpage-cover .video-player,
.subpage-cover .slideshow,
.subpage-cover .slideshow-slide-picture-image {
    width: 100%;
    height: 100svh;
}

.subpage-cover-figure-picture {
    width: 100%;
    height: 100%;
    display: block;
}

.subpage-cover-figure-picture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage-cover-figure-picture.contain .subpage-cover-figure-picture-image {
    object-fit: contain;
    object-position: 50% 50%;
}

.subpage-cover-figure-caption {
    padding: 0.25rem;
}

/* Screening */
.subpage-screening {
    grid-column: 1/-1;
    overflow: hidden;
    height: 100vh;
    height: 100svh;
}

.subpage-screening-external {
    width: 100%;
    height: 100%;
}

.subpage-screening-external iframe {
    width: 100%;
    height: 100%;
    border: none;
}


@keyframes fade-in-audio {
    0% {
        opacity: 0;
        transform: translateY(-1rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 
    Blocks 
*/
.subpage .block-text {
    grid-column: 1/-1;
}

.subpage .block-quote {
    grid-column: 1/-1;
    padding: 0 1rem;
    margin: 1rem 0;
}

.subpage .block-interview {
    grid-column: 1/-1;
    padding: 0 2rem 0 0;
}

.subpage .block-interview .kt-question {
    color: gray;
    font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
    padding: 0 2rem 0 0;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.subpage .block-interview .kt-answer {
    padding: 0 0 0 2rem;
    margin-bottom: 1rem;
}

.subpage .block-gallery {
    grid-column: 1/-1;
    z-index: 1;
}

.subpage .block-divider {
    grid-column: 1/-1;
    margin: 0.5rem;
}

.subpage .block-heading {
    grid-column: 1/-1;
    z-index: 1;
}

.subpage .block-gallery img {
    border-radius: 2px;
}

.subpage-side-info {
    grid-column: 1/-1;
    padding: 1rem 2rem;
}

.subpage-notes {
    grid-column: 1/-1;
    padding: 1rem 2rem;
}

.subpage-footnotes,
.subpage-authors {
    border-top: 1px solid black;
    margin: 3rem 1rem 0.5rem;
    grid-column: span 6;
    padding: 0.5rem 0.5rem 0 0;
}

.subpage-footnotes ol li {
    list-style: none;
    counter-increment: footnotes 1;
    position: relative;
    margin-bottom: 0.5em;
}

.subpage-footnotes ol li::before {
    position: absolute;
    left: -2em;
    font-family: "PX Grotesk", Arial, Helvetica, sans-serif;
    content: counter(footnotes) ".";
}


/* Tablet (>640px) */
@media screen and (min-width: 40rem) {
    .subpage {
        grid-column: 1/-1;
    }
    
    .subpage-cover {
        margin-bottom: 3.5rem;
    }

    /* Screening */
    .subpage-screening {
        height: 100svh;
        margin-bottom: 4rem;
    }
    
    .subpage-screening .video-player,
    .subpage-screening .video-player-viewport {
        height: 100svh
    }
    .subpage-screening .video-player-video {
        height: calc(100% - 1rem);
        width: auto;
    }

    .subpage-info {
        grid-column: 1/-1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }


    /* Blocks */
    .subpage .block-text {
        grid-column: 2/-2;
    }

    .subpage .block-quote {
        grid-column: 2/-2;
    }

    .subpage .block-divider {
        grid-column: 2/-2;
    }

    .subpage .block-interview .kt-question {
        padding: 0 calc(100vw/12 + 0.5rem) 0 0;
        margin-bottom: 1rem;
        margin-top: 3rem;
    }

    .subpage .block-interview .kt-answer {
        padding: 0 0 0 calc(100vw/12 + 0.5rem);
        margin-bottom: 1rem;
    }

    .subpage .block-image,
    .subpage .block-gallery {
        grid-column: 2/-2;
        z-index: 1;
        margin: 2rem 0;
    }

    .subpage .block-heading {
        grid-column: 3/-3;
        z-index: 1;
    }

    .subpage .block-gallery img {
        border-radius: 2px;
    }

    .subpage-side-info {
        grid-column: 2/-2;
        grid-row: 1/6;
        padding: 1rem;
    }

    .subpage-notes {
        grid-column: 3/-3;
        padding: 1rem;
    }

    .subpage-footnotes,
    .subpage-authors {
        grid-column: 3/-3;
        padding: 0.5rem 1rem 0 0;
    }
}

/* Tablet (>1024px) */
@media screen and (min-width: 64rem) {
    .subpage {
        grid-column: 1/-1;
    }

    .subpage-info {
        grid-column: 13/-1;
        text-align: right;
    }

    .subpage-side-info {
        grid-column: 2/6;
        padding: 0 1rem 0 0;
    }

    /* Blocks */
    .subpage .block-heading {
        grid-column: 6/-6;
        padding: 0 1rem;
        z-index: 1;
    }

    .subpage .block-text {
        grid-column: 6/-6;
    }

    .subpage .block-quote {
        grid-column: 6/-6;
        margin: 2rem 0;
    }

    .subpage .block-divider {
        grid-column: 6/-6;
    }

    .subpage .block-interview {
        grid-column: 4/-4;
        padding: 0;
    }

    .subpage .block-interview .kt-question {
        padding: 0 calc(100vw/6) 0 0;
        margin-bottom: 1rem;
    }

    .subpage .block-interview .kt-answer {
        padding: 0 0 0 calc(100vw/6);
        margin-bottom: 1rem;
    }


    .subpage .block-image,
    .subpage .block-gallery {
        grid-column: 2/-2;
        z-index: 1;
    }

    .subpage .block-gallery img {
        border-radius: 2px;
    }

    .subpage-notes {
        grid-column: 7/-7;
        padding: 2rem 0.5rem 0;
    }

    .subpage-footnotes,
    .subpage-authors {
        grid-column: 7/-7;
    }
}

/* Desktop Large (>1920px) */
@media screen and (min-width: 120rem) {
    /* Blocks */
    .subpage .block-heading {
        grid-column: 7/-7;
    }

    .subpage .block-text {
        grid-column: 8/-8;
    }

    .subpage .block-quote {
        grid-column: 8/-8;
    }

    .subpage .block-divider {
        grid-column: 8/-8;
    }

    .subpage .block-interview {
        grid-column: 5/-5;
    }

    .subpage-notes {
        grid-column: 9/-9;
        padding: 2rem 0 0;
    }

    .subpage-footnotes,
    .subpage-authors {
        grid-column: 9/-9;
    }
}


/* Siblings */
.subpage-siblings {
    position: relative;
    transition: 100ms ease;
}

.subpage-siblings {
    opacity: 1;
}

.subpage-siblings-item:not(:last-child) {
    margin-bottom: 1rem;
}

/* 
    Section 
*/
.section {
    scroll-margin: 4rem;
    margin-bottom: 4rem;
}

.section-header {
    margin: 0.75rem 0.5rem 2rem;
    padding: 0.5rem 0;
    border-top: 1px solid black;
}

.section-header-title,
.section-header-subtitle,
.section-header-description {
    grid-column: 1/-1;
}

.section-header-info,
.section-header-filters {
    grid-column: -3/-1;
}

.section-header-info {
    text-align: right;
}

.section-content {
    padding: 0.5rem;
}

.section-header-arrows {
    display: none;
}

/* Tablet (>640px) */
@media screen and (min-width: 40rem) {
    .section-header-title,
    .section-header-subtitle,
    .section-header-description {
        grid-column: 1/-7;
    }
    
    .section-header-filters {
        grid-column: -7/-1;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-transform: uppercase;
    }

    .section-header-info {
        grid-column: -7/-1;
    }

    .section-header-arrows {
        display: flex;
        justify-content: flex-end;
        grid-row: 1;
        grid-column: -3/-1;
        
    }

    .section-header-arrows .next,
    .section-header-arrows .prev {
        transition: 300ms ease;
    }

    .section-header-arrows svg {
        width: 1.25rem;
        height: 1.25rem;
        fill: black;
        pointer-events: none;
    }

    .section-content.scroll-horizontal {
        display: flex;
        overflow-x: auto;
        padding-right: 0;
        /* scroll-behavior: smooth; */
        user-select: none;
        -webkit-user-drag: none;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        /* scroll-snap-type: x mandatory; */
    }

    .section-content.scroll-horizontal::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .section-content.scroll-horizontal > .card {
        min-width: 40%;
        max-width: 40%;
        margin-right: 0.5rem;
        scroll-snap-align: start;
        scroll-margin: 0.5rem;
    }
}

/* Desktop (>1024px) */
@media screen and (min-width: 64rem) {
    .section-header-title,
    .section-header-subtitle,
    .section-header-description {
        grid-column: 1/-13;
    }
    
    .section-header-filters {
        grid-column: -13/-1;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-transform: uppercase;
    }
}

.filter {
    opacity: 0.55;
    transition: 300ms;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.filter.active,
.filter:hover {
    opacity: 1;
}

/* 
    Listening 
*/

.listening-page {
    /* min-height: 100svh; */
}

.listening-page-header {
    padding: 0.5rem;
}

.listening-page-cover {
    position: relative;
    aspect-ratio: 1/1;
    margin: calc(100vw/12 + 0.5rem) calc(100vw/12 + 0.5rem);
    border-radius: 2px;
    padding: 0.5rem;
    overflow: hidden;
}

.listening-page-cover-play {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 300ms;
}

.listening-page-cover:hover .listening-page-cover-play {
    opacity: 1;
}

.listening-page-cover-play-icon {
    display: none;
}

.listening-page-cover-play-icon.active {
    display: block;
}

.listening-page-cover-play-icon svg {
    width: 5rem;
    height: 5rem;
    opacity: 0.75;
}

.listening-page-cover-play-icon * {
    fill: white;
}

@media screen and (min-width: 40rem) {
    .listening-page {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: calc(100vw/12 - 0.5rem) 0.5rem;
     
    }

    /* Header */
    .listening-page-header {
        grid-column: 1/-1;
        height: fit-content;
    }

    .listening-page-cover {
        margin: 0 calc(100vw/12 + 0.5rem);
    }

    .listening-page-cover-play-icon svg {
        width: 6rem;
        height: 6rem;
    }
}

/* Audio */
.listening-page-audio {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;

    padding: 0.5rem 0.5rem 0.5rem;
    background: rgba(255, 255, 255, 0.6);

    border-top: 1px solid rgba(220, 220, 220, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    z-index: 10;
    color: black;
}

.listening-page .audio-player:not(:first-child) {
    border-top: 1px solid rgba(220, 220, 220, 1);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
}

@media screen and (min-width: 40rem) {
    .listening-page-audio {
        display: flex;
        padding: 0.5rem 0.5rem 0.5rem;
        gap: 1rem;
    }

    .listening-page .audio-player:not(:first-child) {
        border-top: 0;
        margin-top: 0;
        padding-top: 0;   
    }
}