/* ============================================================
   DEN UPERFEKTE HAVE — ARTICLE TYPOGRAPHY
   Fælles for editor, preview, artikel og guide.
   Fonte: Inter (brødtekst) + DM Serif Display (overskrifter).
   ============================================================ */

:root {
    --duh-cream:      #f7f5f0;
    --duh-paper:      #fdfcf7;
    --duh-sand:       #ede8dc;
    --duh-line:       #dfd8c8;
    --duh-ink:        #1b3b2b;
    --duh-ink-soft:   rgba(27, 59, 43, 0.88);
    --duh-ink-mute:   rgba(27, 59, 43, 0.55);
    --duh-green:      #3d7357;
    --duh-sage:       #8DA480;
    --duh-earth:      #9B8064;
    --duh-serif:      'DM Serif Display', Georgia, serif;
    --duh-sans:       'Inter', system-ui, sans-serif;
}

/* ============================================================
   SCOPE
   ============================================================ */
.article-content {
    font-family: var(--duh-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    color: var(--duh-ink-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .article-content {
        font-size: 1.15rem;
        line-height: 1.85;
        padding: 0;
    }
}

/* ============================================================
   AFSNIT
   ============================================================ */
.article-content p {
    margin: 0 0 1.25rem 0;
}

/* ============================================================
   STACCATO
   ============================================================ */
.article-content p.staccato {
    font-family: var(--duh-serif);
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--duh-ink);
    font-weight: 400;
    margin: 0 0 0.35rem 0;
}

.article-content p.staccato:first-of-type {
    margin-top: 2.25rem;
}

.article-content p.staccato:last-of-type {
    margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
    .article-content p.staccato {
        font-size: 1.5rem;
    }
}

.article-content p.staccato.is-right {
    margin-left: auto;
    margin-right: 0;
    max-width: 480px;
    text-align: right;
}

/* ============================================================
   PUNCHLINE
   ============================================================ */
.article-content p.punchline {
    font-family: var(--duh-serif);
    font-size: 1.5rem;
    line-height: 1.35;
    color: var(--duh-ink);
    font-weight: 400;
    margin: 3rem 0;
    max-width: 600px;
}

@media (min-width: 768px) {
    .article-content p.punchline {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

.article-content p.punchline.is-offset {
    margin-left: 2rem;
    margin-right: -4rem;
    max-width: 560px;
}

@media (min-width: 900px) {
    .article-content p.punchline.is-offset {
        margin-left: 4rem;
        margin-right: -8rem;
        max-width: 620px;
    }
}

.article-content p.punchline.is-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

/* ============================================================
   OVERSKRIFTER
   ============================================================ */
.article-content h1 {
    font-family: var(--duh-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--duh-ink);
    line-height: 1.2;
    margin: 2.5rem 0 1rem 0;
}

.article-content h2 {
    font-family: var(--duh-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--duh-ink);
    line-height: 1.2;
    margin: 4rem 0 1.25rem 0;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-family: var(--duh-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--duh-ink);
    line-height: 1.3;
    margin: 3rem 0 1rem 0;
}

@media (min-width: 768px) {
    .article-content h1 { font-size: 2.25rem; }
    .article-content h2 { font-size: 2.125rem; }
    .article-content h3 { font-size: 1.5rem; }
}

/* ============================================================
   LISTER
   ============================================================ */
.article-content ul,
.article-content ol {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content ul li {
    list-style: none;
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.55rem;
    line-height: 1.65;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--duh-sage);
}

.article-content ol li {
    list-style: decimal;
    padding-left: 0.4rem;
    margin-bottom: 0.55rem;
    line-height: 1.65;
}

.article-content ol li::marker {
    color: var(--duh-sage);
}

/* ============================================================
   LINKS
   ============================================================ */
.article-content a {
    color: var(--duh-green);
    text-decoration: underline;
    text-decoration-color: var(--duh-sage);
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: var(--duh-ink);
}

/* ============================================================
   FED / KURSIV
   ============================================================ */
.article-content strong,
.article-content b {
    font-weight: 600;
    color: var(--duh-ink);
}

.article-content em,
.article-content i {
    font-family: var(--duh-sans);
    font-style: italic;
    font-weight: 400;
    color: inherit;
}

/* ============================================================
   CITAT
   ============================================================ */
.article-content blockquote {
    margin: 2.5rem 0;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-left: 3px solid var(--duh-sage);
    max-width: 100%;
}

.article-content blockquote p {
    font-family: var(--duh-sans);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(27, 59, 43, 0.85);
    margin: 0;
    max-width: 100%;
}

.article-content blockquote.is-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.article-content blockquote.is-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 640px;
}

/* ============================================================
   BILLEDER
   ============================================================ */
.article-content figure {
    margin: 3rem 0;
    max-width: 640px;
}

.article-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.article-content figcaption {
    font-family: var(--duh-sans);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--duh-ink-mute);
    font-style: italic;
    font-weight: 400;
    margin-top: 0.75rem;
    max-width: 480px;
}

/* ============================================================
   FULL-BLEED ELEMENTER — bryder kolonnen uden vandret scroll
   ============================================================ */
.article-content figure.fig-large,
.guide-photo-wide,
.guide-photo-hero {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100%;
    max-width: none;
    padding: 0;
}

.article-content figure.fig-large {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.article-content figure.fig-large figcaption {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

/* ============================================================
   FIG-WIDE — bredere end teksten men ikke fuld viewport
   ============================================================ */
.article-content figure.fig-wide {
    max-width: 900px;
    margin-left: calc(50% - 450px);
    margin-right: calc(50% - 450px);
}

@media (max-width: 900px) {
    .article-content figure.fig-wide {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ============================================================
   FIG-SMALL — lille billede der kan ligge i marginen
   ============================================================ */
.article-content figure.fig-small {
    max-width: 300px;
    margin: 2.5rem 0;
}

.article-content figure.fig-small.is-right {
    margin-left: auto;
    margin-right: 0;
}

.article-content figure.fig-small.is-left {
    margin-left: 0;
    margin-right: auto;
}

/* ============================================================
   FAKTABOKS
   ============================================================ */
.article-content .faktaboks {
    max-width: 560px;
    margin: 3rem 0;
    padding: 1.25rem 0 1.25rem 1.5rem;
    border-left: 2px solid var(--duh-sage);
    background: transparent;
}

.article-content .faktaboks h4 {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--duh-green);
    margin: 0 0 0.65rem 0;
}

.article-content .faktaboks p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.55rem;
}

.article-content .faktaboks p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   LUFT / SEKTION
   ============================================================ */
.article-content .section-break {
    border: none;
    height: 1px;
    background: var(--duh-line);
    max-width: 80px;
    margin: 4rem 0;
}

.article-content .section-break.is-center {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   NATURSPOR
   ============================================================ */
.article-content .naturspor {
    display: block;
    width: 32px;
    height: 32px;
    margin: 3rem auto;
    opacity: 0.5;
}

.article-content .naturspor svg {
    width: 100%;
    height: 100%;
    stroke: var(--duh-sage);
    fill: none;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   EDITOR-CANVAS
   ============================================================ */
.editor-canvas {
    background: var(--duh-paper);
    border: 1px solid var(--duh-line);
    padding: 3rem 4rem;
    min-height: 500px;
    outline: none;
    font-family: var(--duh-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--duh-ink-soft);
    max-width: 820px;
    margin: 0 auto;
    transition: border-color 0.2s ease;
}

.editor-canvas:focus {
    border-color: var(--duh-sage);
}

.editor-canvas:empty::before {
    content: 'Skriv din artikel her…';
    color: var(--duh-ink-mute);
    font-style: italic;
    pointer-events: none;
}

.editor-canvas > *:hover {
    box-shadow: inset 2px 0 0 var(--duh-sage);
}

/* ============================================================
   TOOLBAR
   ============================================================ */
.editor-toolbar-sticky {
    position: sticky;
    top: 4em;
    z-index: 40;
    background: #fdfcf7;
    border: 1px solid var(--duh-line);
    border-bottom: 2px solid var(--duh-line);
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px -4px rgba(27, 59, 43, 0.08);
}

.tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.7rem;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--duh-ink);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
    font-family: var(--duh-sans);
}

.tb-btn:hover {
    background: rgba(61, 115, 87, 0.08);
    border-color: var(--duh-line);
}

.tb-btn.is-active {
    background: var(--duh-green);
    color: var(--duh-paper);
    border-color: var(--duh-green);
}

.tb-serif {
    font-family: var(--duh-serif);
    font-weight: 400;
    font-size: 13px;
}

.tb-divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: var(--duh-line);
    margin: 0 0.25rem;
}

.tb-spacer {
    flex: 1;
}

.tb-preview {
    background: #3d7357 !important;
    color: #fdfcf7 !important;
    border-color: #3d7357 !important;
}

.tb-preview:hover {
    background: #1b3b2b !important;
}

/* ============================================================
   GUIDE-LAYOUT — grundblokke
   ============================================================ */

/* ---------- GUIDE-INTRO ---------- */
.guide-intro {
    max-width: 680px;
    margin: 0 auto 1rem;
}

.guide-intro p {
    font-family: var(--duh-serif);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--duh-ink);
    margin: 0;
}

@media (min-width: 768px) {
    .guide-intro p {
        font-size: 1.55rem;
    }
}

/* ---------- GUIDE-META ---------- */
.guide-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 2rem auto 3rem;
    max-width: 680px;
    padding: 1.5rem 0;
    border-top: 1px solid var(--duh-line);
    border-bottom: 1px solid var(--duh-line);
}

@media (min-width: 640px) {
    .guide-meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .guide-meta {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.guide-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.guide-meta-label {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--duh-sage);
}

.guide-meta-value {
    font-family: var(--duh-serif);
    font-size: 1.1rem;
    line-height: 1.35;
    color: var(--duh-ink);
}

/* ---------- MOBILTIP ---------- */
.guide-mobile-hint {
    max-width: 680px;
    margin: 0 auto 2rem;
    padding: 0.75rem 1.15rem;
    background: rgba(141, 164, 128, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--duh-green);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.guide-mobile-hint::before {
    content: '📱';
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ---------- DET SKAL DU BRUGE ---------- */
.guide-materials {
    max-width: 680px;
    margin: 2.5rem auto;
    padding: 0;
}

.guide-materials h3 {
    font-family: var(--duh-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--duh-ink);
    margin: 0 0 1rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .guide-materials h3 {
        font-size: 1.6rem;
    }
}

.guide-materials-subheading {
    font-family: var(--duh-sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--duh-sage);
    margin: 1.25rem 0 0.65rem;
    line-height: 1.3;
}

.guide-materials-subheading:first-of-type {
    margin-top: 0;
}

.guide-materials ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

@media (min-width: 640px) {
    .guide-materials ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem 1.75rem;
    }
}

.guide-materials li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--duh-ink-soft);
}

.guide-materials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--duh-sage);
}

.guide-materials-note {
    font-family: var(--duh-serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--duh-green);
    max-width: 520px;
    padding-left: 1.25rem;
    border-left: 2px solid var(--duh-sage);
    margin: 1.25rem 0 0;
}

/* ---------- FØR DU GÅR I GANG ---------- */
.guide-before {
    max-width: 680px;
    margin: 2.5rem auto;
    padding: 1.5rem 1.75rem;
    background: #fdfcf7;
    border: 1px solid var(--duh-line);
}

.guide-before h3 {
    font-family: var(--duh-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--duh-ink);
    margin: 0 0 1rem;
    line-height: 1.25;
}

.guide-before ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-before li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--duh-ink-soft);
}

.guide-before li:last-child {
    margin-bottom: 0;
}

.guide-before li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--duh-sage);
    font-weight: 400;
}

/* ---------- TRIN ---------- */
.guide-step {
    max-width: 100%;
    margin: 3rem auto;
    padding: 0;
}

.guide-step-header {
    max-width: 680px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
}

.guide-step-number {
    font-family: var(--duh-serif);
    font-size: 2.25rem;
    line-height: 1;
    color: var(--duh-sage);
    opacity: 0.55;
    flex-shrink: 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .guide-step-number {
        font-size: 2.75rem;
    }
}

.guide-step-header h2 {
    font-family: var(--duh-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--duh-ink);
    margin: 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .guide-step-header h2 {
        font-size: 1.85rem;
    }
}

.guide-step > p {
    max-width: 680px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--duh-ink-soft);
}

.guide-step > p:last-child {
    margin-bottom: 0;
}

.guide-step > .guide-step-note {
    max-width: 680px;
    margin: 1.25rem auto;
    padding-left: 1.25rem;
    border-left: 2px solid var(--duh-sage);
    font-family: var(--duh-serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--duh-green);
}

/* ---------- BILLEDER I TRIN ---------- */
.guide-step figure {
    max-width: 900px;
    margin: 2rem auto;
}

.guide-step figure img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 60px;
    background: var(--duh-line);
}

.guide-step figure img:not([src]),
.guide-step figure img[src=""] {
    display: none;
}

.guide-step figure figcaption {
    max-width: 680px;
    margin: 0.75rem auto 0;
    padding: 0 1.5rem;
    font-family: var(--duh-sans);
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--duh-ink-mute);
}

/* ---------- LARS' LILLE ERFARING ---------- */
.guide-experience {
    max-width: 560px;
    margin: 3rem auto;
    padding: 1.75rem 0 1.75rem 1.75rem;
    border-left: 2px solid var(--duh-sage);
    position: relative;
}

.guide-experience-icon {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.guide-experience h4 {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--duh-green);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.guide-experience p {
    font-family: var(--duh-serif);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--duh-ink);
    margin: 0;
}

@media (min-width: 768px) {
    .guide-experience p {
        font-size: 1.35rem;
    }
}

/* ---------- HVEM FLYTTER IND? ---------- */
.guide-wildlife {
    max-width: 680px;
    margin: 3.5rem auto;
    padding: 0;
}

.guide-wildlife h3 {
    font-family: var(--duh-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--duh-ink);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .guide-wildlife h3 {
        font-size: 1.85rem;
    }
}

.guide-wildlife-intro {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--duh-ink-mute);
    margin: 0 0 1.5rem;
}

.guide-wildlife ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .guide-wildlife ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.75rem;
    }
}

.guide-wildlife li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--duh-ink-soft);
}

.guide-wildlife li::before {
    content: attr(data-emoji);
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 0.15rem;
}

/* ---------- PAS PÅ ---------- */
.guide-warning {
    max-width: 680px;
    margin: 3rem auto;
    padding: 1.35rem 1.6rem;
    background: #fdfcf7;
    border: 1px solid var(--duh-line);
    border-left: 3px solid #b5854a;
}

.guide-warning h4 {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #8a5e2b;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.guide-warning p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--duh-ink-soft);
    margin: 0 0 0.5rem;
}

.guide-warning p:last-child {
    margin-bottom: 0;
}

/* ---------- FØR / EFTER ---------- */
.guide-before-after {
    max-width: 900px;
    margin: 3.5rem auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .guide-before-after {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.guide-before-after-item {
    display: flex;
    flex-direction: column;
}

.guide-before-after-label {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--duh-sage);
    margin-bottom: 0.65rem;
}

.guide-before-after-item img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 60px;
    background: var(--duh-line);
}

.guide-before-after-item img:not([src]),
.guide-before-after-item img[src=""] {
    display: none;
}

/* ---------- FÆRDIG? ---------- */
.guide-end {
    max-width: 560px;
    margin: 4rem auto 3rem;
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid var(--duh-line);
    border-bottom: 1px solid var(--duh-line);
}

.guide-end h3 {
    font-family: var(--duh-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--duh-ink);
    margin: 0 0 1.25rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .guide-end h3 {
        font-size: 2.25rem;
    }
}

.guide-end p {
    font-family: var(--duh-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--duh-ink-soft);
    margin: 0 auto;
    max-width: 460px;
}

/* ---------- GUIDE-HERO-LABEL ---------- */
.guide-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--duh-sage);
    margin-bottom: 1.25rem;
    line-height: 1;
}

.guide-hero-label::before,
.guide-hero-label::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

/* ---------- GUIDE-RELATED ---------- */
.guide-related {
    margin-top: 4rem;
}

.guide-related-heading {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--duh-sage);
    margin: 0 0 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--duh-line);
}

/* ============================================================
   GUIDE-LAYOUT — særlige blokke til "7 ting"-guiden og lignende
   ============================================================ */

/* ---------- GUIDE-TIP — lille indskudt boks ---------- */
.guide-tip {
    max-width: 560px;
    margin: 2.5rem auto;
    padding: 1.35rem 1.6rem;
    background: rgba(141, 164, 128, 0.08);
    border-left: 2px solid var(--duh-sage);
}

.guide-tip h4 {
    font-family: var(--duh-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--duh-green);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.guide-tip p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--duh-ink-soft);
    margin: 0;
}

/* ---------- GUIDE-PUNCHLINE — stor typografisk punchline ---------- */
.guide-punchline {
    font-family: var(--duh-serif);
    font-size: 1.9rem;
    line-height: 1.15;
    color: var(--duh-ink);
    text-align: center;
    margin: 4rem auto;
    max-width: 620px;
    letter-spacing: -0.01em;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .guide-punchline {
        font-size: 2.75rem;
        padding: 0;
    }
}

/* ---------- GUIDE-CALM — rolig landing midt i guiden ---------- */
/* ---------- GUIDE-CALM — rolig landing midt i guiden ---------- */
.guide-calm {
    font-family: var(--duh-serif);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--duh-ink);
    text-align: center;
    margin: 3.5rem auto;
    max-width: 560px;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .guide-calm {
        font-size: 1.85rem;
    }
}

/* ---------- GUIDE-VOICE — personlig punchline i Lars' stemme ---------- */
.guide-voice {
    font-family: var(--duh-serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--duh-ink);
    text-align: center;
    margin: 3.5rem auto;
    max-width: 580px;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .guide-voice {
        font-size: 1.65rem;
    }
}

/* ---------- GUIDE-CLOSING — afsluttende statement ---------- */
.guide-closing {
    max-width: 560px;
    margin: 5rem auto 3rem;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--duh-line);
    border-bottom: 1px solid var(--duh-line);
}

.guide-closing p {
    font-family: var(--duh-serif);
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--duh-ink);
    margin: 0 0 0.35rem;
    letter-spacing: 0.02em;
}

.guide-closing p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .guide-closing p {
        font-size: 1.75rem;
    }
}

/* ---------- GUIDE-PHOTO-WIDE — kapitel-skift, fuldbredde ---------- */
.guide-photo-wide {
    max-width: none;
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding: 0;
}

.guide-photo-wide img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 60px;
    background: var(--duh-line);
}

.guide-photo-wide img:not([src]),
.guide-photo-wide img[src=""] {
    display: none;
}

.guide-photo-wide figcaption {
    max-width: 680px;
    margin: 0.85rem auto 0;
    padding: 0 1.5rem;
    font-family: var(--duh-sans);
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--duh-ink-mute);
}

/* ---------- GUIDE-PHOTO-HERO — stort stemningsfoto ---------- */
.guide-photo-hero {
    max-width: none;
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 0;
}

.guide-photo-hero img {
    width: 100%;
    height: 60vh;
    min-height: 360px;
    max-height: 720px;
    object-fit: cover;
    display: block;
    background: var(--duh-line);
}

.guide-photo-hero img:not([src]),
.guide-photo-hero img[src=""] {
    display: none;
}

/* ---------- GUIDE-CHAPTER — rolig sektion uden trin-nummer ---------- */
.guide-chapter {
    max-width: 680px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .guide-chapter {
        padding: 0;
    }
}

.guide-chapter h2 {
    font-family: var(--duh-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--duh-ink);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .guide-chapter h2 {
        font-size: 2.25rem;
    }
}

.guide-chapter p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--duh-ink-soft);
    margin: 0 0 1.25rem;
}

.guide-chapter p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   MOBIL — sikring mod vandret scroll fra full-bleed elementer
   ============================================================ */
@media (max-width: 767px) {
    .article-content figure.fig-large,
    .guide-photo-wide,
    .guide-photo-hero {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .guide-photo-hero img {
        height: auto;
        min-height: 240px; 
        max-height: 480px;
    }

    .guide-punchline {
        font-size: 1.65rem;
        padding: 0 1.25rem;
    }

    .guide-voice {
        font-size: 1.25rem;
        padding: 0 1.25rem;
    }

    .guide-calm {
        font-size: 1.35rem;
        padding: 0 1.25rem;
    }

    .guide-closing p {
        font-size: 1.25rem;
    }
}
/* ============================================================
   GUIDE-TOOLBAR — kun i editor når type === 'guider'
   ============================================================ */
.editor-toolbar-guide {
    position: sticky;
    top: 130px;
    z-index: 39;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.6rem 0.5rem;
    background: #fdfcf7;
    border: 1px solid var(--duh-line);
    border-top: none;
    border-bottom: 2px solid var(--duh-line);
    box-shadow: 0 4px 12px -4px rgba(27, 59, 43, 0.08);
}

.tb-guide-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tb-guide-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--duh-sage);
    padding-right: 0.25rem;
}

@media (max-width: 767px) {
    .editor-toolbar-guide {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    .tb-guide-group {
        flex-wrap: wrap;
    }
    .tb-guide-label {
        width: 100%;
        padding-right: 0;
        padding-bottom: 0.25rem;
    }
}