.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
}

.status-chip--warning {
    background: rgba(196, 140, 48, 0.18);
    color: #8a5a12;
}

/* Цвета чипа статуса работы — берутся из дизайн-макета (Frame 5001.png).
   На модерации / На доработке / Отклонено / Участник / Финалист / Победитель. */
.status-chip--pending {
    background: #D6E6F8;
    color: #2C5282;
}
.status-chip--revision {
    background: #E5D8F5;
    color: #5B3A99;
}
.status-chip--rejected {
    background: #FAD7DD;
    color: #B0354B;
}
.status-chip--participant {
    background: #F3E2C9;
    color: #7A4F1A;
}
.status-chip--finalist {
    background: #D7E9C5;
    color: #3F6126;
}
.status-chip--winner {
    background: #F5E7A8;
    color: #806118;
}
.status_notifications-wrap {
    display: flex;
    gap: 12px;
    margin: 30px 0 16px;
}
.status_notifications {
    background: #3D56321A;
    border-radius: 100px;
    padding: 5px 24px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: #3D5632;
}
/* .profile-pending-notice {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(196, 140, 48, 0.45);
    background: rgba(255, 238, 204, 0.65);
    box-shadow: 0 14px 26px rgba(34, 27, 18, 0.06);
} */

/* Красный вариант — для ошибок и блокирующих состояний (например, «нужен законный представитель»). */
.profile-pending-notice--danger {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #D94D4D;
}
.profile-pending-notice--link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.profile-pending-notice--link:hover {
    background: rgba(160, 79, 63, 0.18);
}

.profile-moderation-hint {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(67, 56, 41, 0.25);
    background: rgba(255, 248, 237, 0.96);
    color: var(--page-textPrimary);
    font-size: 14px;
    line-height: 1.5;
}

.tab-buttons {
    display: flex;
    gap: 6px;
}

.tab-buttons button {
    background: #3D56321A;
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #333333;
    transition: .8s;
    cursor: pointer;
}

.tab-buttons button:hover {
    background: #516A46;
    color: #FFF4E7;
}
.tab-buttons button:active {
    background: #29421E;
    color: #FFF4E7;
}
.tab-buttons button.active {
    background: #3D5632;
    color: #FFF4E7;
    cursor: inherit;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ── Tab dropdown (≤1279.98px, >767.98px) ─────────────────────────── */
.tab-dropdown {
    display: none;
    position: relative;
    margin-bottom: 12px;
}

.tab-dropdown__toggle {
    min-width: 363px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid #3D5632;
    border-radius: 8px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #333333;
    cursor: pointer;
    text-align: left;
}

.tab-dropdown__chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.tab-dropdown.is-open .tab-dropdown__chevron {
    transform: rotate(180deg);
}

.tab-dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px;
    border: 1px solid #3D5632;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: max-content;
}

.tab-dropdown__option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 16px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #333333;
    background: #ffffff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background .8s;
    margin-bottom: 8px;
}
.tab-dropdown__option:last-child {
    margin-bottom: 0px;
}

.tab-dropdown__option:hover:not(.active) {
    background: #3D56321A;
}

.tab-dropdown__option.active {
    background: #3D5632;
    color: #FFF4E7;
    cursor: default;
}

@media screen and (max-width: 1279.98px) {
    .tab-dropdown {
        display: block;
    }
    .tab-buttons {
        display: none;
    }
}

@media screen and (max-width: 767.98px) {
    .tab-dropdown {
        display: none;
    }
}

.collapsible-card {
    padding: 0;
    overflow: hidden;
}

.collapsible-card[open] {
    box-shadow: 0 20px 38px rgba(34, 27, 18, 0.1);
    overflow: visible;
}

.collapsible-card__summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: grid;
    gap: 12px;
}

.collapsible-card__summary::-webkit-details-marker {
    display: none;
}

.collapsible-card__summary::marker {
    display: none;
}

.collapsible-card[open] .collapsible-card__summary {
    border-bottom: 1px solid rgba(67, 56, 41, 0.08);
    background: rgba(244, 234, 217, 0.55);
}

.collapsible-card__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.collapsible-card__title {
    margin: 0;
    font-size: 22px;
}

.collapsible-card__badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.collapsible-card__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--page-textPrimary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.collapsible-card__hint::after {
    content: "▾";
    font-size: 14px;
    transition: transform 0.18s ease;
}

.collapsible-card[open] .collapsible-card__hint::after {
    transform: rotate(180deg);
}

.collapsible-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--page-textPrimary);
    font-size: 14px;
    line-height: 1.5;
}

.collapsible-card__meta strong {
    color: var(--page-ink);
}

.collapsible-card__content {
    padding: 24px;
}

.entry-card h3,
.content-card h3,
.map-card h3 {
    margin-top: 0;
}

.participant-list,
.attachment-list,
.notification-list,
.history-list,
.event-list,
.comment-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}
.notification-list {
    gap: 24px;
    padding: 24px;
}
.participant-row,
.attachment-item,
.notification-item,
.history-item,
.event-item,
.comment-item {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px;
}
.notification-item {
    padding: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #3D56321A;
    display: flex;
    gap: 12px;
}
.notification-item.opacity {
    opacity: 0.6;
}
.notification-item_left {
    display: flex;
    gap: 4px;
    align-items: flex-start;
}
.notification-item_status {
    background: #3D5632;
    border-radius: 50px;
    width: 5px;
    height: 5px;
}
.notification-item-right {
    width: 100%;
    display: grid;
    gap: 6px;
}
.notification-item_top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px; 
}
.notification-item_top h3 {
    font-family: 'Lora-Medium';
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}
.notification-item_top h4 {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #333333CC;
    padding: 4px 8px;
    border-radius: 68px;
}
.notification-item_top h4.yellow {
    background: #FFBD391A;
}
.notification-item_top h4.green {
    background: #47984F1A;
}
.notification-item_top h4.violet {
    background: #C783FE1A;
}
.notification-item_text {
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #333333CC;
}
.notification-item_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.notification-item_date {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #33333399;
}
.notification-item_bottom_link {
    display: flex;
    align-items: center;
    gap: 12px;
}
.notification-item_bottom_link a, .notification-item_bottom_link button {
    cursor: pointer;
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    padding: 4px 10px;
    border-radius: 8px;
    background: transparent;
    color: #3D5632;
    border: 1px solid #3D5632;

}
.notification-item_bottom_link a {
    background: #3D5632;
    color: #FFF4E7;
}
.mentor_block {
    margin-bottom: 18px;
}
.participant-row_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}
.participant-row_top button {
    cursor: pointer;
}
.participant-row_title {
    font-family: 'Lora-Bold';
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #9D653F;
}
.new_partisan_btn {
    color: #9D653F;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid #9D653F;
}
.new_partisan_btn:hover {
    background: transparent;
}
.diff-list,
.timeline-list,
.tag-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.diff-item,
.timeline-item {
    border-radius: 8px;
    background: #F5F3EF;
    padding: 16px;
}
.timeline_content {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.timeline_content span {
    width: 100%;
    background: #FFF4E7;
    border: 1px dashed #9D653F66;
    border-radius: 8px;
    padding: 11px 24px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
    justify-content: flex-start;
}
.diff-item small,
.timeline-item small {
    display: block;
    margin-bottom: 6px;
    font-family: 'GolosText-Regular';
    color: #333333;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-transform: uppercase;
}
.timeline-item small {
    font-family: 'Lora-SemiBold';
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #9D653F;
    margin-bottom: 12px;
}
.diff-item_text span {
    font-family: 'Lora-SemiBold';
    font-weight: 600;
}
.tag-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(70, 99, 63, 0.12);
    color: var(--green-dark);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.event-list__section {
    display: grid;
    gap: 12px;
}

.event-list__title {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9d7641;
}

.event-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
    color: var(--page-textPrimary);
    font-size: 14px;
}

.event-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(70, 99, 63, 0.12);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.meta-item small {
    display: block;
    color: #9D653F;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 6px;
}
.meta-item div, .entry-card .page-subtitle_comment {
    width: 100%;
    background: #FFF4E7;
    border: 1px dashed #9D653F66;
    border-radius: 8px;
    padding: 11px 24px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}
.hidden {
    display: none;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(19, 20, 18, 0.66);
    z-index: 80;
}

.modal-backdrop.active {
    display: flex;
}

.empty-state {
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 15px;
    line-height: 16px;
    color: #33333399;
    height: 324px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-page__layout {
    display: flex;
    gap: 120px;
    align-items: flex-start;
    width: 100%;
}
.news-page__main {
    width: 70%;
    max-width: 780px;
}
.news-page__sidebar {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-mini {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #3d563223;
}
.news-mini__title {
    font-family: 'Lora-SemiBold';
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    transition: .8s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-mini:hover .news-mini__title {
    color: #516A46;
}
.news-mini__date {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #333333CC;
}
.cardsHtml {
    border-radius: 8px;
    border: 1px solid #3D5632;
    margin: 24px 0;
}
@media screen and (max-width: 1279.98px) {
    .news-page__layout {
        gap: 60px;
    }
}
@media screen and (max-width: 1023.98px) {
    .news-page__layout {
        gap: 80px;
        flex-direction: column;
    }
    .news-page__main, .news-page__sidebar {
        width: 100%;
    }
}
@media screen and (max-width: 767.98px) {
    .notification-list {
        padding: 0;
    }

}
