/* ── What's On Archive Page – v1.0.2 ── */

/* ── Wrap ── */
.two-archive-wrap {
    background: #071626;
    min-height: 60vh;
}

/* ── Hero ── */
.two-archive-hero {
    background: linear-gradient(135deg, #0d1f33 0%, #0a3a5c 50%, #0d1f33 100%);
    padding: 64px 24px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.two-archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a9fd4' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 1;
}
.two-archive-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.two-archive-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a9fd4;
    margin: 0 0 12px;
}
.two-archive-heading {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.two-archive-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
}

/* ── Content area ── */
.two-archive-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

/* ── Filter bar ── */
.two-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(74,159,212,0.15);
}
.two-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.two-filter-tab {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 7px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.2s ease;
    line-height: 1;
}
.two-filter-tab:hover {
    color: #fff;
    border-color: rgba(74,159,212,0.5);
    background: rgba(74,159,212,0.08);
}
.two-filter-tab--active {
    color: #fff !important;
    background: #4a9fd4 !important;
    border-color: #4a9fd4 !important;
}
.two-toggle-past {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.two-toggle-past:hover { color: #4a9fd4; }

/* ── Event grid ── */
.two-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* ── Individual card ── */
.two-archive-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255,255,255,0.06);
}
.two-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    border-color: rgba(74,159,212,0.25);
}
.two-archive-card--past {
    opacity: 0.65;
}
.two-archive-card--featured {
    border-color: rgba(74,159,212,0.4);
    box-shadow: 0 4px 24px rgba(74,159,212,0.15);
}

/* Thumbnail */
.two-archive-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    flex-shrink: 0;
}
.two-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.two-archive-card:hover .two-archive-thumb img {
    transform: scale(1.04);
}
.two-archive-featured-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(13,31,51,0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* Card body */
.two-archive-card-body {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Reuse existing .two-card-top, .two-date-block etc from widget.css */

/* Add year to date block */
.two-date-year {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
    margin-top: 2px;
}
.two-date-block {
    width: 56px !important;
    padding: 8px 4px !important;
}

/* Excerpt */
.two-archive-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    margin: 0 0 14px;
    flex: 1;
}

/* Details button */
.two-btn-details {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid;
    transition: all 0.2s;
}
.two-btn-details:hover {
    opacity: 0.8;
}

/* Actions row spacing */
.two-card-actions {
    margin-top: auto;
    padding-top: 14px;
}

/* ── No events ── */
.two-no-events {
    text-align: center;
    padding: 60px 24px;
    opacity: 0.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.two-no-events-link {
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}
.two-no-events-link:hover { text-decoration: underline; }

/* ── Pagination ── */
.two-archive-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.two-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.2s;
}
.two-archive-pagination .page-numbers.current,
.two-archive-pagination .page-numbers:hover {
    background: #4a9fd4;
    color: #fff;
    border-color: #4a9fd4;
}
.two-archive-pagination .page-numbers.dots {
    border: none;
    background: none;
    width: auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .two-archive-content { padding: 28px 16px 48px; }
    .two-archive-grid { grid-template-columns: 1fr; gap: 16px; }
    .two-filter-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .two-archive-hero { padding: 48px 20px 40px; }
    .two-archive-card-body { padding: 16px 16px 14px; }
}

/* ═══════════════════════════════════════════════════
   SINGLE EVENT PAGE
═══════════════════════════════════════════════════ */

.two-single-wrap {
    background: #071626;
    min-height: 60vh;
    color: #fff;
}

/* ── Hero ── */
.two-single-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.two-single-hero-img {
    position: absolute;
    inset: 0;
}
.two-single-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.two-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,22,38,0.3) 0%, rgba(7,22,38,0.92) 100%);
}
/* Hero without image fallback */
.two-single-hero:not(:has(.two-single-hero-img)) {
    background: linear-gradient(135deg, #0d1f33 0%, #0a3a5c 50%, #0d1f33 100%);
    min-height: 220px;
}
.two-single-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 40px;
}
.two-single-breadcrumb {
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.two-single-breadcrumb a {
    text-decoration: none;
    font-weight: 600;
}
.two-single-breadcrumb a:hover { text-decoration: underline; }
.two-single-breadcrumb-sep { color: rgba(255,255,255,0.3); }
.two-single-featured-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: rgba(13,31,51,0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}
.two-single-title {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.two-single-meta-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.two-single-pill {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
}

/* ── Body layout ── */
.two-single-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* ── Main content ── */
.two-single-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 36px;
}
.two-single-description p { margin: 0 0 1em; }
.two-single-description h2,
.two-single-description h3 {
    color: #fff;
    margin-top: 1.5em;
}

/* Calendar actions */
.two-single-cal-actions {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
}
.two-single-cal-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin: 0 0 12px;
}
.two-single-cal-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.two-single-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    transition: all 0.2s;
    background: rgba(255,255,255,0.05);
}
.two-single-cal-btn:hover {
    background: rgba(74,159,212,0.15);
    border-color: rgba(74,159,212,0.5);
    color: #fff;
}

/* ── Sidebar card ── */
.two-single-details-card {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.07);
    position: sticky;
    top: 24px;
}
.two-single-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.two-single-detail-row:first-child { padding-top: 0; }
.two-single-detail-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.two-single-detail-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 3px;
}
.two-single-detail-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}
.two-single-register {
    padding-top: 20px;
}
.two-single-reg-btn {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 10px;
    transition: opacity 0.2s, transform 0.2s;
}
.two-single-reg-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .two-single-body {
        grid-template-columns: 1fr;
    }
    .two-single-sidebar {
        order: -1;
    }
    .two-single-details-card {
        position: static;
    }
}
@media (max-width: 600px) {
    .two-single-hero-content { padding: 28px 16px 28px; }
    .two-single-body { padding: 24px 16px 48px; gap: 24px; }
}
