/* 
    Chip 
*/
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.chip {
    display: inline-block;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(240, 240, 240, 0.8);
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-weight: 400;
    transition: 300ms;
}

a.chip:hover {
    background-color: rgba(220, 220, 220, 0.8);
}

.chip.transparent {
    background: rgba(200, 200, 200, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    color: white;
}

.chip-circle {
    width: 0.825rem;
    height: 0.825rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 1);
}

.chip-circle.past {
    background-color: rgba(118, 200, 255, 1);
}

.chip-circle.present {
    background-color: rgba(101, 245, 65, 1);
}

.chip-circle.future {
    background-color: rgba(192, 125, 255, 1);
}

/* 
    Card 
*/
.card {
    position: relative;
    margin-bottom: 2rem;
    height: fit-content;
}

.card-chips {
    display: flex;
    gap: 0.25rem;
}

.card-chips.absolute {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    z-index: 1;
}

.card-cover {
    border-radius: 2px;
    overflow: hidden;
    max-height: calc(100svh - 3rem);
}

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

.grid-2 .card-cover {
    max-height: unset;
}

.card-cover-figure-image {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.card-cover .video-player video {
    max-height: calc(100svh - 3rem);
}

.grid-2 .card-cover .video-player video {
    aspect-ratio: 3/2;
    max-height: unset;
}

.card-cover .slideshow-slide {
    aspect-ratio: 3/2;
}

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

.card-cover-figure-caption {
    margin-top: 2px;
    padding: 0 0.25rem;
}

.card-cover .video-player-video {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.card-content {
    padding-right: 0.5rem;
}

.card-content.relative {
    position: relative;
}

.card-content.absolute {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.card-content-info {
    margin-top: 1rem;
}

/* Text First */
.card.text-first {
    display: flex;
    flex-direction: column;
}

.card.text-first .card-cover {
    order: 3;
    margin-top: 0.5rem;
}

/* 
    Card Timeline
*/

.card-timeline {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.2);
    z-index: var(--zIndex, 10);
}

.card-timeline:hover {
    z-index: 1000;
}

.card-timeline.text {
    background-color: white;
}

.card-timeline-chips {
    position: absolute;
    display: flex;
    gap: 0.25rem;
    top: 0.25rem;
    left: 0.25rem;
}

/* Image */
.card-timeline-image,
.card-timeline-image-low {
    width: 100%;
    height: 100%;
}

.card-timeline.past .card-timeline-image,
.card-timeline.future .card-timeline-image {
    display: none;
}

.card-timeline.future .card-timeline-image-low,
.card-timeline.past .card-timeline-image-low {
    display: block;
}

.card-timeline.future:hover .card-timeline-image-low,
.card-timeline.past:hover .card-timeline-image-low {
    display: none;
}

.card-timeline.future:hover .card-timeline-image,
.card-timeline.past:hover .card-timeline-image {
    display: block;
}

.card-timeline.present .card-timeline-image-low {
    display: none;
}

.card-timeline.future .card-timeline-image-low {
    filter: blur(6px);
    scale: 1.1;
}

.card-timeline-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 0.5rem 0.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

/* Text */
.card-timeline.text .card-timeline-chips {
    position: static;
}

.card-timeline.text .card-timeline-content {
    position: static;
    color: black;
    background: transparent;
    padding: 0.5rem;
}

/* 
    Thumbnail 
*/

.thumbnail {
    position: relative;
    aspect-ratio: 3/2;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.thumbnail-chips {
    position: absolute;
    display: flex;
    gap: 0.25rem;
    top: 0.25rem;
    left: 0.25rem;
}

.thumbnail-picture {
    width: 100%;
    height: 100%;
}

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

.thumbnail-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    color: white;
}

/* 
    Blocks 
*/

/* Heading */
.block-heading {
    text-align: center;
    padding: 0 0.5rem;
    margin-bottom: 1.25em;
}

.block-heading:not(:first-child) {
    margin-top: 1.5em;
}

.block-heading ~ .block-heading {
    margin-top: 0;
}

/* Text */
.block-text {
    padding: 0 0.5rem 0 1rem;
}

.block-text .kt-question {
    color: rgba(125, 125, 125, 1);
    font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
    padding-right: 1.5rem;
    margin-bottom: 1em;
    /* font-size: 0.9em; */
}

.block-text .kt-answer {
    padding-left: 1.5rem;
    margin-bottom: 1em;
    /* font-size: 0.9em; */
}

/* Tablet (>640px) */
@media screen and (min-width: 40rem) {
    .block-text {
        padding: 0 0.5rem;
    }

    .block-text .kt-question {
        color: rgba(125, 125, 125, 1);
        font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
        padding-right: 1.5rem;
        font-size: 1em;
    }

    .block-text .kt-answer {
        padding-left: 1.5rem;
        font-size: 1em;   
    }
}

/* Interview */
.block-interview {
    position: relative;
}

.block-interview-name {
    padding-left: 2rem;
    color: rgba(125, 125, 125, 1);
}

.block-interview-text.left {
    color: rgba(125, 125, 125, 1);
    font-family: "Px Grotesk", Arial, Helvetica, sans-serif;
}

/* Tablet (>1024px) */
@media screen and (min-width: 64rem) {
    .block-interview-name {
        padding: 0;
        position: absolute;
        right: calc(100% + 0.5rem);
        width: 25vw;
        text-align: right;
        padding-top: 0.25em;
    }
}

/* Image */

.block-image {
    grid-column: 1/-1;
}

.block-image-caption {
    margin-top: 2px;
}

.block-gallery img {
    margin-bottom: 0.5rem;
}

/* 
    Advertisement 
*/
.section-advertisements {
    border-top: 1px solid black;
    padding: 0.5rem 0;
    margin: 0 0.5rem 4rem;
}

.advertisement {
    aspect-ratio: 250/71.4;
    display: none;
}

.advertisement.active {
    display: block;
}

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


/* 
    Cursor 
*/

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    translate: -50% -50%;
    z-index: 9999;
    background-color: rgba(80, 80, 80, 0.3);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: padding 300ms ease-in-out, opacity 300ms ease-in-out;
}

.cursor-text {
    letter-spacing: 0.05em;
}

.cursor-icon {
    display: none;
    width: 1rem;
    height: 1rem;
}

.cursor-icon.active {
    display: block;
}

.cursor.active {
    padding: 0.25rem 0.45rem 0.2rem;
    opacity: 1;
}

.cursor-reactive {
    cursor: none !important;
}

@media (hover: none) {
    .cursor {
        display: none;
    }
}


/* 
    Cookie Consent 
*/

.cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.3rem 0.5rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid white;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie.hidden {
    display: none;
}

.cookie-text {
    margin-right: 0.5rem;
}

.cookie-text p {
    margin-bottom: 0 !important;
}