/**
 * Conference Archive — SaaS Dashboard Design
 *
 * Modern sidebar-filter layout with Inter font, Material Symbols,
 * vertical grid cards, glass-morphism hero, #1E3A8A primary.
 *
 * @package IBCES
 */

/* ========================================
   Hero Section
======================================== */
.conf-hero {
    background: url('../../images/conference-hero.jpg') center/cover no-repeat;
    padding: 8.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.conf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.55);
    pointer-events: none;
}
.conf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    pointer-events: none;
}
.conf-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
}
.conf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}
.conf-hero__badge .material-symbols-outlined {
    font-size: 1.1rem;
}
.conf-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}
.conf-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.conf-hero .breadcrumbs {
    justify-content: center;
}
.conf-hero .breadcrumbs,
.conf-hero .breadcrumbs a,
.conf-hero .breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}
.conf-hero .breadcrumbs a:hover {
    color: #fff;
}
.conf-hero .breadcrumbs span.current {
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Layout: Sidebar + Main
======================================== */
.conf-archive-section {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 3rem;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.conf-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.75rem;
    align-items: start;
}

/* ========================================
   Sidebar Filters
======================================== */
.conf-sidebar {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}
.conf-sidebar__inner {
    padding: 1.25rem;
}
.conf-sidebar__close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 0.25rem;
    border-radius: 0.5rem;
    z-index: 10;
}
.conf-sidebar__close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.conf-sidebar__close .material-symbols-outlined {
    font-size: 1.25rem;
}

.conf-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.conf-sidebar__header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.conf-sidebar__header h3 .material-symbols-outlined {
    font-size: 1.2rem;
    color: #1E3A8A;
}
.conf-sidebar__clear-all {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1E3A8A;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}
.conf-sidebar__clear-all:hover {
    background: #eff6ff;
}

/* Active filter chips */
.conf-sidebar__active-filters {
    margin-bottom: 1rem;
}
.conf-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.conf-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eff6ff;
    color: #1E3A8A;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
    cursor: pointer;
    transition: all 0.15s ease;
}
.conf-filter-chip:hover {
    background: #dbeafe;
}
.conf-filter-chip .material-symbols-outlined {
    font-size: 0.85rem;
}

/* ========================================
   Filter Sections (Accordion)
======================================== */
.conf-filter-section {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0;
}
.conf-filter-section:last-child {
    border-bottom: none;
}
.conf-filter-section__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0.85rem 0;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    transition: color 0.15s ease;
}
.conf-filter-section__toggle > span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.conf-filter-section__toggle .material-symbols-outlined {
    font-size: 1.1rem;
    color: #94a3b8;
}
.conf-filter-section__toggle:hover {
    color: #1E3A8A;
}
.conf-toggle-icon {
    transition: transform 0.25s ease;
    font-size: 1.25rem !important;
    color: #94a3b8 !important;
}
.conf-filter-section__toggle[aria-expanded="false"] .conf-toggle-icon {
    transform: rotate(-90deg);
}
.conf-filter-section__body {
    padding-bottom: 1rem;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.conf-filter-section__toggle[aria-expanded="false"] + .conf-filter-section__body {
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
}

/* Filter search input */
.conf-filter-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s ease;
}
.conf-filter-search:focus-within {
    border-color: #1E3A8A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}
.conf-filter-search .material-symbols-outlined {
    font-size: 1.1rem;
    color: #94a3b8;
}
.conf-filter-search input {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #334155;
    outline: none;
    width: 100%;
}
.conf-filter-search input::placeholder {
    color: #94a3b8;
}

/* Filter checkbox list */
.conf-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.conf-filter-list li {
    margin: 0;
}
.conf-filter-list label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.25rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: #334155;
    transition: background 0.1s ease;
}
.conf-filter-list label:hover {
    background: #f8fafc;
}
.conf-filter-list input[type="checkbox"] {
    display: none;
}
.conf-filter-check {
    width: 1rem;
    height: 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.conf-filter-list input[type="checkbox"]:checked + .conf-filter-check {
    background: #1E3A8A;
    border-color: #1E3A8A;
}
.conf-filter-list input[type="checkbox"]:checked + .conf-filter-check::after {
    content: '';
    display: block;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.conf-filter-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.conf-filter-count {
    font-size: 0.72rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    font-weight: 500;
    flex-shrink: 0;
}

/* ========================================
   Date Range Fields
======================================== */
.conf-date-range {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.conf-date-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.3rem;
}
.conf-date-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.conf-date-input-wrap:focus-within {
    border-color: #1E3A8A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}
.conf-date-input-wrap .material-symbols-outlined {
    font-size: 1.1rem;
    color: #94a3b8;
}
.conf-date-input-wrap input {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #334155;
    outline: none;
    width: 100%;
}

/* ========================================
   Main Content Area
======================================== */
.conf-main {
    min-width: 0;
    position: relative;
}

/* Top bar */
.conf-main__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.conf-main__summary {
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
}
.conf-main__filter-toggle {
    display: none;
    align-items: center;
    gap: 0.4rem;
    background: #1E3A8A;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}
.conf-main__filter-toggle:hover {
    background: #152a66;
}
.conf-main__filter-toggle .material-symbols-outlined {
    font-size: 1.1rem;
}

/* ========================================
   Month Scroll Tabs
======================================== */
.conf-month-scroll {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.conf-month-scroll__arrow {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.conf-month-scroll__arrow:hover {
    background: #1E3A8A;
    color: #fff;
    border-color: #1E3A8A;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
}
.conf-month-scroll__arrow .material-symbols-outlined {
    font-size: 1.25rem;
}
.conf-month-tabs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0;
    max-width: calc(6 * 120px + 5 * 0.65rem);
    mask-image: linear-gradient(to right, black 0%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 96%, transparent 100%);
}
.conf-month-tabs::-webkit-scrollbar {
    display: none;
}
.conf-month-tab {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.1rem 1.6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.18s ease;
    min-width: 115px;
}
.conf-month-tab:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.06);
}
.conf-month-tab--active {
    background: #1E3A8A;
    border-color: #1E3A8A;
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3), 0 1px 3px rgba(30, 58, 138, 0.15);
}
.conf-month-tab--active:hover {
    background: #3b5998;
    border-color: #3b5998;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.35);
}
.conf-month-tab__label {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}
.conf-month-tab__year {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.5;
    line-height: 1;
    letter-spacing: 0.02em;
}
.conf-month-tab__count {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
    line-height: 1;
    margin-top: 0.15rem;
}
.conf-month-tab--active .conf-month-tab__label,
.conf-month-tab--active .conf-month-tab__year,
.conf-month-tab--active .conf-month-tab__count {
    color: #fff;
    opacity: 1;
}

/* ========================================
   Popular Countries Badges
======================================== */
.conf-popular-countries {
    margin-bottom: 1.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #1E3A8A;
    border-radius: 0.875rem;
    padding: 1.25rem 1.5rem;
}
.conf-popular-countries__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}
.conf-popular-countries__title .material-symbols-outlined {
    font-size: 1.2rem;
    color: #1E3A8A;
}
.conf-popular-countries__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.conf-country-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    transition: all 0.18s ease;
}
.conf-country-badge:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 1px 4px rgba(30, 58, 138, 0.06);
}
.conf-country-badge--active {
    background: #1E3A8A;
    color: #fff;
    border-color: #1E3A8A;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
}
.conf-country-badge--active:hover {
    background: #3b5998;
    color: #fff;
    border-color: #3b5998;
    box-shadow: 0 3px 12px rgba(30, 58, 138, 0.3);
}
.conf-country-badge__count {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    font-weight: 600;
    color: #64748b;
}
.conf-country-badge--active .conf-country-badge__count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ========================================
   Conference Grid (Vertical Cards)
======================================== */
.conf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    min-height: 200px;
}

/* ========================================
   Conference Card
======================================== */
.conf-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.conf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1E3A8A;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.conf-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #cbd5e1;
}
.conf-card:hover::before {
    opacity: 1;
}

/* ========================================
   Home Conference Tab Filters
======================================== */
.conf-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.conf-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}

.conf-tab .material-symbols-outlined {
    font-size: 1.05rem;
}

.conf-tab__flag {
    font-size: 1.1rem;
    line-height: 1;
}

.conf-tab:hover {
    color: #1E3A8A;
    border-color: #93c5fd;
    background: #eff6ff;
}

.conf-tab.active {
    color: #fff;
    background: #1E3A8A;
    border-color: #1E3A8A;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.conf-tab.active .material-symbols-outlined {
    color: #fff;
}

@media (max-width: 600px) {
    .conf-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
    }
    .conf-tabs::-webkit-scrollbar {
        display: none;
    }
    .conf-tab {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Priority accent colors — dashed top border style */
.conf-card--nl { border-top: 3.5px dashed #16a34a; }
.conf-card--nl::before { display: none; }
.conf-card--es { border-top: 3.5px dashed #dc2626; }
.conf-card--es::before { display: none; }
.conf-card--be { border-top: 3.5px dashed #f59e0b; }
.conf-card--be::before { display: none; }
.conf-card--eu { border-top: 3.5px dashed #eab308; }
.conf-card--eu::before { display: none; }

/* Card top: topic + bookmark */
.conf-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.conf-card__topic {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1E3A8A;
    background: #eff6ff;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.conf-card__top-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Card title */
.conf-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    color: #0f172a;
}
.conf-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.conf-card__title a:hover {
    color: #1E3A8A;
}

/* Card meta */
.conf-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    align-items: flex-start;
    text-align: left;
}
.conf-card__date,
.conf-card__location,
.conf-card__venue {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    text-align: left;
}
.conf-card__date .material-symbols-outlined,
.conf-card__location .material-symbols-outlined,
.conf-card__venue .material-symbols-outlined {
    font-size: 1.1rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Card bottom: view + share */
.conf-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}
.conf-card__view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E3A8A;
    background: #eff6ff;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.conf-card__view-btn:hover {
    background: #1E3A8A;
    color: #fff;
}
.conf-card__view-btn .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 0.15s ease;
}
.conf-card__view-btn:hover .material-symbols-outlined {
    transform: translateX(2px);
}

/* Icon buttons (bookmark, share) */
.conf-card__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.15s ease;
    position: relative;
}
.conf-card__icon-btn:hover {
    background: #f1f5f9;
    color: #1E3A8A;
    border-color: #1E3A8A;
}
.conf-card__icon-btn .material-symbols-outlined {
    font-size: 1rem;
}
.conf-card__icon-btn.bookmarked {
    color: #1E3A8A;
    background: #eff6ff;
    border-color: #1E3A8A;
}
.conf-card__icon-btn.bookmarked .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

/* ========================================
   Pagination
======================================== */
.conf-archive__pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.conf-archive__pagination .page-numbers {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
}
.conf-archive__pagination .page-numbers li {
    margin: 0;
}
.conf-archive__pagination .page-numbers a,
.conf-archive__pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
}
.conf-archive__pagination .page-numbers a:hover {
    background: #eff6ff;
    border-color: #1E3A8A;
    color: #1E3A8A;
}
.conf-archive__pagination .page-numbers .current {
    background: #1E3A8A;
    color: #fff;
    border-color: #1E3A8A;
    font-weight: 700;
}
.conf-archive__pagination .page-numbers .prev,
.conf-archive__pagination .page-numbers .next {
    color: #64748b;
}
.conf-archive__pagination .page-numbers .prev:hover,
.conf-archive__pagination .page-numbers .next:hover {
    color: #1E3A8A;
}
.conf-archive__pagination .page-numbers .prev .material-symbols-outlined,
.conf-archive__pagination .page-numbers .next .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 1.1rem;
}
.conf-archive__pagination .page-numbers a .material-symbols-outlined,
.conf-archive__pagination .page-numbers span .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
}

/* ========================================
   Empty State
======================================== */
.conf-archive__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94a3b8;
}
.conf-archive__empty .material-symbols-outlined {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}
.conf-archive__empty h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #475569;
    margin: 0 0 0.5rem;
}
.conf-archive__empty p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

/* ========================================
   Loading Overlay
======================================== */
.conf-archive__loader {
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 0.5rem;
}
.conf-archive__spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid #e2e8f0;
    border-top-color: #1E3A8A;
    border-radius: 50%;
    animation: confSpin 0.7s linear infinite;
}
@keyframes confSpin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Share Tooltip
======================================== */
.conf-share-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.4rem;
    display: flex;
    gap: 0.25rem;
    z-index: 100;
    white-space: nowrap;
}
.conf-share-tooltip a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.15s ease;
}
.conf-share-tooltip a:hover {
    background: #f1f5f9;
    color: #1E3A8A;
}

/* ========================================
   Homepage Conference Tabs (front-page)
======================================== */
/* Homepage conference list grid */
.conf-list--home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1024px) {
    .conf-list--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .conf-list--home { grid-template-columns: 1fr; }
}

/* Single conference related grid */
.sc-related__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .sc-related__list { grid-template-columns: 1fr; }
}

/* ========================================
   Responsive: Tablet (< 1024px)
======================================== */
@media (max-width: 1024px) {
    .conf-layout {
        grid-template-columns: 260px 1fr;
        gap: 1.25rem;
    }
    .conf-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Responsive: Mobile (< 768px)
======================================== */
@media (max-width: 768px) {
    .conf-hero__title {
        font-size: 1.6rem;
    }
    .conf-hero__subtitle {
        font-size: 0.9rem;
    }

    .conf-layout {
        display: block;
    }

    /* Off-canvas sidebar drawer */
    .conf-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: none;
        border: none;
    }
    .conf-sidebar.is-open {
        left: 0;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
    }
    .conf-sidebar__close {
        display: flex;
    }

    /* Mobile filter toggle visible */
    .conf-main__filter-toggle {
        display: inline-flex;
    }

    /* Overlay */
    .conf-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .conf-sidebar-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* Grid: 1 column on mobile */
    .conf-grid {
        grid-template-columns: 1fr;
    }

    /* Month tabs smaller */
    .conf-month-tab {
        padding: 0.6rem 0.9rem;
        min-width: 72px;
    }
    .conf-month-tab__label {
        font-size: 0.85rem;
    }

    /* Popular countries wrap */
    .conf-popular-countries__badges {
        gap: 0.3rem;
    }
    .conf-country-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ========================================
   Responsive: Small (< 480px)
======================================== */
@media (max-width: 480px) {
    .conf-archive-section {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }
    .conf-hero {
        padding: 7rem 0 2.5rem;
    }
    .conf-hero__title {
        font-size: 1.35rem;
    }
    .conf-card {
        padding: 1.15rem;
    }
    .conf-card__title {
        font-size: 0.95rem;
    }
}

