/* ==========================================================================
   Portal Projac – Estilos Globais
   ========================================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ==========================================================================
   1. Barra Superior
   ========================================================================== */
.top-bar {
  background: #222;
  height: 32px;
  display: flex;
  align-items: center;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__link {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease;
}

.top-bar__link:hover {
  opacity: 0.75;
}

.top-bar__link--btn {
  background: #2563eb;
  color: #fff;
  padding: 4px 14px;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.top-bar__link--btn:hover {
  background: #1d4ed8;
  opacity: 1;
}

/* ==========================================================================
   2. Cabeçalho Principal
   ========================================================================== */
.site-header {
  padding: 32px 0;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* --- Logo --- */
.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo-img {
  max-width: 280px;
  height: auto;
  display: block;
}

/* --- Info (data + clima) --- */
.site-header__info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.header-info-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-info-block__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #6b7280;
}

.header-info-block__text {
  display: flex;
  flex-direction: column;
}

.header-info-block__label {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.3;
}

.header-info-block__value {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  line-height: 1.3;
}

.temp-max {
  color: #dc2626;
}

.temp-min {
  color: #2563eb;
}

/* --- Busca --- */
.site-header__search {
  flex-shrink: 0;
}

.search-form {
  position: relative;
  width: 370px;
}

.search-form__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9ca3af;
  pointer-events: none;
}

.search-form__input {
  width: 100%;
  height: 38px;
  background: #f1f1f1;
  border-radius: 4px;
  padding: 0 14px 0 36px;
  font-size: 13px;
  color: #222;
  transition: background 0.2s ease;
}

.search-form__input::placeholder {
  color: #9ca3af;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.search-form__input:focus {
  background: #e5e7eb;
}

.search-form__submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 38px;
  height: 38px;
  cursor: pointer;
  opacity: 0;
}

/* ==========================================================================
   3. Menu de Categorias
   ========================================================================== */
.main-nav {
  /* bordas ficam no container interno */
}

.main-nav .container {
  display: flex;
  align-items: center;
  height: 34px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.main-nav .container::-webkit-scrollbar {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
}

.main-nav__item {
  flex-shrink: 0;
}

.main-nav__link {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #374151;
  padding: 0 6px;
  height: 34px;
  line-height: 34px;
  letter-spacing: 0.3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav__link:hover {
  color: #2563eb;
  background: #f9fafb;
}

.main-nav__item:first-child .main-nav__link {
  padding-left: 0;
}

.main-nav__item:last-child .main-nav__link {
  padding-right: 0;
}

/* ==========================================================================
   4. Propaganda Horizontal
   ========================================================================== */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ad-slot-horizontal {
  height: 180px;
  margin-top: 24px;
}

/* ==========================================================================
   5. Área Principal de Notícias
   ========================================================================== */

.main-news-section {
  margin-top: 24px;
}

/* Grid de duas colunas: 680px + 436px */
.main-news-grid {
  display: grid;
  grid-template-columns: 680px 436px;
  gap: 24px;
  align-items: start;
}

/* --- Notícia Principal (coluna esquerda) --- */
.featured-news-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 405px;
  background: #d1d5db;
  border-radius: 4px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.featured-news:hover .featured-news-image {
  background: #c5cad3;
}

.featured-news-title {
  margin-top: 22px;
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: #202020;
}

.featured-news-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.featured-news:hover .featured-news-title a {
  color: #2563eb;
}

.featured-news-excerpt {
  margin-top: 12px;
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #666666;
}

/* --- Lista Lateral (coluna direita) --- */
.side-news-list {
  display: flex;
  flex-direction: column;
}

.side-news-item {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.side-news-item:last-child {
  margin-bottom: 0;
}

.side-news-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 175px;
  height: 108px;
  background: #d1d5db;
  border-radius: 4px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.side-news-item:hover .side-news-thumb {
  background: #c5cad3;
}

.side-news-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #202020;
}

.side-news-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.side-news-item:hover .side-news-title a {
  color: #2563eb;
}

/* ==========================================================================
   6. Notícias Secundárias + Sidebar
   ========================================================================== */

.secondary-section {
  margin-top: 32px;
}

/* Grid 680px + 436px, mesmo da seção principal */
.secondary-grid {
  display: grid;
  grid-template-columns: 680px 436px;
  gap: 24px;
  align-items: start;
}

/* --- Grid de small cards (esquerda) --- */
.secondary-news {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.secondary-news-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Small card --- */
.small-card {
  display: flex;
  flex-direction: column;
}

.small-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  background: #d1d5db;
  border-radius: 4px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.small-card:hover .small-card__image {
  background: #c5cad3;
}

.small-card__title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #202020;
  margin-top: 10px;
}

.small-card__title a {
  color: inherit;
  transition: color 0.2s ease;
}

.small-card:hover .small-card__title a {
  color: #2563eb;
}

/* Small card com propaganda */
.small-card--ad {
  justify-content: stretch;
}

.ad-slot-small {
  height: 100%;
  min-height: 140px;
  border-radius: 4px;
}

/* --- Sidebar (direita) --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}

.ad-slot-sidebar {
  height: 140px;
  border-radius: 4px;
}

/* --- Card Projac News --- */
.projac-news-card {
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
}

.projac-news-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  background: #374151;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.projac-news-card__body {
  padding: 18px 20px 22px;
}

.projac-news-card__episode {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 8px;
}

.projac-news-card__desc {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #d1d5db;
}

.projac-news-card__desc strong {
  color: #fff;
}

/* ==========================================================================
   7. Cards de Podcast
   ========================================================================== */

.podcast-section {
  margin-top: 32px;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.podcast-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.podcast-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 320px;
  background: #d1d5db;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.podcast-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.podcast-card__episode {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

.podcast-card__episode--orange {
  color: #f59e0b;
}

.podcast-card__episode--green {
  color: #22c55e;
}

.podcast-card__episode--teal {
  color: #2dd4bf;
}

.podcast-card__episode--gold {
  color: #eab308;
}

.podcast-card__title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
}

.podcast-card__author {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.podcast-card__author span {
  opacity: 0.6;
}

.podcast-card:hover .podcast-card__image {
  filter: brightness(1.05);
}

/* ==========================================================================
   8. Seção de Categoria (Jacarezinho, etc.)
   ========================================================================== */

.category-section {
  margin-top: 40px;
}

.category-section__divider {
  height: 2px;
  background: #e5e7eb;
  margin-bottom: 28px;
}

.category-section__divider--purple {
  background: #3500D5;
}

.category-section__divider--blue {
  background: #0083D5;
}

.category-section__divider--orange {
  background: #D57C00;
}

.category-section__divider--green {
  background: #00D519;
}

.category-section__title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  text-align: center;
  color: #202020;
  margin-bottom: 28px;
}

.category-section__grid {
  display: grid;
  grid-template-columns: 680px 436px;
  gap: 24px;
  align-items: start;
}

/* --- Featured da categoria --- */
.category-featured__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 380px;
  background: #d1d5db;
  border-radius: 4px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.category-featured:hover .category-featured__image {
  background: #c5cad3;
}

.category-featured__title {
  font-family: 'Archivo', Arial, sans-serif;
  margin-top: 18px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: #202020;
}

.category-featured__title a {
  color: inherit;
  transition: color 0.2s ease;
}

.category-featured:hover .category-featured__title a {
  color: #2563eb;
}

.category-featured__excerpt {
  font-family: 'Archivo', Arial, sans-serif;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: #666666;
}

/* --- Sidebar da categoria --- */
.category-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ad-slot-category {
  height: 100px;
  border-radius: 4px;
}

.category-side-news {
  display: flex;
  flex-direction: column;
}

/* --- Grid de cards da categoria --- */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* --- Propaganda horizontal de seção --- */
.ad-slot-section {
  margin-top: 32px;
  height: 150px;
}


/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
  margin-top: 48px;
  background: #1a1a1a;
  padding: 48px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #9ca3af;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #9ca3af;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
}

.footer-social__link:hover {
  background: #2563eb;
  color: #fff;
}

.footer-col__title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer__bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #2a2a2a;
  text-align: center;
}

.site-footer__bottom p {
  font-size: 13px;
  color: #6b7280;
}

.site-footer__credit {
  margin-top: 6px;
  font-size: 12px;
  color: #4b5563;
}

/* ==========================================================================
   10. Banner de Cookies
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(8px);
  padding: 20px 0;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner__content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-banner__text {
  flex: 1;
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #d1d5db;
}

.cookie-banner__text a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-banner__btn--accept {
  background: #2563eb;
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: #1d4ed8;
}

/* ==========================================================================
   11. Responsividade
   ========================================================================== */

/* --- Abaixo de 1200px --- */
@media (max-width: 1200px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Grids fluidos para eliminar scroll lateral */
  .main-news-grid,
  .secondary-grid,
  .category-section__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    max-width: 100%;
  }

  .cat-v2__top,
  .cat-v2__bottom {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    max-width: 100%;
  }

  /* Proteção contra overflow dos filhos dos grids */
  .main-news-grid > *,
  .secondary-grid > *,
  .category-section__grid > *,
  .cat-v2__top > *,
  .cat-v2__bottom > *,
  .featured-news,
  .side-news-list,
  .secondary-news,
  .sidebar,
  .category-featured,
  .category-sidebar,
  .cat-v2__main,
  .cat-v2__aside,
  .cat-v2__grid-area,
  .cat-v2__main-article,
  .cat-v2__aside-item,
  .small-card {
    min-width: 0;
  }

  /* Quebra de texto segura nos títulos */
  .featured-news-title,
  .side-news-title,
  .small-card__title,
  .category-featured__title,
  .cat-v2__main-title,
  .cat-v2__aside-title {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* --- Abaixo de 1024px --- */
@media (max-width: 1024px) {
  .main-news-grid {
    grid-template-columns: 1fr;
  }

  .featured-news-title {
    font-size: 34px;
  }

  .secondary-grid {
    grid-template-columns: 1fr;
  }

  .podcast-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-section__grid {
    grid-template-columns: 1fr;
  }

  .category-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-featured__title {
    font-size: 30px;
  }

  .category-cards--five {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-featured--horizontal .category-featured__title {
    font-size: 26px;
  }

  .category-featured--horizontal__image {
    width: 280px;
    height: 200px;
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
  }
}

/* --- Abaixo de 992px --- */
@media (max-width: 992px) {
  .site-header__info {
    gap: 16px;
  }

  .search-form {
    width: 280px;
  }
}

/* --- Abaixo de 768px --- */
@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  /* Top bar: lado a lado */
  .top-bar {
    height: auto;
    padding: 8px 0;
  }

  .top-bar .container {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Cabeçalho vira coluna */
  .site-header {
    height: auto;
    padding: 32px 0;
  }

  .site-header .container {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .site-header__logo-img {
    max-width: 200px;
  }

  .site-header__info {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Busca 100% */
  .site-header__search {
    width: 100%;
  }

  .search-form {
    width: 100%;
  }

  /* Menu: scroll horizontal */
  .main-nav__link {
    font-size: 11px;
    padding: 0 10px;
  }

  /* Propaganda reduz */
  .ad-slot-horizontal {
    height: 120px;
    margin-top: 16px;
  }

  /* Notícias: coluna única */
  .main-news-grid {
    grid-template-columns: 1fr;
  }

  .featured-news-image {
    height: 280px;
  }

  .featured-news-title {
    font-size: 32px;
  }

  .side-news-title,
  .small-card__title {
    font-size: 19px;
    line-height: 1.2;
  }

  /* Seção secundária: coluna única, sidebar primeiro */
  .secondary-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .secondary-news-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .podcast-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .podcast-card__image {
    height: 260px;
  }

  /* Categoria: coluna única */
  .category-section__divider {
    height: 1px;
  }

  .category-section__grid {
    grid-template-columns: 1fr;
  }

  .category-featured__image {
    height: 260px;
  }

  .category-featured__title {
    font-size: 28px;
  }

  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-cards--five {
    grid-template-columns: repeat(2, 1fr);
  }

  .ad-slot-section {
    height: 120px;
  }

  /* Paraná horizontal: vira vertical no mobile */
  .category-featured--horizontal {
    flex-direction: column;
  }

  .category-featured--horizontal__image {
    width: 100%;
    height: 260px;
  }

  .category-featured--horizontal .category-featured__title {
    font-size: 28px;
    margin-top: 18px;
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-col--about {
    grid-column: 1 / -1;
  }

  /* Cookie banner: empilha */
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__text {
    font-size: 13px;
  }
}

/* --- Abaixo de 480px --- */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-bar__link {
    font-size: 10px;
  }

  .top-bar__nav {
    gap: 10px;
  }

  .header-info-block__value {
    font-size: 12px;
  }

  .ad-slot-horizontal {
    height: 90px;
  }

  /* Notícias menores */
  .featured-news-title {
    font-size: 28px;
  }

  .featured-news-excerpt {
    font-size: 16px;
  }

  .side-news-thumb {
    width: 120px;
    height: 80px;
  }

  .side-news-title {
    font-size: 18px;
    line-height: 1.2;
  }

  /* Cards secundários: coluna única */
  .secondary-news-row {
    grid-template-columns: 1fr;
  }

  .small-card__title {
    font-size: 18px;
    line-height: 1.2;
  }

  /* Podcast: coluna única */
  .podcast-grid {
    grid-template-columns: 1fr;
  }

  .podcast-card__image {
    height: 300px;
  }

  /* Categoria */
  .category-featured__title {
    font-size: 26px;
  }

  .category-featured__excerpt {
    font-size: 16px;
  }

  .category-cards {
    grid-template-columns: 1fr;
  }

  .category-cards--five {
    grid-template-columns: 1fr;
  }

  .ad-slot-section {
    height: 90px;
  }

  .category-section__title {
    font-size: 20px;
    letter-spacing: 3px;
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col--about {
    grid-column: auto;
  }
}


/* ==========================================================================
   12. Single Post (Página de Matéria)
   ========================================================================== */

.single-article {
  padding: 40px 0 60px;
}

.single-article-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.single-article-inner {
  max-width: 740px;
  margin: 0 auto;
}

/* --- Categoria --- */
.single-article-category {
  display: inline-block;
  margin-bottom: 14px;
}

.single-article-category a {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3500D5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-article-category a:hover {
  color: #0083D5;
}

/* --- Título (preto, sem link) --- */
.single-article-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  color: #202020;
  margin: 0 0 20px;
}

/* Garante que o título nunca fique azul */
.single-article-title,
.single-article-title a {
  color: #202020;
  text-decoration: none;
}

/* --- Metadados --- */
.single-article-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.single-article-meta__author {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #202020;
}

.single-article-meta__date {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}

/* --- Excerpt / Resumo --- */
.single-article-excerpt {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: #555;
  margin-bottom: 28px;
  font-weight: 400;
}

/* --- Imagem destacada --- */
.single-article-featured-image {
  margin: 0 0 28px;
}

.single-article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* --- Legenda / crédito da imagem --- */
.single-article-caption {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  line-height: 1.4;
  font-style: italic;
}

/* --- Conteúdo da matéria --- */
.single-article-content {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.single-article-content p {
  margin-bottom: 1.4em;
}

.single-article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #202020;
  margin-top: 2em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}

.single-article-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #202020;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.single-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.2em 0;
}

.single-article-content blockquote {
  border-left: 3px solid #3500D5;
  padding: 12px 20px;
  margin: 1.4em 0;
  color: #4b5563;
  font-style: italic;
  background: #f9fafb;
  border-radius: 0 4px 4px 0;
}

.single-article-content ul,
.single-article-content ol {
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}

.single-article-content li {
  margin-bottom: 0.5em;
}

.single-article-content a {
  color: #2563eb;
  text-decoration: underline;
}

.single-article-content a:hover {
  color: #1d4ed8;
}

/* --- Navegação entre posts --- */
.single-article-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.single-article-navigation__prev,
.single-article-navigation__next {
  flex: 1;
  min-width: 0;
}

.single-article-navigation__next {
  text-align: right;
}

.single-article-navigation a {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #202020;
  line-height: 1.35;
  transition: color 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.single-article-navigation a:hover {
  color: #2563eb;
}

/* --- Single Post: Responsivo --- */
@media (max-width: 768px) {
  .single-article {
    padding: 28px 0 40px;
  }

  .single-article-title {
    font-size: 34px;
    line-height: 1.1;
  }

  .single-article-excerpt {
    font-size: 17px;
    line-height: 1.45;
  }

  .single-article-content {
    font-size: 17px;
    line-height: 1.65;
  }

  .single-article-content h2 {
    font-size: 22px;
  }

  .single-article-content h3 {
    font-size: 19px;
  }

  .single-article-navigation {
    flex-direction: column;
    gap: 16px;
  }

  .single-article-navigation__next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .single-article-title {
    font-size: 30px;
    line-height: 1.12;
  }

  .single-article-content {
    font-size: 17px;
    line-height: 1.65;
  }

  .single-article-excerpt {
    font-size: 17px;
    line-height: 1.45;
  }

  .single-article-category a {
    font-size: 12px;
  }
}


/* ==========================================================================
   13. Seções Editoriais v2 – Novo Layout (cat-v2__)
   Prefixo cat-v2__ para evitar qualquer conflito com classes existentes.
   Estas classes só terão efeito quando o HTML for atualizado (Fase 2+).
   ========================================================================== */

/* --- Bloco Superior: matéria principal horizontal + 2 cards laterais --- */
.cat-v2__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

/* -- Coluna esquerda: matéria principal -- */
.cat-v2__main {
  display: flex;
  flex-direction: column;
}

/* Artigo principal: layout horizontal (imagem à esquerda + título à direita) */
.cat-v2__main-article {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.cat-v2__main-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  background: #d1d5db;
  border-radius: 4px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s ease;
}

.cat-v2__main-article:hover .cat-v2__main-image {
  background: #c5cad3;
}

.cat-v2__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Conteúdo textual ao lado da imagem */
.cat-v2__main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.cat-v2__main-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: #202020;
}

.cat-v2__main-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.cat-v2__main-article:hover .cat-v2__main-title a {
  color: #2563eb;
}

/* Divider fino abaixo da matéria principal */
.cat-v2__main-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 20px 0;
}

/* -- Coluna direita: 2 cards empilhados -- */
.cat-v2__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cat-v2__aside-item {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.cat-v2__aside-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 194px;
  height: 131px;
  background: #d1d5db;
  border-radius: 4px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s ease;
}

.cat-v2__aside-item:hover .cat-v2__aside-thumb {
  background: #c5cad3;
}

.cat-v2__aside-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.cat-v2__aside-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #202020;
}

.cat-v2__aside-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.cat-v2__aside-item:hover .cat-v2__aside-title a {
  color: #2563eb;
}

/* --- Bloco Inferior: grid de cards + propaganda lateral --- */
.cat-v2__bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

/* Área de grid à esquerda (cards + propaganda média) */
.cat-v2__grid-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Linha de cards (grid de 3 colunas) */
.cat-v2__grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Propaganda média: ocupa 2 das 3 colunas */
.cat-v2__ad-medium {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  min-height: 180px;
  border-radius: 4px;
}

/* Propaganda grande lateral à direita */
.cat-v2__ad-tall {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  min-height: 380px;
  border-radius: 4px;
  align-self: stretch;
}

/* ==========================================================================
   13b. Seções Editoriais v2 – Responsividade
   ========================================================================== */

/* --- Abaixo de 1024px --- */
@media (max-width: 1024px) {
  .cat-v2__top {
    grid-template-columns: 1fr;
  }

  .cat-v2__main-image {
    width: 260px;
    height: 180px;
  }

  .cat-v2__main-content {
    min-height: 180px;
  }

  .cat-v2__main-title {
    font-size: 30px;
  }

  .cat-v2__bottom {
    grid-template-columns: 1fr;
  }

  .cat-v2__grid-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cat-v2__aside-thumb {
    width: 120px;
    height: 80px;
  }

  .cat-v2__aside-title {
    font-size: 16px;
  }
}

/* --- Abaixo de 768px --- */
@media (max-width: 768px) {

  /* Bloco superior: empilha verticalmente */
  .cat-v2__top {
    grid-template-columns: 1fr;
  }

  /* Matéria principal continua horizontal mas com imagem menor */
  .cat-v2__main-image {
    width: 220px;
    height: 160px;
  }

  .cat-v2__main-content {
    min-height: 160px;
  }

  .cat-v2__main-title {
    font-size: 28px;
  }

  /* Cards laterais passam para linha horizontal */
  .cat-v2__aside {
    flex-direction: row;
    gap: 20px;
  }

  .cat-v2__aside-item {
    flex: 1;
  }

  .cat-v2__aside-thumb {
    width: 110px;
    height: 75px;
  }

  .cat-v2__aside-title {
    font-size: 19px;
    line-height: 1.2;
  }

  /* Bloco inferior: empilha verticalmente */
  .cat-v2__bottom {
    grid-template-columns: 1fr;
  }

  /* Grid de cards: 2 colunas */
  .cat-v2__grid-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-v2__ad-medium {
    grid-column: span 1;
    min-height: 140px;
  }

  .cat-v2__ad-tall {
    min-height: 180px;
  }
}

/* --- Abaixo de 480px --- */
@media (max-width: 480px) {

  /* Matéria principal vira vertical */
  .cat-v2__main-article {
    flex-direction: column;
    gap: 16px;
  }

  .cat-v2__main-image {
    width: 100%;
    height: 200px;
  }

  .cat-v2__main-content {
    min-height: auto;
  }

  .cat-v2__main-title {
    font-size: 26px;
  }

  /* Cards laterais empilham */
  .cat-v2__aside {
    flex-direction: column;
  }

  .cat-v2__aside-thumb {
    width: 110px;
    height: 75px;
  }

  .cat-v2__aside-title {
    font-size: 18px;
    line-height: 1.2;
  }

  /* Grid de cards: coluna única */
  .cat-v2__grid-row {
    grid-template-columns: 1fr;
  }

  .cat-v2__ad-medium {
    grid-column: span 1;
    min-height: 120px;
  }

  .cat-v2__ad-tall {
    min-height: 150px;
  }
}

/* ==========================================================================
   Clima do Header – Estilização Visual
   ========================================================================== */

/* --- Wrapper de temperaturas --- */
.header-weather-temp {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: nowrap;
}

/* --- Temperatura atual --- */
.weather-temp-current {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

/* --- Máxima --- */
.weather-temp-max {
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
}

/* --- Mínima --- */
.weather-temp-min {
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
}

/* --- Separador · --- */
.weather-temp-separator {
  color: #9ca3af;
  margin: 0 3px;
  font-size: 11px;
}

/* --- Ícone PNG do clima --- */
.header-info-block__icon-img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.header-calendar-icon {
  width: 28px;
  height: 28px;
}

.header-weather-icon {
  width: 30px;
  height: 30px;
}

/* --- Data: desktop por extenso, mobile numérica --- */
.header-date-full {
  display: block;
}

.header-date-short {
  display: none;
}

/* --- Clima: layout desktop (2 linhas compactas) --- */
.header-weather-details {
  display: block;
  line-height: 1.3;
}

.header-weather-location,
.header-weather-condition {
  display: inline;
  font-size: 11px;
  color: #9ca3af;
}

.header-weather-location::after {
  content: " \00b7 ";
}

/* Forçar quebra de linha após condição */
.header-weather-condition::after {
  content: "";
  display: block;
}

.header-weather-range,
.weather-temp-current {
  display: inline;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.header-weather-range .weather-temp-separator {
  margin: 0 3px;
  color: #9ca3af;
  font-weight: 400;
}

.header-weather-range+.weather-temp-current::before {
  content: " \00b7 ";
  color: #9ca3af;
  font-weight: 400;
  margin: 0 2px;
}

/* --- Responsivo: clima mobile --- */
@media (max-width: 768px) {
  .site-header__info {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .header-date-full {
    display: none;
  }

  .header-date-short {
    display: block;
  }

  .header-weather-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
  }

  .header-weather-location {
    width: 100%;
    order: 1;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
  }

  .weather-temp-current {
    order: 2;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
  }

  .header-weather-condition {
    order: 3;
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
  }

  .header-weather-condition::before {
    content: " - ";
  }

  .header-weather-range {
    display: none;
  }

  .header-weather-location::after {
    display: none;
  }

  .header-weather-condition::after {
    display: none;
  }

  .header-weather-range+.weather-temp-current::before {
    display: none;
  }

  .weather-temp-label {
    display: none;
  }
}

@media (max-width: 480px) {

  .weather-temp-max,
  .weather-temp-min {
    font-size: 10px;
  }

  .weather-temp-current {
    font-size: 12px;
  }

  .header-weather-icon {
    width: 26px;
    height: 26px;
  }

  .header-calendar-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .site-header__info {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: center;
    align-items: flex-start;
    column-gap: 42px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex: none;
  }

  .site-header__info .header-info-block {
    width: max-content;
    flex: 0 0 auto;
  }

  .site-header__info .header-info-block--weather {
    width: max-content;
  }

  .site-header__info .header-weather-details {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas:
      "location location"
      "current condition";
    column-gap: 4px;
    row-gap: 0;
    width: max-content;
    max-width: max-content;
    align-items: baseline;
  }

  .site-header__info .header-weather-location {
    grid-area: location;
    width: auto;
    display: block;
  }

  .site-header__info .weather-temp-current {
    grid-area: current;
    display: inline;
  }

  .site-header__info .header-weather-condition {
    grid-area: condition;
    display: inline;
  }
}

@media (min-width: 769px) {

  .header-info-block--weather .header-weather-range,
  .header-info-block--weather .weather-temp-current {
    position: relative;
    top: -4px;
    line-height: 1;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .site-header {
    height: auto;
    padding: 28px 0;
  }

  .site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
  }

  .site-header__logo {
    flex: 0 0 auto;
  }

  .site-header__logo-img {
    max-width: 220px;
  }

  .site-header__info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 34px;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header__info .header-info-block {
    flex: 0 0 auto;
    width: max-content;
  }

  .site-header__search {
    width: 100%;
    max-width: 654px;
  }

  .search-form {
    width: 100%;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .site-header {
    height: auto;
    padding: 28px 0;
  }

  .site-header .container {
    display: grid;
    grid-template-columns: auto minmax(280px, 370px);
    grid-template-areas:
      "logo search"
      "info info";
    align-items: center;
    justify-content: space-between;
    row-gap: 18px;
    column-gap: 28px;
  }

  .site-header__logo {
    grid-area: logo;
    justify-self: start;
    flex: none;
  }

  .site-header__logo-img {
    max-width: 240px;
  }

  .site-header__search {
    grid-area: search;
    justify-self: end;
    width: 100%;
    max-width: 370px;
    flex: none;
  }

  .site-header__info {
    grid-area: info;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 42px;
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header__info .header-info-block {
    flex: 0 0 auto;
    width: max-content;
  }

  .search-form {
    width: 100%;
  }
}

/* ==========================================================================
   Página de Categoria / Editoria
   ========================================================================== */

/* --- Container principal --- */
.category-page {
  margin-top: 24px;
}

/* --- Descrição da categoria --- */
.category-page__description {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #666666;
  text-align: center;
  line-height: 1.5;
  margin-top: -16px;
  margin-bottom: 28px;
}

/* --- Grid de posts da categoria --- */
.category-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}

/* --- Card individual --- */
.category-page__card {
  display: flex;
  flex-direction: column;
}

/* --- Imagem do card --- */
.category-page__card-image {
  display: block;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.category-page__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.category-page__card:hover .category-page__card-image img {
  transform: scale(1.03);
}

/* --- Tag de categoria no card --- */
.category-page__card-tag {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 4px;
}

.category-page__card-tag a {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3500D5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-page__card-tag a:hover {
  color: #0083D5;
}

/* --- Título do card --- */
.category-page__card-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #202020;
  margin-top: 6px;
}

.category-page__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-page__card:hover .category-page__card-title a {
  color: #2563eb;
}

/* --- Resumo / excerpt do card --- */
.category-page__excerpt {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.4;
  margin-top: 6px;
}

/* --- Data do card --- */
.category-page__date {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  margin-top: 6px;
  display: block;
}

/* --- Paginação --- */
.category-page__pagination {
  margin-top: 40px;
  text-align: center;
}

.category-page__pagination .page-numbers {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.category-page__pagination .page-numbers li {
  margin: 0;
}

.category-page__pagination .page-numbers a,
.category-page__pagination .page-numbers span {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.category-page__pagination .page-numbers a:hover {
  background: #f1f1f1;
  color: #2563eb;
}

.category-page__pagination .page-numbers .current {
  background: #2563eb;
  color: #fff;
}

.category-page__pagination .page-numbers .prev,
.category-page__pagination .page-numbers .next {
  font-weight: 500;
  color: #2563eb;
}

/* --- Estado vazio --- */
.category-page__empty {
  text-align: center;
  padding: 80px 24px;
}

.category-page__empty-icon {
  display: block;
  margin: 0 auto 20px;
  color: #d1d5db;
}

.category-page__empty-icon svg {
  width: 48px;
  height: 48px;
}

.category-page__empty-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.category-page__empty-text {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #9ca3af;
}

/* --- Responsivo: Página de Categoria --- */

/* Tablet */
@media (max-width: 992px) {
  .category-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .category-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-page__description {
    font-size: 15px;
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .category-page__card-title {
    font-size: 16px;
  }

  .category-page__excerpt {
    font-size: 13px;
  }

  .category-page__pagination .page-numbers a,
  .category-page__pagination .page-numbers span {
    font-size: 13px;
    padding: 6px 10px;
  }

  .category-page__empty {
    padding: 60px 20px;
  }

  .category-page__empty-title {
    font-size: 18px;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .category-page__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-page__card-image {
    height: 180px;
  }

  .category-page__card-title {
    font-size: 17px;
  }
}

/* --- Cores de divider por editoria (página de categoria) --- */
.category-page--jacarezinho .category-section__divider   { background: #3500D5; }
.category-page--norte-pioneiro .category-section__divider { background: #0083D5; }
.category-page--parana .category-section__divider         { background: #D57C00; }
.category-page--brasil .category-section__divider         { background: #00D519; }
.category-page--saude .category-section__divider          { background: #10b981; }
.category-page--esportes .category-section__divider       { background: #ef4444; }
.category-page--politica .category-section__divider       { background: #6366f1; }
.category-page--economia .category-section__divider       { background: #f59e0b; }
.category-page--cultura .category-section__divider        { background: #ec4899; }
.category-page--tecnologia .category-section__divider     { background: #06b6d4; }
.category-page--mundo .category-section__divider          { background: #8b5cf6; }

/* ==========================================================================
   Página de Busca / Resultados
   ========================================================================== */

/* --- Container principal --- */
.search-page {
  margin-top: 24px;
}

/* --- Cabeçalho da busca --- */
.search-page__header {
  text-align: center;
  margin-bottom: 28px;
}

.search-page__title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  text-align: center;
  color: #202020;
  margin-bottom: 6px;
}

.search-page__term {
  font-weight: 700;
  color: #3500D5;
  letter-spacing: 0;
}

.search-page__description {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #9ca3af;
  text-align: center;
  margin-top: 4px;
}

/* --- Grid de resultados --- */
.search-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}

/* --- Card de resultado --- */
.search-page__card {
  display: flex;
  flex-direction: column;
}

/* --- Imagem do card --- */
.search-page__card-image {
  display: block;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.search-page__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.search-page__card:hover .search-page__card-image img {
  transform: scale(1.03);
}

/* --- Placeholder de imagem --- */
.search-page__card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e5e7eb;
  border-radius: 4px;
  color: #9ca3af;
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Categoria no card --- */
.search-page__card-category {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 4px;
}

.search-page__card-category a {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3500D5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-page__card-category a:hover {
  color: #0083D5;
}

/* --- Título do card --- */
.search-page__card-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #202020;
  margin-top: 6px;
}

.search-page__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-page__card:hover .search-page__card-title a {
  color: #2563eb;
}

/* --- Resumo --- */
.search-page__excerpt {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.4;
  margin-top: 6px;
}

/* --- Data --- */
.search-page__date {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  margin-top: 6px;
  display: block;
}

/* --- Paginação --- */
.search-page__pagination {
  margin-top: 40px;
  text-align: center;
}

.search-page__pagination .page-numbers {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.search-page__pagination .page-numbers li {
  margin: 0;
}

.search-page__pagination .page-numbers a,
.search-page__pagination .page-numbers span {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.search-page__pagination .page-numbers a:hover {
  background: #f1f1f1;
  color: #2563eb;
}

.search-page__pagination .page-numbers .current {
  background: #2563eb;
  color: #fff;
}

.search-page__pagination .page-numbers .prev,
.search-page__pagination .page-numbers .next {
  font-weight: 500;
  color: #2563eb;
}

/* --- Estado vazio --- */
.search-page__empty {
  text-align: center;
  padding: 80px 24px;
}

.search-page__empty-icon {
  display: block;
  margin: 0 auto 20px;
  color: #d1d5db;
}

.search-page__empty-icon svg {
  width: 48px;
  height: 48px;
}

.search-page__empty-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.search-page__empty-text {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #9ca3af;
  margin-bottom: 24px;
}

/* --- Formulário de nova busca (estado vazio) --- */
.search-page__empty-form {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.search-page__empty-form .search-form {
  max-width: 420px;
  width: 100%;
}

/* --- Responsivo: Página de Busca --- */

/* Tablet */
@media (max-width: 992px) {
  .search-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .search-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .search-page__title {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .search-page__card-title {
    font-size: 16px;
  }

  .search-page__excerpt {
    font-size: 13px;
  }

  .search-page__pagination .page-numbers a,
  .search-page__pagination .page-numbers span {
    font-size: 13px;
    padding: 6px 10px;
  }

  .search-page__empty {
    padding: 60px 20px;
  }

  .search-page__empty-title {
    font-size: 18px;
  }

  .search-page__empty-form .search-form {
    max-width: 100%;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .search-page__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .search-page__card-image {
    height: 180px;
  }

  .search-page__card-title {
    font-size: 17px;
  }
}

/* ==========================================================================
   Páginas Institucionais (Sobre, Contato, etc.)
   ========================================================================== */

.page-main {
  background: #fff;
  padding: 60px 0 80px;
}

.page-container {
  max-width: 800px;
}

.page-content {
  display: flex;
  flex-direction: column;
}

.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #202020;
}

.page-body {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.page-body p {
  margin-bottom: 24px;
}

.page-body h2, 
.page-body h3, 
.page-body h4 {
  font-family: 'Archivo', Arial, sans-serif;
  color: #202020;
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 700;
}

.page-body h2 {
  font-size: 32px;
}

.page-body h3 {
  font-size: 26px;
}

.page-body ul, 
.page-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.page-body ul li, 
.page-body ol li {
  margin-bottom: 12px;
}

.page-body ul {
  list-style: disc;
}

.page-body ol {
  list-style: decimal;
}

.page-body a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-body a:hover {
  color: #3500D5;
}

.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 32px 0;
}

/* --- Responsivo: Página Institucional --- */

@media (max-width: 768px) {
  .page-main {
    padding: 40px 20px 60px;
  }

  .page-title {
    font-size: 32px;
  }

  .page-header {
    margin-bottom: 30px;
  }

  .page-body {
    font-size: 16px;
  }

  .page-body h2 {
    font-size: 26px;
  }

  .page-body h3 {
    font-size: 22px;
  }
}

/* ==========================================================================
   Fim do Arquivo
   ========================================================================== */