.content-image-gallery-section {
    background-color: #f6f7f8;
    padding: 40px 0;
    width: 100%;
}
.content-image-gallery-section .header {
    text-align: left;
    margin-bottom: 25px;
}
.content-image-gallery-section .header h2 {
    color: #4a4a4a;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    margin-bottom: 25px;
}
.content-image-gallery-section .header h2 span {
    color: #e51d27;
}
.content-image-gallery-section .header p {
    max-width: 100%;
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 20px;
}
.content-image-gallery-section .wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 45px;
    margin-top: 20px;
}
.content-image-gallery-section .swiper {
    width: 100%;
    overflow: hidden;
    padding: 15px 0 0px;
}
.content-image-gallery-section .swiper-wrapper {
    display: flex;
}
.content-image-gallery-section .swiper-slide {
    height: auto;
    display: flex;
}
.content-image-gallery-section .card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.content-image-gallery-section .card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.content-image-gallery-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.content-image-gallery-section .img-box {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}
.content-image-gallery-section .img-box img {
    width: 100%;
    height: 320px;
    object-fit: contain;
}
.content-image-gallery-section .info {
    background-color: #e51d27;
    background-image: radial-gradient(
        circle at bottom right,
        rgba(165, 28, 28, 0.6) 0%,
        transparent 60%
    );
    color: #ffffff;
    padding: 20px 25px;
    flex-grow: 1;
    text-align: left;
}
.content-image-gallery-section .info h4 {
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}
.content-image-gallery-section .info p {
    color: #f1f1f1;
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}
.content-image-gallery-section .prev,
.content-image-gallery-section .next {
    width: 40px;
    height: 40px;
    margin-top: -15px;
}
.content-image-gallery-section .prev { 
    left: 0; 
}
.content-image-gallery-section .next { 
    right: 0; 
}
.content-image-gallery-section .prev::after,
.content-image-gallery-section .next::after {
    display: none;
}
.content-image-gallery-section .prev i,
.content-image-gallery-section .next i {
    color: #e51d27;
    font-size: 22px;
    transition: transform 0.3s ease;
}
.content-image-gallery-section .prev:hover i { 
    transform: translateX(-3px); 
}
.content-image-gallery-section .next:hover i { 
    transform: translateX(3px); 
}
.content-image-gallery-section .card-link {
    cursor: pointer;
}
.modal { 
    display: none; 
    position: fixed !important; 
    inset: 0 !important; 
    width: 100vw !important; 
    height: 100vh !important; 
    padding: 20px; 
    box-sizing: border-box; 
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px); 
    z-index: 999999 !important; 
    align-items: center; 
    justify-content: center; 
    overflow-y: auto; 
    overflow-x: hidden; 
} 
.modal.active { 
    display: flex !important; 
} 
.modal-content { 
    position: relative; 
    width: min(750px, 100%); 
    max-width: 750px; 
    max-height: calc(100vh - 40px); 
    margin: auto; 
    background-color: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); 
    animation:  0.3s ease; 
    flex-shrink: 0; 
} 
@keyframes ZoomIn { 
    from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } 
} 
.modal-img-container { 
    background-color: #f8f9fa; 
    padding: 0px; 
    display: flex; align-items: center; 
    justify-content: center; 
    min-height: 200px; 
    max-height: 70vh; 
    box-sizing: border-box; 
    border-bottom: 1px solid #eaeaea; 
} 
.modal-img-container img { 
    display: block; 
    max-width: 100%; 
    max-height: 60vh; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
} 
.modal-info { 
    background-color: #e51d27; 
    background-image: radial-gradient( 
        circle at bottom right, rgba(165, 28, 28, 0.6) 0%, transparent 60% 
    ); 
    color: #ffffff; 
    padding: 25px 30px; 
    text-align: left; 
    box-sizing: border-box; 
} 
.modal-info h3 { 
    font-size: 1.35rem; 
    font-weight: 700; 
    margin: 0 0 10px; 
    color: #ffffff; 
} 
.modal-info p { 
    font-size: 0.95rem; 
    line-height: 1.6; 
    color: #f1f1f1; margin: 0; 
} 
.modal-close { 
    position: absolute; 
    top: 10px; 
    right: 15px; 
    color: #333333; 
    font-size: 32px; 
    font-weight: bold; 
    cursor: pointer; 
    z-index: 10; 
    line-height: 1; 
    transition: color 0.2s; 
} 
.modal-close:hover { color: #e51d27; } 
.content-image-gallery-section .prev i, .content-image-gallery-section .next i {
    color: #2a0f7b !important;
}

.content-image-gallery-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}
.content-image-gallery-section ul li {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify !important;
}
.content-image-gallery-section ol {
    padding-left: 20px;
    margin: 0;
}
.content-image-gallery-section ol li {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify !important;
}

@media (max-width: 1024px) { 
    .content-image-gallery-section {
        padding: 30px 0;
    }
    .content-image-gallery-section .header h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .content-image-gallery-section .header p {
        font-size: 0.9rem;
        font-weight: 400;
    }
    .content-image-gallery-section .info h4 {
        font-size: 0.9rem;
        font-weight: 700;
    }
    .content-image-gallery-section .info p {
        font-size: 0.9rem;
        font-weight: 400;
    }
    .content-image-gallery-section ul li {
        font-size: 0.9rem;
    }
    .content-image-gallery-section ol li {
        font-size: 0.9rem;
    }
    .content-image-gallery-section-image img {
        margin-top: 30px;
    }
    .modal-info h3 { 
        font-size: 1.15rem; 
    } 
    .modal-info p { 
        font-size: 0.9rem; 
    } 
} 
@media (max-width: 768px) { 
    .content-image-gallery-section .header h2 {
        font-size: 1.6rem;
    }
} 
@media (max-width: 599px) { 
    .content-image-gallery-section .header h2 {
        font-size: 1.4rem;
    }
    .content-image-gallery-section .header p {
        font-size: 0.85rem;
        font-weight: 400;
    }
    .content-image-gallery-section .info h4 {
        font-size: 0.8rem;
        font-weight: 700;
    }
    .content-image-gallery-section .info p {
        font-size: 0.85rem;
        font-weight: 400;
    }
    .content-image-gallery-section ul li {
        font-size: 0.85rem;
    }
    .content-image-gallery-section ol li {
        font-size: 0.85rem;
    }
    .modal-info h3 { 
        font-size: 1rem; 
    } 
    .modal-info p { 
        font-size: 0.85rem; 
    } 
} 
@media (max-width: 480px) { 
    .content-image-gallery-section {
        padding: 20px 0;
    }
    .content-image-gallery-section .header h2 {
        font-size: 1.2rem;
    }
    .content-image-gallery-section .header p {
        font-size: 0.8rem;
        font-weight: 400;
    }
    .content-image-gallery-section .info h4 {
        font-size: 0.8rem;
        font-weight: 700;
    }
    .content-image-gallery-section .info p {
        font-size: 0.8rem;
        font-weight: 400;
    }
    .content-image-gallery-section ul li {
        font-size: 0.8rem;
    }
    .content-image-gallery-section ol li {
        font-size: 0.8rem;
    }
    .modal-info h3 { 
        font-size: 0.95rem; 
    } 
    .modal-info p { 
        font-size: 0.8rem; 
    } 
}
@media (max-width: 420px) { 
    .content-image-gallery-section .header h2 {
        font-size: 1.2rem;
    }
    .content-image-gallery-section .header p {
        font-size: 0.75rem;
        font-weight: 400;
    }
    .content-image-gallery-section .info h4 {
        font-size: 0.75rem;
        font-weight: 700;
    }
    .content-image-gallery-section .info p {
        font-size: 0.75rem;
        font-weight: 400;
    }
    .content-image-gallery-section ul li {
        font-size: 0.75rem;
    }
    .content-image-gallery-section ol li {
        font-size: 0.75rem;
    }
    .modal-info h3 { 
        font-size: 0.9rem; 
    } 
    .modal-info p { 
        font-size: 0.75rem; 
    } 
}
@media (max-width: 419px) { 
    .content-image-gallery-section .header h2 {
        font-size: 1.2rem;
    }
    .content-image-gallery-section .header p {
        font-size: 0.75rem;
        font-weight: 400;
    }
    .content-image-gallery-section .info h4 {
        font-size: 0.75rem;
        font-weight: 700;
    }
    .content-image-gallery-section .info p {
        font-size: 0.75rem;
        font-weight: 400;
    }
    .content-image-gallery-section ul li {
        font-size: 0.75rem;
    }
    .content-image-gallery-section ol li {
        font-size: 0.75rem;
    }
    .modal-info h3 { 
        font-size: 0.9rem; 
    } 
    .modal-info p { 
        font-size: 0.75rem; 
    } 
}
@media (max-width: 350px) { 
    .content-image-gallery-section .header h2 {
        font-size: 1rem;
    }
    .content-image-gallery-section .header p {
        font-size: 0.7rem;
        font-weight: 400;
    }
    .content-image-gallery-section .info h4 {
        font-size: 0.7rem;
        font-weight: 700;
    }
    .content-image-gallery-section .info p {
        font-size: 0.7rem;
        font-weight: 400;
    }
    .content-image-gallery-section ul li {
        font-size: 0.7rem;
    }
    .content-image-gallery-section ol li {
        font-size: 0.7rem;
    }
    .modal-info h3 { 
        font-size: 0.85rem; 
    } 
    .modal-info p { 
        font-size: 0.7rem; 
    } 
}