﻿:root {
  --bg-start: #f8fafc;
  --bg-end: #f3f4f6;
  --brand-1: #53C2ED;
  --brand-2: #5A66AC;
  --brand-3: #553A8E;
  --text: #374151;
  --text-strong: #111827;
  --card: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
  line-height: 1.65;
}

a { color: var(--brand-1); }
a:hover { opacity: 0.9; }

body > div:first-child > div:first-child {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  padding: 3rem 1rem;
}

body > div:first-child > div:first-child > div {
  max-width: 1200px;
  margin: 0 auto;
}

body > div:first-child > div:first-child > div > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

body > div:first-child > div:first-child > div > div > div:first-child {
  flex: 1;
}

body > div:first-child > div:first-child > div > div > div:last-child {
  flex-shrink: 0;
}

body > div:first-child > div:first-child p {
  color: rgba(255, 255, 255, 0.9);
}

body > div:first-child > div:first-child a {
  color: #fff;
  text-decoration: underline;
}

h1, h2, h3 { color: var(--text-strong); margin-top: 0; }
h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: 1.6rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }

body > div:first-child > div:nth-child(2) {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

body > div:first-child > div:nth-child(2) > div {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

aside > div {
  position: sticky;
  top: 1rem;
  background: var(--card);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.titulopoliticas {
     font-size: 36px !important;
    font-weight: bold;
}
aside nav a {
  display: block;
  text-decoration: none;
  color: #4b5563;
  font-size: 0.95rem;
  margin: 0.45rem 0;
}

aside nav a:hover { color: var(--brand-1); }

section {
  scroll-margin-top: 90px;
  margin-bottom: 1.8rem;
}

section ul {
  padding-left: 1.2rem;
  margin: 0.6rem 0;
}

section li { margin: 0.3rem 0; }

body > div:first-child > div:nth-child(2) > div > div:last-child {
  background: var(--card);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@media (max-width: 1024px) {
  body > div:first-child > div:nth-child(2) > div {
    grid-template-columns: 1fr;
  }
  aside { display: none; }
}

@media (max-width: 768px) {
  body > div:first-child > div:first-child > div > div {
    flex-direction: column;
    text-align: center;
  }
}
