.af-last-news {
    --af-last-news-blue: #14326e;
    --af-last-news-blue-soft: #47639a;
    --af-last-news-blue-light: #96afd7;
    --af-last-news-graphite: #262523;
    --af-last-news-gray: #515151;
    --af-last-news-light-gray: #909091;
    --af-last-news-bg: #fefefe;
    position: relative;
    width: 100%;
    background: var(--af-last-news-bg);
    border: 1px solid rgba(144, 144, 145, .28);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(38, 37, 35, .06);
}

.af-last-news__header {
    min-height: 72px;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(20, 50, 110, .14);
    background: #fefefe;
}

.af-last-news__header-icon {
    width: 72px;
    min-width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--af-last-news-blue);
    color: #fefefe;
    font-size: 28px;
}

.af-last-news__header-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 14px 16px;
}

.af-last-news__title {
    margin: 0;
    color: var(--af-last-news-blue);
    font-size: 21px;
    line-height: 1.08;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.af-last-news__list {
    padding: 8px 16px 12px;
}

.af-last-news__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(144, 144, 145, .22);
}

.af-last-news__item:last-child {
    border-bottom: 0;
}

.af-last-news__item-accent {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(150, 175, 215, .16);
    color: var(--af-last-news-blue);
    text-decoration: none;
    font-size: 15px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.af-last-news__item:hover .af-last-news__item-accent,
.af-last-news__item-accent:focus {
    background: rgba(20, 50, 110, .12);
    color: var(--af-last-news-blue);
    transform: translateX(2px);
}

.af-last-news__item-content {
    min-width: 0;
}

.af-last-news__item-title {
    margin: 0 0 7px;
    font-size: 15px;
    line-height: 1.22;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0;
}

.af-last-news__item-title a {
    color: var(--af-last-news-blue);
    text-decoration: none;
}

.af-last-news__item-title a:hover,
.af-last-news__item-title a:focus {
    color: var(--af-last-news-blue-soft);
}

.af-last-news__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--af-last-news-light-gray);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
}

.af-last-news__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.af-last-news__meta-item i {
    color: var(--af-last-news-blue-soft);
    font-size: 12px;
}

.af-last-news__meta-separator {
    color: var(--af-last-news-light-gray);
}

@media (max-width: 1199px) {
    .af-last-news__header {
        min-height: 64px;
    }

    .af-last-news__header-icon {
        width: 64px;
        min-width: 64px;
        font-size: 24px;
    }

    .af-last-news__title {
        font-size: 19px;
    }

    .af-last-news__item-title {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .af-last-news {
        border-radius: 14px;
    }

    .af-last-news__header {
        min-height: 58px;
    }

    .af-last-news__header-icon {
        width: 58px;
        min-width: 58px;
        font-size: 22px;
    }

    .af-last-news__header-main {
        padding: 12px 14px;
    }

    .af-last-news__title {
        font-size: 18px;
    }

    .af-last-news__list {
        padding: 6px 14px 10px;
    }

    .af-last-news__item {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }

    .af-last-news__item-accent {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .af-last-news__item-title {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .af-last-news__meta {
        font-size: 11px;
    }
}
