/*
 Theme Name:     zoburo.
 Description:    Thema van zoburo.
 Author:         zoburo.
 Author URI:     https://zoburo.nl
 Template:       Divi-3
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/*-- REVIEWS */

  .tp-reviews {
            width: 100%;
        }
        .tp-review {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
            align-items: stretch;
            gap: 38px;
            width: 100%;
            margin-bottom: 95px;
        }

        .tp-review:last-child {
            margin-bottom: 0;
        }

        /* Tekstgedeelte */
        .tp-review__content {
            display: flex;
            align-items: stretch;
        }
        .tp-review__content-inner {
            display: flex;
			margin-top: 50px;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            width: 100%;
            padding: 35px 0;
            border-top: 1px dotted #929292;
            border-bottom: 1px dotted #929292;
            text-align: right;
        }

        .tp-review__title {
            margin: 0;
            padding: 0;
            color: #666666;
            font-family: inherit;
            font-size: 35px;
			font-family: 'Bodoni Moda',Georgia,"Times New Roman",serif;
            font-weight: 400;
            line-height: 1;
            text-transform: uppercase;
        }

        .tp-review__year {
            margin-top: 12px;
            color: #8ba798;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.3;
            text-transform: uppercase;
        }

        .tp-review__excerpt {
            max-width: 410px;
            margin-top: 5px;
            color: #555;
            font-size: 16px;
            line-height: 1.4;
            letter-spacing: 0.07em;
        }

        .tp-review__button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 185px;
            margin-top: 22px;
            padding: 10px 14px;
            border: 0;
            border-radius: 0;
            background: #99bab8;
            color: #fff;
            font-family: inherit;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            cursor: pointer;
            transition:
                background-color 0.2s ease,
                transform 0.2s ease;
        }

        .tp-review__button:hover {
            background: #82adac;
            transform: translateY(-1px);
        }

        .tp-review__button:focus-visible {
            outline: 2px solid currentColor;
            outline-offset: 3px;
        }

        /* Afbeelding */
        .tp-review__image-wrapper {
            min-height: 340px;
            overflow: hidden;
        }

        .tp-review__image {
            display: block;
            width: 100%;
            height: 100%;
            min-height: 340px;
            object-fit: cover;
            object-position: center;
        }

       /* Modal */
        .tp-review-modal[hidden] {
            display: none;
        }

        .tp-review-modal {
            position: fixed;
            inset: 0;
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
        }

        .tp-review-modal__backdrop {
            position: absolute;
            inset: 0;
            background: rgba(35, 35, 35, 0.65);
            cursor: pointer;
        }

        .tp-review-modal__dialog {
            position: relative;
            z-index: 1;
            width: min(720px, 100%);
            max-height: calc(100vh - 60px);
            overflow-y: auto;
            padding: 60px 65px;
            background: #f7f2ed;
            box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
        }

        .tp-review-modal__close {
            position: absolute;
            top: 15px;
            right: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            padding: 0;
            border: 0;
            background: transparent;
            color: #62686a;
            font-size: 38px;
            font-weight: 300;
            line-height: 1;
            cursor: pointer;
        }

        .tp-review-modal__title {
            margin: 0;
            color: #62686a;
            font-family: 'Bodoni Moda',Georgia,"Times New Roman",serif;
            font-size: clamp(36px, 5vw, 55px);
            font-weight: 400;
            line-height: 1;
            letter-spacing: 0.025em;
            text-transform: uppercase;
        }

        .tp-review-modal__year {
            margin-top: 12px;
            color: #99c1c0;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .tp-review-modal__text {
            margin-top: 30px;
            color: #555;
            font-size: 17px;
            line-height: 1.8;
        }

        .tp-review-modal__text > :first-child {
            margin-top: 0;
        }

        .tp-review-modal__text > :last-child {
            margin-bottom: 0;
        }

        body.tp-review-modal-open {
            overflow: hidden;
        }

       /* Responsive */

        @media (max-width: 980px) {
            .tp-review {
                grid-template-columns: 1fr;
                gap: 25px;
                margin-bottom: 70px;
            }
            .tp-review__image-wrapper {
                grid-row: 1;
                min-height: 0;
            }
            .tp-review__content {
                grid-row: 2;
            }

            .tp-review__image {
                height: auto;
                min-height: 0;
                aspect-ratio: 16 / 10;
            }

            .tp-review__content-inner {
                align-items: flex-start;
                padding: 28px 0;
                text-align: left;
            }

            .tp-review__excerpt {
                max-width: 100%;
            }
        }

        @media (max-width: 600px) {
            .tp-review {
                margin-bottom: 55px;
            }

            .tp-review__title {
                font-size: 35px;
            }

            .tp-review__year {
                font-size: 14px;
            }

            .tp-review__excerpt {
                font-size: 15px;
            }

            .tp-review__button {
                width: 100%;
            }

            .tp-review-modal {
                padding: 15px;
            }

            .tp-review-modal__dialog {
                max-height: calc(100vh - 30px);
                padding: 55px 25px 35px;
            }

            .tp-review-modal__title {
                padding-right: 25px;
                font-size: 34px;
            }

            .tp-review-modal__text {
                font-size: 16px;
                line-height: 1.7;
			}}

/* Accordion */
.tp-accordion {
    width: 100%;
}

.tp-accordion-item {
    border-top: 3px dotted rgba(65, 65, 65, 0.65);
}

.tp-accordion-item:last-child {
    border-bottom: 3px dotted rgba(65, 65, 65, 0.65);
}

.tp-accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    padding: 28px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #303033;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-align: left;
    cursor: pointer;
}

.tp-accordion-button:hover {
    background: transparent;
}

.tp-accordion-button:focus-visible {
    outline: 2px solid #303033;
    outline-offset: 8px;
}

.tp-accordion-icon {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
}

.tp-accordion-icon::before,
.tp-accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.tp-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tp-accordion-button[aria-expanded="true"]
.tp-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.tp-accordion-content {
    overflow: hidden;
}

.tp-accordion-content-inner {
    max-width: 850px;
    padding: 0 60px 42px 0;
    color: #303033;
    font-size: 16px;
    line-height: 1.75;
}

.tp-accordion-content-inner > :first-child {
    margin-top: 0;
}

.tp-accordion-content-inner > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .tp-accordion {
        padding: 0 25px;
    }

    .tp-accordion-button {
        min-height: 100px;
        gap: 15px;
        padding: 22px 0;
        font-size: 25px;
        letter-spacing: 0.05em;
    }

    .tp-accordion-content-inner {
        padding: 0 0 30px;
        font-size: 16px;
    }

}