.ads-consent[hidden],
.ads-consent [hidden] {
    display: none !important;
}

.ads-consent {
    position: fixed;
    z-index: 1000;
    inset: auto 16px 16px;
    max-width: 850px;
    max-height: 65vh;
    overflow-y: auto;
    margin-inline: auto;
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px #113a612b;
}

.ads-consent-inner {
    padding: 24px;
}

.ads-consent h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--blue-dark);
}

.ads-consent p {
    margin: 0 0 12px;
    font-size: .88rem;
    line-height: 1.6;
}

.ads-consent-links,
.ads-consent-actions {
    display: flex;
    gap: 12px 20px;
    flex-wrap: wrap;
    align-items: center;
}

.ads-consent-links a,
.ads-consent-close {
    color: var(--blue);
    text-decoration: underline;
    font-size: .88rem;
}

.ads-consent .ads-consent-status {
    margin-top: 12px;
}

.ads-consent-status:empty {
    display: none;
}

.ads-consent-actions {
    margin-top: 16px;
}

.ads-consent-actions .button {
    flex: 1 1 220px;
    justify-content: center;
}

.ads-consent-close {
    border: 0;
    background: none;
    padding: 10px;
    cursor: pointer;
}

.site-footer .footer-bottom > div {
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .ads-consent {
        inset-inline: 8px;
        bottom: 8px;
    }

    .ads-consent-inner {
        padding: 16px;
    }

    .ads-consent-actions {
        gap: 10px;
    }
}
