:root {
  --bg: #0b1120;
  --bg-card: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --accent: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --border: #334155;
  --radius: 12px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --accent: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --border: #e2e8f0;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER & NAVIGATION */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}

.theme-toggle:hover {
  background: var(--border);
}

/* HERO SECTION */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* CHIPS & NAVIGATION TILES */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.chip:hover,
.chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* CALCULATOR CARD */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.form-group input,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.875rem;
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.preset-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.btn-preset {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-preset.active,
.btn-preset:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.calc-result {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.res-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.res-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.res-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.copy-btn {
  background: var(--border);
  color: var(--text);
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* RADAR SALARIAL TABLE */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

[data-theme="light"] th {
  background: #f1f5f9;
}

tr:last-child td {
  border-bottom: none;
}

/* CARDS GRID FOR POSTS AND TOOLS */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.post-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--border);
}

.post-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-img-wrapper img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.post-meta {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.post-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.post-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--primary);
}

.post-excerpt {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* HERRAMIENTAS GRID */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tool-badge {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* PAGINATION COMPONENT */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.page-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.page-item:hover,
.page-item.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.page-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ARTICLE DETAILED VIEW & LINKS STYLING */
.article-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
}

.breadcrumbs {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.article-meta-bar {
  display: flex;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}

.post-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.post-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.875rem;
  color: var(--text);
}

.post-body p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.75;
}

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

/* HIGH CONTRAST IN-BODY HYPERLINKS IN DARK AND LIGHT MODES */
.post-body a {
  color: #38bdf8 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.post-body a:hover {
  color: #7dd3fc !important;
}

[data-theme="light"] .post-body a {
  color: #0284c7 !important;
}

[data-theme="light"] .post-body a:hover {
  color: #0369a1 !important;
}

.post-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
}

/* VERDICT, AUTHOR & HIGHLIGHT BOXES */
.verdict-box,
.takeaways-box {
  background: var(--bg-card) !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  padding: 1.5rem 1.75rem !important;
  margin: 2rem 0 !important;
  color: var(--text) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .verdict-box,
[data-theme="light"] .takeaways-box {
  background: #f0f9ff !important;
  border-left-color: #0284c7 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.verdict-box p,
.takeaways-box p,
.verdict-box span,
.takeaways-box span,
.verdict-box strong,
.takeaways-box strong {
  color: var(--text) !important;
}

[data-theme="light"] .verdict-box p,
[data-theme="light"] .takeaways-box p,
[data-theme="light"] .verdict-box span,
[data-theme="light"] .takeaways-box span,
[data-theme="light"] .verdict-box strong,
[data-theme="light"] .takeaways-box strong {
  color: #0f172a !important;
}

.verdict-box p:first-child,
.takeaways-box h4 {
  color: var(--primary) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.75rem !important;
}

[data-theme="light"] .verdict-box p:first-child,
[data-theme="light"] .takeaways-box h4 {
  color: #0284c7 !important;
}

.author-box {
  display: flex !important;
  align-items: center !important;
  background: var(--bg-card) !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: var(--radius-lg) !important;
  margin: 2rem 0 !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

[data-theme="light"] .author-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

.author-box p,
.author-box span,
.author-box strong {
  color: var(--text) !important;
}

[data-theme="light"] .author-box p,
[data-theme="light"] .author-box span,
[data-theme="light"] .author-box strong {
  color: #0f172a !important;
}

/* EXCEL SaaS TEMPLATE DOWNLOAD CARD */
.excel-template-box {
  background: #064e3b;
  border: 1px solid #10b981;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2.5rem 0;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .excel-template-box {
  background: #ecfdf5;
  border-color: #059669;
}

.excel-header {
  padding: 1.5rem 1.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.excel-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.excel-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.375rem;
}

[data-theme="light"] .excel-main-title {
  color: #064e3b;
}

.excel-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-excel-dl {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-excel-dl:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-excel-copy {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

[data-theme="light"] .btn-excel-copy {
  background: #ffffff;
  color: #064e3b;
  border-color: #a7f3d0;
}

.excel-sheets-container {
  padding: 1.5rem 1.75rem;
}

.excel-sheet-section {
  margin-bottom: 1.75rem;
}

.excel-sheet-section:last-child {
  margin-bottom: 0;
}

.sheet-title {
  color: #6ee7b7;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

[data-theme="light"] .sheet-title {
  color: #047857;
}

.excel-table {
  min-width: 650px;
}

.excel-table th {
  background: #047857;
  color: #ffffff;
  font-weight: 700;
}

.excel-table td {
  border-color: rgba(16, 185, 129, 0.2);
  color: #ecfdf5;
}

[data-theme="light"] .excel-table td {
  color: #064e3b;
}

/* UX_TOOL CONTAINER & FORM ELEMENTS FOR ALL 2,505 POSTS */
#ux-tool-container,
.ux-tool-container,
.post-body div[id*="ux-tool"],
.post-body div[style*="border"] {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 2rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  color: var(--text) !important;
  margin: 2.5rem 0 !important;
}

[data-theme="light"] #ux-tool-container,
[data-theme="light"] .ux-tool-container,
[data-theme="light"] .post-body div[id*="ux-tool"] {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Force inner div wrappers to match card background */
#ux-tool-container div,
.ux-tool-container div {
  background: transparent !important;
  color: var(--text) !important;
}

[data-theme="light"] #ux-tool-container div,
[data-theme="light"] .ux-tool-container div {
  color: #0f172a !important;
}

#ux-tool-container h3,
#ux-tool-container label,
.ux-tool-container h3,
.ux-tool-container label {
  color: var(--text) !important;
}

[data-theme="light"] #ux-tool-container h3,
[data-theme="light"] #ux-tool-container label,
[data-theme="light"] .ux-tool-container h3,
[data-theme="light"] .ux-tool-container label {
  color: #0f172a !important;
}

.post-body input[type="text"],
.post-body input[type="number"],
.post-body textarea,
.post-body select,
#ux-tool-container input,
#ux-tool-container textarea,
#ux-tool-container select {
  background: var(--bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 0.875rem 1rem !important;
  font-size: 0.9375rem !important;
  width: 100% !important;
}

[data-theme="light"] .post-body input[type="text"],
[data-theme="light"] .post-body input[type="number"],
[data-theme="light"] .post-body textarea,
[data-theme="light"] .post-body select,
[data-theme="light"] #ux-tool-container input,
[data-theme="light"] #ux-tool-container textarea,
[data-theme="light"] #ux-tool-container select {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

#ux-btn-action,
#ux-btn-copy,
.ux-tool-container button,
.post-body button[type="button"],
.post-body button[id*="ux-btn"] {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: var(--radius) !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#ux-btn-copy {
  background: #10b981 !important;
}

#ux-btn-action:hover,
#ux-btn-copy:hover,
.ux-tool-container button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35) !important;
}

/* UX_RESULT_BOX, PRE & OUTPUT DISPLAY AREA */
#ux-result-box,
.ux-result-box {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 1.75rem !important;
  margin-top: 1.75rem !important;
  color: var(--text) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="light"] #ux-result-box,
[data-theme="light"] .ux-result-box {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

#ux-result-box div,
#ux-result-box p,
#ux-result-box pre {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
  padding: 1rem 1.25rem !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

[data-theme="light"] #ux-result-box div,
[data-theme="light"] #ux-result-box p,
[data-theme="light"] #ux-result-box pre {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

#ux-result-box h4,
#ux-result-box h3,
#ux-result-box .result-header {
  color: var(--primary) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

[data-theme="light"] #ux-result-box h4,
[data-theme="light"] #ux-result-box h3 {
  color: #0284c7 !important;
}

#ux-result-content,
.ux-result-content {
  background: transparent !important;
  color: var(--text) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Force all text elements inside result content to inherit pristine high contrast */
#ux-result-content p,
#ux-result-content div,
#ux-result-content li,
#ux-result-content td,
#ux-result-content span,
#ux-result-content strong,
#ux-result-content pre {
  color: var(--text) !important;
}

[data-theme="light"] #ux-result-content p,
[data-theme="light"] #ux-result-content div,
[data-theme="light"] #ux-result-content li,
[data-theme="light"] #ux-result-content td,
[data-theme="light"] #ux-result-content span,
[data-theme="light"] #ux-result-content strong,
[data-theme="light"] #ux-result-content pre {
  color: #0f172a !important;
}

/* FOOTER */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .article-header h1 {
    font-size: 1.875rem;
  }
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }
}
