/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #070b12;
    color: #ffffff;
    min-height: 100vh;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 76px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #070b12;
    border-bottom: 1px solid rgba(88, 176, 255, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: #ffffff;
}

.brand-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;

    border-radius: 50%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(30, 160, 255, 0.6);
    background: #0b1b35;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name span:first-child {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.brand-name span:last-child {
    margin-top: 3px;
    color: #7f8a99;
    font-size: 8px;
    letter-spacing: 0.15em;
}

.page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    color: #7f8a99;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.admin-link {
    color: #58b0ff;
    text-decoration: none;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;

    transition: color 0.2s ease;
}

.admin-link:hover {
    color: #ffffff;
}


/* =========================
   MAIN
========================= */

.announcements {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    padding: 70px 5vw 80px;
}

.announcement-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 40px;
}

.section-label {
    margin-bottom: 12px;

    color: #58b0ff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.announcement-header h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.announcement-header p {
    margin-top: 12px;

    max-width: 550px;

    color: #7f8a99;
    font-size: 12px;
    line-height: 1.7;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #7f8a99;
    font-size: 9px;
    letter-spacing: 0.15em;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #58b0ff;

    box-shadow: 0 0 10px rgba(88, 176, 255, 0.8);
}


/* =========================
   TWO COLUMN DASHBOARD
========================= */

.announcement-dashboard {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 14px;

    align-items: stretch;

    height: 620px;
}


/* =========================
   LEFT PANEL
========================= */

.meeting-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;

    height: 100%;
}

.info-block {
    flex: 1;

    padding: 25px;

    border: 1px solid rgba(88, 176, 255, 0.15);

    background:
        linear-gradient(
            145deg,
            rgba(18, 48, 82, 0.30),
            rgba(7, 16, 29, 0.65)
        );
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #58b0ff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.info-block h2 {
    margin-top: 18px;

    font-size: 20px;
    font-weight: 500;
}

.info-block h3 {
    margin-top: 16px;

    font-size: 14px;
    font-weight: 500;
}

.info-block p {
    margin-top: 10px;

    color: #7f8a99;
    font-size: 10px;
    line-height: 1.7;
}


/* =========================
   BUTTONS
========================= */

.action-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 20px;
    padding: 11px 14px;

    text-decoration: none;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.12em;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.action-button {
    color: #07101d;

    background: #58b0ff;
    border: 1px solid #58b0ff;
}

.action-button:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.secondary-button {
    color: #58b0ff;

    border: 1px solid rgba(88, 176, 255, 0.3);
    background: rgba(88, 176, 255, 0.04);
}

.secondary-button:hover {
    border-color: #58b0ff;
    background: rgba(88, 176, 255, 0.1);
    transform: translateY(-2px);
}


/* =========================
   SCHEDULE
========================= */

.schedule-item {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 18px;
    padding-top: 14px;

    border-top: 1px solid rgba(88, 176, 255, 0.09);
}

.schedule-date {
    min-width: 40px;

    padding: 8px 5px;

    text-align: center;

    color: #58b0ff;

    border: 1px solid rgba(88, 176, 255, 0.2);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.schedule-item strong {
    display: block;

    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
}

.schedule-item small {
    display: block;

    margin-top: 5px;

    color: #667281;
    font-size: 8px;
}


/* =========================
   ANNOUNCEMENT FEED
========================= */

.announcement-feed {
    height: 100%;
    min-height: 0;
    max-height: none;

    overflow-y: auto;

    border: 1px solid rgba(88, 176, 255, 0.15);

    background:
        linear-gradient(
            145deg,
            rgba(18, 48, 82, 0.18),
            rgba(7, 16, 29, 0.7)
        );
}

.feed-header {
    position: sticky;
    top: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 24px;

    background: rgba(7, 11, 18, 0.94);
    backdrop-filter: blur(8px);

    border-bottom: 1px solid rgba(88, 176, 255, 0.12);
}

.announcement-count {
    color: #58b0ff;

    font-size: 9px;
    letter-spacing: 0.1em;
}


/* =========================
   ANNOUNCEMENT CARDS
========================= */

.announcement-card {
    position: relative;

    padding: 27px 28px;

    border-bottom: 1px solid rgba(88, 176, 255, 0.1);

    transition:
        background 0.25s ease,
        padding-left 0.25s ease;
}

.announcement-card::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: #58b0ff;

    transition: height 0.25s ease;
}

.announcement-card:hover {
    padding-left: 34px;

    background:
        linear-gradient(
            90deg,
            rgba(88, 176, 255, 0.07),
            transparent
        );
}

.announcement-card:hover::before {
    height: 100%;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #596675;

    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.announcement-meta span:last-child {
    color: #58b0ff;
}

.announcement-card h2 {
    margin-top: 13px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 500;
}

.announcement-card p {
    max-width: 700px;

    margin-top: 8px;

    color: #7f8a99;

    font-size: 10px;
    line-height: 1.7;
}


/* =========================
   SCROLLBAR
========================= */

.announcement-feed::-webkit-scrollbar {
    width: 5px;
}

.announcement-feed::-webkit-scrollbar-track {
    background: #070b12;
}

.announcement-feed::-webkit-scrollbar-thumb {
    background: rgba(88, 176, 255, 0.25);
}

.announcement-feed::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 176, 255, 0.5);
}


/* =========================
   FOOTER
========================= */

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 5vw;

    border-top: 1px solid rgba(88, 176, 255, 0.1);

    color: #46515f;

    font-size: 8px;
    letter-spacing: 0.12em;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .announcement-dashboard {
        grid-template-columns: 1fr;
        height: auto;
    }

    .meeting-panel {
        height: auto;
    }

    .info-block {
        flex: none;
    }

    .announcement-feed {
        height: 620px;
    }

}

@media (max-width: 650px) {

    .navbar {
        height: 68px;
        padding: 0 20px;
    }

    .brand-name {
        display: none;
    }

    .page-title {
        position: static;
        transform: none;

        margin-left: auto;
        margin-right: 20px;
    }

    .announcements {
        padding: 45px 20px 60px;
    }

    .announcement-header {
        align-items: flex-start;
        gap: 20px;
    }

    .announcement-header h1 {
        font-size: 34px;
    }

    .live-status {
        display: none;
    }

    .announcement-feed {
        height: 500px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

}