/*
 * Grade de notícias por categorias — editorial com quatro colunas.
 * Foto acima, categoria colorida, título com fonte jornalística,
 * autor, data e resumo, conforme referência do portal.
 */
.eeep-category-news {
    padding: 9px 0 62px;
    background: #fff;
}
.eeep-category-news__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}
.eeep-category-news__eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .075em;
    text-transform: uppercase;
    color: #05774c;
    margin-bottom: 7px;
}
.eeep-category-news__heading h2 {
    margin: 0;
    color: #1b2e33;
    font-size: clamp(1.65rem, 2.25vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -.025em;
}
.eeep-category-news__heading p {
    margin: 0;
    color: #617077;
    font-size: .98rem;
    max-width: 420px;
    text-align: right;
}
.eeep-category-news__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(16px, 1.65vw, 28px);
    row-gap: 32px;
    align-items: start;
}
.eeep-category-news__card { min-width: 0; }
.eeep-category-news__photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dceae5;
    border-radius: 6px;
    text-decoration: none;
}
.eeep-category-news__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 300ms ease;
}
.eeep-category-news__photo:hover img { transform: scale(1.04); }
.eeep-category-news__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(145deg, #095740, #0c8972);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
}
.eeep-category-news__image-placeholder span + span {
    font-size: .95rem;
    font-weight: 550;
}
.eeep-category-news__body {
    padding: 15px 0 0;
}
.eeep-category-news__category {
    display: inline-block;
    margin: 0 0 8px;
    font-size: .78rem;
    line-height: 1.2;
    font-family: inherit;
    font-weight: 850;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .015em;
    color: #bd1670;
}
.eeep-category-news__card--2 .eeep-category-news__category { color: #07875e; }
.eeep-category-news__card--3 .eeep-category-news__category { color: #856900; }
.eeep-category-news__card--4 .eeep-category-news__category { color: #087ba8; }
.eeep-category-news__category:hover { text-decoration: underline; }
.eeep-category-news__title {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 760;
    font-size: clamp(1.28rem, 1.62vw, 1.7rem);
    line-height: 1.15;
    letter-spacing: -.027em;
    color: #1d283d;
    overflow-wrap: anywhere;
}
.eeep-category-news__title a {
    color: inherit;
    text-decoration: none;
}
.eeep-category-news__title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.eeep-category-news__byline {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    color: #526079;
    font-size: .83rem;
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 11px;
}
.eeep-category-news__excerpt {
    margin: 0;
    padding-left: 15px;
    position: relative;
    color: #394453;
    font-size: .93rem;
    line-height: 1.48;
}
.eeep-category-news__excerpt::before {
    content: "•";
    position: absolute;
    top: 0;
    left: 0;
    color: #3b4b58;
}
.eeep-category-news__empty {
    padding: 22px;
    border: 1px solid #d8e6e0;
    background: #f5faf7;
    border-radius: 12px;
    color: #385c49;
}
@media (max-width: 1150px) {
    .eeep-category-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eeep-category-news__title { font-size: clamp(1.35rem, 2.8vw, 1.8rem); }
}
@media (max-width: 650px) {
    .eeep-category-news { padding: 6px 0 36px; }
    .eeep-category-news__heading { display: block; margin-bottom: 20px; }
    .eeep-category-news__heading p { text-align: left; margin-top: 8px; }
    .eeep-category-news__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .eeep-category-news__photo { aspect-ratio: 16 / 10; }
    .eeep-category-news__title { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) {
    .eeep-category-news__photo img { transition: none; }
}
body.alto-contraste .eeep-category-news,
body.alto-contraste .eeep-category-news__empty {
    background: #000 !important;
    color: #fff !important;
    border-color: #ff0 !important;
}
body.alto-contraste .eeep-category-news__heading h2,
body.alto-contraste .eeep-category-news__title,
body.alto-contraste .eeep-category-news__byline,
body.alto-contraste .eeep-category-news__excerpt,
body.alto-contraste .eeep-category-news__heading p {
    color: #fff !important;
}
body.alto-contraste .eeep-category-news__category,
body.alto-contraste .eeep-category-news__eyebrow {
    color: #ff0 !important;
}
