/**
 * Notícias — /news (lista vertical)
 */

.news-page-panel {
  padding: 1rem 0 2rem;
}

.news-page-panel .nav {
  padding: 1rem;
}

.news-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
}

/* Item padrão — horizontal */
.news-feed-item {
  border-bottom: 1px solid #dee2e6;
  background: #ffffff;
  transition: background-color 0.2s ease;
}

.news-feed-item:first-child {
  border-top: 1px solid #dee2e6;
}

.news-feed-item:hover {
  background: #fafbfc;
}

.news-feed-item__link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  color: inherit;
  min-height: 140px;
}

.news-feed-item__media {
  position: relative;
  flex: 0 0 220px;
  max-width: 220px;
  overflow: hidden;
  background: #e9ecef;
}

.news-feed-item__logo {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.news-feed-item__logo img {
  display: block;
  width: auto;
  max-width: 100px;
  max-height: 36px;
  height: auto;
  object-fit: contain;
}

.news-feed-item__img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.news-feed-item__body {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-feed-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.news-feed-item__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.news-feed-item__game {
  font-weight: 500;
}

.news-feed-item__date {
  margin-left: auto;
}

.news-feed-item__title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #212529;
  margin: 0 0 0.5rem;
  transition: color 0.15s ease;
}

.news-feed-item:hover .news-feed-item__title {
  color: #c44a00;
}

.news-feed-item__excerpt {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-feed-item__more {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c44a00;
  margin-top: auto;
}

.news-feed-item__more .bi {
  transition: transform 0.15s ease;
}

.news-feed-item:hover .news-feed-item__more .bi {
  transform: translateX(4px);
}

/* Destaque — primeira notícia (página 1, sem filtros) */
.news-feed-item--featured {
  border: 1px solid #dee2e6;
  border-radius: 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.news-feed-item--featured:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-feed-item--featured .news-feed-item__link {
  flex-direction: column;
  min-height: 0;
}

.news-feed-item--featured .news-feed-item__media--featured {
  flex: none;
  max-width: none;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 320px;
}

.news-feed-item--featured .news-feed-item__img {
  min-height: 200px;
  max-height: 320px;
}

.news-feed-item--featured .news-feed-item__body {
  padding: 1.5rem 1.75rem 1.75rem;
  position: relative;
}

.news-feed-item--featured .news-feed-item__title {
  font-size: 1.5rem;
}

.news-feed-item--featured .news-feed-item__excerpt {
  -webkit-line-clamp: 3;
  font-size: 0.95rem;
}

.news-feed-item--featured .news-feed-item__logo {
  right: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.65rem;
}

.news-feed-item--featured .news-feed-item__logo img {
  max-width: 130px;
  max-height: 48px;
}

@media (max-width: 767.98px) {
  .news-feed-item__link {
    flex-direction: column;
    min-height: 0;
  }

  .news-feed-item__media {
    flex: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .news-feed-item__img {
    min-height: 0;
  }

  .news-feed-item__date {
    margin-left: 0;
    width: 100%;
  }

  .news-feed-item__logo img {
    max-width: 88px;
    max-height: 32px;
  }

  .news-feed-item--featured .news-feed-item__logo img {
    max-width: 110px;
    max-height: 40px;
  }

  .news-feed-item--featured .news-feed-item__title {
    font-size: 1.25rem;
  }
}

#newsPagination .page-link {
  background-color: #ffffff;
  border-color: #dee2e6;
  color: #212529;
}

#newsPagination .page-item.active .page-link {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}

#newsPagination .page-link:hover {
  background-color: #f8f9fa;
  color: #212529;
}

.news-article-panel {
  min-height: 50vh;
  background: #fff;
  color: #212529;
}

.news-article-panel .navig {
  color: #212529 !important;
}

.news-article-panel .navig:hover {
  color: #ff5200 !important;
}

.news-article-nav {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.75rem;
}

.news-article-nav .navig {
  font-weight: 600;
  font-size: 0.95rem;
}

.news-article-nav .navig .bi {
  vertical-align: -0.125em;
}

.news-article h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  color: #212529;
}

.news-article-hero-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: #e9ecef;
}

.news-article-hero {
  max-height: 420px;
  object-fit: cover;
  display: block;
  width: 100%;
}

.news-article-hero-logo {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.news-article-hero-logo img {
  display: block;
  width: auto;
  max-width: 130px;
  max-height: 48px;
  object-fit: contain;
}

.news-article-body {
  line-height: 1.7;
  color: #212529;
}

.news-article-body p,
.news-article-body li,
.news-article-body td,
.news-article-body th {
  color: #212529;
}

.news-article-body img {
  max-width: 100%;
  height: auto;
}

.news-article-body a {
  color: #c44a00;
}

.news-article-body a:hover {
  color: #ff5200;
}
