﻿/* Cockpit-Hintergrund fuer die Leaderboard-Vorschau */
.overlay-grid > .card:first-child .preview {
    position: relative;
    isolation: isolate;
    background: #182633;
}

.overlay-grid > .card:first-child .preview::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: url("images/cockpit.png") center / cover no-repeat;
    filter: blur(12px);
    z-index: -2;
}

.overlay-grid > .card:first-child .preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 22, 0.6);
    z-index: -1;
}

/* Leaderboard innerhalb der Cockpit-Vorschau zentrieren */
.leaderboard-showcase .preview iframe {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Produktpraesentation Leaderboard */
.leaderboard-showcase > h3 {
    font-size: 1.9rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}

.leaderboard-showcase > p {
    color: #a9bacb;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Kompakter Kopfbereich der Leaderboard-Karte */
.leaderboard-showcase {
    padding-top: 12px !important;
}

.leaderboard-showcase > h3 {
    margin-top: 0 !important;
}

.leaderboard-showcase > p {
    margin-bottom: 8px !important;
}


/* Zwei Overlay-Karten nebeneinander */
@media (min-width: 701px) {
    .overlay-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .leaderboard-showcase {
        grid-column: 1 / -1 !important;
    }
}
