#comunicat-a17-dialog:not([open]) { display: none; }
#comunicat-a17-dialog[open] { display: flex; flex-direction: column; align-items: stretch; box-sizing: border-box; position: fixed; inset: 0; width: min(92vw, 48vh, 460px); max-height: 94vh; padding: 0; margin: auto; border: 0; border-radius: 14px; background: white; color: #14265b; box-shadow: 0 15px 70px #0005; overflow: auto; }
#comunicat-a17-dialog::backdrop { background: rgb(9 19 45 / 67%); }
#comunicat-a17-dialog img { display: block; width: 100%; height: auto; }
#comunicat-a17-dialog .a17-close { position: absolute; right: 7px; top: 7px; width: 44px; height: 44px; padding: 0; border: 1px solid #a7bed2; border-radius: 50%; color: #162852; background: white; font: 32px/1 Arial,sans-serif; cursor: pointer; }
#comunicat-a17-dialog .a17-link, .comunicat-a17-offer .wp-block-button__link { background: #174483; color: white; font-weight: 700; }
#comunicat-a17-dialog .a17-link { display: block; padding: 13px 8px; font-size: 16px; text-align: center; text-decoration: underline; }
.comunicat-a17-offer { max-width: 780px; margin: 0 auto; color: #18284a; }
.comunicat-a17-offer .a17-lead { font-size: 1.2em; }
.comunicat-a17-offer .a17-price { background: #eaf5fc; border-left: 5px solid #518ec4; padding: 1em; font-size: 1.25em; }
.comunicat-a17-offer h2 { margin-top: 1.3em; }

.comunicat-a17-hero {
    position: relative;
    left: var(--a17-band-left, 0px);
    width: var(--a17-band-width, 100%);
    max-width: none;
    margin-bottom: 2rem;
    background: #eaf7fc url('banda.webp') center / cover;
}
.comunicat-a17-hero .a17-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: clamp(12px, 4vw, 54px);
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 56px);
    box-sizing: border-box;
    color: #10264a;
    min-height: 420px;
}
.comunicat-a17-hero span { font-weight: 700; }
.comunicat-a17-hero p { margin: .25em 0 0; color: inherit; font-size: clamp(24px, 4.5vw, 60px); line-height: 1.08; }
.comunicat-a17-hero img { display: block; width: min(34%, 245px); height: auto; filter: drop-shadow(0 10px 10px #17396138); }
.comunicat-a17-offer .wp-block-button a.wp-block-button__link[href^="https://wa.me/"] { background: #087740; color: #fff; }
.comunicat-a17-offer .wp-block-button a.wp-block-button__link[href^="https://wa.me/"]:is(:hover,:focus-visible) { background: #065c32; color: #fff; }
.comunicat-a17-hero .a17-specs {
    margin-top: 1em;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.55;
    white-space: pre-line;
}
.comunicat-a17-hero .a17-specs:empty { display: none; }
@media (max-width: 540px) {
    .comunicat-a17-hero .a17-hero-inner { min-height: auto; flex-direction: column; align-items: flex-start; }
    .comunicat-a17-hero img { align-self: center; width: min(45%, 155px); }
}
