/* =====================================================================
   HERO MED SPØRGEGUIDE - [dating_hero]
   Overført fra datingxperten.de, hvor reglerne lå i child-temaets
   style.css. Her følger de pluginnet, så markup, CSS og hero-wizard.js
   altid er samme version.
   ===================================================================== */

:root {
    --brand-primary-light: #fff5f6;
    --brand-cta-light: #e6f7f1;
}

/* ---------- Ramme og kolonner ---------- */
.dx-hero-2col-wrapper {
    background: linear-gradient(145deg, #ffffff 0%, var(--brand-primary-light) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.dx-hero-2col-wrapper::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 79, 103, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.dx-hero-2col-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 1;
}

.dx-hero-text-col {
    flex: 1.2 1 0%;
    text-align: left;
    max-width: 650px;
}

/* ---------- Tekst ---------- */
.dx-hero-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.dx-hero-title span {
    background: linear-gradient(90deg, #ff4f67 0%, #c41831 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.dx-hero-subtitle {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.6;
    font-weight: 500;
    margin: 0 0 24px;
}

.dx-hero-usps {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.dx-hero-usps li {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.dx-hero-usps li i {
    color: var(--brand-cta);
    background: var(--brand-cta-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* ---------- Forfatter-pille ---------- */
.dx-hero-trust-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 99px;
    padding: 5px 20px 5px 5px;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dx-hero-trust-pill:hover,
.dx-hero-trust-pill:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.dx-hero-trust-pill img {
    width: 42px !important;
    height: 42px !important;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-primary-light);
    display: block;
}

.dx-hero-trust-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.dx-hero-trust-name {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 700;
}

.dx-hero-trust-name a {
    color: var(--text-dark);
    text-decoration: none;
}

.dx-hero-trust-name a:hover,
.dx-hero-trust-name a:focus-visible {
    color: var(--brand-primary);
    text-decoration: underline;
}

.dx-hero-trust-meta {
    font-size: 11px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.dx-meta-date {
    color: var(--brand-cta);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dx-meta-divider {
    color: #d1d5db;
}

/* ---------- Spørgeguide ---------- */
.dx-hero-form-col {
    flex: 1 1 0%;
    width: 100%;
    max-width: 420px;
}

.dx-hero-form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(255, 79, 103, 0.08);
    text-align: center;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    transition: min-height 0.4s, padding 0.3s;
    box-sizing: border-box;
}

.dx-hero-form-card.is-result-mode {
    min-height: 280px;
}

.dx-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 800;
    margin: 0 auto 12px;
    transition: opacity 0.3s;
}

.dx-form-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 16px;
    line-height: 1.25;
}

.dx-form-title-tight {
    margin-bottom: 8px;
}

.dx-form-hint {
    font-size: 13px;
    color: var(--text-medium);
    margin: 0 0 20px;
}

.dx-form-hint-center {
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
}

.dx-wizard-step {
    display: none;
    animation: dxFadeInRight 0.3s ease-out forwards;
    flex-grow: 1;
}

.dx-wizard-step.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes dxFadeInRight {
    0%   { opacity: 0; transform: translateX(10px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* !important: temaets og Elementors button-regler sætter selv farver,
   kanter og skrift med høj specificitet. */
.dx-option-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid var(--border-color) !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    margin: 0 0 8px !important;
    transition: all 0.2s !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
    outline: none !important;
    text-align: left !important;
}

.dx-option-btn i {
    font-size: 18px !important;
    color: var(--text-light) !important;
    margin-right: 12px !important;
    width: 20px !important;
    text-align: center !important;
    transition: color 0.2s !important;
}

.dx-option-btn:hover,
.dx-option-btn:focus-visible {
    border-color: var(--brand-primary) !important;
    background: var(--brand-primary-light) !important;
    color: var(--brand-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(255, 79, 103, 0.1) !important;
}

.dx-option-btn.selected {
    border-color: var(--brand-primary) !important;
    background: var(--brand-primary-light) !important;
    color: var(--brand-primary) !important;
    box-shadow: 0 4px 10px rgba(255, 79, 103, 0.15) !important;
}

.dx-option-btn.selected i {
    color: var(--brand-primary) !important;
}

.dx-option-btn:active {
    transform: scale(0.98) !important;
}

.dx-multi-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.dx-multi-btn {
    background: var(--bg-softer) !important;
    border: 2px solid transparent !important;
    padding: 14px 10px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    outline: none !important;
}

.dx-multi-btn:hover,
.dx-multi-btn:focus-visible {
    background: #e5e7eb !important;
}

.dx-multi-btn:active {
    transform: scale(0.96) !important;
}

.dx-multi-btn.selected {
    background: var(--brand-primary-light) !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-primary) !important;
    box-shadow: 0 4px 10px rgba(255, 79, 103, 0.15) !important;
}

.dx-form-submit-btn {
    background: var(--brand-cta) !important;
    color: #fff !important;
    border: none !important;
    width: 100% !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3) !important;
    margin-top: auto !important;
    outline: none !important;
}

.dx-form-submit-btn:hover:not(:disabled),
.dx-form-submit-btn:focus-visible:not(:disabled) {
    background: var(--brand-cta-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4) !important;
}

.dx-form-submit-btn:active:not(:disabled) {
    transform: scale(0.98) !important;
}

.dx-form-submit-btn:disabled {
    background: var(--brand-cta) !important;
    color: #fff !important;
    opacity: 0.4 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

.dx-form-submit-btn i {
    font-size: 0.85em;
}

.dx-mobile-start-btn {
    display: none !important;
}

/* ---------- Loader og resultat ---------- */
.dx-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 10px 0;
}

.dx-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--brand-primary-light);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: dxSpin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes dxSpin {
    to { transform: rotate(360deg); }
}

.dx-loader-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    transition: opacity 0.3s;
}

.dx-success-icon {
    font-size: 54px;
    color: var(--brand-cta);
    margin-bottom: 12px;
    animation: dxPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes dxPopIn {
    0%   { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.dx-hero-form-card .dx-reset-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    margin: 20px auto 0 !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--text-medium) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: color 0.2s, background-color 0.2s !important;
}

.dx-hero-form-card .dx-reset-link:hover,
.dx-hero-form-card .dx-reset-link:focus-visible {
    background-color: var(--bg-softer) !important;
    color: var(--brand-primary) !important;
}

/* ---------- Prikker og tillid ---------- */
.dx-wizard-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dx-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: background 0.3s, transform 0.3s;
}

.dx-dot.active {
    background: var(--brand-primary);
    transform: scale(1.3);
}

.dx-dot.completed {
    background: var(--brand-cta);
}

.dx-form-trust-footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
}

.dx-form-trust-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dx-form-trust-footer i {
    color: var(--brand-cta);
}

.dx-mobile-collapsed-text {
    display: none;
}

/* ---------- Top-match i oversigten, når guiden er brugt ---------- */
.dx-match-found .dx-card.dx-card-top-match {
    border: 2px solid var(--brand-primary) !important;
    box-shadow: 0 15px 40px rgba(255, 79, 103, 0.15) !important;
    transform: translateY(-2px) !important;
    margin-top: 15px !important;
}

.dx-match-found .dx-card.dx-card-top-match::before {
    content: "🔥 Dit bedste match ud fra dine svar";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(255, 79, 103, 0.3);
}

.dx-match-found .dx-card.dx-card-top-match .dx-badge-wrap {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

.dx-match-found .dx-card.dx-card-top-match .dx-rank {
    background: #fff !important;
    color: var(--brand-primary) !important;
}

.dx-match-found .dx-card.dx-card-top-match .dx-favorit {
    color: #fff !important;
}

/* ---------- Mindre skærme ---------- */
@media (max-width: 1200px), (max-height: 800px) {
    .dx-hero-2col-wrapper { padding: 30px 20px; }
    .dx-hero-form-card { padding: 20px; min-height: 340px; }
    .dx-hero-title { font-size: 36px; margin: 0 0 12px; }
    .dx-hero-subtitle { margin: 0 0 16px; font-size: 15px; }
    .dx-hero-usps { margin: 0 0 24px; }
}

@media (max-width: 900px) {
    .dx-hero-2col-wrapper { padding: 12px 16px 16px; }
    .dx-hero-2col-container { flex-direction: column; gap: 12px; }
    .dx-hero-text-col { text-align: center; align-items: center; }
    .dx-hero-title { font-size: 24px; margin: 10px 0 4px; }
    .dx-hero-subtitle,
    .dx-hero-usps { display: none !important; }

    .dx-hero-trust-pill {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-bottom: 4px;
    }
    .dx-hero-trust-pill img { display: none !important; }
    .dx-hero-trust-info { flex-flow: row wrap; align-items: center; justify-content: center; gap: 4px; }
    .dx-hero-trust-name { font-size: 11px; }
    .dx-hero-trust-meta { margin-top: 0; font-size: 10px; }

    .dx-hero-form-col { max-width: none; }
    .dx-hero-form-card { padding: 16px 14px; min-height: auto; width: 100%; }
    .dx-hero-form-card.is-result-mode { min-height: auto; }
    .dx-form-title { font-size: 18px; margin-bottom: 12px; }
    .dx-option-btn { padding: 12px 14px !important; font-size: 14px !important; }

    .dx-hero-form-card.dx-mobile-collapsed {
        border: 2px solid var(--brand-primary-light);
        box-shadow: 0 10px 25px rgba(255, 79, 103, 0.12);
    }
    .dx-hero-form-card.dx-mobile-collapsed .dx-form-badge {
        background: transparent;
        color: var(--text-dark);
        font-size: 17px;
        font-weight: 900;
        margin: 0 auto 4px;
        padding: 0;
    }
    .dx-hero-form-card.dx-mobile-collapsed .dx-mobile-collapsed-text {
        display: block !important;
        font-size: 13px;
        color: var(--text-medium);
        margin: 0 0 12px;
        line-height: 1.4;
    }
    .dx-hero-form-card.dx-mobile-collapsed .dx-wizard-step,
    .dx-hero-form-card.dx-mobile-collapsed .dx-wizard-progress,
    .dx-hero-form-card.dx-mobile-collapsed .dx-form-trust-footer {
        display: none !important;
    }
    .dx-hero-form-card.dx-mobile-collapsed .dx-mobile-start-btn {
        display: flex !important;
        animation: dxPulse 2s ease infinite;
        margin-top: 4px !important;
        padding: 12px !important;
        font-size: 15px !important;
    }
    .dx-hero-form-card:not(.dx-mobile-collapsed) .dx-mobile-start-btn,
    .dx-hero-form-card:not(.dx-mobile-collapsed) .dx-mobile-collapsed-text {
        display: none !important;
    }

    .dx-match-found .dx-card.dx-card-top-match::before {
        content: "🔥 Dit bedste match" !important;
        font-size: 12px !important;
        padding: 5px 12px !important;
    }
    .dx-match-found .dx-card.dx-card-top-match .dx-favorit { display: none !important; }
}

@keyframes dxPulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .dx-spinner,
    .dx-success-icon,
    .dx-wizard-step,
    .dx-mobile-start-btn { animation: none !important; }
    .dx-option-btn,
    .dx-multi-btn,
    .dx-form-submit-btn,
    .dx-hero-trust-pill { transition: none !important; }
}

/* Temaets H1-regel (Neve/Elementor-kit: 50px, vægt 500) vinder ellers over
   .dx-hero-title. Løftet med !important og egen specificitet - også i de
   responsive størrelser ovenfor, som gentages her. */
.dx-hero-2col-wrapper h1.dx-hero-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 44px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
    color: var(--text-dark) !important;
    text-transform: none !important;
    margin: 0 0 16px !important;
}
@media (max-width: 1200px), (max-height: 800px) {
    .dx-hero-2col-wrapper h1.dx-hero-title { font-size: 36px !important; margin: 0 0 12px !important; }
}
@media (max-width: 900px) {
    .dx-hero-2col-wrapper h1.dx-hero-title { font-size: 24px !important; margin: 10px 0 4px !important; }
}

/* "Sådan bedømmer vi" ved siden af forfatter-pillen. */
.dx-hero-2col-wrapper .dx-hero-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-medium);
    text-decoration: none;
    vertical-align: middle;
}
.dx-hero-2col-wrapper .dx-hero-method i {
    color: var(--brand-primary);
    font-size: 12px;
}
.dx-hero-2col-wrapper .dx-hero-method:hover,
.dx-hero-2col-wrapper .dx-hero-method:focus-visible {
    color: var(--brand-primary);
    text-decoration: underline;
}
@media (max-width: 900px) {
    .dx-hero-2col-wrapper .dx-hero-method {
        display: flex;
        justify-content: center;
        margin: 4px 0 0;
        font-size: 11px;
    }
}

/* Ord, der skal blive på samme linje (fx "og -apps"). Arver forældrets gradient. */
.dx-hero-title span.dx-nowrap {
    background: none;
    display: inline;
    white-space: nowrap;
}

/* ---------- Top 3 i stedet for guiden (hoejre="top") ---------- */
.dx-hero-top-col {
    flex: 1 1 0%;
    width: 100%;
    max-width: 380px;
}
.dx-hero-top-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 22px 16px;
    box-shadow: 0 15px 35px rgba(255, 79, 103, 0.08);
}
.dx-hero-top-titel {
    font-weight: 700;
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.dx-hero-top-liste { list-style: none; margin: 0; padding: 0; }
.dx-hero-top-liste li { border-top: 1px solid #f4e6e9; margin: 0; }
.dx-hero-top-liste a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    color: var(--text-dark);
    text-decoration: none;
}
.dx-hero-top-nr {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff0f3;
    color: #c41831;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dx-hero-top-navn { flex: 1; font-weight: 600; font-size: 15px; }
.dx-hero-top-liste a:hover .dx-hero-top-navn { color: #c41831; }
.dx-hero-top-karakter { font-weight: 800; font-size: 17px; }
.dx-hero-top-alle {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #f4e6e9;
    font-weight: 600;
    font-size: 14px;
    color: #c41831;
    text-decoration: none;
}
.dx-hero-top-alle i { margin-left: 4px; font-size: 12px; }
/* Links fra boksen lander på kortet - ikke under en klæbende menu. */
.dating-overview-wrapper .dx-card { scroll-margin-top: 100px; }
/* På mobil står kortene lige under hero'en - boksen ville bare skubbe dem ned. */
@media (max-width: 900px) {
    .dx-hero-top-col { display: none; }
}
/* Bred skærm: overskriften på to linjer og de tre punkter på én linje.
   Tekstkolonnen får 760px (650 før), guiden/top 3 400px (420 før). */
@media (min-width: 1280px) {
    .dx-hero-2col-container { gap: 40px; }
    .dx-hero-text-col { flex: 1 1 auto; max-width: 760px; }
    .dx-hero-form-col,
    .dx-hero-top-col { flex: 0 0 400px; max-width: 400px; }
    .dx-hero-usps { flex-wrap: nowrap; gap: 16px; }
    .dx-hero-usps > * { white-space: nowrap; font-size: 13.5px; }
}

/* ---------- Top 3, variant B (2.14.0): nr. 1 fremhævet ---------- */
.dx-hero-top-card { padding: 18px 18px 14px; }
.dx-hero-top-titel { padding: 0 4px; margin-bottom: 10px; }
.dx-hero-top-1 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 4px;
    background: #fff7f9;
    border: 1.5px solid #f2b8c6;
    border-radius: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.dx-hero-top-1:hover { border-color: #e8335a; }
.dx-hero-top-1:hover .dx-hero-top-navn { color: #c41831; }
.dx-hero-top-logo,
.dx-hero-top-logo-lille {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 8px;
    overflow: hidden;
}
.dx-hero-top-logo { width: 84px; height: 42px; }
.dx-hero-top-logo-lille { width: 62px; height: 31px; }
.dx-hero-top-logo img,
.dx-hero-top-logo-lille img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dx-hero-top-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.dx-hero-top-1 .dx-hero-top-navn { font-size: 15px; font-weight: 700; line-height: 1.25; }
.dx-hero-top-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #c41831;
}
.dx-hero-top-tag i { font-size: 9px; }
.dx-hero-top-sub { font-size: 12px; line-height: 1.35; color: #5b6475; }
.dx-hero-top-score { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.dx-hero-top-1 .dx-hero-top-karakter { font-size: 22px; font-weight: 800; }
.dx-hero-top-ord { font-size: 9.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; margin-top: 3px; }
.dx-hero-top-liste li:first-child { border-top: none; }
.dx-hero-top-liste a { padding: 9px 4px; gap: 10px; }
.dx-hero-top-liste .dx-hero-top-nr { background: #f3f4f6; color: #4b5563; width: 24px; height: 24px; font-size: 12px; }
.dx-hero-top-liste .dx-hero-top-navn { font-size: 14px; }
.dx-hero-top-liste .dx-hero-top-karakter { font-size: 16px; }/* Logofilerne er 300x150 med luft omkring motivet - zoom ind i de små felter. */
.dx-hero-top-logo-lille img { transform: scale(1.2); }

/* ---------- Top 3 (2.15.0): lige høje rækker, nr. 1 med baggrund ---------- */
.dx-hero-top-card { padding: 16px; }
.dx-hero-top-titel { padding: 0 4px; margin-bottom: 8px; }
.dx-hero-top-liste li,
.dx-hero-top-liste li:first-child { border-top: none; }
.dx-hero-top-liste li + li { margin-top: 4px; }
.dx-hero-top-liste a {
    height: 64px;
    box-sizing: border-box;
    padding: 9px 10px;
    gap: 11px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.dx-hero-top-liste a:hover { background: #fffafb; border-color: #f4dbe2; }
.dx-hero-top-forste a { background: #fff7f9; border-color: #f2b8c6; }
.dx-hero-top-forste a:hover { background: #fff7f9; border-color: #e8335a; }
.dx-hero-top-liste .dx-hero-top-nr { width: 22px; height: 22px; font-size: 11px; background: #f3f4f6; color: #4b5563; }
.dx-hero-top-forste .dx-hero-top-nr { background: #e8335a; color: #fff; }
/* Logoerne er JPG'er med hvid bund: multiply lader den hvide flade
   antage baggrundens farve, så der hverken er ramme eller hvid firkant. */
.dx-hero-top-liste .dx-hero-top-logo {
    width: 72px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 0;
}
.dx-hero-top-liste .dx-hero-top-logo img { mix-blend-mode: multiply; transform: scale(1.2); }
.dx-hero-top-liste .dx-hero-top-navn { flex: none; font-size: 14px; font-weight: 700; line-height: 1.25; }
.dx-hero-top-liste .dx-hero-top-sub {
    display: block;
    max-width: 100%;
    font-size: 11.5px;
    line-height: 1.35;
    color: #5b6475;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dx-hero-top-liste .dx-hero-top-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dx-hero-top-liste .dx-hero-top-karakter { font-size: 18px; font-weight: 800; }
.dx-hero-top-liste .dx-hero-top-ord { font-size: 8.5px; margin-top: 2px; }
.dx-hero-top-alle { margin-top: 8px; }/* Hele logoet (ingen zoom - brede logoer blev skåret), og taglinen må fylde
   op til to linjer inden for rækkens 64px. */
.dx-hero-top-liste .dx-hero-top-logo { width: 70px; height: 35px; }
.dx-hero-top-liste .dx-hero-top-logo img { transform: none; }
.dx-hero-top-liste .dx-hero-top-sub {
    white-space: normal;
    font-size: 11px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Vigtig besked i hero'en (2.21.0) - samme stil som "Wichtiger Hinweis" på datingxperten.de. */
.dx-hero-advarsel {
    margin-top: 22px;
    padding: 14px 16px;
    background: rgba(150, 150, 150, 0.08);
    border-left: 3px solid #d9534f;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
    text-align: left;
    max-width: 680px;
}
.dx-hero-advarsel strong { color: #1f2937; }
.dx-hero-advarsel a { color: #c41831; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
    .dx-hero-advarsel { margin-top: 14px; font-size: 12.5px; padding: 12px 14px; }
}
/* Hero uden højrekolonne (hoejre="ingen", 2.21.1): teksten centreret. */
.dx-hero-solo .dx-hero-2col-container { justify-content: center; }
.dx-hero-solo .dx-hero-text-col { flex: 0 1 860px; max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dx-hero-solo .dx-hero-usps { justify-content: center; }
.dx-hero-solo .dx-hero-advarsel { max-width: 760px; }
/* 2.24.4: Hero uden højre kolonne på mobil. Containeren står i kolonne under
   900px, så flex-basis 860px blev til en højde på 860px (tom plads under advarslen). */
@media (max-width: 900px) {
    .dx-hero-solo .dx-hero-text-col { flex: 0 0 auto; }
}

/* ---------- Top-match + tilbud på samme kort (2.28.1) ----------
   Begge mærkater sad centreret på kortets kant og dækkede hinanden.
   Har kortet et tilbud, rykker "Dit bedste match" til venstre og tilbuddet til højre. */
@media (min-width: 901px) {
    .dx-match-found .dx-card.dx-card-top-match:has(.dx-tilbud)::before { left: 24px; transform: none; }
}
@media (max-width: 900px) {
    .dx-match-found .dx-card.dx-card-top-match:has(.dx-tilbud)::before { content: "🔥 Bedste match" !important; left: 46px; transform: none; }
    .dx-match-found .dx-card.dx-card-top-match .dx-tilbud { left: auto; right: 12px; transform: none; }
}
@media (max-width: 360px) {
    .dx-match-found .dx-card.dx-card-top-match:has(.dx-tilbud)::before { content: "Bedste match" !important; font-size: 11px !important; padding: 5px 10px !important; left: 40px; }
    .dx-match-found .dx-card.dx-card-top-match .dx-tilbud { right: 8px; padding: 5px 10px; }
}
