.invita-embed {
    margin-block: 1rem;
    padding: 1.25rem;
    border: 1px solid #c5d7e2;
    border-radius: 0.4rem;
    background: #f5f9fc;
}

.invita-embed p {
    margin: 0 0 0.6rem;
    font-weight: 600;
}

.invita-embed button {
    padding: 0.45rem 0.8rem;
    margin: 0 0.8rem 0.4rem 0;
    border: 1px solid #16668c;
    border-radius: 0.25rem;
    color: #104869;
    background: white;
}

.invita-embed button[hidden] {
    display: none;
}

.invita-embed.loaded {
    padding: 0;
    border: 0;
    background: transparent;
}

.invita-embed.loaded p {
    display: none;
}

.invita-embed iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 0 0.4rem;
    border: 0;
}

.invita-embed[data-editorial-provider="Instagram"] iframe {
    max-width: 540px;
    aspect-ratio: 4 / 5;
    min-height: 440px;
}

.invita-embed-cover img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 0.75rem;
}

.invita-embed.loaded .invita-embed-cover {
    display: none;
}

.wp-embed-aspect-4-3 .invita-embed iframe {
    aspect-ratio: 4 / 3;
}
