/* ============================================================
   Archived Events – Single Event Detail Page
   ============================================================ */

.ae-single-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a2e;
}

/* ---- Back Link ---- */
.ae-single-back {
    margin-bottom: 20px;
}

.ae-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #003d7a;
    text-decoration: none;
    transition: gap 0.15s ease;
}

.ae-back-link:hover {
    gap: 2px;
    color: #002a5c;
}

.ae-back-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Hero ---- */
.ae-single-hero {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.ae-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 36px;
    gap: 10px;
}

.ae-single-badge {
    display: inline-block;
    background: #003d7a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    align-self: flex-start;
}

.ae-single-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ae-single-hero-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    margin: 0;
}

.ae-single-hero-date svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: rgba(255,255,255,0.8);
}

/* ---- Meta Strip ---- */
.ae-single-meta-strip {
    display: flex;
    flex-wrap: wrap;
    background: #f8f9fc;
    border: 1px solid #e2e6ea;
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-bottom: 36px;
    overflow: hidden;
}

.ae-single-meta-item {
    flex: 1;
    min-width: 120px;
    padding: 16px 22px;
    border-right: 1px solid #e2e6ea;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ae-single-meta-item:last-child {
    border-right: none;
}

.ae-single-meta-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6c757d;
}

.ae-single-meta-label svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #003d7a;
}

.ae-single-meta-value {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

/* ---- Content + Sidebar Layout ---- */
.ae-single-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* ---- Main Content ---- */
.ae-single-section {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.ae-single-section:last-child {
    margin-bottom: 0;
}

.ae-single-section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #003d7a;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ae-single-section-heading svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #003d7a;
}

.ae-single-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.ae-single-desc p {
    margin: 0 0 14px;
}

.ae-single-desc p:last-child {
    margin-bottom: 0;
}

/* ---- Sidebar ---- */
.ae-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}

.ae-sidebar-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
}

.ae-sidebar-card-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6c757d;
    padding: 14px 18px;
    margin: 0;
    background: #f8f9fc;
    border-bottom: 1px solid #e8ecf0;
}

/* Resource rows */
.ae-sidebar-resources {
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ae-resource-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.12s ease;
    border: 1px solid transparent;
}

.ae-resource-row:hover {
    transform: translateX(3px);
}

.ae-res-photos {
    background: #f0f6ff;
    border-color: #c5d8f8;
}

.ae-res-photos:hover {
    background: #e0eefe;
}

.ae-res-pdf {
    background: #fff8f0;
    border-color: #ffd580;
}

.ae-res-pdf:hover {
    background: #fff0d6;
}

.ae-res-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ae-res-photos .ae-res-icon {
    background: #003d7a;
}

.ae-res-pdf .ae-res-icon {
    background: #e65c00;
}

.ae-res-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.ae-res-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ae-res-text strong {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.ae-res-text small {
    font-size: 11px;
    color: #6c757d;
}

.ae-res-arrow {
    width: 16px;
    height: 16px;
    fill: #6c757d;
    flex-shrink: 0;
}

/* Info list */
.ae-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ae-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.ae-info-list li:last-child {
    border-bottom: none;
}

.ae-info-label {
    font-size: 13px;
    color: #6c757d;
    flex-shrink: 0;
}

.ae-info-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: right;
}

/* Video resource row */
.ae-res-video {
    background: #fff5f5;
    border-color: #ffb3b3;
}
.ae-res-video:hover { background: #ffe5e5; }
.ae-res-video .ae-res-icon { background: #ff0000; }

/* ---- Responsive ---- */
@media (max-width: 800px) {
    .ae-single-content {
        grid-template-columns: 1fr;
    }

    .ae-single-sidebar {
        position: static;
    }

    .ae-single-hero {
        height: 260px;
    }

    .ae-single-title {
        font-size: 22px;
    }

    .ae-single-hero-overlay {
        padding: 20px 20px;
    }

    .ae-single-meta-strip {
        flex-direction: column;
    }

    .ae-single-meta-item {
        border-right: none;
        border-bottom: 1px solid #e2e6ea;
    }

    .ae-single-meta-item:last-child {
        border-bottom: none;
    }

    .ae-single-section {
        padding: 20px 18px;
    }
}

@media (max-width: 480px) {
    .ae-single-wrap {
        padding: 16px 12px 40px;
    }

    .ae-single-hero {
        height: 220px;
    }
}
