/* Swiper reset */
.cwt-705-wrapper {
    position: relative;
    width: 100%;
}

.cwt-705-swiper {
    width: 100%;
    padding-bottom: 50px; /* space for pagination */
    position: static; /* Let arrows reference the wrapper instead */
}

.cwt-705-slide {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
}

.cwt-705-image-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer; /* indicate it's clickable */
}

.cwt-705-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* default */
    transition: transform 0.3s ease;
}

.cwt-705-image-wrap:hover .cwt-705-image {
    transform: scale(1.02);
}

.cwt-705-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cwt-705-heading {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.cwt-705-subtext {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

/* Pagination & Navigation tweaks */
.cwt-705-wrapper .swiper-pagination-bullet {
    background-color: #000;
    opacity: 0.5;
}
.cwt-705-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Center pagination horizontally */
.cwt-705-wrapper .swiper-pagination {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
    padding-left: 0;
}

/* Move arrows to the sides, vertically centered on the image */
.cwt-705-wrapper .swiper-button-next,
.cwt-705-wrapper .swiper-button-prev {
    color: #000;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    width: 40px;
    height: 40px;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.cwt-705-wrapper .swiper-button-prev {
    left: 10px;
}

.cwt-705-wrapper .swiper-button-next {
    right: 10px;
    left: auto;
}

.cwt-705-wrapper .swiper-button-next:after,
.cwt-705-wrapper .swiper-button-prev:after {
    font-size: 20px;
}

/* Lightbox Styles */
.cwt-705-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999; /* on top of everything */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cwt-705-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.cwt-705-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.cwt-705-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    z-index: 1;
}

.cwt-705-lightbox-swiper {
    width: 100%;
    height: 100%;
}

.cwt-705-lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cwt-705-lightbox-swiper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cwt-705-lightbox-swiper .swiper-button-next,
.cwt-705-lightbox-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.cwt-705-lightbox-swiper .swiper-button-next:after,
.cwt-705-lightbox-swiper .swiper-button-prev:after {
    font-size: 24px;
}