/* ============================================================
   Z-ARC STUDIO — ANNOUNCEMENTS FEED
   Quiet cards that inherit the workbench tokens from studio.css.
   ============================================================ */

.announcements-page .eyebrow {
    color: #aebfca;
}

/* Compact video ad slot in place of the old Latest notes toolbar. */
.announcements-ad {
    display: block;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(20, 21, 28, 0.8), rgba(9, 9, 13, 0.9));
}

.announcements-ad .ad-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #aebfca;
}

.announcements-ad .ad-reserve {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(84px, 10vw, 108px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    background: rgba(174, 191, 202, 0.035);
}

.announcements-ad .ad-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(174, 191, 202, 0.42);
    pointer-events: none;
}

.announcements-ad .ad-reserve ins {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.announcements-feed {
    display: grid;
    gap: 12px;
}

/* Canonical announcement box. Every future update uses this shell:
   heading, details, then a bottom row of capsule tags with the date
   aligned to the right. No card-level overrides. */
.announcement-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(20, 21, 28, 0.8), rgba(9, 9, 13, 0.9));
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.announcement-card:hover {
    border-color: rgba(174, 191, 202, 0.3);
    background: linear-gradient(160deg, rgba(26, 34, 39, 0.86), rgba(11, 14, 18, 0.92));
}

.announcement-heading {
    margin: 0;
    font-size: 1.16rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #fff;
}

.announcement-details {
    margin: 0;
    max-width: 68ch;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-dim);
}

.announcement-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: 4px;
}

.announcement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.announcement-tags span {
    padding: 5px 11px;
    border: 1px solid rgba(174, 191, 202, 0.22);
    border-radius: 999px;
    background: rgba(174, 191, 202, 0.06);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    color: #c8d7df;
}

.announcement-date {
    margin-left: auto;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-faint);
}

.announcement-note {
    padding: 16px 18px;
    border: 1px solid var(--divider);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .announcement-card {
        gap: 10px;
        padding: 18px;
    }

    .announcements-ad {
        padding: 10px 12px;
    }
}
