/* Compact, image-led STL professional soccer hub. */
body.mf-core-pro-page .mf-core-container {
  width: min(1380px, calc(100% - clamp(1rem, 3vw, 2.5rem)));
}

body.mf-core-pro-page .mf-pro-hero {
  background:
    linear-gradient(100deg, rgba(2, 10, 7, .98) 0 33%, rgba(2, 10, 7, .72) 68%, rgba(2, 10, 7, .88) 100%),
    var(--mf-core-hero-image) center 46% / cover no-repeat;
}

body.mf-core-pro-page .mf-pro-hero .mf-core-hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, .74fr);
  min-height: 318px;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-block: clamp(1.4rem, 3vw, 2.4rem);
}

body.mf-core-pro-page .mf-pro-hero .mf-core-title {
  max-width: 15ch;
  margin-block: .5rem .7rem;
  font-size: clamp(2.15rem, 4vw, 4rem);
}

body.mf-core-pro-page .mf-pro-hero .mf-core-lede { max-width: 58ch; }
body.mf-core-pro-page .mf-pro-hero .mf-core-actions { margin-top: 1rem; }

body.mf-core-pro-page .mf-pro-hero-card {
  display: grid;
  grid-template-columns: minmax(12rem, .9fr) minmax(12rem, 1fr);
  min-height: 190px;
}

body.mf-core-pro-page .mf-pro-hero-card img {
  height: 100%;
  min-height: 190px;
}

body.mf-core-pro-page .mf-pro-hero-card .mf-core-visual__body {
  align-content: center;
  padding: 1rem;
}

body.mf-core-pro-page .mf-core-nav__inner { padding-block: .35rem; }

body.mf-core-pro-page .mf-core-section {
  padding-block: clamp(1.65rem, 3vw, 2.6rem);
  scroll-margin-top: 7rem;
}

body.mf-core-pro-page .mf-core-section__head {
  margin-bottom: 1rem;
}

body.mf-core-pro-page .mf-core-section h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
}

body.mf-core-pro-page .mf-core-filter {
  margin-bottom: .85rem;
}

body.mf-core-pro-page #mf-pro-club-grid {
  gap: .75rem;
}

.mf-pro-club-card {
  position: relative;
  border-color: color-mix(in srgb, var(--mf-pro-accent) 45%, transparent);
  box-shadow: inset 0 3px 0 var(--mf-pro-accent), 0 .65rem 1.8rem rgba(0, 0, 0, .18);
  animation: mf-pro-rise .5s both;
}

.mf-pro-club-card:nth-child(2) { animation-delay: .05s; }
.mf-pro-club-card:nth-child(3) { animation-delay: .1s; }
.mf-pro-club-card:nth-child(4) { animation-delay: .15s; }
.mf-pro-club-card:nth-child(5) { animation-delay: .2s; }
.mf-pro-club-card:nth-child(6) { animation-delay: .25s; }

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  padding: 0;
  isolation: isolate;
}

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 7, .82), rgba(3, 10, 7, .28) 55%, rgba(3, 10, 7, .6)),
    linear-gradient(0deg, rgba(3, 10, 7, .78), transparent 58%);
}

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__media .mf-pro-card-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__media .mf-pro-card-logo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 35%;
  height: 72px;
  padding: .45rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: .8rem;
  object-fit: contain;
  background: rgba(2, 11, 8, .78);
  box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .42);
  transition: transform .25s ease, background .25s ease;
}

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__media .mf-pro-card-logo--wide {
  max-width: 48%;
}

body.mf-core-pro-page .mf-pro-club-card:hover .mf-pro-card-bg { transform: scale(1.045); }
body.mf-core-pro-page .mf-pro-club-card:hover .mf-pro-card-logo { transform: translateY(-3px) scale(1.04); background: rgba(2, 11, 8, .94); }

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__body {
  gap: .42rem;
  padding: .8rem;
}

body.mf-core-pro-page .mf-pro-club-card .mf-core-card__body h3 {
  font-size: 1.08rem;
}

.mf-pro-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin: 0;
}

.mf-pro-facts div {
  min-width: 0;
  padding: .5rem .55rem;
  border: 1px solid color-mix(in srgb, var(--mf-pro-accent) 28%, transparent);
  border-radius: .55rem;
  background: rgba(255, 255, 255, .035);
}

.mf-pro-facts dt {
  color: var(--mf-pro-accent);
  font: 800 .56rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mf-pro-facts dd {
  overflow-wrap: anywhere;
  margin: .22rem 0 0;
  color: #fffdf3;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.2;
}

.mf-pro-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.mf-pro-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #d8f56c;
  font: 800 .62rem "JetBrains Mono", monospace;
  text-decoration: none;
  text-transform: uppercase;
}

.mf-pro-text-link:hover { color: #fff; text-decoration: underline; }
.mf-pro-text-link:focus-visible { outline: 3px solid #6fe3ff; outline-offset: 3px; }

.mf-pro-job-grid { gap: .75rem; }

body.mf-core-pro-page .mf-pro-job-card {
  display: grid;
  grid-template-columns: minmax(7.5rem, .7fr) minmax(0, 1.3fr);
  min-height: 220px;
  padding: 0;
  transition: transform .22s ease, border-color .22s ease;
}

body.mf-core-pro-page .mf-pro-job-card:hover {
  border-color: rgba(200, 242, 48, .58);
  transform: translateY(-3px);
}

.mf-pro-job-card > img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.mf-pro-job-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: .9rem;
}

body.mf-core-pro-page .mf-pro-job-card h3 { margin: .3rem 0 .45rem; }

.mf-pro-job-card ul {
  display: grid;
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mf-pro-job-card li {
  position: relative;
  padding-left: .85rem;
  color: var(--mf-core-muted);
  font-size: .78rem;
  line-height: 1.35;
}

.mf-pro-job-card li::before {
  content: "";
  position: absolute;
  top: .42rem;
  left: 0;
  width: .36rem;
  height: .36rem;
  border-radius: 50%;
  background: var(--mf-core-lime);
}

.mf-pro-job-card .mf-core-actions { margin-top: auto; }

.mf-pro-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

body.mf-core-pro-page .mf-pro-source-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  padding: .7rem;
  border-color: color-mix(in srgb, var(--mf-pro-accent) 42%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mf-pro-accent) 12%, transparent), transparent 58%),
    rgba(5, 18, 12, .88);
  transition: transform .2s ease, border-color .2s ease;
}

body.mf-core-pro-page .mf-pro-source-card:hover {
  border-color: var(--mf-pro-accent);
  transform: translateY(-2px);
}

.mf-pro-source-card img {
  width: 48px;
  height: 48px;
  padding: .28rem;
  border-radius: .55rem;
  object-fit: contain;
  background: rgba(255, 255, 255, .94);
}

.mf-pro-source-card .mf-core-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 44px;
  padding-block: .55rem;
  border-color: color-mix(in srgb, var(--mf-pro-accent) 55%, transparent);
}

@keyframes mf-pro-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  body.mf-core-pro-page #mf-pro-club-grid,
  .mf-pro-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.mf-core-pro-page .mf-pro-hero .mf-core-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(19rem, .75fr); }
  body.mf-core-pro-page .mf-pro-hero-card { grid-template-columns: 1fr; }
  body.mf-core-pro-page .mf-pro-hero-card img { min-height: 150px; height: 150px; }
  body.mf-core-pro-page .mf-pro-job-card { grid-template-columns: 1fr; }
  .mf-pro-job-card > img { min-height: 120px; height: 120px; }
}

@media (max-width: 760px) {
  body.mf-core-pro-page .mf-pro-hero .mf-core-hero__grid { grid-template-columns: 1fr; padding-block: 1.25rem; }
  body.mf-core-pro-page .mf-pro-hero-card { grid-template-columns: minmax(8rem, .75fr) minmax(0, 1.25fr); min-height: 150px; }
  body.mf-core-pro-page .mf-pro-hero-card img { height: 100%; min-height: 150px; }
  body.mf-core-pro-page .mf-core-section { padding-block: 1.55rem; }
  body.mf-core-pro-page #mf-pro-club-grid,
  .mf-pro-source-grid { grid-template-columns: 1fr; }
  body.mf-core-pro-page #how-to-use > .mf-compact-board__toggle { display: none !important; }
  body.mf-core-pro-page #how-to-use > .mf-compact-board__body { display: block !important; }
  body.mf-core-pro-page .mf-pro-job-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84%, 1fr);
    overflow-x: auto;
    padding: .1rem .1rem .75rem;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--mf-core-lime) rgba(255, 255, 255, .06);
  }
  body.mf-core-pro-page .mf-pro-job-card { grid-template-columns: 1fr; scroll-snap-align: start; }
  .mf-pro-job-card > img { min-height: 220px; height: 100%; }
}

@media (max-width: 520px) {
  body.mf-core-pro-page .mf-pro-hero-card { grid-template-columns: 1fr; }
  body.mf-core-pro-page .mf-pro-hero-card img { height: 155px; min-height: 155px; }
  .mf-pro-job-card > img { height: 130px; min-height: 130px; }
  .mf-pro-facts { grid-template-columns: 1fr; }
  .mf-pro-card-actions { align-items: stretch; flex-direction: column; }
  .mf-pro-card-actions .mf-core-card__link,
  .mf-pro-card-actions .mf-pro-text-link { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mf-pro-club-card { animation: none; }
}
