/*======================*/
/*  LightBox            */
/*======================*/
.lg-backdrop {background-color: rgba(0, 0, 0, 0.5) !important;backdrop-filter: blur(5px);}
.lg-outer .lg-toolbar {background-color: var(--bg-light);}
.lg-outer .lg-toolbar .lg-icon {color: var(--clr-title);}
.lg-outer .lg-toolbar .lg-icon:not(.lg-close) {display: none;}
.lg-outer .lg-toolbar #lg-counter {font-size: var(--text);color: var(--clr-title);}
.lg-outer .lg-actions {--sw-btn: 3.125rem;}
.lg-outer .lg-actions .lg-next,
.lg-outer .lg-actions .lg-prev {color: var(--clr-white);padding: 0;background-color: transparent;transition: var(--transition-1);}
.lg-outer .lg-actions .swiper-button-prev {left: 0;border-color: var(--clr-white);}
.lg-outer .lg-actions .swiper-button-next {right: 0;border-color: var(--clr-white);transform: rotate(180deg);}
.lg-outer .lg-thumb {margin: 0 auto;}
.lg-outer .lg-thumb-outer {background-color: var(--bg-light) !important;box-shadow: none;}
.lg-outer .lg-toogle-thumb {background-color: var(--bg-light) !important;box-shadow: none;color: var(--clr-title);transition: var(--transition-1);}
.lg-outer .lg-thumb-item {border-radius: 0 !important;text-align: center;}
.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {border-color: var(--clr-secondary) !important;}
.lg-outer.lg-pull-caption-up .lg-sub-html {max-width: 80%;margin: 0 auto;color: var(--clr-white);background-color: rgba(var(--rgb-secondary), 1);}
.lg-sub-html > *:not(:last-child) {margin-bottom: 10px;}
.lg-sub-html .caption {font-size: var(--text);color: var(--clr-white);}
.lg-sub-html p {font-size: 0.75rem;color: var(--clr-white);}
.lg-outer .lg-video-cont {max-width: 100% !important;max-height: 100% !important;width: auto;}
.lg-outer .lg-video {width: auto;height: auto;padding-bottom: unset !important;overflow: hidden;position: relative;}
.lg-outer .lg-video > * {max-width: 100%;max-height: 100%;height: auto;width: auto;}
@media (min-width: 1200px) {
.lg-outer .lg-toolbar .lg-icon:hover {color: var(--clr-secondary);}
.lg-outer .lg-toogle-thumb:hover {color: var(--clr-secondary);}
.lg-outer .lg-actions .lg-next:hover,
.lg-outer .lg-actions .lg-prev:hover {color: var(--clr-secondary);}
}
@media (max-width: 575px) {
.lg-outer .lg-actions .lg-next,
.lg-outer .lg-actions .lg-prev {display: none;}
}
/*======================*/
/*  Gallery             */
/*======================*/
.gallery-block:has(.gallery-couple) .marquee-wrap {--marquee-h: 74.5vh;--marquee-gap: 0.75rem;}
.gallery-block:not(:has(.gallery-couple)) .marquee-wrap {--marquee-h: 44.5vh;}
.gallery-block:not(:has(.gallery-couple)) .gallery-img {width: auto;height: calc(var(--marquee-h) * 0.81874);align-self: flex-start;aspect-ratio: 1/1;}
.gallery-block:not(:has(.gallery-couple)) .gallery-img:nth-child(odd) {height: var(--marquee-h);aspect-ratio: 393/480;}
.gallery-block .btn {display: flex;width: -moz-fit-content;width: fit-content;margin-inline: auto;}
.gallery-grid {gap: var(--marquee-gap);display: flex;width: -moz-max-content;width: max-content;height: var(--marquee-h);}
.gallery-couple {--items: 2;--total-height: var(--marquee-h);--gap: var(--marquee-gap);--ratio-square: 1;--ratio-rect: 1.221374046;--total-ratio: calc(var(--ratio-square) + var(--ratio-rect));--base-size: calc((var(--total-height) - var(--gap)) / var(--total-ratio));--height-square: var(--base-size);--height-rect: calc(var(--base-size) * var(--ratio-rect));--calculated-total: calc(var(--height-square) + var(--height-rect) + var(--gap));display: flex;flex-direction: column;width: var(--base-size);height: var(--marquee-h);justify-content: flex-start;}
.gallery-couple > * + * {margin-top: var(--marquee-gap);}
.gallery-img {position: relative;overflow: hidden;cursor: pointer;border-radius: 1rem;width: auto;height: var(--marquee-h);}
.gallery-img img {position: absolute;left: 0;top: 0;width: 100%;height: 100%;-o-object-fit: cover;object-fit: cover;transition: var(--transition-1);border-radius: inherit;}
.gallery-couple .gallery-img {width: 100%;}
.gallery-couple .gallery-img:nth-child(1) {height: var(--height-rect);aspect-ratio: 393/480;}
.gallery-couple .gallery-img:nth-child(2) {height: var(--height-square);aspect-ratio: 1/1;}
.gallery-couple:nth-child(odd) .gallery-img:nth-child(1) {height: var(--height-square);aspect-ratio: 1/1;}
.gallery-couple:nth-child(odd) .gallery-img:nth-child(2) {height: var(--height-rect);aspect-ratio: 393/480;}
@media (min-width: 1200px) {
.gallery-block .marquee-wrap {--marquee-gap: 1.5rem;}
.gallery-img:hover img {transform: scale(1.05);}
}