.news-detail {
  --news-accent: #285a72;
  --news-accent-dark: #204b61;
  --news-accent-soft: #eaf1f5;
  --news-border: #dce4e9;
  --news-heading: #26343d;
  --news-muted: #65737c;
  background: #f5f8fa;
  color: var(--news-heading);
  margin: 91px -12px 0;
  min-height: 70vh;
  padding: 3rem 1rem 4rem;
}

.news-detail *,
.news-detail *::before,
.news-detail *::after {
  box-sizing: border-box;
}

.news-detail__container {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) 280px;
  margin: 0 auto;
  max-width: 1120px;
}

.news-detail__article,
.news-detail__archive,
.news-detail__comments {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(35, 57, 69, 0.06);
}

.news-detail__article {
  min-width: 0;
  overflow: hidden;
}

.news-detail__header {
  padding: 2rem 2rem 1.5rem;
}

.news-detail__meta {
  align-items: center;
  color: var(--news-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}

.news-detail__meta time,
.news-detail__meta a {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
}

.news-detail__meta a {
  color: var(--news-accent);
  font-weight: 700;
  text-decoration: none;
}

.news-detail__eyebrow {
  color: var(--news-accent);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
}

.news-detail h1,
.news-detail h2 {
  color: var(--news-heading);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
}

.news-detail h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.18;
  margin: 0;
}

.news-detail__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.news-detail__share-link,
.news-detail .noticias-whatsapp {
  align-items: center;
  border-radius: 8px;
  box-shadow: none;
  color: #fff;
  display: inline-flex;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.45rem;
  height: auto;
  justify-content: center;
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  width: auto;
}

.news-detail__share-link--facebook {
  background: #2867b2;
}

.news-detail__share-link--facebook:hover {
  background: #205795;
  color: #fff;
}

.news-detail .news-detail__share-link--whatsapp {
  background: #238b4b;
  border-radius: 8px;
}

.news-detail .news-detail__share-link--whatsapp:hover {
  background: #1d743e;
  color: #fff;
  transform: none;
}

.news-detail__cover-link,
.news-detail__cover,
.news-detail__footer-image-link,
.news-detail__footer-image {
  display: block;
  width: 100%;
}

.news-detail__cover {
  border-bottom: 1px solid var(--news-border);
  border-top: 1px solid var(--news-border);
  height: auto;
  max-height: 720px;
  object-fit: contain;
}

.news-detail__body {
  color: #40515b;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  padding: 2rem;
}

.news-detail__body > :first-child {
  margin-top: 0;
}

.news-detail__body > :last-child {
  margin-bottom: 0;
}

.news-detail__body h2,
.news-detail__body h3,
.news-detail__body h4 {
  color: var(--news-heading);
  line-height: 1.3;
  margin: 1.5em 0 0.55em;
}

.news-detail__body img,
.news-detail__body iframe,
.news-detail__body video {
  height: auto;
  max-width: 100%;
}

.news-detail__body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.news-detail__body a {
  color: var(--news-accent);
}

.news-detail__footer-image-link {
  border-top: 1px solid var(--news-border);
  padding: 0 2rem 2rem;
}

.news-detail__footer-image {
  border-radius: 10px;
  height: auto;
}

.news-detail__sidebar {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 110px;
}

.news-detail__archive {
  padding: 1.25rem;
}

.news-detail__archive > header,
.news-detail__section-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.news-detail__archive > header > span,
.news-detail__section-header > span {
  align-items: center;
  background: var(--news-accent-soft);
  border-radius: 9px;
  color: var(--news-accent);
  display: flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.news-detail__archive h2,
.news-detail__section-header h2 {
  font-size: 1rem;
  margin: 0;
}

.news-detail__archive ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.news-detail__archive li {
  border-top: 1px solid #e7edef;
}

.news-detail__archive li a {
  align-items: center;
  color: var(--news-heading);
  display: flex;
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: space-between;
  padding: 0.75rem 0.15rem;
  text-decoration: none;
}

.news-detail__archive li a:hover {
  color: var(--news-accent);
}

.news-detail__archive li br {
  display: none;
}

.news-detail__league-image {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 10px;
  height: auto;
  padding: 0.75rem;
  width: 100%;
}

.news-detail__comments {
  grid-column: 1;
  padding: 1.5rem;
}

.news-detail__section-header {
  border-bottom: 1px solid #e6ecef;
  padding-bottom: 1rem;
}

.news-detail__section-header > strong {
  align-items: center;
  background: var(--news-accent-soft);
  border-radius: 999px;
  color: var(--news-accent);
  display: inline-flex;
  font-size: 0.75rem;
  justify-content: center;
  margin-left: auto;
  min-width: 28px;
  padding: 0.25rem 0.5rem;
}

.news-detail__comment-form {
  border-bottom: 1px solid #e6ecef;
  padding: 1.25rem 0;
}

.news-detail__comment-form label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.news-detail__comment-form textarea {
  border: 1px solid #cbd8df;
  border-radius: 8px;
  min-height: 150px;
  padding: 0.75rem;
  resize: vertical;
  width: 100%;
}

.news-detail__comment-form textarea:focus {
  border-color: var(--news-accent);
  box-shadow: 0 0 0 3px rgba(40, 90, 114, 0.15);
  outline: 0;
}

.news-detail__comment-form .errorlist {
  background: #fff2f1;
  border: 1px solid #efc4c1;
  border-radius: 8px;
  color: #a23c35;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
}

.news-detail__button {
  align-items: center;
  background: var(--news-accent);
  border: 1px solid var(--news-accent);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.75rem;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
}

.news-detail__button:hover {
  background: var(--news-accent-dark);
}

.news-detail__login-notice {
  align-items: center;
  background: #f4f8fa;
  border: 1px solid #dbe6eb;
  border-radius: 9px;
  color: var(--news-muted);
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding: 1rem;
}

.news-detail__login-notice > i {
  color: var(--news-accent);
  font-size: 1.15rem;
}

.news-detail__login-notice strong {
  color: var(--news-heading);
}

.news-detail__login-notice p {
  margin: 0.2rem 0 0;
}

.news-detail__login-notice a {
  color: var(--news-accent);
  font-weight: 700;
}

.news-detail__comment-list {
  margin-top: 1.25rem;
}

.news-detail__comment {
  border-bottom: 1px solid #e6ecef;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 1rem 0;
}

.news-detail__comment:first-child {
  padding-top: 0;
}

.news-detail__comment:last-child {
  border-bottom: 0;
}

.news-detail__avatar-link,
.news-detail__avatar {
  border-radius: 50%;
  height: 48px;
  width: 48px;
}

.news-detail__avatar {
  border: 1px solid var(--news-border);
  object-fit: cover;
}

.news-detail__avatar--empty {
  align-items: center;
  background: var(--news-accent-soft);
  color: var(--news-accent);
  display: flex;
  justify-content: center;
}

.news-detail__comment-content header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
}

.news-detail__comment-content header a {
  color: var(--news-heading);
  font-weight: 700;
  text-decoration: none;
}

.news-detail__comment-content time {
  color: var(--news-muted);
  font-size: 0.76rem;
}

.news-detail__comment-content p {
  color: #40515b;
  line-height: 1.6;
  margin: 0.45rem 0 0;
}

.news-detail__empty-comments {
  color: var(--news-muted);
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.news-detail__empty-comments i {
  color: #9badb7;
  font-size: 1.5rem;
}

.news-detail__empty-comments p {
  margin: 0.55rem 0 0;
}

.news-detail__back-links {
  align-items: center;
  border-top: 1px solid #e6ecef;
  display: flex;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
}

.news-detail__back-links a {
  align-items: center;
  color: var(--news-accent);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.4rem;
  text-decoration: none;
}

.news-detail__share-link:focus-visible,
.news-detail__archive a:focus-visible,
.news-detail__avatar-link:focus-visible,
.news-detail__comment-content a:focus-visible,
.news-detail__back-links a:focus-visible,
.news-detail__button:focus-visible {
  outline: 3px solid rgba(40, 90, 114, 0.28);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .news-detail__container {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-detail__sidebar {
    grid-row: 2;
    position: static;
  }

  .news-detail__comments {
    grid-column: 1;
    grid-row: 3;
  }

  .news-detail__league-image {
    display: none;
  }
}

@media (max-width: 560px) {
  .news-detail {
    padding: 1.5rem 0.75rem 3rem;
  }

  .news-detail__article,
  .news-detail__archive,
  .news-detail__comments {
    border-radius: 10px;
  }

  .news-detail__header,
  .news-detail__body,
  .news-detail__comments {
    padding: 1.2rem;
  }

  .news-detail__footer-image-link {
    padding: 0 1.2rem 1.2rem;
  }

  .news-detail__share-link,
  .news-detail .noticias-whatsapp {
    flex: 1 1 auto;
  }

  .news-detail__back-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

.news-list__container {
  margin: 0 auto;
  max-width: 1120px;
}

.news-list__hero {
  align-items: center;
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(35, 57, 69, 0.06);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 1.75rem 2rem;
}

.news-list__hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0;
}

.news-list__hero > div > p:last-child {
  color: var(--news-muted);
  margin: 0.65rem 0 0;
}

.news-list__hero-icon {
  align-items: center;
  background: var(--news-accent-soft);
  border: 1px solid #d5e2e9;
  border-radius: 50%;
  color: var(--news-accent);
  display: flex;
  flex: 0 0 64px;
  font-size: 1.4rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.news-list__layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.news-list__feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.news-list__card,
.news-list__empty,
.news-list__back-links {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(35, 57, 69, 0.06);
}

.news-list__card {
  overflow: hidden;
}

.news-list__card-header {
  padding: 1.5rem 1.5rem 1.25rem;
}

.news-list__meta {
  align-items: center;
  color: var(--news-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 0.55rem 1rem;
  margin-bottom: 0.65rem;
}

.news-list__meta time,
.news-list__meta a {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.news-list__meta a {
  color: var(--news-accent);
  font-weight: 700;
  text-decoration: none;
}

.news-list__card h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.3;
  margin: 0;
}

.news-list__card h2 a {
  color: var(--news-heading);
  text-decoration: none;
}

.news-list__card h2 a:hover {
  color: var(--news-accent);
}

.news-list__image-link,
.news-list__image {
  display: block;
  width: 100%;
}

.news-list__image-link {
  background: #f7f9fa;
  border-bottom: 1px solid var(--news-border);
  border-top: 1px solid var(--news-border);
}

.news-list__image {
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.news-list__excerpt {
  color: #40515b;
  font-size: 0.96rem;
  line-height: 1.7;
  max-height: 10.5rem;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding: 1.25rem 1.5rem 0;
  position: relative;
}

.news-list__excerpt > :first-child {
  margin-top: 0;
}

.news-list__excerpt > :last-child {
  margin-bottom: 0;
}

.news-list__excerpt img,
.news-list__excerpt iframe,
.news-list__excerpt video {
  height: auto;
  max-width: 100%;
}

.news-list__card-footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1.5rem;
}

.news-list__card-footer .news-detail__share {
  flex-wrap: nowrap;
  margin: 0;
}

.news-list__card-footer .news-detail__share-link,
.news-list__card-footer .noticias-whatsapp {
  flex: 0 0 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  width: 38px;
}

.news-list__read-more {
  align-items: center;
  background: var(--news-accent);
  border: 1px solid var(--news-accent);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.news-list__read-more:hover {
  background: var(--news-accent-dark);
  border-color: var(--news-accent-dark);
  color: #fff;
}

.news-list__empty {
  color: var(--news-muted);
  padding: 3rem 1rem;
  text-align: center;
}

.news-list__empty > i {
  color: #9badb7;
  font-size: 2rem;
}

.news-list__empty h2 {
  font-size: 1.05rem;
  margin: 0.85rem 0 0.35rem;
}

.news-list__empty p {
  margin: 0;
}

.news-list__back-links {
  margin-top: 0;
  padding: 1rem 1.25rem;
}

.news-list__pagination {
  align-items: center;
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 10px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  padding: 1rem 1.25rem;
}

.news-list__pagination > span:last-child {
  text-align: right;
}

.news-list__pagination a {
  align-items: center;
  border: 1px solid #c9d8df;
  border-radius: 8px;
  color: var(--news-accent);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.news-list__pagination a:hover {
  background: var(--news-accent-soft);
}

.news-list__pagination strong {
  color: var(--news-muted);
  font-size: 0.78rem;
}

.news-list__meta a:focus-visible,
.news-list__card h2 a:focus-visible,
.news-list__image-link:focus-visible,
.news-list__read-more:focus-visible,
.news-list__pagination a:focus-visible {
  outline: 3px solid rgba(40, 90, 114, 0.28);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .news-list__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-list__layout .news-detail__sidebar {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .news-list__hero,
  .news-list__card,
  .news-list__empty,
  .news-list__back-links {
    border-radius: 10px;
  }

  .news-list__hero {
    padding: 1.2rem;
  }

  .news-list__hero-icon {
    flex-basis: 52px;
    font-size: 1.15rem;
    height: 52px;
    width: 52px;
  }

  .news-list__card-header {
    padding: 1.2rem 1.2rem 1rem;
  }

  .news-list__excerpt {
    padding: 1rem 1.2rem 0;
  }

  .news-list__card-footer {
    padding: 1rem 1.2rem 1.2rem;
  }

  .news-list__pagination {
    gap: 0.6rem;
    grid-template-columns: 1fr 1fr;
    padding: 0.85rem;
  }

  .news-list__pagination strong {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }
}
