/**
 * ==========================================================
 * VISIONEXHIBIT
 * VENUE LISTING STYLES
 * ==========================================================
 */

.ve-venue-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    color: #111111;
}


/* ==========================================================
   PAGE HEADING
   ========================================================== */

.ve-venue-heading {
    width: 100%;
    padding: 80px 24px 65px;
    background: #f5f5f5;
}

.ve-venue-heading-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.ve-heading-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.ve-venue-heading h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
}


/* ==========================================================
   LOCATION CONTROLS
   ========================================================== */

.ve-venue-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.ve-venue-controls label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.ve-venue-controls select {
    min-width: 220px;
    padding: 12px 16px;
    border: 1px solid #cccccc;
    background: #ffffff;
    font-size: 14px;
    cursor: pointer;
}


/* ==========================================================
   CONTENT
   ========================================================== */

.ve-venue-content {
    width: 100%;
    padding: 65px 24px 100px;
}

.ve-venue-content-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.ve-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.ve-results-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
}

#ve-results-count {
    color: #777777;
    font-size: 14px;
}


/* ==========================================================
   VENUE GRID
   ========================================================== */

.ve-venue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 25px;
}


/* ==========================================================
   VENUE CARD
   ========================================================== */

.ve-venue-card {
    min-width: 0;
}

.ve-venue-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eeeeee;
}

.ve-venue-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ve-venue-card:hover .ve-venue-card-image img {
    transform: scale(1.04);
}

.ve-venue-card-info {
    padding-top: 18px;
}

.ve-venue-card-location {
    margin-bottom: 10px;
    font-size: 12px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ve-venue-card-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.ve-venue-card-title a {
    color: inherit;
    text-decoration: none;
}

.ve-venue-card-title a:hover {
    text-decoration: underline;
}

.ve-venue-card-address {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.ve-venue-card-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #777777;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}


/* ==========================================================
   LOADING / ERROR / EMPTY
   ========================================================== */

.ve-loading,
.ve-error,
.ve-empty {
    padding: 35px 0;
    font-size: 15px;
    color: #777777;
}

.ve-error {
    color: #b00020;
}

.ve-loading[hidden],
.ve-error[hidden] {
    display: none;
}


/* ==========================================================
   PAGINATION
   ========================================================== */

.ve-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.ve-pagination button {
    padding: 12px 22px;
    border: 1px solid #cccccc;
    background: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.ve-pagination button:hover:not(:disabled) {
    background: #111111;
    color: #ffffff;
}

.ve-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ve-pagination span {
    font-size: 14px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .ve-venue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .ve-venue-heading {
        padding: 55px 20px;
    }

    .ve-venue-heading h1 {
        letter-spacing: -1px;
    }

    .ve-venue-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ve-venue-controls select {
        width: 100%;
    }

    .ve-venue-content {
        padding: 45px 20px 75px;
    }

    .ve-venue-grid {
        grid-template-columns: 1fr;
    }

    .ve-results-header h2 {
        font-size: 22px;
    }

    .ve-pagination {
        gap: 12px;
    }

}