/* Accordion (legacy page builder) */
.accordion .arrow-wrapper {
    background: none;
    position: absolute;
    top: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    right: 1rem;
    border-radius: 100%;
}

.accordion button.arrow {
    right: 0.3125rem;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    font-size: 1.25rem;
    color: #fff;
    background: none;
    padding: 0;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    width: 10px;
    height: 10px;
}

.accordion button.arrow:before {
    width: 2px;
    margin-left: -1px;
}

button.arrow:before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

.accordion button.arrow:after {
    height: 2px;
    margin-top: -1px;
}

button.arrow:after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

button.arrow:after,
button.arrow:before {
    content: "";
    position: absolute;
    background-color: #112415;
    -webkit-transition: -webkit-transform 0.25s ease-out;
    transition: -webkit-transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.accordion .accordion-toggle {
    cursor: pointer;
    margin: 0;
    padding: 0.5rem 2.125rem 0.5rem 1rem;
    font-size: 0.875rem;
    color: #3d3d3d;
    position: relative;
    font-weight: 600;
    background: #e5e5e5;
    border: 1px solid #cecece;
    margin-bottom: 0.5rem;
    border-radius: 0.188rem;
}

.accordion-content {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.accordion button.arrow.open:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.accordion button.arrow.open:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* Hero video — structure only (typography/layout live in site.css) */
.hero-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.hero-video .showreel {
    display: none;
}

#herovid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#herovidmob {
    display: none;
}

@media (max-width: 767px) {
    .hero-video {
        height: 60vh;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    /* Placeholder sits behind the iframe so blocked autoplay still shows artwork. */
    #herovidmob {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 60vh tall at 16:9 needs 106.67vh of width to cover without letterboxing. */
    #herovid {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 106.67vh;
        min-width: 100%;
        height: 100%;
    }
}

@media (max-width: 520px) {
    .nwgju-wrapper .showreel {
        display: none;
    }
}
