/* Croatian red theme overrides for the shared modern layout. */
:root {
  --hr-primary: #eb1e25;
  --hr-primary-dark: #c9141b;
  --hr-primary-soft: #fff0f1;
  --hr-primary-pale: #fff7f7;
}

/* Compact, in-flow ad blocker notice for the shortened schedule. */
#tab-content-block { position: static; max-width: 1120px; margin: 16px auto 28px; }
#tab-content-block .row-eq-height { margin: 0; padding: 20px 24px; border-radius: 12px 12px 0 0; background: var(--hr-primary); opacity: 1; }
#tab-content-block .eye { display: none; }
#tab-content-block .row-eq-height > .col-xs-9 { float: none; width: auto; padding: 0; }
#tab-content-block h3 { margin: 0 0 10px; padding: 0; font-size: 22px; line-height: 1.3; }
#tab-content-block p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
#tab-content-block .foot { padding: 12px 18px; border-radius: 0 0 12px 12px; }
#tab-content-block .foot > .col-xs-3 { display: none; }
#tab-content-block .foot > .col-xs-12 { float: none; width: auto; }
#tab-content-block .foot a { font-size: 14px; }
@media (max-width: 575.98px) {
  #tab-content-block { margin: 12px 0 20px; }
  #tab-content-block .row-eq-height { padding: 16px; }
  #tab-content-block h3 { font-size: 19px; }
  #tab-content-block p { font-size: 14px; }
}

/* Header and schedule filters */
.navbar.header,
.navbar.header.navbar-light { background-color: var(--hr-primary) !important; }
.navbar.header.navbar-light .navbar-nav .nav-link:hover,
.navbar.header.navbar-light .navbar-nav .nav-link:focus-visible { color: #fff !important; background: #ffffff20; }
.au-header.navbar.header .navbar-nav .nav-link.active { color: var(--hr-primary-dark) !important; background: #fff; }
.schedule-filter { --schedule-dropdown-bg: var(--hr-primary); --schedule-dropdown-hover-bg: var(--hr-primary-dark); --schedule-dropdown-border: var(--hr-primary-dark); }
.schedule-filter .schedule-dates .nav-link.active,
.schedule-filter .schedule-dates .schedule-extra-date-active { border-color: var(--hr-primary); background-color: var(--hr-primary); color: #fff !important; }
.schedule-filter .schedule-dates .nav-link.active::before,
.schedule-filter .schedule-dates .schedule-extra-date-active::before { background-color: #ffb8bb; }
.schedule-sport-options .dropdown-toggle { background-color: var(--hr-primary); border-color: var(--hr-primary-dark); }
.schedule-sport-options .dropdown-toggle:hover,
.schedule-sport-options .dropdown-toggle.show { background-color: var(--hr-primary-dark); }

/* Schedule groups and event rows */
.schedule-sport-heading { border-bottom-color: #ff8f94; background: var(--hr-primary); }
.schedule-sport-block .leagueTitle { background: #fff3f3; color: var(--hr-primary-dark); }
.schedule-sport-block .schedule-event:hover { background: #fff7f7; }
.schedule-event .eventTime,
.schedule-event .eventTimePast { background: #f4e9e9; color: #702126; }
.schedule-event .eventTime { border-color: #edc5c7; }
.schedule-event .eventTimePast { border-color: #edc5c7; }
.schedule-event .eventTime:hover { background: #ead6d7; border-color: #d99da1; box-shadow: 0 2px 6px #6f161b1a; }
.schedule-event .eventTime:focus-visible { outline-color: var(--hr-primary); }
button.eventTime { background: #f4e9e9; border-color: #edc5c7; color: var(--hr-primary-dark); }
button.eventTime:hover { background: #ead6d7; border-color: #d99da1; box-shadow: 0 2px 6px #6f161b1a; }
button.eventTime:focus-visible { outline-color: var(--hr-primary); }

/* Search, empty results, headings and keyboard focus */
.schedule-search > label,
.home .page-header h1.schedule-page-title { color: #7c1d22; }
.schedule-search-controls button { border-color: #efc9cb; color: var(--hr-primary-dark); }
.schedule-search-controls button:hover:not(:disabled) { background: var(--hr-primary-soft); }
.schedule-search-controls input:focus-visible,
.schedule-search-controls button:focus-visible,
.schedule-search-empty-reset:focus-visible { outline-color: var(--hr-primary); }
#schedule-search-status.is-empty { border-color: #f1c8ca; background: linear-gradient(135deg, #fffafa, #fff0f1); color: #622126; }
#schedule-search-status .schedule-search-empty-icon { background: #ffe4e6; color: var(--hr-primary-dark); }
#schedule-search-status .schedule-search-empty-title { color: #7c1d22; }
#schedule-search-status .schedule-search-empty-reset,
#schedule-search-status .schedule-search-empty-reset:hover { color: var(--hr-primary-dark); }

/* Keep shared modern pages on the Croatian brand palette. */
.au-standings-wrap:focus-visible { outline-color: var(--hr-primary); }
.au-standings-wrap .table.au-standings th { background: var(--hr-primary); }
.au-standings-wrap .table.au-standings td a:hover { color: var(--hr-primary-dark); }
.au-standings-wrap .table.au-standings tr.bg-secondary > td:first-child { box-shadow: inset 3px 0 var(--hr-primary); }
.au-standings-wrap .table.au-top-scorers .scorers-goals strong { color: var(--hr-primary-dark); }
#modalTZ .modal-title i { color: var(--hr-primary); }
#modalTZ .pickedZone.activeZone { border-color: var(--hr-primary); box-shadow: inset 0 0 0 1px var(--hr-primary); }
#modalTZ .pickedZone:focus-visible { outline-color: var(--hr-primary); }
#modalTZ .saveZone { background: var(--hr-primary); border-color: var(--hr-primary); }
#modalTZ .saveZone:hover { background: var(--hr-primary-dark); }
#modalTZ .au-footer-brand { color: var(--hr-primary-dark); }
.au-site-footer a:hover,
.au-site-footer a:focus-visible { color: var(--hr-primary-dark); }
:root {
  --sidebar-primary: var(--hr-primary);
  --sidebar-accent: var(--hr-primary);
  --sidebar-link: var(--hr-primary-dark);
  --sidebar-link-hover: #7c1d22;
  --sidebar-text: #622126;
  --sidebar-underline: var(--hr-primary);
  --sidebar-divider: #f1c8ca;
  --sidebar-border: #f1c8ca;
  --sidebar-app-bg: #fff7f7;
  --sidebar-link-bg: #fff7f7;
  --sidebar-link-hover-bg: #ffe9ea;
  --sidebar-row-bg: #fff7f7;
}

/* Extra modern schedule surfaces also used by AU pages. */
.hot-agenda .hot-agenda-title { border-bottom-color: #ff8f94; background: var(--hr-primary); }
.hot-agenda .hot-agenda-row.hot-agenda-new-day {
  background: #fff0f1 !important;
  border-color: #f1c8ca !important;
}
.hot-agenda .hot-agenda-row.hot-agenda-new-day .hot-agenda-day {
  color: var(--hr-primary-dark) !important;
}
.hot-agenda .hot-agenda-event { background: #fff !important; }
.hot-agenda .hot-agenda-event:hover,
.hot-agenda .hot-agenda-event:focus-visible { background: #fff7f7 !important; }
.topText .topText-toggle:hover { color: var(--hr-primary-dark); }

/* Page-specific SI stylesheets load after this shared theme. Keep their
   interactive accents aligned with the Croatian red palette. */
.app-landing .app-download,
.app-mobile-action .app-download { background: var(--hr-primary) !important; }
.app-landing .app-download:hover,
.app-mobile-action .app-download:hover { background: var(--hr-primary-dark) !important; }
.app-landing .app-download:focus-visible,
.app-mobile-action .app-download:focus-visible { outline-color: var(--hr-primary) !important; }

.contact-page .contact-submit { background: var(--hr-primary) !important; }
.contact-page .contact-submit:hover { background: var(--hr-primary-dark) !important; }
.contact-page .contact-submit:focus-visible { outline-color: var(--hr-primary) !important; }

.au-players-page .players-choice-buttons button[aria-pressed="true"] {
  background: var(--hr-primary) !important;
}
.au-players-page .players-choice-buttons button:focus-visible {
  outline-color: var(--hr-primary) !important;
}

.au-league-page .leagueInfo > .hr-sect {
  background: var(--hr-primary) !important;
}
.au-league-page .league-content .eventTime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 27px;
  border: 1px solid #edc5c7;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  background: #f4e9e9 !important;
  color: var(--hr-primary-dark) !important;
}
.au-league-page .league-content .eventTime:hover {
  background: #ead6d7 !important;
  border-color: #d99da1;
}
.au-league-page .league-content .eventTime:focus-visible { outline: 2px solid var(--hr-primary); outline-offset: 2px; }
