.news-page { background: #fff; }
.news-index-hero { padding: 98px 0 62px; color: #fff; background-color: #0648ae; background-image: linear-gradient(rgba(4, 65, 170, .89), rgba(4, 65, 170, .89)), url("../png/pontos.png"); background-repeat: no-repeat, repeat; }
.news-index-hero span, .news-article-heading > span, .news-feed-heading span, .related-news > header span { color: var(--yellow); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.news-index-hero h1 { margin: 7px 0 0; font-size: 46px; font-weight: 600; }
.news-index-hero p { max-width: 600px; margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }

.news-categories { border-bottom: 1px solid #e4e9f1; background: #fff; }
.news-categories .container { display: flex; gap: 3px; overflow-x: auto; padding-block: 14px; scrollbar-width: thin; }
.news-categories a { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 7px; min-height: 36px; padding: 0 13px; border-radius: 4px; color: #53617a; font-size: 11px; font-weight: 600; }
.news-categories a:hover, .news-categories a.is-active { color: var(--blue-deep); background: var(--yellow); }
.news-categories small { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: rgba(3, 47, 104, .09); font-size: 9px; }

.news-featured-section { padding: 52px 0 62px; background: #f5f7fb; }
.news-featured-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; align-items: start; gap: 16px; }
.news-featured-card { position: relative; grid-column: span 3; overflow: hidden; border-radius: 6px; color: #fff; background: var(--blue-deep); }
.news-featured-card-1 { grid-column: span 6; grid-row: auto; aspect-ratio: 1.54; }
.news-featured-card-2, .news-featured-card-3 { grid-column: span 3; grid-row: auto; }
.news-featured-card-4, .news-featured-card-5, .news-featured-card-6 { grid-column: span 4; height: 210px; }
.news-featured-media, .news-featured-media img { width: 100%; height: 100%; }
.news-featured-media { background: #0a4c91; }
.news-featured-media img { object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.news-featured-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 17, 41, .03) 15%, rgba(2, 17, 41, .88) 100%); }
.news-featured-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 20px; }
.news-featured-copy span, .news-feed-card span, .related-news-grid span { color: var(--yellow); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.news-featured-copy h2 { margin: 7px 0 0; font-size: 19px; font-weight: 600; line-height: 1.24; }
.news-featured-card-1 .news-featured-copy { padding: 28px; }
.news-featured-card-1 .news-featured-copy h2 { max-width: 640px; font-size: 30px; }
.news-featured-copy p { max-width: 620px; margin: 10px 0 0; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.5; }
.news-featured-copy time { display: block; margin-top: 10px; color: rgba(255,255,255,.58); font-size: 9px; }
.news-featured-card:hover .news-featured-media img { transform: scale(1.035); }

.news-featured-card-2,
.news-featured-card-3 {
    display: grid;
    grid-template-rows: auto auto;
    align-self: start;
    color: var(--blue-deep);
    background: #fff;
    box-shadow: 0 12px 28px rgba(4, 36, 80, .09);
}
.news-featured-card-2::after,
.news-featured-card-3::after { display: none; }
.news-featured-card-2 .news-featured-media,
.news-featured-card-3 .news-featured-media { height: auto; min-height: 0; aspect-ratio: 1.36; }
.news-featured-card-2 .news-featured-media img,
.news-featured-card-3 .news-featured-media img { object-position: center top; }
.news-featured-card-2 .news-featured-copy,
.news-featured-card-3 .news-featured-copy {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    min-height: 142px;
    background: #fff;
}
.news-featured-card-2 .news-featured-copy span,
.news-featured-card-3 .news-featured-copy span { color: #ed276a; }
.news-featured-card-2 .news-featured-copy h2,
.news-featured-card-3 .news-featured-copy h2 { color: var(--blue-deep); font-size: 18px; line-height: 1.28; }
.news-featured-card-2 .news-featured-copy time,
.news-featured-card-3 .news-featured-copy time { display: none; }

.news-feed-section { padding: 68px 0 100px; }
.news-feed-heading { margin-bottom: 26px; }
.news-feed-heading span { color: var(--orange); }
.news-feed-heading h2, .related-news > header h2 { margin: 5px 0 0; color: var(--blue-deep); font-size: 28px; font-weight: 600; }
.news-feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.news-feed-card { display: grid; grid-template-rows: 190px auto; color: inherit; }
.news-feed-media { overflow: hidden; border-radius: 6px; background: #e6edf6; }
.news-feed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s ease; }
.news-feed-card > div:last-child { padding: 16px 1px 0; }
.news-feed-card span { color: var(--orange); }
.news-feed-card h3 { margin: 7px 0 0; color: var(--blue-deep); font-size: 18px; font-weight: 600; line-height: 1.3; }
.news-feed-card p { margin: 9px 0 0; color: #68758a; font-size: 12px; line-height: 1.55; }
.news-feed-card time { display: block; margin-top: 11px; color: #98a1b0; font-size: 9px; }
.news-feed-card:hover img { transform: scale(1.035); }
.news-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 50px; }
.news-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1px solid #d8e1ed; border-radius: 5px; color: var(--blue-deep); background: #fff; font-size: 11px; font-weight: 700; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.news-pagination a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }
.news-pagination a.is-active { border-color: var(--yellow); color: var(--blue-deep); background: var(--yellow); }
.news-pagination-direction { min-width: 82px !important; }
.news-pagination-gap { padding-inline: 3px; color: #8290a5; font-size: 12px; }
.news-no-results { padding: 50px; text-align: center; }
.news-no-results h2 { color: var(--blue-deep); font-size: 24px; }
.news-no-results a { color: var(--orange); font-size: 12px; font-weight: 700; }

.news-article-hero { padding: 92px 0 70px; color: #fff; background: #06346c; }
.news-article-heading { max-width: 940px; }
.news-article-heading > a { display: inline-block; margin-bottom: 20px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 600; }
.news-article-heading h1 { margin: 10px 0 0; font-size: clamp(36px, 4.5vw, 52px); font-weight: 600; line-height: 1.08; }
.news-article-heading > p { max-width: 820px; margin: 18px 0 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.55; }
.news-article-meta { display: flex; gap: 20px; margin-top: 24px; color: rgba(255,255,255,.58); font-size: 11px; }
.news-article-cover { margin-top: -36px; }
.news-article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 6px; }
.news-article-cover figcaption { margin-top: 10px; color: #6b788d; font-size: 12px; line-height: 1.5; }
.news-article-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(240px, 300px); justify-content: space-between; gap: 60px; padding-block: 62px 72px; }
.news-article-content { color: #35445c; font-size: 16px; line-height: 1.82; }
.news-article-content > :first-child { margin-top: 0; }
.news-article-content h2, .news-article-content h3 { color: var(--blue-deep); font-weight: 600; }
.news-article-content img, .news-article-content video, .news-article-content iframe { max-width: 100%; }
.news-article-content .video-embed { position: relative; padding-top: 56.25%; }
.news-article-content .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-article-layout .sidebar-gallery { top: 112px; }

.related-news { padding-bottom: 100px; }
.related-news > header { margin-bottom: 24px; }
.related-news > header span,
.related-news-grid span { color: var(--orange); }
.related-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.related-news-grid a { color: inherit; }
.related-news-grid a > div { height: 140px; margin-bottom: 14px; overflow: hidden; border-radius: 5px; background: #e7edf5; }
.related-news-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.related-news-grid h3 { margin: 7px 0 0; color: var(--blue-deep); font-size: 15px; font-weight: 600; line-height: 1.32; }
.related-news-grid a:hover img { transform: scale(1.04); }

.news-empty { padding: 120px 0; text-align: center; }
.news-empty span { color: var(--orange); font-size: 14px; font-weight: 700; }
.news-empty h1 { margin: 8px 0 0; color: var(--blue-deep); font-size: 42px; }
.news-empty p { color: #657189; }
.news-empty a { display: inline-flex; margin-top: 10px; padding: 11px 14px; border-radius: 5px; color: #fff; background: #0b8b4c; font-size: 11px; font-weight: 700; }

@media (max-width: 1050px) {
    .news-featured-grid { grid-auto-rows: 190px; }
    .news-featured-card-1 { grid-column: span 7; grid-row: span 2; aspect-ratio: auto; }
    .news-featured-card-2, .news-featured-card-3 { grid-column: span 5; grid-row: span 1; }
    .news-featured-card-2, .news-featured-card-3 { grid-template-rows: minmax(0, 52%) minmax(0, 48%); align-self: stretch; }
    .news-featured-card-2 .news-featured-media, .news-featured-card-3 .news-featured-media { height: 100%; aspect-ratio: auto; }
    .news-featured-card-2 .news-featured-copy, .news-featured-card-3 .news-featured-copy { padding: 11px 13px; }
    .news-featured-card-2 .news-featured-copy, .news-featured-card-3 .news-featured-copy { min-height: 0; }
    .news-featured-card-2 .news-featured-copy h2, .news-featured-card-3 .news-featured-copy h2 { margin-top: 4px; font-size: 14px; line-height: 1.2; }
    .news-featured-card-4, .news-featured-card-5, .news-featured-card-6 { grid-column: span 4; height: auto; }
    .news-article-layout { gap: 38px; }
}
@media (max-width: 820px) {
    .news-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
    .news-featured-card, .news-featured-card-1, .news-featured-card-2, .news-featured-card-3, .news-featured-card-4, .news-featured-card-5, .news-featured-card-6 { grid-column: span 1; grid-row: span 1; }
    .news-featured-card-1 { grid-column: 1 / -1; min-height: 330px; aspect-ratio: auto; }
    .news-featured-card-2, .news-featured-card-3 { grid-template-rows: minmax(0, 57%) minmax(0, 43%); }
    .news-featured-card-2 .news-featured-copy, .news-featured-card-3 .news-featured-copy { padding: 13px 15px; }
    .news-featured-card-2 .news-featured-copy h2, .news-featured-card-3 .news-featured-copy h2 { font-size: 16px; line-height: 1.24; }
    .news-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-article-layout { grid-template-columns: 1fr; }
    .news-article-layout .sidebar-gallery { position: relative; top: auto; width: min(380px, 100%); }
    .related-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .news-index-hero { padding: 46px 0 50px; }
    .news-index-hero .container { text-align: center; }
    .news-index-hero h1 { font-size: 36px; }
    .news-index-hero p { margin-inline: auto; }
    .news-categories a { min-height: 44px; }
    .news-featured-section { padding: 34px 0 46px; }
    .news-featured-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 20px; }
    .news-featured-card-1 { grid-column: auto; min-height: 360px; }
    .news-featured-card-1 .news-featured-media { position: absolute; inset: 0; height: 100%; }
    .news-featured-card-1 .news-featured-media img { display: block; height: 100%; }
    .news-featured-card-1 .news-featured-copy { padding: 20px; }
    .news-featured-card-1 .news-featured-copy h2 { font-size: 23px; }
    .news-featured-card-2, .news-featured-card-3 { grid-template-rows: 150px auto; }
    .news-featured-card-4, .news-featured-card-5, .news-featured-card-6 { min-height: 220px; }
    .news-feed-section { padding: 50px 0 76px; }
    .news-feed-heading { text-align: center; }
    .news-feed-grid, .related-news-grid { grid-template-columns: 1fr; }
    .news-feed-card { grid-template-rows: 205px auto; }
    .news-pagination { gap: 6px; margin-top: 38px; }
    .news-pagination a { min-width: 40px; min-height: 40px; padding-inline: 10px; }
    .news-pagination-direction { min-width: 76px !important; }
    .news-article-hero { padding: 46px 0 56px; }
    .news-article-heading h1 { font-size: 34px; }
    .news-article-heading > p { font-size: 15px; }
    .news-article-meta { flex-direction: column; gap: 5px; }
    .news-article-layout { padding-block: 42px 60px; }
    .news-article-content { font-size: 15px; }
    .related-news { padding-bottom: 76px; }
    .related-news-grid a { display: grid; grid-template-columns: 112px 1fr; gap: 13px; align-items: start; }
    .related-news-grid a > div { grid-row: span 2; height: 84px; margin: 0; }
}
