/* =========================================================
   VEIC 2027 — VENUE PAGE
   File: assets/css/venue-page.css
   Powers the [veic_venue_page] shortcode.
   ========================================================= */

.veic-venue-page-outer{
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 70px;
    box-sizing: border-box;
}

/* ---- 60/40 grid: text left, photo right ---- */
.veic-venue-page-grid{
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 44px;
}

/* ---- Photo ---- */
.veic-venue-page-photo{
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 46, 115, 0.14);
}

.veic-venue-page-photo img{
    display: block;
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
}

/* ---- Text content ---- */
.veic-venue-page-content{
    max-width: 100%;
}

.veic-venue-page-eyebrow{
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--veic-secondary);
    margin-bottom: 10px;
}

.veic-venue-page-title{
    font-size: 30px;
    font-weight: 700;
    color: var(--veic-primary);
    margin: 0 0 22px;
    line-height: 1.3;
}

.veic-venue-page-content p{
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--veic-text);
    margin: 0 0 20px;
    text-align: justify;
    text-justify: inter-word;
}

.veic-venue-page-content p:last-child{
    margin-bottom: 0;
}

/* ---- Map ---- */
.veic-venue-page-map{
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 46, 115, 0.14);
}

.veic-venue-page-map iframe{
    display: block;
    width: 100%;
}

.veic-venue-page-map-badge{
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: var(--veic-white);
    color: var(--veic-primary);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(10, 46, 115, 0.18);
    display: flex;
    align-items: center;
    gap: 8px;
}

.veic-venue-page-map-badge i{
    color: var(--veic-secondary);
}

/* ---- Directions link ---- */
.veic-venue-page-directions{
    max-width: 1400px;
    margin: 16px auto 0;
    text-align: right;
}

.veic-venue-page-directions a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--veic-secondary);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.veic-venue-page-directions a:hover{
    color: var(--veic-primary);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
    .veic-venue-page-grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .veic-venue-page-photo{
        order: -1; /* photo above text once stacked */
    }
    .veic-venue-page-photo img{
        max-height: 320px;
    }
}

@media (max-width: 768px){
    .veic-venue-page-outer{ padding: 36px 16px 50px; }
    .veic-venue-page-title{ font-size: 24px; }
    .veic-venue-page-content p{
        font-size: 14.5px;
        text-align: left; /* justified text gets awkward gaps in a narrow single column */
    }
    .veic-venue-page-map iframe{ height: 320px; }
    .veic-venue-page-map-badge{
        font-size: 12px;
        padding: 8px 14px;
        top: 12px;
        left: 12px;
    }
}

@media (max-width: 480px){
    .veic-venue-page-directions{ text-align: left; }
}
