.kg-notifications-page {
    width: min(1080px, calc(100% - 36px));
    margin: 52px auto 84px;
    color: #26352f;
}

.kg-notifications-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.kg-notifications-eyebrow {
    margin: 0 0 8px;
    color: #97764b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.kg-notifications-heading h1 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(38px, 6vw, 56px);
    font-weight: 600;
    line-height: 1;
}

.kg-notifications-heading p:not(.kg-notifications-eyebrow) {
    max-width: 620px;
    margin: 12px 0 0;
    color: #66716b;
    line-height: 1.6;
}

.kg-notifications-mark-all,
.kg-notification-action button {
    border: 1px solid #b59a73;
    border-radius: 999px;
    background: transparent;
    color: #775c38;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
}

.kg-notifications-mark-all:hover,
.kg-notification-action button:hover {
    background: #f5f0e8;
}

.kg-notifications-flash {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #edf5ef;
    color: #27563d;
}

.kg-notifications-flash.is-error {
    background: #fff0ed;
    color: #8a3023;
}

.kg-notifications-list {
    overflow: hidden;
    border: 1px solid #e9e5dc;
    border-radius: 16px;
    background: #fff;
}

.kg-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 24px;
    border-bottom: 1px solid #efede7;
}

.kg-notification-item:last-child {
    border-bottom: 0;
}

.kg-notification-item.is-unread {
    background: #fbf9f5;
    box-shadow: inset 3px 0 #b39366;
}

.kg-notification-copy {
    min-width: 0;
}

.kg-notification-meta,
.kg-admin-notification-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.kg-notification-type {
    color: #715631;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.kg-notification-meta time,
.kg-admin-notification-meta time {
    color: #8a928d;
    font-size: 12px;
}

.kg-notification-copy p,
.kg-admin-notification p {
    margin: 8px 0 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.kg-notification-read,
.kg-admin-read {
    color: #8a928d;
    font-size: 12px;
}

.kg-notification-empty {
    display: grid;
    min-height: 210px;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 28px;
    color: #66716b;
    text-align: center;
}

.kg-notification-empty strong {
    color: #26352f;
    font-size: 18px;
}

.kg-admin-notifications {
    max-width: 1120px;
    margin: 24px auto 64px;
}

.kg-admin-notification-list {
    display: grid;
    gap: 12px;
}

.kg-admin-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid #e8e2d8;
    border-radius: 12px;
    background: #fff;
}

.kg-admin-notification.is-unread {
    border-left: 4px solid #b39366;
    background: #fbf9f5;
}

.kg-admin-notification-link {
    margin-top: 20px;
}

.kg-notification-badge {
    display: inline-flex;
    min-width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 99px;
    background: #9f4b36;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

@media (max-width: 680px) {
    .kg-notifications-page {
        width: min(100% - 24px, 1080px);
        margin-top: 30px;
    }
    .kg-notifications-heading,
    .kg-notification-item,
    .kg-admin-notification {
        align-items: flex-start;
        flex-direction: column;
    }
    .kg-notification-item {
        gap: 14px;
        padding: 18px 16px;
    }
}
