/*
 * WohnKompass – ein einzelner Premium-Hinweis
 *
 * Es werden keine vorhandenen Kacheln verschoben,
 * sortiert oder in neue Grids umgewandelt.
 */


/* ---------------------------------------------------------
   Einzelner Premium-Hinweis
   --------------------------------------------------------- */

.wk-premium-section-marker {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 10px 0 14px;
    padding: 9px 12px;

    box-sizing: border-box;

    border: 1px solid rgba(178, 148, 12, 0.38);
    border-radius: 12px;

    background:
        linear-gradient(
            100deg,
            rgba(202, 174, 38, 0.13) 0%,
            rgba(202, 174, 38, 0.06) 52%,
            rgba(255, 255, 255, 0.9) 100%
        );

    color: #162730;

    box-shadow:
        0 4px 14px rgba(30, 38, 32, 0.05);

    grid-column: 1 / -1;
    clear: both;
}

.wk-premium-section-marker__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 22px;
    padding: 0 10px;

    border: 1px solid #a98e0c;
    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #c9ad21 0%,
            #ae9210 100%
        );

    color: #ffffff;

    font: inherit;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow:
        0 1px 3px rgba(65, 52, 0, 0.18);
}

.wk-premium-section-marker__text {
    min-width: 0;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;

    color: #263d3c;
}


/* ---------------------------------------------------------
   Bestehende Badge-Elemente ausblenden
   --------------------------------------------------------- */

.wk-native-premium-badge-hidden {
    display: none !important;
}

.wk-native-premium-before-hidden::before {
    content: none !important;
    display: none !important;
}

.wk-native-premium-after-hidden::after {
    content: none !important;
    display: none !important;
}


/* ---------------------------------------------------------
   Auswirkungen älterer Reparaturen neutralisieren
   --------------------------------------------------------- */

.wk-premium-flow-row {
    display: none !important;
}

/*
 * Keine künstlichen oberen Abstände mehr.
 */
.wk-premium-badge-host,
.wk-premium-badge-host-table,
.wk-premium-flow-host,
.wk-premium-tile {
    padding-top: revert !important;
}

/*
 * Durch ältere Scripts erzeugte Badges ausblenden.
 */
.wk-premium-badge-fixed,
.wk-premium-original-badge,
.wk-premium-flow-badge,
.wk-premium-badge-final,
.wk-hide-premium-badge {
    display: none !important;
}


/* ---------------------------------------------------------
   Mobile Ansicht
   --------------------------------------------------------- */

@media (max-width: 600px) {
    .wk-premium-section-marker {
        gap: 8px;
        margin: 8px 0 12px;
        padding: 8px 10px;
        border-radius: 10px;
    }

    .wk-premium-section-marker__badge {
        min-height: 21px;
        padding: 0 8px;
        font-size: 8px;
    }

    .wk-premium-section-marker__text {
        font-size: 12px;
    }
}


/* ---------------------------------------------------------
   Druckansicht
   --------------------------------------------------------- */

@media print {
    .wk-premium-section-marker {
        box-shadow: none;
        break-inside: avoid;
    }
}
