/* AGIMEG palette; shared widget layout and behaviour remain publisher-neutral. */
.cq-widget[data-cq-publisher=agimeg]{border:1px solid #DFE1E5;border-top:3px solid #C1282A;border-radius:0;box-shadow:none}
.cq-widget[data-cq-publisher=agimeg] .cq-match-heading{background:#E8ECF0;border-bottom:1px solid #C8D2DB}
.cq-family[data-cq-publisher=agimeg] .odds-table thead,
.cq-family[data-cq-publisher=agimeg] .odds-table thead th{background:var(--w-accent);color:#FFFFFF}
.cq-widget[data-cq-publisher=agimeg] .spq-shirt-outline{fill:none;stroke:#768595;stroke-width:3;stroke-linejoin:round}
.cq-family[data-cq-publisher=agimeg] .spq-powered-brand strong,
.cq-family[data-cq-publisher=agimeg] .spq-powered-brand:hover{color:#b9f227}
.cq-family[data-cq-publisher=agimeg] .matrix-odd.is-best,
.cq-family[data-cq-publisher=agimeg] .pick-offer.is-best .offer-price,
.cq-family[data-cq-publisher=agimeg] .cq-boost-price{box-shadow:inset 0 0 0 1px var(--w-accent)}
.cq-family[data-cq-publisher=agimeg] .matrix-odd:hover:not(:disabled),
.cq-family[data-cq-publisher=agimeg] .pick-offer:hover:not(:disabled){background:var(--w-hover)}
.cq-family[data-cq-publisher=agimeg] .matrix-odd.is-best:hover:not(:disabled){background:var(--w-best);filter:none}
.cq-family[data-cq-publisher=agimeg] .market-tabs{background:var(--w-best);border-color:var(--w-accent);border-radius:0}
.cq-family[data-cq-publisher=agimeg] .market-tab{color:var(--w-paper);border-color:transparent;background:transparent;border-radius:0}
.cq-family[data-cq-publisher=agimeg] .market-tab:hover{background:var(--w-surface)}
.cq-family[data-cq-publisher=agimeg] .market-tab[aria-selected=true]{color:#FFFFFF;background:var(--w-accent);border-color:var(--w-accent)}
.cq-family[data-cq-publisher=agimeg] .cq-antepost-toggle{color:#FFFFFF;background:var(--w-accent);border-color:var(--w-accent);border-radius:0}
.cq-family[data-cq-publisher=agimeg] .cq-antepost-toggle:hover{filter:brightness(.94)}
.cq-family[data-cq-publisher=agimeg] a.book-link:focus-visible{outline-color:var(--w-accent)}
/* Quote maggiorate: a light rose band heads each match and matches are parted by a red rule. */
.cq-family[data-cq-publisher=agimeg] .cq-boost-event{background:#FBEDED;border-bottom-color:var(--w-best)}
.cq-family[data-cq-publisher=agimeg] .cq-boost-list>li{border-bottom:2px solid var(--w-accent)}
.cq-family[data-cq-publisher=agimeg] .spq-footer{--w-paper:#FFFFFF;--w-text:#F4F5F6;--w-muted:#C8D2DB;--w-accent:#FFFFFF;background:#152D49}
.cq-trend[data-cq-publisher=agimeg] .cq-trend-toolbar,
.cq-trend[data-cq-publisher=agimeg] .cq-trend-results{background:var(--w-hover)}
.cq-trend[data-cq-publisher=agimeg] .cq-trend-controls select{color:var(--w-paper);border-color:var(--w-accent);background:var(--w-surface);border-radius:0;color-scheme:light}
.cq-trend[data-cq-publisher=agimeg] .cq-trend-controls select:hover{background:var(--w-hover)}
.cq-trend[data-cq-publisher=agimeg] .cq-trend-card{border:1px solid var(--w-pill-line);border-left:3px solid var(--w-accent);border-radius:0;background:var(--w-surface)}
.cq-trend[data-cq-publisher=agimeg] .cq-trend-badge.is-latest rect{fill:var(--w-accent)}
.cq-trend[data-cq-publisher=agimeg] .cq-trend-badge.is-latest text{fill:var(--w-accent-ink)}
/* Article pages: the masthead replaces the theme's featured image (Newspaper). */
.cq-con-testata .td-post-featured-image{display:none}
/* Article headings, only in articles with the masthead and only in the body text, never inside widgets. */
/* The theme's post title (Newspaper h1.entry-title) in the type of the body headings, without ornaments. */
.cq-con-testata .td-post-header h1.entry-title{margin:6px 0 10px;padding:0;color:#152D49;font:700 44px/1.03 'CQ Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:-.003em;text-wrap:balance}
/* H2 on a light band whose right end is cut on the slant (Luca 21/10); H3 stays plain, since it is not only FAQ questions. */
.cq-con-testata .td-post-content>h2{margin:40px 0 14px;padding:10px 34px 9px 14px;border:0;background:#EDF1F5;color:#152D49;font:700 30px/1.1 'CQ Barlow Condensed','Arial Narrow',sans-serif;text-wrap:balance;clip-path:polygon(0 0,100% 0,calc(100% - 22px) 100%,0 100%)}
.cq-con-testata .td-post-content>h3{margin:24px 0 4px;padding:0;border:0;color:#152D49;font:700 21px/1.2 'CQ Barlow Condensed','Arial Narrow',sans-serif}
.cq-con-testata .td-post-content .cq-coaching h2{margin:0 0 10px;padding:0;border:0;color:#152D49;font:700 26px/1.15 'CQ Barlow Condensed','Arial Narrow',sans-serif}
@media (max-width:480px){.cq-con-testata .td-post-header h1.entry-title{font-size:32px;line-height:1.05}.cq-con-testata .td-post-content>h2{margin-top:34px;padding:9px 26px 8px 12px;font-size:25px}.cq-con-testata .td-post-content>h3{font-size:19px}.cq-con-testata .td-post-content .cq-coaching h2{font-size:23px}}
