/* =====================================
   Medical Blog Page CSS - Step 1
   Calm, professional, readable
====================================== */

/* Root colors for medical theme */
:root {
  --primary: #009688;       /* teal */
  --secondary: #00bfa6;     /* lighter teal */
  --background: #f4f9f9;    /* light calm background */
  --text-dark: #222;        /* main text color */
  --text-muted: #555;       /* secondary text color */
}

/* === Body & Wrapper === */
body {
  font-family: "Segoe UI", "Inter", sans-serif;
  background: var(--background);
  color: var(--text-dark);
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.main-wrapper {
  width: 90%;
  max-width: 900px; /* keeps blog content readable */
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* === Headings === */
h1, h2, h3 {
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

/* === Paragraphs === */
p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 18px;
}

/* === Images === */
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* === Links === */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Blockquotes === */
blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 15px;
  color: var(--text-muted);
  margin: 20px 0;
  font-style: italic;
}

/* === Lists === */
ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

/* === Horizontal Rule === */
hr {
  border: none;
  border-top: 1px solid #e0f0ef;
  margin: 30px 0;
}
