/* Campus Gallery Integration */
.campus__gallery-viewport {
    width: 460px;
    height: 525px;
    position: relative;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
    margin: 0 auto;
    flex-shrink: 0;
}

.campus__gallery-viewport .image-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
}

.campus__gallery-viewport .image-div.new-image {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    animation: revealDiagonal 1.2s ease-out forwards;
}

.campus__gallery-viewport .image-div.fade-out {
    opacity: 0;
}

@keyframes revealDiagonal {
    0% {
        clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    }

    40% {
        clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

/* Enhanced campus card hover effects */
.campus__card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.campus__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile specific styles */
.campus__card.mobile-selected {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.campus__card.hover-effect {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .campus__card.mobile-selected {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .campus__card.hover-effect {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
}