/* ── Vejle Vejr Widget ────────────────────────────────────────────────── */

.vv-vejr-wrap {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1a2332;
    max-width: 960px;
    margin: 0 auto;
}

/* ── Top: Lige nu + 7 dage ──────────────────────────────────────────── */
.vv-vejr-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (max-width: 680px) {
    .vv-vejr-top {
        grid-template-columns: 1fr;
    }
}

.vv-sektion-titel {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5a7a9a;
    margin: 0 0 1rem;
}

/* ── Lige nu ────────────────────────────────────────────────────────── */
.vv-nu {
    background: linear-gradient(145deg, #1a5fa8, #1e3d6e);
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem;
}

.vv-nu .vv-sektion-titel {
    color: rgba(255,255,255,0.7);
}

.vv-nu-indhold {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.vv-nu-ikon {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.vv-nu-temp {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.vv-nu-detaljer {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.vv-opdateret {
    font-size: 0.72rem;
    opacity: 0.6;
    margin: 0;
}

/* ── 7 dages oversigt ───────────────────────────────────────────────── */
.vv-7dage {
    background: #f0f5fb;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

.vv-dage-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

@media (max-width: 860px) {
    .vv-dage-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .vv-dage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vv-dag {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.6rem 0.4rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.15s ease;
    text-align: center;
}

.vv-dag:hover {
    border-color: #1a5fa8;
    background: #e8f0fb;
}

.vv-dag--aktiv {
    border-color: #1a5fa8;
    background: #ddeaf9;
}

.vv-dag-navn {
    font-size: 0.72rem;
    font-weight: 700;
    color: #5a7a9a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vv-dag img {
    width: 36px;
    height: 36px;
}

.vv-dag-temp {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a2332;
}

.vv-dag-info {
    font-size: 0.68rem;
    color: #7a9ab5;
    white-space: nowrap;
}

/* ── Time-for-time tabel ─────────────────────────────────────────────── */
.vv-timeplan {
    background: #fff;
    border: 1px solid #e0eaf4;
    border-radius: 16px;
    overflow: hidden;
}

.vv-dag-timeplan {
    padding: 1.25rem 1.5rem;
}

.vv-timeplan-titel {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e0eaf4;
}

.vv-tabel-wrap {
    overflow-x: auto;
}

.vv-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.vv-tabel thead th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a9ab5;
    padding: 0.5rem 1rem 0.5rem 0;
    border-bottom: 2px solid #e0eaf4;
}

.vv-tabel tbody tr {
    border-bottom: 1px solid #f0f5fb;
    transition: background 0.1s;
}

.vv-tabel tbody tr:hover {
    background: #f7fafd;
}

.vv-tabel tbody tr:last-child {
    border-bottom: none;
}

.vv-tabel td {
    padding: 0.55rem 1rem 0.55rem 0;
    vertical-align: middle;
}

.vv-tid {
    font-weight: 700;
    color: #1a5fa8;
    white-space: nowrap;
    width: 60px;
}

.vv-ikon-celle img {
    display: block;
}

.vv-temp {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.vv-precip {
    color: #2d8abf;
}

.vv-vind {
    color: #5a7a9a;
}

/* ── Sidebar-widget: Vejret lige nu ──────────────────────────────────── */
.vv-nu-widget {
    background: linear-gradient(145deg, #1a5fa8, #1e3d6e);
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.vv-nu-widget-titel {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.6rem;
}

.vv-nu-widget-indhold {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.vv-nu-widget-indhold img {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.vv-nu-widget-temp {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.vv-nu-widget-detaljer {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.88;
    margin-bottom: 0.4rem;
}

.vv-nu-widget-desc {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0.4rem;
}

.vv-nu-widget-opdateret {
    font-size: 0.68rem;
    opacity: 0.5;
}
/* ── Virksomheds-oversigt ─────────────────────────────────────────────── */
.vv-oversigt {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.vv-cols-1 { grid-template-columns: 1fr; }
.vv-cols-2 { grid-template-columns: repeat(2, 1fr); }
.vv-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vv-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .vv-cols-2,
    .vv-cols-3,
    .vv-cols-4 { grid-template-columns: 1fr; }
}

/* ── Virksomhedskort ──────────────────────────────────────────────────── */
.vv-kort {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.vv-kort:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

.vv-kort-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vv-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.vv-logo img { width: 100%; height: 100%; object-fit: cover; }
.vv-logo-placeholder {
    background: #3b82f6;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-kort-titel h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    line-height: 1.3;
}
.vv-kort-titel h3 a {
    text-decoration: none;
    color: #111827;
}
.vv-kort-titel h3 a:hover { color: #2563eb; }

.vv-kategori-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vv-kort-info {
    font-size: 0.875rem;
    color: #6b7280;
    flex-grow: 1;
    margin-bottom: 0.75rem;
}
.vv-kort-info p { margin: 0.25rem 0; }
.vv-kort-info a { color: #2563eb; text-decoration: none; }
.vv-kort-info a:hover { text-decoration: underline; }

.vv-se-mere {
    display: inline-block;
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.vv-se-mere:hover { text-decoration: underline; }

.vv-ingen-resultater {
    color: #6b7280;
    font-style: italic;
}

/* ── Kontakt-kort (single) ────────────────────────────────────────────── */
.vv-kontakt-kort {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.vv-kontakt-titel {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}
.vv-kontakt-liste {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.vv-kontakt-liste li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}
.vv-kontakt-liste li:last-child { border-bottom: none; }
.vv-kontakt-liste a { color: #2563eb; text-decoration: none; }
.vv-kontakt-liste a:hover { text-decoration: underline; }

.vv-aabnings-tider h4 { font-size: 0.9rem; margin: 0.75rem 0 0.3rem; }
.vv-aabnings-tider pre {
    font-family: inherit;
    font-size: 0.875rem;
    margin: 0;
    white-space: pre-wrap;
    color: #374151;
}

.vv-kort-map {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

/* ── Fremhævede virksomheder ─────────────────────────────────────────── */
.vv-fremhaevede-sektion {
    margin-bottom: 2rem;
}

.vv-kort--fremhaevet {
    border-color: #f59e0b;
    border-width: 2px;
    background: #fffbeb;
    position: relative;
}
.vv-kort--fremhaevet:hover {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.vv-sponsor-badge {
    position: absolute;
    top: -1px;
    right: 12px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 0 0 6px 6px;
}

.vv-alle-titel {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 600;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}
/* ── Vejle Dødsannoncer ──────────────────────────────────────────────── */

/* ── CTA-boks ────────────────────────────────────────────────────────── */
.vd-cta-boks {
    position: relative;
    background: linear-gradient(160deg, #2c1a0e 0%, #4a2e1a 50%, #2c1a0e 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem 2.5rem 2.5rem;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(44, 26, 14, 0.3);
}

/* Dekorativt baggrundsmønster */
.vd-cta-boks::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.vd-cta-boks::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.vd-cta-kors {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.vd-cta-indhold {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

h3.vd-cta-titel {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.6rem;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.3;
}

.vd-cta-tekst {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.vd-cta-features {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.vd-cta-features span {
    color: #c8a97a;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.vd-cta-knap {
    display: inline-block;
    background: #c8a97a;
    color: #2c1a0e;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(200, 169, 122, 0.35);
    letter-spacing: 0.01em;
}
.vd-cta-knap:hover {
    background: #dbbe91;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 169, 122, 0.45);
}

@media (max-width: 560px) {
    .vd-cta-boks {
        padding: 1.75rem 1.25rem;
    }
    .vd-cta-knap {
        width: 100%;
        text-align: center;
    }
    .vd-cta-features {
        gap: 0.75rem;
    }
}

/* ── Oversigt – kortgrid ─────────────────────────────────────────────── */
.vd-oversigt {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .vd-oversigt { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .vd-oversigt { grid-template-columns: 1fr; }
}

.vd-annonce {
    background: #fff;
    border: 2px solid #d4c9bc !important;
    border-radius: 12px;
    padding: 1.75rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 2px 8px rgba(44,26,14,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}
.vd-annonce:hover {
    box-shadow: 0 6px 20px rgba(44,26,14,0.12);
    transform: translateY(-2px);
}

/* Kors øverst */
.vd-annonce-top {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.vd-kors-wrap {
    width: 18px;
    height: 26px;
    color: #8a6a4a;
    opacity: 0.75;
}
.vd-kors-svg {
    width: 100%;
    height: 100%;
}

/* Navn */
.vd-navn {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.4rem;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.3;
}

/* Datoer */
.vd-datoer {
    font-size: 0.85rem;
    color: #8a6a4a;
    margin: 0 0 1rem;
    font-style: italic;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.vd-dato-sep {
    opacity: 0.4;
    font-style: normal;
}

/* Skillelinje */
.vd-linje {
    width: 40px;
    height: 1px;
    background: #d4c9bc;
    margin: 0 auto 1rem;
}

/* Tekst */
.vd-tekst {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0.75rem;
    font-family: Georgia, 'Times New Roman', serif;
    text-align: left;
    flex-grow: 1;
}

/* Familie */
.vd-familie {
    font-size: 0.82rem;
    color: #666;
    margin: 0.5rem 0;
    font-style: italic;
    text-align: left;
    line-height: 1.5;
}

/* Begravelse */
.vd-begravelse {
    font-size: 0.82rem;
    color: #7a6a5a;
    margin: 0.75rem 0 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}
.vd-begrav-ikon {
    flex-shrink: 0;
}

/* Footer – skjult */
.vd-annonce-footer {
    display: none;
}

.vd-ingen {
    color: #888;
    font-style: italic;
}

/* ── Formular ────────────────────────────────────────────────────────── */
.vd-formular-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.vd-formular-intro {
    background: #f9f5f0;
    border-left: 3px solid #b0967a;
    padding: 0.9rem 1.2rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #555;
}

.vd-sektion {
    margin-bottom: 2rem;
}

.vd-sektion-titel {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8e0d8;
}

.vd-valgfri {
    font-weight: 400;
    color: #999;
    font-size: 0.85rem;
}

.vd-sektion-info {
    font-size: 0.83rem;
    color: #888;
    margin: -0.5rem 0 1rem;
}

.vd-felt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 520px) {
    .vd-felt-grid {
        grid-template-columns: 1fr;
    }
}

.vd-felt {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.vd-felt label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.vd-felt input[type="text"],
.vd-felt input[type="email"],
.vd-felt input[type="tel"],
.vd-felt textarea {
    border: 1px solid #d4c9bc;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s;
    width: 100%;
    box-sizing: border-box;
}

.vd-felt input:focus,
.vd-felt textarea:focus {
    outline: none;
    border-color: #8a6a4a;
    box-shadow: 0 0 0 3px rgba(138,106,74,0.1);
}

.vd-hint {
    font-size: 0.75rem;
    color: #999;
}

/* Upload zone */
.vd-upload-zone {
    border: 2px dashed #d4c9bc;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
    background: #faf7f4;
}
.vd-upload-zone:hover {
    border-color: #8a6a4a;
    background: #f5efe8;
}
.vd-upload-zone.vd-har-foto {
    border-style: solid;
    border-color: #8a6a4a;
}
.vd-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
}
.vd-upload-tekst {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    pointer-events: none;
}
.vd-upload-ikon { font-size: 1.8rem; }

.vd-preview {
    position: relative;
    display: inline-block;
}
.vd-preview img {
    max-width: 160px;
    max-height: 180px;
    border-radius: 4px;
    object-fit: cover;
    border: 2px solid #d4c9bc;
}
.vd-fjern-foto {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fejl og succes */
.vd-fejl {
    background: #fdf0ef;
    border: 1px solid #e74c3c;
    color: #c0392b;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.vd-indsend-wrap {
    margin-top: 1.5rem;
}

.vd-indsend-knap {
    background: #5a3e2b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.vd-indsend-knap:hover:not(:disabled) {
    background: #3d2a1a;
}
.vd-indsend-knap:disabled {
    opacity: 0.7;
    cursor: wait;
}

.vd-gdpr {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.75rem;
    text-align: center;
}

/* Succes */
.vd-succes {
    text-align: center;
    padding: 3rem 2rem;
}
.vd-succes-ikon {
    width: 64px;
    height: 64px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.vd-succes h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}
.vd-succes p {
    color: #555;
    font-size: 0.95rem;
}

/* Admin */
.vd-admin-meta table {
    width: 100%;
}


/* ── OpenStreetMap kort ────────────────────────────────────────────── */
.vv-kort-map {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    background: #e8e8e8;
}

/* ── Single virksomhed ────────────────────────────────────────────── */
.lm-virk-single { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.lm-virk-single-inner { display: flex; flex-direction: column; gap: 2rem; }

.lm-breadcrumb { font-size: 0.85rem; color: #666; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.lm-breadcrumb a { color: #555; text-decoration: none; }
.lm-breadcrumb a:hover { text-decoration: underline; }

.lm-virk-titel { font-size: 2rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lm-virk-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; border: 1px solid #eee; }
.lm-virk-kat-badge { font-size: 0.75rem; font-weight: 600; background: #f0f4ff; color: #3355aa; border-radius: 20px; padding: 4px 12px; }

.lm-virk-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 700px) { .lm-virk-layout { grid-template-columns: 1fr; } }

.lm-virk-sektion-titel { font-size: 1rem; font-weight: 700; margin: 0 0 0.75rem; }

.lm-virk-kontakt-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.lm-virk-kontakt-liste li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.95rem; }
.lm-virk-kontakt-liste a { color: #222; text-decoration: none; }
.lm-virk-kontakt-liste a:hover { text-decoration: underline; }
.lm-virk-ikon { flex-shrink: 0; width: 1.4rem; text-align: center; }

.lm-virk-aabning { margin-top: 1.25rem; }
.lm-virk-aabning-tekst { font-family: inherit; font-size: 0.9rem; margin: 0; white-space: pre-wrap; color: #444; }

.lm-virk-hjemmeside-knap { display: inline-block; margin-top: 1.25rem; background: #1a3c6e; color: #fff; padding: 0.6rem 1.25rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.lm-virk-hjemmeside-knap:hover { background: #122d52; }

.lm-virk-kort { width: 100%; height: 320px; border-radius: 10px; overflow: hidden; background: #e8eaed; }

.lm-virk-indhold { border-top: 1px solid #eee; padding-top: 1.5rem; font-size: 1rem; line-height: 1.7; }

/* ── Andre virksomheder ───────────────────────────────────────────── */
.lm-virk-andre { border-top: 1px solid #eee; padding-top: 1.5rem; }
.lm-virk-andre-titel { font-size: 1.2rem; font-weight: 700; margin: 0 0 1rem; }
.lm-virk-andre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1rem; }

.lm-virk-anden-kort { display: flex; align-items: center; gap: 0.75rem; background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 0.75rem; text-decoration: none; color: #222; transition: border-color 0.15s, box-shadow 0.15s; }
.lm-virk-anden-kort:hover { border-color: #bbb; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.lm-virk-anden-logo { width: 48px; height: 48px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.lm-virk-anden-logo img { width: 100%; height: 100%; object-fit: cover; }
.lm-virk-anden-logo--placeholder { background: #1a3c6e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; }
.lm-virk-anden-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lm-virk-anden-info strong { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-virk-anden-info span { font-size: 0.78rem; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-virk-anden-pil { font-size: 1rem; color: #999; flex-shrink: 0; }

.lm-virk-se-alle { display: inline-block; font-size: 0.9rem; color: #1a3c6e; font-weight: 600; text-decoration: none; }
.lm-virk-se-alle:hover { text-decoration: underline; }

/* ── Kort fix: sikr Leaflet altid har en synlig højde ──────────────── */
.lm-virk-kort {
    width: 100%;
    height: 320px !important;
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8eaed;
    display: block;
    position: relative;
}

.lm-virk-kort .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px;
}

/* ── Pagination ───────────────────────────────────────────────────── */
.lm-pagination { margin-top: 2rem; }
.lm-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.lm-pagination ul li a,
.lm-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; color: #333; font-size: 0.9rem; transition: background 0.15s, border-color 0.15s; }
.lm-pagination ul li a:hover { background: #f0f4ff; border-color: #aac; }
.lm-pagination ul li--aktiv span,
.lm-pagination ul li.lm-pagination__item--aktiv span { background: #1a3c6e; color: #fff; border-color: #1a3c6e; font-weight: 700; }
.lm-pagination ul li .dots { border: none; color: #999; }
