/* =========================================================
   7-STRÖM ONLINE
   WERBEFLÄCHEN

   Diese Datei enthält ausschließlich Styles für Werbung.
   ========================================================= */


/* =========================================================
   STARTSEITEN-LAYOUT

   7-Ström und Werbung werden untereinander angeordnet.
   Die Werbung bleibt Teil der Seite und scrollt mit.
   ========================================================= */

.home-screen:not(.hidden) {
    display: block;
    position: relative;

    min-height: 100vh;

    overflow-x: hidden;
}


/* =========================================================
   ALLGEMEINER WERBEPLATZ
   ========================================================= */

.ad-slot {
    width: 100%;
}


/* =========================================================
   WERBEBEREICH AUF DER STARTSEITE

   Der Bereich liegt unterhalb des 7-Ström-Bereichs
   und ist nicht am Browserfenster befestigt.
   ========================================================= */

.home-ad-zone {
    position: relative;

    width:
        min(
            720px,
            calc(100% - 40px)
        );

    margin:
        -105px
        auto
        80px;

    z-index: 15;
}


.ad-slot-home {
    width: 100%;

    margin: 0;
}


/* =========================================================
   EIGENWERBUNG
   ========================================================= */

.ad-own {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    text-decoration: none;

    cursor: pointer;
}


/* =========================================================
   BOOGAM
   ========================================================= */

.boogam-ad {
    gap: 30px;

    min-height: 86px;

    padding:
        13px
        26px;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(30, 32, 34, 0.96),
            rgba(15, 16, 17, 0.96)
        );

    box-shadow:
        0 12px 34px
        rgba(0, 0, 0, 0.38);

    overflow: hidden;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}


.boogam-ad:hover {
    transform: translateY(-2px);

    border-color:
        rgba(217, 190, 132, 0.34);

    background:
        linear-gradient(
            135deg,
            rgba(36, 38, 40, 0.98),
            rgba(18, 19, 20, 0.98)
        );

    box-shadow:
        0 16px 40px
        rgba(0, 0, 0, 0.46);
}


/* =========================================================
   KENNZEICHNUNG
   ========================================================= */

.ad-label {
    position: absolute;

    top: 7px;
    right: 10px;

    color:
        rgba(255, 255, 255, 0.38);

    font-size: 0.50rem;
    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* =========================================================
   BOOGAM LOGO
   ========================================================= */

.boogam-ad-logo {
    display: block;

    flex: 0 0 auto;

    width: 220px;
    max-width: 37%;

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 3px 8px
            rgba(0, 0, 0, 0.30)
        );
}


/* =========================================================
   BOOGAM TEXT
   ========================================================= */

.boogam-ad-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}


.boogam-ad-slogan {
    margin: 0;

    max-width: 400px;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 0.88rem;
    font-weight: 400;

    line-height: 1.5;

    text-align: left;
}


.boogam-ad-slogan strong {
    display: block;

    margin-bottom: 2px;

    color:
        rgba(255, 255, 255, 0.96);

    font-weight: 600;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .home-ad-zone {
        width:
            min(
                640px,
                calc(100% - 32px)
            );

        margin:
            -90px
            auto
            72px;
    }


    .boogam-ad {
        gap: 22px;

        min-height: 82px;

        padding:
            12px
            22px;
    }


    .boogam-ad-logo {
        width: 190px;

        max-width: 36%;
    }


    .boogam-ad-slogan {
        font-size: 0.82rem;
    }

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .home-ad-zone {
        position: relative;

        width:
            calc(100% - 24px);

        margin:
            -65px
            auto
            68px;
    }


    .boogam-ad {
        flex-direction: column;

        gap: 6px;

        min-height: 0;

        padding:
            18px
            14px
            13px;

        text-align: center;
    }


    .boogam-ad-logo {
        width: 185px;
        max-width: 72%;
    }


    .boogam-ad-copy {
        align-items: center;
    }


    .boogam-ad-slogan {
        max-width: 340px;

        font-size: 0.74rem;

        line-height: 1.4;

        text-align: center;
    }


    .boogam-ad-slogan strong {
        display: inline;

        margin-bottom: 0;
    }


    .ad-label {
        top: 6px;
        right: 8px;

        font-size: 0.46rem;
    }

}


/* =========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 380px) {

    .home-ad-zone {
        width:
            calc(100% - 18px);

        margin:
            -55px
            auto
            64px;
    }


    .boogam-ad {
        padding:
            17px
            12px
            12px;
    }


    .boogam-ad-logo {
        width: 165px;
    }


    .boogam-ad-slogan {
        max-width: 290px;

        font-size: 0.70rem;
    }

}