.branch-page {
    background: #fff !important;
    color: #111;
    --branch-title-left: 4.5rem;
    --branch-title-left-lg: 2.5rem;
    --branch-title-left-sm: 1.4rem;
    --branch-decoration-shift: 1rem;
}

.branch-page strong {
    font-weight: 500;
}

.branch-navbar {
    z-index: 100001;
}

.branch-lang {
    color: #111;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.branch-lang-arrow {
    color: rgb(var(--bs-red));
    font-size: 0.6rem;
    margin-left: 0.25rem;
}

.branch-dropdown-arrow {
    color: rgb(var(--bs-red));
    display: inline-block;
    font-size: 0.6rem;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.branch-facilities {
    overflow: visible;
    position: relative;
}

.branch-hero {
    border-bottom: 4px solid rgb(var(--bs-warning-rgb));
    margin-top: 5.4rem;
    min-height: min(860px, 100vh);
    overflow: hidden;
    position: relative;
}

.branch-hero-bg {
    filter: grayscale(100%);
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.branch-hero-overlay {
    background: rgba(14, 18, 28, 0.66);
    inset: 0;
    position: absolute;
    z-index: 1;
}

.branch-branchlist {
    background: rgb(var(--bs-warning-rgb));
    color: #fff;
    font-size: 0.76rem;
    font-weight: 500;
    left: 0;
    margin-top: 0.7rem;
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem 1.1rem;
    position: absolute;
    top: 100%;
    width: min(340px, 90vw);
    z-index: 100005;
}

.branch-facilities .branch-branchlist {
    display: none;
}

.branch-facilities.is-open .branch-branchlist {
    display: block;
}

.branch-facilities.is-open .branch-dropdown-arrow {
    transform: rotate(180deg);
}

.branch-facilities-toggle {
    align-items: center;
    display: inline-flex;
}

.branch-facilities-toggle.active::after {
    transform: scaleX(1);
}

.branch-facilities .branch-branchlist ul {
    display: block;
    flex-direction: column;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    padding: 0;
}

.branch-facilities .branch-branchlist li {
    align-items: flex-start;
    display: block;
    margin-bottom: 0.2rem;
    margin-top: 0;
}

.branch-facilities .branch-branchlist li:last-child {
    margin-bottom: 0;
}

.branch-facilities .branch-branchlist a {
    color: #fff;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0.95;
    text-transform: uppercase;
}

.branch-facilities .branch-branchlist li.is-active a {
    color: #0f2f0d;
    opacity: 1;
}

.branch-facilities .branch-branchlist a:hover {
    opacity: 1;
}

.branch-branchlist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.branch-branchlist li {
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.branch-branchlist li:last-child {
    margin-bottom: 0;
}

.branch-branchlist a {
    color: #fff;
    display: inline-block;
    opacity: 0.9;
}

.branch-branchlist li.is-active a {
    color: #0f2f0d;
    font-weight: 500;
    opacity: 1;
}

@media (min-width: 992px) {
    .branch-facilities .branch-branchlist {
        display: block;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .branch-facilities:hover .branch-branchlist,
    .branch-facilities.is-open .branch-branchlist {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .branch-facilities:hover .branch-dropdown-arrow,
    .branch-facilities.is-open .branch-dropdown-arrow {
        transform: rotate(180deg);
    }
}

.branch-hero-content {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    padding: 0;
    position: absolute;
    text-align: center;
    z-index: 2;
}

.branch-hero-content-inner {
    display: flex;
    flex-direction: column;
}

.branch-hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 4.7rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    margin: 0 0 0.7rem;
    text-transform: uppercase;
}

.branch-hero-content p {
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
}

.branch-hero-content p a {
    color: #fff;
}

.branch-hero-content p span {
    margin: 0 0.25rem;
}

.branch-crumb-active {
    color: rgb(var(--bs-warning-rgb));
    font-weight: 500;
}

.branch-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-intro-copy {
    background: #f5f5f5;
    padding: 4.4rem 3rem 4rem var(--branch-title-left);
}

.branch-intro-copy h2 {
    font-size: clamp(2.6rem, 3.8vw, 4.8rem);
    font-weight: 300;
    margin: 0.75rem 0 1.8rem;
    text-transform: uppercase;
}

.branch-intro-copy .branch-intro-rich-text,
.branch-intro-copy .branch-intro-fallback {
    font-size: clamp(1.1rem, 1.35vw, 1.55rem);
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    max-width: 36rem;
}

.branch-intro-copy .branch-intro-rich-text p {
    margin: 0 0 1rem;
}

.branch-intro-copy .branch-intro-rich-text p:last-child {
    margin-bottom: 0;
}

.branch-intro-copy .branch-intro-rich-text ul,
.branch-intro-copy .branch-intro-rich-text ol {
    margin: 0 0 1rem;
    padding-left: 1.25em;
}

.branch-intro-copy .branch-intro-rich-text ul:last-child,
.branch-intro-copy .branch-intro-rich-text ol:last-child {
    margin-bottom: 0;
}

.branch-intro-image {
    min-height: 580px;
}

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

.branch-contact-gallery {
    background: #fff;
}

.branch-contact {
    background: url("../images/concrete.jpg") center center/cover no-repeat;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
}

.branch-contact--with-representative {
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.86fr) minmax(420px, 1fr);
}

.branch-contact-copy {
    padding: 4.4rem 3rem 4rem var(--branch-title-left);
}

.branch-contact-copy h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0.75rem 0 2rem;
}

.branch-contact-copy h2 strong {
    font-weight: 700;
    text-transform: uppercase;
}

.branch-contact-copy table {
    border-collapse: collapse;
    font-size: 1.75rem;
    max-width: 42rem;
    width: 100%;
}

.branch-contact-copy td {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.35;
    padding: 0.18rem 0;
    vertical-align: top;
}

.branch-contact-copy td + td {
    padding-left: 1.5rem;
}

.branch-contact-copy td:first-child {
    min-width: 15rem;
    width: 15rem;
}

.branch-contact-copy a {
    color: inherit;
    text-decoration: none;
}

.branch-representative {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.4rem 2.2rem 4rem;
}

.branch-representative-name {
    font-size: clamp(1.65rem, 2.1vw, 2.4rem);
    line-height: 1.05;
    margin: 1.5rem 0 0;
    text-align: center;
    text-transform: uppercase;
}

.branch-representative-first {
    font-weight: 300;
}

.branch-representative-last {
    font-weight: 700;
}

.branch-contact-copy td.branch-label {
    color: rgb(var(--bs-red));
    font-weight: 500;
    text-transform: uppercase;
}

.branch-map {
    min-height: 540px;
    overflow: hidden;
    position: relative;
}

.branch-map-canvas {
    height: 100%;
    min-height: inherit;
    width: 100%;
}

.branch-map > img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.branch-map-pin {
    bottom: 48%;
    height: 48px !important;
    left: 39%;
    position: absolute;
    width: 35px !important;
}

.branch-gallery {
    background: #fff;
    padding: 3.8rem 0 6rem;
}

.branch-gallery-inner {
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
}

.branch-intro-copy .decoration,
.branch-contact-copy .decoration {
    margin-left: calc(-1 * var(--branch-decoration-shift));
    margin-right: 2rem;
}

.branch-gallery-inner .decoration {
    margin-left: calc(
        var(--branch-title-left) - var(--branch-decoration-shift)
    );
    margin-right: 2rem;
}

.branch-gallery-inner h2 {
    font-size: clamp(2.6rem, 3.8vw, 4.8rem);
    font-weight: 300;
    margin: 0.75rem 2rem 2rem var(--branch-title-left);
    text-transform: uppercase;
}

.branch-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0 2rem 2rem var(--branch-title-left);
}

.branch-gallery-filter {
    background: #000;
    border: 0;
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: clamp(0.95rem, 1.05vw, 1.35rem);
    font-weight: 300;
    line-height: 1.1;
    padding: 0.45rem 0.95rem;
    text-transform: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.branch-gallery-filter:hover {
    background: #1a1a1a;
    color: #fff;
}

.branch-gallery-filter:focus-visible {
    outline: 2px solid rgba(var(--bs-red), 0.65);
    outline-offset: 2px;
}

.branch-gallery-filter.is-active {
    background: rgb(var(--bs-red));
    color: #fff;
}

.branch-gallery-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
}

.branch-gallery-item {
    aspect-ratio: 4 / 3;
    background-color: transparent;
    display: block;
    overflow: hidden;
    position: relative;
}

.branch-gallery-item img {
    display: block;
    height: 100%;
    opacity: 1;
    object-fit: cover;
    transition: opacity 0.5s ease;
    width: 100%;
}

.branch-gallery-item::after {
    background: url("../images/icons/zoom.png") center center / contain no-repeat;
    content: "";
    height: 40px;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    width: 40px;
}

.branch-gallery-item:hover {
    background-color: #232331;
}

.branch-gallery-item:hover img {
    opacity: 0.3;
}

.branch-gallery-item:hover::after {
    opacity: 1;
}

.branch-gallery-item.is-filter-hidden {
    display: none;
}

.branch-footer {
    background-color: rgb(23, 21, 21);
}

.branch-footer p {
    color: #838383;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-right: 1.2rem;
}

.branch-footer-right {
    min-width: 145px;
    position: relative;
}

.branch-home-btn {
    align-items: center;
    background: rgb(var(--bs-red));
    display: flex;
    height: 64px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: -74px;
    width: 64px;
}

@media (max-width: 1199.98px) {
    .branch-hero {
        margin-top: 5rem;
        min-height: 720px;
    }

    .branch-intro-copy {
        padding: 3.2rem 2.5rem;
    }

    .branch-contact-copy {
        padding: 3.2rem 2.5rem;
    }

    .branch-representative {
        padding: 3.2rem 2rem 2.8rem;
    }

    .branch-contact--with-representative {
        grid-template-columns: 1fr;
    }

    .branch-contact--with-representative .branch-contact-copy,
    .branch-contact--with-representative .branch-representative,
    .branch-contact--with-representative .branch-map {
        grid-area: auto;
    }

    .branch-contact--with-representative .branch-representative {
        align-items: center;
        padding: 0 2.5rem 3rem;
    }

    .branch-contact-copy table {
        max-width: 100%;
    }

    .branch-contact-copy td:first-child {
        min-width: 13rem;
        width: 13rem;
    }

    .branch-gallery-inner .decoration {
        margin-left: calc(
            var(--branch-title-left-lg) - var(--branch-decoration-shift)
        );
    }

    .branch-gallery-inner h2 {
        margin-left: var(--branch-title-left-lg);
    }

    .branch-gallery-filters {
        margin-left: var(--branch-title-left-lg);
    }

    .branch-map {
        min-height: 470px;
    }
}

@media (max-width: 991.98px) {
    .branch-lang {
        border-top: 1px solid rgba(0, 0, 0, 0.12);
        display: inline-block;
        margin: 0.5rem 0 0.2rem;
        padding-top: 0.8rem;
        width: auto;
    }

    .branch-hero {
        margin-top: 5rem;
        min-height: 660px;
    }

    .branch-facilities {
        align-items: flex-start;
        display: block;
    }

    .branch-facilities .branch-facilities-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .branch-facilities .branch-branchlist {
        margin-top: 0.35rem;
        max-height: none;
        position: static;
        width: 100%;
    }

    .branch-facilities .branch-branchlist a {
        font-size: 0.78rem;
        width: 100%;
    }

    .branch-facilities:not(.is-open) .branch-branchlist {
        display: none;
    }

    .branch-facilities.is-open .branch-branchlist {
        display: block;
    }

    .branch-intro {
        grid-template-columns: 1fr;
    }

    .branch-intro-copy {
        padding: 3rem 1.4rem 2.4rem;
    }

    .branch-intro-image {
        min-height: 360px;
    }

    .branch-intro-image img {
        max-width: 100%;
    }

    .branch-contact {
        grid-template-columns: 1fr;
    }

    .branch-contact--with-representative {
        grid-template-columns: 1fr;
    }

    .branch-contact-copy {
        padding: 3rem 1.4rem 2.6rem;
    }

    .branch-representative {
        padding: 0 1.4rem 2.6rem;
    }

    .branch-contact-copy td:first-child {
        min-width: 10.7rem;
        width: 10.7rem;
    }

    .branch-map {
        min-height: 360px;
    }

    .branch-gallery-inner .decoration {
        margin-left: calc(
            var(--branch-title-left-sm) - var(--branch-decoration-shift)
        );
        margin-right: 1rem;
    }

    .branch-gallery-inner h2 {
        margin-left: var(--branch-title-left-sm);
        margin-right: 1rem;
    }

    .branch-gallery-filters {
        margin-left: var(--branch-title-left-sm);
        margin-right: 1rem;
    }

    .branch-gallery-grid {
        gap: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .branch-home-btn {
        top: -68px;
    }

    .branch-footer p {
        margin-right: 0;
    }
}

@media (max-width: 767.98px) {
    .branch-hero {
        min-height: 620px;
    }

    .branch-hero-content {
        justify-content: flex-end;
        padding-bottom: 2rem;
    }

    .branch-contact-copy table {
        table-layout: fixed;
    }

    .branch-contact-copy td {
        font-size: 1.2rem;
    }

    .branch-contact-copy td:first-child {
        margin-top: 0;
        min-width: 9.2rem;
        white-space: nowrap;
        width: 9.2rem;
    }

    .branch-contact-copy td + td {
        padding-left: 1rem;
    }

    .branch-map-pin {
        bottom: 45%;
        left: 43%;
    }

    .branch-representative-name {
        font-size: clamp(1.3rem, 5.8vw, 1.95rem);
    }
}
