/**
 * Verbosec Events Showcase - Modern Frontend Styles
 * Pokemon-card inspired design with tabs, filters, and calendar
 * Author: Verbosec
 * Version: 2.0.0
 */

/* ==================== BASE STYLES ==================== */
.verbosec-events-modern-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ==================== COLOR VARIABLES ==================== */
:root {
    --primary-color: #1a253e;
    --secondary-color: #ed2024;
    --text-primary: #1a253e;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

/* ==================== TABS SECTION ==================== */
.verbosec-tabs-wrapper {
    margin-bottom: 40px;
}

.verbosec-tabs {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.verbosec-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--border-color);
    /* Border for inactive */
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.verbosec-tab.active {
    background: var(--secondary-color);
    /* Red for active */
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(237, 32, 36, 0.4);
    font-weight: 700;
}

.verbosec-tab:hover:not(.active) {
    background: var(--bg-light);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.verbosec-tab:hover:not(.active) {
    background: var(--bg-light);
    color: var(--text-secondary);
}

.tab-icon,
.tab-text {
    position: relative;
    z-index: 1;
}

.tab-icon {
    font-size: 1.3rem;
}

/* ==================== MAIN CONTENT LAYOUT ==================== */
.verbosec-main-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ==================== FILTERS ==================== */
.verbosec-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.verbosec-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verbosec-filter:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.verbosec-filter.active {
    background: var(--secondary-color);
    /* RED for high visibility */
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(237, 32, 36, 0.4);
    font-weight: 700;
    transform: translateY(-1px);
}

.filter-icon {
    font-size: 1.1rem;
}

/* ==================== TAB CONTENT ==================== */
.verbosec-tab-content {
    display: none;
}

.verbosec-tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== EVENTS GRID ==================== */
.verbosec-events-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* ==================== MODERN EVENT CARD (Clean Split Design) ==================== */
.verbosec-event-card-modern {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.verbosec-event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

/* Card Image Section - Top Half */
.card-image-section {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.badge-day {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.badge-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.card-type-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Card Details Section - Bottom Half */
.card-details-section {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info Grid */
.card-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    color: #64748b;
    flex-shrink: 0;
}

.info-text {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

/* View Details Button */
.card-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.card-view-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 32, 36, 0.3);
    text-decoration: none;
    color: #ffffff;
}

.button-icon {
    transition: transform 0.3s ease;
}

.card-view-button:hover .button-icon {
    transform: translateX(4px);
}

/* ==================== NO EVENTS MESSAGE ==================== */
.verbosec-no-events-modern {
    text-align: center;
    padding: 80px 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.no-events-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.verbosec-no-events-modern h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.verbosec-no-events-modern p {
    font-size: 1.1rem;
    color: #64748b;
}

/* ==================== CALENDAR SECTION ==================== */
.verbosec-calendar-section {
    position: sticky;
    top: 20px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.verbosec-calendar-header {
    margin-bottom: 24px;
}

.verbosec-calendar-header h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0 0 16px 0;
    font-weight: 700;
}

/* Toggle Switch */
.verbosec-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.verbosec-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: #e2e8f0;
    border-radius: 13px;
    transition: background 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.verbosec-toggle input:checked+.toggle-slider {
    background: var(--primary-color);
}

.verbosec-toggle input:checked+.toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

/* Calendar Grid */
.verbosec-calendar {
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-nav-btn {
    background: #f8fafc;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: #e2e8f0;
}

.calendar-month-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 8px 0;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: #f8fafc;
}

.calendar-day.other-month {
    color: #cbd5e1;
}

.calendar-day.today {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--primary-color);
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-day.has-live-event::after {
    background: var(--secondary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Calendar Events List */
.verbosec-calendar-events-list {
    max-height: 300px;
    overflow-y: auto;
}

.calendar-event-item {
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid var(--primary-color);
}

.calendar-event-item:hover {
    background: #e2e8f0;
    transform: translateX(4px);
}

.calendar-event-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.calendar-event-time {
    font-size: 0.8rem;
    color: #64748b;
}

.calendar-no-events {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .verbosec-main-content {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }

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

@media (max-width: 992px) {
    .verbosec-main-content {
        grid-template-columns: 1fr;
    }

    .verbosec-calendar-section {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }

    .verbosec-events-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .verbosec-events-modern-container {
        padding: 20px 15px;
    }

    .verbosec-tabs {
        max-width: 100%;
    }

    .verbosec-tab {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .tab-icon {
        font-size: 1.1rem;
    }

    .verbosec-filters {
        padding: 16px;
    }

    .verbosec-filter {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .verbosec-events-grid-modern {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .verbosec-tab {
        flex-direction: column;
        gap: 6px;
        padding: 12px 16px;
    }

    .tab-text {
        font-size: 0.9rem;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .card-content-wrapper {
        padding: 20px;
    }

    .card-title {
        font-size: 1.2rem;
        min-height: auto;
    }

    .card-excerpt {
        min-height: auto;
    }
}

/* ==================== LOADING ANIMATION ==================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.verbosec-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ==================== SINGLE EVENT PAGE ==================== */

.verbosec-single-event-wrapper {
    background-color: var(--white);
    padding-bottom: 60px;
}

/* Hero Section */
.verbosec-event-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    padding: 0 0 60px;
    margin-bottom: 40px;
}

.verbosec-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 37, 62, 0.4) 0%, rgba(26, 37, 62, 0.9) 100%);
    z-index: 1;
}

.verbosec-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.verbosec-back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.verbosec-back-btn:hover {
    opacity: 1;
    text-decoration: none;
}

.verbosec-hero-type {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.verbosec-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.2;
}

.verbosec-hero-meta {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content Layout */
.verbosec-event-body-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.verbosec-event-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Sections */
.verbosec-section {
    margin-bottom: 60px;
}

.verbosec-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.verbosec-event-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Speakers Grid */
.verbosec-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.verbosec-speaker-card {
    text-align: center;
}

.speaker-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-light);
    background-size: cover;
    background-position: center;
    margin: 0 auto 16px;
    border: 3px solid var(--border-color);
}

.speaker-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-primary);
}

.speaker-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Schedule Timeline */
.verbosec-timeline {
    position: relative;
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    margin-left: 10px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.timeline-time {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Sidebar / Action Card */
.verbosec-sidebar-column {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.verbosec-action-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.action-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.action-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.verbosec-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.verbosec-btn-block {
    width: 100%;
    display: block;
}

.verbosec-btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.verbosec-btn-primary:hover {
    background: #2c3e50;
    /* slightly lighter for hover */
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 37, 62, 0.3);
}

.verbosec-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.verbosec-btn-outline:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.verbosec-btn.disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.action-details-list {
    margin-bottom: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.action-share {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-icon {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.share-icon:hover {
    text-decoration: underline;
}


/* Responsive - Single Event */
@media (max-width: 900px) {
    .verbosec-event-grid {
        grid-template-columns: 1fr;
    }

    .verbosec-sidebar-column {
        position: static;
        margin-top: 40px;
    }

    .verbosec-event-hero {
        height: 300px;
    }

    .verbosec-hero-title {
        font-size: 2rem;
    }
}

/* ==================== SINGLE EVENT TWEAKS (User Feedback) ==================== */

/* Force Title White */
.verbosec-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Move Back Button Up */
.verbosec-back-btn {
    position: absolute;
    top: 30px;
    left: 20px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.verbosec-back-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Fix Registration Card Layout */
.verbosec-action-card h3.action-card-title {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.action-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

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

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
}

.detail-value {
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

/* Fix Action Price Contrast */
.action-price {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.price-amount {
    font-weight: 800;
}


/* ==================== WIDE LAYOUT ADJUSTMENTS ==================== */

/* Details Page Container - Standard Width */
.verbosec-event-body-container {
    max-width: 1400px !important;
    width: 95%;
}

/* Events List Container - Standard Width (Reverted from 1800px) */
.verbosec-events-modern-container {
    max-width: 1400px !important;
    width: 95%;
    padding: 40px 20px;
}

/* Event Grid - Standard Card Size (Reverted from 350px) */
.verbosec-events-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 28px;
}

/* Force Active States to be RED (Secondary Color) */
.verbosec-tab.active,
.verbosec-filter.active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* Related Events Section (New) */
.verbosec-related-events-section {
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}


/* Ensure full height on large screens */
.verbosec-single-event-wrapper {
    min-height: 85vh;
}

/* Adjust Related Events Title Spacing */
.verbosec-related-events-section h2 {
    margin-bottom: 40px;
}

/* Responsive Font Sizes for Very Large Screens */
@media (min-width: 1920px) {
    .verbosec-hero-title {
        font-size: 3.5rem;
    }

    .card-title {
        font-size: 1.4rem;
    }
}
/* ==================== BACK BUTTON (TOP) ADJUSTMENTS ==================== */

.verbosec-back-btn-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    background: #f1f5f9;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.verbosec-back-btn-top:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(26, 37, 62, 0.2);
    border-color: var(--primary-color);
    text-decoration: none;
}


/* ==================== LAYOUT REFINEMENTS (Step 357) ==================== */

/* Single Event Grid - Wider Gap, Fixed Sidebar Width */
.verbosec-event-grid {
    display: grid !important;
    grid-template-columns: 1fr 350px !important; /* Fixed sidebar width */
    gap: 80px !important; /* Wider gap pushes sidebar right */
    align-items: start;
}

/* Sidebar Column */
.verbosec-sidebar-column {
    width: 100%;
    max-width: 350px;
    margin-left: auto; /* Ensure it stays to the right */
}

/* Speakers Grid - Better Density */
.verbosec-speakers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 30px !important;
}

/* Timeline Left Alignment Fix */
.verbosec-timeline {
    margin-left: 0 !important;
    padding-left: 20px !important;
}

/* Responsive Reset for Mobile */
@media (max-width: 991px) {
    .verbosec-event-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .verbosec-sidebar-column {
        max-width: 100%;
    }
}


/* ==================== STORY-FIRST LAYOUT (Step 384) ==================== */

/* header */
.verbosec-story-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-main-info {
    margin-top: 20px;
}

.story-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Grid Layout */
.verbosec-story-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

/* Sidebar Facts Panel */
.verbosec-facts-panel {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 40px;
}

.facts-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #cbd5e1;
}

.facts-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Fact Rows with SVGs */
.fact-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.fact-icon {
    color: var(--secondary-color);
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.fact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.fact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fact-price-row {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 30px 0 20px;
    text-align: center;
}

/* Mobile Sticky CTA */
.mobile-cta-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.mobile-cta-info {
    display: flex;
    flex-direction: column;
}

.mobile-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.mobile-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Hide/Show */
@media (min-width: 901px) {
    .mobile-cta-sticky { display: none; }
}

@media (max-width: 900px) {
    .verbosec-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .verbosec-facts-panel {
        position: static;
        margin-top: 40px;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .verbosec-single-event-wrapper {
        padding-bottom: 100px; /* Space for sticky bar */
    }
}


/* ==================== POLISH & MICRO-INTERACTIONS (Step 403) ==================== */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Timeline Hover Effect */
.timeline-item {
    transition: transform 0.2s ease;
}

.timeline-item:hover {
    transform: translateX(8px);
}

/* Speaker Image Subtle Zoom */
.speaker-img {
    transition: transform 0.3s ease;
}

.verbosec-speaker-card:hover .speaker-img {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}


/* ==================== FULL WIDTH LAYOUT UNLOCK (Step 418) ==================== */

/* Unlock the container width */
.verbosec-event-body-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 40px !important; /* Minimal padding for edges */
}

/* Allow grid to stretch */
.verbosec-story-grid {
    max-width: 1800px; /* Cap it only at very wide 4k screens for readability */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Ensure Back Button Top area is full width */
.verbosec-story-header {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* Full Width Schedule and Related Events */
.story-full-width, 
.verbosec-related-events-section {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Padding Adjustments */
@media (max-width: 768px) {
    .verbosec-event-body-container {
        padding: 0 20px !important;
    }
}

