consent-gate {
    background-color: #212121;
    position: relative;
    display: flex;
    flex-direction: column;
    contain: content;
    justify-content: center;
    align-items: center;
    background-position: center center;
    background-size: cover;
    color: #ffffff;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
}

.post-body consent-gate {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

consent-gate.consent-gate--featured {
    border-radius: 0;
}

@supports (aspect-ratio: auto) {
    consent-gate {
        aspect-ratio: 16/9;
    }
}

@supports not (aspect-ratio: auto) {
    consent-gate::after {
        content: "";
        display: block;
        padding-bottom: calc(100% / (16 / 9));
    }
}

consent-gate h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

consent-gate p {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    font-size: 1rem;
}

consent-gate button.primary-btn {
    margin-top: 1rem;
}

consent-gate button.primary-btn {
    color: #ffffff;
    border-radius: 0.25rem;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.15;
    padding: calc(1.25rem * 0.5);
    text-decoration: none;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    margin-bottom: auto;
    background-color: hsl(199, 100%, 50%);
}

consent-gate button.refresh-btn {
    color: #212121;
    border-radius: 0.25rem;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.15;
    padding: calc(1rem * 0.5);
    text-decoration: none;
    cursor: pointer;
    background-color:  rgba(255,255,255,1);    display: none;
    transition: all 1s cubic-bezier(0, 0, 0.2, 1);
}

consent-gate .refresh-nag {
    display: none;
    font-size: 0.875rem;
    justify-self: flex-end;
    transition: all 1s cubic-bezier(0, 0, 0.2, 1);
}

@media (hover: hover) {
    consent-gate button.primary-btn:not(:active):hover {
        text-decoration: none;
        background-color: hsl(199, 100%, 40%);
    }

    consent-gate a:not(:active):hover {
        text-decoration: none;
        background-color: hsl(0, 0%, 15%);
    }
}