/* MNK Solin 1980 — public UI visual corrections 0.1.0.
 * Scoped ONLY to Partnerstvo process and Match Center Statistics.
 * No data/theme/main-header rewrites. */

/* Partnerstvo. The process section may inherit a legacy half-width/max-width
 * from the active public-web version; expand the identified wrapper to its grid
 * area without relying on guessed page markup. JS marks exactly four steps. */
.mnk-partnerstvo .mnk-ui-partner-process,
.mnk-partnerstvo .mnk-ui-process-widen {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  grid-column: 1 / -1 !important;
}
.mnk-partnerstvo .mnk-ui-partner-process {
  margin-inline: 0;
  overflow: visible;
}
.mnk-partnerstvo .mnk-ui-process-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: clamp(.75rem, 1.5vw, 1.15rem) !important;
  width: 100% !important;
  max-width: none !important;
  align-items: stretch;
}
.mnk-partnerstvo .mnk-ui-process-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 12rem;
  padding: clamp(1rem, 1.4vw, 1.45rem) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: .55rem;
  border-radius: 1rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}
.mnk-partnerstvo .mnk-ui-process-card > :is(h3,h4,strong),
.mnk-partnerstvo .mnk-ui-process-card :is(h3,h4) {
  min-width: 0;
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: normal;
}
.mnk-partnerstvo .mnk-ui-process-card :is(p,span) {
  max-width: 100%;
}
.mnk-partnerstvo .mnk-ui-step-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: .6rem !important;
  min-width: 0;
}
.mnk-partnerstvo .mnk-ui-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: .15rem;
}
@media (max-width: 64rem) {
  .mnk-partnerstvo .mnk-ui-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 39.99rem) {
  .mnk-partnerstvo .mnk-ui-process-grid { grid-template-columns: minmax(0,1fr) !important; }
  .mnk-partnerstvo .mnk-ui-process-card { min-height: 0; }
}

/* Sports statistics. Use three readable information cards on desktop rather
 * than five impossibly narrow flex rows; labels always lead their values. */
.mnk-mc-statistics .mnk-mc-insight-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.75rem, 1.35vw, 1rem);
}
.mnk-mc-statistics .mnk-mc-insight {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  min-height: 7.5rem;
  gap: .75rem;
  padding: clamp(1rem, 1.5vw, 1.3rem);
  overflow-wrap: normal;
}
.mnk-mc-statistics .mnk-mc-insight > span,
.mnk-mc-statistics .mnk-mc-insight > small {
  display: block;
  line-height: 1.35;
}
.mnk-mc-statistics .mnk-mc-insight > strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 800;
}
.mnk-mc-statistics .mnk-mc-form {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: 100%;
  align-items: center;
}
.mnk-mc-statistics .mnk-mc-form span {
  box-sizing: border-box;
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  border-radius: 999px;
  text-align: center;
  line-height: 1;
}
.mnk-mc-statistics .mnk-mc-stat-card { min-width: 0; }
.mnk-mc-statistics .mnk-mc-stat-card > strong { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mnk-mc-statistics .mnk-mc-highlight { min-width: 0; }
.mnk-mc-statistics .mnk-mc-highlight strong { overflow-wrap: break-word; }
.mnk-mc-statistics .mnk-mc-highlight-grid.mnk-ui-single-highlight { grid-template-columns: minmax(0,1fr); }
.mnk-mc-statistics .mnk-mc-filters > button[type="submit"] {
  box-sizing: border-box;
  width: auto;
  min-width: 9rem;
  max-width: 11rem;
  justify-self: start;
  white-space: normal;
}
.mnk-mc-statistics .mnk-ui-stat-scope {
  margin: .65rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
  color: #43516a;
}
@media (max-width: 65rem) {
  .mnk-mc-statistics .mnk-mc-insight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 43rem) {
  .mnk-mc-statistics .mnk-mc-insight-grid { grid-template-columns: minmax(0,1fr); }
  .mnk-mc-statistics .mnk-mc-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 27rem) {
  .mnk-mc-statistics .mnk-mc-stat-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .mnk-partnerstvo .mnk-ui-process-card,
  .mnk-mc-statistics .mnk-mc-insight { scroll-behavior: auto; }
}
