@charset "UTF-8";
/* Colors */
:root {
  /* Primary Colors */
  --navy-900: #1a1b45;
  --navy-800: #2b2d75;
  --navy-700: #3d4099;
  --navy-600: #5255b3;
  --navy-100: #e8e8f4;
  --navy-50: #f4f4fa;
  /* Accent Colors */
  --orange-600: #d4682f;
  --orange-500: #ee753c;
  --orange-400: #f28f5a;
  --orange-300: #f5a878;
  --orange-100: #fde8db;
  --orange-50: #fef5f0;
  /* Neutrals */
  --gray-900: #1a1a1a;
  --gray-800: #2d2d2d;
  --gray-700: #4a4a4a;
  --gray-600: #6b6b6b;
  --gray-500: #8a8a8a;
  --gray-400: #a8a8a8;
  --gray-300: #d1d1d1;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  /* Semantic Colors */
  --success: #2e7d4a;
  --success-light: #e8f5ec;
  --warning: #c4760d;
  --warning-light: #fef6e6;
  --error: #c53030;
  --error-light: #fee8e8;
  --info: #2b2d75;
  --info-light: #e8e8f4;
  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  /* Typography */
  --font-family:
    "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --line-height: 1.6;
  --line-height-tight: 1.3;
  /* Border Radius */
  --radius: 4px;
  /* Container */
  --container-max-width: 1200px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--gray-700);
  background: var(--white);
}

a {
  color: var(--orange-300);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--orange-600);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--navy-800);
  line-height: var(--line-height-tight);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-2);
  text-align: justify;
}

/* Alerts */
.alert {
  margin: var(--space-2) 0;
}

.alert-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--gray-50);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-800);
  margin: 0;
}

.alert-primary .alert-text {
  background: var(--info-light);
  border-color: var(--info);
}

.alert-success .alert-text {
  background: var(--success-light);
  border-color: var(--success);
}

.alert-warning .alert-text {
  background: var(--warning-light);
  border-left-color: var(--warning);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-700);
  text-decoration: none;
}

.btn-secondary {
  background: var(--orange-500);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--orange-600);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-50);
  text-decoration: none;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-icon {
  display: flex;
  gap: 3px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-800);
}

.logo-dot.accent {
  background: var(--orange-500);
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text .adf {
  color: var(--orange-500);
}

.logo-text .full {
  color: var(--navy-800);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav a:hover {
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-1);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-1) var(--space-2);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-800);
  background: var(--navy-50);
  text-decoration: none;
}

.nav-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: var(--space-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: var(--space-1) var(--space-2);
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background: var(--navy-50);
  color: var(--navy-800);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-1);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--navy-800);
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-4);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-list.active {
    transform: translateX(0);
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--gray-200);
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    padding-left: var(--space-4);
  }
  .menu-toggle {
    display: block;
  }
}
/* Breadcrumbs */
.breadcrumbs {
  background: var(--gray-50);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: ">";
  margin-left: var(--space-2);
  color: var(--gray-400);
}

.breadcrumbs-list a {
  color: var(--gray-600);
}

.breadcrumbs-list a:hover {
  color: var(--navy-800);
  text-decoration: none;
}

.breadcrumbs-list .current {
  color: var(--navy-800);
  font-weight: 500;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-50) 0%, var(--white) 100%);
  padding: var(--space-7) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--orange-100);
  color: var(--orange-600);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-badge a {
  color: inherit;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

.hero-title span {
  color: var(--orange-500);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: 0 8px 32px rgba(43, 45, 117, 0.1);
}

.hero-image img {
  width: 100%;
}

.hero-stat {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-stat.top-right {
  top: -20px;
  right: -20px;
}

.hero-stat.bottom-left {
  bottom: -20px;
  left: -20px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-800);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quick Links */
.quick-links {
  padding: var(--space-6) 0;
  background: var(--white);
  margin-top: calc(-1 * var(--space-5));
  position: relative;
  z-index: 10;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.quick-link-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.quick-link-card:hover {
  border-color: var(--navy-800);
  box-shadow: 0 4px 12px rgba(43, 45, 117, 0.1);
}

.quick-link-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.quick-link-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy-800);
}

.quick-link-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-1);
}

.quick-link-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.quick-link-card .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--orange-500);
}

.quick-link-card .link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.quick-link-card:hover .link svg {
  transform: translateX(4px);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-5);
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-600);
}

/* About Disease */
.about-disease {
  padding: var(--space-7) 0;
  background: var(--gray-50);
}

.disease-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.disease-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200);
}

.disease-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 45, 117, 0.1);
}

.disease-card-icon {
  width: 80px;
  height: 80px;
  background: var(--navy-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
}

.disease-card-icon svg {
  width: 40px;
  height: 40px;
  color: var(--navy-800);
}

.disease-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.disease-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
}

.disease-card .btn {
  width: 100%;
}

/* Collaborate */
.collaborate {
  padding: var(--space-7) 0;
  background: var(--white);
}

.collaborate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.collaborate-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.collaborate-card:hover {
  box-shadow: 0 8px 24px rgba(43, 45, 117, 0.1);
}

.collaborate-card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.collaborate-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
}

.collaborate-card-image.socio {
  background-image: url("/images/layout/Hazte-Socio-ADF.320x280.jpg");
}

.collaborate-card-image.voluntario {
  background-image: url("/images/layout/Voluntariado-ADF.320x280.jpg");
}

.collaborate-card-image.donativo {
  background-image: url("/images/layout/Donativo-ADF.320x280.jpg");
}

.collaborate-card-image h3 {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
  background-size: cover;
  background-position: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.collaborate-card-content {
  padding: var(--space-3);
}

.collaborate-card-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

/* News */
.news {
  padding: var(--space-7) 0;
  background: var(--white);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.news-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-800);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 4px 16px rgba(43, 45, 117, 0.1);
}

.news-card-image {
  height: 160px;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--navy-800);
  opacity: 0.3;
}

.news-card-content {
  padding: var(--space-3);
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-1);
  line-height: 1.4;
}

.news-card-title a {
  color: inherit;
}

.news-card-title a:hover {
  color: var(--orange-500);
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* CTA */
.cta {
  padding: var(--space-7) 0;
  background: var(--navy-800);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.cta p {
  font-size: 1.0625rem;
  color: var(--navy-100);
  margin-bottom: var(--space-4);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.cta .btn-secondary {
  background: var(--orange-500);
}

.cta .btn-secondary:hover {
  background: var(--orange-400);
}

.cta .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--navy-600);
  color: var(--gray-50);
  padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: var(--space-2);
}

.footer-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-1);
}

.footer-links a, .footer-bottom a {
  font-size: 0.9375rem;
  color: var(--gray-100);
  transition: color 0.2s ease;
}

.footer-links a:hover, .footer-bottom a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--navy-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--gray-300);
}

.footer-social a:hover, .footer-social a:hover svg {
  background: var(--navy-800);
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--gray-300);
}

/* Helper Classes */
.round-0 {
  border-radius: 0;
}

.round-sm {
  border-radius: 4px;
}

.round {
  border-radius: 8px;
}

.round-lg {
  border-radius: 12px;
}

.round-xl {
  border-radius: 16px;
}

.round-2xl {
  border-radius: 20px;
}

.round-3xl {
  border-radius: 24px;
}

.round-full {
  border-radius: 50%;
}

.round-25 {
  border-radius: 25%;
}

.round-50 {
  border-radius: 50%;
}

.round-75 {
  border-radius: 75%;
}

/* Text Alignment */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

/* Floats */
.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-none {
  float: none;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Display */
.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

/* Flexbox Utilities */
.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.items-stretch {
  align-items: stretch;
}

/* Spacing */
.m-0 {
  margin: 0;
}

.m-1 {
  margin: 0.25rem;
}

.m-2 {
  margin: 0.5rem;
}

.m-3 {
  margin: 1rem;
}

.m-4 {
  margin: 1.5rem;
}

.m-5 {
  margin: 2rem;
}

.m-6 {
  margin: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

.ml-0 {
  margin-left: 0;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 1rem;
}

.ml-4 {
  margin-left: 1.5rem;
}

.ml-5 {
  margin-left: 2rem;
}

.ml-6 {
  margin-left: 3rem;
}

.mr-0 {
  margin-right: 0;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 1rem;
}

.mr-4 {
  margin-right: 1.5rem;
}

.mr-5 {
  margin-right: 2rem;
}

.mr-6 {
  margin-right: 3rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.p-5 {
  padding: 2rem;
}

.p-6 {
  padding: 3rem;
}

/* Width & Height */
.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.w-1\/2 {
  width: 50%;
}

.w-1\/3 {
  width: 33.333%;
}

.w-2\/3 {
  width: 66.666%;
}

.w-1\/4 {
  width: 25%;
}

.w-3\/4 {
  width: 75%;
}

.max-w-100 {
  max-width: 100px;
}

.max-w-200 {
  max-width: 200px;
}

.max-w-300 {
  max-width: 300px;
}

.max-w-400 {
  max-width: 400px;
}

.max-w-500 {
  max-width: 500px;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-800 {
  max-width: 1000px;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.static {
  position: static;
}

.sticky {
  position: sticky;
}

/* Shadows */
.shadow-none {
  box-shadow: none;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

/* Borders */
.border-0 {
  border-width: 0;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-4 {
  border-width: 4px;
}

.border-8 {
  border-width: 8px;
}

/* Colors */
.text-primary {
  color: var(--navy-800);
}

.text-secondary {
  color: var(--gray-600);
}

.text-accent {
  color: var(--accent-600);
}

.text-white {
  color: var(--white);
}

.text-black {
  color: var(--black);
}

.bg-primary {
  background-color: var(--navy-800);
}

.bg-secondary {
  background-color: var(--gray-100);
}

.bg-accent {
  background-color: var(--accent-600);
}

.bg-white {
  background-color: var(--white);
}

.bg-black {
  background-color: var(--black);
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

/* Responsive helpers */
@media (max-width: 640px) {
  .sm\:hidden {
    display: none;
  }
  .sm\:block {
    display: block;
  }
  .sm\:flex {
    display: flex;
  }
  .sm\:text-center {
    text-align: center;
  }
  .sm\:text-left {
    text-align: left;
  }
  .sm\:text-right {
    text-align: right;
  }
}
@media (max-width: 768px) {
  .md\:hidden {
    display: none;
  }
  .md\:block {
    display: block;
  }
  .md\:flex {
    display: flex;
  }
  .md\:text-center {
    text-align: center;
  }
  .md\:text-left {
    text-align: left;
  }
  .md\:text-right {
    text-align: right;
  }
}
@media (max-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
  .lg\:block {
    display: block;
  }
  .lg\:flex {
    display: flex;
  }
  .lg\:text-center {
    text-align: center;
  }
  .lg\:text-left {
    text-align: left;
  }
  .lg\:text-right {
    text-align: right;
  }
}
/* figures */
figure {
  text-align: center;
}

figure img {
  margin: 0;
  padding: 0;
}

figure figcaption {
  text-align: center;
  font-size: small;
  font-weight: bold;
}

/* Page Content */
.page-header {
  text-align: center;
  padding: var(--space-4) 0 var(--space-2);
}

.page-header p {
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.page-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 1000px;
  margin: 0 auto;
}

.featured-image {
  margin: var(--space-4) 0;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-image figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: var(--space-1);
  font-style: italic;
}

.featured-image-top {
  text-align: center;
}

.featured-image-top img {
  max-width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.featured-image-right {
  float: right;
  margin-left: var(--space-3);
  margin-bottom: var(--space-2);
  max-width: 300px;
}

.featured-image-left {
  float: left;
  margin-right: var(--space-3);
  margin-bottom: var(--space-2);
  max-width: 300px;
}

.featured-image-bottom {
  text-align: center;
  margin-top: var(--space-6);
}

.featured-image-bottom img {
  max-width: 600px;
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-2) 0;
  line-height: var(--line-height);
}

.page-content.with-image {
  overflow: hidden; /* Clear floats */
}

.page-content h2 {
  font-size: 1.75rem;
  margin: var(--space-5) 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--navy-100);
}

.page-content h3 {
  font-size: 1.5rem;
  margin: var(--space-4) 0 var(--space-2);
}

.page-content h4 {
  font-size: 1.25rem;
  margin: var(--space-3) 0 var(--space-2);
}

.page-content ul,
.page-content ol {
  margin: var(--space-2) 0;
  padding-left: var(--space-4);
}

.page-content li {
  margin-bottom: var(--space-1);
}

.page-content ol li:last-child {
  margin-bottom: var(--space-2);
}

.page-content blockquote {
  border-left: 4px solid var(--orange-500);
  padding: var(--space-2) var(--space-3);
  margin: var(--space-3) 0;
  background: var(--orange-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-3) 0;
  font-size: 0.9375rem;
}

.page-content th,
.page-content td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.page-content th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
}

.page-content code {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.875rem;
}

.page-content pre {
  background: var(--gray-900);
  color: #e5e5e5;
  padding: var(--space-3);
  border-radius: var(--radius);
  overflow-x: auto;
  margin: var(--space-3) 0;
}

.page-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Image classes for inline images */
.img-center {
  display: block;
  margin: var(--space-3) auto;
  max-width: 600px;
}

.img-right {
  float: right;
  margin-left: var(--space-3);
  margin-bottom: var(--space-2);
  max-width: 300px;
}

.img-left {
  float: left;
  margin-right: var(--space-3);
  margin-bottom: var(--space-2);
  max-width: 300px;
}

.img-full {
  width: 100%;
  margin: var(--space-3) 0;
}

/* FAQ */
.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-4) 0;
}

.faq-category {
  margin-bottom: var(--space-6);
}

.faq-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--navy-100);
}

.faq-questions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--navy-300);
  box-shadow: 0 2px 8px rgba(43, 45, 117, 0.1);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--navy-50);
}

.faq-question span {
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--navy-600);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--space-2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: var(--space-4) var(--space-4);
  color: var(--gray-700);
  line-height: 1.6;
}

.faq-answer-content p {
  margin-bottom: var(--space-2);
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: var(--space-2) 0;
  padding-left: var(--space-4);
}

.faq-answer-content li {
  margin-bottom: var(--space-1);
}

.faq-answer-content strong {
  color: var(--navy-800);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin: var(--space-4) 0;
}

.team-member {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member:hover {
  box-shadow: 0 4px 12px rgba(43, 45, 117, 0.1);
  transform: translateY(-2px);
}

.team-member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-3);
  border: 3px solid var(--navy-100);
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-photo.placeholder {
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-400);
}

.team-member-photo.placeholder svg {
  width: 48px;
  height: 48px;
}

.team-member-info {
  flex: 1;
  width: 100%;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-1);
}

.team-member-position {
  font-size: 0.9375rem;
  color: var(--orange-500);
  font-weight: 500;
  margin-bottom: var(--space-2);
  text-align: center;
}

.team-member-bio {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.team-member-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--gray-50);
  border-radius: 100px;
  color: var(--gray-600);
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200);
}

.contact-link:hover {
  background: var(--navy-50);
  color: var(--navy-800);
  border-color: var(--navy-200);
}

.contact-link svg {
  width: 14px;
  height: 14px;
}

.contact-link.institution {
  background: var(--orange-50);
  color: var(--orange-600);
  border-color: var(--orange-200);
}

.contact-link.institution:hover {
  background: var(--orange-100);
}

/* News List */
.news-list {
  display: grid;
  gap: var(--space-5);
  margin: var(--space-4) 0;
}

.news-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-4);
}

.news-item:hover {
  box-shadow: 0 4px 16px rgba(43, 45, 117, 0.1);
  transform: translateY(-2px);
}

.news-item-image {
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item-image.placeholder {
  color: var(--navy-400);
}

.news-item-image.placeholder svg {
  width: 48px;
  height: 48px;
}

.news-item-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.news-item-date {
  font-weight: 500;
}

.news-item-author {
  position: relative;
}

.news-item-author::before {
  content: "•";
  margin-right: var(--space-2);
}

.news-item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.news-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-item-title a:hover {
  color: var(--orange-500);
}

.news-item-excerpt {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.news-item-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--orange-500);
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.news-item-link:hover {
  color: var(--orange-600);
}

.news-item-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.news-item-link:hover svg {
  transform: translateX(4px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-6) 0;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-1) var(--space-2);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background: var(--navy-50);
  color: var(--navy-800);
  border-color: var(--navy-200);
}

.pagination-link svg {
  width: 16px;
  height: 16px;
}

.pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
}

.pagination-numbers {
  display: flex;
  gap: var(--space-1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .quick-links-grid,
  .disease-cards,
  .collaborate-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .featured-image-right,
  .featured-image-left {
    float: none;
    margin: var(--space-3) 0;
    max-width: 100%;
  }
  .img-right,
  .img-left {
    float: none;
    margin: var(--space-2) 0;
    max-width: 100%;
  }
  .faq-question {
    padding: var(--space-2) var(--space-3);
    font-size: 0.9375rem;
  }
  .faq-answer-content {
    padding: 0 var(--space-3) var(--space-3);
    font-size: 0.9375rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .team-member-photo {
    width: 100px;
    height: 100px;
  }
  .team-member-contact {
    gap: var(--space-1);
  }
  .contact-link {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .news-item-image {
    min-height: 180px;
  }
  .news-item-content {
    padding: var(--space-3);
  }
  .news-item-title {
    font-size: 1.25rem;
  }
  .pagination {
    flex-wrap: wrap;
    gap: var(--space-1);
  }
}
/* ===========================================
   NEWS SECTION ENHANCEMENTS
   =========================================== */
/* Category Badges */
.category-badge {
  display: inline-flex;
  align-items: center;
  background: var(--orange-100);
  color: var(--orange-600);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  text-decoration: none;
}

.category-badge:hover {
  background: var(--orange-500);
  color: var(--white);
  text-decoration: none;
}

.category-badge.secondary {
  background: var(--navy-100);
  color: var(--navy-600);
}

.category-badge.secondary:hover {
  background: var(--navy-600);
  color: var(--white);
}

/* News Item Categories (for list view) */
.news-item-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

/* Article Header (for single view) */
.article-header {
  margin-bottom: var(--space-5);
}

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

/* Article Metadata */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--space-4);
  font-size: 0.875rem;
  color: var(--gray-600);
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.article-meta-item strong {
  color: var(--gray-700);
  font-weight: 500;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

/* Reading Time */
.reading-time {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-style: italic;
}

/* Article Featured Image */
.article-featured-image {
  margin: var(--space-4) 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-featured-image.placeholder {
  background: linear-gradient(135deg, var(--navy-100) 0%, var(--navy-50) 100%);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy-400);
}

.article-featured-image.placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
  margin-bottom: var(--space-2);
}

.article-featured-image.placeholder span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Enhanced Placeholder for News List */
.news-item-image.placeholder {
  background: linear-gradient(135deg, var(--navy-100) 0%, var(--navy-50) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy-400);
}

.news-item-image.placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  margin-bottom: var(--space-1);
}

.news-item-image.placeholder .placeholder-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy-400);
}

/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4) 0;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: var(--space-5) 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--navy-100);
}

.article-content h3 {
  font-size: 1.5rem;
  margin: var(--space-4) 0 var(--space-2);
}

.article-content p {
  margin-bottom: var(--space-3);
}

.article-content ul,
.article-content ol {
  margin: var(--space-2) 0;
  padding-left: var(--space-4);
}

.article-content li {
  margin-bottom: var(--space-1);
}

.article-content blockquote {
  border-left: 4px solid var(--orange-500);
  padding: var(--space-2) var(--space-3);
  margin: var(--space-3) 0;
  background: var(--orange-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* Share Section */
.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--gray-200);
  margin-top: var(--space-5);
}

.article-share span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.share-buttons {
  display: flex;
  gap: var(--space-1);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: var(--radius);
  color: var(--gray-600);
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--navy-800);
  color: var(--white);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

/* Related News */
.related-news {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 2px solid var(--gray-200);
}

.related-news h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-4);
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.related-news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.related-news-card:hover {
  box-shadow: 0 4px 12px rgba(43, 45, 117, 0.1);
  transform: translateY(-2px);
}

.related-news-card-image {
  height: 120px;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-news-card-image svg {
  width: 32px;
  height: 32px;
  color: var(--navy-400);
  opacity: 0.4;
}

.related-news-card-content {
  padding: var(--space-3);
}

.related-news-card-date {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.related-news-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.4;
  margin: 0;
}

.related-news-card-title a {
  color: inherit;
  text-decoration: none;
}

.related-news-card-title a:hover {
  color: var(--orange-500);
}

/* Back to News Link */
.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
  transition: color 0.2s ease;
}

.back-to-news:hover {
  color: var(--navy-800);
  text-decoration: none;
}

.back-to-news svg {
  width: 16px;
  height: 16px;
}

/* Active Filter */
.active-filter {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--navy-50);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.active-filter > span:first-child {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.clear-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-left: auto;
  transition: color 0.2s ease;
}

.clear-filter:hover {
  color: var(--error);
  text-decoration: none;
}

.clear-filter svg {
  width: 16px;
  height: 16px;
}

/* No Results */
.no-results {
  text-align: center;
  padding: var(--space-6);
  background: var(--gray-50);
  border-radius: var(--radius);
}

.no-results p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
}

/* Responsive adjustments for news enhancements */
@media (max-width: 768px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .article-header h1 {
    font-size: 1.75rem;
  }
  .article-featured-image.placeholder {
    min-height: 200px;
  }
  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .active-filter {
    flex-wrap: wrap;
  }
  .clear-filter {
    margin-left: 0;
    margin-top: var(--space-1);
  }
}
/* ===========================================
   USERDATA SHORTCODE - OVERLAY CARDS
   =========================================== */
/* Wrapper and trigger */
.user-data-wrapper {
  position: relative;
  display: inline;
}

.user-data-trigger {
  color: var(--orange-500);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.user-data-trigger:hover {
  color: var(--orange-600);
  text-decoration-style: solid;
}

/* User card overlay */
.user-card {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  z-index: 10000;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: var(--space-4);
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Close button for JS mode */
.user-card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 1;
}

.user-card-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* Overlay for JS mode */
.user-card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.user-card-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* JS Mode - Show card when active */
.user-card.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* User card inner content wrapper */
.user-card .team-member-info {
  width: 100%;
}

/* Responsive adjustments for userdata */
@media (max-width: 768px) {
  .user-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    min-width: 90vw;
    max-width: 90vw;
  }
  .mode-css.has-card:hover .user-card,
  .mode-css .user-card:hover {
    transform: translate(-50%, -50%);
  }
  .mode-js .user-card {
    transform: translate(-50%, -50%) translateY(-10px);
  }
  .mode-js .user-card.active {
    transform: translate(-50%, -50%) translateY(0);
  }
}
