/* AGIMEG «Quote» hub: the tag's first page. Flat tiles and 3px corners from the Tessere box, the pronostico widgets' odds table. */
.cqhq{--hq-navy:#152D49;--hq-red:#C1282A;--hq-ground:#F4F5F6;--hq-line:#E2E7ED;--hq-muted:#6B7884;--hq-band:#EDF1F5;--hq-font:'CQ Barlow Condensed','Arial Narrow',sans-serif;
  --hq-text:'Source Sans Pro',-apple-system,'Segoe UI',sans-serif;color:#222222;font:400 16px/1.65 var(--hq-text);padding:0 0 40px}
/* The theme sets its serif on every paragraph; the hub reads like the articles' body. */
.cqhq-wrap .cqhq p,.cqhq-wrap .cqhq li{font-family:var(--hq-text)}
.cqhq *,.cqhq *::before,.cqhq *::after{box-sizing:border-box}
.cqhq a{text-decoration:none}
.cqhq p{margin:0 0 14px}
.cqhq-wrap .td-main-content{padding-top:0}

.cqhq-crumbs{display:flex;gap:6px;margin:22px 0 6px;color:#A3ADB7;font-size:13px;line-height:1.4}
.cqhq-crumbs a{color:#A3ADB7}
.cqhq-crumbs a:hover{color:var(--hq-red)}

/* Head: the H1 in the article title type, one sentence, then the comparator. */
.cqhq-head h1{margin:6px 0 10px;padding:0;color:var(--hq-navy);font:700 46px/1.02 var(--hq-font);letter-spacing:-.003em;text-wrap:balance}
.cqhq-wrap .cqhq .cqhq-lead{max-width:880px;margin:0 0 16px;font-size:18px;line-height:1.55}

/* The comparator: competition selector, market tabs on phones, one panel per competition. */
.cqhq-comp-bar{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;background:var(--w-bar);border-bottom:1px solid var(--w-line)}
.cqhq-comp-bar::-webkit-scrollbar{display:none}
.cqhq .cqhq-comp{display:flex;flex:1 0 128px;align-items:center;gap:8px;min-width:0;min-height:62px;margin:0;padding:10px 10px;border:0;border-right:1px solid var(--w-line);border-radius:0;background:transparent;color:var(--hq-navy);text-align:left;cursor:pointer;scroll-snap-align:start}
.cqhq .cqhq-comp:last-child{border-right:0}
.cqhq-comp-icon{flex:0 0 26px;width:26px;height:26px;color:var(--hq-navy)}
.cqhq-comp-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.cqhq-comp-name{font:700 17px/1 var(--w-font)}
.cqhq-comp small{color:var(--w-muted);font:700 12px/1 var(--w-font);letter-spacing:.02em}
.cqhq .cqhq-comp:hover{background:#FFFFFF}
.cqhq .cqhq-comp[aria-selected=true]{background:var(--w-accent);color:#FFFFFF}
.cqhq .cqhq-comp[aria-selected=true] .cqhq-comp-icon,.cqhq .cqhq-comp[aria-selected=true] small{color:#FFFFFF}
.cqhq .cqhq-comp:focus-visible{outline:2px solid var(--hq-navy);outline-offset:-3px}
.cqhq-panel-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;padding:12px 14px 10px}
.cqhq-wrap .cqhq .cqhq-panel-head h2{margin:0;padding:0;border:0;background:none;color:var(--hq-navy);font:700 26px/1.05 var(--w-font)}
.cqhq-wrap .cqhq .cqhq-panel-head p{margin:0;color:var(--w-muted);font:400 14px/1.4 var(--hq-text)}
.cqhq-wrap .cqhq .cqhq-panel-head p strong{color:var(--hq-navy)}

/* Sections: H2 on the light band with the slanted cut, as in the articles; every H2 opens with text. */
.cqhq-section{margin:44px 0 0;scroll-margin-top:70px}
.cqhq-section>h2{margin:0 0 14px;padding:10px 34px 9px 14px;border:0;background:var(--hq-band);color:var(--hq-navy);font:700 32px/1.1 var(--hq-font);text-wrap:balance;clip-path:polygon(0 0,100% 0,calc(100% - 22px) 100%,0 100%)}
.cqhq-wrap .cqhq-section>p{max-width:900px;font-size:16px;line-height:1.65}
.cqhq-section>p a,.cqhq-faq a{color:var(--hq-red);text-decoration:underline}

/* Radar: link tiles on the light ground, red kicker, Barlow name and figure, red «›» action. */
.cqhq-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.cqhq-tile{display:flex;flex-direction:column;gap:4px;min-height:100%;padding:14px 14px 12px;border-radius:3px;background:var(--hq-ground);color:var(--hq-navy)}
.cqhq-tile-kicker,.cqhq-card-kicker{color:var(--hq-red);font:600 11px/1.2 Roboto,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.cqhq-tile-name{font:700 22px/1.05 var(--hq-font)}
.cqhq-tile-number{margin:4px 0 0;font:700 40px/1 var(--hq-font);font-variant-numeric:tabular-nums}
.cqhq-tile-signs{display:flex;gap:14px}
.cqhq-tile-signs span{display:flex;flex-direction:column;gap:2px}
.cqhq-tile-signs small{color:var(--hq-muted);font:700 13px/1 var(--hq-font)}
.cqhq-tile-meta{color:var(--hq-navy);font-size:13px;line-height:1.35}
.cqhq-tile-when{color:var(--hq-muted);font-size:12px;line-height:1.3}
.cqhq-tile-go,.cqhq-card-go{margin-top:auto;padding-top:8px;color:var(--hq-red);font:700 16px/1 var(--hq-font)}
.cqhq-tile:hover,.cqhq-card:hover,.cqhq-guide:hover{background:#E9EDF1}
.cqhq-tile:hover .cqhq-tile-name,.cqhq-card:hover .cqhq-card-title,.cqhq-guide:hover .cqhq-guide-name{color:var(--hq-red)}

/* The odds table: the family widget at full width, all three markets side by side on a desktop. */
.cqhq .cq-family.spq-pick.cqhq-widget{max-width:none;margin:16px 0 0}
.cqhq-tabs{display:none!important}
.cqhq-table{table-layout:fixed}
.cqhq-table thead th.cqhq-col-match{width:31%}
.cqhq-table thead th.cqhq-col-payout{width:8%;font-size:13px!important;letter-spacing:.04em;text-transform:uppercase}
.cqhq-table thead tr.cqhq-groups th{height:26px;font:700 13px/1.1 var(--w-font);letter-spacing:.04em;text-transform:uppercase;vertical-align:bottom;padding-top:7px}
.cqhq-table thead tr.cqhq-groups th.cqhq-col-match{vertical-align:middle;text-align:left;padding-left:14px;color:#FFFFFF;font-size:11px}
.cqhq-table thead tr.cqhq-signs th,.cqhq-table thead tr.cqhq-signs th:first-child{width:auto;height:26px;padding:0 3px 4px;color:#FFFFFF;text-align:center;font:700 18px/1 var(--w-font)}
.cqhq-table thead tr.cqhq-groups th.cqhq-g-uo,.cqhq-table thead tr.cqhq-groups th.cqhq-g-gg,.cqhq-table thead tr.cqhq-signs th.cqhq-col-payout,.cqhq-table thead tr.cqhq-signs th.cqhq-g-uo:nth-child(5),.cqhq-table thead tr.cqhq-signs th.cqhq-g-gg:nth-child(7){border-left:1px solid rgba(255,255,255,.28)}
.cqhq-table tbody td.cqhq-g-uo:nth-child(6),.cqhq-table tbody td.cqhq-g-gg:nth-child(8),.cqhq-table tbody td.cqhq-payout{border-left:1px solid var(--hq-line)}
.cqhq-table tr.cqhq-day th{padding:7px 14px 6px!important;background:var(--w-bar);color:var(--hq-navy);font:700 14px/1 var(--w-font);letter-spacing:.06em;text-transform:uppercase;text-align:left}
.cqhq-table tbody th{padding:9px 8px 9px 14px;text-align:left}
.cqhq .cqp-fixture{display:flex;flex-direction:column;gap:3px;min-width:0}
.cqhq .cqp-when{color:var(--w-muted);font:700 13px/1 var(--w-font);white-space:nowrap}
.cqhq .cqp-team{display:flex;align-items:center;gap:6px;min-width:0;color:var(--w-paper);font:700 18px/1.05 var(--w-font);text-transform:uppercase}
.cqhq .cqp-team span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cqhq .cqp-team svg{flex:0 0 auto;display:block;width:19px;height:21px}
.cqhq .cqp-fixture-link{display:flex;flex-direction:column;gap:3px;min-width:0}
.cqhq .cqp-fixture-link:hover .cqp-team span{color:var(--w-accent);text-decoration:underline!important}
.cqhq .has-article .cqp-team span{text-decoration:underline!important;text-decoration-color:var(--w-line)!important;text-underline-offset:3px}
.cqhq .cqp-offer{flex-direction:column;gap:3px;min-width:58px;padding:4px 2px}
.cqhq .cqp-offer .book-logo{width:56px;height:16px;padding:1px 3px}
.cqhq .cqp-offer .book-logo img{max-width:50px;max-height:13px}
.cqhq-payout{white-space:nowrap}
.cqhq-payout-value{display:block;color:var(--w-paper);font:700 19px/1 var(--w-font);font-variant-numeric:tabular-nums}
.cqhq-payout-books{display:block;margin-top:4px;color:var(--w-muted);font:700 11px/1 var(--w-font);letter-spacing:.03em}
/* Implied probabilities: one bar under the teams, home, draw and away left to right. */
.cqhq-prob{display:flex;width:100%;max-width:240px;height:15px;margin-top:5px;border-radius:2px;overflow:hidden;background:var(--hq-line)}
.cqhq-prob>span{display:flex;align-items:center;justify-content:center;min-width:18px;color:#FFFFFF;font:700 11px/1 var(--w-font)}
.cqhq-prob b{font-weight:700}
.cqhq-prob-row{display:none}
.cqhq-prob-row td{padding:0 10px 10px!important;border-top:0!important}
.cqhq-prob-1{background:#152D49}
.cqhq-prob-x{background:#8D9BAA}
.cqhq-prob-2{background:#C1282A}
.cqhq .cqp-pick-row td{padding:0 12px 10px 14px!important;text-align:left!important}
.cqhq .cqp-pick{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:7px 10px;border:1px solid var(--w-line);background:var(--w-raised)}
.cqhq .cqp-label{color:var(--w-muted);font:700 12px/1 var(--w-font);letter-spacing:.05em;text-transform:uppercase}
.cqhq .cqp-pick mark{font:700 17px/1.1 var(--w-font)}
.cqhq .cqp-match-name{color:var(--w-paper);font:700 17px/1.1 var(--w-font);text-transform:uppercase}
.cqhq .cqp-pick .cqp-offer{flex-direction:row;gap:6px;min-width:0;padding:3px 7px}
.cqhq .cqp-go{display:inline-flex;align-items:center;gap:4px;margin-left:auto;min-height:32px;padding:6px 12px;border-radius:3px;background:var(--w-accent);color:#FFFFFF!important;font:700 15px/1 var(--w-font);white-space:nowrap}
.cqhq .cqp-go:hover{filter:brightness(.94)}
.cqhq .cqhq-match.has-article{border-bottom:0}

/* Operators' payout. */
.cqhq-op-table thead th{font:700 14px/1.1 var(--w-font)!important;letter-spacing:.02em;text-transform:uppercase}
.cqhq-op-table thead th:first-child{width:22%!important;color:#FFFFFF!important}
.cqhq-op-table tbody th{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px}
.cqhq-op-table .book-logo{flex:0 0 auto;width:72px;height:22px}
.cqhq-op-name{overflow:hidden;color:var(--w-paper);font:700 16px/1 var(--w-font);white-space:nowrap;text-overflow:ellipsis}
.cqhq-op-value,.cqhq-op-wins{display:inline-block;min-width:58px;padding:4px 4px;border-radius:3px;color:var(--w-paper);font:700 18px/1 var(--w-font);font-variant-numeric:tabular-nums}
.cqhq-op-value.is-top{background:#FBEDED;box-shadow:inset 0 0 0 1px var(--hq-red)}

/* Latest articles and guides: link tiles. */
.cqhq-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.cqhq-card{display:grid;grid-template-columns:1fr auto;grid-template-areas:"kicker kicker" "title title" "meta go";gap:4px 10px;padding:12px 14px 10px;border-radius:3px;background:var(--hq-ground);color:var(--hq-navy)}
.cqhq-card .cqhq-card-kicker{grid-area:kicker}
.cqhq-card-title{grid-area:title;font:700 20px/1.12 var(--hq-font)}
.cqhq-card-meta{grid-area:meta;align-self:end;color:var(--hq-muted);font-size:12px;line-height:1.2}
.cqhq-card .cqhq-card-go{grid-area:go;padding-top:0}
.cqhq-archive{display:flex;align-items:center;justify-content:space-between;margin:10px 0 0;padding:12px 14px;border-radius:3px;background:var(--hq-navy);color:#FFFFFF;font:700 19px/1 var(--hq-font)}
.cqhq-archive span:last-child{color:#FFFFFF}
.cqhq-archive:hover{background:#1E3A5C}
.cqhq-guides{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.cqhq-guide{display:flex;flex-direction:column;gap:4px;padding:10px 12px 9px;border-radius:3px;background:var(--hq-ground);color:var(--hq-navy)}
.cqhq-guide-name{font:700 18px/1.1 var(--hq-font)}
.cqhq-guide .cqhq-card-go{padding-top:4px;font-size:15px}

/* Worked example: the coaching box of the articles, numbered steps. */
.cqhq-example{position:relative;margin:22px 0 18px;padding:22px 18px 6px;border:1px solid var(--hq-line);border-radius:3px;background:linear-gradient(180deg,#F1F4F7 0,#FFFFFF 70px)}
.cqhq-example-kicker{position:absolute;top:-12px;left:14px;margin:0!important;padding:3px 10px 2px;background:var(--hq-red);color:#FFFFFF;font:700 15px/1.2 var(--hq-font);letter-spacing:.03em;text-transform:uppercase;transform:rotate(-1.5deg)}
.cqhq-example ol{margin:0 0 10px;padding:0;list-style:none;counter-reset:hq}
.cqhq-example li{display:grid;grid-template-columns:34px 220px 1fr;align-items:baseline;gap:8px;margin:0;padding:8px 0;border-bottom:1px solid var(--hq-line);counter-increment:hq}
.cqhq-example li::before{content:counter(hq);color:var(--hq-red);font:700 26px/1 var(--hq-font)}
.cqhq-example li span{color:var(--hq-muted);font-size:14px}
.cqhq-example li strong{font:700 21px/1.15 var(--hq-font);font-variant-numeric:tabular-nums}
.cqhq-example-note{color:var(--hq-navy);font-size:14px}

.cqhq-faq h3{margin:22px 0 4px;padding:0;color:var(--hq-navy);font:700 21px/1.2 var(--hq-font)}
.cqhq-legal{margin-top:24px!important;color:var(--hq-muted);font-size:12px!important;line-height:1.4}

/* Below a desktop width the table shows one market at a time, chosen with the family's tabs. */
@media (max-width:900px){
  .cqhq-tabs{display:grid!important;grid-template-columns:repeat(3,1fr);margin:0 10px 10px}
  .cqhq-widget[data-cqhq-market="1x2"] .cqhq-g:not(.cqhq-g-1x2),
  .cqhq-widget[data-cqhq-market="uo"] .cqhq-g:not(.cqhq-g-uo),
  .cqhq-widget[data-cqhq-market="gg"] .cqhq-g:not(.cqhq-g-gg){display:none}
  .cqhq .cqhq-widget .odds-table.cqhq-table{table-layout:auto}
  .cqhq-widget:not([data-cqhq-market="1x2"]) .cqhq-prob,.cqhq-widget:not([data-cqhq-market="1x2"]) .cqhq-prob-row{display:none}
  .cqhq-table thead th.cqhq-col-match{width:auto}
  .cqhq-table thead th.cqhq-col-payout{width:1%}
  .cqhq-table td.cqhq-g{width:1%}
  .cqhq-table thead tr.cqhq-groups th.cqhq-g{display:none}
  .cqhq-table thead tr.cqhq-signs th{border-left:0!important}
  .cqhq-table tbody td{border-left:0!important}
  .cqhq-tiles{grid-template-columns:repeat(2,1fr)}
  .cqhq-guides{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .cqhq-head h1{font-size:34px;line-height:1.04}
  .cqhq-wrap .cqhq .cqhq-lead{font-size:16px}
  .cqhq .cqhq-comp{flex:0 0 132px;min-height:58px}
  .cqhq-wrap .cqhq .cqhq-panel-head h2{font-size:23px}
  .cqhq-section{margin-top:36px}
  .cqhq-section>h2{padding:9px 26px 8px 12px;font-size:26px}
  .cqhq-cards{grid-template-columns:1fr}
  .cqhq-tiles{gap:8px}
  .cqhq-tile{padding:11px 11px 10px}
  .cqhq-tile-name{font-size:18px}
  .cqhq-tile-number{font-size:30px}
  .cqhq-tile-signs{gap:8px}
  .cqhq-tile-meta{font-size:12px}
  .cqhq-tile-go{font-size:15px}
  .cqhq-table tbody th{padding-left:10px}
  .cqhq .cqp-team{font-size:15px}
  .cqhq .cqp-team span{white-space:normal;overflow:visible;overflow-wrap:normal}
  .cqhq .cqp-offer{min-width:48px}
  .cqhq .cqp-offer .book-logo{width:48px}
  .cqhq .cqp-offer .book-logo img{max-width:43px}
  .cqhq-prob{display:none}
  .cqhq-prob-row{display:table-row}
  .cqhq-prob--row{display:flex;max-width:none;height:22px;margin:0;border-radius:3px}
  .cqhq-match>th,.cqhq-match>td{border-bottom:0!important}
  .cqhq-prob--row>span{font-size:13px}
  .cqhq-prob--row>span b::after{content:"%";font-weight:600;font-size:11px;margin-left:1px}
  .cqhq-prob--row>span[style*="width:0"]{display:none}
  .cqhq-payout-value{font-size:16px}
  .cqhq-payout-books{font-size:10px}
  /* Operators' payout on a phone: operator, average and best-price count; the per-competition columns stay on desktop. */
  .cqhq-op-table thead th:first-child{width:40%!important}
  .cqhq-op-table th:nth-child(n+3):not(:last-child),.cqhq-op-table td:nth-child(n+3):not(:last-child){display:none}
  .cqhq-op-table thead th{font-size:13px!important}
  .cqhq-op-table thead th:nth-child(2),.cqhq-op-table td:nth-child(2){text-align:center}
  .cqhq-op-value,.cqhq-op-wins{min-width:64px;font-size:20px}
  .cqhq-op-name{display:none}
  .cqhq-example li{grid-template-columns:28px 1fr;gap:2px 8px}
  .cqhq-example li strong{grid-column:2}
}
/* The market tabs are toggle buttons: the family's selected look, keyed on aria-pressed. */
.cq-family[data-cq-publisher=agimeg] .cqhq-tabs .market-tab[aria-pressed=true]{color:#FFFFFF;background:var(--w-accent);border-color:var(--w-accent)}
