/* ═══════════════════════════════════════════════
   DFB Salomons Tempel — Pergament & Oxblod
   ═══════════════════════════════════════════════ */

.dfb-st-wrap {
    max-width: 720px;
    margin: 1.5rem auto;
    font-family: var(--bb-sans, -apple-system, "Segoe UI", Roboto, sans-serif);
}

/* ── Diagram ────────────────────────────────── */

.dfb-st-diagram {
    background: var(--bb-pergament-lys, #FAF6EE);
    border: 1px solid var(--bb-kant, #D5C9B5);
    border-radius: 8px;
    padding: 0.5rem;
}
.dfb-st-svg { display: block; }

/* ── Forgårde ───────────────────────────────── */

.dfb-st-forgaard-ydre {
    fill: #EDE4D4; stroke: #8B7355; stroke-width: 3;
}
.dfb-st-forgaard-indre {
    fill: #E4DAC8; stroke: #A08060; stroke-width: 2.5;
}
.dfb-st-label-forgaard {
    font-family: var(--bb-sans, -apple-system, sans-serif);
    font-size: 11px; fill: #8B7355; font-weight: 500;
}

/* ── Tempelhus ──────────────────────────────── */

.dfb-st-debir > rect {
    fill: #E8D050; stroke: #B8960A; stroke-width: 2;
}
.dfb-st-hekal > rect {
    fill: #EDD868; stroke: #B8960A; stroke-width: 1.5;
}
.dfb-st-ulam > rect {
    fill: #DEC86C; stroke: #B8960A; stroke-width: 1.5;
}
.dfb-st-label-rum {
    font-family: var(--bb-serif, Georgia, "Times New Roman", serif);
    font-size: 10px; font-weight: 500; fill: #5C3A00;
}
.dfb-st-label-ext {
    font-family: var(--bb-serif, Georgia, serif);
    font-size: 11px; fill: #3A2200; font-weight: 600;
}
.dfb-st-label-linje {
    stroke: #A08060; stroke-width: 0.8; stroke-dasharray: 2 2;
}
.dfb-st-label-sm {
    font-family: var(--bb-sans, -apple-system, sans-serif);
    font-size: 9px; font-weight: 500; fill: #5C3A00;
}

/* ── Sidekamre ──────────────────────────────── */

.dfb-st-sidekamre > rect:first-child {
    fill: #D4C090; stroke: #A08060; stroke-width: 1;
}
.dfb-st-sidekammer-fill {
    fill: #C8B480; stroke: none;
}

/* ── Keruber ────────────────────────────────── */

.dfb-st-keruber ellipse {
    fill: #F0D840; fill-opacity: 0.4;
    stroke: #B8960A; stroke-width: 0.8; stroke-dasharray: 3 2;
}

/* ── Guldinventar ───────────────────────────── */

.dfb-st-inventar-guld rect,
.dfb-st-inventar-guld circle {
    fill: #F0C820; stroke: #B8960A; stroke-width: 0.8;
}

/* ── Bronzeinventar ─────────────────────────── */

.dfb-st-bronze > rect {
    fill: #A07040; stroke: #6B4820; stroke-width: 1.5;
}
.dfb-st-bronze > circle {
    fill: #A07040; stroke: #6B4820; stroke-width: 1.5;
}
.dfb-st-label-bronze {
    font-family: var(--bb-sans, -apple-system, sans-serif);
    font-size: 10px; font-weight: 500; fill: #F0E8DA;
}

.dfb-st-bronze-fade rect {
    fill: #A07040; stroke: #6B4820; stroke-width: 0.8;
}

/* ── Søjler (Jakin & Boaz) ──────────────────── */

.dfb-st-soejler circle {
    fill: #8B6030; stroke: #5C3A10; stroke-width: 1.5;
}

/* ── Kompas & målestok ──────────────────────── */

.dfb-st-kompas {
    font-family: var(--bb-serif, Georgia, serif);
    font-size: 13px; fill: #A09080; font-weight: 500;
}
.dfb-st-maal-linje {
    stroke: #A09080; stroke-width: 0.5; stroke-dasharray: 3 3;
}
.dfb-st-maal-endestop {
    stroke: #A09080; stroke-width: 0.5;
}
.dfb-st-maal-tekst {
    font-family: var(--bb-sans, -apple-system, sans-serif);
    font-size: 11px; fill: #A09080;
}
.dfb-st-titel {
    font-family: var(--bb-sans, -apple-system, sans-serif);
    font-size: 12px; fill: #8B7355;
}

/* ── Interaktivitet ─────────────────────────── */

.dfb-st-zone {
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.dfb-st-zone:hover { opacity: 0.82; }
.dfb-st-zone.dfb-st-aktiv { opacity: 1; }

/* ── Info-panel ─────────────────────────────── */

.dfb-st-info {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bb-pergament-lys, #FAF6EE);
    border: 1px solid var(--bb-kant, #D5C9B5);
    border-radius: 8px;
    min-height: 80px;
    line-height: 1.65;
    color: var(--bb-tekst, #3D2B1F);
    font-size: 0.92rem;
}
.dfb-st-info-placeholder {
    color: #A09080; text-align: center; padding: 1rem 0;
}
.dfb-st-info-icon {
    display: block; font-size: 1.5rem; margin-bottom: 0.35rem; opacity: 0.5;
}

.dfb-st-info-header {
    display: flex; align-items: baseline; gap: 0.5rem;
    flex-wrap: wrap; margin-bottom: 0.5rem;
}
.dfb-st-info-titel {
    font-family: var(--bb-serif, Georgia, serif);
    font-size: 1.1rem; font-weight: 600;
    color: var(--bb-oxblod, #8b1a1a); margin: 0;
}
.dfb-st-info-badge {
    display: inline-block; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    background: var(--bb-oxblod, #8b1a1a); color: #FAF6EE;
    padding: 0.15em 0.55em; border-radius: 3px;
}
.dfb-st-info-hebraisk {
    font-family: "SBL Hebrew", "Frank Ruehl CLM", "Ezra SIL", serif;
    font-size: 1rem; color: #6B5842; direction: rtl;
    margin-bottom: 0.5rem;
}
.dfb-st-info-afsnit { margin: 0.5rem 0; }
.dfb-st-info-label {
    font-weight: 600; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.03em; color: var(--bb-oxblod, #8b1a1a);
    margin-bottom: 0.15rem;
}
.dfb-st-info-maal {
    font-family: var(--bb-sans, -apple-system, sans-serif);
    font-size: 0.85rem; color: #6B5842; background: #F0E8DA;
    display: inline-block; padding: 0.2em 0.6em; border-radius: 3px;
    margin: 0.25rem 0;
}
.dfb-st-info-teologisk {
    border-left: 3px solid var(--bb-oxblod, #8b1a1a);
    padding-left: 0.75rem; margin: 0.65rem 0;
    font-style: italic; color: #5C4A36;
}
.dfb-st-info-refs { margin-top: 0.5rem; }
.dfb-st-info-refs a {
    display: inline-block; font-size: 0.85rem; font-weight: 500;
    color: var(--bb-oxblod, #8b1a1a); text-decoration: none;
    background: #F0E8DA; padding: 0.2em 0.6em; border-radius: 3px;
    margin: 0.15rem 0.25rem 0.15rem 0; transition: background 0.15s;
}
.dfb-st-info-refs a:hover {
    background: #E0D4C0; text-decoration: underline;
}

/* ── Legende ────────────────────────────────── */

.dfb-st-legend {
    display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
    margin-top: 0.5rem; font-size: 0.8rem; color: #6B5842;
}
.dfb-st-legend > span {
    display: flex; align-items: center; gap: 0.35rem;
}
.dfb-st-swatch {
    width: 12px; height: 12px; border-radius: 2px;
    display: inline-block; border: 1px solid rgba(0,0,0,0.1);
}
.dfb-st-sw-tempel   { background: #E8D050; }
.dfb-st-sw-guld     { background: #F0C820; }
.dfb-st-sw-bronze   { background: #A07040; }
.dfb-st-sw-soejle   { background: #8B6030; }
.dfb-st-sw-forgaard { background: #E4DAC8; }
