body#npcagenda {
    --npc-fixed-header-height: 74px;
    overflow-x: hidden;
    color: #151515;
    background: #f7faf8;
}

#npcagenda #left_column,
#npcagenda #right_column {
    display: none !important;
}

#npcagenda #page,
#npcagenda #columns,
#npcagenda #center_column,
#npcagenda .container_9,
#npcagenda .grid_9,
#npcagenda .grid_5 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#npcagenda #center_column {
    float: none !important;
    padding: 0 !important;
}

#npcagenda #columns {
    padding-top: var(--npc-fixed-header-height, 74px) !important;
    overflow-x: hidden;
}

.npc-agenda-page {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 18px 96px;
    box-sizing: border-box;
    font-family: Roboto, Arial, sans-serif;
}

.npc-agenda-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(11, 98, 89, 0.94), rgba(11, 98, 89, 0.72)),
        url("../img/fond_homepage/homepage-8.jpg") center 70% / cover no-repeat;
    color: #fff;
    box-shadow: 0 16px 42px rgba(11, 98, 89, 0.18);
}

.npc-agenda-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffd9c7;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.npc-agenda-hero h1 {
    margin: 0 0 8px;
    color: #ef5c1a;
    font-size: 36px;
    line-height: 42px;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.npc-agenda-hero p {
    max-width: 650px;
    margin: 0;
    font-size: 17px;
    line-height: 25px;
}

.npc-agenda-place {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    text-align: right;
}

.npc-agenda-place span,
.npc-agenda-place strong {
    display: block;
}

.npc-agenda-place span {
    font-size: 13px;
    line-height: 18px;
}

.npc-agenda-place strong {
    font-size: 18px;
    line-height: 24px;
}

.npc-agenda-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.npc-agenda-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(11, 98, 89, 0.16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(30, 55, 49, 0.08);
}

.npc-agenda-card:before {
    content: "";
    position: absolute;
    top: 18px;
    left: 15px;
    width: 6px;
    height: calc(100% - 36px);
    border-radius: 999px;
    background: #0b6259;
}

.npc-agenda-card-live {
    border-color: rgba(239, 92, 26, 0.34);
}

.npc-agenda-card-live:before {
    background: #ef5c1a;
}

.npc-agenda-card-closed {
    background: #f7f7f7;
    border-color: rgba(70, 70, 70, 0.14);
}

.npc-agenda-card-closed:before {
    background: #a8a8a8;
}

.npc-agenda-date {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 76px;
    margin-left: 14px;
    border-radius: 8px;
    background: #fff7f2;
    color: #ef5c1a;
    box-shadow: inset 0 0 0 1px rgba(239, 92, 26, 0.18);
}

.npc-agenda-card-closed .npc-agenda-date {
    background: #fff;
    color: #777;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.npc-agenda-date span,
.npc-agenda-date em {
    font-style: normal;
    font-size: 12px;
    line-height: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.npc-agenda-date strong {
    font-size: 31px;
    line-height: 33px;
}

.npc-agenda-card-main {
    min-width: 0;
}

.npc-agenda-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.npc-agenda-card h2 {
    margin: 0;
    color: #0b6259;
    font-size: 20px;
    line-height: 25px;
}

.npc-agenda-card-closed h2 {
    color: #555;
}

.npc-agenda-card p {
    margin: 3px 0 0;
    color: #333;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

.npc-agenda-status {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.npc-agenda-status-open {
    background: rgba(11, 98, 89, 0.1);
    color: #0b6259;
}

.npc-agenda-status-closed {
    background: #e9e9e9;
    color: #666;
}

.npc-agenda-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.npc-agenda-mini span,
.npc-agenda-special {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 8px;
    background: #f2f6f5;
    color: #52615e;
    font-size: 13px;
    line-height: 17px;
}

.npc-agenda-mini .npc-agenda-mini-live,
.npc-agenda-special {
    background: #fff1e9;
    color: #d84c11;
    font-weight: 700;
}

.npc-agenda-special {
    margin-top: 8px;
}

.npc-agenda-select-link, .npc-agenda-select-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid #ef5c1a;
    border-radius: 8px;
    background: #ef5c1a;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(239, 92, 26, 0.2);
}

.npc-agenda-select-link:hover {
    background: #d84c11;
    border-color: #d84c11;
    color: #fff;
    text-decoration: none;
}

.npc-agenda-absents {
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    background: #fff7f2;
    border: 1px solid rgba(239, 92, 26, 0.18);
}

.npc-agenda-absents-clear {
    background: #f1f8f6;
    border-color: rgba(11, 98, 89, 0.16);
}

.npc-agenda-absents-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0b6259;
    font-size: 15px;
    line-height: 20px;
}

.npc-agenda-absents:not(.npc-agenda-absents-clear) .npc-agenda-absents-title {
    color: #cf4912;
}

.npc-agenda-absents-icon {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0b6259;
}

.npc-agenda-absents:not(.npc-agenda-absents-clear) .npc-agenda-absents-icon {
    background: #ef5c1a;
}

.npc-agenda-absents-icon:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.npc-agenda-absents:not(.npc-agenda-absents-clear) .npc-agenda-absents-icon:after {
    top: 4px;
    left: 8px;
    width: 2px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 0;
    transform: rotate(0);
}

.npc-agenda-suppliers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.npc-agenda-suppliers span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 17px;
    box-shadow: inset 0 0 0 1px rgba(239, 92, 26, 0.16);
}

.npc-agenda-empty {
    margin-top: 18px;
    padding: 26px;
    border: 1px solid rgba(11, 98, 89, 0.16);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.npc-agenda-empty strong {
    display: block;
    color: #0b6259;
    font-size: 24px;
    line-height: 30px;
}

.npc-agenda-empty p {
    margin: 8px 0 18px;
    color: #555;
    font-size: 16px;
    line-height: 23px;
}

.npc-agenda-empty a {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 8px;
    background: #ef5c1a;
    color: #fff;
    font-size: 15px;
    line-height: 19px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .npc-agenda-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    #npcagenda #columns {
        padding-top: 0 !important;
    }

    .npc-agenda-page {
        padding: 14px 12px 96px;
    }

    .npc-agenda-hero {
        display: block;
        padding: 10px 10px;
    }

    .npc-agenda-hero h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .npc-agenda-hero p {
        font-size: 15px;
        line-height: 22px;
        padding-bottom: 10px;

    }

    .npc-agenda-place {
        margin-top: 14px;
        text-align: left;
    }

    .npc-agenda-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .npc-agenda-card:before {
        left: 11px;
    }

    .npc-agenda-date {
        width: 50px;
        height: 68px;
        margin-left: 8px;
    }

    .npc-agenda-date strong {
        font-size: 27px;
        line-height: 30px;
    }

    .npc-agenda-card-top {
        display: block;
    }

    .npc-agenda-card h2 {
        font-size: 18px;
        line-height: 23px;
    }

    .npc-agenda-card p {
        font-size: 15px;
        line-height: 20px;
    }

    .npc-agenda-status {
        display: inline-block;
        margin-top: 8px;
    }

    .npc-agenda-mini {
        display: block;
    }

    .npc-agenda-mini span {
        margin: 0 6px 6px 0;
    }

    .npc-agenda-select-link {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }
}
