/* YourBoxOffice - Generic Page 2026 Design */
/* Modern, Minimalist Design System */
/* SCOPED: All styles only apply within .genericpage-2026 wrapper */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
.genericpage-2026 {
    /* Brand Colors */
    --ybo-dark: #1c323a;
    --ybo-blue: #319eca;
    --ybo-blue-light: #4db3d9;
    --ybo-blue-dark: #2a8bb8;
    --ybo-yellow: #e3ba2d;
    --ybo-yellow-light: #edc94d;
    --ybo-yellow-dark: #c9a526;
    --ybo-grey: #e9f0f3;
    --ybo-grey-light: #f5f8fa;
    --ybo-grey-dark: #d0dce2;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #2d3748;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(28, 50, 58, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(28, 50, 58, 0.1), 0 2px 4px -2px rgba(28, 50, 58, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(28, 50, 58, 0.1), 0 4px 6px -4px rgba(28, 50, 58, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(28, 50, 58, 0.1), 0 8px 10px -6px rgba(28, 50, 58, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.genericpage-2026 .page-hero-2026 {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-16) var(--space-6);
    background: linear-gradient(160deg, #1c323a 0%, #234550 30%, #2a5565 50%, #234550 70%, #1c323a 100%);
}

.genericpage-2026 .page-hero-2026.hero-short {
    min-height: 300px;
    padding: var(--space-12) var(--space-6);
}

/* Decorative glowing orbs */
.genericpage-2026 .page-hero-2026::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(49, 158, 202, 0.2) 0%, transparent 60%);
    pointer-events: none;
    animation: genericpage-float 12s ease-in-out infinite;
}

.genericpage-2026 .page-hero-2026::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -20%;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(227, 186, 45, 0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: genericpage-float 15s ease-in-out infinite reverse;
}

@keyframes genericpage-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

.genericpage-2026 .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: blur(2px);
}

.genericpage-2026 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(28, 50, 58, 0.3) 0%, rgba(28, 50, 58, 0.6) 100%);
}

.genericpage-2026 .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: var(--space-8);
}

.genericpage-2026 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.genericpage-2026 .hero-badge svg {
    width: 18px;
    height: 18px;
    color: var(--ybo-yellow);
}

.genericpage-2026 .hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.genericpage-2026 .hero-cms-content {
    color: var(--color-white);
}

.genericpage-2026 .hero-cms-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.genericpage-2026 .hero-cms-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: var(--space-4) 0 0 0;
    line-height: 1.6;
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.genericpage-2026 .genericpage-content-2026 {
    padding: var(--space-16) var(--space-6);
    background: var(--ybo-grey-light);
    min-height: 400px;
}

.genericpage-2026 .section-container {
    max-width: 900px;
    margin: 0 auto;
}

.genericpage-2026 .content-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-10);
}

/* ============================================
   CMS CONTENT STYLING
   ============================================ */
.genericpage-2026 .cms-content {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.8;
}

.genericpage-2026 .cms-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ybo-dark);
    margin: 0 0 var(--space-6) 0;
    line-height: 1.3;
}

.genericpage-2026 .cms-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--ybo-dark);
    margin: var(--space-10) 0 var(--space-4) 0;
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--ybo-grey);
    line-height: 1.3;
}

.genericpage-2026 .cms-content h2:first-child {
    margin-top: 0;
}

.genericpage-2026 .cms-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ybo-dark);
    margin: var(--space-8) 0 var(--space-3) 0;
    line-height: 1.4;
}

.genericpage-2026 .cms-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ybo-dark);
    margin: var(--space-6) 0 var(--space-3) 0;
    line-height: 1.4;
}

.genericpage-2026 .cms-content p {
    margin: 0 0 var(--space-4) 0;
    color: var(--color-text-light);
}

.genericpage-2026 .cms-content p:last-child {
    margin-bottom: 0;
}

.genericpage-2026 .cms-content a {
    color: var(--ybo-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.genericpage-2026 .cms-content a:hover {
    color: var(--ybo-blue-dark);
    text-decoration: underline;
}

.genericpage-2026 .cms-content ul,
.genericpage-2026 .cms-content ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
    color: var(--color-text-light);
}

.genericpage-2026 .cms-content li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-2);
}

.genericpage-2026 .cms-content ul li::marker {
    color: var(--ybo-blue);
}

.genericpage-2026 .cms-content ol li::marker {
    color: var(--ybo-blue);
    font-weight: 600;
}

.genericpage-2026 .cms-content strong,
.genericpage-2026 .cms-content b {
    font-weight: 600;
    color: var(--color-text);
}

.genericpage-2026 .cms-content blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-4) var(--space-6);
    background: var(--ybo-grey-light);
    border-left: 4px solid var(--ybo-blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-light);
}

.genericpage-2026 .cms-content hr {
    margin: var(--space-8) 0;
    border: none;
    border-top: 1px solid var(--ybo-grey-dark);
}

.genericpage-2026 .cms-content table {
    width: 100%;
    margin: var(--space-6) 0;
    border-collapse: collapse;
    font-size: 15px;
}

.genericpage-2026 .cms-content th,
.genericpage-2026 .cms-content td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--ybo-grey);
}

.genericpage-2026 .cms-content th {
    background: var(--ybo-grey-light);
    font-weight: 600;
    color: var(--ybo-dark);
}

.genericpage-2026 .cms-content tr:hover td {
    background: var(--ybo-grey-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .genericpage-2026 .page-hero-2026.hero-short {
        min-height: 250px;
        padding: var(--space-10) var(--space-4);
    }

    .genericpage-2026 .hero-content {
        padding: var(--space-4);
    }

    .genericpage-2026 .hero-content h1,
    .genericpage-2026 .hero-cms-content h1 {
        font-size: 28px;
    }

    .genericpage-2026 .genericpage-content-2026 {
        padding: var(--space-10) var(--space-4);
    }

    .genericpage-2026 .content-card {
        padding: var(--space-6);
        border-radius: var(--radius-xl);
    }

    .genericpage-2026 .cms-content {
        font-size: 15px;
    }

    .genericpage-2026 .cms-content h1 {
        font-size: 26px;
    }

    .genericpage-2026 .cms-content h2 {
        font-size: 22px;
    }

    .genericpage-2026 .cms-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .genericpage-2026 .hero-badge {
        font-size: 12px;
        padding: var(--space-1) var(--space-3);
    }

    .genericpage-2026 .content-card {
        padding: var(--space-5);
    }

    .genericpage-2026 .cms-content table {
        font-size: 13px;
    }

    .genericpage-2026 .cms-content th,
    .genericpage-2026 .cms-content td {
        padding: var(--space-2) var(--space-3);
    }
}
