.tg-da61fc80-wrapper {
    --tg-anim-duration: 300ms;
    --tg-anim-easing: ease;
    --tg-auto-thumbs-width: 42%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tg-da61fc80-wrapper *,
.tg-da61fc80-wrapper *::before,
.tg-da61fc80-wrapper *::after {
    box-sizing: border-box;
}

.tg-da61fc80-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    gap: 18px;
    width: 100%;
}

.tg-da61fc80-nav-item {
    margin: 0;
    padding: 0;
}

.tg-da61fc80-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border: 0;
    background: #f2f3f3;
    color: #a51f24;
    border-radius: 999px;
    padding: 12px 32px;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.1;
    text-align: center;
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease, opacity 200ms ease;
    appearance: none;
}

.tg-da61fc80-nav-link:hover,
.tg-da61fc80-nav-link:focus-visible {
    outline: none;
}

.tg-da61fc80-nav-link.tg-active {
    background: #c90000;
    color: #ffffff;
}

.tg-da61fc80-tab-panel {
    display: none;
}

.tg-da61fc80-tab-panel.tg-active {
    display: block;
}

.tg-da61fc80-gallery-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.tg-da61fc80-main-col,
.tg-da61fc80-thumbs-col {
    min-width: 0;
    max-width: 100%;
}

.tg-da61fc80-wrapper[data-sizing-mode="auto"] .tg-da61fc80-main-col {
    flex: 1 1 auto;
    width: auto;
}

.tg-da61fc80-wrapper[data-sizing-mode="auto"] .tg-da61fc80-thumbs-col {
    flex: 0 0 var(--tg-auto-thumbs-width);
    width: var(--tg-auto-thumbs-width);
}

.tg-da61fc80-wrapper[data-sizing-mode="manual"] .tg-da61fc80-main-col {
    width: 58%;
    flex: 1 1 58%;
}

.tg-da61fc80-wrapper[data-sizing-mode="manual"] .tg-da61fc80-thumbs-col {
    width: 42%;
    flex: 1 1 42%;
}

.tg-da61fc80-main-image-container {
    position: relative;
    width: 100%;
    height: 620px;
    border-radius: 34px;
    overflow: hidden;
    background: #f2f3f3;
    isolation: isolate;
}

.tg-da61fc80-main-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: zoom-in;
}

.tg-da61fc80-main-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    transition: opacity var(--tg-anim-duration) var(--tg-anim-easing), transform var(--tg-anim-duration) var(--tg-anim-easing);
}

.tg-da61fc80-tab-panel.tg-changing .tg-da61fc80-main-img {
    opacity: 0.45;
    transform: scale(1.01);
}

.tg-da61fc80-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #c90000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, opacity 200ms ease, transform 200ms ease;
    appearance: none;
}

.tg-da61fc80-arrow-prev { left: 20px; }
.tg-da61fc80-arrow-next { right: 20px; }

.tg-da61fc80-arrow:hover,
.tg-da61fc80-arrow:focus-visible {
    outline: none;
}

.tg-da61fc80-arrow svg,
.tg-da61fc80-arrow i {
    display: block;
    width: 26px;
    height: 26px;
    font-size: 26px;
    line-height: 1;
}

.tg-da61fc80-arrow svg,
.tg-da61fc80-arrow svg * {
    fill: currentColor;
    stroke: currentColor;
}

.tg-da61fc80-wrapper[data-arrow-hover-transform="scale"] .tg-da61fc80-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.tg-da61fc80-wrapper[data-arrow-hover-transform="move"] .tg-da61fc80-arrow-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.tg-da61fc80-wrapper[data-arrow-hover-transform="move"] .tg-da61fc80-arrow-next:hover {
    transform: translateY(-50%) translateX(4px);
}

.tg-da61fc80-thumbs-col {
    overflow: hidden;
}

.tg-da61fc80-thumbnails-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
    width: 100%;
    min-width: 0;
    transition: opacity var(--tg-anim-duration) var(--tg-anim-easing), transform var(--tg-anim-duration) var(--tg-anim-easing);
}

.tg-da61fc80-thumbnails-container.tg-updating {
    opacity: 0.65;
}

.tg-da61fc80-thumb-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0 !important;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: opacity 200ms ease, transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
    appearance: none;
}

.tg-da61fc80-thumb-item::before,
.tg-da61fc80-thumb-item::after {
    content: none !important;
}

.tg-da61fc80-thumb-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.tg-da61fc80-wrapper[data-clickable-thumbs="no"] .tg-da61fc80-thumb-item {
    cursor: default;
    pointer-events: none;
}

.tg-da61fc80-wrapper[data-thumb-hover-transform="scale"] .tg-da61fc80-thumb-item:hover {
    transform: scale(1.03);
}

.tg-da61fc80-wrapper[data-thumb-hover-transform="move_up"] .tg-da61fc80-thumb-item:hover {
    transform: translateY(-5px);
}


.tg-da61fc80-lightbox-items {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tg-da61fc80-lightbox-anchor {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tg-da61fc80-no-images {
    text-align: center;
    padding: 40px 20px;
    color: #888888;
    background: #f2f3f3;
    border-radius: 18px;
    margin: 0;
}

@media (max-width: 767px) {
    .tg-da61fc80-wrapper {
        max-width: 100%;
        overflow-x: hidden;
    }

    .tg-da61fc80-nav {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
        scroll-snap-type: x proximity;
    }

    .tg-da61fc80-nav::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .tg-da61fc80-nav-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .tg-da61fc80-nav-link {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .tg-da61fc80-gallery-layout {
        flex-direction: column;
        overflow: visible;
    }

    .tg-da61fc80-main-col,
    .tg-da61fc80-thumbs-col,
    .tg-da61fc80-wrapper[data-sizing-mode="auto"] .tg-da61fc80-main-col,
    .tg-da61fc80-wrapper[data-sizing-mode="auto"] .tg-da61fc80-thumbs-col {
        width: 100%;
        flex-basis: auto;
    }

    .tg-da61fc80-wrapper[data-hide-thumbs-mobile="yes"] .tg-da61fc80-thumbs-col {
        display: none !important;
    }
}

/* Custom gallery lightbox. This replaces Elementor lightbox for this widget so gallery images are not duplicated and no captions are shown. */
.tg-da61fc80-lightbox-open {
    overflow: hidden;
}

.tg-da61fc80-custom-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    box-sizing: border-box;
}

.tg-da61fc80-custom-lightbox.is-open {
    display: flex;
}

.tg-da61fc80-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 92vw;
    max-height: 88vh;
}

.tg-da61fc80-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.tg-da61fc80-lightbox-close,
.tg-da61fc80-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #b21f24;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.tg-da61fc80-lightbox-close:hover,
.tg-da61fc80-lightbox-nav:hover {
    background: #ffffff;
}

.tg-da61fc80-wrapper[data-lightbox-close-hover-transform="scale"] .tg-da61fc80-lightbox-close:hover {
    transform: scale(1.06);
}

.tg-da61fc80-lightbox-close {
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    font-size: 34px;
    font-weight: 300;
}

.tg-da61fc80-lightbox-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    font-size: 28px;
    transform: translateY(-50%);
}

.tg-da61fc80-lightbox-nav:hover {
    transform: translateY(-50%);
}

.tg-da61fc80-wrapper[data-lightbox-arrow-hover-transform="scale"] .tg-da61fc80-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.tg-da61fc80-lightbox-prev {
    left: 24px;
}

.tg-da61fc80-lightbox-next {
    right: 24px;
}

.tg-da61fc80-custom-lightbox:not(.has-multiple) .tg-da61fc80-lightbox-nav {
    display: none;
}

@media (max-width: 1024px) {
    .tg-da61fc80-wrapper[data-lightbox-hide-arrows-touch="yes"] .tg-da61fc80-lightbox-nav {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .tg-da61fc80-custom-lightbox {
        padding: 16px;
    }

    .tg-da61fc80-lightbox-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .tg-da61fc80-lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .tg-da61fc80-lightbox-prev {
        left: 12px;
    }

    .tg-da61fc80-lightbox-next {
        right: 12px;
    }
}
