/* ============================================================
   disturber.css | Disturber-Banner zwischen den Produktreihen und die Vorschau im Backend.
   Genutzt auf: templates/plp.php, templates/admin/disturber-editor.php.
   
   ============================================================ */

.disturber {
    background-color: #000000;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,.030) 0px, rgba(255,255,255,.030) 1px,
            rgba(0,0,0,.030) 1px, rgba(0,0,0,.030) 2px,
            transparent 2px, transparent 14px),
        repeating-linear-gradient(90deg,
            rgba(255,255,255,.014) 0px, rgba(255,255,255,.014) 1px,
            transparent 1px, transparent 20px),
        radial-gradient(ellipse 90% 320% at 88% 50%, #91B588 0%, #85A77D 10%, #74916D 20%, #667F5F 30%, #54694F 40%, #40503C 50%, #313E2E 60%, #20281E 70%, #0E120E 85%, #000000 100%);
    background-size: auto, auto, 100% 100%;
}

.disturber-preview {
    background-color: var(--c-mid);
}

.disturber {
    position: relative;
    max-height: 240px;
    min-height: 240px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: inset 0 14px 22px -10px rgba(0,0,0,.75),
                inset 0 -14px 22px -10px rgba(0,0,0,.75);
}

.disturber::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
}

.disturber-inner {
    position: relative;
    z-index: 1;
    color: var(--c-white);
    text-align: center;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

.disturber-headline,
#main-content .disturber-headline {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.25;
    margin: 0;
    padding-left: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

#main-content .disturber-headline::before { display: none; }

.disturber-text {
    margin-top: .3rem;
    font-size: .9rem;
    color: var(--c-white);
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn.disturber-cta {
    margin-top: 1.1rem;
    font-size: 1.05rem;
    color: var(--c-white);
    background: transparent;
    border-color: var(--c-accent);
}

.btn.disturber-cta:hover {
    background: var(--c-accent);
    color: var(--c-white);
}

.disturber--honeycomb-amber .btn.disturber-cta,
.disturber--honeycomb-slate-amber .btn.disturber-cta,
.disturber--diagonal-amber .btn.disturber-cta,
.disturber--diagonal-slate-amber .btn.disturber-cta,
.disturber--radial-amber .btn.disturber-cta,
.disturber--radial-slate-amber .btn.disturber-cta {
    border-color: var(--c-searchagent);
}

.disturber--honeycomb-amber .btn.disturber-cta:hover,
.disturber--honeycomb-slate-amber .btn.disturber-cta:hover,
.disturber--diagonal-amber .btn.disturber-cta:hover,
.disturber--diagonal-slate-amber .btn.disturber-cta:hover,
.disturber--radial-amber .btn.disturber-cta:hover,
.disturber--radial-slate-amber .btn.disturber-cta:hover {
    background: var(--c-searchagent);
    border-color: var(--c-searchagent);
}

.disturber.disturber--pattern,
.disturber-preview.disturber--pattern {
    background-attachment: scroll;
    background-repeat: repeat;
}

.plp-grid-section + .disturber { margin-top: -.25rem; }

.disturber + .plp-grid-section { padding-top: 2rem; }

@media (max-width: 992px) {
    .disturber {
        max-height: none;
        min-height: 240px;
        background-size: cover;
        background-attachment: scroll;
        box-shadow: inset 0 10px 16px -8px rgba(0,0,0,.75),
                    inset 0 -10px 16px -8px rgba(0,0,0,.75);
    }
}

@media (max-width: 576px) {
    .disturber-text { -webkit-line-clamp: 3; font-size: .82rem; }
}


.disturber-preview {
    position: relative;
    min-height: 240px;
    max-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 14px 22px -10px rgba(0,0,0,.75),
                inset 0 -14px 22px -10px rgba(0,0,0,.75);
}

.disturber-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
}

.disturber-preview-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2.4rem 1.2rem;
    color: var(--c-white);
}