/*
 * Set-times page styles, linked in <head> via $GLOBALS['page_stylesheets'] (includes/header.php).
 *
 * Moved verbatim from an inline <style> block in set-times.php on 2026-10-24. Emitted
 * after the content it styles, it let the browser paint that content without
 * these rules and then reflow it whenever the HTML arrived in more than one
 * piece: the desktop CLS class fixed for gig pages in #1782 (see gig.css).
 */

/* Sidebar scrolls with the page (override base position: sticky).
   The page is longer than the sidebar — the sidebar should reach its
   end before the page ends, then scroll off naturally. */
.whats-on-sidebar { position: static; top: auto; }

/* Two-up search row */
.set-times-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
    max-width: 940px;
    margin: 22px auto 0;
}
.set-times-search-row .set-times-search-form { margin: 0; flex: 1; min-width: 0; }
.set-times-search-row .city-typeahead { margin: 0; max-width: none; }
@media (max-width: 720px) {
    .set-times-search-row { grid-template-columns: 1fr; gap: 14px; }
}
/* Set Times Search */
.set-times-search-form {
    margin: 16px 0 8px;
}
.set-times-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0 14px;
    max-width: 520px;
    height: 46px;
    gap: 8px;
}
.set-times-search-wrap:focus-within {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}
.set-times-search-icon {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.set-times-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    height: 100%;
}
.set-times-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.set-times-search-input::-webkit-search-cancel-button { display: none; }
.set-times-search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}
.set-times-search-btn:hover { background: rgba(255, 255, 255, 0.3); }
.set-times-search-clear {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.set-times-search-clear:hover { color: #fff; }
[data-theme="light"] .set-times-search-wrap {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .set-times-search-input { color: #fff; }
[data-theme="light"] .set-times-search-input::placeholder { color: rgba(255,255,255,0.7); }

.gig-card-set-times {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
}
.set-time-chip {
    font-size: 0.78rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(131, 56, 236, 0.12);
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}
.set-time-chip.headline {
    background: rgba(131, 56, 236, 0.25);
    font-weight: 600;
}
.set-time-artist-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}
.set-time-artist-link:hover { border-bottom-color: rgba(255,255,255,0.7); }
.set-time-venue-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.set-time-venue-link:hover { border-bottom-color: rgba(255,255,255,0.6); }

.estimated-indicator {
    opacity: 0.6;
    font-size: 0.7rem;
    margin-left: 1px;
}
[data-theme="light"] .set-time-chip {
    color: #333;
    background: rgba(131, 56, 236, 0.1);
}
[data-theme="light"] .set-time-chip.headline {
    background: rgba(131, 56, 236, 0.18);
}
/* Sidebar Promo Cards */
.sidebar-promo-card {
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sidebar-promo-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.sidebar-promo-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.promo-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.promo-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    position: relative;
    z-index: 1;
}
.promo-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 14px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.promo-cta {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 1;
}
.promo-cta:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}
