body {
  font-family: Poppins, sans-serif;
  background: #f5f3f1;
  color: #1f2a33;
}

.sotm-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 241, 0.96);
  border-bottom: 1px solid rgba(31, 42, 51, 0.12);
  backdrop-filter: blur(10px);
}

.sotm-site-header-inner,
.sotm-site-footer-inner {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.sotm-site-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sotm-site-logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.sotm-site-logo img {
  max-height: 72px;
  width: auto;
}

.sotm-site-logo span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
}

.sotm-site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
}

.sotm-site-nav a,
.sotm-site-footer a {
  color: #1f2a33;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.sotm-site-nav a:hover,
.sotm-site-footer a:hover {
  color: #265fa8;
  text-decoration: underline;
}

.sotm-page {
  padding: 48px 0;
}

.sotm-page-container {
  width: min(980px, 92%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 8px;
  padding: 28px;
}

.sotm-page h1 {
  margin-top: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

.sotm-sectioned-page {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.sotm-sectioned-page article {
  width: 100%;
}

.sotm-classes-overview-page {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.sotm-classes-overview-page article {
  width: 100%;
}

.sotm-page-title-band {
  box-sizing: border-box;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  margin-bottom: clamp(28px, 5vw, 54px);
  padding: clamp(44px, 7vw, 84px) max(4vw, calc((100vw - 1120px) / 2));
  background: #edf3f7;
  border-bottom: 1px solid rgba(31, 42, 51, 0.08);
}

.sotm-page-title-band > div {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.sotm-page-title-band h1 {
  margin: 0;
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.sotm-page-title-band .sotm-breadcrumbs {
  margin-bottom: 16px;
}

.sotm-editorial-content {
  width: min(980px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.sotm-editorial-content > h2,
.sotm-editorial-content > h3,
.sotm-editorial-content > .wp-block-heading {
  margin: clamp(22px, 5vw, 48px) 0 0;
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif !important;
  font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.sotm-editorial-content > h2:first-child,
.sotm-editorial-content > h3:first-child,
.sotm-editorial-content > .wp-block-heading:first-child {
  margin-top: 0;
}

.sotm-editorial-content > p,
.sotm-editorial-content > ul,
.sotm-editorial-content > ol,
.sotm-editorial-content > figure,
.sotm-editorial-content > .wp-block-group {
  margin: 0;
  border-left: 4px solid #a2c8cd;
  border-radius: 8px;
  background: rgba(162, 200, 205, 0.16);
  padding: clamp(18px, 3vw, 28px);
}

.sotm-editorial-content > ul,
.sotm-editorial-content > ol {
  padding-left: clamp(38px, 5vw, 54px);
}

.sotm-editorial-content li {
  margin-bottom: 8px;
  line-height: 1.72;
}

.sotm-editorial-content a {
  color: #1f61aa;
  font-weight: 700;
}

.sotm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #55616b;
}

.sotm-breadcrumbs a {
  color: #265fa8;
  text-decoration: none;
}

.sotm-breadcrumbs a:hover {
  text-decoration: underline;
}

.sotm-post-meta {
  margin: -8px 0 20px;
  color: #55616b;
  font-size: 0.92rem;
}

.sotm-archive-list {
  display: grid;
  gap: 14px;
}

.sotm-archive-item {
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 10px;
  padding: 16px;
  background: #fcfcfc;
}

.sotm-archive-item h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.sotm-archive-item h2 a {
  color: #1f2a33;
  text-decoration: none;
}

.sotm-archive-item h2 a:hover {
  text-decoration: underline;
}

.sotm-events-page .sotm-archive-list {
  width: min(1180px, 92%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 44px);
  row-gap: clamp(28px, 4vw, 42px);
  align-items: start;
}

.sotm-events-page .sotm-page-title-band {
  margin-bottom: clamp(18px, 3vw, 30px);
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(26px, 4vw, 46px);
}

.sotm-events-page .sotm-page-title-band .sotm-breadcrumbs {
  margin-bottom: 8px;
}

.sotm-events-page .sotm-page-title-band h1 {
  font-size: clamp(2.9rem, 6.5vw, 5.4rem);
}

.sotm-events-intro {
  max-width: 100%;
  margin: 16px 0 0;
  color: #2f3f4b;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.sotm-page-kicker {
  margin: 0 0 10px;
  color: #397681;
  font-family: "Quicksand", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sotm-events-section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 46px) 0;
}

.sotm-events-archive-section {
  border-top: 1px solid rgba(31, 42, 51, 0.1);
}

.sotm-events-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(16px, 3vw, 28px);
}

.sotm-events-section-heading h2 {
  margin: 0;
  color: #8261e2;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.sotm-events-empty {
  max-width: 720px;
  border-left: 4px solid #a2c8cd;
  border-radius: 8px;
  background: rgba(162, 200, 205, 0.18);
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  color: #2f3f4b;
  line-height: 1.68;
}

.sotm-events-page .sotm-archive-item {
  box-sizing: border-box;
  display: grid;
  align-content: start;
  align-self: start;
  gap: 0;
  min-width: 0;
  min-height: 0;
  border: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #9a7cf0 0%, #8261e2 58%, #5f3cc7 100%);
  color: #fff;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 14px 30px rgba(130, 97, 226, 0.22);
}

.sotm-event-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 2.2 / 1;
  background: rgba(255, 255, 255, 0.18);
}

.sotm-event-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.sotm-event-card-thumb:hover img {
  transform: scale(1.035);
}

.sotm-event-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: clamp(16px, 2.4vw, 21px);
}

.sotm-event-card-top {
  display: grid;
  gap: 10px;
}

.sotm-events-page .sotm-archive-item:nth-child(3n + 2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #8e6cf0 0%, #7354d8 56%, #5638b8 100%);
}

.sotm-events-page .sotm-archive-item:nth-child(3n) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, #8261e2 0%, #6a4fd0 58%, #4f35a8 100%);
}

.sotm-events-page .sotm-archive-item time {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 7px 11px;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.sotm-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sotm-event-tags span {
  border-radius: 999px;
  background: #a2c8cd;
  color: #1f2a33;
  padding: 6px 10px;
  font-family: "Quicksand", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.sotm-events-page .sotm-archive-item h2 {
  margin: 0;
  display: -webkit-box;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-transform: uppercase;
}

.sotm-events-page .sotm-archive-item h2 a,
.sotm-events-page .sotm-archive-item p {
  color: #fff;
  overflow-wrap: anywhere;
}

.sotm-events-page .sotm-archive-item p {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.96rem;
}

.sotm-archive-read-more {
  align-self: end;
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  background: #fff;
  color: #5f3cc7 !important;
  padding: 9px 13px;
  font-family: "Quicksand", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.sotm-events-page .navigation.pagination {
  width: min(1120px, 92%);
  margin: 28px auto 0;
}

.sotm-events-page .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sotm-events-page .page-numbers {
  border-radius: 999px;
  background: rgba(130, 97, 226, 0.14);
  color: #5f3cc7;
  padding: 8px 12px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.sotm-events-page .page-numbers.current {
  background: #8261e2;
  color: #fff;
}

.sotm-event-single-page .sotm-post-meta {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.sotm-event-single-page .sotm-post-meta span {
  display: block;
  margin-top: 6px;
}

.sotm-event-single-page .sotm-post-meta a {
  color: #8261e2;
}

.sotm-event-return {
  width: min(1120px, 92%);
  margin: 24px auto 0;
  justify-self: center;
  text-align: center;
}

.sotm-event-hero {
  width: min(1120px, 92%);
  margin: 0 auto clamp(34px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 8px;
  background: linear-gradient(135deg, #9a7cf0 0%, #8261e2 54%, #5f3cc7 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(130, 97, 226, 0.2);
}

.sotm-event-hero-copy {
  display: grid;
  align-content: start;
  padding: clamp(26px, 5vw, 52px);
}

.sotm-event-hero .sotm-breadcrumbs,
.sotm-event-hero .sotm-breadcrumbs a {
  color: rgba(255, 255, 255, 0.88);
}

.sotm-event-hero h1 {
  margin: 12px 0 0;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.sotm-event-hero-media {
  min-height: clamp(300px, 46vw, 560px);
  margin: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    rgba(162, 200, 205, 0.24);
}

.sotm-event-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sotm-event-hero-media span {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.sotm-event-detail-section {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.sotm-event-detail-section .sotm-editorial-content {
  width: 100%;
  margin: 0;
}

.sotm-event-detail-card,
.sotm-event-signup {
  border-radius: 8px;
  background: rgba(162, 200, 205, 0.2);
  padding: clamp(22px, 4vw, 32px);
}

.sotm-event-detail-card {
  position: sticky;
  top: 112px;
  border-left: 4px solid #a2c8cd;
}

.sotm-event-detail-card h2,
.sotm-event-signup h2 {
  margin: 0 0 16px;
  color: #8261e2;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.sotm-event-detail-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.sotm-event-detail-card div {
  display: grid;
  gap: 3px;
}

.sotm-event-detail-card dt {
  color: #397681;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sotm-event-detail-card dd {
  margin: 0;
  color: #1f2a33;
  line-height: 1.5;
}

.sotm-event-signup {
  width: min(1120px, 92%);
  margin: clamp(34px, 6vw, 64px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f3f0ea;
}

.sotm-event-signup p {
  max-width: 640px;
  margin: 0;
  color: #2f3f4b;
  line-height: 1.65;
}

.sotm-content-page {
  display: grid;
  gap: 34px;
}

.sotm-lead {
  margin: 0 0 8px;
  color: #3b4853;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.65;
}

.sotm-page-section {
  display: grid;
  gap: 16px;
}

.sotm-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 8px;
  background: #fcfcfc;
}

.sotm-section-nav a {
  color: #265fa8;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.sotm-section-nav a:hover {
  text-decoration: underline;
}

.sotm-page-section p {
  margin: 0;
  line-height: 1.72;
}

.sotm-page-section h1,
.sotm-page-section h2,
.sotm-page-section h3 {
  margin: 0;
  font-family: "Quicksand", sans-serif;
}

.sotm-info-grid,
.sotm-card-grid,
.sotm-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sotm-info-card,
.sotm-class-card,
.sotm-next-card {
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 8px;
  background: #fcfcfc;
  padding: 18px;
}

.sotm-contact-page .sotm-contact-card {
  border-color: rgba(162, 200, 205, 0.76);
  background: rgba(162, 200, 205, 0.48);
}

.sotm-contact-page .sotm-contact-card a {
  color: #1f2a33;
}

.sotm-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1f2a33;
  text-decoration: none;
}

.sotm-contact-page .sotm-social-card {
  border-color: rgba(162, 200, 205, 0.76);
  background: rgba(162, 200, 205, 0.48);
}

.sotm-social-card:hover {
  border-color: rgba(162, 200, 205, 0.92);
  box-shadow: 0 12px 28px rgba(162, 200, 205, 0.26);
  transform: translateY(-1px);
}

.sotm-social-card .sotm-social-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #a2c8cd;
  color: #1f2a33;
}

.sotm-social-card svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.sotm-social-card span span {
  display: block;
  color: #55616b;
  overflow-wrap: anywhere;
}

.sotm-class-card,
.sotm-next-card {
  color: inherit;
  text-decoration: none;
}

.sotm-class-card:hover,
.sotm-next-card:hover {
  border-color: rgba(53, 125, 213, 0.44);
  box-shadow: 0 12px 28px rgba(31, 42, 51, 0.08);
  transform: translateY(-1px);
}

.sotm-info-card strong,
.sotm-class-card strong,
.sotm-next-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Quicksand", sans-serif;
}

.sotm-info-card a,
.sotm-class-card a,
.sotm-next-card a {
  color: #265fa8;
  text-decoration: none;
}

.sotm-info-card a:hover,
.sotm-class-card a:hover,
.sotm-next-card a:hover {
  text-decoration: underline;
}

.sotm-map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.sotm-muted-box {
  border-left: 4px solid #a2c8cd;
  background: rgba(162, 200, 205, 0.18);
  padding: 18px;
  border-radius: 8px;
}

.sotm-schedule-image {
  margin: 0;
}

.sotm-schedule-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(31, 42, 51, 0.12);
}

.sotm-age-group {
  display: grid;
  gap: 12px;
}

.sotm-age-group h3 {
  border-bottom: 3px solid #357dd5;
  padding-bottom: 8px;
}

.sotm-class-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
}

.sotm-class-card p {
  margin: 0;
}

.sotm-card-meta {
  margin-top: auto;
  color: #55616b;
  font-size: 0.92rem;
}

.sotm-partner-card {
  border-color: rgba(130, 97, 226, 0.26);
  background: rgba(130, 97, 226, 0.06);
}

.sotm-price-table,
.sotm-lesson-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.sotm-price-table th,
.sotm-price-table td,
.sotm-lesson-table th,
.sotm-lesson-table td {
  border: 1px solid rgba(31, 42, 51, 0.12);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.sotm-price-table th,
.sotm-lesson-table th {
  background: rgba(53, 125, 213, 0.1);
  font-family: "Quicksand", sans-serif;
}

.sotm-sectioned-page .sotm-content-page:not(.sotm-classes-page) {
  gap: 0;
}

.sotm-sectioned-page .sotm-content-page:not(.sotm-classes-page) > .sotm-lead {
  width: min(980px, 92%);
  margin: 0 auto clamp(28px, 5vw, 54px);
  color: #2f3f4b;
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
}

.sotm-sectioned-page .sotm-content-page:not(.sotm-classes-page) > .sotm-page-section {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: clamp(42px, 7vw, 78px) max(4vw, calc((100vw - 1120px) / 2));
  background: #eef7f8;
  border-top: 1px solid rgba(31, 42, 51, 0.08);
}

.sotm-sectioned-page .sotm-content-page:not(.sotm-classes-page) > .sotm-page-section:nth-of-type(even) {
  background: #f3f0ea;
}

.sotm-sectioned-page .sotm-content-page:not(.sotm-classes-page) > .sotm-page-section:nth-of-type(3n) {
  background: #edf3f7;
}

.sotm-sectioned-page .sotm-page-section h1,
.sotm-sectioned-page .sotm-page-section h2 {
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.sotm-sectioned-page .sotm-page-section h3 {
  display: inline-flex;
  width: fit-content;
  color: #1f61aa;
  border-bottom: 3px solid #a2c8cd;
  padding-bottom: 8px;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-transform: uppercase;
}

.sotm-sectioned-page .sotm-page-section > p {
  max-width: 100%;
  color: #2f3f4b;
  font-size: 1.03rem;
  text-wrap: pretty;
}

.sotm-sectioned-page .sotm-back-link {
  width: min(1120px, 92%);
  margin: 0 auto 18px;
}

.sotm-sectioned-page .sotm-lesson-hero {
  width: min(1120px, 92%);
  margin: 0 auto clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, #2f78c4 0%, #1f61aa 58%, #a2c8cd 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(31, 97, 170, 0.18);
}

.sotm-sectioned-page .sotm-lesson-hero h1,
.sotm-sectioned-page .sotm-lesson-hero h2,
.sotm-sectioned-page .sotm-lesson-subtitle {
  color: #fff;
}

.sotm-sectioned-page .sotm-info-card,
.sotm-sectioned-page .sotm-muted-box {
  border: 0;
  box-shadow: 0 14px 30px rgba(31, 42, 51, 0.08);
}

.sotm-sectioned-page .sotm-class-card,
.sotm-sectioned-page .sotm-next-card {
  border: 0;
  background: linear-gradient(135deg, #2f78c4 0%, #1d5ea8 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 97, 170, 0.18);
}

.sotm-sectioned-page .sotm-class-card:hover,
.sotm-sectioned-page .sotm-next-card:hover {
  box-shadow: 0 18px 38px rgba(31, 97, 170, 0.25);
}

.sotm-sectioned-page .sotm-class-card strong,
.sotm-sectioned-page .sotm-next-card strong,
.sotm-sectioned-page .sotm-class-card p,
.sotm-sectioned-page .sotm-next-card span,
.sotm-sectioned-page .sotm-card-meta {
  color: #fff;
}

.sotm-sectioned-page .sotm-card-meta {
  opacity: 0.84;
}

.sotm-sectioned-page .sotm-price-table {
  display: block;
  border-collapse: separate;
  border-spacing: 0;
}

.sotm-sectioned-page .sotm-price-table thead {
  display: none;
}

.sotm-sectioned-page .sotm-price-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sotm-sectioned-page .sotm-price-table tr {
  display: grid;
  gap: 8px;
  min-height: 170px;
  border-radius: 8px;
  background: #dff0f2;
  padding: clamp(22px, 4vw, 32px);
}

.sotm-sectioned-page .sotm-price-table tr:nth-child(even) {
  background: #1f61aa;
  color: #fff;
}

.sotm-sectioned-page .sotm-price-table th,
.sotm-sectioned-page .sotm-price-table td {
  border: 0;
  padding: 0;
}

.sotm-sectioned-page .sotm-price-table td:first-child {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.sotm-sectioned-page .sotm-price-table td:last-child {
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.9;
}

.sotm-sectioned-page .sotm-price-table tr:nth-child(even) td:last-child {
  color: #fff;
}

.sotm-sectioned-page .sotm-lesson-table {
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 14px 30px rgba(31, 42, 51, 0.08);
}

.sotm-sectioned-page .sotm-lesson-table th {
  background: #1f61aa;
  color: #fff;
}

.sotm-sectioned-page .sotm-lesson-table td {
  background: rgba(255, 255, 255, 0.52);
}

.sotm-lesson-info-cards {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.sotm-lesson-info-card {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f78c4 0%, #1d5ea8 100%);
  color: #fff;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 14px 30px rgba(31, 97, 170, 0.18);
}

.sotm-lesson-info-card strong {
  display: block;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.sotm-lesson-info-card div,
.sotm-lesson-info-card p,
.sotm-lesson-info-card li {
  color: #fff;
}

.sotm-lesson-info-card ul {
  margin: 0;
  padding-left: 20px;
}

.sotm-sectioned-page .sotm-schedule-table {
  display: block;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: none;
}

.sotm-sectioned-page .sotm-schedule-table thead {
  display: none;
}

.sotm-sectioned-page .sotm-schedule-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sotm-sectioned-page .sotm-schedule-table tr {
  display: grid;
  gap: 8px;
  min-height: 190px;
  border-radius: 8px;
  background: #dff0f2;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 14px 30px rgba(31, 42, 51, 0.08);
}

.sotm-sectioned-page .sotm-schedule-table tr:nth-child(even) {
  background: #1f61aa;
  color: #fff;
}

.sotm-sectioned-page .sotm-schedule-table th,
.sotm-sectioned-page .sotm-schedule-table td {
  border: 0;
  background: transparent;
  padding: 0;
}

.sotm-sectioned-page .sotm-schedule-table td {
  display: grid;
  gap: 3px;
  color: #1f2a33;
}

.sotm-sectioned-page .sotm-schedule-table tr:nth-child(even) td {
  color: #fff;
}

.sotm-sectioned-page .sotm-schedule-table td::before {
  color: #1f61aa;
  content: "";
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sotm-sectioned-page .sotm-schedule-table tr:nth-child(even) td::before {
  color: rgba(255, 255, 255, 0.74);
}

.sotm-sectioned-page .sotm-schedule-table td:nth-child(1)::before {
  content: "Grupa";
}

.sotm-sectioned-page .sotm-schedule-table td:nth-child(2)::before {
  content: "Termin";
}

.sotm-sectioned-page .sotm-schedule-table td:nth-child(3)::before {
  content: "Prowadzi";
}

.sotm-lesson-price-section .sotm-cta-row {
  align-items: stretch;
}

.sotm-lesson-price-section .sotm-page-button,
.sotm-lesson-return-section .sotm-page-button {
  min-width: 190px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sotm-lesson-return-section {
  justify-items: center;
  text-align: center;
}

.sotm-classes-page {
  gap: 0;
}

.sotm-classes-page .sotm-section-nav {
  width: min(1120px, 92%);
  margin: 0 auto 28px;
  border-color: rgba(31, 97, 170, 0.18);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 34px rgba(31, 42, 51, 0.06);
}

.sotm-classes-page .sotm-section-nav a {
  color: #1f61aa;
  padding: 8px 10px;
}

.sotm-classes-page .sotm-page-section {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: clamp(42px, 7vw, 78px) max(4vw, calc((100vw - 1120px) / 2));
  background: #eef7f8;
  border-top: 1px solid rgba(31, 42, 51, 0.08);
}

.sotm-classes-page .sotm-page-section:nth-of-type(even) {
  background: #f3f0ea;
}

.sotm-classes-page .sotm-page-section:nth-of-type(3n) {
  background: #edf3f7;
}

.sotm-classes-page .sotm-page-section h1,
.sotm-classes-page .sotm-page-section h2 {
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.sotm-classes-page .sotm-page-section h3 {
  display: inline-flex;
  width: fit-content;
  color: #1f61aa;
  border-bottom: 3px solid #a2c8cd;
  padding-bottom: 8px;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-transform: uppercase;
}

.sotm-classes-page .sotm-page-section > p {
  max-width: 100%;
  color: #2f3f4b;
  font-size: 1.03rem;
  text-wrap: pretty;
}

.sotm-classes-page .sotm-schedule-section h1,
.sotm-classes-page .sotm-schedule-section h2,
.sotm-classes-page .sotm-schedule-section .sotm-section-note {
  text-align: center;
}

.sotm-classes-page .sotm-schedule-section h1,
.sotm-classes-page .sotm-schedule-section h2 {
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.sotm-section-note {
  margin-top: -8px;
  color: #55616b;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.sotm-classes-page .sotm-schedule-image {
  margin-top: 10px;
}

.sotm-classes-page .sotm-schedule-image-link {
  display: block;
}

.sotm-classes-page .sotm-schedule-image img {
  background: #fff;
  border: 0;
  box-shadow: 0 18px 44px rgba(31, 42, 51, 0.12);
}

.sotm-classes-page .sotm-schedule-image figcaption {
  margin-top: 14px;
  color: #55616b;
  font-size: 0.9rem;
  text-align: center;
}

.sotm-classes-page .sotm-schedule-image figcaption a {
  color: #1f61aa;
  font-weight: 700;
}

.sotm-classes-page .sotm-age-group {
  margin-top: 12px;
}

.sotm-classes-page .sotm-class-card,
.sotm-classes-page .sotm-next-card {
  border: 0;
  background: linear-gradient(135deg, #2f78c4 0%, #1d5ea8 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 97, 170, 0.18);
}

.sotm-classes-page .sotm-class-card:hover,
.sotm-classes-page .sotm-next-card:hover {
  box-shadow: 0 18px 38px rgba(31, 97, 170, 0.25);
}

.sotm-classes-page .sotm-class-card strong,
.sotm-classes-page .sotm-next-card strong,
.sotm-classes-page .sotm-class-card p,
.sotm-classes-page .sotm-next-card span,
.sotm-classes-page .sotm-card-meta {
  color: #fff;
}

.sotm-classes-page .sotm-card-meta {
  opacity: 0.84;
}

.sotm-classes-page #partnerzy .sotm-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

.sotm-classes-page .sotm-partner-card {
  grid-column: span 2;
  gap: 0;
  min-height: 250px;
  overflow: hidden;
  border: 0;
  background: var(--sotm-partner-accent);
  padding: 0;
  color: var(--sotm-partner-on-accent);
  box-shadow: 0 16px 36px rgba(var(--sotm-partner-rgb), 0.22);
}

.sotm-classes-page .sotm-partner-card:hover {
  box-shadow: 0 20px 44px rgba(var(--sotm-partner-rgb), 0.3);
}

.sotm-classes-page .sotm-partner-card > strong {
  margin: 0;
  padding: 26px 26px 0;
  color: var(--sotm-partner-on-accent);
  font-size: 1.08rem;
  line-height: 1.3;
}

.sotm-classes-page .sotm-partner-card > p {
  flex: 1 1 auto;
  padding: 12px 26px 22px;
}

.sotm-classes-page .sotm-partner-card > .sotm-card-meta {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14);
  padding: 16px 26px 20px;
}

.sotm-classes-page .sotm-partner-card strong,
.sotm-classes-page .sotm-partner-card p,
.sotm-classes-page .sotm-partner-card span,
.sotm-classes-page .sotm-partner-card .sotm-card-meta {
  color: var(--sotm-partner-on-accent);
}

.sotm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sotm-price-card {
  display: grid;
  gap: 8px;
  min-height: 190px;
  border-radius: 8px;
  background: #dff0f2;
  padding: clamp(22px, 4vw, 32px);
  color: #1f2a33;
}

.sotm-price-card span {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.sotm-price-card strong {
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 5.1rem);
  font-weight: 400;
  line-height: 0.9;
}

.sotm-price-card-featured {
  background: #1f61aa;
  color: #fff;
}

.sotm-price-card-featured strong,
.sotm-price-card-featured p {
  color: #fff;
}

.sotm-classes-page details {
  border: 1px solid rgba(31, 97, 170, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  padding: 16px;
}

.sotm-classes-page summary {
  color: #1f61aa;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.sotm-home-return-section {
  justify-items: center;
  text-align: center;
}

.sotm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sotm-page-button {
  display: inline-block;
  border-radius: 999px;
  background: #357dd5;
  color: #fff !important;
  padding: 12px 18px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  text-decoration: none !important;
}

.sotm-page-button.secondary {
  background: #fff;
  border: 1px solid rgba(53, 125, 213, 0.34);
  color: #265fa8 !important;
}

.sotm-page-note {
  color: #55616b;
  font-size: 0.95rem;
}

.sotm-back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: #265fa8;
  font-weight: 700;
  text-decoration: none;
}

.sotm-lesson-hero {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(53, 125, 213, 0.16), rgba(162, 200, 205, 0.24));
  background-position: center;
  background-size: cover;
  display: grid;
  align-content: end;
  min-height: clamp(280px, 42vw, 430px);
  overflow: hidden;
  padding: clamp(24px, 5vw, 46px);
}

.sotm-has-lesson-image .sotm-lesson-hero {
  background-image:
    linear-gradient(90deg, rgba(16, 63, 118, 0.82) 0%, rgba(16, 63, 118, 0.48) 46%, rgba(16, 63, 118, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 63, 118, 0.52) 0%, rgba(16, 63, 118, 0.04) 58%),
    var(--sotm-lesson-image);
  color: #fff;
}

.sotm-lesson-hero h1,
.sotm-lesson-hero h2 {
  margin: 0 0 6px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.95;
}

.sotm-has-lesson-image .sotm-lesson-hero h1,
.sotm-has-lesson-image .sotm-lesson-hero h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(16, 63, 118, 0.22);
}

.sotm-has-lesson-image .sotm-partner-lesson .sotm-lesson-hero {
  box-sizing: border-box;
  aspect-ratio: 794 / 447;
  min-height: 0;
  background-image:
    linear-gradient(90deg, rgba(16, 63, 118, 0.82) 0%, rgba(16, 63, 118, 0.48) 46%, rgba(16, 63, 118, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 63, 118, 0.52) 0%, rgba(16, 63, 118, 0.04) 58%),
    var(--sotm-lesson-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sotm-site-footer {
  background: #eef0f1;
  border-top: 1px solid rgba(31, 42, 51, 0.12);
  padding: 32px 0;
}

.sotm-site-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.sotm-site-footer p {
  margin-bottom: 6px;
}

.sotm-site-footer nav,
.sotm-site-footer-contact {
  display: grid;
  gap: 8px;
}

.sotm-lesson-subtitle {
  margin: 0;
  font-family: Antonio, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  color: #3b4853;
}

.sotm-has-lesson-image .sotm-lesson-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.sotm-direct-email {
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  overflow-wrap: anywhere;
}

.sotm-direct-email a {
  color: #265fa8;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.sotm-benefit-list {
  margin: 0;
  padding-left: 18px;
}

.sotm-benefit-list li {
  margin: 0 0 8px;
}

.sotm-about-page {
  padding-top: 0;
}

.sotm-about-article {
  display: grid;
  gap: 0;
}

.sotm-about-title-band {
  background: linear-gradient(135deg, rgba(162, 200, 205, 0.46), rgba(243, 240, 234, 0.84));
}

.sotm-about-title-band h1 {
  color: #1f2a33;
}

.sotm-about-intro {
  width: min(980px, 92%);
  margin: 0 auto clamp(28px, 5vw, 56px);
}

.sotm-about-intro p {
  margin: 0;
  color: #2f3f4b;
  font-size: clamp(1.25rem, 2.6vw, 1.72rem);
  line-height: 1.55;
}

.sotm-about-place-photo {
  width: min(1120px, 92%);
  margin: 0 auto clamp(30px, 5vw, 60px);
}

.sotm-about-place-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 20px 52px rgba(31, 42, 51, 0.16);
}

.sotm-about-place-photo figcaption,
.sotm-founder-photo figcaption {
  margin-top: 10px;
  color: #5f6b74;
  font-family: "Quicksand", sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
}

.sotm-about-section {
  box-sizing: border-box;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  display: grid;
  gap: clamp(18px, 4vw, 42px);
  padding: clamp(46px, 7vw, 86px) max(4vw, calc((100vw - 1120px) / 2));
  background: #eef7f8;
  border-top: 1px solid rgba(31, 42, 51, 0.08);
}

.sotm-about-section:nth-of-type(even) {
  background: #f3f0ea;
}

.sotm-about-section-grid,
.sotm-about-founder {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
}

.sotm-about-founder {
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  align-items: start;
  background: #edf3f7;
}

.sotm-about-copy {
  max-width: 100%;
  display: grid;
  gap: 16px;
}

.sotm-about-copy h2 {
  margin: 0;
  color: #397681;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.sotm-about-copy p {
  margin: 0;
  color: #2f3f4b;
  font-size: 1.03rem;
  text-wrap: pretty;
  line-height: 1.74;
}

.sotm-about-statement {
  box-sizing: border-box;
  width: min(100%, 520px);
  min-height: clamp(220px, 24vw, 340px);
  border-left: 6px solid #a2c8cd;
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  align-items: center;
  box-shadow: 0 18px 44px rgba(31, 42, 51, 0.08);
}

.sotm-about-statement strong {
  display: block;
  color: #1f2a33;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.05rem);
  font-weight: 300;
  line-height: 1.08;
}

.sotm-founder-signature {
  margin-top: 8px !important;
  display: grid;
  gap: 2px;
}

.sotm-founder-signature strong {
  color: #1f2a33;
  font-family: "Quicksand", sans-serif;
}

.sotm-founder-signature span {
  color: #5f6b74;
}

.sotm-about-more {
  grid-template-columns: 1fr;
  align-items: start;
  background: linear-gradient(180deg, #f8fbfa 0%, #eef7f8 100%);
}

.sotm-about-more .sotm-about-copy {
  max-width: 100%;
}

.sotm-about-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px);
}

.sotm-about-more-card {
  box-sizing: border-box;
  position: relative;
  min-width: 0;
  min-height: 420px;
  border: 2px solid rgba(162, 200, 205, 0.95);
  border-top: 8px solid #a2c8cd;
  border-radius: 8px;
  background: #fffdf9;
  color: #1f2a33;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(31, 42, 51, 0.08);
}

.sotm-about-more-card:hover {
  border-color: rgba(162, 200, 205, 1);
  box-shadow: 0 12px 30px rgba(31, 42, 51, 0.1);
}

.sotm-about-more-logo {
  box-sizing: border-box;
  width: 100%;
  min-height: 132px;
  margin: 0;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
}

.sotm-about-more-logo img {
  display: block;
  max-width: 100%;
  max-height: 112px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sotm-about-more-card h3 {
  margin: 0;
  color: #397681;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.22;
}

.sotm-about-more-card p {
  margin: 0;
  color: #2f3f4b;
  line-height: 1.62;
}

.sotm-about-more-actions {
  display: grid;
  gap: 14px;
  align-self: end;
}

.sotm-about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sotm-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(31, 42, 51, 0.12);
  border-radius: 999px;
  background: rgba(162, 200, 205, 0.3);
  color: #1f2a33;
  display: inline-grid;
  place-items: center;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.sotm-social-link:hover {
  background: #a2c8cd;
  color: #1f2a33;
}

.sotm-social-link.is-disabled {
  opacity: 0.42;
}

.sotm-about-more-button {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: #1f61aa;
  color: #fff;
  padding: 11px 15px;
  font-family: "Quicksand", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.sotm-about-more-button:hover {
  background: #397681;
  color: #fff;
}

.sotm-about-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sotm-about-card-list span {
  border-radius: 8px;
  background: #fff;
  color: #1f2a33;
  padding: 18px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(31, 42, 51, 0.07);
}

.sotm-about-section-coop {
  background: linear-gradient(135deg, rgba(130, 97, 226, 0.14), rgba(162, 200, 205, 0.28));
}

.sotm-founder-placeholder {
  position: sticky;
  top: 112px;
  min-height: clamp(360px, 48vw, 620px);
  margin: 0;
  border-radius: 8px;
  display: grid;
  place-items: end start;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #a2c8cd 0%, #397681 100%);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 44px rgba(31, 42, 51, 0.12);
}

.sotm-founder-placeholder span {
  max-width: 8ch;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.sotm-founder-photo {
  position: sticky;
  top: 112px;
  margin: 0;
}

.sotm-founder-photo img {
  display: block;
  width: 100%;
  height: clamp(420px, 54vw, 660px);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 44px rgba(31, 42, 51, 0.14);
}

.sotm-individual-page {
  padding-top: 0;
}

.sotm-individual-article {
  display: grid;
  gap: 0;
}

.sotm-individual-title-band {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vw, 560px);
  overflow: hidden;
  background: #12394a;
  border-bottom: 0;
}

.sotm-individual-title-band::before,
.sotm-individual-title-band::after {
  position: absolute;
  inset: 0;
  content: "";
}

.sotm-individual-title-band::before {
  background: url("../images/zajecia-indywidualne-piano.jpg") center / cover no-repeat;
  filter: contrast(1.2) saturate(1.08) brightness(1.08);
  transform: scale(1.015);
}

.sotm-individual-title-band::after {
  background: linear-gradient(90deg, rgba(7, 30, 40, 0.58) 0%, rgba(10, 72, 92, 0.26) 44%, rgba(8, 22, 30, 0.2) 100%);
}

.sotm-individual-title-band > div {
  position: relative;
  z-index: 1;
}

.sotm-individual-title-band h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.sotm-individual-title-band .sotm-breadcrumbs,
.sotm-individual-title-band .sotm-breadcrumbs a,
.sotm-individual-title-band .sotm-page-kicker,
.sotm-individual-title-band .sotm-events-intro {
  color: rgba(255, 255, 255, 0.92);
}

.sotm-individual-title-band .sotm-breadcrumbs a:hover {
  color: #fff;
}

.sotm-individual-intro,
.sotm-individual-lessons,
.sotm-individual-pricing,
.sotm-partner-lessons-section,
.sotm-individual-signup {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.sotm-individual-intro {
  padding: 0 0 clamp(28px, 5vw, 54px);
}

.sotm-individual-intro h2,
.sotm-individual-section-heading h2,
.sotm-individual-signup h2 {
  margin: 0;
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.sotm-individual-intro p,
.sotm-individual-section-heading p,
.sotm-individual-signup p {
  max-width: 100%;
  margin: 12px 0 0;
  color: #2f3f4b;
  font-size: 1.04rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.sotm-individual-lessons {
  display: grid;
  gap: 18px;
}

.sotm-individual-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(18px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 16px 38px rgba(31, 42, 51, 0.08);
}

.sotm-individual-card:nth-child(2n) {
  background: #eef7f8;
}

.sotm-individual-card-main {
  display: grid;
  align-content: start;
  gap: 12px;
}

.sotm-individual-card-subtitle {
  margin: 0;
  color: #397681;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sotm-individual-card h2 {
  margin: 0;
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.sotm-individual-card p {
  margin: 0;
  color: #2f3f4b;
  line-height: 1.7;
}

.sotm-individual-for {
  border-left: 4px solid #357dd5;
  border-radius: 8px;
  background: rgba(53, 125, 213, 0.08);
  padding: 14px 16px;
}

.sotm-individual-benefits {
  align-self: start;
  border-radius: 8px;
  background: #1f61aa;
  color: #fff;
  padding: clamp(20px, 3vw, 28px);
}

.sotm-individual-benefits h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.sotm-individual-benefits ul {
  margin: 0;
  padding-left: 20px;
}

.sotm-individual-benefits li {
  margin-bottom: 9px;
  line-height: 1.55;
}

.sotm-individual-benefits li:last-child {
  margin-bottom: 0;
}

.sotm-song-studio-card {
  background: linear-gradient(135deg, rgba(53, 125, 213, 0.12), rgba(162, 200, 205, 0.28));
}

.sotm-song-studio-details {
  margin-top: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
}

.sotm-song-studio-details summary {
  color: #1f61aa;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.sotm-song-studio-details div {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.sotm-individual-pricing,
.sotm-partner-lessons-section,
.sotm-individual-signup {
  padding: clamp(46px, 7vw, 78px) 0 0;
}

.sotm-individual-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  margin-top: 18px;
}

.sotm-individual-price-table thead {
  display: none;
}

.sotm-individual-price-table tbody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sotm-individual-price-table tr {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background: #dff0f2;
  padding: clamp(22px, 4vw, 32px);
}

.sotm-individual-price-table tr:nth-child(2) {
  background: #1f61aa;
  color: #fff;
}

.sotm-individual-price-table td {
  border: 0;
  padding: 0;
}

.sotm-individual-price-table td:first-child {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.sotm-individual-price-table td:last-child {
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
}

.sotm-individual-price-table tr:nth-child(2) td:last-child {
  color: #fff;
}

.sotm-partner-lessons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.sotm-partner-lesson-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: 8px;
  background: #fff;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 16px 38px rgba(31, 42, 51, 0.08);
}

.sotm-partner-lesson-card h3 {
  margin: 0;
  color: #1f61aa;
  font-family: "Quicksand", sans-serif;
  font-size: 1.22rem;
  line-height: 1.25;
}

.sotm-partner-lesson-card p,
.sotm-partner-lesson-description p {
  margin: 0;
  color: #2f3f4b;
  line-height: 1.62;
}

.sotm-partner-lesson-card a {
  color: #1f61aa;
  font-weight: 700;
}

.sotm-partner-lesson-card-orange {
  border: 1px solid rgba(117, 50, 25, 0.16);
  background: #e8845a;
  box-shadow: 0 16px 38px rgba(166, 74, 36, 0.2);
}

.sotm-partner-lesson-card-orange h3,
.sotm-partner-lesson-card-orange p,
.sotm-partner-lesson-card-orange .sotm-partner-lesson-description p,
.sotm-partner-lesson-card-orange a {
  color: #1f2a33;
}

.sotm-partner-lesson-card-orange a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sotm-individual-signup {
  margin-top: clamp(46px, 7vw, 78px);
  margin-bottom: clamp(46px, 7vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 8px;
  background: #f3f0ea;
  padding: clamp(24px, 5vw, 42px);
}

.sotm-courses-page,
.sotm-course-single-page,
.sotm-contact-page-v2 {
  padding-top: 0;
}

.sotm-courses-title-band,
.sotm-contact-title-band {
  background: linear-gradient(135deg, rgba(53, 125, 213, 0.18), rgba(162, 200, 205, 0.34));
}

.sotm-courses-title-band h1,
.sotm-contact-title-band h1 {
  color: #1f61aa;
}

.sotm-courses-list {
  width: min(1120px, 92%);
  margin: 0 auto clamp(54px, 8vw, 90px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.sotm-course-card {
  box-sizing: border-box;
  min-width: 0;
  display: grid;
  gap: 20px;
  align-content: space-between;
  border: 1px solid rgba(31, 97, 170, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 16px 38px rgba(31, 42, 51, 0.08);
}

.sotm-course-card .sotm-page-button {
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.sotm-course-card:nth-child(2n) {
  background: #eef7f8;
}

.sotm-course-card-orange,
.sotm-course-card-orange:nth-child(2n) {
  border-color: rgba(117, 50, 25, 0.16);
  background: rgba(232, 132, 90, 0.12);
  box-shadow: 0 16px 38px rgba(166, 74, 36, 0.2);
}

.sotm-course-card-orange h2,
.sotm-course-card-orange p,
.sotm-course-card-orange a,
.sotm-course-card-orange .sotm-course-price {
  color: #1f2a33 !important;
}

.sotm-course-card-michal,
.sotm-course-card-michal:nth-child(2n) {
  border-color: rgba(229, 115, 115, 0.32);
  background: #fff0f0;
  box-shadow: 0 16px 38px rgba(143, 48, 48, 0.14);
}

.sotm-course-card-michal h2,
.sotm-course-card-michal .sotm-course-price {
  color: #8f3030 !important;
}

.sotm-course-card-michal .sotm-page-button {
  border-color: #e57373;
  background: #e57373;
  color: #111 !important;
}

.sotm-courses-page .sotm-course-card .sotm-page-button {
  border-color: #357dd5;
  background: #357dd5;
  color: #fff !important;
}

.sotm-course-card h2,
.sotm-course-hero h1,
.sotm-course-band h2,
.sotm-course-details-card h2,
.sotm-course-signup h2,
.sotm-contact-details h2,
.sotm-contact-form h2,
.sotm-invoice-section h2 {
  margin: 0;
  color: #1f61aa;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.sotm-course-card h2 {
  font-size: clamp(2.1rem, 3vw, 3.15rem);
  overflow-wrap: break-word;
}

.sotm-course-card p,
.sotm-course-card a,
.sotm-course-single-grid p,
.sotm-course-band p,
.sotm-course-signup p,
.sotm-contact-layout p,
.sotm-contact-form label,
.sotm-invoice-section p {
  color: #2f3f4b;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.sotm-course-card-body {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.sotm-course-instructor,
.sotm-course-price {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.sotm-course-price {
  color: #1f61aa !important;
}

.sotm-course-hero {
  box-sizing: border-box;
  width: min(1120px, 92%);
  margin: 0 auto clamp(34px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: clamp(20px, 4vw, 42px);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #dff0f2, #f3f0ea);
  box-shadow: 0 18px 44px rgba(31, 97, 170, 0.12);
}

.sotm-course-hero-copy {
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(26px, 5vw, 52px);
}

.sotm-course-hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  overflow-wrap: anywhere;
}

.sotm-course-title-compact .sotm-course-hero h1 {
  font-size: clamp(3rem, 5.4vw, 5.3rem);
  overflow-wrap: break-word;
}

.sotm-course-hero-media {
  min-height: clamp(260px, 35vw, 440px);
  margin: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #357dd5, #1f61aa);
}

.sotm-course-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sotm-course-hero-media span {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
}

.sotm-course-single-grid {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.sotm-course-single-grid .sotm-editorial-content {
  width: 100%;
  margin: 0;
}

.sotm-course-details-card {
  border-left: 4px solid #357dd5;
  border-radius: 8px;
  background: rgba(53, 125, 213, 0.08);
  padding: clamp(22px, 4vw, 32px);
}

.sotm-course-details-card h2,
.sotm-course-signup h2,
.sotm-contact-details h2,
.sotm-contact-form h2,
.sotm-invoice-section h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.sotm-course-details-card dl,
.sotm-invoice-section dl {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.sotm-course-details-card dt,
.sotm-invoice-section dt {
  color: #397681;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sotm-course-details-card dd,
.sotm-invoice-section dd {
  margin: 0;
  color: #1f2a33;
  line-height: 1.5;
}

.sotm-course-band,
.sotm-course-signup {
  box-sizing: border-box;
  width: min(1120px, 92%);
  margin: clamp(38px, 6vw, 68px) auto 0;
  border-radius: 8px;
  background: #eef7f8;
  padding: clamp(24px, 5vw, 42px);
}

.sotm-course-band h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.sotm-course-list-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.sotm-course-list-cards p {
  margin: 0;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(31, 42, 51, 0.06);
}

.sotm-course-accent-orange {
  background: linear-gradient(180deg, #fff 0%, rgba(232, 132, 90, 0.08) 100%);
}

.sotm-course-accent-orange .sotm-course-hero {
  background: linear-gradient(135deg, rgba(232, 132, 90, 0.26), #f7eee9);
  box-shadow: 0 18px 44px rgba(166, 74, 36, 0.18);
}

.sotm-course-accent-orange .sotm-course-hero-media {
  background: #e8845a;
}

.sotm-course-accent-orange .sotm-course-hero-media span,
.sotm-course-accent-orange .sotm-course-signup p {
  color: #1f2a33;
}

.sotm-course-accent-orange .sotm-course-hero h1,
.sotm-course-accent-orange .sotm-course-band h2,
.sotm-course-accent-orange .sotm-course-details-card h2,
.sotm-course-accent-orange .sotm-course-signup h2 {
  color: #a94421;
}

.sotm-course-accent-orange .sotm-course-details-card {
  border-left-color: #e8845a;
  background: rgba(232, 132, 90, 0.12);
}

.sotm-course-accent-orange .sotm-course-details-card dt {
  color: #91401f;
}

.sotm-course-accent-orange .sotm-course-band,
.sotm-course-accent-orange .sotm-course-signup {
  background: #fff1eb;
}

.sotm-course-accent-orange .sotm-page-button:not(.secondary) {
  border-color: #e8845a;
  background: #e8845a;
  color: #1f2a33;
}

.sotm-course-accent-michal {
  background: linear-gradient(180deg, #fff 0%, rgba(229, 115, 115, 0.08) 100%);
}

.sotm-course-accent-michal .sotm-course-hero {
  background: linear-gradient(135deg, rgba(229, 115, 115, 0.22), #fff0f0);
  box-shadow: 0 18px 44px rgba(143, 48, 48, 0.16);
}

.sotm-course-accent-michal .sotm-course-hero-media {
  background: #e57373;
}

.sotm-course-accent-michal .sotm-course-hero h1,
.sotm-course-accent-michal .sotm-course-band h2,
.sotm-course-accent-michal .sotm-course-details-card h2,
.sotm-course-accent-michal .sotm-course-signup h2,
.sotm-course-accent-michal .sotm-editorial-content > h2,
.sotm-course-accent-michal .sotm-editorial-content > h3,
.sotm-course-accent-michal .sotm-editorial-content > .wp-block-heading,
.sotm-course-accent-michal .sotm-page-kicker,
.sotm-course-accent-michal .sotm-breadcrumbs a,
.sotm-course-accent-michal .sotm-editorial-content a {
  color: #8f3030;
}

.sotm-course-accent-michal .sotm-editorial-content > p,
.sotm-course-accent-michal .sotm-editorial-content > ul,
.sotm-course-accent-michal .sotm-editorial-content > ol,
.sotm-course-accent-michal .sotm-editorial-content > figure,
.sotm-course-accent-michal .sotm-editorial-content > .wp-block-group {
  border-left-color: #e57373;
  background: rgba(229, 115, 115, 0.08);
}

.sotm-course-accent-michal .sotm-course-signup p {
  color: #1f2a33;
}

.sotm-course-accent-michal .sotm-course-details-card {
  border-left-color: #e57373;
  background: rgba(229, 115, 115, 0.12);
}

.sotm-course-accent-michal .sotm-course-details-card dt {
  color: #7b2929;
}

.sotm-course-accent-michal .sotm-course-band,
.sotm-course-accent-michal .sotm-course-signup {
  background: #fff0f0;
}

.sotm-course-accent-michal .sotm-page-button:not(.secondary) {
  border-color: #e57373;
  background: #e57373;
  color: #111;
}

.sotm-justyna-brand,
.sotm-partner-card.sotm-partner-justyna {
  --sotm-partner-accent: #e8845a;
  --sotm-partner-dark: #a94421;
  --sotm-partner-rgb: 232, 132, 90;
  --sotm-partner-surface: #fff1eb;
  --sotm-partner-surface-alt: #f7eee9;
  --sotm-partner-on-accent: #1f2a33;
}

.sotm-jagoda-brand,
.sotm-partner-card.sotm-partner-jagoda {
  --sotm-partner-accent: #b1aaa0;
  --sotm-partner-dark: #665f56;
  --sotm-partner-rgb: 177, 170, 160;
  --sotm-partner-surface: #f5f3f0;
  --sotm-partner-surface-alt: #ebe7e2;
  --sotm-partner-on-accent: #1f2a33;
}

.sotm-tomasz-brand,
.sotm-partner-card.sotm-partner-tomasz {
  --sotm-partner-accent: #007a3f;
  --sotm-partner-dark: #005a2e;
  --sotm-partner-rgb: 0, 122, 63;
  --sotm-partner-surface: #edf7f2;
  --sotm-partner-surface-alt: #deeee6;
  --sotm-partner-on-accent: #fff;
}

.sotm-michal-brand,
.sotm-partner-card.sotm-partner-michal {
  --sotm-partner-accent: #e57373;
  --sotm-partner-dark: #8f3030;
  --sotm-partner-rgb: 229, 115, 115;
  --sotm-partner-surface: #fff0f0;
  --sotm-partner-surface-alt: #ffe3e3;
  --sotm-partner-on-accent: #111;
}

.sotm-partner-brand {
  background: linear-gradient(180deg, #fff 0%, rgba(var(--sotm-partner-rgb), 0.08) 100%);
}

.sotm-partner-brand .sotm-back-link {
  color: var(--sotm-partner-dark);
}

.sotm-has-lesson-image .sotm-partner-brand .sotm-lesson-hero {
  background-image:
    linear-gradient(90deg, rgba(31, 42, 51, 0.78) 0%, rgba(31, 42, 51, 0.4) 46%, rgba(31, 42, 51, 0.1) 100%),
    linear-gradient(0deg, rgba(31, 42, 51, 0.48) 0%, rgba(31, 42, 51, 0.03) 58%),
    var(--sotm-lesson-image);
  box-shadow: 0 18px 44px rgba(var(--sotm-partner-rgb), 0.24);
}

.sotm-has-lesson-image .sotm-partner-brand .sotm-lesson-hero h1,
.sotm-has-lesson-image .sotm-partner-brand .sotm-lesson-hero h2 {
  text-shadow: 0 2px 18px rgba(31, 42, 51, 0.46);
}

.sotm-sectioned-page .sotm-content-page.sotm-partner-brand > .sotm-page-section {
  border-top-color: rgba(var(--sotm-partner-rgb), 0.18);
  background: var(--sotm-partner-surface);
}

.sotm-sectioned-page .sotm-content-page.sotm-partner-brand > .sotm-page-section:nth-of-type(even) {
  background: var(--sotm-partner-surface-alt);
}

.sotm-sectioned-page .sotm-content-page.sotm-partner-brand > .sotm-page-section:nth-of-type(3n) {
  background: rgba(var(--sotm-partner-rgb), 0.09);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-page-section h1,
.sotm-sectioned-page .sotm-partner-brand .sotm-page-section h2,
.sotm-sectioned-page .sotm-partner-brand .sotm-page-section h3 {
  color: var(--sotm-partner-dark);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-page-section h3 {
  border-bottom-color: var(--sotm-partner-accent);
}

.sotm-partner-brand .sotm-lesson-info-card {
  border-left: 4px solid var(--sotm-partner-accent);
  background: rgba(var(--sotm-partner-rgb), 0.13);
  color: #1f2a33;
  box-shadow: 0 14px 30px rgba(var(--sotm-partner-rgb), 0.16);
}

.sotm-partner-brand .sotm-lesson-info-card strong {
  color: var(--sotm-partner-dark);
}

.sotm-partner-brand .sotm-lesson-info-card div,
.sotm-partner-brand .sotm-lesson-info-card p,
.sotm-partner-brand .sotm-lesson-info-card li {
  color: #1f2a33;
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table tr {
  border-left: 4px solid var(--sotm-partner-accent);
  background: rgba(var(--sotm-partner-rgb), 0.13);
  box-shadow: 0 14px 30px rgba(var(--sotm-partner-rgb), 0.16);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table tr:nth-child(even) {
  background: var(--sotm-partner-accent);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table td {
  color: #1f2a33;
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table tr:nth-child(even) td {
  color: var(--sotm-partner-on-accent);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table td::before {
  color: var(--sotm-partner-dark);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table tr:nth-child(even) td::before {
  color: var(--sotm-partner-on-accent);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table tbody {
  grid-template-columns: 1fr;
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table td:nth-child(1)::before {
  content: "Termin";
}

.sotm-sectioned-page .sotm-partner-brand .sotm-schedule-table td:nth-child(2)::before {
  content: "Prowadzi";
}

.sotm-sectioned-page .sotm-partner-brand .sotm-price-table tr {
  border-left: 4px solid var(--sotm-partner-accent);
  background: rgba(var(--sotm-partner-rgb), 0.13);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-price-table tr:nth-child(even) {
  background: var(--sotm-partner-accent);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-price-table td:last-child {
  color: var(--sotm-partner-dark);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-price-table tr:nth-child(even) td,
.sotm-sectioned-page .sotm-partner-brand .sotm-price-table tr:nth-child(even) td:last-child {
  color: var(--sotm-partner-on-accent);
}

.sotm-partner-brand .sotm-page-button:not(.secondary) {
  border-color: var(--sotm-partner-accent);
  background: var(--sotm-partner-accent);
  color: var(--sotm-partner-on-accent) !important;
}

.sotm-partner-brand .sotm-page-button.secondary {
  border-color: rgba(var(--sotm-partner-rgb), 0.72);
  background: #fff;
  color: var(--sotm-partner-dark) !important;
}

.sotm-partner-brand .sotm-instructor-profile-card {
  box-sizing: border-box;
  width: min(900px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  background: var(--sotm-partner-accent);
  padding: clamp(24px, 5vw, 42px);
  color: var(--sotm-partner-on-accent);
  overflow-wrap: anywhere;
  box-shadow: 0 18px 42px rgba(var(--sotm-partner-rgb), 0.22);
}

.sotm-sectioned-page .sotm-partner-brand .sotm-instructor-profile-card h2,
.sotm-sectioned-page .sotm-partner-brand .sotm-instructor-profile-card p,
.sotm-sectioned-page .sotm-partner-brand .sotm-instructor-profile-card blockquote,
.sotm-sectioned-page .sotm-partner-brand .sotm-instructor-profile-card a {
  color: var(--sotm-partner-on-accent);
}

.sotm-partner-brand .sotm-instructor-profile-card blockquote {
  margin: 18px 0;
  border-left: 4px solid currentColor;
  padding-left: 18px;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.65;
}

.sotm-partner-brand .sotm-instructor-profile-card a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sotm-instructor-profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.sotm-instructor-profiles .sotm-instructor-profile-card {
  width: 100%;
  margin: 0;
}

.sotm-course-benefits-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  background: #f3f0ea;
}

.sotm-course-benefits {
  margin: 18px 0 0;
  padding-left: 20px;
}

.sotm-course-benefits li {
  margin-bottom: 8px;
  color: #2f3f4b;
  line-height: 1.62;
}

.sotm-course-signup {
  margin-bottom: clamp(46px, 7vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #1f61aa;
}

.sotm-course-signup h2,
.sotm-course-signup p {
  color: #fff;
}

.sotm-contact-layout {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.sotm-contact-details,
.sotm-contact-form,
.sotm-invoice-section {
  box-sizing: border-box;
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 16px 38px rgba(31, 42, 51, 0.08);
}

.sotm-contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.sotm-contact-detail-grid p {
  margin: 0;
  border-radius: 8px;
  background: rgba(162, 200, 205, 0.2);
  padding: 16px;
}

.sotm-contact-detail-grid .sotm-contact-combined {
  grid-column: span 2;
}

.sotm-contact-detail-grid strong,
.sotm-contact-detail-grid span,
.sotm-contact-detail-grid a {
  display: block;
}

.sotm-contact-detail-grid strong {
  color: #397681;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.sotm-contact-detail-grid a {
  color: #1f61aa;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sotm-contact-detail-grid .sotm-contact-socials a {
  display: inline;
}

.sotm-contact-form {
  display: grid;
  gap: 14px;
  background: #eef7f8;
}

.sotm-contact-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.sotm-contact-form input,
.sotm-contact-form select,
.sotm-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(31, 42, 51, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: #1f2a33;
  font: inherit;
}

.sotm-form-hint {
  margin: -4px 0 0;
  border-left: 4px solid #357dd5;
  border-radius: 8px;
  background: rgba(53, 125, 213, 0.08);
  padding: 12px 14px;
  font-size: 0.92rem;
}

.sotm-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500 !important;
}

.sotm-consent input {
  width: auto;
  margin-top: 5px;
}

.sotm-form-status {
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.sotm-form-status.success {
  background: rgba(162, 200, 205, 0.35);
}

.sotm-form-status.error {
  background: rgba(130, 97, 226, 0.14);
}

.sotm-hp-field {
  position: absolute;
  left: -9999px;
}

.sotm-invoice-section {
  width: min(1120px, 92%);
  margin: clamp(42px, 7vw, 72px) auto clamp(46px, 7vw, 78px);
  background: #f3f0ea;
  box-shadow: none;
}

.sotm-invoice-section dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .sotm-site-header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .sotm-site-nav {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .sotm-info-grid,
  .sotm-card-grid,
  .sotm-next-grid,
  .sotm-events-page .sotm-archive-list,
  .sotm-pricing-grid,
  .sotm-sectioned-page .sotm-price-table tbody,
  .sotm-sectioned-page .sotm-schedule-table tbody,
  .sotm-site-footer-inner,
  .sotm-event-hero,
  .sotm-event-detail-section,
  .sotm-about-section-grid,
  .sotm-about-founder,
  .sotm-about-more,
  .sotm-about-more-grid,
  .sotm-individual-card,
  .sotm-individual-price-table tbody,
  .sotm-partner-lessons-grid,
  .sotm-courses-list,
  .sotm-course-hero,
  .sotm-course-single-grid,
  .sotm-course-list-cards,
  .sotm-instructor-profiles,
  .sotm-contact-layout,
  .sotm-contact-detail-grid,
  .sotm-invoice-section dl {
    grid-template-columns: 1fr;
  }

  .sotm-events-section-heading,
  .sotm-event-signup,
  .sotm-individual-signup,
  .sotm-course-benefits-band,
  .sotm-course-signup {
    align-items: stretch;
    flex-direction: column;
  }

  .sotm-event-hero-media {
    min-height: 260px;
    order: -1;
  }

  .sotm-event-detail-card,
  .sotm-founder-placeholder,
  .sotm-founder-photo,
  .sotm-course-details-card {
    position: static;
  }

  .sotm-about-card-list {
    grid-template-columns: 1fr;
  }

  .sotm-about-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .sotm-about-more-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .sotm-about-more-card h3 {
    overflow-wrap: anywhere;
  }

  .sotm-about-founder .sotm-founder-placeholder,
  .sotm-about-founder .sotm-founder-photo {
    order: -1;
  }

  .sotm-page-container {
    padding: 20px;
  }

  .sotm-contact-detail-grid .sotm-contact-combined {
    grid-column: auto;
  }

  .sotm-sectioned-page {
    padding: 0;
  }

  .sotm-classes-overview-page {
    padding: 0;
  }

  .sotm-classes-page .sotm-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-sizing: border-box;
    width: min(1120px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
  }

  .sotm-classes-page .sotm-section-nav a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sotm-classes-page #partnerzy .sotm-partner-card {
    grid-column: 1 / -1;
  }

  .sotm-classes-page .sotm-page-section,
  .sotm-classes-page .sotm-schedule-image {
    max-width: 100%;
  }

  .sotm-classes-page .sotm-schedule-section {
    overflow-x: hidden;
  }

  .sotm-classes-page .sotm-schedule-image {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }

  .sotm-classes-page .sotm-schedule-image-link {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(100vw - 40px);
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .sotm-classes-page .sotm-schedule-image img {
    width: 980px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .sotm-site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .sotm-site-nav a {
    min-width: 0;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .sotm-about-more-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sotm-about-more-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .sotm-events-page .sotm-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
