
    @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: #fff;
    }

    #grafik,
    #treningi,
    #wod,
    #endurance,
    #intro,
    #mobility,
    #hyrox,
    #basic-gymnastics {
      scroll-margin-top: 96px;
    }

    .cc-schedule,
    .cc-schedule *,
    .cc-classes,
    .cc-classes * {
      box-sizing: border-box;
    }

    /* =========================================================
       GRAFIK — CAŁY TYDZIEŃ
       ========================================================= */

    .cc-schedule {
      --cc-ink: #151515;
      --cc-muted: #686b72;
      --cc-line: #e3e3e7;
      --cc-soft: #f7f7f8;
      --cc-orange: #ff5a00;
      --cc-yellow: #fff200;

      width: 100vw;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
      padding: clamp(32px, 5vw, 72px) 0;
      overflow: hidden;
      color: var(--cc-ink);
      font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .cc-schedule-container {
      width: 100%;
      padding: 0 clamp(12px, 2vw, 28px);
    }

    .cc-schedule-header {
      max-width: 820px;
      margin-bottom: 28px;
    }

    .cc-schedule-eyebrow {
      display: block;
      margin-bottom: 9px;
      color: var(--cc-orange);
      font-size: 12px;
      line-height: 1;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .cc-schedule-title {
      margin: 0 0 12px;
      font-size: clamp(34px, 5vw, 52px);
      line-height: 1.04;
      letter-spacing: -.045em;
    }

    .cc-schedule-subtitle {
      margin: 0;
      color: var(--cc-muted);
      font-size: clamp(15px, 1.6vw, 18px);
      line-height: 1.6;
    }

    .cc-schedule-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      margin-top: 17px;
      color: var(--cc-muted);
      font-size: 13px;
    }

    .cc-schedule-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .cc-schedule-legend-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #bfc2c8;
    }

    .cc-schedule-legend-dot--crossfit {
      background: var(--cc-orange);
    }

    .cc-schedule-legend-dot--hyrox {
      border: 1px solid #d5ca00;
      background: var(--cc-yellow);
    }

    .cc-week-carousel {
      position: relative;
    }

    .cc-carousel-controls {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      margin-bottom: 12px;
    }

    /*
       !important blokuje globalne style przycisków
       narzucane przez motyw strony lub page builder.
    */
    .cc-carousel-button {
      appearance: none !important;
      -webkit-appearance: none !important;
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      padding: 0 !important;
      border: 1px solid var(--cc-line) !important;
      border-radius: 999px !important;
      background: #fff !important;
      background-color: #fff !important;
      background-image: none !important;
      color: var(--cc-ink) !important;
      box-shadow: none !important;
      font: inherit;
      font-size: 22px;
      line-height: 1;
      text-decoration: none !important;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition:
        border-color .18s ease,
        background-color .18s ease,
        opacity .18s ease,
        transform .18s ease;
    }

    .cc-carousel-button:hover:not(:disabled) {
      border-color: #b9bbc0 !important;
      background: var(--cc-soft) !important;
      background-color: var(--cc-soft) !important;
      background-image: none !important;
      color: var(--cc-ink) !important;
      box-shadow: none !important;
      transform: translateY(-1px);
    }

    .cc-carousel-button:active:not(:disabled) {
      border-color: #b9bbc0 !important;
      background: #ededee !important;
      background-color: #ededee !important;
      background-image: none !important;
      color: var(--cc-ink) !important;
      box-shadow: none !important;
      transform: translateY(0);
    }

    .cc-carousel-button:focus {
      border-color: var(--cc-line) !important;
      background: #fff !important;
      background-color: #fff !important;
      background-image: none !important;
      color: var(--cc-ink) !important;
      box-shadow: none !important;
      outline: none;
    }

    .cc-carousel-button:focus-visible {
      border-color: var(--cc-line) !important;
      background: #fff !important;
      background-color: #fff !important;
      background-image: none !important;
      color: var(--cc-ink) !important;
      box-shadow: none !important;
      outline: 3px solid rgba(255, 90, 0, .28) !important;
      outline-offset: 2px;
    }

    .cc-carousel-button:disabled,
    .cc-carousel-button:disabled:hover,
    .cc-carousel-button:disabled:focus,
    .cc-carousel-button:disabled:focus-visible,
    .cc-carousel-button:disabled:active {
      border-color: var(--cc-line) !important;
      background: #fff !important;
      background-color: #fff !important;
      background-image: none !important;
      color: var(--cc-ink) !important;
      box-shadow: none !important;
      outline: none !important;
      opacity: .32;
      cursor: default;
      transform: none;
    }

    .cc-week-grid {
      display: flex;
      align-items: stretch;
      gap: 14px;
      width: 100%;
      overflow-x: auto;
      overscroll-behavior-inline: contain;
      padding: 3px 3px 16px;
      scrollbar-width: thin;
      scroll-snap-type: x mandatory;
      scroll-padding-inline: 3px;
      -webkit-overflow-scrolling: touch;
    }

    .cc-week-day {
      flex: 0 0 min(420px, calc((100vw - 88px) / 3));
      min-width: 320px;
      height: 100%;
      overflow: hidden;
      border: 1px solid var(--cc-line);
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 12px 32px rgba(0, 0, 0, .045);
      scroll-snap-align: start;
    }

    .cc-week-day.is-today {
      border-color: var(--cc-ink);
      box-shadow:
        0 0 0 2px var(--cc-ink),
        0 16px 38px rgba(0, 0, 0, .08);
    }

    .cc-week-day-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-height: 71px;
      padding: 16px 18px;
      border-bottom: 1px solid var(--cc-line);
      background: var(--cc-soft);
    }

    .cc-week-day-title-wrap {
      min-width: 0;
    }

    .cc-week-day-title {
      margin: 0;
      font-size: 20px;
      line-height: 1.15;
      letter-spacing: -.025em;
    }

    .cc-week-day-count {
      display: block;
      margin-top: 4px;
      color: var(--cc-muted);
      font-size: 12px;
      line-height: 1.2;
    }

    .cc-today-badge {
      display: none;
      flex: 0 0 auto;
      padding: 6px 9px;
      border-radius: 999px;
      background: var(--cc-ink);
      color: #fff;
      font-size: 10px;
      line-height: 1;
      font-weight: 700;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .cc-week-day.is-today .cc-today-badge {
      display: inline-flex;
    }

    .cc-session-list {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .cc-session-row {
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr);
      gap: 13px;
      min-height: 82px;
      padding: 14px 17px;
      border-bottom: 1px solid var(--cc-line);
      transition: background .18s ease;
    }

    .cc-session-row:last-child {
      border-bottom: 0;
    }

    .cc-session-row:hover {
      background: #fcfcfd;
    }

    .cc-session-row[data-training-target] {
      cursor: pointer;
    }

    .cc-session-row[data-training-target]:focus-visible {
      position: relative;
      z-index: 1;
      outline: 3px solid rgba(255, 90, 0, .28);
      outline-offset: -3px;
      background: #fcfcfd;
    }

    .cc-session-time {
      padding-top: 3px;
      font-size: 14px;
      line-height: 1;
      font-weight: 700;
      letter-spacing: -.035em;
      font-variant-numeric: tabular-nums;
    }

    .cc-session-main {
      min-width: 0;
    }

    .cc-session-titleline {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }

    .cc-session-name {
      min-width: 0;
      font-size: 15px;
      line-height: 1.25;
      font-weight: 700;
      letter-spacing: -.02em;
    }

    .cc-session-type {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 10px;
      line-height: 1;
      font-weight: 700;
    }

    .cc-session-type--crossfit {
      background: var(--cc-orange);
      color: #fff;
    }

    .cc-session-type--hyrox {
      background: var(--cc-yellow);
      color: #111;
    }

    .cc-session-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 5px 8px;
      margin-top: 7px;
      color: var(--cc-muted);
      font-size: 11px;
      line-height: 1.35;
    }

    .cc-session-trainer::before {
      content: "Trener: ";
      color: #9a9da3;
    }

    .cc-session-level {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      padding: 4px 7px;
      border-radius: 7px;
      background: var(--cc-soft);
      color: #4f5258;
      font-size: 10px;
      line-height: 1.2;
      font-weight: 600;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .cc-week-day--closed {
      grid-column: auto;
    }

    .cc-week-day--closed .cc-week-day-head {
      min-height: 71px;
    }

    .cc-week-day--closed .cc-closed {
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      min-height: 0;
      padding: 22px 17px;
    }

    .cc-closed {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      min-height: 102px;
      padding: 22px;
      text-align: left;
    }

    .cc-closed-icon {
      display: grid;
      flex: 0 0 auto;
      place-items: center;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--cc-soft);
      font-size: 23px;
    }

    .cc-closed h3 {
      margin: 0 0 5px;
      font-size: 18px;
    }

    .cc-closed p {
      margin: 0;
      color: var(--cc-muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .cc-schedule-info {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 14px;
    }

    .cc-schedule-info-item {
      min-height: 78px;
      padding: 16px 18px;
      border-radius: 14px;
      background: var(--cc-soft);
      color: var(--cc-muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .cc-schedule-info-label {
      display: block;
      margin-bottom: 4px;
      color: #9a9da3;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .cc-schedule-info-item strong {
      color: var(--cc-ink);
      font-weight: 700;
    }

    @media (max-width: 1100px) and (min-width: 721px) {
      .cc-week-day {
        flex-basis: min(420px, calc((100vw - 70px) / 2));
      }
    }

    @media (max-width: 720px) {
      #grafik,
      #treningi,
      #wod,
      #endurance,
      #intro,
      #mobility,
      #hyrox,
      #basic-gymnastics {
        scroll-margin-top: 78px;
      }

      .cc-schedule-container {
        padding: 0 12px;
      }

      .cc-schedule-header {
        margin-bottom: 22px;
      }

      .cc-schedule-title {
        font-size: 37px;
      }

      .cc-carousel-controls {
        display: none;
      }

      .cc-week-grid {
        gap: 10px;
        width: calc(100% + 12px);
        margin-right: -12px;
        padding-right: 12px;
        scroll-padding-inline: 0 12px;
      }

      .cc-week-day {
        flex-basis: calc(100vw - 48px);
        min-width: 288px;
        max-width: 420px;
        border-radius: 14px;
      }

      .cc-week-day-head {
        min-height: 65px;
        padding: 14px 15px;
      }

      .cc-week-day-title {
        font-size: 19px;
      }

      .cc-session-row {
        min-height: 0;
        padding: 14px 15px;
      }

      .cc-session-name {
        font-size: 16px;
      }

      .cc-session-meta {
        font-size: 12px;
      }

      .cc-schedule-info {
        grid-template-columns: 1fr;
      }

      .cc-closed {
        justify-content: flex-start;
      }
    }

    /* =========================================================
       RODZAJE ZAJĘĆ
       ========================================================= */

    .cc-classes {
      width: 100vw;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
      padding: 40px 0;
      overflow-x: hidden;
      color: #111;
      background: transparent;
      font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: geometricPrecision;
    }

    .cc-classes-shell {
      width: 100%;
      padding: 0 clamp(18px, 4vw, 64px);
    }

    .cc-classes-header {
      margin-bottom: 30px;
    }

    .cc-classes-eyebrow {
      display: block;
      margin-bottom: 10px;
      color: #8b8f97;
      font-size: 12px;
      line-height: 1;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .cc-classes-title {
      margin: 0 0 16px;
      color: #111;
      font-size: clamp(34px, 4vw, 54px);
      line-height: 1.03;
      font-weight: 600;
      letter-spacing: -.055em;
    }

    .cc-classes-subtitle {
      max-width: 860px;
      margin: 0;
      color: #6b6f76;
      font-size: clamp(16px, 1.4vw, 19px);
      line-height: 1.62;
      font-weight: 400;
      letter-spacing: -.018em;
    }

    .cc-program-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .cc-program-card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      padding: 28px 26px;
      overflow: hidden;
      border-radius: 14px;
      background: #f5f5f7;
      scroll-margin-top: 90px;
      transition: background .22s ease, transform .22s ease;
    }

    .cc-program-card:nth-child(even) {
      background: #eeeeef;
    }

    .cc-program-card:hover {
      background: #efeff1;
      transform: translateY(-2px);
    }

    .cc-program-card-head {
      margin-bottom: 16px;
    }

    .cc-program-card-name {
      margin: 0;
      color: #111;
      font-size: clamp(24px, 2.5vw, 34px);
      line-height: 1.04;
      font-weight: 600;
      letter-spacing: -.05em;
    }

    .cc-program-tag {
      display: inline-flex;
      width: fit-content;
      margin-bottom: 18px;
      padding: 6px 11px;
      border-radius: 999px;
      background: #111;
      color: #fff;
      font-size: 12px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: -.01em;
    }

    .cc-program-tag--orange {
      background: #ff5a00;
      color: #fff;
    }

    .cc-program-tag--yellow {
      background: #fff200;
      color: #000;
    }

    .cc-program-text {
      position: relative;
      z-index: 2;
      margin: 0;
      color: #4f5359;
      font-size: 15px;
      line-height: 1.62;
      font-weight: 400;
      letter-spacing: -.018em;
    }

    .cc-program-text strong {
      color: #111;
      font-weight: 600;
    }

    .cc-program-card:target {
      outline: 3px solid rgba(255, 90, 0, .28);
      outline-offset: 3px;
    }

    @media (max-width: 1080px) {
      .cc-program-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 760px) {
      .cc-classes {
        padding: 32px 0;
      }

      .cc-classes-shell {
        padding: 0 16px;
      }

      .cc-classes-header {
        margin-bottom: 24px;
      }

      .cc-classes-title {
        margin-bottom: 14px;
        font-size: 38px;
        line-height: 1.05;
      }

      .cc-classes-subtitle {
        font-size: 16px;
        line-height: 1.58;
      }

      .cc-program-grid {
        grid-template-columns: 1fr;
      }

      .cc-program-card {
        min-height: auto;
        padding: 24px 22px;
      }

      .cc-program-card:hover {
        transform: none;
      }

      .cc-program-card-head {
        margin-bottom: 14px;
      }

      .cc-program-card-name {
        font-size: 30px;
      }

      .cc-program-text {
        font-size: 16px;
        line-height: 1.58;
      }
    }

    @media (max-width: 520px) {
      .cc-program-card {
        padding: 22px 20px;
      }

      .cc-program-card-name {
        font-size: 28px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      .cc-session-row,
      .cc-program-card,
      .cc-carousel-button {
        transition: none !important;
        transform: none !important;
      }
    }
  


450;500;600;700&display=swap");

html {
  scroll-behavior: smooth;
}

#team {
  scroll-margin-top: 96px;
}

.cc-team * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cc-team {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #111;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

.cc-team-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 64px);
}

.cc-team-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cc-team-title-block {
  max-width: 680px;
}

.cc-team-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8f97;
}

.cc-team-title {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.055em;
  color: #111;
}

.cc-team-subtitle {
  max-width: 640px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: #6b6f76;
}

.cc-team-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cc-team-tabs::-webkit-scrollbar {
  display: none;
}

.cc-team-tab {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  outline: none !important;
  min-width: fit-content;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f5f5f7 !important;
  color: #42464d !important;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  transition: color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.cc-team-tab:hover {
  background: #f5f5f7 !important;
  color: #111 !important;
  transform: none !important;
}

.cc-team-tab:active,
.cc-team-tab:focus,
.cc-team-tab:focus-visible {
  background: #f5f5f7 !important;
  color: #42464d !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.cc-team-tab.is-active,
.cc-team-tab.is-active:hover,
.cc-team-tab.is-active:active,
.cc-team-tab.is-active:focus,
.cc-team-tab.is-active:focus-visible {
  background: #ff5a00 !important;
  color: #fff !important;
  font-weight: 500;
  box-shadow: none !important;
  transform: none !important;
}

.cc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cc-person {
  min-height: 100%;
  border-radius: 14px;
  background: #f5f5f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    background 0.22s ease;
}

.cc-person:nth-child(2n) {
  background: #eeeeef;
}

.cc-person:hover {
  transform: translateY(-3px);
  background: #f0f0f2;
}

.cc-person.is-hidden {
  display: none;
}

.cc-person.is-entering {
  animation: ccPersonIn 0.32s ease both;
}

@keyframes ccPersonIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cc-person-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #e5e5e8;
  display: block;
  position: relative;
  overflow: hidden;
}

.cc-person-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transition:
    transform 0.45s ease;
}

.cc-person:hover .cc-person-photo img {
  transform: scale(1.04);
}

.cc-person-ig {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-4px) scale(0.96);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.cc-person:hover .cc-person-ig,
.cc-person:focus-within .cc-person-ig {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cc-person-ig:hover {
  background: #ff5a00;
  color: #fff;
}

.cc-person-ig svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.cc-person-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 48%),
    #d9dcde;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cc-person-photo-placeholder::before {
  content: "";
  width: 34%;
  height: 34%;
  border-radius: 50%;
  border: 1.5px solid rgba(17,17,17,0.14);
  background: rgba(255,255,255,0.22);
}

.cc-person-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cc-person-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.cc-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  transform: translateY(0);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.cc-person:hover .cc-tag {
  transform: translateY(-1px);
}

.cc-tag-crossfit {
  background: #ff5a00;
  color: #fff;
}

.cc-tag-hyrox {
  background: #fff200;
  color: #000;
}

.cc-tag-general {
  background: #111;
  color: #fff;
}

.cc-person-name {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #111;
  transition: color 0.22s ease;
}

.cc-person:hover .cc-person-name {
  color: #ff5a00;
}

.cc-person-role {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: #6b6f76;
}

.cc-person-desc {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #4f5359;
}

.cc-person-details {
  margin-top: 4px;
  border-top: 1px solid rgba(17,17,17,0.09);
  padding-top: 10px;
}

.cc-person-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #111;
  -webkit-tap-highlight-color: transparent;
}

.cc-person-details summary::-webkit-details-marker {
  display: none;
}

.cc-person-details summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  color: #111;
  font-size: 16px;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cc-person-details[open] summary::after {
  content: "−";
  background: #ff5a00;
  color: #fff;
  transform: rotate(180deg);
}

.cc-person-details summary:hover {
  color: #ff5a00;
}

.cc-person-details-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.cc-person-details-content p {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #4f5359;
}

.cc-team-info {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cc-team-info-item {
  min-height: 64px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #111;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.018em;
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}

.cc-team-info-item:hover {
  background: #1d1d1f;
  transform: translateY(-2px);
}

.cc-team-info-item strong {
  color: #fff;
  font-weight: 500;
}

@media (max-width: 980px) {
  #team {
    scroll-margin-top: 78px;
  }

  .cc-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cc-team {
    padding: 32px 0;
  }

  .cc-team-shell {
    padding: 0 16px;
  }

  .cc-team-top {
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 24px;
  }

  .cc-team-title {
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.05em;
  }

  .cc-team-subtitle {
    font-size: 16px;
    line-height: 1.58;
  }

  .cc-team-tabs {
    width: 100%;
    padding-bottom: 2px;
  }

  .cc-team-tab {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }

  .cc-person:hover {
    transform: none;
  }

  .cc-person-body {
    padding: 20px;
  }

  .cc-person-name {
    font-size: 22px;
  }

  .cc-person-ig {
    opacity: 1;
    transform: none;
  }

  .cc-team-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cc-team-grid {
    grid-template-columns: 1fr;
  }

  .cc-person-photo,
  .cc-person-photo-placeholder {
    aspect-ratio: 4 / 5;
  }

  .cc-person-photo img {
    object-fit: cover;
    object-position: center center;
  }

  .cc-person:hover .cc-person-photo img {
    transform: none;
  }

  .cc-person-body {
    padding: 22px 20px 24px;
  }

  .cc-person-name {
    font-size: 24px;
  }

  .cc-person-role,
  .cc-person-desc,
  .cc-person-details-content p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cc-team-tab,
  .cc-person,
  .cc-person-photo img,
  .cc-person-ig,
  .cc-tag,
  .cc-person-name,
  .cc-person-details summary::after,
  .cc-team-info-item {
    transition: none !important;
    animation: none !important;
  }

  .cc-person:hover,
  .cc-team-tab:hover,
  .cc-team-info-item:hover,
  .cc-person:hover .cc-person-photo img,
  .cc-person:hover .cc-person-ig {
    transform: none !important;
  }
}


/* Layout refresh: stable cards + modal bio, no in-card expansion */
.cc-team-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.cc-person {
  height: 100%;
}

.cc-person-body {
  min-height: 270px;
}

.cc-person-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-person-details {
  margin-top: auto;
  border-top: 1px solid rgba(17,17,17,0.09);
  padding-top: 12px;
}

.cc-person-details summary {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  justify-content: space-between;
  font-size: 13px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cc-person-details summary::after {
  content: "→";
  width: 24px;
  height: 24px;
  background: #fff;
  color: #111;
  font-size: 14px;
  transform: none;
}

.cc-person-details summary:hover,
.cc-person-details summary:focus-visible {
  background: #ff5a00;
  color: #fff;
  outline: none;
}

.cc-person-details summary:hover::after,
.cc-person-details summary:focus-visible::after {
  color: #ff5a00;
  transform: translateX(2px);
}

.cc-person-details[open] summary {
  background: #111;
  color: #fff;
}

.cc-person-details[open] summary::after {
  content: "→";
  background: #fff;
  color: #111;
  transform: none;
}

.cc-person-details > .cc-person-details-content {
  display: none !important;
}

.cc-team-bio-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.cc-team-bio-modal.is-open {
  display: flex;
}

.cc-team-bio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: ccTeamBioFade 0.22s ease forwards;
}

.cc-team-bio-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(82vh, 760px);
  overflow: auto;
  border: 1px solid rgba(17,17,17,0.10);
  border-radius: 22px;
  background: #fff;
  color: #111;
  box-shadow: 0 28px 90px rgba(17,17,17,0.26);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  animation: ccTeamBioIn 0.26s ease forwards;
}

.cc-team-bio-inner {
  padding: 28px;
}

.cc-team-bio-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cc-team-bio-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ff5a00;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.cc-team-bio-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.055em;
  color: #111;
}

.cc-team-bio-role {
  margin-top: 10px;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: #6b6f76;
}

.cc-team-bio-close {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cc-team-bio-close:hover,
.cc-team-bio-close:focus-visible {
  background: #ff5a00;
  color: #fff;
  transform: rotate(90deg);
}

.cc-team-bio-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cc-team-bio-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(17,17,17,0.09);
}

.cc-team-bio-content p {
  font-size: 15px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #4f5359;
}

body.cc-team-bio-lock {
  overflow: hidden;
}

@keyframes ccTeamBioFade {
  to { opacity: 1; }
}

@keyframes ccTeamBioIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .cc-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cc-person-body {
    min-height: auto;
  }

  .cc-team-bio-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .cc-team-bio-panel {
    width: 100%;
    max-height: 86vh;
    border-radius: 20px;
  }

  .cc-team-bio-inner {
    padding: 22px 20px 24px;
  }

  .cc-team-bio-top {
    gap: 14px;
  }

  .cc-team-bio-close {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (max-width: 560px) {
  .cc-team-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-team-bio-backdrop,
  .cc-team-bio-panel,
  .cc-team-bio-close,
  .cc-person-details summary,
  .cc-person-details summary::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}


/* Mobile UX: swipe rail instead of a long scroll wall */
.cc-team-mobile-hint {
  display: none;
}

@media (max-width: 560px) {
  .cc-team {
    overflow: hidden;
  }

  .cc-team-top {
    margin-bottom: 16px;
  }

  .cc-team-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px 0 12px;
    padding: 10px 12px;
    border-radius: 999px;
    background: #f5f5f7;
    color: #4f5359;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.015em;
  }

  .cc-team-mobile-hint::after {
    content: "→";
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ff5a00;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 14px;
    line-height: 1;
  }

  .cc-team-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 16px;
  }

  .cc-team-grid::-webkit-scrollbar {
    display: none;
  }

  .cc-person {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: auto;
    height: auto;
  }

  .cc-person.is-hidden {
    display: none !important;
  }

  .cc-person-photo,
  .cc-person-photo-placeholder {
    aspect-ratio: 4 / 3 !important;
  }

  .cc-person-body {
    min-height: auto;
    padding: 18px;
    gap: 8px;
  }

  .cc-person-tags {
    gap: 6px;
    margin-bottom: 2px;
  }

  .cc-tag {
    min-height: 20px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .cc-person-name {
    font-size: 22px;
  }

  .cc-person-role {
    font-size: 13px;
    line-height: 1.42;
  }

  .cc-person-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
  }

  .cc-person-details {
    padding-top: 10px;
  }

  .cc-person-details summary {
    min-height: 38px;
    font-size: 13px;
  }

  .cc-team-info {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }

  .cc-team-info::-webkit-scrollbar {
    display: none;
  }

  .cc-team-info-item {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
    min-height: 68px;
  }
}


/* Mobile image refinement: smaller photos without distortion */
@media (max-width: 560px) {
  .cc-person {
    flex-basis: min(78vw, 320px);
  }

  .cc-person-photo,
  .cc-person-photo-placeholder {
    width: 100%;
    height: clamp(168px, 46vw, 210px) !important;
    aspect-ratio: auto !important;
    flex: 0 0 auto;
  }

  .cc-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  .cc-person:hover .cc-person-photo img {
    transform: none !important;
  }
}



/* Final image sizing refinement:
   - Desktop: compact cards/images by narrowing the trainer grid to 840px.
   - Mobile: full portrait image area with no crop or distortion. */
@media (min-width: 981px) {
  .cc-team-grid {
    width: min(100%, 840px);
    margin-left: auto;
    margin-right: auto;
  }

  .cc-team-info {
    width: min(100%, 840px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .cc-person {
    flex-basis: min(78vw, 320px);
  }

  .cc-person-photo,
  .cc-person-photo-placeholder {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    flex: 0 0 auto;
  }

  .cc-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    background: #e5e5e8;
  }

  .cc-person:hover .cc-person-photo img {
    transform: none !important;
  }
}



/* Full-width desktop refinement:
   - Restores the grid/info rows to the full shell width so they align with the tabs/header.
   - Keeps desktop images visually smaller by using a shorter image area.
   - Mobile full-portrait behavior remains unchanged. */
@media (min-width: 981px) {
  .cc-team-grid,
  .cc-team-info {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cc-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .cc-person-photo,
  .cc-person-photo-placeholder {
    width: 100%;
    height: clamp(300px, 26vw, 360px) !important;
    aspect-ratio: auto !important;
  }

  .cc-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
  }
}


/* Final desktop card-size match:
   - Uses the same full-width 4-column desktop rhythm as the fight-coaches section.
   - Keeps mobile as a horizontal swipe rail with full portrait images, so mobile photos are not cropped or squished. */
@media (min-width: 981px) {
  .cc-team-grid,
  .cc-team-info {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cc-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .cc-person-photo,
  .cc-person-photo-placeholder {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }

  .cc-person-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .cc-person-body {
    padding: 20px !important;
    gap: 9px !important;
  }

  .cc-person-name {
    font-size: clamp(19px, 1.65vw, 24px) !important;
  }

  .cc-person-role,
  .cc-person-desc {
    font-size: 13px !important;
  }

  .cc-person-desc {
    line-height: 1.52 !important;
  }
}



/* Request update: desktop 3x3 grid + placeholders only */
.cc-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.cc-person-photo {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  background: #e5e5e8;
  display: block;
  position: relative;
  overflow: hidden;
}

.cc-person-photo-placeholder {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
}

@media (min-width: 981px) {
  .cc-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* User update: color photos by default + uniform grey card/photo backgrounds */
.cc-person,
.cc-person:nth-child(2n),
.cc-person:hover {
  background: #f5f5f7 !important;
}

.cc-person-photo,
.cc-person-photo-placeholder,
.cc-person-photo img {
  background: #e5e5e8 !important;
}

.cc-person-photo img,
.cc-person:hover .cc-person-photo img {
  filter: none !important;
}







/* Selected trainer photo crop adjustments */
.cc-person-photo img[alt="Marek Gruszka"] {
  object-position: center 0% !important;
}

.cc-person-photo img[alt="Marek Kozakiewicz"],
.cc-person-photo img[alt="Tomasz Zygnerski"] {
  object-position: center 24% !important;
}


/* Bartek Jarzembowski visible crop fix
   Uses transform because object-position alone may not move the image
   when the image ratio is close to the 4:5 card ratio. */
.cc-person-photo img[alt="Bartek Jarzembowski"] {
  object-position: center center !important;
  transform: translate(-26px, -22px) scale(1.12) !important;
  transform-origin: center center !important;
}

.cc-person:hover .cc-person-photo img[alt="Bartek Jarzembowski"] {
  transform: translate(-26px, -22px) scale(1.12) !important;
}



/* Mobile image fill fix:
   Fill the photo cards instead of using contain, which created side stripes. */
@media (max-width: 560px) {
  .cc-person-photo,
  .cc-person-photo-placeholder {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    background: #f5f5f7 !important;
  }

  .cc-person-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.09) !important;
    transform-origin: center center !important;
    background: #f5f5f7 !important;
  }

  .cc-person:hover .cc-person-photo img {
    transform: scale(1.09) !important;
  }

  .cc-person-photo img[alt="Marek Gruszka"] {
    object-position: center 0% !important;
    transform: scale(1.09) !important;
  }

  .cc-person-photo img[alt="Marek Kozakiewicz"],
  .cc-person-photo img[alt="Tomasz Zygnerski"] {
    object-position: center 24% !important;
    transform: scale(1.09) !important;
  }

  .cc-person-photo img[alt="Bartek Jarzembowski"] {
    object-position: center center !important;
    transform: translate(-30px, -26px) scale(1.20) !important;
    transform-origin: center center !important;
  }

  .cc-person:hover .cc-person-photo img[alt="Bartek Jarzembowski"] {
    transform: translate(-30px, -26px) scale(1.20) !important;
  }
}




/* User update: desktop 5x2 team grid
   - With 10 trainers, wide desktop now displays 5 columns x 2 rows.
   - Tablet and mobile behavior stays responsive; mobile swipe rail remains unchanged. */
@media (min-width: 1200px) {
  .cc-team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .cc-person-body {
    min-height: 300px !important;
    padding: 18px !important;
    gap: 8px !important;
  }

  .cc-person-name {
    font-size: clamp(18px, 1.25vw, 22px) !important;
  }

  .cc-person-role,
  .cc-person-desc,
  .cc-person-details-content p {
    font-size: 13px !important;
  }

  .cc-person-desc {
    -webkit-line-clamp: 3 !important;
  }
}


/* CrossCore Content Manager integration */
.cc-schedule-title br,
.cc-schedule-subtitle br { content: ""; }
.cc-team-bio-content p:first-child { margin-top: 0; }
.cc-team-bio-content p:last-child { margin-bottom: 0; }
