:root {
  --pms-navy: #061d35;
  --pms-navy-soft: #0b3451;
  --pms-blue: #0075aa;
  --pms-green: #26d07c;
  --pms-green-dark: #07804b;
  --pms-ink: #10263b;
  --pms-muted: #6e7f8e;
  --pms-line: #dce6e9;
  --pms-bg: #f3f7f7;
  --pms-card: #fff;
  --pms-radius: 22px;
  --pms-shadow: 0 18px 52px rgba(6, 29, 53, .1);
}

body.premiera-modern-site { color: var(--pms-ink); background: var(--pms-bg); }
.premiera-modern-site *, .premiera-modern-site *::before, .premiera-modern-site *::after { box-sizing: border-box; }
.premiera-modern-site a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.pm-site-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.premiera-modern-site #masthead { position: relative; z-index: 80; box-shadow: 0 8px 30px rgba(2, 19, 33, .16); }
.premiera-modern-site .ast-primary-header-bar {
  border: 0 !important;
  border-bottom: 3px solid var(--pms-green) !important;
  background: linear-gradient(115deg, #062d47 0%, #053f44 55%, #064828 100%) !important;
}
.premiera-modern-site .ast-primary-header-bar .ast-builder-grid-row { min-height: 108px !important; }
.premiera-modern-site .site-branding img,
.premiera-modern-site .custom-logo { width: auto !important; max-width: 192px !important; max-height: 96px !important; object-fit: contain; }
.premiera-modern-site .main-header-menu { gap: 4px; }
.premiera-modern-site .main-header-menu > .menu-item > .menu-link {
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 11px;
  color: rgba(255,255,255,.83) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}
.premiera-modern-site .main-header-menu > .menu-item:hover > .menu-link,
.premiera-modern-site .main-header-menu > .current-menu-item > .menu-link,
.premiera-modern-site .main-header-menu > .current_page_item > .menu-link {
  color: #062238 !important;
  background: var(--pms-green) !important;
}
.premiera-modern-site .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg { fill: var(--pms-green) !important; }

/* Match video: lightweight poster first, YouTube iframe only after a click. */
.pm-event-video {
  width: min(1120px, calc(100% - 32px));
  margin: 46px auto 20px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--pms-radius);
  color: #fff;
  background: linear-gradient(125deg, #071f39 0%, #0b4050 64%, #075036 130%);
  box-shadow: var(--pms-shadow);
}
.pm-event-video__head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.pm-event-video__head h2 { margin: 4px 0 0 !important; color: #fff !important; font-size: clamp(26px, 4vw, 42px) !important; letter-spacing: -.04em; }
.pm-event-video__head a { color: var(--pms-green) !important; font-size: 13px; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.pm-event-video__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 17px; background: #020a12; }
.pm-event-video__frame iframe { width: 100%; height: 100%; border: 0; }
.pm-event-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; color: #fff; background: #020a12; }
.pm-event-video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.pm-event-video__poster:hover img { transform: scale(1.025); filter: brightness(.88); }
.pm-event-video__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,10,18,.05), rgba(2,10,18,.55)); }
.pm-event-video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 82px; height: 82px; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; background: var(--pms-green); box-shadow: 0 14px 44px rgba(0,0,0,.36); transform: translate(-50%, -50%); }
.pm-event-video__play i { width: 0; height: 0; margin-left: 6px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 19px solid #062238; }
.pm-event-video__poster strong { position: absolute; left: 50%; top: calc(50% + 62px); color: #fff; font-size: 14px; transform: translateX(-50%); }

/* Site canvas and generic page intro */
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page) .site-content { padding: 0 0 90px !important; background: var(--pms-bg); }
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .site-content > .ast-container {
  display: block;
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  padding: 0;
}
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) #primary { float: none; width: 100%; margin: 0; }
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) article { padding: 0 !important; background: transparent !important; }
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-header {
  position: relative;
  overflow: hidden;
  margin: 46px 0 34px !important;
  padding: 48px 52px !important;
  border-radius: var(--pms-radius);
  background: linear-gradient(120deg, var(--pms-navy), #0b4961 72%, #08633d 135%);
  box-shadow: var(--pms-shadow);
}
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-header::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -105px;
  border: 36px solid rgba(38,208,124,.15);
  border-radius: 50%;
}
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-title {
  position: relative;
  z-index: 2;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: none !important;
  font-size: clamp(38px, 5vw, 64px) !important;
  line-height: 1 !important;
  letter-spacing: -.05em !important;
  text-transform: none !important;
}
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-title::before {
  content: "PREMIERA • MALI FUDBAL";
  display: block;
  margin-bottom: 13px;
  color: var(--pms-green);
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .14em;
}
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-content { margin: 0 !important; }

/* Shared switches */
.premiera-modern-site .month-tabs,
.premiera-modern-site .group-tabs,
.premiera-modern-site .schedule-tabs,
.premiera-modern-site .premiera-tabs {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  margin: 0 0 22px !important;
  padding: 6px !important;
  border: 1px solid var(--pms-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,29,53,.05);
}
.premiera-modern-site .group-tabs,
.premiera-modern-site .schedule-tabs { display: inline-flex !important; }
.premiera-modern-site .month-tab,
.premiera-modern-site .group-tab,
.premiera-modern-site .schedule-tab,
.premiera-modern-site .premiera-tab-btn {
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 11px !important;
  color: var(--pms-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .04em;
}
.premiera-modern-site .month-tab.active,
.premiera-modern-site .group-tab.active,
.premiera-modern-site .schedule-tab.active,
.premiera-modern-site .premiera-tab-btn.active,
.premiera-modern-site .month-tab:hover,
.premiera-modern-site .group-tab:hover,
.premiera-modern-site .schedule-tab:hover,
.premiera-modern-site .premiera-tab-btn:hover {
  color: #fff !important;
  background: var(--pms-navy) !important;
}

/* League tables */
.premiera-modern-site .group-table { overflow: visible !important; }
.premiera-modern-site .group-table.active { display: block; }
.premiera-modern-site .sp-table-caption {
  margin: 18px 0 0 !important;
  padding: 25px 28px !important;
  border-radius: 18px 18px 0 0 !important;
  color: #fff !important;
  background: linear-gradient(110deg, var(--pms-navy), #0a5361) !important;
  font-size: 21px !important;
  letter-spacing: -.02em;
}
.premiera-modern-site .sp-table-wrapper { overflow-x: auto; border-radius: 0 0 18px 18px; box-shadow: var(--pms-shadow); }
.premiera-modern-site table.sp-league-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: var(--pms-ink) !important;
  background: #fff !important;
}
.premiera-modern-site table.sp-league-table thead th {
  height: 48px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pms-line) !important;
  color: #71828e !important;
  background: #edf3f3 !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.premiera-modern-site table.sp-league-table tbody tr { background: #fff !important; }
.premiera-modern-site table.sp-league-table tbody tr:hover { background: #f1faf6 !important; }
.premiera-modern-site table.sp-league-table tbody td {
  height: 62px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf1f2 !important;
  color: var(--pms-ink) !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}
.premiera-modern-site table.sp-league-table .data-name { min-width: 210px; text-align: left !important; }
.premiera-modern-site table.sp-league-table .data-name a { display: inline-flex; align-items: center; gap: 10px; color: var(--pms-ink) !important; }
.premiera-modern-site table.sp-league-table .team-logo img { width: 34px !important; height: 34px !important; object-fit: contain; }
.premiera-modern-site table.sp-league-table .data-rank { color: var(--pms-green-dark) !important; font-weight: 900 !important; }
.premiera-modern-site table.sp-league-table .data-pts { color: var(--pms-green-dark) !important; font-size: 16px !important; font-weight: 900 !important; }
.premiera-modern-site .sp-form-event-link { display: inline-grid !important; place-items: center; width: 24px !important; height: 24px !important; border-radius: 7px !important; color: #fff !important; font-size: 9px !important; }

/* Result and schedule cards */
.premiera-modern-site .schedule-group > .sportspress { margin-top: 8px; }
.premiera-modern-site .schedule-group table.sp-event-blocks,
.premiera-modern-site .schedule-group table.sp-event-blocks tbody {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.premiera-modern-site .schedule-group table.sp-event-blocks thead { display: none !important; }
.premiera-modern-site .schedule-group table.sp-event-blocks tbody {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.premiera-modern-site .schedule-group table.sp-event-blocks tbody > tr:not(.sp-post) { grid-column: 1 / -1; display: block !important; }
.premiera-modern-site .schedule-group .sp-event-group-name {
  display: block;
  margin: 14px 0 2px;
  color: var(--pms-muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.premiera-modern-site .schedule-group table.sp-event-blocks tr.sp-row.sp-post {
  position: relative !important;
  display: block !important;
  min-height: 214px !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--pms-line) !important;
  border-radius: 18px !important;
  background: linear-gradient(125deg, #0b3260, #074b40) !important;
  box-shadow: 0 10px 30px rgba(6,29,53,.055) !important;
}
.premiera-modern-site .schedule-group table.sp-event-blocks tr.sp-post:hover { transform: translateY(-3px); box-shadow: var(--pms-shadow) !important; }
body.premiera-modern-site .schedule-group table.sp-event-blocks tr.sp-row.sp-post > td {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 214px !important;
  padding: 25px 92px !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(125deg, #0b3260, #074b40) !important;
}
.premiera-modern-site .schedule-group .team-logo { position: absolute !important; top: 50% !important; transform: translateY(-50%); }
.premiera-modern-site .schedule-group .team-logo.logo-odd { left: 22px !important; }
.premiera-modern-site .schedule-group .team-logo.logo-even { right: 22px !important; }
.premiera-modern-site .schedule-group .team-logo img { width: 58px !important; height: 58px !important; object-fit: contain; }
.premiera-modern-site .schedule-group .sp-event-date { order: 1; margin: 0 0 5px !important; }
.premiera-modern-site .schedule-group .sp-event-date a { color: rgba(255,255,255,.62) !important; font-size: 10px !important; font-weight: 800; }
.premiera-modern-site .schedule-group .sp-event-results { order: 2; margin: 0 !important; }
.premiera-modern-site .schedule-group .sp-event-results a { color: #fff !important; font-size: 28px !important; font-weight: 900; letter-spacing: -.04em; }
.premiera-modern-site .schedule-group .sp-event-title { order: 3; margin: 7px 0 0 !important; text-align: center; }
.premiera-modern-site .schedule-group .sp-event-title a { color: #fff !important; font-size: 12px !important; font-weight: 850 !important; }
.premiera-modern-site .schedule-group .sp_event_spec { order: 4; margin-top: 9px; color: var(--pms-green-dark); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }

/* Teams */
.premiera-modern-site .teams-section {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.premiera-modern-site .team-card {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  width: auto !important;
  height: 360px !important;
  margin: 0 !important;
  border: 1px solid var(--pms-line) !important;
  border-radius: 20px !important;
  background: var(--pms-navy) !important;
  box-shadow: 0 12px 34px rgba(6,29,53,.1) !important;
}
.premiera-modern-site .team-card::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(3,21,37,.96)); }
.premiera-modern-site .team-card:hover { transform: translateY(-6px) !important; box-shadow: var(--pms-shadow) !important; }
.premiera-modern-site .team-card > .team-image { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; opacity: .92; transition: transform .35s ease; }
.premiera-modern-site .team-card:hover > .team-image { transform: scale(1.04); }
.premiera-modern-site .team-info {
  position: absolute !important;
  z-index: 3 !important;
  left: 20px !important;
  right: 20px !important;
  bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
}
.premiera-modern-site .team-info .team-logo { width: 50px !important; height: 50px !important; padding: 5px; border-radius: 14px; object-fit: contain !important; background: rgba(255,255,255,.93); }
.premiera-modern-site .team-info .team-name { display: block !important; color: #fff !important; font-size: 17px !important; font-weight: 850 !important; line-height: 1.1; letter-spacing: -.02em; }

/* Prizes and sponsors */
.premiera-modern-site .nagrade-list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px !important; }
.premiera-modern-site .nagrada-kartica {
  position: relative;
  display: grid !important;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  min-height: 220px;
  margin: 0 !important;
  padding: 18px !important;
  overflow: hidden;
  border: 1px solid var(--pms-line) !important;
  border-radius: 20px !important;
  color: var(--pms-ink) !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(6,29,53,.06) !important;
}
.premiera-modern-site .nagrada-kartica:hover { transform: translateY(-4px); box-shadow: var(--pms-shadow) !important; }
.premiera-modern-site .nagrada-slika:first-child img { width: 145px !important; height: 184px !important; border-radius: 14px !important; object-fit: cover !important; }
.premiera-modern-site .nagrada-slika:last-child { position: absolute; right: 15px; bottom: 15px; opacity: .14; }
.premiera-modern-site .nagrada-slika:last-child img { width: 75px !important; height: 75px !important; object-fit: contain !important; }
.premiera-modern-site .nagrada-tekst { padding: 10px 0 !important; }
.premiera-modern-site .nagrada-tekst h3 { margin: 0 0 12px !important; color: var(--pms-navy) !important; font-size: 18px !important; line-height: 1.2; letter-spacing: -.02em; }
.premiera-modern-site .nagrada-tekst p { margin: 5px 0 !important; color: var(--pms-muted) !important; font-size: 11px !important; line-height: 1.45; }
.premiera-modern-site.page-id-40 .entry-content > .wp-block-group {
  margin: 0 0 18px !important;
  padding: 24px !important;
  border: 1px solid var(--pms-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(6,29,53,.055);
}
.premiera-modern-site.page-id-40 .wp-block-media-text { gap: 28px; }
.premiera-modern-site.page-id-40 .wp-block-media-text__media { display: grid; place-items: center; min-height: 190px; border-radius: 16px; background: #edf4f2; }
.premiera-modern-site.page-id-40 .wp-block-media-text__media img { width: 180px !important; height: 170px !important; object-fit: contain !important; }
.premiera-modern-site.page-id-40 .wp-block-media-text__content { padding: 20px !important; }
.premiera-modern-site.page-id-40 .wp-block-media-text__content p { margin: 6px 0; color: var(--pms-muted); font-size: 13px; }
.premiera-modern-site.page-id-40 .wp-block-media-text__content p:first-child { color: var(--pms-navy); font-size: 23px; font-weight: 850; }

/* Homepage */
.premiera-modern-site.home .site-content { padding-bottom: 90px !important; background: var(--pms-bg); }
.premiera-modern-site.home .site-content > .ast-container { display: block; max-width: none; padding: 0; }
.premiera-modern-site.home #primary { float: none; width: 100%; margin: 0; }
.premiera-modern-site.home article, .premiera-modern-site.home .entry-content { margin: 0 !important; padding: 0 !important; background: transparent !important; }
.premiera-modern-site.home .entry-header { display: none; }
.pm-home-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(125deg, #03172b 0%, #073a56 65%, #075c39 125%); }
.pm-home-hero__grid { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 60px 60px; }
.pm-home-hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: -210px; border: 70px solid rgba(38,208,124,.13); border-radius: 50%; }
.pm-home-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 85px; align-items: center; min-height: 500px; padding: 60px 0; }
.pm-site-kicker { color: var(--pms-green); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.pm-site-kicker::before { content: ""; display: inline-block; width: 25px; height: 3px; margin-right: 10px; vertical-align: middle; border-radius: 5px; background: var(--pms-green); }
.pm-home-hero h1 { margin: 20px 0 18px; color: #fff; font-size: clamp(50px, 6vw, 80px); line-height: .92; letter-spacing: -.06em; }
.pm-home-hero__copy > h1:first-child { margin-top: 0; }
.pm-home-hero h1 em { color: var(--pms-green); font-style: normal; }
.pm-home-hero__copy > p { max-width: 610px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.65; }
.pm-home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.premiera-modern-site .pm-site-button { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 48px !important; padding: 0 22px !important; border-radius: 12px !important; font-family: inherit !important; font-size: 12px !important; font-weight: 850 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-decoration: none !important; text-indent: 0 !important; opacity: 1 !important; }
.premiera-modern-site .pm-site-button b { display: inline !important; visibility: visible !important; color: inherit !important; font-family: inherit !important; font-size: 12px !important; font-weight: 850 !important; line-height: 1.2 !important; letter-spacing: 0 !important; opacity: 1 !important; }
.pm-site-button--green { color: var(--pms-navy) !important; -webkit-text-fill-color: var(--pms-navy) !important; background: var(--pms-green); }
.pm-site-button--green:hover { color: #fff !important; background: var(--pms-green-dark); transform: translateY(-2px); }
.pm-site-button--green span { margin-left: 12px; }
.pm-site-button--ghost { color: #fff !important; -webkit-text-fill-color: #fff !important; border: 1px solid rgba(255,255,255,.25); }
.pm-site-button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.pm-home-numbers { display: flex; gap: 30px; margin-top: 40px; }
.pm-home-numbers span { color: rgba(255,255,255,.48); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.pm-home-numbers strong { margin-right: 5px; color: #fff; font-size: 19px; }
.pm-home-board { padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.pm-home-board__head { display: flex; justify-content: space-between; padding: 5px 5px 17px; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pm-home-board__head a { color: var(--pms-green); }
.pm-home-player { display: grid; grid-template-columns: 32px 48px 1fr auto; gap: 11px; align-items: center; min-height: 74px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.11); color: #fff !important; }
.pm-home-player:hover { border-radius: 13px; background: rgba(255,255,255,.08); }
.pm-home-player__rank { color: rgba(255,255,255,.35); font-size: 11px; font-weight: 850; }
.pm-home-player__name b, .pm-home-player__name small { display: block; }
.pm-home-player__name b { color: #fff; font-size: 13px; }
.pm-home-player__name small { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 9px; }
.pm-home-player__score { color: var(--pms-green); font-size: 27px; }
.pm-home-player__score small { margin-left: 2px; font-size: 9px; }
.pm-home-board__teams { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 17px; border-radius: 13px; color: var(--pms-navy) !important; background: var(--pms-green); font-size: 11px; font-weight: 850; }
.pm-home-board__teams b { font-size: 20px; }
.premiera-modern-site.home #premiera-home-matches,
.premiera-modern-site.home .old-teams-title-wrapper,
.premiera-modern-site.home .sp-template-event-blocks,
.premiera-modern-site.home .bracket-wrap { width: min(1180px, calc(100% - 40px)) !important; margin-left: auto !important; margin-right: auto !important; }

/* Large dynamic homepage calendar. */
.pm-home-calendar {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 62px auto 18px;
  color: #eaf6f6;
}
.pm-home-calendar__head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 24px; }
.pm-home-calendar__head h2 { margin: 12px 0 8px; color: #fff; font-size: clamp(34px, 4.5vw, 58px); line-height: 1; letter-spacing: -.05em; }
.pm-home-calendar__head p { max-width: 610px; margin: 0; color: rgba(224,242,243,.62); font-size: 14px; }
.pm-home-calendar__head > a { flex: 0 0 auto; padding: 12px 16px; border: 1px solid rgba(79,225,205,.22); border-radius: 13px; color: #45e8bc !important; background: rgba(9,32,46,.72); font-size: 12px; font-weight: 850; }
.pm-home-calendar__head > a:hover { border-color: #45e8bc; transform: translateY(-2px); }
.pm-home-calendar__head > a span { margin-left: 8px; }
.pm-home-calendar__board {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 365px minmax(0,1fr);
  min-height: 380px;
  border: 1px solid rgba(85,228,208,.20);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(7,28,44,.94), rgba(8,43,49,.90));
  box-shadow: 0 24px 70px rgba(0,7,18,.28), inset 0 1px rgba(255,255,255,.055);
  backdrop-filter: blur(16px);
}
.pm-home-calendar__board::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 390px; height: 390px; border: 48px solid rgba(48,235,180,.07); border-radius: 50%; pointer-events: none; }
.pm-calendar-picker { position: relative; z-index: 3; padding: 24px; border-right: 1px solid rgba(97,213,204,.13); background: rgba(2,16,31,.33); }
.pm-calendar-month-nav { display: grid; grid-template-columns: 38px 1fr 38px; gap: 10px; align-items: center; margin-bottom: 20px; }
.pm-calendar-month-nav strong { color: #fff; font-size: 18px; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.pm-calendar-month-nav button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(83,224,204,.20); border-radius: 12px; color: #43e4b4; background: rgba(255,255,255,.045); cursor: pointer; }
.pm-calendar-month-nav button:hover:not(:disabled) { color: #06202b; background: #40e4b4; }
.pm-calendar-month-nav button:disabled { cursor: default; opacity: .22; }
.pm-calendar-weekdays, .pm-calendar-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.pm-calendar-weekdays { margin-bottom: 8px; }
.pm-calendar-weekdays span { color: rgba(216,237,239,.58); font-size: 9px; font-weight: 900; text-align: center; }
.pm-calendar-month { display: none; }
.pm-calendar-month.is-active { display: grid; animation: pm-calendar-in .2s ease; }
.pm-calendar-blank { aspect-ratio: 1; }
.pm-calendar-date {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(100,210,202,.08);
  border-radius: 12px;
  color: rgba(220,239,240,.68);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: .18s ease;
}
.pm-calendar-date:hover { color: #fff; border-color: rgba(70,226,189,.34); background: rgba(255,255,255,.065); transform: translateY(-1px); }
.pm-calendar-date span { font-size: 12px; font-weight: 850; }
.pm-calendar-date.has-events { color: #eaf8f6; border-color: rgba(61,224,179,.24); background: rgba(43,206,158,.10); }
.pm-calendar-date.has-events::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: #3ee6ac; box-shadow: 0 0 8px rgba(62,230,172,.75); transform: translateX(-50%); }
.pm-calendar-date i { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: #082421; background: #48e3b0; font-size: 8px; font-style: normal; font-weight: 950; }
.pm-calendar-date.is-today { box-shadow: inset 0 0 0 1px rgba(80,208,255,.52); }
.pm-calendar-date.is-active { color: #06202b; border-color: #9bffe2; background: linear-gradient(135deg, #2ce99c, #4bded2); box-shadow: 0 9px 22px rgba(39,225,170,.20); }
.pm-calendar-date.is-active::after { background: #06202b; box-shadow: none; }
.pm-calendar-legend { display: flex; justify-content: center; gap: 18px; margin-top: 18px; color: rgba(220,238,239,.45); font-size: 9px; }
.pm-calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pm-calendar-legend i, .pm-calendar-legend b { width: 8px; height: 8px; border-radius: 50%; }
.pm-calendar-legend i { background: #3ee6ac; box-shadow: 0 0 7px rgba(62,230,172,.62); }
.pm-calendar-legend b { background: #4bded2; }
.pm-calendar-days { position: relative; z-index: 2; display: grid; align-content: start; gap: 8px; max-height: 560px; overflow-y: auto; padding: 18px; border-right: 1px solid rgba(97,213,204,.13); background: rgba(2,16,31,.33); scrollbar-width: thin; scrollbar-color: rgba(57,226,177,.55) rgba(255,255,255,.05); }
.pm-calendar-day {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "weekday count" "number month";
  align-items: end;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: rgba(224,241,242,.55);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
}
.pm-calendar-day:hover { border-color: rgba(74,224,199,.18); background: rgba(255,255,255,.045); }
.pm-calendar-day.is-active { color: #06202b; border-color: rgba(169,255,231,.75); background: linear-gradient(125deg, #29e99b, #48dfd0); box-shadow: 0 12px 30px rgba(35,226,172,.18); }
.pm-calendar-day span { grid-area: weekday; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pm-calendar-day strong { grid-area: number; font-size: 28px; line-height: 1; }
.pm-calendar-day small { grid-area: month; margin-left: 5px; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.pm-calendar-day i { grid-area: count; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-style: normal; font-weight: 900; opacity: .65; }
.pm-calendar-panels { position: relative; z-index: 2; min-width: 0; padding: 26px; }
.pm-calendar-panel { display: none; }
.pm-calendar-panel.is-active { display: block; animation: pm-calendar-in .24s ease; }
.pm-calendar-panel__date { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pm-calendar-panel__date span { color: #3ce3b0; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pm-calendar-panel__date strong { color: #fff; font-size: 22px; }
.pm-calendar-matches { display: grid; gap: 11px; }
.pm-calendar-match {
  display: grid;
  grid-template-columns: minmax(0,1fr) 150px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 17px 20px;
  border: 1px solid rgba(103,217,208,.13);
  border-radius: 20px;
  color: #fff !important;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.pm-calendar-match:hover { border-color: rgba(61,233,183,.42); background: rgba(255,255,255,.075); transform: translateY(-2px); }
.pm-calendar-team { display: flex; align-items: center; gap: 13px; min-width: 0; }
.pm-calendar-team--away { justify-content: flex-end; text-align: right; }
.pm-calendar-team span { overflow: hidden; color: #edf7f7; font-size: 15px; font-weight: 900; line-height: 1.1; text-overflow: ellipsis; }
.pm-calendar-team .pm-team-badge { flex: 0 0 54px; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); box-shadow: none; }
.pm-calendar-match__center { display: grid; justify-items: center; text-align: center; }
.pm-calendar-match__center small { color: rgba(222,240,241,.48); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pm-calendar-match__center strong { margin: 4px 0 7px; color: #fff; font-size: 30px; line-height: 1; }
.pm-calendar-match__center em { padding: 5px 9px; border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pm-calendar-match__center em.is-finished { color: #8fa4ab; background: rgba(143,164,171,.11); }
.pm-calendar-match__center em.is-upcoming { color: #06231f; background: #3be2a9; box-shadow: 0 0 18px rgba(48,229,172,.16); }
.pm-calendar-match__center em.is-pending { color: #f2cd73; background: rgba(242,205,115,.10); }
.pm-calendar-empty { display: grid; place-items: center; min-height: 260px; padding: 30px; border: 1px dashed rgba(104,215,205,.18); border-radius: 20px; text-align: center; background: rgba(255,255,255,.025); }
.pm-calendar-empty i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border: 1px solid rgba(65,226,181,.32); border-radius: 50%; color: #41e2b1; font-size: 26px; font-style: normal; }
.pm-calendar-empty strong { color: #eaf6f6; font-size: 17px; }
.pm-calendar-empty span { max-width: 360px; margin-top: 6px; color: rgba(219,237,238,.48); font-size: 11px; }
@keyframes pm-calendar-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Modern eliminacioni kostur */
.pm-playoff {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 54px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 242, 255, .18), transparent 34%),
    linear-gradient(125deg, #092c61 0%, #073b50 52%, #063d32 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(5, 30, 63, .18);
}
.pm-playoff::before,
.pm-playoff::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: .23;
}
.pm-playoff::before { top: -180px; left: -110px; background: #00f2ff; }
.pm-playoff::after { right: -150px; bottom: -190px; background: #25f58b; }
.pm-playoff__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.pm-playoff__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #63f5ce;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pm-playoff__eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.pm-playoff__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: .96;
  letter-spacing: -.045em;
}
.pm-playoff__header p { max-width: 390px; margin: 0; color: rgba(255,255,255,.68); font-weight: 650; text-align: right; }
.pm-playoff__scroll-hint { display: none; margin: -18px 0 20px; color: rgba(255,255,255,.56); font-size: 12px; }
.pm-playoff__board {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1.08fr .95fr 1.05fr;
  gap: 16px;
  align-items: center;
}
.pm-playoff__stage { position: relative; display: grid; gap: 22px; min-width: 0; }
.pm-playoff__stage-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pm-playoff__stage-label::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.pm-playoff-card {
  position: relative;
  padding: 15px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.1);
  backdrop-filter: blur(10px);
}
.pm-playoff-card--featured {
  border-color: #00efff;
  background: linear-gradient(145deg, rgba(0,239,255,.15), rgba(255,255,255,.07));
  box-shadow: 0 0 0 1px rgba(0,239,255,.16), 0 16px 38px rgba(0,0,0,.18);
}
.pm-playoff-card--bronze { border-color: rgba(255,190,71,.54); background: linear-gradient(145deg, rgba(255,174,48,.13), rgba(255,255,255,.06)); }
.pm-playoff-card__top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.pm-playoff-card__round { color: #55efd1; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.pm-playoff-card--bronze .pm-playoff-card__round { color: #ffc766; }
.pm-playoff-card__status { color: rgba(255,255,255,.44); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.pm-playoff-team {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.pm-playoff-team img,
.pm-playoff-team__mark {
  width: 27px;
  height: 27px;
  object-fit: contain;
  border-radius: 8px;
}
.pm-playoff-team__mark { display: grid; place-items: center; color: #58efd2; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 900; }
.pm-playoff-team a,
.pm-playoff-team span:not(.pm-playoff-team__mark) {
  overflow: hidden;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-overflow: ellipsis;
}
.pm-playoff-team strong { min-width: 30px; padding-right: 9px; color: #fff; font-size: 17px; font-weight: 950; text-align: right; }
.pm-playoff-team.is-winner a,
.pm-playoff-team.is-winner span:not(.pm-playoff-team__mark),
.pm-playoff-team.is-winner strong { color: #00f2ff; }
.pm-playoff-team.is-winner::after { content: ""; position: absolute; right: -1px; width: 3px; height: 27px; background: #32f5a6; border-radius: 3px 0 0 3px; }
.pm-playoff-card__legs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.pm-playoff-card__legs span { padding: 6px 7px; color: rgba(255,255,255,.65); background: rgba(0,0,0,.13); border-radius: 7px; font-size: 9px; font-weight: 750; text-align: center; }
.pm-playoff-card__legs a { color: inherit; text-decoration: none; }
.pm-playoff-card__legs b { color: #fff; }
.pm-playoff__center { gap: 14px; }
.pm-playoff__trophy { display: grid; place-items: center; width: 42px; height: 42px; margin: -2px auto 1px; color: #052f47; background: #52f3c7; border-radius: 14px; font-size: 22px; box-shadow: 0 9px 22px rgba(35,244,183,.25); }

@media (min-width: 981px) {
  .pm-playoff__stage--left::after,
  .pm-playoff__stage--semi-left::after { content: ""; position: absolute; top: 50%; right: -16px; width: 16px; height: 1px; background: rgba(80,242,211,.42); }
  .pm-playoff__stage--right::before,
  .pm-playoff__stage--semi-right::before { content: ""; position: absolute; top: 50%; left: -16px; width: 16px; height: 1px; background: rgba(80,242,211,.42); }
}
@media (max-width: 980px) {
  .pm-playoff { padding: 28px 22px; }
  .pm-playoff__header { align-items: flex-start; }
  .pm-playoff__header p { text-align: left; }
  .pm-playoff__scroll-hint { display: block; }
  .pm-playoff__board { display: flex; align-items: center; gap: 14px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scrollbar-color: #31eec8 rgba(255,255,255,.08); }
  .pm-playoff__stage { flex: 0 0 250px; scroll-snap-align: start; }
  .pm-playoff__center { flex-basis: 270px; }
}
@media (max-width: 640px) {
  .pm-playoff { width: min(100% - 24px, 1180px); margin-top: 28px; border-radius: 24px; }
  .pm-playoff__header { display: block; margin-bottom: 30px; }
  .pm-playoff__header p { margin-top: 12px; font-size: 13px; }
}
.premiera-modern-site.home #premiera-home-matches { padding: 65px 0 20px !important; }
.premiera-modern-site.home .old-teams-title-wrapper { margin-top: 45px !important; }
.premiera-modern-site.home .old-teams-title { display: inline-block; padding: 12px 18px; border-radius: 11px; color: #fff; background: var(--pms-navy); font-size: 15px; }

.pm-no-events-message { display: grid; place-items: center; min-height: 270px; margin-top: 8px; padding: 35px; border: 1px dashed #b9cbd0; border-radius: 20px; text-align: center; background: #fff; }
.pm-no-events-message i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; color: var(--pms-green-dark); background: #e2f7ec; font-size: 24px; font-style: normal; }
.pm-no-events-message strong, .pm-no-events-message span { display: block; }
.pm-no-events-message strong { color: var(--pms-navy); font-size: 18px; }
.pm-no-events-message span { max-width: 390px; margin-top: 7px; color: var(--pms-muted); font-size: 12px; line-height: 1.5; }

/* Match Center demo */
.pm-match-center { min-height: 70vh; padding-bottom: 80px; background: var(--pms-bg); }
.pm-mc-hero,
.pm-mc-public-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 15%, rgba(38,208,124,.28), transparent 28%), linear-gradient(120deg, #061d35, #0a4d62 62%, #075031); }
.pm-mc-hero::after,
.pm-mc-public-hero::after { content: ""; position: absolute; right: -90px; top: -120px; width: 300px; height: 300px; border: 42px solid rgba(255,255,255,.08); border-radius: 50%; }
.pm-mc-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 38px; align-items: center; min-height: 430px; padding: 58px 0; }
.pm-mc-hero h1,
.pm-mc-public-hero h1 { max-width: 700px; margin: 12px 0 14px; color: #fff; font-size: clamp(42px, 6vw, 78px); line-height: .94; letter-spacing: -.06em; }
.pm-mc-hero p { max-width: 610px; margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; }
.pm-mc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pm-mc-scoreboard { display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(14px); }
.pm-mc-team { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; min-height: 88px; padding: 15px; border-radius: 18px; background: rgba(255,255,255,.09); }
.pm-team-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.pm-team-badge img { max-width: 42px; max-height: 42px; object-fit: contain; }
.pm-team-badge--fallback { color: var(--pms-navy); font-size: 13px; font-weight: 900; }
.pm-mc-team span { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.pm-mc-team strong { color: var(--pms-green); font-size: 44px; line-height: 1; }
.pm-mc-body { margin-top: -32px; position: relative; z-index: 3; }
.pm-mc-notice { margin-bottom: 14px; padding: 15px 18px; border-radius: 14px; color: #06341f; background: #c8f6de; font-size: 13px; font-weight: 850; }
.pm-mc-form { display: grid; gap: 18px; }
.pm-mc-card { overflow: hidden; border: 1px solid var(--pms-line); border-radius: 24px; background: #fff; box-shadow: var(--pms-shadow); }
.pm-mc-card__head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 26px; border-bottom: 1px solid #edf1f2; background: linear-gradient(180deg, #fff, #f7fbfb); }
.pm-mc-card__head h2 { margin: 4px 0 0; color: var(--pms-navy); font-size: 25px; letter-spacing: -.04em; }
.pm-mc-card__head small { color: var(--pms-muted); font-size: 12px; line-height: 1.5; }
.pm-mc-add-event,
.pm-mc-savebar button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; color: var(--pms-navy); background: var(--pms-green); font-size: 12px; font-weight: 900; cursor: pointer; }
.pm-mc-lineups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 20px; }
.pm-mc-lineup { padding: 18px; border: 1px solid #e7eff1; border-radius: 20px; background: #fbfdfd; }
.pm-mc-lineup h3,
.pm-mc-public-lineups h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: var(--pms-navy); font-size: 16px; }
.pm-mc-lineup h3 .pm-team-badge,
.pm-mc-public-lineups h3 .pm-team-badge { width: 40px; height: 40px; border: 1px solid #e7eff1; box-shadow: none; }
.pm-mc-player-grid { display: grid; gap: 8px; }
.pm-mc-player-check { display: block; margin: 0; cursor: pointer; }
.pm-mc-player-check input { position: absolute; opacity: 0; pointer-events: none; }
.pm-mc-player-check span { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; border: 1px solid #e4edf0; border-radius: 16px; color: var(--pms-ink); background: #fff; transition: .18s ease; }
.pm-mc-player-check span::after { content: ""; margin-left: auto; width: 19px; height: 19px; border: 2px solid #c8d6da; border-radius: 7px; }
.pm-mc-player-check input:checked + span { border-color: rgba(38,208,124,.75); background: #ecfff5; box-shadow: 0 8px 18px rgba(38,208,124,.12); }
.pm-mc-player-check input:checked + span::after { border-color: var(--pms-green-dark); background: var(--pms-green); box-shadow: inset 0 0 0 4px #ecfff5; }
.pm-mc-player-check b { color: var(--pms-ink); font-size: 13px; line-height: 1.2; }
.pm-mc-player-check .pm-player-visual { width: 50px; height: 50px; min-width: 50px; }
.pm-mc-player-check .pm-player-visual img { width: 50px; height: 50px; object-fit: cover; }
.pm-mc-events { display: grid; gap: 10px; padding: 20px; }
.pm-mc-event-row { position: relative; display: grid; grid-template-columns: 130px 120px 160px minmax(170px, 1fr) minmax(170px, 1fr) minmax(150px, 1fr) 34px; gap: 10px; align-items: end; padding: 14px; border: 1px solid #e4edf0; border-radius: 18px; background: #fbfdfd; }
.pm-mc-event-row label { display: grid; gap: 6px; margin: 0; }
.pm-mc-event-row label span { color: var(--pms-muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pm-mc-event-row input,
.pm-mc-event-row select { width: 100%; min-height: 42px; border: 1px solid #d9e5e8; border-radius: 11px; color: var(--pms-ink); background: #fff; font-size: 12px; font-weight: 750; }
.pm-mc-remove-event { width: 34px; height: 34px; border: 0; border-radius: 11px; color: #8b2635; background: #ffe9ed; font-size: 20px; line-height: 1; cursor: pointer; }
.pm-mc-savebar { position: sticky; bottom: 12px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(6,29,53,.94); box-shadow: 0 18px 50px rgba(6,29,53,.25); backdrop-filter: blur(14px); }
.pm-mc-savebar strong,
.pm-mc-savebar span { display: block; }
.pm-mc-savebar strong { color: #fff; font-size: 13px; }
.pm-mc-savebar span { margin-top: 3px; color: rgba(255,255,255,.56); font-size: 11px; }
.pm-mc-savebar button { min-height: 48px; }
.pm-mc-public-hero { padding: 56px 0 64px; text-align: center; }
.pm-mc-public-hero .pm-back { display: inline-flex; margin-bottom: 24px; color: rgba(255,255,255,.75); }
.pm-mc-public-hero h1 { margin-inline: auto; }
.pm-mc-public-hero h1 em { color: var(--pms-green); font-style: normal; }
.pm-mc-public-score { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 30px auto 0; }
.pm-mc-public-score > div { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; text-align: left; background: rgba(255,255,255,.09); }
.pm-mc-public-score strong { color: #fff; font-size: 14px; }
.pm-mc-public-score span:last-child { color: var(--pms-green); font-size: 48px; font-weight: 950; line-height: 1; }
.pm-mc-report-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 18px; margin-top: -28px; position: relative; z-index: 3; }
.pm-mc-timeline { display: grid; gap: 10px; padding: 20px; }
.pm-mc-timeline-item { display: grid; grid-template-columns: 66px 42px 1fr; gap: 12px; align-items: center; padding: 14px; border: 1px solid #e4edf0; border-radius: 16px; background: #fff; }
.pm-mc-timeline-item time { color: var(--pms-navy); font-size: 15px; font-weight: 950; }
.pm-mc-timeline-item i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #edf3f3; font-style: normal; }
.pm-mc-timeline-item.is-goal i { background: #dff9eb; }
.pm-mc-timeline-item.is-yellow i { background: #fff3b8; }
.pm-mc-timeline-item.is-red i { background: #ffe1e7; }
.pm-mc-timeline-item strong,
.pm-mc-timeline-item span,
.pm-mc-timeline-item small { display: block; }
.pm-mc-timeline-item strong { color: var(--pms-navy); font-size: 14px; }
.pm-mc-timeline-item span,
.pm-mc-timeline-item small { margin-top: 3px; color: var(--pms-muted); font-size: 12px; }
.pm-mc-public-lineups { display: grid; gap: 18px; padding: 20px; }
.pm-mc-public-lineups a { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 9px 10px; border-bottom: 1px solid #edf1f2; color: var(--pms-ink); font-size: 13px; font-weight: 800; }
.pm-mc-public-lineups .pm-player-visual { width: 48px; height: 48px; min-width: 48px; }
.pm-mc-public-lineups .pm-player-visual img { width: 48px; height: 48px; object-fit: cover; }

/* Footer */
.premiera-modern-site .site-footer { margin-top: 0; }
.premiera-modern-site .site-footer .ast-builder-grid-row-container-inner { background: linear-gradient(115deg, #061d35, #064329) !important; }

/* PREMIERA GALAXY — reversible visual layer for header, hero and footer. */
.premiera-modern-site #masthead {
  isolation: isolate;
  overflow: hidden;
  background: #020b18;
  box-shadow: 0 14px 48px rgba(0, 8, 24, .34);
}
.premiera-modern-site #masthead::before,
.premiera-modern-site .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .54;
  background-image:
    radial-gradient(circle at 8% 24%, rgba(255,255,255,.88) 0 1px, transparent 1.6px),
    radial-gradient(circle at 23% 72%, rgba(56,238,198,.85) 0 1px, transparent 1.7px),
    radial-gradient(circle at 43% 18%, rgba(255,255,255,.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 67% 64%, rgba(84,205,255,.76) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 86% 22%, rgba(255,255,255,.78) 0 1px, transparent 1.6px),
    radial-gradient(circle at 95% 78%, rgba(54,226,153,.72) 0 1px, transparent 1.7px);
  background-size: 240px 130px, 310px 170px, 390px 210px, 280px 180px, 350px 190px, 430px 230px;
  animation: pm-galaxy-drift 40s linear infinite;
}
.premiera-modern-site #masthead::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -9%;
  bottom: -138px;
  width: 420px;
  height: 190px;
  pointer-events: none;
  border: 1px solid rgba(48,245,190,.38);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(0,232,196,.22), inset 0 0 50px rgba(0,219,255,.08);
  transform: rotate(-8deg);
}
.premiera-modern-site .ast-primary-header-bar {
  position: relative;
  z-index: 1;
  border: 0 !important;
  border-bottom: 1px solid rgba(57,244,188,.54) !important;
  background:
    radial-gradient(circle at 16% 10%, rgba(19,118,180,.33), transparent 30%),
    radial-gradient(circle at 82% 110%, rgba(20,157,91,.34), transparent 34%),
    linear-gradient(112deg, rgba(2,14,31,.97), rgba(4,39,59,.96) 56%, rgba(3,48,38,.97)) !important;
}
.premiera-modern-site .ast-primary-header-bar::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #25f5b0 30%, #39d9ff 68%, transparent);
  box-shadow: 0 0 16px rgba(43,243,188,.75);
}
.premiera-modern-site .ast-primary-header-bar .ast-builder-grid-row { position: relative; z-index: 4; min-height: 116px !important; }
.premiera-modern-site .site-branding { position: relative; isolation: isolate; }
.premiera-modern-site .site-branding::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 204px;
  height: 76px;
  border: 1px solid rgba(64,236,215,.22);
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(0,226,197,.14), inset 0 0 28px rgba(39,174,255,.08);
  transform: translate(-50%, -50%) rotate(-7deg);
}
.premiera-modern-site .site-branding img,
.premiera-modern-site .custom-logo { filter: drop-shadow(0 8px 16px rgba(0,0,0,.38)) drop-shadow(0 0 10px rgba(57,233,207,.12)); }
.premiera-modern-site .main-header-menu { gap: 5px; }
.premiera-modern-site .main-header-menu > .menu-item > .menu-link {
  position: relative;
  overflow: hidden;
  min-width: 72px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(229,249,255,.78) !important;
  font-size: 11px !important;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.premiera-modern-site .main-header-menu > .menu-item:hover > .menu-link,
.premiera-modern-site .main-header-menu > .current-menu-item > .menu-link,
.premiera-modern-site .main-header-menu > .current_page_item > .menu-link {
  color: #031523 !important;
  border-color: rgba(143,255,226,.68);
  background: linear-gradient(115deg, #29f0a3, #4ae6db) !important;
  box-shadow: 0 0 22px rgba(42,238,178,.24), inset 0 1px rgba(255,255,255,.5);
  transform: translateY(-1px);
}
.premiera-modern-site .main-header-menu > .menu-item > .menu-link::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 4px;
  height: 1px;
  opacity: 0;
  background: currentColor;
  transition: opacity .2s ease;
}
.premiera-modern-site .main-header-menu > .menu-item:hover > .menu-link::after { opacity: .32; }
.premiera-modern-site .ast-button-wrap .menu-toggle {
  border: 1px solid rgba(53,240,183,.42) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: 0 0 20px rgba(31,224,174,.09);
}

/* Keep Astra's dropdown usable above the cosmic header on phones/tablets. */
@media (max-width: 921.99px) {
  .premiera-modern-site.ast-main-header-nav-open #masthead { overflow: visible; }
  .premiera-modern-site.ast-main-header-nav-open #masthead::after { display: none; }
  .premiera-modern-site .ast-primary-header-bar::after { pointer-events: none; }
  .premiera-modern-site [data-section="section-header-mobile-trigger"] .menu-toggle {
    position: relative;
    z-index: 110;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
  }
  .premiera-modern-site .ast-mobile-header-wrap,
  .premiera-modern-site .ast-mobile-header-content { position: relative; z-index: 100; }
  .premiera-modern-site .ast-mobile-header-content {
    width: 100%;
    padding: 0 12px 12px;
    background: transparent !important;
  }
  .premiera-modern-site .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    justify-content: flex-start;
    width: 100%;
    padding: 0 18px !important;
    text-align: left;
  }
}

.premiera-modern-site .pm-home-hero {
  background:
    radial-gradient(circle at 74% 22%, rgba(25,99,185,.30), transparent 28%),
    radial-gradient(circle at 94% 88%, rgba(15,171,101,.30), transparent 30%),
    linear-gradient(122deg, #020b1b 0%, #062d4d 56%, #064538 112%);
}
.premiera-modern-site .pm-home-hero__grid {
  opacity: .34;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.78) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(53,240,194,.7) 0 1px, transparent 1.5px),
    linear-gradient(rgba(92,210,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,210,255,.16) 1px, transparent 1px);
  background-position: 11px 17px, 72px 51px, center, center;
  background-size: 145px 97px, 211px 137px, 64px 64px, 64px 64px;
  -webkit-mask-image: linear-gradient(to right, #000, rgba(0,0,0,.54) 68%, transparent);
  mask-image: linear-gradient(to right, #000, rgba(0,0,0,.54) 68%, transparent);
}
.premiera-modern-site .pm-home-hero::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 10%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(72,230,221,.27);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(24,125,213,.12), inset 0 0 80px rgba(35,238,175,.08);
}
.premiera-modern-site .pm-home-board {
  border-color: rgba(84,232,222,.25);
  background: linear-gradient(145deg, rgba(17,60,88,.72), rgba(7,46,54,.58));
  box-shadow: 0 28px 80px rgba(0,5,17,.42), inset 0 1px rgba(255,255,255,.09), 0 0 40px rgba(34,208,180,.07);
}
.premiera-modern-site .pm-site-button--green,
.premiera-modern-site .pm-home-board__teams {
  background: linear-gradient(115deg, #24e895, #3be3c7);
  box-shadow: 0 10px 30px rgba(31,224,160,.16);
}
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-header {
  border: 1px solid rgba(78,226,218,.20);
  background:
    radial-gradient(circle at 86% 12%, rgba(43,211,193,.22), transparent 26%),
    radial-gradient(circle at 10% 110%, rgba(37,109,210,.24), transparent 30%),
    linear-gradient(120deg, #03142c, #073c53 68%, #07513b 132%);
  box-shadow: 0 22px 60px rgba(2,20,44,.16), inset 0 1px rgba(255,255,255,.06);
}

.premiera-modern-site .site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 132px;
  border-top: 1px solid rgba(43,239,181,.48);
  background:
    radial-gradient(circle at 18% 140%, rgba(23,104,189,.28), transparent 34%),
    radial-gradient(circle at 88% 120%, rgba(20,168,96,.30), transparent 33%),
    linear-gradient(112deg, #020a18, #05263b 58%, #04382e) !important;
  box-shadow: 0 -18px 50px rgba(3,22,44,.12);
}
.premiera-modern-site .site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -170px;
  width: 560px;
  height: 230px;
  border: 1px solid rgba(47,235,196,.25);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(18,173,150,.16);
  transform: translateX(-50%);
}
.premiera-modern-site .site-footer .ast-builder-grid-row-container-inner { position: relative; z-index: 2; background: transparent !important; }
.premiera-modern-site .site-footer .ast-builder-grid-row { min-height: 132px; }
.premiera-modern-site .site-footer a {
  color: rgba(234,253,255,.82) !important;
  font-weight: 800;
  letter-spacing: .04em;
}
.premiera-modern-site .site-footer a:hover { color: #3df0b4 !important; text-shadow: 0 0 14px rgba(48,239,183,.4); }
.premiera-modern-site .site-footer .ast-builder-social-element {
  display: inline-grid !important;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(85,231,211,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

/* Matte arena canvas: dark pitch lines plus a restrained Premiera watermark. */
.premiera-modern-site .site-content,
.premiera-modern-site.home .site-content,
.premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page) .site-content {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(20,101,157,.16), transparent 27%),
    radial-gradient(circle at 88% 72%, rgba(15,130,84,.15), transparent 28%),
    linear-gradient(135deg, #08131f 0%, #0b1b29 52%, #0a201d 112%) !important;
}
.premiera-modern-site .site-content::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url('/wp-content/uploads/2026/03/cropped-premiera-logo-tv-copy.png');
  background-repeat: repeat-y;
  background-position: center 310px;
  background-size: min(610px, 58vw) auto;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: screen;
}
.premiera-modern-site .site-content::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 245px;
  width: min(1040px, 86vw);
  height: 620px;
  pointer-events: none;
  border: 1px solid rgba(102,226,213,.12);
  border-radius: 28px;
  opacity: .46;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(102,226,213,.14) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle at center, transparent 0 92px, rgba(102,226,213,.13) 93px, transparent 94px),
    linear-gradient(rgba(102,226,213,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,226,213,.045) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
  transform: translateX(-50%);
}
.premiera-modern-site .site-content > * { position: relative; z-index: 1; }
.premiera-modern-site .pm-stats,
.premiera-modern-site .pm-profile,
.premiera-modern-site .pm-match-center { background: transparent; }
.premiera-modern-site .pm-stats__body,
.premiera-modern-site .pm-profile__body { background: transparent; }
.premiera-modern-site .pm-section__head h2,
.premiera-modern-site .pm-index-note h2,
.premiera-modern-site .pm-text-link { color: #eaf7f6; }
.premiera-modern-site .pm-section__head p { color: rgba(222,241,241,.62); }

.premiera-modern-site .month-tabs,
.premiera-modern-site .group-tabs,
.premiera-modern-site .schedule-tabs,
.premiera-modern-site .premiera-tabs {
  border-color: rgba(87,225,207,.18) !important;
  background: rgba(8,27,40,.78) !important;
  box-shadow: 0 18px 45px rgba(0,7,18,.20), inset 0 1px rgba(255,255,255,.045) !important;
  backdrop-filter: blur(14px);
}
.premiera-modern-site .month-tab,
.premiera-modern-site .group-tab,
.premiera-modern-site .schedule-tab,
.premiera-modern-site .premiera-tab-btn { color: rgba(225,243,244,.62) !important; }
.premiera-modern-site .month-tab.active,
.premiera-modern-site .group-tab.active,
.premiera-modern-site .schedule-tab.active,
.premiera-modern-site .premiera-tab-btn.active {
  color: #041a26 !important;
  background: linear-gradient(115deg, #28e99a, #43dfce) !important;
  box-shadow: 0 8px 25px rgba(31,223,169,.18) !important;
}
.premiera-modern-site.home .old-teams-title {
  border: 1px solid rgba(81,228,207,.22);
  background: rgba(7,27,43,.88);
  box-shadow: 0 14px 36px rgba(0,6,18,.22), inset 0 1px rgba(255,255,255,.05);
}
.premiera-modern-site .sp-template-event-venue .sp-table-caption,
.premiera-modern-site .sp-event-venue-address-row td,
.premiera-modern-site .entry-content > .wp-block-heading { color: #dceced !important; }
.premiera-modern-site .sp-event-venue-address-row td { background: rgba(9,29,42,.84) !important; }

/* Player portraits in match reports. */
.premiera-modern-site .sp-template-event-performance td.data-name > a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
}
.premiera-modern-site .pm-event-player-photo {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(80,229,191,.3);
  border-radius: 50%;
  color: #063027;
  background: linear-gradient(145deg, #91f1d1, #42d5ac);
  box-shadow: 0 5px 15px rgba(0,10,20,.2);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.premiera-modern-site .pm-event-player-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Contrast pass: legacy white surfaces now use slate/glass tones. */
.premiera-modern-site table.sp-league-table {
  color: #e6f1f2 !important;
  background: #102431 !important;
}
.premiera-modern-site table.sp-league-table thead th {
  border-bottom-color: rgba(111,216,204,.16) !important;
  color: #9db2ba !important;
  background: #172f3b !important;
}
.premiera-modern-site table.sp-league-table tbody tr,
.premiera-modern-site table.sp-league-table tbody tr:nth-child(even) { background: #102431 !important; }
.premiera-modern-site table.sp-league-table tbody tr:nth-child(odd) { background: #132936 !important; }
.premiera-modern-site table.sp-league-table tbody tr:hover { background: #173a3c !important; }
.premiera-modern-site table.sp-league-table tbody td {
  border-bottom-color: rgba(132,205,200,.12) !important;
  color: #e7f2f3 !important;
}
.premiera-modern-site table.sp-league-table .data-name a { color: #f0f8f8 !important; }
.premiera-modern-site table.sp-league-table .data-rank,
.premiera-modern-site table.sp-league-table .data-pts { color: #39e6a3 !important; }
.premiera-modern-site .sp-table-wrapper {
  border: 1px solid rgba(91,218,204,.14);
  box-shadow: 0 20px 50px rgba(0,7,18,.25);
}

.premiera-modern-site .pm-filters,
.premiera-modern-site .pm-leader:not(.pm-leader--primary),
.premiera-modern-site .pm-ranking,
.premiera-modern-site .pm-tab,
.premiera-modern-site .pm-empty,
.premiera-modern-site .pm-profile-stats,
.premiera-modern-site .pm-card,
.premiera-modern-site .nagrada-kartica,
.premiera-modern-site.page-id-40 .entry-content > .wp-block-group,
.premiera-modern-site .pm-no-events-message {
  border-color: #aebfc3 !important;
  background: #d6e0e1 !important;
  box-shadow: 0 14px 40px rgba(0,8,20,.18) !important;
}
.premiera-modern-site .pm-filters select {
  border-color: #a7b9bd;
  background-color: #c8d5d7;
}
.premiera-modern-site .pm-ranking__row,
.premiera-modern-site .pm-match-row { border-color: #b8c7ca; }
.premiera-modern-site .pm-ranking__row:hover { background: #cbd9d9; }
.premiera-modern-site .pm-leader:not(.pm-leader--primary) .pm-player-visual { background: #c4d2d4; }
.premiera-modern-site.page-id-40 .wp-block-media-text__media { background: #c5d3d4; }

.premiera-modern-site.home .entry-content > .wp-block-group {
  width: min(1080px, calc(100% - 40px));
  margin: 64px auto !important;
  padding: clamp(24px, 4vw, 42px) !important;
  border: 1px solid rgba(100,220,207,.18);
  border-radius: 26px;
  background: rgba(11,34,47,.82);
  box-shadow: 0 22px 60px rgba(0,7,18,.24), inset 0 1px rgba(255,255,255,.045);
  backdrop-filter: blur(12px);
}
.premiera-modern-site.home .entry-content > .wp-block-group .wp-block-media-text__content p {
  color: #d7e5e6 !important;
  font-size: 15px;
  line-height: 1.75;
  text-shadow: 0 1px 1px rgba(0,0,0,.22);
}
.premiera-modern-site.home .entry-content > .wp-block-group .wp-block-media-text__media img {
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.28));
}

@media (max-width: 720px) {
	.premiera-modern-site .pm-event-player-photo { flex-basis: 34px; width: 34px; height: 34px; }
  .premiera-modern-site .site-content::before { background-position: center 220px; background-size: 86vw auto; opacity: .04; }
  .premiera-modern-site .site-content::after { top: 190px; width: 92vw; height: 520px; border-radius: 20px; opacity: .32; }
  .premiera-modern-site.home .entry-content > .wp-block-group { width: calc(100% - 24px); margin: 36px auto !important; padding: 22px !important; }
  .premiera-modern-site.home .entry-content > .wp-block-group .wp-block-media-text { display: block; }
  .premiera-modern-site.home .entry-content > .wp-block-group .wp-block-media-text__media { max-width: 180px; margin: 0 auto 20px; }
}

@keyframes pm-galaxy-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 240px 130px, -310px 170px, 390px -210px, -280px -180px, 350px 190px, -430px 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .premiera-modern-site #masthead::before,
  .premiera-modern-site .site-footer::before { animation: none; }
}

@media (max-width: 980px) {
  .premiera-modern-site .main-header-menu > .menu-item > .menu-link { padding: 0 9px !important; font-size: 11px !important; }
  .premiera-modern-site .teams-section { grid-template-columns: 1fr 1fr !important; }
  .premiera-modern-site .nagrade-list { grid-template-columns: 1fr !important; }
  .pm-home-hero__inner { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 720px) {
  .pm-home-calendar { width: calc(100% - 24px); margin-top: 38px; }
  .pm-home-calendar__head { display: block; }
  .pm-home-calendar__head h2 { font-size: 38px; }
  .pm-home-calendar__head > a { display: inline-block; margin-top: 17px; }
  .pm-home-calendar__board { display: block; min-height: 0; border-radius: 21px; }
  .pm-calendar-picker { padding: 17px 14px 20px; border-right: 0; border-bottom: 1px solid rgba(97,213,204,.13); }
  .pm-calendar-month-nav { margin-bottom: 16px; }
  .pm-calendar-weekdays, .pm-calendar-month { gap: 5px; }
  .pm-calendar-date { border-radius: 10px; }
  .pm-calendar-legend { margin-top: 14px; }
  .pm-calendar-days { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 12px; border-right: 0; border-bottom: 1px solid rgba(97,213,204,.13); scroll-snap-type: x mandatory; }
  .pm-calendar-day { flex: 0 0 94px; min-height: 72px; scroll-snap-align: start; }
  .pm-calendar-panels { padding: 15px; }
  .pm-calendar-match { grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr); gap: 7px; min-height: 106px; padding: 13px 10px; }
  .pm-calendar-team { display: grid; justify-items: center; gap: 7px; text-align: center; }
  .pm-calendar-team--away { justify-content: initial; text-align: center; }
  .pm-calendar-team--away span { order: 2; }
  .pm-calendar-team .pm-team-badge { width: 43px; height: 43px; }
  .pm-calendar-team span { max-width: 100%; font-size: 10px; }
  .pm-calendar-match__center strong { font-size: 23px; }
  .pm-calendar-match__center small { font-size: 7px; }
  .pm-calendar-match__center em { padding: 4px 6px; font-size: 7px; }
  .pm-event-video { width: calc(100% - 24px); margin-top: 28px; padding: 16px; border-radius: 18px; }
  .pm-event-video__head { display: block; }
  .pm-event-video__head a { display: inline-block; margin-top: 10px; }
  .pm-event-video__play { width: 62px; height: 62px; }
  .pm-event-video__poster strong { top: calc(50% + 48px); }
  .pm-site-shell { width: min(100% - 24px, 1180px); }
  .premiera-modern-site .ast-primary-header-bar .ast-builder-grid-row { min-height: 92px !important; }
  .premiera-modern-site .site-branding img, .premiera-modern-site .custom-logo { max-width: 170px !important; max-height: 84px !important; }
  .premiera-modern-site .site-branding::before { width: 172px; height: 62px; }
  .premiera-modern-site .ast-mobile-header-wrap .ast-primary-header-bar { padding: 0 12px; }
  .premiera-modern-site .main-header-menu { padding: 10px !important; border: 1px solid rgba(53,235,187,.20); border-radius: 18px; background: linear-gradient(145deg, rgba(3,20,42,.98), rgba(5,54,48,.98)) !important; box-shadow: 0 22px 50px rgba(0,8,23,.34); }
  .premiera-modern-site .main-header-menu > .menu-item > .menu-link { height: 44px !important; min-width: 0; padding: 0 14px !important; border-radius: 11px; }
  .premiera-modern-site .pm-home-hero::before { right: -120px; top: 45px; width: 280px; height: 280px; }
  .premiera-modern-site .site-footer, .premiera-modern-site .site-footer .ast-builder-grid-row { min-height: 112px; }
  .premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .site-content > .ast-container { width: min(100% - 24px, 1180px); }
  .premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-header { margin: 22px 0 25px !important; padding: 34px 26px !important; border-radius: 18px; }
  .premiera-modern-site:not(.premiera-stats-page):not(.premiera-player-page):not(.home) .entry-title { font-size: 39px !important; }
  .premiera-modern-site .month-tabs, .premiera-modern-site .group-tabs, .premiera-modern-site .schedule-tabs, .premiera-modern-site .premiera-tabs { flex-wrap: nowrap; justify-content: flex-start !important; overflow-x: auto; }
  .premiera-modern-site .month-tab, .premiera-modern-site .group-tab, .premiera-modern-site .schedule-tab, .premiera-modern-site .premiera-tab-btn { flex: 0 0 auto; padding: 0 16px !important; }
  .premiera-modern-site .schedule-group table.sp-event-blocks tbody { grid-template-columns: 1fr; }
  .premiera-modern-site .schedule-group table.sp-event-blocks tr.sp-post > td { padding-inline: 78px !important; }
  .premiera-modern-site .schedule-group .team-logo img { width: 48px !important; height: 48px !important; }
  .premiera-modern-site .schedule-group .team-logo.logo-odd { left: 15px !important; }
  .premiera-modern-site .schedule-group .team-logo.logo-even { right: 15px !important; }
  .premiera-modern-site .teams-section { grid-template-columns: 1fr !important; gap: 15px !important; }
  .premiera-modern-site .team-card { height: 320px !important; }
  .premiera-modern-site .nagrada-kartica { grid-template-columns: 100px 1fr; gap: 15px; min-height: 175px; }
  .premiera-modern-site .nagrada-slika:first-child img { width: 100px !important; height: 140px !important; }
  .premiera-modern-site .nagrada-tekst h3 { font-size: 14px !important; }
  .premiera-modern-site.page-id-40 .wp-block-media-text { display: block; }
  .premiera-modern-site.page-id-40 .wp-block-media-text__media { min-height: 150px; }
  .pm-home-hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 65px 0; }
  .pm-home-hero h1 { font-size: 51px; }
  .pm-home-board { margin-top: 15px; }
  .pm-home-numbers { gap: 18px; }
  .pm-home-numbers span { display: grid; }
  .premiera-modern-site.home #premiera-home-matches, .premiera-modern-site.home .old-teams-title-wrapper, .premiera-modern-site.home .sp-template-event-blocks, .premiera-modern-site.home .bracket-wrap { width: min(100% - 24px, 1180px) !important; }
  .pm-mc-hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 44px 0 62px; }
  .pm-mc-hero h1, .pm-mc-public-hero h1 { font-size: 44px; }
  .pm-mc-scoreboard { padding: 12px; }
  .pm-mc-team { grid-template-columns: 48px 1fr auto; min-height: 72px; padding: 12px; }
  .pm-team-badge { width: 46px; height: 46px; }
  .pm-mc-team strong { font-size: 34px; }
  .pm-mc-body { margin-top: -42px; }
  .pm-mc-card { border-radius: 18px; }
  .pm-mc-card__head { display: grid; padding: 19px; }
  .pm-mc-lineups, .pm-mc-public-score, .pm-mc-report-grid { grid-template-columns: 1fr; }
  .pm-mc-lineups, .pm-mc-events, .pm-mc-timeline, .pm-mc-public-lineups { padding: 12px; }
  .pm-mc-lineup { padding: 13px; }
  .pm-mc-event-row { grid-template-columns: 1fr 1fr; padding: 12px; }
  .pm-mc-event-row label:nth-child(4),
  .pm-mc-event-row label:nth-child(5),
  .pm-mc-event-row label:nth-child(6) { grid-column: 1 / -1; }
  .pm-mc-remove-event { position: absolute; right: 10px; top: 10px; }
  .pm-mc-savebar { align-items: stretch; display: grid; bottom: 8px; }
  .pm-mc-savebar button { width: 100%; }
  .pm-mc-public-hero { padding: 38px 0 58px; }
  .pm-mc-public-score > div { grid-template-columns: 52px 1fr auto; padding: 13px; }
  .pm-mc-public-score span:last-child { font-size: 38px; }
  .pm-mc-report-grid { margin-top: -34px; }
  .pm-mc-timeline-item { grid-template-columns: 50px 38px 1fr; padding: 12px; }
}
/* The logo already contains the Premiera wordmark; keep the title available to readers without repeating it visually. */
.ast-site-title-wrap .site-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
