/* Pineapple Survey banner (app/templates/partials/pineapple-survey-card.php).
   Neutral names on purpose: ad blockers hide anything called "ad"/"ads". */

.pscard {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    box-sizing: border-box;
}

.pscard-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.pscard-link:hover {
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.pscard-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.pscard picture,
.pscard-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Homepage: sits right under the hero and its overlapping status cards. */
.pscard-home {
    padding: 28px 20px 8px;
}

/* IP leak test: below the result card, clear of its scroll button. */
.pscard-ipl {
    margin-top: 48px;
}

@media (max-width: 600px) {
    .pscard {
        max-width: 420px;
    }

    .pscard-home {
        padding: 20px 16px 4px;
    }

    .pscard-ipl {
        margin-top: 40px;
    }
}
