/* TheaterMik Voorstellingen - frontend */
.tm-practical {
    width: 100%;
    color: #fff;
}

.tm-practical-grid {
    display: grid;
    grid-template-columns: repeat(var(--tm-practical-count, 2), minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
}

.tm-practical-item {
    min-width: 0;
    padding: 0 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.tm-practical-item:first-child {
    border-left: 0;
    padding-left: 0;
}

.tm-practical-item:last-child {
    padding-right: 0;
}

.tm-practical-title {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.tm-practical-text {
    margin: 0;
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.25;
    font-weight: 500;
    color: #fff;
    font-size: 16px !important;
}

@media (max-width: 980px) {
    .tm-practical-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .tm-practical-item:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .tm-practical-grid {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .tm-practical-item,
    .tm-practical-item:first-child,
    .tm-practical-item:last-child {
        padding: 0;
        border-left: 0;
    }

    .tm-practical-item + .tm-practical-item {
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }
}



/* Lange omschrijving shortcode: [tm_voorstelling part="description"] */
.tm-description {
    width: 100%;
}

.tm-description-body {
    width: 100%;
    column-count: 2;
    column-gap: clamp(40px, 7vw, 96px);
    column-fill: balance;
}

.tm-description-body p {
    margin: 0 0 1.6em;
    break-inside: avoid;
}

.tm-description-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .tm-description-body {
        column-count: 1;
    }
}

/* FAQ shortcode: [tm_voorstelling part="faq"] */
.tm-faq {
    width: 100%;
}

.tm-faq-item {
    width: 100%;
    padding: 0 0 28px;
    margin: 0 0 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.tm-faq-item:last-child {
    margin-bottom: 0;
}

.tm-faq-question {
    margin: 0 0 14px;
    padding: 0;
    font-size: 14px !important;
    text-transform: uppercase;
    line-height: 1.35;
    font-weight: 700;
    color: inherit;
}

.tm-faq-answer {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: inherit;
}

.tm-faq-answer p {
    margin: 0 0 1em;
}

.tm-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Boeking shortcode: [tm_voorstelling part="booking"] */
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #FBF7F0 !important;
    padding: 10px !important;
    color: #4e4e4e;
    border: 0px !important;
}

.tm-booking {
    width: 100%;
}

.tm-booking-form {
    width: 100%;
    margin: 0;
}

.tm-booking-fields {
    display: flex;
    flex-direction: column;
    gap: 0px !important;
    width: 100%;
    margin: 0 0 16px;
}

.tm-booking-field {
    width: 100%;
    margin: 0;
}

.tm-booking-field label.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tm-booking-field input {
    display: block;
    width: 100%;
    min-height: 64px;
    padding: 10px;
    background-color: #FBF7F0;
    border: 1px solid #bbb;
    border-radius: 8px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    font-family: var(--et_global_heading_font);
    color: #4e4e4e;
    font-size: 14px;
    line-height: 1.8em;
}

.tm-booking-field input::placeholder {
    font-family: var(--et_global_heading_font);
    color: #4e4e4e;
    font-size: 14px;
    line-height: 1.8em;
    opacity: 1;
}


.tm-booking-field input:hover,
.tm-booking-field input:active {
    background-color: #FBF7F0;
    border: 1px solid #bbb;
    box-shadow: none !important;
    outline: none;
}

.tm-booking-field input:focus {
    outline: none;
    border: 1px solid #bbb;
    box-shadow: none !important;
}

.tm-booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 10px 25px !important;
    background-color: var(--gcid-link-color, #e96d52);
    border: 1px solid var(--gcid-link-color, #e96d52);
    border-radius: 100px;
    color: var(--gcid-bsyga0tepx, #fff);
    font-family: var(--et_global_body_font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition-property: background-color, border-color, color;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
}

.tm-booking-submit:hover,
.tm-booking-submit:focus {
    background-color: #123233;
    border-color: #123233;
    color: var(--gcid-bsyga0tepx, #fff);
    opacity: 1;
}

.tm-notice {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.tm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.tm-review-item {
    margin: 0;
    padding: 24px;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-review-quote {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: italic;
    line-height: 1.5;
    quotes: "\201C" "\201D";
}

.tm-review-quote::before {
    content: open-quote;
}

.tm-review-quote::after {
    content: close-quote;
}

.tm-review-author {
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.75;
}

.tm-review-author::before {
    content: "— ";
}

.tm-section-title {
    font-family: "Caveat Brush", cursive;
    font-style: normal;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.1;
    margin: 0 0 24px;
}

.tm-booking-intro {
    margin: 0 0 24px;
}

.tm-booking-subtitle {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.tm-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
}

.tm-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@supports not (aspect-ratio: 16 / 9) {
    .tm-video-frame {
        height: 0;
        padding-bottom: 56.25%;
    }
}

.tm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 0;
}

.tm-gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.05);
}

.tm-gallery-item img,
.tm-gallery-item .tm-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.tm-gallery-item:hover img,
.tm-gallery-item:focus img {
    transform: scale(1.04);
}

@supports not (aspect-ratio: 1 / 1) {
    .tm-gallery-item {
        height: 0;
        padding-bottom: 100%;
    }
    .tm-gallery-item img {
        position: absolute;
        inset: 0;
    }
}

.tm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
}

.tm-lightbox.is-open {
    display: flex;
}

.tm-lightbox-image {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.tm-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.tm-lightbox-close:hover,
.tm-lightbox-close:focus {
    background: rgba(255, 255, 255, 0.3);
}

body.tm-lightbox-active {
    overflow: hidden;
}
