.filter-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 100px 0 0 0;
}

.btn-red {
    background: linear-gradient(281deg, #0029aa 0%, #d40000 100%);
    padding: 10px  20px;
    color: #ffff;
    border-radius: 50px;
    cursor: pointer;
}

.btn-outline {
    background: #ffff;
    border-radius: 50px;
    padding: 10px 20px;
    color: #000;
    box-shadow: 0 0 10px 5px #f3eeee;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 0 90px 0;
}

.card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 1px #aaa;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

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

.wide { grid-column: span 1; }

.e-con>.e-con-inner {
    gap: var(--row-gap) var(--column-gap);
    height: 100%;
    margin: 0 auto;
    max-width: 1800px !important;
    padding-inline-end: 0;
    padding-inline-start: 0;
    width: 100%;
}



.ad360-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.ad360-modal.show-modal {
    display: flex;
}

.ad360-modal-content {
    background-color: #ffffff;
    position: relative;
    padding: 10px 10px;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    box-sizing: border-box;
    overflow: hidden; 
}

.ad360-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.ad360-close-btn:hover { background-color: #dc2626; }

.ad360-slider-container {
    width: 100%;
    height: 70vh;
    overflow: hidden; 
    position: relative;
}

.ad360-slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    cursor: grab;
}

.ad360-slider-track:active {
    cursor: grabbing;
}

.ad360-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none; 
}

.ad360-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ad360-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s;
}

.ad360-prev-btn { left: 0; }
.ad360-next-btn { right: 0; }
.ad360-nav-btn:hover { background-color: rgba(0, 0, 0, 0.9); }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(1, 1fr); }
    .ad360-modal-content { padding: 50px 10px 20px 10px; }
    .ad360-slider-container { height: 50vh; }
    .ad360-nav-btn { padding: 10px 15px; font-size: 18px; }
}