/**
 * Теплоэнергия: Быстрые уведомления — стили страницы уведомления и ленты [teplo_notifications_feed].
 */

.tqnot-article {
    font-family: 'Montserrat', system-ui, sans-serif;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #2B52B8;
    border-radius: 16px;
    padding: 24px 26px;
    color: #1F2937;
}

.tqnot-article.is-urgent {
    border-left-color: #D03434;
    background: #FEF2F2;
    border-color: #FECACA;
}

.tqnot-article-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tqnot-article-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #2B52B8;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tqnot-article.is-urgent .tqnot-article-icon {
    background: #D03434;
}

.tqnot-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.25);
}

.tqnot-badge.is-planned { background: #2B52B8; }
.tqnot-badge.is-urgent  { background: #D03434; }

.tqnot-article-body {
    font-size: 16px;
    line-height: 1.7;
    color: #1F2937;
}

.tqnot-article-body p {
    margin: 0 0 12px 0;
}

.tqnot-article-body p:last-child {
    margin-bottom: 0;
}

.tqnot-article-body ul,
.tqnot-article-body ol {
    margin: 0 0 14px 0;
    padding-left: 22px;
}

/* Шорткод [teplo_notifications_feed] — дизайн 1:1 с главной */
.tqnot-feed-wrap {
    font-family: 'Montserrat', system-ui, sans-serif;
    width: 100%;
}

.tqnot-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.tqnot-feed-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
}

.tqnot-feed-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #000;
    text-decoration: none;
}

.tqnot-feed-all:hover {
    color: #2B52B8;
}

.tqnot-feed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tqnot-feed-card {
    background: #FFFFFF;
    border-radius: 15px;
    border: 1px solid #EDEDED;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.tqnot-feed-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
}

.tqnot-feed-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #2B52B8;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tqnot-feed-content {
    min-width: 0;
}

.tqnot-feed-card-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    line-height: 1.4;
}

.tqnot-feed-card:hover .tqnot-feed-card-title {
    color: #2B52B8;
}

.tqnot-feed-excerpt {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #798188;
    line-height: 1.5;
}

.tqnot-feed-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    align-self: stretch;
}

.tqnot-feed-date {
    font-size: 12px;
    color: #9CA3AF;
    white-space: nowrap;
}

.tqnot-feed-empty {
    text-align: center;
    padding: 32px;
    background: #F9FAFB;
    border-radius: 16px;
    color: #6B7280;
}

@media (max-width: 767px) {
    .tqnot-feed-link {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    .tqnot-feed-side {
        flex-direction: row;
        align-items: center;
        align-self: flex-start;
    }
}
