/* Scope the child theme controls above Hello Elementor's generic button rules. */
.am-site .am-site-header .am-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  height: 67px;
  gap: 24px;
}
.am-site .am-header-inner > .am-logo { flex: 0 0 auto; }
.am-site .am-header-inner > .am-desktop-nav { flex: 1 1 auto; min-width: 0; }
.am-site .am-header-inner > .am-desktop-telegram { flex: 0 0 auto; }
.am-site .am-site-header button.am-menu-button {
  display: none;
  appearance: none;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 11px;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  background: var(--am-surface);
  color: var(--am-text);
  box-shadow: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.am-site .am-site-header button.am-menu-button:hover,
.am-site .am-site-header button.am-menu-button:focus,
.am-site .am-site-header button.am-menu-button:active {
  background: var(--am-surface2);
  color: var(--am-text);
  border-color: #52647b;
}
.am-site .am-site-header button.am-menu-button:focus-visible {
  outline: 2px solid var(--am-text);
  outline-offset: 3px;
}
.am-site .am-menu-button span {
  flex: 0 0 2px;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: currentColor;
}
.am-site .am-mobile-menu[hidden] { display: none !important; }
.am-site .am-mobile-menu:not([hidden]) { display: block; }
.am-site .am-mobile-menu {
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
}
.am-site h1, .am-site h2, .am-site h3 { font-weight: 700; }
.am-site .am-hero-grid > *, .am-site .am-content-sidebar > * { min-width: 0; }
.am-site .am-menu-button, .am-site a { -webkit-tap-highlight-color: transparent; }
.am-site a:focus-visible { outline: 2px solid var(--am-text); outline-offset: 4px; }

/* AmbosMarcan component proportions, scoped to the site's own interface. */
.am-site { --am-surface2: #132235; }
.am-site .am-container { width: min(var(--am-container), calc(100% - 32px)); }
.am-site .am-narrow { max-width: 820px; }
.am-site h1 { font-size: clamp(2.45rem, 6vw, 4.25rem); }
.am-site h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.am-site h3 { font-size: 1.25rem; }
.am-site .am-section { padding: 80px 0; }
.am-site .am-section-tight { padding: 48px 0; }
.am-site .am-eyebrow { margin-bottom: 12px; font-size: .72rem; font-weight: 700; line-height: 1.4; }
.am-site .am-eyebrow::before { display: none; }
.am-site .am-hero-copy > .am-eyebrow::before { display: block; width: 6px; height: 6px; border-radius: 50%; }
.am-site .am-button { min-height: 44px; gap: 9px; padding: 11px 18px; border-radius: 12px; font-size: .9rem; font-weight: 700; line-height: 1.6; }
.am-site a.am-button-primary { background: var(--am-yes); color: #04140e; }
.am-site a.am-button-primary:hover { background: #68edb8; }
.am-site a.am-button-secondary { background: rgba(16,29,44,.65); border-color: var(--am-border); color: var(--am-text); }
.am-site a.am-button-secondary:hover { background: var(--am-surface); border-color: #33455d; }
.am-site a.am-button-telegram { background: #e8f1f8; color: #112b42; }
.am-site .am-text-link { color: var(--am-text); font-size: .9rem; }
.am-site .am-text-link:hover, .am-site .am-card-link:hover { color: var(--am-yes); }
.am-site .am-logo > img { display: block; width: 203px; height: 36px; }
.am-site .am-site-header .am-header-inner { min-height: 68px; height: auto; gap: 28px; }
.am-site .am-header-inner > .am-desktop-nav { display: flex; gap: 30px; }
.am-site .am-desktop-nav a { color: #b1bbc7; font-size: .88rem; font-weight: 600; }
.am-site .am-header-inner > .am-desktop-telegram { display: inline-flex; }
.am-site .am-mobile-menu a:not(.am-button) { min-height: 44px; }

.am-site .am-hero { display: block; min-height: 540px; background: var(--am-bg); }
.am-site .am-hero-grid { grid-template-columns: 1.2fr .8fr; min-height: 540px; gap: 48px; }
.am-site .am-hero-copy { position: relative; z-index: 2; padding: 48px 0; }
.am-site .am-hero-copy h1 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
.am-site .am-hero-copy h1 em { display: inline; }
.am-site .am-hero-copy .am-hero-lead { margin: 0 0 24px; max-width: 620px; color: #aab5c2; font-size: 1rem; line-height: 1.75; }
.am-site .am-hero-actions { margin-top: 0; }
.am-site .am-hero-proof { display: flex; gap: 22px; margin-top: 24px; font-size: .8rem; }
.am-site .am-hero-proof svg { width: 16px; }
.am-site .am-hero-visual { height: 480px; }
.am-site .am-hero-visual > img { z-index: 1; bottom: -75px; width: min(400px, 100%); border-radius: 42% 42% 0 0; mix-blend-mode: screen; }
.am-site .am-hero-two { top: 25px; right: 0; bottom: auto; font-size: 20rem; }
.am-site .am-mini-signal { min-width: 116px; background: rgba(11,23,38,.9); backdrop-filter: blur(12px); }
.am-site .am-mini-signal small { color: var(--am-muted); font-size: .64rem; font-weight: 700; }
.am-site .am-mini-signal strong { margin: 0; line-height: 1.3; }
.am-site .am-signal-yes { top: 34%; border-color: #245545; }
.am-site .am-signal-no { top: 58%; border-color: #59313a; }
.am-site .am-section-header { gap: 24px; margin-bottom: 32px; }
.am-site .am-section-header h2 { margin-bottom: 9px; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.am-site .am-section-header > div > p:last-child:not(.am-eyebrow) { max-width: 680px; margin: 0; font-size: 1rem; }

.am-site .am-prediction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.am-site .am-match-card { position: relative; isolation: isolate; min-width: 0; padding: 20px; }
.am-site .am-match-card .am-card-link { position: static; }
.am-site .am-match-card .am-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; cursor: pointer; }
.am-site .am-match-card:focus-within { outline: 2px solid #a8b7c9; outline-offset: 4px; }
.am-site .am-match-meta { font-size: .69rem; letter-spacing: .055em; }
.am-site .am-match-meta > span:first-child { color: var(--am-muted); }
.am-site .am-match-meta > span:last-child { white-space: nowrap; }
.am-site .am-teams { grid-template-columns: minmax(0, 1fr); align-items: stretch; min-height: 0; margin: 22px 0 19px; }
.am-site .am-teams > div { display: flex; align-items: center; min-width: 0; gap: 10px; text-align: left; }
.am-site .am-teams img, .am-site .am-team-mark { width: 28px; height: 28px; flex: 0 0 28px; }
.am-site .am-team-mark { color: #b6c0ca; border-color: var(--am-border); font-size: .72rem; }
.am-site .am-teams strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--am-heading); font-size: 1.05rem; line-height: 1.6; }
.am-site .am-versus { display: none; }
.am-site .am-market-label { padding-top: 16px; margin: 0; border-top: 1px solid var(--am-border); color: var(--am-muted); font-size: .68rem; font-weight: 700; letter-spacing: .11em; }
.am-site .am-prediction-row { margin: 10px 0 18px; }
.am-site .am-badge { min-height: 34px; padding: 7px 11px; border-radius: 9px; font-size: .78rem; letter-spacing: .025em; }
.am-site .am-probability { font-size: 1.45rem; }
.am-site .am-confidence { margin: 0; }
.am-site .am-confidence > div { margin-bottom: 7px; font-size: .72rem; text-transform: none; }
.am-site .am-confidence > div strong { color: var(--am-text); }
.am-site .am-confidence i { margin: 0; background: #1e2d3f; }
.am-site .am-confidence i span, .am-site .am-main-pick.no .am-confidence i span { background: #8796a8; }
.am-site .am-match-card .am-stats-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 18px 0; }
.am-site .am-match-card .am-stats-grid > div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(34,48,68,.72); border-radius: 0; background: transparent; }
.am-site .am-stats-grid small { font-size: .78rem; }
.am-site .am-stats-grid strong { margin: 0; font-size: .82rem; }
.am-site .am-card-link { display: flex; min-height: 44px; margin-top: 8px; padding: 0; border: 0; color: var(--am-text); font-size: .83rem; }
.am-site .am-empty p { font-size: 1rem; }

.am-site .am-telegram-cta { gap: 24px; padding: 28px 32px; border-color: #244b4a; background: #0e272a; }
.am-site .am-telegram-icon { width: 48px; height: 48px; border-radius: 13px; color: #051510; background: var(--am-yes); }
.am-site .am-telegram-cta small { color: var(--am-yes); font-size: .72rem; font-weight: 700; }
.am-site .am-telegram-cta h2 { margin: 0 0 5px; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.am-site .am-telegram-cta p { color: #aab9bd; font-size: 1rem; }
.am-site .am-method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; border: 0; border-radius: 0; overflow: visible; }
.am-site .am-method-grid article { min-height: 238px; padding: 24px; border: 0; border-left: 1px solid var(--am-border); background: transparent; }
.am-site .am-method-grid article > span { right: 18px; font-size: 3.6rem; }
.am-site .am-method-grid svg { margin: 0 0 38px; }
.am-site .am-method-grid h3 { margin-bottom: 10px; font-size: 1.25rem; }
.am-site .am-method-grid p { margin: 0; font-size: .88rem; }
.am-site .am-method-grid + .am-text-link { margin: 0; }
.am-site .am-metrics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.am-site .am-metrics-grid article { display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.am-site .am-metrics-grid small { font-size: .83333rem; letter-spacing: .07em; }
.am-site .am-metrics-grid strong { margin: 7px 0; font-size: 2.5rem; }
.am-site .am-metrics-grid span { font-size: .76rem; }
.am-site .am-metrics-grid .am-metric-accent { background: var(--am-yes-bg); }
.am-site .am-metric-accent strong { font-size: 1.45rem; }
.am-site .am-compact-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.am-site .am-result-item > span:nth-child(2) strong { font-size: 1rem; }
.am-site .am-result-item > span:nth-child(2) small { font-size: .72rem; }
.am-site .am-result-score { font-size: 1.15rem; }
.am-site .am-final-cta { min-height: 260px; grid-template-columns: 230px 1fr auto; gap: 34px; border-color: var(--am-border); border-radius: 18px; background: var(--am-surface); }
.am-site .am-final-cta > img { width: 220px; left: 20px; bottom: -145px; mix-blend-mode: screen; }
.am-site .am-final-cta h2 { margin-bottom: 10px; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.am-site .am-final-cta p:last-child { margin: 0; color: var(--am-muted); }
.am-site .am-page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.am-site .am-page-hero .am-container > p:last-child { max-width: 720px; font-size: 1.02rem; }
.am-site .am-stats-row { font-size: 1rem; }
.am-site .am-stats-head { font-size: .72rem; }
.am-site .am-sidebar-note p { font-size: .85rem; }
.am-site .am-bookmaker-row p { font-size: .8rem; }
.am-site .am-bookmaker-row > div small { font-size: .7rem; }
.am-site .am-affiliate { font-size: .76rem; }
.am-site .am-footer-brand p { font-size: .84rem; }
.am-site .am-footer-grid a { font-size: .82rem; }
.am-site .am-footer-bottom { font-size: .72rem; }

/* Match detail: compact scoreboard and operator access, isolated from home/cards. */
.am-site .am-fixture-teams .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.am-site .am-match-detail .am-breadcrumb { min-height: 44px; padding-block: 8px; line-height: 1.5; }
.am-site .am-match-detail .am-breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-site .am-match-detail .am-prediction-hero { padding: 28px 0; }
.am-site .am-match-detail .am-prediction-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; gap: 36px; }
.am-site .am-fixture-heading .am-eyebrow { margin-bottom: 16px; color: var(--am-muted); }
.am-site .am-match-detail h1.am-fixture-teams { display: grid; gap: 12px; margin: 0; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.3; }
.am-site h1.am-fixture-teams span { color: var(--am-text); font-size: inherit; }
.am-site .am-fixture-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.am-site .am-fixture-team > span:last-child { overflow-wrap: anywhere; }
.am-site .am-fixture-team img, .am-site .am-fixture-initial { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; }
.am-site .am-fixture-initial { border: 1px solid var(--am-border); border-radius: 50%; background: var(--am-surface); }
.am-site .am-match-detail .am-fixture-time { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; color: var(--am-muted); font-size: .8rem; }
.am-site .am-fixture-time svg { flex: 0 0 16px; width: 16px; height: 16px; }
.am-site .am-pick-summary { padding: 16px; border: 1px solid var(--am-border); border-radius: 12px; background: var(--am-surface); }
.am-site .am-pick-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.am-site .am-pick-numbers > div + div { padding-left: 12px; border-left: 1px solid var(--am-border); }
.am-site .am-pick-numbers small { display: block; margin-bottom: 5px; color: var(--am-muted); font-size: .7rem; }
.am-site .am-pick-numbers strong { display: block; font: 700 1.6rem/1.2 var(--am-heading); font-variant-numeric: tabular-nums; }
.am-site .am-pick-numbers > div:last-child strong:not([data-am-odds]) { font-size: .85rem; overflow-wrap: anywhere; }
.am-site .am-pick-summary.yes .am-pick-choice { color: var(--am-yes); }
.am-site .am-pick-summary.no .am-pick-choice { color: var(--am-no); }
.am-site .am-pick-caption { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--am-border); color: #b6c0cc; font-size: .72rem; line-height: 1.5; }
.am-site .am-pick-caption span { display: block; color: var(--am-muted); }
.am-site .am-fixture-closed { margin: 8px 0 0; color: var(--am-muted); font-size: .72rem; line-height: 1.5; }
.am-site .am-match-operators { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.am-site .am-match-operators a { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; min-height: 72px; padding: 10px 12px; border: 1px solid #3b4d64; border-radius: 12px; background: var(--am-surface); transition: border-color 180ms, background 180ms; }
.am-site .am-match-operators a:hover { border-color: #8e9aaa; background: var(--am-surface2); }
.am-site .am-match-operators img { width: 88px; height: 32px; object-fit: contain; }
.am-site .am-match-operators span { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; }
.am-site .am-match-operators svg { width: 16px; height: 16px; }
.am-site .am-operator-disclosure { margin: 8px 0 0; color: var(--am-muted); font-size: .7rem; line-height: 1.5; }
.am-site .am-match-detail > .am-section { padding: 28px 0 48px; }
.am-site .am-match-detail .am-analysis-content { gap: 12px; }
.am-site .am-match-detail .am-analysis-section, .am-site .am-match-detail .am-conclusion { padding: 20px; }
.am-site .am-match-detail .am-analysis-section:hover, .am-site .am-match-detail .am-conclusion:hover { transform: none; }
.am-site .am-match-detail .am-analysis-section h2 { margin: 0; font-size: 1.2rem; line-height: 1.35; }
.am-site .am-match-detail .am-analysis-section .am-eyebrow { margin-bottom: 8px; }
.am-site .am-match-detail .am-analysis-section > p:last-child { margin-top: 10px; font-size: .9rem; line-height: 1.65; }
.am-site .am-match-detail .am-conclusion h2 { margin: 0; font-size: 1.1rem; }
.am-site .am-match-detail .am-conclusion p { font-size: .85rem; line-height: 1.65; }
.am-site .am-match-detail .am-analysis-sidebar .am-telegram-cta { padding: 20px; }
.am-site .am-match-detail .am-analysis-sidebar .am-telegram-cta h2 { font-size: 1.2rem; }
.am-site .am-match-detail .am-analysis-sidebar .am-telegram-cta p { font-size: .85rem; }
.am-site .am-match-detail .am-analysis-sidebar .am-telegram-icon { width: 36px; height: 36px; margin-bottom: 12px; }
.am-site .am-match-detail .am-stats-spacious { margin-top: 12px; gap: 8px; }
.am-site .am-match-detail .am-stats-spacious > div { padding: 12px; }
.am-site .am-match-detail .am-stats-spacious small { white-space: normal; font-size: .75rem; }
.am-site .am-match-detail .am-stats-spacious strong { margin-top: 4px; font-size: 1.1rem; }
@media (max-width: 820px) {
  .am-site .am-match-detail .am-prediction-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .am-site .am-match-detail .am-prediction-hero { padding: 20px 0; }
  .am-site .am-match-detail .am-fixture-heading .am-eyebrow { margin-bottom: 12px; }
  .am-site .am-match-detail .am-stats-spacious { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-site .am-match-detail .am-analysis-section, .am-site .am-match-detail .am-conclusion { padding: 16px; }
  .am-site .am-match-detail > .am-section { padding-top: 20px; }
}

@media (max-width: 1023px) {
  .am-site .am-header-inner > .am-desktop-telegram { display: none; }
  .am-site .am-header-inner > .am-desktop-nav { gap: 17px; }
  .am-site .am-hero-grid { grid-template-columns: 1fr .75fr; gap: 20px; }
  .am-site .am-hero-visual { height: 440px; }
  .am-site .am-prediction-grid, .am-site .am-method-grid, .am-site .am-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-site .am-method-grid article { min-height: 210px; }
}
@media (max-width: 767px) {
  .am-site .am-section { padding: 48px 0; }
  .am-site .am-section-tight { padding: 32px 0; }
  .am-site .am-header-inner > .am-desktop-nav { display: none; }
  .am-site .am-site-header button.am-menu-button { display: flex; margin-left: auto; }
  .am-site .am-hero, .am-site .am-hero-grid { min-height: auto; }
  .am-site .am-hero-grid { position: relative; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .am-site .am-hero-copy { padding: 32px 0 24px; }
  .am-site .am-hero-copy h1 { margin-bottom: 16px; font-size: clamp(2rem, 8.7vw, 2.75rem); }
  .am-site .am-hero-copy .am-hero-lead { font-size: .95rem; line-height: 1.65; }
  .am-site .am-hero-proof { display: grid; align-content: center; gap: 8px; min-height: 64px; padding-right: 112px; margin-top: 20px; font-size: .75rem; }
  .am-site .am-hero-proof svg { flex: 0 0 16px; }
  .am-site .am-hero-visual { position: absolute; right: 0; bottom: 0; width: 104px; height: 104px; pointer-events: none; }
  .am-site .am-hero-visual > img { width: auto; height: 120px; max-width: none; bottom: -16px; }
  .am-site .am-hero-two, .am-site .am-hero-visual .am-mini-signal { display: none; }
  .am-site #pronosticos-hoy { padding-top: 32px; }
  .am-site .am-prediction-grid { grid-template-columns: minmax(0, 1fr); }
  .am-site .am-section-header { display: block; }
  .am-site .am-section-header > .am-text-link { margin-top: 16px; }
  .am-site .am-telegram-cta { grid-template-columns: auto 1fr; padding: 24px 20px; }
  .am-site .am-method-grid article { padding: 20px; }
  .am-site .am-final-cta { grid-template-columns: minmax(0, 1fr); min-height: 360px; padding: 28px 24px 195px; }
  .am-site .am-final-cta > img { left: 50%; bottom: -170px; }
  .am-site .am-page-hero { padding: 58px 0 48px; }
  .am-site .am-stats-row { font-size: .82rem; }
}
@media (max-width: 479px) {
  .am-site .am-container { width: min(var(--am-container), calc(100% - 28px)); }
  .am-site .am-header-inner { gap: 12px; }
  .am-site .am-logo > img { width: 178px; height: auto; }
  .am-site .am-mini-signal { min-width: 100px; padding: 9px 11px; }
  .am-site .am-method-grid, .am-site .am-metrics-grid { grid-template-columns: minmax(0, 1fr); }
  .am-site .am-method-grid article { min-height: 180px; }
}
