/* ==========================================================================
   DESIGN SYSTEM: Light Modern Clinical & Corporate Medical Aesthetic
   ========================================================================== */

:root {
  /* Core Color Palette - Light & Professional Blue */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-clinical: #e2e8f0;
  --border-focus: #2563eb;

  /* Accent & Medical Blue Colors */
  --primary-color: #1e3a8a; /* Deep Navy Blue */
  --accent-blue: #2563eb;  /* Medical Royal Blue */
  --accent-light: #eff6ff; /* Soft Blue Fill */
  
  /* Clinical Status Triage Colors */
  --status-normal: #16a34a;
  --status-normal-bg: #f0fdf4;
  --status-normal-border: #bbf7d0;

  --status-low: #2563eb;
  --status-low-bg: #eff6ff;
  --status-low-border: #bfdbfe;

  --status-high: #ca8a04;
  --status-high-bg: #fef9c3;
  --status-high-border: #fef08a;

  --status-danger: #dc2626;
  --status-danger-bg: #fef2f2;
  --status-danger-border: #fca5a5;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-primary: #0f172a;   /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #64748b;     /* Slate 500 */

  /* Layout & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --transition: all 0.2s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header & Professional Navbar
   ========================================================================== */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-clinical);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-color);
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Allineamento stilistico dei bottoni di navigazione nativi dello script server */
.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-tab-btn:hover {
  color: var(--accent-blue);
  background-color: var(--accent-light);
}

.nav-tab-btn.active {
  color: var(--accent-blue);
  background-color: var(--accent-light);
}

/* ==========================================================================
   Header Dropdown Menu (Stile docs/dropdown)
   ========================================================================== */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-clinical);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-toggle:hover,
.profile-dropdown:hover .dropdown-toggle,
.profile-dropdown.open .dropdown-toggle {
  border-color: #cbd5e1;
  color: var(--accent-blue);
  background: var(--accent-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dropdown-toggle .arrow {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.profile-dropdown:hover .arrow,
.profile-dropdown.open .arrow {
  transform: rotate(-135deg) translateY(-2px);
}

/* Menu Dropdown vero e proprio con effetto blur moderno */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  min-width: 210px;
  border-radius: 16px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.profile-dropdown:hover .dropdown-menu,
.profile-dropdown.open .dropdown-menu,
.profile-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a,
.dropdown-menu li button.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li button.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
}

.dropdown-menu .badge {
  background: var(--accent-light);
  color: var(--accent-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: auto;
  border: 1px solid #bfdbfe;
  transition: all 0.15s ease;
}

.dropdown-menu li a:hover .badge,
.dropdown-menu li button.dropdown-item:hover .badge {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

.dropdown-menu .icon {
  font-style: normal;
  font-size: 15px;
}

.dropdown-menu .divider {
  height: 1px;
  background: var(--border-clinical);
  margin: 6px 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-clinical);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
}

.status-dot.online {
  background: var(--status-normal);
  box-shadow: 0 0 8px var(--status-normal);
}

/* ==========================================================================
   Main Layout & Cards
   ========================================================================== */
.main-content {
  max-width: 1280px;
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
  flex: 1;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.2s ease-in-out forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Form Controls & Search Bar
   ========================================================================== */
.search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 2.8rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-select, .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-clinical);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
}

/* Components Grids & Triage */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.symptom-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.symptom-card:hover {
  border-color: var(--accent-blue);
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.symptom-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.wizard-progress {
  height: 5px;
  background: var(--border-clinical);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--accent-blue);
  width: 0%;
  transition: width 0.2s ease;
}

.option-btn {
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.option-btn:hover {
  border-color: var(--accent-blue);
  background: var(--bg-secondary);
}

/* Triage Outcomes Styling */
.outcome-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.outcome-badge.BASSO { background: var(--status-normal-bg); color: var(--status-normal); border: 1px solid var(--status-normal-border); }
.outcome-badge.MEDIO { background: var(--status-high-bg); color: var(--status-high); border: 1px solid var(--status-high-border); }
.outcome-badge.ALTO { background: #ffedd5; color: #ea580c; border: 1px solid #fed7aa; }
.outcome-badge.EMERGENZA { background: var(--status-danger-bg); color: var(--status-danger); border: 1px solid var(--status-danger-border); animation: pulse 2s infinite; font-weight: 800; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Lab Cards Base Setup */
.lab-preset-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* ==========================================================================
   Sezione Laboratorio: Preset Chips & Liste Referti
   ========================================================================== */
.preset-chip { 
  background: var(--bg-primary); 
  border: 1px solid var(--border-clinical); 
  padding: 0.35rem 0.85rem; 
  border-radius: 999px; 
  font-size: 0.85rem; 
  color: var(--text-secondary); 
  cursor: pointer; 
  transition: var(--transition); 
}

.preset-chip:hover, 
.preset-chip.active { 
  background: var(--accent-light); 
  color: var(--accent-blue); 
  border-color: var(--accent-blue); 
}

.lab-results-list { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
  margin-top: 1.5rem; 
}

/* Schede Analisi e Stati Condizionali (LOW, NORMAL, HIGH) */
.lab-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.lab-card.status-NORMAL { border-left: 4px solid var(--status-normal); }
.lab-card.status-LOW    { border-left: 4px solid var(--status-low); }
.lab-card.status-HIGH   { border-left: 4px solid var(--status-danger); }

.lab-card-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 1rem; 
}

.lab-name-box h4 { 
  font-size: 1.1rem; 
  font-weight: 700; 
  color: var(--primary-color); 
}

.lab-value-num { 
  font-size: 1.35rem; 
  font-weight: 700; 
  color: var(--text-primary); 
}

/* Badge di Stato Triage Analitico */
.lab-status-badge { 
  font-size: 0.75rem; 
  font-weight: 700; 
  padding: 0.2rem 0.6rem; 
  border-radius: 999px; 
  text-transform: uppercase; 
}

.lab-status-badge.NORMAL { background: var(--status-normal-bg); color: var(--status-normal); }
.lab-status-badge.LOW    { background: var(--status-low-bg); color: var(--status-low); }
.lab-status-badge.HIGH   { background: var(--status-danger-bg); color: var(--status-danger); }

/* Box di Spiegazione Clinica del Referto */
.lab-clinical-box { 
  margin-top: 0.75rem; 
  padding: 0.85rem; 
  background: var(--bg-secondary); 
  border-radius: var(--radius-sm); 
  border-left: 3px solid var(--accent-blue); 
}

.lab-clinical-box h5 { 
  font-size: 0.85rem; 
  font-weight: 700; 
  color: var(--primary-color); 
  margin-bottom: 0.25rem; 
}

/* ==========================================================================
   Modals & Overlay Dialogs
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active { 
  opacity: 1; 
  pointer-events: all; 
}

.modal-dialog { 
  background: var(--bg-primary); 
  border: 1px solid var(--border-clinical); 
  border-radius: var(--radius-lg); 
  max-width: 540px; 
  width: 100%; 
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem; 
  box-shadow: var(--shadow-lg); 
  position: relative; 
}

/* ==========================================================================
   Corporate Institutional Footer
   ========================================================================== */
.site-footer { 
  background-color: var(--primary-color); 
  color: #ffffff; 
  border-top: 1px solid var(--border-clinical); 
  margin-top: auto; 
  padding: 2rem 1.5rem; 
}

.footer-container { 
  max-width: 1280px; 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 1rem; 
  text-align: center; 
}

.footer-links { 
  display: flex; 
  gap: 1.5rem; 
  flex-wrap: wrap; 
  justify-content: center; 
}

.footer-link { 
  color: rgba(255, 255, 255, 0.8); 
  text-decoration: none; 
  font-size: 0.85rem; 
  font-weight: 500; 
}

.footer-link:hover { 
  color: #ffffff; 
  text-decoration: underline; 
}

.footer-copy { 
  font-size: 0.8rem; 
  color: rgba(255, 255, 255, 0.6); 
  max-width: 800px; 
}

/* ==========================================================================
   Responsive Settings & Media Queries
   ========================================================================== */
@media (max-width: 768px) {
  .header-container { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1rem; 
  }
  .header-nav { 
    width: 100%; 
    overflow-x: auto; 
    padding-bottom: 0.25rem; 
  }
  .options-grid { 
    grid-template-columns: 1fr; 
  }
}

/* ==========================================================================
   Landing Page, SEO Showcase & Medical Articles Section
   ========================================================================== */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb-trail a {
  color: var(--accent-blue);
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted);
  opacity: 0.6;
}

.hero-landing-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-landing-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-lead-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 950px;
  margin-bottom: 1.75rem;
}

.hero-actions-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.seo-feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.seo-feature-card:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.param-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.param-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-clinical);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.param-pill.featured {
  background: var(--accent-light);
  border-color: #bfdbfe;
  color: var(--accent-blue);
}

.notice-callout-warning {
  background: var(--status-high-bg);
  border: 1px solid var(--status-high-border);
  border-left: 4px solid var(--status-high);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.notice-callout-warning .notice-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.notice-callout-warning h4 {
  font-size: 1.05rem;
  color: #854d0e;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.notice-callout-warning p {
  font-size: 0.92rem;
  color: #713f12;
  line-height: 1.6;
  margin: 0;
}

/* Articles and Blog Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-clinical);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.article-category-badge {
  background: var(--accent-light);
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
}

.article-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-content-expanded {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-clinical);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.article-content-expanded.open {
  display: block;
}

.article-content-expanded h4 {
  color: var(--primary-color);
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
}

.article-content-expanded ul,
.article-content-expanded ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.article-content-expanded li {
  margin-bottom: 0.35rem;
}

.clinical-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-clinical);
}

.clinical-table th {
  background: var(--bg-secondary);
  color: var(--primary-color);
  font-weight: 700;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-clinical);
}

.clinical-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-clinical);
  color: var(--text-secondary);
}

.clinical-table tr:last-child td {
  border-bottom: none;
}

.clinical-table tr:hover td {
  background: var(--bg-card-hover);
}