/* =========================================================
   VenueList Public Styles — FlexMag Compatible
   ========================================================= */

:root {
    --vl-accent:        #0073aa;
    --vl-radius:        8px;
    --vl-shadow:        0 2px 12px rgba(0,0,0,.10);
    --vl-shadow-hover:  0 6px 24px rgba(0,0,0,.18);
    --vl-transition:    .22s ease;
    --vl-text:          #222;
    --vl-muted:         #666;
    --vl-border:        #e0e0e0;
    --vl-bg:            #fff;
    --vl-card-body-bg:  #f7f7f7;
    --vl-featured-bg:   #f2f2f2;
}

/* ── Grid ────────────────────────────────────────────────── */
.vl-directory,
.vl-listings {
    display: grid;
    gap: 24px;
    margin: 28px 0;
}

.vl-cols-1 { grid-template-columns: 1fr; }
.vl-cols-2 { grid-template-columns: repeat(2, 1fr); }
.vl-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vl-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .vl-cols-3,
    .vl-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .vl-cols-2,
    .vl-cols-3,
    .vl-cols-4 { grid-template-columns: 1fr; }
}

/* ── Category Cards ──────────────────────────────────────── */
.vl-cat-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--vl-radius);
    overflow: hidden;
    box-shadow: var(--vl-shadow);
    text-decoration: none !important;
    color: inherit;
    background: var(--vl-bg);
    transition: transform var(--vl-transition), box-shadow var(--vl-transition);
    position: relative;
}

.vl-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vl-shadow-hover);
    color: inherit;
}

.vl-cat-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}

.vl-cat-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.vl-cat-card:hover .vl-cat-card__image {
    transform: scale(1.05);
}

.vl-cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45) 100%);
    pointer-events: none;
}

.vl-cat-card__info {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vl-cat-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--vl-text);
    line-height: 1.3;
}

.vl-cat-card:hover .vl-cat-card__title {
    color: var(--vl-accent);
}

.vl-cat-card__desc {
    font-size: .875rem;
    color: var(--vl-muted);
    margin: 0;
    line-height: 1.5;
}

.vl-cat-card__count {
    margin-top: auto;
    font-size: .8rem;
    color: var(--vl-accent);
    font-weight: 600;
    letter-spacing: .02em;
}

/* ── Listing Cards ───────────────────────────────────────── */
.vl-listing-card {
    background: var(--vl-bg);
    border: 1px solid var(--vl-border);
    border-radius: var(--vl-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--vl-shadow);
    transition: box-shadow var(--vl-transition);
}

.vl-listing-card:hover {
    box-shadow: var(--vl-shadow-hover);
}

.vl-listing-card--featured {
    border-color: var(--vl-accent);
    border-left-width: 4px;
}

.vl-listing-card--featured .vl-listing-card__body {
    background: #f0f4f8;
}

/* Featured title uses same dark color as regular — badge distinguishes it */

.vl-listing-card__thumb-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}

.vl-listing-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1a1a1a;
    display: block;
    transition: transform .3s ease;
}

.vl-listing-card:hover .vl-listing-card__thumb {
    transform: scale(1.04);
}

.vl-listing-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: var(--vl-card-body-bg);
}

.vl-listing-card__header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.vl-listing-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
    line-height: 1.3;
    color: #222 !important;
}

.vl-listing-card__title a,
.vl-listing-card__title a:link,
.vl-listing-card__title a:visited {
    color: #222 !important;
    text-decoration: none !important;
}

.vl-listing-card__title a:hover,
.vl-listing-card__title a:focus {
    color: var(--vl-accent) !important;
    text-decoration: none !important;
}

.vl-listing-card__excerpt {
    font-size: .875rem;
    color: var(--vl-muted);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Listing Meta ────────────────────────────────────────── */
.vl-listing-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .82rem;
    color: var(--vl-muted);
}

.vl-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.vl-meta-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--vl-accent);
}

.vl-meta-item a {
    color: inherit;
    text-decoration: none;
}

.vl-meta-item a:hover {
    color: var(--vl-accent);
}

/* ── Actions ─────────────────────────────────────────────── */
.vl-listing-card__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vl-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
}

.vl-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: background var(--vl-transition), color var(--vl-transition), border-color var(--vl-transition);
    background: var(--vl-accent);
    color: #fff !important;
    border: 2px solid var(--vl-accent);
}

.vl-btn:hover {
    background: transparent;
    color: var(--vl-accent) !important;
}

.vl-btn--outline {
    background: transparent;
    color: var(--vl-accent) !important;
}

.vl-btn--outline:hover {
    background: var(--vl-accent);
    color: #fff !important;
}

/* ── Badges ──────────────────────────────────────────────── */
.vl-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.vl-badge--featured {
    background: #f59e0b;
    color: #fff;
    border: none;
    box-shadow: 0 1px 4px rgba(245,158,11,.4);
}

.vl-price {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    vertical-align: middle;
}

/* ── Misc ────────────────────────────────────────────────── */
.vl-notice {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: var(--vl-radius);
    padding: 16px 20px;
    color: var(--vl-muted);
    font-style: italic;
}

/* ── FlexMag theme compat ────────────────────────────────── */
.vl-directory a,
.vl-listings a {
    box-shadow: none;
}

.vl-cat-card__title,
.vl-listing-card__title {
    border: none !important;
    padding: 0 !important;
}

/* ── Category listing view (inside directory page) ───────────────────────── */
.vl-back-link {
    margin-bottom: 16px;
}

.vl-back-link a {
    color: var(--vl-accent);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
}

.vl-back-link a:hover { text-decoration: underline; }

.vl-cat-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.vl-cat-desc {
    color: #666;
    margin: 0 0 20px;
    font-size: .95rem;
}

/* ── Single Listing Detail Page ──────────────────────────────────────────── */
.vl-detail { max-width: 900px; margin: 0 auto; }

.vl-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 16px;
}

@media (max-width: 680px) {
    .vl-detail__inner { grid-template-columns: 1fr; }
}

.vl-detail__image { border-radius: var(--vl-radius); overflow: hidden; }
.vl-detail__img   { width: 100%; height: auto; display: block; border-radius: var(--vl-radius); }

.vl-detail__header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.vl-detail__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    line-height: 1.2;
}

.vl-detail__description {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--vl-text);
    margin-bottom: 20px;
}

.vl-detail__fields {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--vl-border);
    border-radius: var(--vl-radius);
    overflow: hidden;
    background: #fff;
}

.vl-detail__field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--vl-border);
}

.vl-detail__field:last-child { border-bottom: none; }
.vl-detail__field:nth-child(even) { background: #f7f7f7; }

.vl-detail__field-icon {
    flex-shrink: 0;
    color: var(--vl-accent);
    margin-top: 2px;
}

.vl-detail__field-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vl-detail__field-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--vl-muted);
}

.vl-detail__field-value {
    font-size: .9rem;
    color: var(--vl-text);
    word-break: break-word;
}

.vl-detail__link {
    color: var(--vl-accent);
    text-decoration: none;
    font-weight: 500;
}

.vl-detail__link:hover { text-decoration: underline; }

/* ── Public Submission Form ───────────────────────────────────────────────── */
.vl-submit-wrap { max-width: 680px; margin: 0 auto; }

.vl-submit-intro {
    background: #f7f7f7;
    border-left: 4px solid var(--vl-accent);
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 28px;
    font-size: .95rem;
    color: #444;
}

.vl-submit-intro p { margin: 0; }

.vl-form-notice {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: .93rem;
    line-height: 1.6;
}

.vl-form-notice--success {
    background: #edfaef;
    border: 1px solid #8de0a0;
    color: #1a5928;
}

.vl-form-notice--error {
    background: #fef2f2;
    border: 1px solid #f5a0a0;
    color: #7f1d1d;
}

.vl-form-notice ul { margin: 8px 0 0 20px; padding: 0; }
.vl-form-notice li { margin-bottom: 4px; }

.vl-submit-form { display: flex; flex-direction: column; gap: 20px; }

.vl-sf-field { display: flex; flex-direction: column; gap: 6px; }

.vl-sf-field label {
    font-weight: 600;
    font-size: .9rem;
    color: #222;
}

.vl-sf-field--required label span { color: #c00; margin-left: 2px; }

.vl-sf-field input[type="text"],
.vl-sf-field input[type="email"],
.vl-sf-field input[type="url"],
.vl-sf-field select,
.vl-sf-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: .95rem;
    color: #222;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.vl-sf-field input:focus,
.vl-sf-field select:focus,
.vl-sf-field textarea:focus {
    border-color: var(--vl-accent);
    box-shadow: 0 0 0 3px rgba(0,115,170,.12);
    outline: none;
}

.vl-sf-field textarea { resize: vertical; min-height: 120px; }

.vl-sf-field input[type="file"] {
    padding: 8px 0;
    border: none;
    background: none;
    font-size: .9rem;
}

.vl-sf-hint {
    margin: 0;
    font-size: .8rem;
    color: #888;
}

.vl-sf-submit { padding-top: 8px; }

.vl-sf-submit .vl-btn {
    padding: 12px 28px;
    font-size: 1rem;
}



/* ── URL field link on card ──────────────────────────────────────────────── */
.vl-url-link {
    color: var(--vl-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: .82rem;
}

.vl-url-link:hover {
    text-decoration: underline;
    color: var(--vl-accent);
}

/* ── Event date badge on listing card ────────────────────────────────────── */
.vl-event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    background: var(--vl-accent);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 4px;
}

.vl-event-date svg { flex-shrink: 0; }

/* ── Submission form hints ───────────────────────────────────────────────── */
.vl-sf-hint--warn {
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: .82rem;
    margin-top: 4px;
}

/* ── Submission form page link → button style ────────────────────────────── */
/* Targets the FlexMag red link at top of submissions page */
.vl-submit-page-btn,
a[href*="submission"],
a[href*="submit-listing"],
a[href*="add-listing"] {
    display: inline-block !important;
    background: var(--vl-accent, #0073aa) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: .95rem !important;
    border: none !important;
    transition: background .2s !important;
}

a[href*="submission"]:hover,
a[href*="submit-listing"]:hover,
a[href*="add-listing"]:hover {
    background: #005a87 !important;
    color: #fff !important;
}

.vl-single__event-date {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--vl-accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: .95rem;
    margin-bottom: 20px;
}

/* ── View toggle (Grid / Calendar) ──────────────────────────────────────── */
.vl-view-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.vl-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 2px solid var(--vl-border);
    color: var(--vl-muted) !important;
    background: #fff;
    transition: all .15s;
}

.vl-view-btn:hover {
    border-color: var(--vl-accent);
    color: var(--vl-accent) !important;
}

.vl-view-btn--active {
    background: var(--vl-accent);
    border-color: var(--vl-accent);
    color: #fff !important;
}

.vl-view-btn--active:hover { color: #fff !important; }

/* ── Calendar layout ─────────────────────────────────────────────────────── */
.vl-calendar {
    font-size: .85rem;
    width: 100%;
    overflow: hidden;
}

.vl-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}

.vl-cal-nav {
    color: var(--vl-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
    padding: 5px 10px;
    border: 1px solid var(--vl-border);
    border-radius: 6px;
    background: #fff;
    transition: background .15s;
    flex-shrink: 0;
}

.vl-cal-nav:hover { background: var(--vl-accent); color: #fff !important; }

.vl-cal-title {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.vl-cal-title strong { font-size: 1rem; display: block; }

.vl-cal-jumps {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.vl-cal-jump {
    font-size: .75rem;
    color: var(--vl-accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--vl-accent);
}

.vl-cal-jump:hover { border-bottom-style: solid; }

/* Fixed table layout — cells will NEVER expand beyond equal 1/7 width */
.vl-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-left: 1px solid var(--vl-border);
    border-top: 1px solid var(--vl-border);
    width: 100%;
    table-layout: fixed;
}

.vl-cal-grid--header { background: #f7f7f7; }

.vl-cal-dow {
    padding: 6px 2px;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    color: var(--vl-muted);
    text-transform: uppercase;
    letter-spacing: .03em;
    border-right: 1px solid var(--vl-border);
    border-bottom: 1px solid var(--vl-border);
    overflow: hidden;
}

.vl-cal-cell {
    min-height: 90px;
    padding: 4px;
    border-right: 1px solid var(--vl-border);
    border-bottom: 1px solid var(--vl-border);
    background: #fff;
    vertical-align: top;
    position: relative;
    /* Critical: prevent cell from expanding with content */
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.vl-cal-cell--empty { background: #fafafa; }
.vl-cal-cell--today { background: #f0f6fc; }

.vl-cal-cell--today .vl-cal-day-num {
    background: var(--vl-accent);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.vl-cal-day-num {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: var(--vl-text);
    margin-bottom: 3px;
    line-height: 1;
}

.vl-cal-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    overflow: hidden;
}

.vl-cal-event {
    background: var(--vl-accent);
    border-radius: 3px;
    overflow: hidden;
    /* Never let the event pill expand the cell */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.vl-cal-event--featured { background: #f59e0b; }

.vl-cal-event__link {
    display: block;
    padding: 2px 4px;
    text-decoration: none !important;
    color: #fff !important;
    overflow: hidden;
    min-width: 0;
}

.vl-cal-event__link:hover { opacity: .85; }

/* Time: very compact, single line */
.vl-cal-event__time {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    opacity: .9;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Title: truncate with ellipsis — NEVER wrap */
.vl-cal-event__title {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Description: hidden by default on calendar — only show in popover */
.vl-cal-event__desc { display: none; }

.vl-cal-more {
    background: none;
    border: 1px solid var(--vl-border);
    border-radius: 3px;
    font-size: .65rem;
    color: var(--vl-accent);
    font-weight: 600;
    padding: 1px 4px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background .12s;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
}

.vl-cal-more:hover { background: #f0f6fc; }

/* ── Calendar popover ────────────────────────────────────────────────────── */
.vl-cal-popover {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--vl-border);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
}

.vl-cal-popover__inner { padding: 14px 16px; }

.vl-cal-popover__close {
    float: right;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--vl-muted);
    padding: 0;
    margin: 0 0 0 8px;
}

.vl-cal-popover__date {
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 10px;
    clear: right;
}

.vl-cal-pop-item {
    border-bottom: 1px solid var(--vl-border);
    padding: 8px 0;
}

.vl-cal-pop-item:last-child { border-bottom: none; }

.vl-cal-pop-item__link {
    display: block;
    text-decoration: none !important;
    color: var(--vl-text) !important;
}

.vl-cal-pop-item__link:hover .vl-cal-pop-item__title { color: var(--vl-accent); }

.vl-cal-pop-item__time {
    display: block;
    font-size: .75rem;
    color: var(--vl-accent);
    font-weight: 700;
    margin-bottom: 2px;
}

.vl-cal-pop-item__title {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 3px;
    transition: color .12s;
}

.vl-cal-pop-item__desc {
    display: block;
    font-size: .78rem;
    color: var(--vl-muted);
    line-height: 1.4;
}

.vl-cal-pop-item--featured .vl-cal-pop-item__time { color: #f59e0b; }

/* Responsive calendar */
@media (max-width: 600px) {
    .vl-cal-cell { min-height: 60px; padding: 3px; }
    .vl-cal-event__desc { display: none; }
    .vl-cal-event__time { display: none; }
}

/* ── Multi-day event styles ──────────────────────────────────────────────── */

/* Calendar — multi-day bar spanning days */
.vl-cal-event--multiday {
    border-radius: 0;
    margin-left: -6px;
    margin-right: -6px;
    padding-left: 0;
    padding-right: 0;
}

.vl-cal-event--multiday-start {
    border-radius: 4px 0 0 4px;
    margin-left: 0;
}

.vl-cal-event--multiday-end {
    border-radius: 0 4px 4px 0;
    margin-right: 0;
}

.vl-cal-event--multiday-start.vl-cal-event--multiday-end {
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
}

/* Slightly lighter shade for continuation days */
.vl-cal-event--multiday-mid,
.vl-cal-event--multiday-end:not(.vl-cal-event--multiday-start) {
    opacity: .8;
}

/* Listing card — multi-day badge */
.vl-event-date--multiday {
    background: #7c3aed; /* purple to distinguish from single-day */
}

.vl-event-multiday-tag {
    background: rgba(255,255,255,.25);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-left: 4px;
    flex-shrink: 0;
}

/* Single listing detail page — multi-day */
.vl-single__event-date--multiday {
    background: #7c3aed;
}

/* ── Calendar no-events notice ───────────────────────────────────────────── */
.vl-cal-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f6fc;
    border: 1px solid #b3d4f0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: .9rem;
    color: #1a4a72;
    line-height: 1.5;
}

.vl-cal-notice--month {
    background: #f7f7f7;
    border-color: var(--vl-border);
    color: var(--vl-muted);
}

.vl-cal-notice__link {
    display: inline-block;
    margin-left: 8px;
    color: var(--vl-accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.vl-cal-notice__link:hover { text-decoration: underline; }

/* ── Directory search bar ────────────────────────────────────────────────── */
.vl-dir-search { margin-bottom: 24px; }

.vl-dir-search__wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 480px;
    border: 1px solid var(--vl-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: border-color .15s, box-shadow .15s;
}
.vl-dir-search__wrap:focus-within {
    border-color: var(--vl-accent);
    box-shadow: 0 0 0 3px rgba(0,115,170,.12);
}
.vl-dir-search__icon {
    flex-shrink: 0;
    margin-left: 14px;
    color: var(--vl-muted);
    pointer-events: none;
}
.vl-dir-search__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 10px 11px 8px;
    font-size: .95rem;
    color: var(--vl-text);
    outline: none;
    min-width: 0;
}
.vl-dir-search__clear {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--vl-muted);
    padding: 0 14px;
    line-height: 1;
    flex-shrink: 0;
}
.vl-dir-search__clear:hover { color: var(--vl-text); }

.vl-search-status {
    font-size: .88rem;
    color: var(--vl-muted);
    margin: 0 0 16px;
    min-height: 20px;
}

.vl-search-cat-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--vl-accent);
    margin-bottom: 4px;
}

/* ── Social / SLURL row on detail page ───────────────────────────────────── */
.vl-single__social-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.vl-single__slurl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--vl-accent);
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: .88rem;
    transition: background .15s;
}
.vl-single__slurl-btn:hover { background: #005a87; }
.vl-single__copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: #fff;
    border: 1px solid var(--vl-border);
    border-radius: 6px;
    cursor: pointer;
    font-size: .82rem;
    color: var(--vl-muted);
    font-weight: 500;
    transition: all .15s;
}
.vl-single__copy-btn:hover { border-color: var(--vl-accent); color: var(--vl-accent); }
.vl-copy-confirm {
    font-size: .82rem;
    color: #00a32a;
    font-weight: 600;
}
.vl-single__social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--vl-border);
    border-radius: 6px;
    text-decoration: none !important;
    font-size: .82rem;
    font-weight: 500;
    color: var(--vl-text) !important;
    background: #fff;
    transition: all .15s;
}
.vl-single__social-btn:hover {
    border-color: var(--vl-accent);
    color: var(--vl-accent) !important;
}

/* ── Related listings ────────────────────────────────────────────────────── */
.vl-related { border-top: 1px solid var(--vl-border); padding-top: 28px; }
.vl-related__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--vl-text);
}
.vl-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 600px) { .vl-related__grid { grid-template-columns: 1fr; } }
.vl-related__card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--vl-border);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
    background: #fff;
}
.vl-related__card:hover { box-shadow: var(--vl-shadow-hover); }
.vl-related__thumb {
    height: 100px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}
.vl-related__thumb--empty { background-color: #e8e8e8; }
.vl-related__info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.vl-related__cat {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--vl-accent);
}
.vl-related__title {
    font-size: .88rem;
    font-weight: 600;
    color: #222 !important;
    line-height: 1.3;
}

/* ── Card URL row — fixed height so all cards stay consistent ────────────── */
.vl-card-url {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    height: 24px;          /* Fixed — never changes regardless of content */
    overflow: hidden;
}

.vl-card-url svg { flex-shrink: 0; color: var(--vl-accent); }

.vl-url-placeholder {
    color: var(--vl-muted);
    font-style: italic;
    font-size: .78rem;
}

/* Event date badge — compact and fixed height on card */
.vl-event-date {
    font-size: .78rem;
    height: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Card body: fixed-height slots so every card in a row is identical */
.vl-listing-card__body {
    display: flex;
    flex-direction: column;
}

.vl-listing-card__meta-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 52px;   /* title + event date + slurl always reserves this space */
}
