/* Scoped to the editorial service template. Typography inherits Eris. */
.av-sistema-page { --av-paper:#eee3db; --av-ink:#262626; --av-green:#9cf06c; }
.av-sistema-page .av-sistema-hero { color:var(--av-ink); background:var(--av-paper); padding:clamp(40px,6vw,96px) 0 0; overflow:hidden; }
.av-sistema-page .av-sistema-hero__grid { display:grid; grid-template-columns:1.08fr 1fr; gap:clamp(24px,4vw,64px); align-items:center; }
.av-sistema-page .av-sistema-hero__eyebrow { font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin:0 0 32px; }
.av-sistema-page .av-sistema-hero__title { font-family:inherit; font-size:clamp(42px,4.5vw,72px); font-weight:800; line-height:1.04; letter-spacing:-.045em; margin:0 0 28px; text-transform:none; }
.av-sistema-page .av-sistema-hero__title span { background:linear-gradient(transparent 61%,var(--av-green) 61%); box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.av-sistema-page .av-sistema-hero__description { font-size:clamp(17px,1.4vw,20px); line-height:1.55; max-width:490px; margin:0 0 28px; }
.av-sistema-page .av-sistema-hero__cta { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; padding:15px 24px; border:2px solid var(--av-ink); border-radius:99px; background:var(--av-green); color:var(--av-ink); font-size:15px; font-weight:700; text-decoration:none; line-height:1.4; transition:background .2s,color .2s; }
.av-sistema-page .av-sistema-hero__cta:hover { background:var(--av-ink); color:var(--av-green); }
.av-sistema-page .av-sistema-hero__cta:focus-visible,.av-sistema-page .av-sistema-hero__footer a:focus-visible { outline:3px solid var(--av-ink); outline-offset:5px; }
.av-sistema-page .av-sistema-hero__note { font-size:12px; line-height:1.5; margin:16px 0 0; }
.av-sistema-page .av-sistema-hero__visual { min-width:0; }
.av-sistema-page .av-sistema-hero__art { aspect-ratio:1.12; overflow:hidden; border:1px solid rgba(38,38,38,.18); }
.av-sistema-page .av-sistema-hero__art img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
.av-sistema-page .av-sistema-hero__caption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:10px; line-height:1.5; margin-top:12px; }
.av-sistema-page .av-sistema-hero__footer { display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(38,38,38,.25); margin-top:64px; padding-top:20px; padding-bottom:20px; font-size:12px; line-height:1.5; }
.av-sistema-page .av-sistema-hero__footer a { color:inherit; text-decoration:none; }
.av-sistema-page .av-sistema-page__body { padding-top:64px; scroll-margin-top:110px; }
@media(max-width:767px) {
 .av-sistema-page .av-sistema-hero { padding-top:32px; }
 .av-sistema-page .av-sistema-hero__grid { grid-template-columns:1fr; gap:32px; }
 .av-sistema-page .av-sistema-hero__eyebrow { font-size:10px; margin-bottom:24px; }
 .av-sistema-page .av-sistema-hero__title { font-size:clamp(36px,9vw,58px); }
 .av-sistema-page .av-sistema-hero__art { aspect-ratio:1.6; }
 .av-sistema-page .av-sistema-hero__footer { margin-top:32px; flex-direction:column; gap:8px; }
 .av-sistema-page .av-sistema-page__body { padding-top:40px; }
}

/* Service-page buttons: override legacy Eris/child button rules only here. */
.av-sistema-page .wp-block-button.av-button {
 background:transparent !important; padding:0 !important;
 width:auto !important; height:auto !important; border:0 !important;
 text-indent:0 !important;
}
.av-sistema-page a.av-sistema-hero__cta,
.av-sistema-page .entry-content .wp-block-button.av-button > a.wp-block-button__link {
 display:inline-flex !important; align-items:center; justify-content:center;
 gap:16px; box-sizing:border-box; width:auto !important; max-width:100%;
 min-height:48px; height:auto !important; padding:14px 24px !important;
 background:var(--av-green) !important; color:var(--av-ink) !important;
 border:2px solid var(--av-ink) !important; border-radius:999px !important;
 font-family:inherit; font-size:15px !important; font-weight:700 !important;
 line-height:1.4 !important; letter-spacing:normal; text-indent:0 !important;
 text-transform:none; text-decoration:none !important; white-space:normal;
 overflow:visible !important; opacity:1 !important; visibility:visible !important;
 -webkit-text-fill-color:var(--av-ink);
}
.av-sistema-page a.av-sistema-hero__cta::before,
.av-sistema-page a.av-sistema-hero__cta::after,
.av-sistema-page .wp-block-button.av-button::before,
.av-sistema-page .wp-block-button.av-button::after,
.av-sistema-page .wp-block-button.av-button > a::before,
.av-sistema-page .wp-block-button.av-button > a::after { content:none !important; }
.av-sistema-page a.av-sistema-hero__cta:hover,
.av-sistema-page .entry-content .wp-block-button.av-button > a.wp-block-button__link:hover {
 background:var(--av-ink) !important; color:var(--av-green) !important;
 -webkit-text-fill-color:var(--av-green);
}
.av-sistema-page .wp-block-button.av-button > a:focus-visible {
 outline:3px solid var(--av-ink); outline-offset:4px;
}
@media(max-width:767px) {
 .av-sistema-page .entry-content .wp-block-columns { flex-wrap:wrap !important; }
 .av-sistema-page .entry-content .wp-block-column { flex-basis:100% !important; min-width:0; }
 .av-sistema-page .wp-block-buttons { max-width:100%; }
}
