.unified-agenda {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f1f0e8 0%, #f8faf7 68%, #edf5f1 100%);
}
.unified-agenda::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    inset-inline-end: -210px;
    top: -210px;
    background: rgba(199, 223, 63, .14);
}
.agenda-heading, .agenda-shell { position: relative; z-index: 1; }
.agenda-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(10, 47, 98, .12);
}
.agenda-feature { padding: 22px; background: linear-gradient(115deg, #f7faf8, #edf5f1); }
.agenda-feature .next-event {
    min-height: 330px;
    border-radius: 17px;
    padding: 34px 42px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #092c5c 0%, #07526a 54%, #00704f 100%);
}
.agenda-feature .next-event::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    inset-inline-end: -80px;
    top: -150px;
    box-shadow: 0 0 0 46px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.025);
}
.agenda-feature .status, .agenda-feature .big-date, .agenda-feature h3,
.agenda-feature p, .agenda-feature .countdown { position: relative; z-index: 1; }
.agenda-feature .big-date {
    position: absolute;
    inset-inline-end: 42px;
    top: 54px;
    width: 270px;
    border: 0;
    padding: 0;
    margin: 0;
}
.agenda-feature .big-date > strong { font-size: 118px; line-height: .9; font-weight: 900; }
.agenda-feature .big-date b { font-size: 25px; line-height: 1.35; font-weight: 900; }
.agenda-feature .big-date small { font-size: 14px; margin-top: 4px; font-weight: 700; }
.agenda-feature h3 { max-width: 650px; margin-top: 34px; font-size: clamp(24px, 3vw, 36px); }
.agenda-feature p { max-width: 650px; font-size: 11px; }
.agenda-feature .countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(72px, 100px));
    margin-top: 30px;
}
.agenda-feature .countdown span {
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(5px);
}
.agenda-columns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.agenda-panel { min-width: 0; padding: 28px 30px 22px; }
.agenda-panel + .agenda-panel { border-inline-start: 1px solid var(--line); }
.agenda-panel > header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--ink);
}
.agenda-panel > header > span {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--green);
    font-weight: 900;
}
.agenda-panel > header small { display: block; color: var(--green); font-size: 8px; font-weight: 800; }
.agenda-panel > header h3 { font-size: 20px; margin: 0; }
.agenda-panel .timeline { padding: 5px 0; }
.agenda-panel .timeline article { padding: 15px 0; }
.agenda-panel .timeline time { border-radius: 9px; background: #f8faf7; }
.agenda-panel .calendar-placeholder { grid-template-columns: 1fr !important; min-height: 104px; align-items: center; }
.events-panel > header { border-bottom-color: var(--green); }
.events-panel > header > span { background: #eaf5f1; }
.empty-event { display: flex; flex-direction: column; justify-content: center; }
.empty-event h3 { margin-top: 30px; }

@media (min-width: 851px) {
    .agenda-feature .countdown > span:nth-child(1) { order: 4; }
    .agenda-feature .countdown > span:nth-child(2) { order: 3; }
    .agenda-feature .countdown > span:nth-child(3) { order: 2; }
    .agenda-feature .countdown > span:nth-child(4) { order: 1; }
}
@media (max-width: 850px) {
    .agenda-feature .next-event { min-height: 390px; }
    .agenda-feature .big-date { position: static; width: auto; padding: 20px 0 15px; border-bottom: 1px solid #ffffff30; }
    .agenda-feature h3 { margin-top: 18px; }
    .agenda-columns { grid-template-columns: 1fr; }
    .agenda-panel + .agenda-panel { border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
    .agenda-feature { padding: 10px; }
    .agenda-feature .next-event { padding: 25px 20px; }
    .agenda-feature .countdown { grid-template-columns: repeat(2, 1fr); }
    .agenda-panel { padding: 24px 18px; }
    .agenda-feature .big-date > strong { font-size: 62px; }
    .agenda-feature .big-date b { font-size: 19px; }
    .agenda-feature .big-date small { font-size: 11px; }
}
