:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --line: #ebebeb;
  --max-hero: 980px;
  --max-article: 760px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

/* TOPBAR */
.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.topbar-inner {
  width: min(94%, 1320px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

/* PAGE */
.article-page {
  padding-bottom: 70px;
}

/* HERO */
.article-hero {
  width: min(92%, var(--max-hero));
  margin: 0 auto;
  padding: 56px 0 34px;
}

.article-category {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.045em;
  max-width: 900px;
  margin-bottom: 18px;
}

.article-intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* COVER */
.article-cover {
  width: min(92%, 1180px);
  margin: 0 auto 48px;
}

.article-cover img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  background: #f4f4f4;
}

/* CONTENT */
.article-content {
  width: min(90%, var(--max-article));
  margin: 0 auto;
}

.article-content p,
.article-content ul {
  margin-bottom: 22px;
  font-size: 1rem;
  color: #1b1b1b;
}

.article-content h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 44px;
  margin-bottom: 16px;
}

.article-content ul {
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  opacity: 0.7;
}

/* BACK */
.article-back {
  width: min(90%, var(--max-article));
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-back a {
  font-size: 0.92rem;
  color: var(--muted);
}

.article-back a:hover {
  color: var(--text);
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .topbar-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero {
    padding: 40px 0 26px;
  }

  .article-cover {
    margin-bottom: 34px;
  }

  .article-cover img {
    aspect-ratio: 4 / 4.6;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
  }

  .article-hero h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .article-intro {
    font-size: 0.98rem;
  }

  .article-content p,
  .article-content ul {
    font-size: 0.98rem;
  }

  .article-content h2 {
    font-size: 1.32rem;
  }
}
a:hover {
  color: #ffffff;
}

/* SEPARACIÓN VISUAL */
article {
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}

/* DESTACADOS */
strong {
  color: #ffffff;
}

/* BOTÓN (si lo usas después) */
.boton {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid #00c3ff;
  color: #00c3ff;
  transition: 0.3s;
}

.boton:hover {
  background-color: #00c3ff;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}