/* -------------------------------------------------------------------------- */
/* 3D Object block */
/* -------------------------------------------------------------------------- */
.k-block-type-3dObject {}


/* -------------------------------------------------------------------------- */
/* Exhibit block */
/* -------------------------------------------------------------------------- */
.k-block-type-exhibit .exhibit-detail {
    align-items: center;
    gap: var(--spacing-6);
    --columns: 2
}

.k-block-type-exhibit .k-empty {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border: 0;
    display: flex;
    align-items: center;
}

.k-block-type-exhibit .k-empty:hover {
    opacity: 1;
}

.k-block-type-exhibit h2 {
    font-weight: 300;
    margin-bottom: 1rem;
}

.k-block-type-exhibit .k-text {
    margin-bottom: 1rem;
}

.k-block-type-exhibit .k-empty .k-icon {
    width: 1rem;
    border-right: 0 !important;
}

.k-block-type-exhibit .k-button {
    background-color: var(--color-light);
    padding: 0.25rem 1rem 0.4rem;
    border-radius: var(--rounded);
    pointer-events: none;
}

.k-block-type-exhibit .exhibit-button {
    border-radius: var(--rounded-xl);

    .k-tag {
        margin-bottom: var(--spacing-6);
    }
    
    h1, h2 {
        margin: var(--spacing-1);
    }

    h2 {
        font-size: var(--text-md);
    }

    h2 span {
        color: var(--color-blue)
    }
}


/* -------------------------------------------------------------------------- */
/* Page title */
/* -------------------------------------------------------------------------- */

.k-block-container.k-block-container-type-pageTitle {
    padding: var(--spacing-6) 0;
}

.k-block-type-pageTitle h1 {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
}

.k-block-type-pageTitle h2 {
    font-weight: var(--font-thin);
    margin-top: var(--spacing-1);
    font-size: var(--text-2xl);
}

.k-block.k-block-type-pageTitle {
    padding: var(--spacing-3) var(--spacing-6);
}


/* -------------------------------------------------------------------------- */
/* Section background */
/* -------------------------------------------------------------------------- */

.k-layout[data-background] .k-grid.k-layout-columns {
    background: var(--layout-attrs-background);
}

.k-layout[data-background] .k-block-container {
    background-color: transparent;

}

.k-layout[data-background] .k-blocks {
    background-color: light-dark(hsla(0, 0%, 100%, 0.5), hsla(0, 0%, 19%, 0.5));
}

.k-layout[data-background] .k-block-container::after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0.375rem;
    background: var(--layout-attrs-background);
}


/* -------------------------------------------------------------------------- */
/* Info box */
/* -------------------------------------------------------------------------- */

.k-block-type-infoBox .k-box {
    flex-direction: column;
    align-items: initial;
    padding: 0;
    gap: 0;
    overflow: clip;
}

.k-block-type-infoBox .k-text {
    padding: var(--spacing-3);
    background-color: rgba(255, 255, 255, 0.8);
}

.k-block-type-infoBox .header {
    font-size: var(--text-lg);
}

.k-block-type-infoBox .header::placeholder {
    font-size: var(--text-sm);
}

/* -------------------------------------------------------------------------- */
/* Facts grid */
/* -------------------------------------------------------------------------- */
.k-block-type-factsGrid {

    label {
        font-size: var(--text-sm);
        margin-bottom: var(--spacing-3);
    }

    label+div {
        font-size: var(--text-md);
        line-height: 1.25;
        font-weight: var(--font-thin);
    }

    .k-box:not(.empty) {
        align-self: stretch;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: none;
        border-radius: var(--rounded-md);
        border-left: 2px solid light-dark(var(--color-white), var(--color-black));
        padding-left: 1rem;
    }

    .k-box.boxed:not(.empty) {
        background-color: white;
        padding: var(--spacing-4);
        box-shadow: var(--shadow-lg);
        border-radius: var(--rounded-xl);
        border: none;

        label {
            color: var(--layout-attrs-background);
        }
    }
}


/* -------------------------------------------------------------------------- */
/* Image */
/* -------------------------------------------------------------------------- */

.k-block-figure-caption {
    justify-content: left;
}

.k-block-figure figcaption {
    padding-top: var(--spacing-0);
}

/* -------------------------------------------------------------------------- */
/* Audio */
/* -------------------------------------------------------------------------- */
.k-block-container-type-audio {
    .k-box.audio-player {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        overflow: hidden;
        gap: 0;
    }

    .poster {
        position: relative;
    }

    figure:has(img)::after {
        content: " ";
        display: block;
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.5) 20%,
                rgba(0, 0, 0, 0) 40%);
        position: absolute;
        inset: 0;
    }

    .title {
        position: absolute;
        inset: 0;
        padding: var(--spacing-3);
        display: flex;
        flex-direction: column;
        justify-content: end;

        h1,
        h2 {
            color: white;
        }

        h1 {
            font-size: var(--text-lg);
        }

        h2 {
            font-size: var(--text-sm);
            font-weight: var(--font-thin);
            margin-top: var(--spacing-1);
            color: var(--color-gray-200);
        }
    }

    .k-writer-field .k-input {
        margin-top: var(--spacing-6);
        background: transparent;
        border-radius: var(--rounded-md);
        border-left: 2px solid light-dark(var(--color-white), var(--color-black));
        outline: none;
        padding-left: 1rem;
    }
}