/* 7+ Eventos · Blog & Insights (Design System Runway / v12) */
:root {
  --canvas: #FFFFFF;
  --ink: #0C0C0C;
  --body: #404040;
  --muted: #6B7280;
  --rule: #E5E7EB;
  --wash: #EEF1F5;
  --wash-2: #E5E7EB;
  --gold: #C9A84C;
  --gold-tint: rgba(201, 168, 76, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--canvas);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.blog-header {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.blog-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-logo {
  font-family: "Michroma", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-logo span { color: var(--gold); }
.blog-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.blog-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.blog-nav a:hover, .blog-nav a.active {
  color: var(--ink);
}
.btn-cta {
  background: var(--ink);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

/* Hero Section */
.blog-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
}
.blog-hero__tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-tint);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
  font-weight: 600;
}
.blog-hero__title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 16px;
}
.blog-hero__subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.5;
}

/* Feed & Cards */
.blog-feed {
  padding: 60px 0 80px;
}
.blog-categories {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cat-btn {
  background: var(--wash);
  border: 1px solid var(--rule);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-btn.active, .cat-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}
.article-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-card__tag {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.article-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.article-card__excerpt {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.article-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.article-card:hover .article-card__link::after {
  transform: translateX(4px);
}

/* Single Article Styling */
.article-page {
  padding: 50px 0 100px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
  align-items: center;
}
.breadcrumb span { color: var(--rule); }
.article-header {
  max-width: 820px;
  margin-bottom: 40px;
}
.article-header__h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.article-content {
  max-width: 780px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #262626;
}
.article-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
}
.article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-content p {
  margin-bottom: 24px;
}
.article-content ul, .article-content ol {
  margin: 0 0 28px 24px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-callout {
  background: var(--wash);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin: 32px 0;
  font-size: 1.05rem;
}
.article-cta-box {
  background: linear-gradient(135deg, #0C0C0C 0%, #1A1A1A 100%);
  color: #fff;
  padding: 40px;
  border-radius: 8px;
  margin: 50px 0;
}
.article-cta-box h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.article-cta-box p {
  color: #A3A3A3;
  margin-bottom: 24px;
}
.article-cta-box .btn-cta {
  background: var(--gold);
  color: var(--ink) !important;
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
}

/* Footer */
.blog-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0;
  background: #FAFAFA;
  font-size: 0.9rem;
  color: var(--muted);
}
.blog-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .blog-hero__title { font-size: 2rem; }
  .article-header__h1 { font-size: 2rem; }
  .blog-footer__inner { flex-direction: column; text-align: center; }
}
