/* ===== RESET & BRAND FOUNDATION ===== */
/* CRÍTICO: NO usar overflow-x:hidden aquí — .insp-archive-body es ancestro directo
   de .sidebar-left. Cualquier overflow != visible en un ancestro rompe position:sticky */
.insp-archive-body {
    background: #f4f7fa;
    color: #1e293b;
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.5;
}

.insp-archive-body a {
    text-decoration: none;
    transition: all 0.2s ease;
}


/* ===== HERO HUB (REFINED) ===== */
.events-hero {
    background: #0f172a;
    padding: 80px 0 60px;
    color: #fff;
    position: relative;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-content h1,
.hero-content .hero-hub-title {
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-content h1 span,
.hero-content .hero-hub-title span {
    color: #f97316;
}

@media (min-width: 1280px) {
    .hero-content .hero-hub-title {
        font-size: 46px;
    }
}

@media (min-width: 1440px) {
    .hero-content .hero-hub-title {
        font-size: 48px;
    }
}

@media (min-width: 1920px) {
    .hero-content .hero-hub-title {
        font-size: 52px;
    }
}

.hero-search-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-box:focus-within {
    border-color: #38BDF8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.hero-search-box input {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.hero-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-b2b-ctas {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    align-items: center;
}

.hero-cta-sponsor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #F97316;
    color: #F97316;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cta-sponsor:hover {
    background: #F97316;
    color: #fff;
}

.hero-cta-mediakit {
    color: #38BDF8;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-cta-mediakit:hover {
    color: #fff;
}


.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    text-align: left;
}

.hero-stat-box .val {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.hero-stat-box .lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ===== NAVIGATION PILLARS (STICKY) ===== */
.pillars-nav {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 64px;
    z-index: 1000;
}

.pillars-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    overflow-x: auto;
}

.pillar-item {
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.pillar-item {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.pillar-item.active {
    color: #f97316;
    border-bottom-color: #f97316;
}

/* ===== MAIN LAYOUT & CONTAINERS ===== */
.archive-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: start;
}

/* Fix crítico para evitar que el contenido central empuje la barra derecha fuera de la pantalla */
.content-main {
    min-width: 0;
}

@media (max-width: 1280px) {
    .archive-container {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 30px;
    }

    .sidebar-right {
        display: none;
    }
}

/* ===== FILTER CARD (EXACT REPLICA) ===== */
.filter-card {
    padding: 24px;
}

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

.filter-header h3 {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin: 0;
}

.filter-header .clear-all {
    font-size: 14px;
    font-weight: 800;
    color: #f97316;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 30px;
}

.group-title {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-bottom: 2px;
    border-bottom: 1px solid #f8fafc;
}

/* Pillar Rows */
.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-row .label-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

.filter-row i {
    color: #f97316;
    width: 18px;
    opacity: 0.8;
}

.filter-row .count {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
}

.filter-row.active .label-box {
    color: #f97316;
}

.filter-row.active .count {
    color: #f97316;
}

/* Checkboxes & Radios Custom UI */
.filter-item-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
}

.filter-item-ui input {
    width: 18px;
    height: 18px;
    accent-color: #f97316;
    margin-right: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
}

.filter-item-ui label {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    flex: 1;
    cursor: pointer;
}

.filter-item-ui .count {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
}

.filter-item-ui:hover label {
    color: #0f172a;
}

/* Specialty Accordion & Preview */
.specialty-preview-container {
    position: relative;
    margin-bottom: 10px;
}

.specialty-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
    z-index: 2;
}

.specialty-details {
    margin-top: -15px;
    position: relative;
    z-index: 3;
}

.specialty-details[open] .specialty-list {
    padding-top: 15px;
}

.view-all-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    color: #f97316;
    padding: 8px 0;
}

.view-all-summary::-webkit-details-marker {
    display: none;
}

.view-all-summary i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.specialty-details[open] .view-all-summary i {
    transform: rotate(180deg);
}

.specialty-accordion-group:has(.specialty-details[open]) .specialty-fade {
    display: none;
}

.specialty-list {
    margin-top: 10px;
}

/* Multiple Select Pillars */
.filter-row.multiple-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-row.multiple-select:hover {
    background: #f8fafc;
}

.filter-row.multiple-select.active {
    background: #fff7ed;
    color: #f97316;
}

.filter-row.multiple-select.active .label-box span {
    color: #f97316;
}

.filter-row.multiple-select .filter-checkbox:checked+label {
    color: #f97316;
}

.filter-row.multiple-select .filter-checkbox:checked+label i {
    color: #f97316;
}

/* Empty States */
.no-events-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
}

/* ===== STRATEGIC RANKING (1-3) ===== */
.top-strategic-grid {
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .top-strategic-grid {
        grid-template-columns: 1fr;
    }
}

.strategic-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.strategic-card.bento-main {
    grid-row: span 2;
    height: 100%;
}

.strategic-card.bento-side {
    aspect-ratio: 16 / 9;
    height: auto;
}

@media (max-width: 1024px) {
    .strategic-card.bento-main {
        height: 300px;
    }

    .strategic-card.bento-side {
        aspect-ratio: 16 / 7;
        /* Wider on mobile to save space */
    }
}


.strategic-card-img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.strategic-card:hover .strategic-card-img {
    transform: scale(1.1);
}

.strategic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    /* Hidden by default */
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transition: background 0.4s ease;
}

.strategic-card:hover .strategic-overlay {
    background: linear-gradient(to top, rgb(1 2 4 / 95%) 0%, rgb(15 23 42 / 60%) 60%, #00000078 100%);
}

.strategic-info {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.strategic-card:hover .strategic-info {
    opacity: 1;
    transform: translateY(0);
}

.strategic-info h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    margin: 0;
}

.bento-main .strategic-info h3 {
    font-size: 22px !important;
    margin-bottom: 8px !important;
}

.bento-side .strategic-info h3 {
    font-size: 15px !important;
    margin-bottom: 4px !important;
}



.strategic-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 34px;
    height: 34px;
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.strategic-card:hover .strategic-rank {
    transform: scale(1.1);
}



/* ===== CALENDAR HEADER & TOOLBAR ===== */
.calendar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.calendar-top h2 {
    font-size: 28px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

.calendar-top p {
    font-size: 14px;
    color: #64748b;
    margin-top: 5px;
}

.calendar-toolbar {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.date-pager {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 2px;
}

.date-pager span {
    padding: 8px 20px;
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    border-left: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
}

.date-pager button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #94a3b8;
}

.view-switcher {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
}

.view-btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
}

.view-btn.active {
    background: #0f172a;
    color: #fff;
}

.btn-archive {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

/* ===== AGENDA LIST ROWS (EXACT REPLICA) ===== */
.month-divider {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 36px auto 20px;
    padding: 8px 20px;
    background: #0f172a;
    border-radius: 20px;
    display: table;
    position: sticky;
    top: 130px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== CALENDAR MORE EVENTS BUTTON ===== */
.calendar-more-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #f1f5f9;
    position: relative;
}

#btn-load-more-agenda {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

#btn-load-more-agenda::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#btn-load-more-agenda:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.25);
}

#btn-load-more-agenda:hover::before {
    opacity: 1;
}

#btn-load-more-agenda:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

#btn-load-more-agenda i {
    width: 18px;
    height: 18px;
    color: #f97316;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

#btn-load-more-agenda:hover i {
    transform: rotate(90deg);
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.25);
    border-top-color: #f97316;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    flex-shrink: 0;
}

#btn-load-more-agenda:disabled {
    cursor: not-allowed;
    opacity: 0.85;
    transform: none;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18);
}

#btn-load-more-agenda:disabled::before {
    opacity: 0;
}

.agenda-row {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    border-left: 4px solid #f97316;
    padding: 24px;
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    gap: 24px;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.agenda-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.agenda-date-box {
    text-align: center;
}

.agenda-date-box .day-num {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.agenda-date-box .day-name {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 4px;
}

.agenda-info {
    display: flex;
    flex-direction: column;
}

.agenda-meta-top {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.agenda-location {
    display: flex;
    align-items: center;
}

.agenda-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.agenda-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.agenda-tag {
    background: #fff7ed;
    color: #f97316;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
}

.agenda-badge-soon {
    background: #38BDF8;
    color: #0f172a;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-badge-week {
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-thumb {
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.agenda-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.agenda-row:hover .agenda-thumb img {
    transform: scale(1.05);
}




@media (max-width: 1280px) {
    .agenda-row {
        grid-template-columns: 80px 1fr 150px;
        gap: 24px;
    }

    .agenda-thumb {
        width: 140px;
    }
}

@media (max-width: 1024px) {
    .agenda-row {
        grid-template-columns: 80px 1fr;
    }

    .agenda-thumb {
        display: none;
    }
}

/* ===== SIDEBAR LEFT (EXACT REPLICA) ===== */
/* Mismo patrón que el archivo estático: sticky directo en el aside,
   con todos los estilos visuales en el mismo elemento.
   Requiere que body NO tenga overflow-x: hidden (style.css lo tiene en html). */
.sidebar-left {
    position: sticky;
    top: 166px;
    align-self: start;
    /* esencial en grid: evita que la celda se estire */
    background: #fff;
    border-radius: var(--radius-lg, 14px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

/* ===== SIDEBAR RIGHT (EXACT REPLICA) ===== */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 166px;
}

/* Partner Card */
.partner-list-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.partner-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f8fafc;
}

.partner-card-header h3 {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin: 0;
}

.partner-item {
    padding: 24px;
    border-bottom: 1px solid #f8fafc;
}

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

.partner-item .name {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
}

.partner-item.carestream .name {
    color: #f97316;
}

.partner-item.team .name {
    color: #1e293b;
}

.partner-item.hmt .name {
    color: #1e293b;
}

.partner-item .sector {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.partner-item .explore-link {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.partner-item .explore-link:hover {
    color: #f97316;
}

/* Promote Card */
.promote-brand-card {
    background: #0f172a;
    border-radius: 20px;
    padding: 32px 24px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.promote-brand-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.promote-brand-card p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.promote-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.promote-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.promote-list-item i {
    color: #f97316;
    width: 16px;
}

.btn-become {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: #f97316;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
    text-decoration: none;
}

.btn-media-kit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* ===== FEATURED EVENTS ===== */
.featured-scroll {
    display: grid;
    grid-template-columns: repeat(4, 280px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    margin-bottom: 40px;
    align-items: stretch;
}

@media(max-width:1280px) {
    .featured-scroll {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
    }
}

@media(max-width:900px) {
    .featured-scroll {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
    }
}

@media(max-width:540px) {
    .featured-scroll {
        grid-template-columns: 1fr;
    }
}

.feat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feat-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.feat-card-img {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card-img.no-image {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #f97316 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.feat-card-img.no-image::after {
    content: attr(data-title);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.feat-card:hover .feat-card-img img {
    transform: scale(1.1);
}

.feat-card-logo {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 56px;
    height: 56px;
    padding: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feat-card-logo img {
    object-fit: contain;
}

.feat-card-body {
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feat-card-body h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 64px;
    /* Space for ~3 lines of title */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feat-card-meta {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    /* Consistency for locations */
}

.feat-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    min-height: 24px;
    /* Ensure space even if empty */
}

.feat-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.explore-btn {
    margin-top: auto;
    width: 100%;
    padding: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s;
}

.explore-btn:hover {
    background: #f97316;
}

/* ===== UPCOMING EVENTS ===== */

.upcoming-tags {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upcoming-list {
    margin-bottom: 40px;
}

.upcoming-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.upcoming-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 16px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    text-decoration: none;
    color: inherit;
}

.upcoming-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #f97316;
}


.date-box {
    flex-shrink: 0;
    text-align: center;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 50px;
}

.date-box .month {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #f97316;
}

.date-box .day {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}

.upcoming-info {
    min-width: 0;
    flex: 1;
}

.upcoming-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upcoming-info p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.upcoming-tag {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 6px;
    display: inline-block;
}

.bookmark-btn {
    margin-left: auto;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: color .2s;
    align-self: flex-start;
    background: none;
    border: none;
    cursor: pointer;
}

.bookmark-btn:hover {
    color: #f97316;
}

/* ===== EVENT COVERAGE ===== */
.coverage-section {
    margin-bottom: 40px;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.coverage-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: #cbd5e1;
}

.coverage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coverage-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255 255 255 / 35%);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s;
}

.coverage-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn i {
    color: #0f172a;
    margin-left: 3px;
    width: 20px;
}

.coverage-duration {
    position: absolute;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.coverage-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* ===== PARTNER CTA & VALUE STRIP ===== */
.partner-cta-band {
    background: #0f172a;
    padding: 60px 0;
    color: #fff;
}

.partner-cta-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.partner-cta-content h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.partner-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.partner-cta-actions {
    display: flex;
    gap: 15px;
}

.btn-media-partner {
    background: #f97316;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-media-partner:hover {
    background: #ea580c;
}

.btn-promote {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-promote:hover {
    background: rgba(255, 255, 255, 0.05);
}

.value-strip {
    background: #1e293b;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.value-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.value-icon {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-info h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.value-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
    .value-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MONTH VIEW CALENDAR ===== */
.calendar-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.calendar-day-head {
    background: #f8fafc;
    padding: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.calendar-day-cell {
    background: #fff;
    min-height: 100px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-day-num {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.calendar-day-event {
    font-size: 10px;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    line-height: 1.2;
}

.calendar-day-event:hover {
    background: rgba(249, 115, 22, 0.2);
}

.calendar-day-cell.other-month {
    background: #f1f5f9;
}

.calendar-day-cell.today {
    background: #fff7ed;
}

.calendar-day-cell.today .calendar-day-num {
    color: #f97316;
}

/* ===== REFACTORED UTILITIES (FROM INLINE STYLES) ===== */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 40px;
}

.section-title-sm {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
}

.tags-group {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tag-pill {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
}

.tag-pill.pillar {
    background: #f1f5f9;
    color: #475569;
}

.tag-pill.specialty {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.tag-pill.attendance {
    background: rgba(60, 233, 17, 0.1);
    color: #2eff4a;
}

.agenda-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-wrapper-rel {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.no-events-msg {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.search-x-icon {
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.calendar-full-container {
    margin: 0;
    padding: 40px 0 0;
}

.strategic-card-title {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.strategic-card-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0;
}

.hero-search-icon {
    width: 24px;
    color: #f97316;
    cursor: pointer;
}

.feat-logo-img {
    filter: invert(1);
}

.coverage-card-link {
    text-decoration: none;
    color: inherit;
}

.world-section-hidden {
    display: none;
}

.world-map-placeholder {
    background: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg') no-repeat center;
    opacity: 0.1;
    height: 350px;
    position: relative;
}

.map-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f97316;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.mt-0 {
    margin-top: 0 !important;
}
/* Agenda Row Highlight (3 days before/after) */
.agenda-row.agenda-row-highlight {
    border-left: 8px solid #3b82f6 !important;
}

/* Search loading state */
.hero-search-box.is-loading .hero-search-icon {
    display: none;
}
.hero-search-box .search-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: heroSpinAnim 0.7s linear infinite;
    flex-shrink: 0;
}
.hero-search-box.is-loading .search-spinner {
    display: block;
}
@keyframes heroSpinAnim {
    to { transform: rotate(360deg); }
}

/* ===== MICRO-INTERACTIONS (Phase 1 — Score 10/10) ===== */
.feat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #38BDF8;
}

.upcoming-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #38BDF8;
}

.coverage-card {
    transition: transform 0.2s ease;
}

.coverage-card:hover {
    transform: scale(1.02);
}

.btn-become {
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-become:hover {
    background: #EA580C;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.btn-media-kit {
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.btn-media-kit:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #38BDF8;
}

.btn-media-partner {
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-media-partner:hover {
    background: #EA580C;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.btn-promote {
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.btn-promote:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #38BDF8;
}

.explore-btn {
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.explore-btn:hover {
    background: #F97316;
    transform: scale(1.02);
}

.pillar-item {
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.filter-row {
    cursor: pointer;
}

.filter-item-ui {
    cursor: pointer;
}

.view-btn {
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.date-pager button {
    cursor: pointer;
    transition: color 0.2s ease;
}

.date-pager button:hover {
    color: #F97316;
}

.agenda-row {
    cursor: pointer;
}

.hero-stat-box {
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-stat-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

/* ===== MOBILE RESPONSIVE (Phase 2 — Score 10/10) ===== */

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 16px;
    width: 100%;
}

.mobile-filter-toggle:hover {
    background: #1e293b;
}

.mobile-filter-toggle i {
    color: #F97316;
}

/* Mobile Filter Drawer Overlay */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-overlay.is-active {
    opacity: 1;
}

/* Mobile Filter Drawer */
.mobile-filter-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    padding: 24px;
}

.mobile-filter-drawer.is-open {
    transform: translateX(0);
}

.mobile-filter-drawer .filter-card {
    padding: 0;
}

.mobile-filter-drawer-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-filter-drawer-close h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.mobile-filter-drawer-close button {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 4px;
}

@media (max-width: 1024px) {
    .mobile-filter-toggle {
        display: flex;
    }

    .mobile-filter-drawer {
        display: block;
    }

    .mobile-filter-overlay {
        display: block;
        pointer-events: none;
    }

    .mobile-filter-overlay.is-active {
        pointer-events: auto;
    }

    .sidebar-right {
        display: flex;
        flex-direction: row;
        position: static;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 8px;
        margin-bottom: 24px;
        grid-column: 1 / -1;
    }

    .sidebar-right .promote-brand-card {
        min-width: 280px;
        flex-shrink: 0;
    }

    .sidebar-right .partner-list-card {
        min-width: 280px;
        flex-shrink: 0;
    }

    .archive-container {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .events-hero {
        padding: 48px 0 40px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }

    .hero-content .hero-hub-title {
        font-size: 32px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-stat-box {
        padding: 16px;
    }

    .hero-stat-box .val {
        font-size: 22px;
    }

    .hero-stat-box .lbl {
        font-size: 10px;
    }

    .hero-search-box {
        padding: 12px 16px;
    }

    .hero-b2b-ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-cta-sponsor {
        width: 100%;
        justify-content: center;
    }

    .pillars-inner {
        padding: 0 16px;
    }

    .pillar-item {
        padding: 14px 16px;
        font-size: 12px;
    }

    .archive-container {
        padding: 24px 16px;
        gap: 24px;
    }

    .featured-scroll {
        grid-template-columns: 1fr;
    }

    .upcoming-row {
        grid-template-columns: 1fr;
    }

    .agenda-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .agenda-date-box {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

    .agenda-meta-top {
        justify-content: center;
        flex-wrap: wrap;
    }

    .agenda-tags {
        justify-content: center;
    }

    .agenda-thumb {
        display: none;
    }

    .calendar-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-toolbar {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .date-pager {
        width: 100%;
        justify-content: center;
    }

    .view-switcher {
        width: 100%;
        justify-content: center;
    }

    .month-divider {
        position: static;
        font-size: 10px;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .value-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .partner-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-media-partner,
    .btn-promote {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .calendar-month-grid {
        grid-template-columns: 1fr;
    }

    .calendar-day-head {
        display: none;
    }

    .calendar-day-cell {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero-content .hero-hub-title {
        font-size: 26px;
    }

    .hero-inner {
        padding: 0 12px;
    }

    .pillars-inner {
        padding: 0 12px;
    }

    .pillar-item {
        padding: 12px 14px;
        font-size: 11px;
        gap: 6px;
    }

    .archive-container {
        padding: 20px 12px;
    }

    .agenda-row {
        padding: 16px;
    }

    .agenda-date-box .day-num {
        font-size: 24px;
    }

    .agenda-title {
        font-size: 16px;
    }

    .calendar-top h2 {
        font-size: 22px;
    }

    .partner-cta-content h2 {
        font-size: 22px;
    }

    .feat-card-body h3 {
        min-height: auto;
    }
}
