/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.4
*/

/* Venue page layout */
.utp-content-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

.utp-main {
    flex: 1;
    min-width: 0; /* prevents flex overflow on long content */
}

.utp-content-wrap {
    max-width: 720px;
}

/* Venue hero image */
.venue-hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

/* Entry card look */
.utp-venue-entry {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.utp-entry-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.venue-archive-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Venue detail rows */
.venue-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.venue-detail-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.venue-detail-content {
    line-height: 1.4;
}

/* Venue badges */
.venue-taxonomy-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 20px;
}

.venue-badge,
.venue-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: #f0f0f0;
}

.venue-badge,
.venue-feature-tag,
.venue-archive-type-badge {
    text-decoration: none;
    color: inherit;
}

.venue-badge,
.venue-feature-tag,
.venue-archive-type-badge {
    text-decoration: none;
    color: inherit;
}

.utp-content-container > *:first-child {
    flex: 1 1 0;
    min-width: 0;
}

.utp-content-container > *:last-child {
    flex: 0 0 300px;
    max-width: 300px;
}

.venue-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.venue-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.venue-related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.venue-related-name {
    display: block;
    margin-top: 8px;
    font-weight: 600;
}

.venue-detail-icon svg {
    position: relative;
    top: 1px;
}

/* Venue archive grid */
.venue-archive-header {
    margin-bottom: 24px;
}

.venue-archive-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.venue-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.venue-archive-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.venue-archive-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.venue-archive-no-image {
    background: #e0e0e0;
}

.venue-archive-card-content {
    padding: 16px;
}

.venue-archive-card-title {
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.venue-archive-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.venue-archive-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: #f0f0f0;
}