/* ==========================================================================
   PROSTAKTIV SVERIGE — prostaktivsverige.info — DIGITAL MAGAZINE & ARTICLE TYPOGRAPHY
   Concept: High-Precision Longform Editorial Layout
   ========================================================================== */

/* Reading Progress Indicator */
.reading-progress-container {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 999;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-acid));
  box-shadow: 0 0 10px var(--accent-acid);
  transition: width 0.1s linear;
}

/* Article Page Layout */
.article-header-section {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.article-breadcrumbs a {
  color: var(--text-muted);
}

.article-breadcrumbs a:hover {
  color: #ffffff;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.article-h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.article-lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  border-left: 3px solid var(--accent-blue-bright);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* Main Article Content Container */
.article-body {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.78;
  color: #d1d5db;
}

.article-content p {
  margin-bottom: 1.65rem;
}

.article-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.article-content ul li {
  list-style-type: disc;
  margin-bottom: 0.65rem;
}

.article-content ol li {
  list-style-type: decimal;
  margin-bottom: 0.65rem;
}

/* Callout Box / Lab Insights */
.lab-callout {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--accent-blue-bright);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lab-callout-acid {
  border-left-color: var(--accent-acid);
  background: rgba(10, 26, 20, 0.6);
  border-color: rgba(0, 255, 135, 0.2);
}

.lab-callout-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.lab-callout-acid .lab-callout-title {
  color: var(--accent-acid);
}

.lab-callout p:last-child {
  margin-bottom: 0;
}

/* Checklist Box */
.checklist-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
}

.checklist-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.025rem;
  color: var(--text-secondary);
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-acid-subtle);
  border: 1px solid var(--accent-acid);
  color: var(--accent-acid);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Medical Disclaimer in Articles */
.medical-disclaimer-box {
  background: rgba(14, 18, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 3.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.medical-disclaimer-box strong {
  color: #ffffff;
  font-weight: 600;
}

/* Related Articles Grid at Bottom of Post */
.related-articles-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-1);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
