:root {
    --neon-gold: #ffc800;
    --neon-blue: #00f3ff;
    --deep-bg: #030305;
    --card-bg: #0a0a0a;
    --border-gold: rgba(255, 200, 0, 0.4);
    --text-main: #e0e0e0;
    --text-muted: #888;
}

* {
    box-sizing: border-box;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

*::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--deep-bg);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* --- Background Effects --- */
#bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, #1a1a20 0%, #000 100%);
    opacity: 1;
    transition: background 1s ease;
    will-change: transform;
    /* Hint to browser to keep this layer ready */
}

#overlay-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 200, 0, 0.03), rgba(0, 0, 0, 0.01));
    background-size: 100% 4px, 4px 100%;
    pointer-events: none;
}

/* --- Branding --- */
.acc-branding {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    color: #ffffff;
    margin-bottom: 5px;
    text-shadow: none;
    /* Reset distinct text shadow if inherited, though header-meta doesn't have it */
}

.acc-dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #22d3ee;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* --- Header --- */
header {
    position: fixed;
    /* Fixed to top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* High Z-Index */
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid var(--border-gold);
    background: rgba(3, 3, 5, 0.95);
    /* Solid/Blur background */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.header-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--neon-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 200, 0, 0.3);
}

/* --- Breadcrumb Bar --- */
.breadcrumb-bar {
    position: fixed;
    top: 80px;
    /* Below Header */
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(10, 15, 20, 0.9);
    border-bottom: 1px solid rgba(255, 200, 0, 0.2);
    z-index: 2100;
    /* Ensure above storyboard */
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

/* ... (skip unchanged) ... */

/* Storyboard View */
#storyboard-view {
    position: fixed;
    top: 120px;
    /* Header (80) + Breadcrumb (40) */
    left: 0;
    width: 100vw;
    height: calc(100vh - 120px);
    background: #000;
    z-index: 2000;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    scroll-behavior: smooth;
}

/* Fixed Background Layer */
.story-bg-layer {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    height: calc(100vh - 120px);
    z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: background-image 0.8s ease-in-out;
    filter: blur(2px) brightness(0.7);
}

/* Return to Timeline Button (Bottom Right) */
.story-back-btn {
    position: fixed;
    top: auto;
    bottom: 30px;
    left: auto;
    right: 30px;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid var(--border-gold);
    color: var(--neon-gold);
    padding: 12px 24px;
    cursor: pointer;
    z-index: 2200;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Update positions for top corners - closer to edge */
#story-next {
    right: 15px;
    left: auto;
}

#story-prev {
    left: 50px;
    right: auto;
}

.breadcrumb-item {
    cursor: pointer;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: var(--neon-gold);
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #555;
}

.breadcrumb-current {
    color: var(--neon-blue);
    font-weight: 600;
    pointer-events: none;
    /* Current page not clickable */
}

.header-meta {
    font-family: 'Share Tech Mono', monospace;
    color: var(--neon-blue);
    font-size: 0.9rem;
    text-align: right;
}

/* --- Horizontal Feed Container --- */
.feed-wrapper {
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5vw 0 5vw;
    /* Widened layout (reduced side padding from 20vw) */
    perspective: 1000px;
    cursor: grab;
    contain: layout size style;
}

#storyboard-view.visible {
    opacity: 1;
    pointer-events: auto;
}

.feed-wrapper:active {
    cursor: grabbing;
}

.feed-track {
    display: flex;
    gap: 40px;
    /* Center the first and last cards: 50vw - half card width (200px) */
    padding: 40px calc(50vw - 200px);
    /* Ensure track width is calculated correctly */
    width: max-content;
}

/* --- The Card --- */
.event-card {
    width: 400px;
    height: 65vh;
    min-height: 500px;
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    /* Faster transition */
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);

    /* Performance Optimizations */
    transform: translateZ(0);
    /* Force GPU layer */
    will-change: transform;
    /* Hint for compositor */
    contain: paint layout;
    /* Don't repaint outside */
}

/* --- Hover Effects --- */
.event-card:hover {
    transform: translateY(-10px) scale(1.02) translateZ(0);
    border-color: var(--neon-gold);
    box-shadow: 0 0 30px rgba(255, 200, 0, 0.15);
    z-index: 5;
}

.event-card.active {
    border-color: var(--neon-gold);
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.1);
}

/* Sweep Animation */
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 0, 0.1), transparent);
    transition: 0.5s;
    pointer-events: none;
    z-index: 10;
}

.event-card:hover::before {
    left: 100%;
}

/* Card Image Area */
.card-image {
    height: 45%;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-gold);
    background-color: #111;
    /* Placeholder color before load */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) contrast(1.1) brightness(0.8);
    /* Less grey, slightly dimmed */
    transition: transform 0.7s ease, filter 0.7s ease;
    display: block;
}

.event-card:hover .card-image img,
.event-card.active .card-image img {
    filter: grayscale(0%) contrast(1.1) brightness(1.1);
    /* Full color, bright */
    transform: scale(1.1);
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, var(--card-bg));
    pointer-events: none;
}

/* Card Content */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.card-date {
    font-family: 'Share Tech Mono', monospace;
    color: var(--neon-blue);
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.card-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    line-height: 1.1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: color 0.3s;
}

.event-card:hover .card-title {
    color: var(--neon-gold);
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.card-body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.0rem;
    color: #ccc;
    line-height: 1.5;
    flex-grow: 1;
    overflow-y: auto;
}

.card-body::-webkit-scrollbar {
    width: 2px;
    background: #111;
}

.card-body::-webkit-scrollbar-thumb {
    background: var(--neon-gold);
}

/* --- Footer/Progress --- */
.progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--neon-gold);
    box-shadow: 0 0 10px var(--neon-gold);
    transition: width 0.1s linear;
}

/* Navigation Buttons */
.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(3, 3, 5, 0.8);
    border: 1px solid var(--border-gold);
    color: var(--neon-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Hidden by default, shown on container hover */
    pointer-events: none;
    /* Interactable only when shown */
}

body:hover .nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.nav-btn:hover {
    background: var(--neon-gold);
    color: #000;
    box-shadow: 0 0 20px var(--neon-gold);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
    left: 30px;
}

.nav-btn.next {
    right: 30px;
}

.nav-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Scroll Indicator (Bouncing Arrow) */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    fill: var(--neon-gold);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 100;
    pointer-events: none;
    /* Initially none until active */
}

.event-card.active .scroll-indicator {
    opacity: 1;
    pointer-events: auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}





.story-section {
    position: relative;
    min-height: 100vh;
    /* Full screen per section */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center align */
    padding: 140px 5% 100px 5%;
    /* Added padding for separation and header clearance */
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 200, 0, 0.1);
}

/* Removed .sticky-bg-wrapper styling */

/* Content Container - Full Width */
.content-container {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Center align */
    pointer-events: none;
    /* Let clicks pass through */
}

/* The Floating Card */
.floating-card {
    background: rgba(10, 10, 12, 0.85);
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    max-width: 900px;
    /* Wider card */
    padding: 40px;
    pointer-events: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    position: relative;
    z-index: 10;
}

.story-section.active .floating-card {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Accent Bar */
.category-accent {
    width: 80px;
    height: 4px;
    margin-bottom: 25px;
    background: currentColor;
    border-radius: 2px;
    box-shadow: 0 0 15px currentColor;
    position: relative;
    opacity: 0.9;
}

/* Add a secondary small bar for detail */
.category-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 90px;
    width: 8px;
    height: 4px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.6;
}

/* Themes */
.theme-infra {
    color: #ff4d4d;
    border-color: #ff4d4d;
}

.theme-model {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

.theme-agent {
    color: #ccff00;
    border-color: #ccff00;
}

.theme-policy {
    color: #d400ff;
    border-color: #d400ff;
}

.theme-content {
    color: #00e5ff;
    border-color: #00e5ff;
}

/* News Section */
.news-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-section h3 {
    font-size: 1.2rem;
    color: var(--neon-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin-bottom: 10px;
}

.news-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.news-link:hover {
    color: var(--neon-blue);
    padding-left: 10px;
}

.news-link::before {
    content: '>';
    margin-right: 8px;
    color: var(--neon-gold);
    font-size: 0.8rem;
}

.theme-finance {
    color: var(--neon-gold);
    border-color: var(--neon-gold);
}

.theme-research {
    color: #00ff9d;
    border-color: #00ff9d;
}

.floating-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-chip {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-family: 'Share Tech Mono', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.sub-chip:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
}

.key-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.point-item {
    position: relative;
    padding-left: 20px;
}

.point-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--neon-gold);
    transform: rotate(45deg);
    box-shadow: 0 0 5px var(--neon-gold);
}

.point-title {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.point-desc {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
}

/* Hero specific override to center content */
.story-section.hero-section {
    min-height: 100vh;
    border-bottom: none;
    justify-content: center;
    /* Center hero vertically/horizontally */
}

.story-section.hero-section .content-container {
    align-items: center;
    justify-content: center;
}

.story-section.hero-section .floating-card {
    text-align: center;
    max-width: 1000px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: none;
}

.story-section.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: var(--neon-gold);
    text-shadow: 0 0 20px rgba(255, 200, 0, 0.6);
    margin-bottom: 1rem;
}

.story-section.hero-section .intro {
    font-size: 1.2rem;
    line-height: 1.6;
    white-space: pre-line;
}

/* --- Grok-Style Minimap --- */
.story-minimap {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* Tight gap for continuous hit area */
    z-index: 2000;
    display: none;
    /* Hidden via JS until storyboard active */
    pointer-events: auto;
    align-items: flex-end;
    /* Align lines to right */
    width: 150px;
    /* Wide hit area */
    padding: 20px 0;
    box-sizing: border-box;
}

.minimap-line {
    width: 100%;
    /* Fill the 150px container for hit area */
    height: 20px;
    /* Hit area height */
    background-color: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Keep visual bar on right */
}

/* The actual visible line */
.minimap-line-bar {
    height: 3px;
    width: 30px;
    /* Start width */
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background-color 0.2s;
}

.minimap-line:hover .minimap-line-bar {
    background-color: var(--neon-gold);
}

/* Show tooltip on hover of the LINE (hit area) */
.minimap-line:hover .minimap-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

.minimap-line.active .minimap-line-bar {
    background-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Tooltip */
.minimap-tooltip {
    position: absolute;
    right: 40px;
    /* Left of the bar (30px + gap) */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-gold);
    color: var(--neon-gold);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

/* Storyboard Navigation Arrows - Matches Ribbon Style */
/* Storyboard Navigation Arrows - Top Right Rectangular */
.story-nav-btn {
    position: fixed;
    top: 135px;
    /* Aligned with Back button */
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid var(--border-gold);
    color: var(--neon-gold);
    width: 50px;
    height: 46px;
    /* Matches approx height of back button */
    border-radius: 2px;
    cursor: pointer;
    z-index: 2200;
    /* Same z-index as back button */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.story-nav-btn:hover {
    background: rgba(255, 200, 0, 0.1);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 15px var(--neon-gold);
    transform: translateY(-2px);
}

.story-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}



/* External Tooltip for Story Nav */
.story-nav-tooltip {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-gold);
    color: var(--neon-gold);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Positioning Tooltips */
.story-nav-tooltip {
    top: 120%;
    /* Below button */
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-top: 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.story-nav-btn:hover .story-nav-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#story-next:hover .story-nav-tooltip {
    transform: translateX(-50%) translateY(0);
}

/* Position cleanup: Handled above */

#story-next {
    right: 50px;
}

/* --- NEWSBOARD SPLIT LAYOUT --- */
.story-section.hero-section .content-container {
    /* Hero keeps single col centered layout */
    display: flex;
    justify-content: center;
}

.split-layout {
    display: flex;
    flex-direction: row;
    gap: 80px;
    width: 100%;
    /* Full width */
    max-width: none;
    /* Remove cap */
    margin: 0;
    padding-left: 50px;
    /* Move sidebar closer to edge */
    padding-right: 50px;
    position: relative;
    align-items: flex-start;
}

/* LEFT: SECTION INFO */
.split-left {
    width: 700px;
    /* Fixed width for stability */
    min-width: 700px;
    max-width: 700px;
    flex-shrink: 0;
    /* Do not shrink */
    position: sticky;
    top: 15vh;
    /* Sticky relative to the section container */
}

/* CARD STYLE RESTORATION */
.section-card-left {
    background: rgba(10, 10, 12, 0.85);
    border: 1px solid var(--border-gold);
    padding: 20px;
    /* Reduced padding */
    border-radius: 4px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
    pointer-events: auto;
    /* Enable interaction */
}

/* ... existing code ... */

/* CLIPPING CARDS */
.clipping-card {
    background: rgba(20, 20, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(5px);
    pointer-events: auto;
    /* Enable interaction */
}

.section-card-left .category-tag {
    display: block;
    margin-bottom: 15px;
    /* Reduced margin */
    font-size: 0.85em;
}

.section-card-left h2 {
    font-size: 1.8rem;
    /* Slightly smaller header */
    line-height: 1.1;
    margin-bottom: 15px;
    /* Reduced margin */
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.2);
    font-weight: 700;
}

.section-card-left .subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    /* Reduced gap */
    justify-content: flex-start;
    margin-bottom: 20px;
    /* Reduced margin */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    /* Reduced padding */
}

.narrative-text {
    font-family: 'Cinzel', serif;
    font-style: italic;
    color: var(--neon-gold);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 2px solid var(--neon-blue);
    opacity: 0.9;
}

/* POINTS LIST STYLING */
.points-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Tightened gap */
}

.point-item {
    padding-bottom: 8px;
    /* Tightened padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.point-item:last-child {
    border-bottom: none;
}

.point-item h3 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--neon-gold);
    font-size: 1.1rem;
    /* Larger and punchier */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    /* Tight margin */
    line-height: 1.2;
    margin-top: 0;
    text-shadow: 0 0 5px rgba(255, 206, 0, 0.3);
}

.point-item p {
    font-family: 'Inter', sans-serif;
    color: #ccc;
    font-size: 0.9rem;
    /* Restoring readability */
    line-height: 1.4;
    /* Better readability */
    margin: 0;
}

/* RIGHT: NEWSBOARD CLIPPINGS */
.split-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    /* Masonry-ish feel via Masonry JS or just CSS grid */
}

/* CLIPPING CARDS */
.clipping-card {
    background: rgba(20, 20, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(5px);
}

.clipping-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 200, 0, 0.3);
    z-index: 10;
}

/* Paper texture overlay hint */
.clipping-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
    opacity: 0.3;
    pointer-events: none;
}

.clipping-card h3 {
    font-family: 'Share Tech Mono', monospace;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.clipping-card p {
    font-family: 'Inter', sans-serif;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* News Clipping Variant */
.clipping-card.news-variant {
    background: rgba(40, 40, 45, 0.9);
    border-left: 3px solid var(--neon-gold);
    text-decoration: none;
    /* Remove underline from anchor */
    display: flex;
    flex-direction: column;
}

.clipping-card.news-variant h3 {
    font-size: 1rem;
    color: var(--neon-gold);
    border: none;
    padding: 0;
    margin-bottom: 5px;
}

.clipping-card.news-variant .news-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.clipping-card.news-variant:hover .news-title {
    text-decoration: underline;
    color: var(--neon-gold);
}

/* Make floated card wider in Hero */
.hero-section .floating-card {
    max-width: 1200px;
}

/* Responsive */
@media (max-width: 1250px) {
    .split-layout {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
        gap: 60px;
        /* Increased padding/gap between stacked items */
    }

    .split-left {
        width: 100%;
        min-width: auto;
        /* Reset fixed min-width for mobile */
        position: static;
        margin-bottom: 0;
        /* Let gap handle spacing */
        max-height: none;
    }

    .split-right {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}