/* Web24-Ad Manager — Frontend-Styles */

/* Wrapper um Anzeige + Kennzeichnung */
.ad-manager-zone-wrap {
    margin: 8px 0;
}

/* Kennzeichnungs-Zeile */
.adm-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 4px 0;
    font-size: 0.75em;
    line-height: 1.4;
    color: #646970;
}

/* "Werbung*" Badge */
.adm-label__badge {
    display: inline-block;
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 0.85em;
    font-weight: 600;
    color: #3c434a;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hinweistext */
.adm-label__text {
    flex: 1;
}

/* Textanzeige */
a.adm-text-ad,
span.adm-text-ad {
    display: inline-block;
    padding: 4px 8px;
    background: #f9f9f9;
    border: 1px solid #dcdcde;
    border-radius: 3px;
    color: #2271b1;
    text-decoration: none;
    font-size: 0.9em;
    line-height: 1.5;
}

a.adm-text-ad:hover {
    background: #f0f0f1;
    text-decoration: underline;
}

/* Anzeigen-Überschrift (h2 über dem Anzeigeninhalt) */
.ad-manager-headline {
    margin: 0 0 8px;
    padding: 0;
    font-size: 1.15em;
    line-height: 1.3;
    font-weight: 600;
}

/* ============================================================
   Umgebungstexte (v1.6.0): Freitexte + globale Textbausteine
   Stehen bewusst AUSSERHALB des klickgetrackten Anzeigen-Divs.
   ============================================================ */

/* Wrapper, nur vorhanden wenn Umgebungstexte gerendert werden */
.ad-manager-ad-wrap {
    margin: 0;
}

/* Individuelle Freitexte ueber/unter der Anzeige */
.adm-ad-text {
    font-size: 0.85em;
    line-height: 1.5;
    color: #50575e;
}

.adm-ad-text--above {
    margin: 0 0 8px;
}

.adm-ad-text--below {
    margin: 8px 0 0;
}

.adm-ad-text a {
    color: #2271b1;
}

/* Globale Textbausteine (per Referenz) */
.adm-textblocks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8em;
    line-height: 1.5;
    color: #646970;
}

.adm-textblocks--zone {
    margin: 4px 0;
}

.adm-textblocks--ad {
    margin: 6px 0;
}

.adm-textblock {
    padding: 0;
}

.adm-textblock a {
    color: #2271b1;
}
