/* Keep ad placeholders visible as gray blocks in both themes. */
:is(
    .advertisement-el,
    .advertisement-el-vertical,
    .advertisement-el-mobile,
    .advertisement-en,
    .advertisement-en-vertical,
    .advertisement-en-mobile,
    .advertisement-pl,
    .advertisement-pl-vertical,
    .advertisement-pl-mobile
) {
    background-color: #f5f5f5;
}

[data-bs-theme="dark"] :is(
    .advertisement-el,
    .advertisement-el-vertical,
    .advertisement-el-mobile,
    .advertisement-en,
    .advertisement-en-vertical,
    .advertisement-en-mobile,
    .advertisement-pl,
    .advertisement-pl-vertical,
    .advertisement-pl-mobile
) {
    background-color: #343434;
}

/* Match the slot background when Google returns no ad. */
.adsbygoogle[data-ad-status="unfilled"] {
    background-color: #f5f5f5 !important;
}

[data-bs-theme="dark"] .adsbygoogle[data-ad-status="unfilled"] {
    background-color: #343434 !important;
}

[data-bs-theme="dark"] .adsbygoogle[data-ad-status="unfilled"] iframe {
    filter: brightness(0.2) !important;
}
