/* FS-02: Cholesterol Medication Guide — Teal/Green Theme */
/* Different from FS-01's blue theme to avoid footprint */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --secondary: #059669;
  --accent: #f0fdfa;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --danger: #dc2626;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Different header style from FS-01 */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 0;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.site-header .logo {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: Georgia, serif;
  letter-spacing: -0.5px;
}

.site-header nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.site-header nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-header nav a:hover { color: white; }

main { padding: 40px 0; min-height: 60vh; }

h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-family: Georgia, serif;
}

h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

h3 { font-size: 1.15rem; margin-top: 20px; margin-bottom: 8px; color: var(--text); }

p { margin-bottom: 14px; }

ul { margin-bottom: 14px; padding-left: 24px; }
li { margin-bottom: 6px; }

img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; box-shadow: var(--shadow); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

table th {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

table tr:nth-child(even) td { background: var(--bg-alt); }

.faq { margin: 20px 0; }
.faq h3 { color: var(--primary-dark); }

/* Different CTA style from FS-01 */
.cta-section {
  background: linear-gradient(135deg, var(--accent), #ffffff);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 24px;
  margin: 32px 0;
  border-radius: var(--radius);
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
  transition: background 0.2s;
}

.cta-button:hover { background: var(--primary-dark); }

.disclaimer {
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 16px;
  margin: 24px 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: #92400e;
}

/* Hub page styles — different card layout from FS-01 */
.hub-category {
  margin-bottom: 32px;
}

.hub-category h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.hub-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.hub-list li a {
  display: block;
  padding: 10px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.hub-list li a:hover {
  background: var(--accent);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Footer — different from FS-01 */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 12px; }
  .site-header nav ul { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-links { grid-template-columns: 1fr; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  table { font-size: 0.85rem; }
  table th, table td { padding: 8px 10px; }
  .hub-list { grid-template-columns: 1fr; }
}
