/* ─── Proces Timeline – Forsidesektion ─── */

.fdskive-timeline {
  padding: 3.5rem 1rem;
}

.fdskive-timeline.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.fdskive-timeline--bg-warm {
  background: var(--color-bg-warm, #F3EDE5);
}

.fdskive-timeline--bg-white {
  background: #fff;
}

.fdskive-timeline--bg-transparent {
  background: transparent;
}

.fdskive-timeline__inner {
  max-width: 680px;
  margin-inline: auto;
}

/* Header */
.fdskive-timeline__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.fdskive-timeline__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary, #4A7C59);
  margin-bottom: 0.75rem;
}

.fdskive-timeline__heading {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--color-text, #2C2C2C);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.fdskive-timeline__desc {
  font-size: 1.0625rem;
  color: var(--color-text-secondary, #6B6B6B);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Steps */
.fdskive-timeline__steps {
  display: flex;
  flex-direction: column;
  position: relative;
}

.fdskive-timeline__step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.fdskive-timeline__step:last-child {
  padding-bottom: 0;
}

/* Vertikal linje mellem dots */
.fdskive-timeline__step::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--color-border, #9A9488);
  opacity: 0.3;
}

.fdskive-timeline__step:last-child::before {
  display: none;
}

/* Dot */
.fdskive-timeline__dot-col {
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.fdskive-timeline__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary, #4A7C59);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Content */
.fdskive-timeline__content {
  padding-top: 0.5rem;
}

.fdskive-timeline__step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text, #2C2C2C);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.fdskive-timeline__step-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary, #6B6B6B);
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.fdskive-timeline__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.fdskive-timeline__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-primary, #4A7C59);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s ease, gap 0.2s ease;
}

.fdskive-timeline__cta-btn:hover {
  background: var(--color-primary-dark, #3A6347);
  color: #fff;
  gap: 0.75rem;
}

.fdskive-timeline__cta-btn svg {
  flex-shrink: 0;
}

/* ─── Blocksy overrides ─── */
.fdskive-timeline .fdskive-timeline__heading {
  --theme-font-size: initial;
  --theme-font-weight: initial;
  --theme-line-height: initial;
  margin-block-end: 0.75rem;
  margin-top: 0;
}

.fdskive-timeline .fdskive-timeline__step-title {
  --theme-font-size: initial;
  --theme-font-weight: initial;
  --theme-line-height: initial;
  margin-block-end: 0.25rem;
  margin-top: 0;
}

.fdskive-timeline .fdskive-timeline__desc,
.fdskive-timeline .fdskive-timeline__step-desc {
  margin-block-end: 0;
}

.fdskive-timeline .fdskive-timeline__eyebrow {
  margin-block-end: 0;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .fdskive-timeline__step {
    grid-template-columns: 36px 1fr;
    gap: 1rem;
  }

  .fdskive-timeline__dot {
    width: 36px;
    height: 36px;
    font-size: 0.8125rem;
  }

  .fdskive-timeline__step::before {
    left: 17px;
    top: 36px;
  }
}

/* ─── Editor ─── */
.block-editor-block-list__block .fdskive-timeline__step {
  pointer-events: none;
}

/* ─── Print ─── */
@media print {
  .fdskive-timeline {
    background: transparent !important;
    width: auto;
    margin-left: 0;
  }

  .fdskive-timeline__cta {
    display: none;
  }

  .fdskive-timeline__dot {
    background: #333;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}