:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #eef2f7;
  --brand: #111827;
  --brand-2: #1d4ed8;
  --accent: #c2410c;
  --accent-soft: #fff3ed;
  --green: #166534;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 18px 40px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.narrow-container {
  width: min(100% - 32px, 780px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 14px;
}

.brand {
  color: var(--brand);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 28px;
  padding-block: 44px 28px;
}

.eyebrow {
  width: fit-content;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 7px 12px;
}

h1 {
  margin-top: 16px;
  max-width: 780px;
  color: var(--brand);
  font-size: clamp(2.35rem, 10vw, 4.8rem);
  font-weight: 950;
  line-height: 0.98;
}

.lead,
.hero p,
.page-title p {
  margin-top: 18px;
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 850;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.primary:hover {
  background: #273244;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
}

.button.secondary:hover {
  background: var(--soft);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.stat-card,
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 20px;
}

.info-card {
  position: relative;
  border-color: #d9e2ef;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.info-card::after {
  content: "Informativo";
  position: absolute;
  top: 14px;
  right: 16px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 800;
}

.stat-label,
.card-label,
.post-category {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.stat-value {
  margin-top: 8px;
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

.stat-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.section,
.section-wide {
  padding-block: 36px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2,
.topics h2,
.page-title h1 {
  color: var(--brand);
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  font-weight: 920;
  line-height: 1.08;
}

.section-header p {
  margin-top: 10px;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid,
.post-grid,
.article-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.category-card,
.post-card,
.feature-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.category-card:hover,
.post-card:hover,
.feature-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lift);
}

.info-card:hover {
  transform: none;
  border-color: #d9e2ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.category-title {
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 900;
}

.card-copy,
.post-card p,
.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.post-card h2,
.post-card h3 {
  margin-top: 12px;
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.32;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.read-more {
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.highlight-band {
  margin-block: 20px;
  background: var(--brand);
  color: #fff;
}

.highlight-inner {
  display: grid;
  gap: 22px;
  padding-block: 34px;
}

.highlight-band h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.08;
}

.highlight-band p {
  margin-top: 12px;
  color: #dbeafe;
  line-height: 1.65;
}

.highlight-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.content-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 50px;
}

.topics,
.social-card,
.about-card {
  padding: 22px;
}

.latest-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.latest-item {
  display: flex;
  gap: 14px;
  border: 1px solid var(--soft);
  border-radius: 12px;
  padding: 14px;
}

.number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.latest-title {
  color: var(--brand);
  font-weight: 850;
}

.latest-copy {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.social-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--brand);
  font-weight: 850;
}

.social-link:hover {
  border-color: var(--accent);
}

.page-title {
  padding-block: 46px 24px;
}

.article-list {
  padding-bottom: 64px;
}

.article-header {
  padding-block: 44px 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

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

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: #94a3b8;
}

.article-header h1 {
  font-size: clamp(2.1rem, 8vw, 3.55rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.article-content {
  padding-bottom: 72px;
}

.article-content article {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.article-content h2 {
  margin-top: 32px;
  color: var(--brand);
  font-size: 1.55rem;
  line-height: 1.2;
}

.article-content p {
  margin-top: 17px;
  color: #2f3135;
  font-size: 1.04rem;
  line-height: 1.82;
}

.featured-media {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.featured-media img {
  width: 100%;
  height: auto;
}

.featured-caption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.scan-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: #2f3135;
  font-size: 1.02rem;
  line-height: 1.7;
}

.highlight-quote {
  margin-top: 28px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
  padding: 18px 20px;
  color: #9a3412;
  font-weight: 700;
  line-height: 1.65;
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
}

.share-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.final-article-cta {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 24px;
}

.final-article-cta h2 {
  margin-top: 0;
}

.final-article-cta p {
  margin-top: 12px;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: #2f3135;
  font-size: 1.04rem;
  line-height: 1.7;
}

.quick-summary,
.article-note {
  margin-top: 28px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-soft);
  padding: 18px 20px;
  color: #7c2d12;
  line-height: 1.6;
}

.quick-summary {
  border-left-color: var(--brand-2);
  background: #eff6ff;
  color: #1e3a8a;
}

.quick-summary strong {
  display: block;
  margin-bottom: 8px;
  color: #1e40af;
}

.related-links,
.source-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.related-links h2,
.source-list h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.source-list a,
.related-links a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (min-width: 640px) {
  .category-grid,
  .article-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-block: 72px 48px;
  }

  .highlight-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .category-grid,
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: static;
  }

  .button {
    width: 100%;
  }
}
