/* DFB Temaer — Pergament & Oxblod */

/* ─── Tema-single ─── */

.dfb-tema-enkelt {
    max-width: 780px;
    margin: 0 auto;
}

.dfb-tema-header {
    text-align: center;
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(139, 26, 26, 0.15);
}

.dfb-tema-ikon {
    display: block;
    font-size: 2.5em;
    margin-bottom: 0.2em;
}

.dfb-tema-titel {
    font-family: var(--bb-serif, Georgia, 'Times New Roman', serif);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--bb-oxblod, #8b1a1a);
    margin: 0 0 0.2em;
}

.dfb-tema-undertitel {
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 1.05em;
    color: #666;
    margin: 0;
    font-style: italic;
}

.dfb-tema-beskrivelse {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 2em;
    color: #333;
}

/* ─── Stationer (tidslinje-layout) ─── */

.dfb-tema-stationer {
    position: relative;
    padding-left: 3em;
}

/* Vertical line */
.dfb-tema-stationer::before {
    content: '';
    position: absolute;
    left: 1.1em;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(139, 26, 26, 0.08),
        rgba(139, 26, 26, 0.25) 10%,
        rgba(139, 26, 26, 0.25) 90%,
        rgba(139, 26, 26, 0.08)
    );
}

.dfb-tema-epoke-label {
    position: relative;
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bb-oxblod, #8b1a1a);
    margin: 1.8em 0 0.6em -3em;
    padding: 0.25em 0.8em;
    background: rgba(139, 26, 26, 0.06);
    border-radius: 2px;
    display: inline-block;
}

.dfb-tema-station {
    position: relative;
    margin-bottom: 1.8em;
    padding-bottom: 1.2em;
    border-bottom: 1px solid rgba(139, 26, 26, 0.06);
}

.dfb-tema-station:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Number circle on the timeline */
.dfb-tema-station-nr {
    position: absolute;
    left: -3em;
    top: 0.1em;
    width: 2.2em;
    height: 2.2em;
    line-height: 2.2em;
    text-align: center;
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.75em;
    font-weight: 700;
    color: #fff;
    background: var(--bb-oxblod, #8b1a1a);
    border-radius: 50%;
    z-index: 1;
}

.dfb-tema-station-overskrift {
    font-family: var(--bb-serif, Georgia, 'Times New Roman', serif);
    font-size: 1.15em;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.15em;
}

.dfb-tema-station-ref {
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.82em;
    color: var(--bb-oxblod, #8b1a1a);
    font-weight: 600;
    margin-bottom: 0.4em;
}

.dfb-tema-station-forklaring {
    font-size: 0.95em;
    line-height: 1.65;
    color: #444;
}

.dfb-tema-station-forklaring p {
    margin: 0 0 0.5em;
}

.dfb-tema-station-nogleord {
    margin-top: 0.5em;
}

.dfb-tema-tag {
    display: inline-block;
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.72em;
    padding: 0.15em 0.55em;
    margin: 0 0.3em 0.3em 0;
    background: rgba(139, 26, 26, 0.08);
    color: var(--bb-oxblod, #8b1a1a);
    border-radius: 3px;
    font-weight: 500;
}

/* ─── Relationer ─── */

.dfb-tema-relationer {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid rgba(139, 26, 26, 0.15);
}

.dfb-tema-rel-titel {
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.8em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bb-oxblod, #8b1a1a);
    margin: 0 0 0.8em;
    font-weight: 700;
}

.dfb-tema-rel-kort {
    display: block;
    padding: 0.6em 0.8em;
    margin-bottom: 0.4em;
    border-left: 3px solid rgba(139, 26, 26, 0.25);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.dfb-tema-rel-kort:hover {
    background: rgba(139, 26, 26, 0.04);
}

.dfb-tema-rel-type {
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.68em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    display: block;
}

.dfb-tema-rel-navn {
    font-weight: 600;
    font-size: 1em;
}

.dfb-tema-rel-note {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-top: 0.1em;
}

/* ─── Oversigt-grid ─── */

.dfb-temaer-grid {
    display: grid;
    grid-template-columns: repeat(var(--dfb-temaer-cols, 3), 1fr);
    gap: 1.2em;
}

@media (max-width: 768px) {
    .dfb-temaer-grid {
        grid-template-columns: 1fr;
    }
}

.dfb-temaer-kort {
    display: flex;
    flex-direction: column;
    padding: 1.2em;
    border: 1px solid rgba(139, 26, 26, 0.12);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
    background: #fff;
}

.dfb-temaer-kort:hover {
    border-color: var(--bb-oxblod, #8b1a1a);
    box-shadow: 0 2px 8px rgba(139, 26, 26, 0.1);
}

.dfb-temaer-kort-kat {
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.65em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bb-oxblod, #8b1a1a);
    font-weight: 700;
    margin-bottom: 0.4em;
}

.dfb-temaer-kort-ikon {
    font-size: 1.8em;
    margin-bottom: 0.3em;
}

.dfb-temaer-kort-titel {
    font-family: var(--bb-serif, Georgia, 'Times New Roman', serif);
    font-size: 1.15em;
    font-weight: 700;
    color: #222;
}

.dfb-temaer-kort-under {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    margin-top: 0.15em;
}

.dfb-temaer-kort-antal {
    margin-top: auto;
    padding-top: 0.8em;
    font-family: var(--bb-sans, system-ui, sans-serif);
    font-size: 0.75em;
    color: #999;
}
