/* ==========================================================================
   VSJB Theme — Main Stylesheet
   One-Page Scroll Design — fröhlich, bläulich, modern
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary blue palette — cheerful, welcoming */
    --vsjb-primary: #2563eb;
    --vsjb-primary-dark: #1d4ed8;
    --vsjb-primary-light: #3b82f6;
    --vsjb-primary-subtle: #dbeafe;

    /* Backgrounds */
    --vsjb-bg-white: #ffffff;
    --vsjb-bg-light: #f0f6ff;
    --vsjb-bg-alt: #e8f0fe;
    --vsjb-bg-dark: #1e293b;

    /* Text */
    --vsjb-text: #1e293b;
    --vsjb-text-muted: #64748b;
    --vsjb-text-light: #f1f5f9;

    /* Accent */
    --vsjb-accent: #f59e0b;
    --vsjb-accent-hover: #d97706;

    /* Misc */
    --vsjb-radius: 12px;
    --vsjb-radius-sm: 8px;
    --vsjb-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
    --vsjb-shadow-lg: 0 8px 40px rgba(37, 99, 235, 0.12);
    --vsjb-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --vsjb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--vsjb-font);
    color: var(--vsjb-text);
    background: var(--vsjb-bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--vsjb-primary);
    text-decoration: none;
    transition: color var(--vsjb-transition);
}

a:hover {
    color: var(--vsjb-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Container ---------- */
.vsjb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.vsjb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--vsjb-transition);
    background: transparent;
}

.vsjb-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
}

.vsjb-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vsjb-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.vsjb-nav-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    transition: color var(--vsjb-transition);
}

.vsjb-nav.scrolled .vsjb-nav-logo-text {
    color: var(--vsjb-primary);
}

.vsjb-nav-logo img {
    height: 40px;
    width: auto;
}

.vsjb-nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vsjb-nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--vsjb-transition);
    position: relative;
}

.vsjb-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--vsjb-accent);
    border-radius: 2px;
    transition: transform var(--vsjb-transition);
}

.vsjb-nav-link:hover,
.vsjb-nav-link.active {
    color: #fff;
}

.vsjb-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.vsjb-nav.scrolled .vsjb-nav-link {
    color: var(--vsjb-text);
}

.vsjb-nav.scrolled .vsjb-nav-link:hover,
.vsjb-nav.scrolled .vsjb-nav-link.active {
    color: var(--vsjb-primary);
}

/* Hamburger */
.vsjb-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.vsjb-hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--vsjb-transition);
}

.vsjb-nav.scrolled .vsjb-hamburger span {
    background: var(--vsjb-text);
}

.vsjb-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.vsjb-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.vsjb-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Scroll-to-Top
   ========================================================================== */

.vsjb-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--vsjb-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--vsjb-transition);
}

.vsjb-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vsjb-scroll-top:hover {
    background: var(--vsjb-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Sections — Common
   ========================================================================== */

.vsjb-section {
    padding: 100px 0;
    position: relative;
}

.vsjb-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.vsjb-section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--vsjb-primary), var(--vsjb-primary-light));
    border-radius: 2px;
    margin: 0 auto 2.5rem;
}

.vsjb-subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vsjb-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.vsjb-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--vsjb-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 0;
}

.vsjb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(32, 32, 32, 0.38) 0%,
            rgba(58, 58, 58, 0.28) 45%,
            rgba(20, 20, 20, 0.62) 100%);
    z-index: 1;
}

.vsjb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.vsjb-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.vsjb-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

.vsjb-hero-cta {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--vsjb-accent);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--vsjb-transition);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.vsjb-hero-cta:hover {
    background: var(--vsjb-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
}

.vsjb-hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: vsjb-bounce 2s ease-in-out infinite;
}

@keyframes vsjb-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.vsjb-about {
    background: var(--vsjb-bg-white);
}

.vsjb-about-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--vsjb-text-muted);
}

.vsjb-about-text p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Events Section
   ========================================================================== */

.vsjb-events {
    background: var(--vsjb-bg-light);
}

.vsjb-events-calendar-wrap {
    margin-bottom: 4rem;
}

.vsjb-events-upcoming-wrap {
    margin-top: 2rem;
}

/* Override plugin styles to match theme */
.vsjb-events .vsjb-calendar {
    max-width: 100%;
    border-radius: var(--vsjb-radius);
    box-shadow: var(--vsjb-shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.vsjb-events .vsjb-calendar-header {
    background: linear-gradient(135deg, var(--vsjb-primary), var(--vsjb-primary-light));
    padding: 1.25rem 1.5rem;
}

.vsjb-events .vsjb-calendar-nav {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.vsjb-events .vsjb-calendar-nav:hover {
    background: rgba(255, 255, 255, 0.35);
}

.vsjb-events .vsjb-event-card {
    border-radius: var(--vsjb-radius);
    border-left: 4px solid var(--vsjb-primary);
    box-shadow: var(--vsjb-shadow);
    transition: all var(--vsjb-transition);
}

.vsjb-events .vsjb-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vsjb-shadow-lg);
}

.vsjb-events .vsjb-event-date-badge {
    background: linear-gradient(135deg, var(--vsjb-primary), var(--vsjb-primary-light));
    border-radius: var(--vsjb-radius-sm);
}

.vsjb-events .vsjb-event-title a {
    color: var(--vsjb-text);
}

.vsjb-events .vsjb-event-title a:hover {
    color: var(--vsjb-primary);
}

.vsjb-events .vsjb-calendar-event-dot {
    background: var(--vsjb-primary);
    border-radius: 4px;
}

.vsjb-events .vsjb-calendar-event-dot:hover {
    background: var(--vsjb-primary-dark);
}

.vsjb-events .vsjb-event-ticket-link {
    background: var(--vsjb-primary);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
}

.vsjb-events .vsjb-event-ticket-link:hover {
    background: var(--vsjb-primary-dark);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.vsjb-contact {
    background: var(--vsjb-bg-dark);
    color: var(--vsjb-text-light);
}

.vsjb-contact .vsjb-section-title {
    color: #fff;
}

.vsjb-contact .vsjb-section-divider {
    background: linear-gradient(90deg, var(--vsjb-accent), var(--vsjb-primary-light));
}

.vsjb-contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(241, 245, 249, 0.8);
}

.vsjb-contact-content p {
    margin-bottom: 1.5rem;
}

.vsjb-contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: var(--vsjb-primary);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--vsjb-transition);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.vsjb-contact-email-btn:hover {
    background: var(--vsjb-primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.vsjb-footer {
    background: #0f172a;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vsjb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.vsjb-footer p {
    color: rgba(241, 245, 249, 0.5);
    font-size: 0.85rem;
}

.vsjb-footer-links {
    display: flex;
    gap: 1.5rem;
}

.vsjb-footer-links a {
    color: rgba(241, 245, 249, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--vsjb-transition);
}

.vsjb-footer-links a:hover {
    color: var(--vsjb-primary-light);
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */

.vsjb-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsjb-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.vsjb-reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.vsjb-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.vsjb-reveal:nth-child(4) {
    transition-delay: 0.45s;
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */

@media (max-width: 768px) {
    .vsjb-hamburger {
        display: flex;
    }

    .vsjb-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        transition: right var(--vsjb-transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .vsjb-nav-links.open {
        right: 0;
    }

    .vsjb-nav-links .vsjb-nav-link {
        color: var(--vsjb-text);
        font-size: 1.15rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        width: 100%;
    }

    .vsjb-nav-links .vsjb-nav-link:hover,
    .vsjb-nav-links .vsjb-nav-link.active {
        background: var(--vsjb-primary-subtle);
        color: var(--vsjb-primary);
    }

    .vsjb-nav-links .vsjb-nav-link::after {
        display: none;
    }

    .vsjb-section {
        padding: 70px 0;
    }

    .vsjb-section-title {
        font-size: 2rem;
    }

    .vsjb-container {
        padding: 0 1.25rem;
    }

    .vsjb-hero {
        background-attachment: scroll;
        /* Fix for mobile */
    }

    .vsjb-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 480px) {
    .vsjb-section {
        padding: 50px 0;
    }

    .vsjb-section-title {
        font-size: 1.7rem;
    }

    .vsjb-about-text {
        font-size: 1rem;
    }

    .vsjb-hero-cta {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }

    .vsjb-contact-email-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .vsjb-scroll-top {
        width: 42px;
        height: 42px;
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

/* ==========================================================================
   Mobile Nav Overlay Backdrop
   ========================================================================== */

.vsjb-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--vsjb-transition);
}

.vsjb-nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   WordPress Admin Bar Offset
   ========================================================================== */

body.admin-bar .vsjb-nav {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .vsjb-nav {
        top: 46px;
    }
}
/* ==========================================================================
   Added: Impressionen gallery + band cards
   ========================================================================== */

.vsjb-gallery {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.vsjb-gallery-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--vsjb-text-muted);
    font-size: 1.05rem;
}

.vsjb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.vsjb-gallery-card,
.vsjb-impression-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--vsjb-shadow-lg);
    min-height: 100%;
    transition: transform var(--vsjb-transition), box-shadow var(--vsjb-transition);
}

.vsjb-impression-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.vsjb-impression-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.vsjb-impression-media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #eaf2ff;
    overflow: hidden;
}

.vsjb-gallery-card img,
.vsjb-impression-media img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.vsjb-gallery-card:hover img,
.vsjb-impression-card:hover img {
    transform: scale(1.04);
}

.vsjb-impression-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem;
}

.vsjb-impression-title {
    margin: 0 0 0.55rem;
    font-size: 1.18rem;
    line-height: 1.25;
    color: var(--vsjb-text);
}

.vsjb-impression-excerpt {
    color: var(--vsjb-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.vsjb-impression-more {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--vsjb-primary);
    font-weight: 700;
}

.vsjb-band {
    background: var(--vsjb-bg-alt);
}

.vsjb-band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vsjb-band-member {
    background: var(--vsjb-bg-white);
    border-radius: var(--vsjb-radius);
    padding: 2rem;
    box-shadow: var(--vsjb-shadow);
    transition: transform var(--vsjb-transition), box-shadow var(--vsjb-transition);
    border-top: 4px solid var(--vsjb-primary);
}

.vsjb-band-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--vsjb-shadow-lg);
}

.vsjb-band-member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--vsjb-text);
    margin-bottom: 0.2rem;
}

.vsjb-band-member-inst {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vsjb-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vsjb-band-member-desc {
    font-size: 0.95rem;
    color: var(--vsjb-text-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .vsjb-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vsjb-gallery-grid {
        grid-template-columns: 1fr;
    }

    .vsjb-gallery-card img,
    .vsjb-impression-media img {
        min-height: 220px;
    }
}

.vsjb-band-member-photo-wrap {
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
    background: #eef5ff;
}

.vsjb-band-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vsjb-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.vsjb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vsjb-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.vsjb-lightbox img {
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.vsjb-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.vsjb-event-single {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    min-height: 100vh;
    padding-top: 140px;
}

.vsjb-event-single-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--vsjb-shadow-lg);
    padding: 2rem;
}

.vsjb-event-back {
    margin-bottom: 1rem;
}

.vsjb-event-single-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.vsjb-event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.vsjb-event-meta-item {
    background: var(--vsjb-bg-light);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

.vsjb-event-meta-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vsjb-text-muted);
    margin-bottom: 0.35rem;
}

.vsjb-event-single-image {
    margin-bottom: 1.5rem;
}

.vsjb-event-single-image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

.vsjb-event-single-content {
    color: var(--vsjb-text);
    font-size: 1.05rem;
}

.vsjb-event-single-content p + p {
    margin-top: 1rem;
}

.vsjb-impression-single-excerpt {
    margin: -0.5rem 0 1.75rem;
    color: var(--vsjb-text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.vsjb-impression-single-content {
    line-height: 1.75;
}

.vsjb-impression-single-content > * + * {
    margin-top: 1.25rem;
}

.vsjb-impression-single-content .wp-block-gallery,
.vsjb-impression-single-content .gallery {
    margin: 2rem 0;
}

.vsjb-impression-single-content .wp-block-gallery img,
.vsjb-impression-single-content .gallery img,
.vsjb-impression-single-content .wp-block-image img {
    border-radius: 14px;
}

.vsjb-impression-single-content .wp-block-embed,
.vsjb-impression-single-content .wp-block-video {
    margin: 2rem 0;
}

.vsjb-impression-single-content .wp-block-embed__wrapper,
.vsjb-impression-single-content .wp-block-video {
    position: relative;
    width: 100%;
}

.vsjb-impression-single-content iframe,
.vsjb-impression-single-content video {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 18px;
    box-shadow: var(--vsjb-shadow);
}

.vsjb-impression-single-content iframe {
    min-height: min(56vw, 480px);
}

.vsjb-event-ticket-wrap {
    margin-top: 2rem;
}

.vsjb-next-event-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2500;
    max-width: min(360px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(18, 25, 37, 0.94);
    color: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vsjb-next-event-fab:hover {
    color: #fff;
    transform: translateY(-2px);
}

.vsjb-next-event-fab-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.72);
}

.vsjb-next-event-fab-title {
    font-size: 1.05rem;
    line-height: 1.25;
}

.vsjb-next-event-fab-meta {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .vsjb-next-event-fab {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

.vsjb-cds {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.vsjb-cd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.4rem;
    margin-top: 2.5rem;
}

.vsjb-cd-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: var(--vsjb-shadow);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.vsjb-cd-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vsjb-shadow-lg);
}

.vsjb-cd-cover-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f7fb;
    margin-bottom: 1rem;
}

.vsjb-cd-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vsjb-cd-title {
    font-size: 1.08rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.vsjb-cd-meta {
    color: var(--vsjb-text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.vsjb-cd-status {
    color: #b91c1c;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.vsjb-cd-text {
    color: var(--vsjb-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.vsjb-cd-note {
    margin-top: 2rem;
    text-align: center;
    color: var(--vsjb-text-muted);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.vsjb-cd-open {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.vsjb-cd-more {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--vsjb-accent);
    font-weight: 600;
}

.vsjb-cd-modal {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: none;
}

.vsjb-cd-modal.open {
    display: block;
}

.vsjb-cd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
}

.vsjb-cd-modal-dialog {
    position: relative;
    width: min(980px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
    margin: 1rem auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    padding: 1.5rem;
}

.vsjb-cd-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(17,24,39,0.08);
    font-size: 1.8rem;
    cursor: pointer;
}

.vsjb-cd-modal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.vsjb-cd-modal-media img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

.vsjb-cd-modal-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 0.5rem;
}

.vsjb-cd-modal-meta {
    color: var(--vsjb-text-muted);
    margin-bottom: 0.5rem;
}

.vsjb-cd-modal-status {
    color: #b91c1c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vsjb-cd-modal-content {
    color: var(--vsjb-text);
    line-height: 1.65;
}

.vsjb-cd-modal-link-wrap {
    margin-top: 1.25rem;
}

@media (max-width: 760px) {
    .vsjb-cd-modal-dialog {
        padding: 1rem;
        width: calc(100vw - 1rem);
        margin: 0.5rem auto;
        max-height: calc(100vh - 1rem);
    }

    .vsjb-cd-modal-grid {
        grid-template-columns: 1fr;
    }
}

.vsjb-cd-modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.vsjb-cd-modal-content td {
    padding: 0.45rem 0.2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    vertical-align: top;
}

.vsjb-cd-modal-content td:first-child {
    font-weight: 600;
    width: 42%;
    padding-right: 0.8rem;
}

.vsjb-cd-modal-content h4 {
    margin: 1rem 0 0.6rem;
    font-size: 1rem;
}
