.detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(125deg, #071d35 0%, #0b3456 58%, #0b5a59 100%);
  color: #fff;
}
.detail-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  bottom: -210px;
  border-radius: 50%;
  background: rgba(30, 168, 109, 0.28);
}
.detail-hero__inner {
  position: relative;
  z-index: 1;
}
.detail-back {
  display: inline-flex;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.detail-back:hover {
  color: #fff;
}
.detail-hero__meta {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.detail-hero p {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.detail-hero__facts {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
}
.detail-hero__facts div {
  display: grid;
  gap: 0.15rem;
}
.detail-hero__facts strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}
.detail-hero__facts span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-content {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: #fff;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.detail-section-heading {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.detail-section-heading span {
  color: var(--verde-600);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.detail-section-heading h2 {
  margin: 0.25rem 0 0;
  color: var(--azul-900);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.article-list {
  display: grid;
  gap: 1rem;
}
.article-item {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.article-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.74rem;
}
.article-item h3 {
  margin: 0;
  color: var(--azul-900);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.35;
}
.article-item p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.67;
}
.article-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.article-item__author {
  color: var(--azul-700);
  font-size: 0.78rem;
  font-weight: 600;
}
.article-item__source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--verde-600);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.article-item__source:hover {
  text-decoration: underline;
}
.article-item__source--missing {
  color: var(--muted);
  font-weight: 500;
}
.detail-side {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 1rem;
}
.detail-side__card {
  padding: 1.5rem;
  border-radius: 10px;
  background: #092944;
  color: #fff;
}
.detail-side__card > span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.detail-side__card strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.detail-side__card p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  line-height: 1.6;
}
.detail-pagination {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.detail-pagination a {
  padding: 1rem 1.1rem;
  color: var(--azul-700);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.detail-pagination a:last-child {
  border-bottom: 0;
}
.detail-pagination a:hover {
  background: #f5faf7;
}
.detail-loading,
.detail-error {
  padding: 2.5rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}
.detail-error strong {
  display: block;
  color: var(--azul-900);
  font-family: var(--font-serif);
  font-size: 1.4rem;
}
.detail-error a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--verde-600);
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-side {
    position: static;
  }
  .detail-pagination {
    grid-template-columns: 1fr 1fr;
  }
  .detail-pagination a {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .detail-pagination a:last-child {
    border-right: 0;
  }
}
@media (max-width: 650px) {
  .detail-hero__facts {
    gap: 1.5rem;
  }
  .article-item__footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-pagination {
    grid-template-columns: 1fr;
  }
  .detail-pagination a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
