/* ============================================
   EXAM NOTICES — FULL PAGE
   exam-notices.css
   ============================================ */

   .en-page {
    padding: 60px 0 100px;
    background: #fff;
}

.en-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ---- Page header ---- */
.en-header {
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}

.en-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    font-family: "Inter", sans-serif;
    line-height: 1.15;
}

.en-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* ---- Timeline item ---- */
.en-item {
    display: flex;
    gap: 0;
    position: relative;
}

/* ---- Rail (dot + line) ---- */
.en-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    flex-shrink: 0;
    padding-top: 22px;
}

.en-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rt-primary, #1a3a6b);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--rt-primary, #1a3a6b);
    flex-shrink: 0;
    z-index: 1;
}

.en-line {
    width: 1px;
    flex: 1;
    background: #e5e7eb;
    margin-top: 6px;
    min-height: 24px;
}

/* ---- Card ---- */
.en-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 8px 0 8px 0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    min-width: 0;
}

.en-card:hover {
    border-color: var(--rt-primary, #1a3a6b);
    box-shadow: 0 4px 16px rgba(26, 58, 107, 0.08);
    background: #f8fafd;
}

/* ---- Date block ---- */
.en-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    flex-shrink: 0;
    text-align: center;
}

.en-day {
    font-size: 22px;
    font-weight: 700;
    color: var(--rt-primary, #1a3a6b);
    line-height: 1;
    display: block;
}

.en-month {
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
    display: block;
}

/* ---- Separator ---- */
.en-date-sep {
    width: 1px;
    height: 32px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* ---- Notice text ---- */
.en-content {
    flex: 1;
    min-width: 0;
    padding-left: 4px;
    border-left: 1px solid #e5e7eb;
}

.en-notice-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 5px;
    line-height: 1.45;
    transition: color 0.2s;
}

.en-card:hover .en-notice-title {
    color: var(--rt-primary, #1a3a6b);
}

.en-meta {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.en-meta i {
    font-size: 13px;
    vertical-align: -1px;
}

/* ---- Right: badge + arrow ---- */
.en-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.en-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.en-arrow {
    font-size: 16px;
    color: #d1d5db;
    transition: color 0.2s, transform 0.2s;
    display: flex;
}

.en-card:hover .en-arrow {
    color: var(--rt-primary, #1a3a6b);
    transform: translate(2px, -2px);
}

/* ---- Empty state ---- */
.en-empty {
    text-align: center;
    padding: 80px 0;
    color: #9ca3af;
}

.en-empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.en-empty p {
    font-size: 15px;
    margin: 0;
}

/* ---- Pagination ---- */
.en-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
    .en-page {
        padding: 40px 0 70px;
    }

    .en-container {
        padding: 0 20px;
    }

    .en-header {
        margin-bottom: 32px;
        padding-bottom: 20px;
    }

    .en-rail {
        width: 36px;
        padding-top: 18px;
    }

    .en-card {
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 12px;
    }

    .en-date {
        min-width: 36px;
    }

    .en-day {
        font-size: 18px;
    }

    .en-content {
        flex: 1;
        min-width: 140px;
    }

    .en-notice-title {
        font-size: 15px;
    }

    .en-right {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid #f3f4f6;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .en-container {
        padding: 0 16px;
    }

    .en-rail {
        width: 28px;
    }

    .en-title {
        font-size: 22px;
    }

    .en-meta {
        font-size: 11px;
    }
}