/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --primary-dark: #1b4332;
  --primary-bg: #d8f3dc;
  --accent: #d4a017;
  --accent-light: #f0d060;
  --bg: #f8faf8;
  --bg-card: #ffffff;
  --bg-sidebar: #1b4332;
  --text: #2c3e2c;
  --text-light: #5a6f5a;
  --text-muted: #8a9a8a;
  --text-sidebar: #d8f3dc;
  --border: #d0ddd0;
  --shadow: 0 2px 12px rgba(27,67,50,0.08);
  --shadow-lg: 0 8px 32px rgba(27,67,50,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --sidebar-width: 300px;
  --header-height: 70px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --primary: #52b788;
  --primary-light: #74c69d;
  --primary-dark: #40916c;
  --primary-bg: #1b4332;
  --accent: #f0d060;
  --accent-light: #d4a017;
  --bg: #0d1117;
  --bg-card: #161b22;
  --bg-sidebar: #0d1117;
  --text: #e6edf3;
  --text-light: #8b949e;
  --text-muted: #6e7681;
  --text-sidebar: #e6edf3;
  --border: #30363d;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

[data-theme="dark"] .header {
  background: rgba(13,17,23,0.95);
  border-bottom-color: #30363d;
}

[data-theme="dark"] .search-input {
  background: #0d1117;
  border-color: #30363d;
  color: #e6edf3;
}
[data-theme="dark"] .search-input:focus {
  background: #161b22;
  border-color: #52b788;
}
[data-theme="dark"] .search-results {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .search-result-item {
  border-bottom-color: #30363d;
}
[data-theme="dark"] .search-result-item:hover {
  background: #1b4332;
}

[data-theme="dark"] .sidebar {
  background: #0d1117;
  border-right: 1px solid #30363d;
}
[data-theme="dark"] .nav-link:hover {
  background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .nav-link.active {
  background: rgba(82,183,136,0.2);
}
[data-theme="dark"] .sidebar-footer {
  background: rgba(255,255,255,0.03);
}

[data-theme="dark"] .breadcrumb {
  background: rgba(13,17,23,0.9);
  border-bottom-color: #30363d;
}

[data-theme="dark"] .card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .timeline-item {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

[data-theme="dark"] .accordion-header {
  background: #161b22;
  color: #e6edf3;
}
[data-theme="dark"] .accordion-header:hover {
  background: #1b4332;
}

[data-theme="dark"] table th {
  background: #1b4332;
  color: #74c69d;
}
[data-theme="dark"] tr:hover td {
  background: rgba(27,67,50,0.3);
}
[data-theme="dark"] th, [data-theme="dark"] td {
  border-bottom-color: #30363d;
}

[data-theme="dark"] .tip-box.success {
  background: rgba(40,167,69,0.15);
  border-left-color: #28a745;
  color: #7ee787;
}
[data-theme="dark"] .tip-box.warning {
  background: rgba(255,193,7,0.15);
  border-left-color: #ffc107;
  color: #f0d060;
}
[data-theme="dark"] .tip-box.danger {
  background: rgba(220,53,69,0.15);
  border-left-color: #dc3545;
  color: #f97583;
}
[data-theme="dark"] .tip-box.info {
  background: rgba(23,162,184,0.15);
  border-left-color: #17a2b8;
  color: #79c0ff;
}

[data-theme="dark"] .callout {
  background: rgba(27,67,50,0.3);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);
}

[data-theme="dark"] .breed-stats .breed-stat {
  background: rgba(27,67,50,0.4);
  color: #74c69d;
}

[data-theme="dark"] .tab-btn {
  color: #8b949e;
}
[data-theme="dark"] .tab-btn.active {
  color: #74c69d;
  border-bottom-color: #52b788;
}

[data-theme="dark"] .breadcrumb-item a {
  color: #74c69d;
}
[data-theme="dark"] .breadcrumb-item a:hover {
  background: rgba(27,67,50,0.3);
}
[data-theme="dark"] .breadcrumb-item.active {
  color: #8b949e;
}
[data-theme="dark"] .breadcrumb-sep {
  color: #6e7681;
}

[data-theme="dark"] .prev-next-link {
  background: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .prev-next-link:hover {
  border-color: #52b788;
}
[data-theme="dark"] .prev-next-link .pn-title {
  color: #e6edf3;
}
[data-theme="dark"] .prev-next-link:hover .pn-title {
  color: #74c69d;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0d1117;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #30363d;
}

.dark-toggle {
  background: none; border: 2px solid var(--border); border-radius: 50px;
  padding: 6px 12px; font-size: 1rem; cursor: pointer;
  transition: var(--transition); color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.dark-toggle:hover {
  border-color: var(--primary); background: var(--primary-bg);
}
.dark-toggle .toggle-icon { font-size: 1.1rem; }
.dark-toggle .toggle-label { font-size: 0.75rem; font-weight: 500; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px;
  z-index: 1000;
}

.menu-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--primary);
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  transition: var(--transition);
}
.menu-toggle:hover { background: var(--primary-bg); }

.header-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--primary-dark);
}
.header-brand .logo { font-size: 2rem; }
.header-brand h1 { font-size: 1.25rem; font-weight: 700; }
.header-brand span { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; display: block; margin-top: -2px; }

.search-link-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 2px solid var(--border); border-radius: 50px;
  text-decoration: none; color: var(--text-muted); font-size: 0.88rem;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
  margin-left: auto;
}
.search-link-btn:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-bg);
}

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.breadcrumb {
  position: fixed; top: var(--header-height); left: var(--sidebar-width); right: 0;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 10px 32px; font-size: 0.8rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border); z-index: 999;
  transition: var(--transition);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed; top: var(--header-height); left: 0; bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  overflow-y: auto; z-index: 999;
  transition: var(--transition);
}

.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 998;
}

.sidebar-nav { padding: 16px 0; }

.nav-section {
  padding: 0 16px; margin-bottom: 4px;
}

.nav-section-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(216,243,220,0.5); padding: 8px 12px; font-weight: 600;
  cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-section-title:hover { color: rgba(216,243,220,0.8); background: rgba(255,255,255,0.05); }
.nav-section-title .section-chevron {
  font-size: 0.6rem; transition: transform 0.25s ease; display: inline-block; margin-left: 4px;
}
.nav-section.collapsed .section-chevron { transform: rotate(0deg); }
.nav-section:not(.collapsed) .section-chevron { transform: rotate(90deg); }

.nav-section-links {
  overflow: hidden; transition: max-height 0.3s ease, opacity 0.25s ease;
  max-height: 600px; opacity: 1;
}
.nav-section.collapsed .nav-section-links {
  max-height: 0; opacity: 0; padding: 0;
}
.nav-section:not(.collapsed) .nav-section-links {
  max-height: 600px; opacity: 1;
}

.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-sidebar); text-decoration: none;
  font-size: 0.88rem; transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-link.active { background: rgba(64,145,108,0.3); color: #fff; font-weight: 600; }
.nav-link .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; }

.nav-link .nav-badge {
  margin-left: auto; font-size: 0.65rem; padding: 2px 8px;
  background: var(--accent); color: var(--primary-dark);
  border-radius: 50px; font-weight: 700;
}

.nav-divider {
  height: 1px; background: rgba(255,255,255,0.08); margin: 12px 16px;
}

.sidebar-footer {
  padding: 16px; margin: 8px 12px;
  background: rgba(255,255,255,0.05); border-radius: var(--radius-sm);
  font-size: 0.78rem; color: rgba(216,243,220,0.6);
  line-height: 1.5;
}

/* ===== MAIN CONTENT ===== */
.main {
  margin-left: var(--sidebar-width);
  padding: calc(var(--header-height) + 48px) 48px 80px;
  max-width: 1000px;
  min-height: 100vh;
}

/* ===== HERO / HOME ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: var(--radius); padding: 48px;
  color: #fff; margin-bottom: 40px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.hero p { font-size: 1.05rem; opacity: 0.9; max-width: 600px; position: relative; z-index: 1; line-height: 1.8; }
.hero .hero-badge {
  display: inline-block; padding: 4px 14px;
  background: rgba(255,255,255,0.2); border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 16px;
  position: relative; z-index: 1; letter-spacing: 0.5px;
}

/* ===== QUICK STATS ===== */
.quick-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.stat-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); text-align: center;
  transition: var(--transition); border: 1px solid var(--border);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-card .stat-number { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== SECTION STYLES ===== */
.section { margin-bottom: 48px; scroll-margin-top: calc(var(--header-height) + 60px); }
.section-header { margin-bottom: 24px; }
.section-header h2 {
  font-size: 1.8rem; font-weight: 800; color: var(--primary-dark);
  display: flex; align-items: center; gap: 12px;
}
.section-header p { color: var(--text-light); margin-top: 8px; font-size: 0.95rem; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border); margin-bottom: 20px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.card h4 { font-size: 1rem; font-weight: 600; color: var(--primary); margin: 16px 0 8px; }
.card p { margin-bottom: 10px; color: var(--text); }
.card ul, .card ol { padding-left: 20px; margin-bottom: 12px; }
.card li { margin-bottom: 6px; color: var(--text); }

/* ===== CARD GRID ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.card-grid .card { margin-bottom: 0; }

/* ===== BREED CARDS ===== */
.breed-card { border-left: 4px solid var(--primary); }
.breed-card .breed-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.breed-card .breed-icon { font-size: 1.8rem; }
.breed-card .breed-name { font-size: 1.1rem; font-weight: 700; }
.breed-card .breed-latin { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.breed-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.breed-stat {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; background: var(--primary-bg);
  border-radius: 50px; font-size: 0.75rem; color: var(--primary-dark); font-weight: 500;
}

/* ===== TABLES ===== */
.table-wrapper { overflow-x: auto; margin: 16px 0; }
table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem;
}
th, td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--primary-bg); color: var(--primary-dark);
  font-weight: 600; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.5px;
}
tr:hover td { background: rgba(216,243,220,0.3); }

/* ===== TIPS / INFO BOXES ===== */
.tip-box {
  padding: 20px 24px; border-radius: var(--radius-sm);
  margin: 16px 0; font-size: 0.9rem; line-height: 1.6;
}
.tip-box.success { background: #d4edda; border-left: 4px solid #28a745; color: #155724; }
.tip-box.warning { background: #fff3cd; border-left: 4px solid #ffc107; color: #856404; }
.tip-box.danger { background: #f8d7da; border-left: 4px solid #dc3545; color: #721c24; }
.tip-box.info { background: #d1ecf1; border-left: 4px solid #17a2b8; color: #0c5460; }
.tip-box .tip-title { font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }

/* ===== ACCORDION ===== */
.accordion { margin: 16px 0; }
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 8px; overflow: hidden;
}
.accordion-header {
  padding: 14px 20px; background: var(--bg-card);
  cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; font-weight: 600;
  font-size: 0.92rem; transition: var(--transition);
}
.accordion-header:hover { background: var(--primary-bg); }
.accordion-header .arrow { transition: var(--transition); font-size: 0.8rem; }
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-item.open .accordion-body { padding: 16px 20px; max-height: 2000px; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 32px; margin: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 0; bottom: 0;
  width: 2px; background: var(--primary-bg);
}
.timeline-item {
  position: relative; margin-bottom: 24px;
  padding: 16px 20px; background: var(--bg-card);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff;
}
.timeline-item .tl-title { font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.timeline-item .tl-time { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* ===== TABS ===== */
.tabs { margin: 16px 0; }
.tab-buttons { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 20px; border: none; background: none;
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: var(--transition); font-family: inherit;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary-dark); border-bottom-color: var(--primary); font-weight: 700; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== CALLOUT ===== */
.callout {
  display: flex; gap: 16px; padding: 20px 24px;
  background: var(--primary-bg); border-radius: var(--radius-sm);
  margin: 16px 0; align-items: flex-start;
}
.callout-icon { font-size: 1.5rem; flex-shrink: 0; }
.callout-text h4 { font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }

/* ===== CHECKLIST ===== */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(208,221,208,0.5);
}
.checklist li:last-child { border-bottom: none; }
.check { color: var(--primary); font-weight: bold; flex-shrink: 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
  margin-bottom: 8px;
  padding: 12px 0;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.breadcrumb-item a:hover {
  background: var(--primary-bg);
  text-decoration: none;
}
.breadcrumb-item.active {
  color: var(--text-muted);
  font-weight: 600;
  padding: 2px 6px;
}
.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.9rem;
  user-select: none;
  opacity: 0.6;
}

/* ===== PREV / NEXT NAVIGATION ===== */
.prev-next-nav {
  display: flex;
  gap: 16px;
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.prev-next-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}
.prev-next-link:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.prev-next-link.prev {
  align-items: flex-start;
}
.prev-next-link.next {
  align-items: flex-end;
  text-align: right;
}
.prev-next-link .pn-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.prev-next-link .pn-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
}
.prev-next-link:hover .pn-title {
  color: var(--primary);
}
.prev-next-link.disabled {
  visibility: hidden;
}

/* ===== FOOTER ===== */
.footer {
  margin-left: var(--sidebar-width);
  padding: 40px 48px; background: var(--primary-dark);
  color: var(--text-sidebar); font-size: 0.85rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 24px; }
.footer h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
.footer p, .footer a { color: rgba(216,243,220,0.7); text-decoration: none; line-height: 2; }
.footer a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(216,243,220,0.4); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow-lg); display: none;
  align-items: center; justify-content: center;
  transition: var(--transition); z-index: 900;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== CONTENT SECTIONS VISIBILITY ===== */
.content-section { display: none; }
.content-section.active { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.active { display: block; }
  .menu-toggle { display: flex; }
  .main { margin-left: 0; padding: calc(var(--header-height) + 48px) 20px 60px; }
  .breadcrumb { left: 0; }
  .footer { margin-left: 0; padding: 32px 20px; }
  .hero { padding: 32px 24px; }
  .hero h2 { font-size: 1.6rem; }
  .search-container { margin: 0 16px; }
}

@media (max-width: 600px) {
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 1.3rem; }
}

@media (max-width: 640px) {
  .prev-next-nav { flex-direction: column; gap: 12px; }
  .prev-next-link.next { align-items: flex-start; text-align: left; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .sidebar, .header, .back-to-top, .search-container { display: none !important; }
  .main { margin-left: 0; padding: 20px; }
  .content-section { display: block !important; }
  .footer { margin-left: 0; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.content-section.active { animation: fadeIn 0.35s ease; }
