/* ============================================================
   Guide / Artikelsider — Skandinavisk typografi
   ============================================================ */

.guide-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  color: #1C1917;
  font-size: 1rem;
  line-height: 1.75;
}

/* Back link */
.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #57534E;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s;
}
.guide-back:hover { color: #1C1917; }
.guide-back::before {
  content: "←";
  font-size: 1rem;
}

/* Article header */
.guide-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E7E5E4;
}

.guide-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A8A29E;
  margin-bottom: 0.5rem;
}

.guide-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #1C1917;
  margin-bottom: 0.5rem;
}

.guide-subtitle {
  font-size: 1rem;
  color: #57534E;
  line-height: 1.6;
}

.guide-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #A8A29E;
}

/* Body text */
.guide-body h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #A8A29E;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #E7E5E4;
}

.guide-body p {
  margin-bottom: 1rem;
  color: #1C1917;
}

.guide-body strong {
  font-weight: 600;
  color: #1C1917;
}

/* Calculation box */
.calc-box {
  background: #F5F5F4;
  border: 1px solid #E7E5E4;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.calc-box code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875rem;
  background: rgba(0,0,0,0.04);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.calc-box .calc-result {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #E7E5E4;
  font-weight: 600;
  color: #1C1917;
}

/* Key figure highlight */
.key-figure {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  background: #2D5F52;
  color: #FAFAF9;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* CTA box — link til beregner */
.guide-cta {
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem;
  background: #F5F5F4;
  border: 1px solid #E7E5E4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.guide-cta p {
  margin: 0;
  font-size: 0.9375rem;
  color: #57534E;
}

.guide-cta a {
  display: inline-block;
  background: #2D5F52;
  color: #FAFAF9;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.guide-cta a:hover { opacity: 0.85; }

/* Source reference */
.guide-source {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #E7E5E4;
  font-size: 0.75rem;
  color: #A8A29E;
}
.guide-source a {
  color: #57534E;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- FAQ Overview page ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: #1C1917;
  transition: box-shadow 0.15s, border-color 0.15s;
  display: block;
}
.faq-card:hover {
  border-color: #D6D3D1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.faq-card-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #A8A29E;
  margin-bottom: 0.375rem;
}

.faq-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.faq-card p {
  font-size: 0.8125rem;
  color: #57534E;
  line-height: 1.5;
  margin: 0;
}

.faq-card .faq-rate {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1C1917;
}

/* Responsive */
@media (max-width: 640px) {
  .guide-page {
    padding: 1.5rem 1rem 3rem;
  }
  .guide-header h1 {
    font-size: 1.5rem;
  }
}
