@import url("https://lib.arvancloud.ir/vazir-font/33.003/Vazirmatn-font-face.css");

:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-bright: #fcfbf7;
  --ink: #17231f;
  --ink-soft: #35413b;
  --muted: #707a72;
  --line: #deded4;
  --pine: #173c32;
  --pine-deep: #102b24;
  --orange: #e85d3f;
  --orange-soft: #f5e1d8;
  --lime: #d7ed9f;
  --white: #fffefa;
  --home-surface: #fffefa;
  --home-surface-soft: #fafbf7;
  --radius: 18px;
  --shadow: 0 22px 65px rgba(27, 38, 31, .12);
  --font-persian: "Vazirmatn", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: fixed;
  z-index: 5000;
  top: .75rem;
  right: .75rem;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  z-index: 1200;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--pine);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(16, 43, 36, .22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--orange);
  outline: none;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  padding-top: 0 !important;
  overflow-x: hidden;
  background: var(--paper) !important;
  color: var(--ink);
  font-family: var(--font-persian) !important;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-persian) !important;
}

img {
  max-width: 100%;
}

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:hover {
  color: var(--orange);
}

::selection {
  color: var(--white);
  background: var(--pine);
}

.container {
  width: min(100% - 48px, 1240px);
  max-width: 1240px;
  padding-right: 0;
  padding-left: 0;
}

.navbar {
  position: sticky !important;
  z-index: 1030;
  top: 0;
  right: auto;
  left: auto;
  display: block;
  height: auto !important;
  min-height: 78px;
  padding: 0 !important;
  background: rgba(252, 251, 247, .94) !important;
  border: 0;
  border-bottom: 1px solid rgba(23, 35, 31, .1);
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.navbar .container {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.navbar-brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: .75rem;
  margin: 0;
  padding: 0;
  color: var(--ink) !important;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--paper-bright);
  background: var(--pine);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 1.06rem;
  font-weight: 900;
}

.brand-copy small {
  margin-top: .18rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 500;
}

.navbar-brand h2 {
  margin: 0;
  padding: 0 0 0 2rem;
  color: var(--ink) !important;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 1.06rem !important;
  font-weight: 900;
  letter-spacing: 0;
}

.navbar-brand h2 i {
  color: var(--orange) !important;
  -webkit-text-fill-color: currentColor;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.navbar-nav .nav-link,
.navbar .nav-link {
  padding: .62rem .8rem !important;
  color: var(--ink-soft) !important;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 650;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar .nav-link:hover {
  color: var(--pine) !important;
  background: rgba(23, 60, 50, .08);
}

.navbar-toggler {
  width: 44px;
  height: 42px;
  padding: .4rem;
  border: 1px solid var(--line) !important;
  border-radius: 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(23, 60, 50, .12);
}

.navbar-toggler-icon {
  position: relative;
  background-image: none !important;
}

.navbar-toggler-icon::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -6px var(--ink), 0 6px var(--ink);
  content: "";
  transform: translateY(-50%);
}

.cta-button,
.btn.cta-button {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .72rem 1.15rem !important;
  color: var(--white) !important;
  background: var(--pine) !important;
  border: 1px solid var(--pine) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  transition: background-color .2s ease, border-color .2s ease !important;
}

.cta-button:hover,
.btn.cta-button:hover {
  color: var(--white) !important;
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 10px 24px rgba(23, 60, 50, .18) !important;
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  min-height: 650px;
  height: auto;
  padding: clamp(3.2rem, 7vw, 6.5rem) 0 5.2rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-bright) !important;
}

.hero-section::before {
  position: absolute;
  z-index: -1;
  top: -12rem;
  left: -9rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(23, 60, 50, .1);
  border-radius: 50%;
  background: none;
  opacity: 1;
  animation: none;
  content: "";
  pointer-events: none;
}

.hero-content.container {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  margin: 0 auto;
  padding: 0;
  text-align: right;
  animation: hero-arrive .75s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-eyebrow,
.hero-copy .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.2rem;
  color: var(--pine);
  font-size: .83rem;
  font-weight: 800;
}

.hero-eyebrow span {
  width: 27px;
  height: 2px;
  background: var(--orange);
}

.hero-content h1 {
  max-width: 680px;
  margin: 0 0 1.2rem;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -.065em;
  line-height: 1.08;
  text-shadow: none;
  animation: none;
}

.hero-content h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-content .lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.65vw, 1.19rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
  margin-top: 2rem;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font-size: .91rem;
  font-weight: 750;
  text-decoration: none;
}

.hero-secondary-link:hover {
  color: var(--orange);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin-top: 2.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 650;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.hero-proof i {
  color: var(--orange);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0 7% 0 0;
  width: 88%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 210px 210px 12px 12px;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 0;
  width: 88%;
  height: 60%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(0deg, rgba(16, 43, 36, .44), transparent);
  content: "";
  pointer-events: none;
}

.hero-detail-photo {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  left: 0;
  width: 39%;
  height: 40%;
  object-fit: cover;
  border: 8px solid var(--paper-bright);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(15, 30, 24, .18);
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 11%;
  display: grid;
  min-width: 210px;
  gap: .2rem;
  padding: 1rem 1.2rem;
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 43, 36, .2);
}

.hero-note span {
  color: var(--lime);
  font-size: .73rem;
}

.hero-note strong {
  font-size: 1.08rem;
}

.hero-note i {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  color: var(--lime);
  transform: translateY(-50%);
}

.hero-index {
  position: absolute;
  top: 0;
  left: 1%;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.hero-scroll {
  position: absolute;
  right: max(calc((100vw - 1240px) / 2), 24px);
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-scroll span {
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.content-placement-space {
  min-height: 110px;
  background: transparent;
}

section.py-5 {
  padding-top: clamp(4rem, 8vw, 7rem) !important;
  padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}

section.bg-dark,
.bg-dark,
footer.bg-dark {
  color: var(--ink);
  background: var(--paper) !important;
}

#schedule,
#contact {
  background: var(--paper-bright) !important;
}

#sports,
#branches {
  background: var(--paper) !important;
}

.section-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0 0 2.3rem;
  padding: 0 0 1.15rem;
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.35;
  text-align: right;
  animation: none !important;
}

.section-title::before {
  width: 5px;
  height: 1.1em;
  background: var(--orange);
  border-radius: 3px;
  content: "";
}

.section-title::after {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  margin-right: auto;
  color: var(--muted);
  background: none;
  font-size: .72rem;
  font-weight: 600;
  animation: none;
}

.section-title.grad,
.grad {
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.gradient {
  padding: 0;
  background: none !important;
  border: 0;
  box-shadow: none;
}

#schedule .table-responsive {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(27, 38, 31, .045);
}

.schedule-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  background: var(--white);
  font-size: .88rem;
}

.schedule-table th {
  padding: 1rem 1.15rem;
  color: var(--white);
  background: var(--pine);
  border: 0;
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-table td {
  padding: .88rem 1.15rem;
  color: var(--ink-soft);
  background: transparent;
  border-bottom: 1px solid #eeeee7;
  vertical-align: middle;
}

.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table tbody tr:hover td {
  background: #f7f5ef;
}

.free-time-row td {
  color: var(--pine) !important;
  background: #eef4e2 !important;
  font-weight: 750;
}

.free-time-badge,
.booking-highlight {
  color: var(--pine) !important;
}

#sports .row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

#sports .row > [class*="col-"] {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}

#sports .row > [class*="col-"]:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

#sports .feature-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 225px;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.3rem;
  overflow: hidden;
  color: var(--white);
  background: var(--pine);
  border: 0;
  border-radius: 8px;
  text-align: right;
  text-decoration: none;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}

#sports .row > [class*="col-"]:first-child .feature-card {
  min-height: 464px;
}

#sports .feature-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 27, 22, .9) 0%, rgba(11, 27, 22, .36) 45%, rgba(11, 27, 22, .04) 100%);
  content: "";
  transition: background .3s ease;
}

#sports .sport-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

#sports .feature-card:hover {
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

#sports .feature-card:hover .sport-image {
  transform: scale(1.06);
}

#sports .feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: .75rem;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 50%;
  font-size: 1rem;
}

#sports .feature-card h4 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.04rem, 1.6vw, 1.38rem);
  font-weight: 850;
}

.sports-more-links {
  margin: 1.4rem 0 0;
  padding: 1rem 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .88rem;
}

.sports-more-links a {
  display: inline-block;
  margin: .2rem .2rem;
  color: var(--pine);
  font-weight: 750;
  transition: color .25s ease, transform .25s ease, box-shadow .25s ease;
}

#about .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

#about .row > [class*="col-"] {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}

#about .colInh {
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.coach-card {
  display: grid;
  min-height: 260px;
  height: 100%;
  grid-template-columns: minmax(145px, .78fr) minmax(0, 1.22fr);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.coach-card:hover {
  border-color: rgba(23, 60, 50, .35);
  box-shadow: 0 18px 42px rgba(27, 38, 31, .09);
  transform: translateY(-4px);
}

.coach-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #e5e2d9;
}

.coach-card > div {
  align-self: center;
  padding: 1.25rem !important;
}

.spName {
  display: inline-flex;
  margin: 0;
  padding: .25rem .65rem;
  color: var(--pine);
  background: #eaf0dd;
  border-radius: 3px;
  font-size: .74rem;
  font-weight: 800;
}

.coach-card h3 {
  margin: .65rem 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.coach-card p,
.coach-card li {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.9;
}

.coach-card ul {
  margin: .5rem 0 0;
  padding: 0 1rem 0 0;
}

.coach-card li::marker {
  color: var(--orange);
}

.schedule-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.day-section {
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.day-section::before,
.class-card::before {
  display: none;
}

.day-header {
  padding: 1.3rem 1.5rem;
  color: var(--white);
  background: var(--pine);
  border: 0;
}

.day-header.even-day,
.day-header.odd-day {
  background: var(--pine);
}

.day-header h3 {
  margin: 0;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 850;
  text-shadow: none;
}

.day-header p {
  margin: .15rem 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .8rem;
}

.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 1.2rem;
}

.class-card {
  display: grid;
  min-height: 92px;
  grid-template-columns: 110px minmax(0, 1fr) 40px;
  align-items: center;
  gap: .9rem;
  padding: .85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.class-card.even,
.class-card.odd {
  border-right-color: var(--orange);
}

.class-card:hover {
  box-shadow: none;
}

.class-card:last-child {
  border-bottom: 0;
}

.class-time {
  margin: 0;
}

.time-badge {
  display: inline-block;
  padding: .35rem .55rem;
  color: var(--pine);
  background: #eaf0dd !important;
  border-radius: 5px;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}

.class-info h4 {
  margin: 0;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: .94rem;
  font-weight: 850;
}

.class-gender,
.class-coach,
.class-price {
  display: inline-block;
  margin: .1rem .5rem 0 0;
  color: var(--muted);
  font-size: .72rem;
}

.gender-icon {
  color: var(--orange);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.class-price {
  color: var(--orange);
  font-weight: 800;
}

.class-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--pine);
  background: #edf0e7;
  -webkit-text-fill-color: currentColor;
  border: 0;
  border-radius: 50%;
}

.branch-card,
.single-coach-card {
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.branch-card h2,
.branch-card h3,
.branch-card h4,
.single-coach-card h2 {
  margin: 0 0 .8rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
}

.branch-card p,
.single-coach-card p {
  color: var(--muted);
  line-height: 2;
}

.branch-icon {
  margin-left: .55rem;
  color: var(--orange);
}

.map-container {
  overflow: hidden;
  border-radius: 10px;
}

#contact .branch-card {
  min-height: 190px;
}

#contact .branch-card a {
  color: var(--pine);
  font-weight: 750;
  text-decoration: none;
}

#contact .text-white {
  color: var(--pine) !important;
}

.social-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: .25rem;
  color: var(--pine) !important;
  background: #e9eee2;
  border-radius: 50%;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.social-icon:hover {
  color: var(--white) !important;
  background: var(--orange);
  transform: translateY(-3px) scale(1.05);
}

#education .feature-card {
  max-width: 580px;
  min-height: 220px;
  align-items: flex-start;
  padding: 2rem;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: right;
}

#education .feature-card h3 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
}

#education .feature-card p {
  color: var(--muted);
}

footer,
footer.bg-dark {
  padding: 2rem 0 !important;
  color: rgba(255, 255, 255, .72) !important;
  background: var(--pine-deep) !important;
  text-align: center;
}

footer p {
  margin: .35rem 0;
}

footer a {
  color: var(--lime);
}

.coach-hero-section {
  position: relative;
  min-height: 390px;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 82% 18%, rgba(215, 237, 159, .16), transparent 28rem),
    linear-gradient(115deg, var(--pine-deep), var(--pine));
}

.coach-hero-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--orange);
  content: "";
}

.coach-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  text-align: right;
}

.coach-hero-content > p:first-child {
  display: inline-block;
  margin: 0 0 .9rem;
  padding: .25rem .7rem;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 3px;
  font-size: .76rem;
  font-weight: 800;
}

.coach-hero-content h1 {
  margin: 0 0 .8rem;
  color: var(--white);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.3;
  text-shadow: none;
}

.coach-hero-content p {
  max-width: 690px;
  color: rgba(255, 255, 255, .82);
}

.main-content {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.page-coach .coach-profile-header {
  overflow: hidden;
  border-radius: 10px;
}

.page-coach .coach-profile-header > div:first-child {
  min-height: 260px;
}

.page-coach .coach-profile-header img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.coach-achievements {
  padding-right: 1.25rem;
  color: var(--muted);
}

.coach-achievements li {
  padding: .3rem 0;
}

.coach-achievements li::marker {
  color: var(--orange);
}

.single-coach-card .p-4 {
  padding: clamp(1.25rem, 3vw, 2rem) !important;
}

.gallery-header {
  padding: 5.2rem 0 2.2rem;
  background: var(--pine) !important;
}

.gallery-header .section-title {
  justify-content: center;
  margin-bottom: .55rem;
  color: var(--white) !important;
  -webkit-text-fill-color: currentColor !important;
  text-align: center;
}

.gallery-header .section-title::before {
  background: var(--lime);
}

.gallery-header .text-white-50 {
  color: rgba(255, 255, 255, .74) !important;
}

.gallery-filter-section {
  position: sticky;
  z-index: 10;
  top: 78px;
  padding: 1rem 0;
  background: rgba(252, 251, 247, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.filter-btn {
  padding: .5rem .95rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-family: var(--font-persian);
  font-size: .82rem;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  background: var(--pine);
  border-color: var(--pine);
  box-shadow: none;
}

.gallery-grid-section {
  padding: 3rem 0 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  min-width: 0;
  overflow: hidden;
  background: var(--pine);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.gallery-item:nth-child(5n + 1) {
  grid-row: span 2;
}

.gallery-image-wrapper {
  min-height: 235px;
  height: 100%;
  background: #d6d8cf;
}

.gallery-item:nth-child(5n + 1) .gallery-image-wrapper {
  min-height: 490px;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-overlay {
  background: linear-gradient(0deg, rgba(13, 35, 28, .9), rgba(13, 35, 28, .03) 68%);
}

.gallery-category-badge {
  color: var(--pine-deep);
  background: var(--lime);
}

.gallery-modal {
  background: rgba(10, 20, 16, .94);
}

.modal-close {
  color: var(--white);
}

.gallery-nav {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

.gallery-nav:hover {
  background: var(--orange);
}

.education-page {
  --education-inline: var(--paper);
}

.education-page .header {
  padding: 3rem 0;
  color: var(--white);
  background: var(--pine);
  border: 0;
}

.education-page .header h1 {
  color: var(--white);
  font-weight: 900;
}

.education-page .header p {
  color: rgba(255, 255, 255, .78);
}

.education-page .logo {
  max-width: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.education-page .breadcrumb {
  margin: 1.25rem 0;
  background: transparent;
}

.education-page .row {
  margin-right: 0;
  margin-left: 0;
}

.education-page .breadcrumb-item,
.education-page .breadcrumb-item.active {
  color: var(--muted);
}

.education-page .breadcrumb-item a {
  color: var(--pine);
}

.education-page .video-wrapper,
.education-page .step {
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.education-page .video-description {
  color: var(--white) !important;
  background: var(--pine) !important;
}

.education-page .video-description h4 {
  color: var(--lime) !important;
}

.education-page .video-container {
  margin: 0;
}

.education-page .step {
  max-width: 900px;
  margin: 1.2rem auto;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.education-page .step-number {
  float: right;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-left: 15px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
}

.education-page .step-title {
  color: var(--pine);
  font-weight: 850;
}

.education-page .step p,
.education-page .step li {
  color: var(--ink-soft);
  line-height: 2;
}

.education-page .step ul {
  padding-right: 1.25rem;
}

.education-page .media-container img {
  max-width: 100%;
  border-radius: 8px;
}

.education-page .media-unavailable {
  padding: 1rem;
  color: var(--muted);
  background: #f0eee7;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.education-page .btn-home {
  color: var(--white);
  background: var(--pine);
}

.education-page footer {
  color: rgba(255, 255, 255, .76);
  background: var(--pine-deep);
}

.page-coach .navbar + section,
.page-coach .navbar + header {
  margin-top: 0;
}

.page-coach > .coach-hero-section {
  margin-top: 0;
}

.page-coach .container .text-white {
  color: var(--ink-soft) !important;
}

.page-coach table {
  color: var(--ink);
}

.page-coach .table,
.education-page .table {
  --bs-table-bg: var(--paper-bright);
  --bs-table-color: var(--ink);
  --bs-table-border-color: var(--line);
}

.page-coach .table thead,
.education-page .table thead {
  color: var(--white);
  background: var(--pine);
}

.page-coach .table thead th,
.education-page .table thead th {
  color: inherit;
}

.page-coach .card {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.random-page .container {
  width: min(90%, 500px);
  max-width: 500px;
  margin: 150px auto 20px;
  padding: 2rem;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.random-page h1,
.random-page #result {
  color: var(--pine) !important;
  text-shadow: none !important;
}

.random-page button {
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  box-shadow: none;
}

.random-page input {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.aos-animate {
  will-change: auto;
}

.motion-ready [data-aos] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .25, 1);
}

.motion-ready [data-aos="fade-left"] {
  transform: translate3d(0, 24px, 0);
}

.motion-ready [data-aos].aos-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready #sports .row > [class*="col-"]:nth-child(3n) {
  transition-delay: .08s;
}

.motion-ready #sports .row > [class*="col-"]:nth-child(3n + 1) {
  transition-delay: .16s;
}

.media-unavailable {
  font-size: .88rem;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .navbar .container {
    position: relative;
    min-height: 72px;
  }

  .navbar-toggler {
    margin-right: auto;
  }

  .navbar-collapse:not(.show):not(.collapsing) {
    display: none !important;
  }

  .navbar-collapse.collapsing {
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
  }

  .navbar-collapse.show {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1rem 1rem;
    background: var(--paper-bright);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 32px rgba(22, 38, 30, .1);
  }

  .navbar-nav {
    align-items: stretch;
  }

  .navbar .container > .nav-link {
    padding-right: .25rem !important;
  }

  .navbar-collapse.show > .cta-button {
    margin-top: .5rem;
  }

  .hero-content.container {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: 2rem;
  }

  .hero-visual {
    min-height: 420px;
  }

  #sports .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #sports .row > [class*="col-"]:first-child {
    min-height: 0;
    grid-column: span 2;
    grid-row: span 2;
  }

  #about .row {
    grid-template-columns: 1fr;
  }

  .schedule-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1240px);
  }

  .navbar,
  .navbar .container {
    min-height: 68px;
  }

  .navbar .container > .nav-link {
    display: none;
  }

  .navbar .container > .cta-button {
    min-height: 40px;
    padding: .5rem .65rem !important;
    font-size: .73rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 1.18rem;
  }

  .brand-copy strong,
  .navbar-brand h2 {
    font-size: .96rem !important;
  }

  .hero-section {
    min-height: 0;
    padding: 3.4rem 0 4.5rem;
  }

  .hero-content.container {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-content h1 {
    font-size: clamp(3.25rem, 15vw, 5.5rem);
  }

  .hero-content .lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    gap: .65rem 1rem;
  }

  .hero-proof span {
    font-size: .7rem;
  }

  .hero-visual {
    min-height: clamp(330px, 88vw, 470px);
    margin-right: .2rem;
  }

  .hero-photo {
    right: 8%;
    width: 86%;
  }

  .hero-detail-photo {
    width: 36%;
    height: 35%;
  }

  .hero-note {
    right: 0;
    bottom: 7%;
    min-width: 185px;
    padding: .8rem 1rem;
  }

  .hero-scroll {
    right: 16px;
    bottom: .85rem;
  }

  .content-placement-space {
    min-height: 72px;
  }

  section.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .section-title {
    gap: .7rem;
    margin-bottom: 1.6rem;
    font-size: 1.8rem;
  }

  .section-title::after {
    display: none;
  }

  #sports .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #sports .row > [class*="col-"]:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  #sports .feature-card,
  #sports .row > [class*="col-"]:first-child .feature-card {
    min-height: 190px;
  }

  #sports .row > [class*="col-"]:first-child .feature-card {
    min-height: 330px;
  }

  #sports .feature-card h4 {
    font-size: 1.03rem;
  }

  #about .row {
    gap: 12px;
  }

  .coach-card {
    min-height: 0;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .coach-img {
    min-height: 230px;
  }

  .coach-card > div {
    padding: .9rem !important;
  }

  .coach-card h3 {
    font-size: .97rem;
    line-height: 1.6;
  }

  .coach-card li,
  .coach-card p {
    font-size: .73rem;
  }

  .schedule-cards {
    gap: 14px;
  }

  .classes-grid {
    padding: 0 .8rem;
  }

  .class-card {
    grid-template-columns: 92px minmax(0, 1fr) 32px;
    gap: .55rem;
  }

  .class-icon {
    width: 30px;
    height: 30px;
  }

  .class-info h4 {
    font-size: .86rem;
  }

  .class-gender,
  .class-coach,
  .class-price {
    font-size: .67rem;
  }

  .time-badge {
    font-size: .65rem;
  }

  #branches .row,
  #contact .row {
    row-gap: 12px;
  }

  .coach-hero-section {
    min-height: 330px;
    padding: 4rem 0 3.5rem;
  }

  .coach-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .main-content {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .gallery-header {
    padding: 3.5rem 0 1.5rem;
  }

  .gallery-filter-section {
    top: 68px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-image-wrapper,
  .gallery-item:nth-child(5n + 1) .gallery-image-wrapper {
    min-height: 190px;
  }

  .gallery-item:nth-child(5n + 1) {
    grid-row: span 1;
  }

  .filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .education-page .header {
    padding: 2rem 0;
  }

  .education-page .main-content {
    padding: 1rem;
  }
}

  .home-page .navbar {
    position: sticky !important;
    min-height: 84px;
    color: var(--white);
    background: rgba(16, 43, 36, .97) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 10px 28px rgba(16, 43, 36, .12) !important;
  }

  .home-page .navbar .container {
    min-height: 84px;
  }

  .home-page .navbar-brand {
    gap: .85rem;
    color: var(--white) !important;
  }

  .home-page .brand-mark {
    width: 52px;
    height: 52px;
    padding: 4px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 15px;
  }

  .home-page .brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
  }

  .home-page .brand-copy strong {
    color: var(--white);
    font-size: 1.08rem;
  }

  .home-page .brand-copy small {
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
  }

  .home-page .navbar-nav {
    gap: .25rem;
  }

  .home-page .navbar-nav .nav-link {
    padding: .68rem .86rem !important;
    color: rgba(255, 255, 255, .78) !important;
    border-radius: 999px;
    font-size: .84rem;
  }

  .home-page .navbar-nav .nav-link:hover,
  .home-page .navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, .1);
  }

  .home-page .navbar-toggler {
    border-color: rgba(255, 255, 255, .25) !important;
  }

  .home-page .navbar-toggler-icon::before {
    background: var(--white);
    box-shadow: 0 -6px var(--white), 0 6px var(--white);
  }

  .home-page .navbar .cta-button {
    min-height: 44px;
    padding: .65rem 1rem !important;
    color: var(--pine-deep) !important;
    background: var(--lime) !important;
    border-color: var(--lime) !important;
    border-radius: 999px !important;
  }

  .home-page .navbar .cta-button:hover {
    color: var(--pine-deep) !important;
    background: var(--white) !important;
    border-color: var(--white) !important;
  }

  .inline-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .home-page .hero-section {
    min-height: 620px;
    padding-top: clamp(3.5rem, 7vw, 6rem);
    background:
      radial-gradient(ellipse at 10% 12%, rgba(215, 237, 159, .28), transparent 34%),
      var(--paper-bright) !important;
  }

  .home-page .hero-content.container {
    min-height: 480px;
  }

  .home-page .hero-visual {
    min-height: 485px;
  }

  .home-page .hero-photo {
    inset: 0 0 0 5%;
    width: 95%;
    border-radius: 28px 28px 120px 28px;
  }

  .home-page .hero-visual::before {
    right: 0;
    width: 95%;
    border-radius: 28px 28px 120px 28px;
    background: linear-gradient(0deg, rgba(16, 43, 36, .25), transparent 58%);
  }

  .home-page .hero-visual::after {
    position: absolute;
    z-index: -1;
    right: -5%;
    bottom: -7%;
    width: 44%;
    height: 44%;
    border: 1px solid rgba(232, 93, 63, .48);
    border-radius: 50%;
    content: "";
  }

  .home-page .hero-proof {
    gap: .75rem;
  }

  .home-page .hero-proof span {
    padding: .5rem .68rem;
    background: rgba(23, 60, 50, .055);
    border: 1px solid rgba(23, 60, 50, .08);
    border-radius: 999px;
  }

  .home-page #schedule {
    background:
      radial-gradient(ellipse at 100% 0, rgba(215, 237, 159, .22), transparent 38%),
      var(--paper-bright) !important;
  }

  .schedule-intro {
    max-width: 680px;
    margin: -1.35rem 0 2rem;
    color: var(--muted);
  }

  .home-page #schedule .table-responsive {
    overflow: hidden;
    border: 1px solid #e6e8df;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 65px rgba(27, 38, 31, .09);
  }

  .home-page .schedule-table {
    min-width: 850px;
    table-layout: fixed;
    font-size: .86rem;
  }

  .home-page .schedule-table th {
    padding: 1rem 1.1rem;
    color: rgba(255, 255, 255, .78);
    background: var(--pine-deep);
    text-align: right;
    letter-spacing: 0;
  }

  .home-page .schedule-table th:first-child {
    color: var(--lime);
  }

  .home-page .schedule-table td {
    padding: .82rem 1.1rem;
    border-bottom: 1px solid #edf0e9;
    text-align: right;
    transition: background-color .18s ease;
  }

  .home-page .schedule-table tbody tr:hover td {
    background: #f5f7ef;
  }

  .home-page .schedule-table td:first-child {
    color: var(--ink);
    font-weight: 850;
  }

  .home-page .schedule-table td:nth-child(3) {
    direction: ltr;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .home-page .schedule-table td:last-child {
    color: var(--pine);
    font-weight: 800;
    white-space: nowrap;
  }

  .home-page .schedule-table .free-time-row td {
    background: #f0f5e6 !important;
    border-bottom-color: #e4ecd6;
  }

  .home-page .free-time-badge {
    display: inline-flex;
    padding: .4rem .7rem;
    color: var(--pine) !important;
    background: var(--lime);
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 850;
  }

  .home-page .free-time-badge::before {
    content: none;
  }

  .home-page .booking-highlight {
    color: var(--pine) !important;
    text-shadow: none;
  }

  .home-page .sports-more-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    padding: 1.2rem 0 0;
  }

  .home-page .sports-more-links strong {
    margin-left: .3rem;
    color: var(--ink);
  }

  .home-page .sports-more-links a {
    padding: .35rem .7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
  }

  .home-page #sports .feature-icon,
  .home-page .class-icon {
    display: none !important;
  }

  .home-page #about {
    background:
      radial-gradient(ellipse at 90% 15%, rgba(215, 237, 159, .2), transparent 34%),
      var(--paper) !important;
  }

  .home-page #about .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .home-page .coach-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #e7e8df;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(27, 38, 31, .045);
  }

  .home-page .coach-card:hover {
    border-color: rgba(23, 60, 50, .25);
    box-shadow: 0 22px 48px rgba(27, 38, 31, .12);
    transform: translateY(-4px);
  }

  .home-page .coach-img {
    width: 100%;
    height: 245px;
    min-height: 0;
    flex: 0 0 245px;
    object-position: center 32%;
  }

  .home-page .coach-card > div {
    width: 100%;
    padding: 1.25rem 1.35rem 1.45rem !important;
  }

  .home-page .coach-card .gradient {
    display: inline-block;
    margin-bottom: .35rem;
  }

  .home-page .spName {
    display: inline-flex;
    align-items: center;
    padding: .36rem .78rem;
    color: var(--pine-deep) !important;
    background: var(--lime) !important;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: 0;
    -webkit-text-fill-color: currentColor !important;
  }

  .home-page .coach-card h3 {
    min-height: 2.8em;
    margin: .55rem 0 .45rem;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.65;
  }

  .home-page .coach-card ul {
    margin-top: .5rem;
  }

  .home-page .coach-card li {
    color: var(--ink-soft);
    font-size: .81rem;
  }

  .home-page #schedule-gra {
    background:
      radial-gradient(ellipse at 0 0, rgba(215, 237, 159, .18), transparent 35%),
      #e9eee5 !important;
  }

  .home-page .schedule-cards {
    gap: 22px;
  }

  .home-page .day-section {
    overflow: hidden;
    background: var(--white);
    border: 1px solid #dfe5dc;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(27, 38, 31, .075);
  }

  .home-page .day-header {
    min-height: 108px;
    padding: 1.3rem 1.45rem;
    background: var(--pine-deep);
  }

  .home-page .day-header h3 {
    font-size: 1.22rem;
  }

  .home-page .day-header p {
    margin-top: .35rem;
  }

  .home-page .classes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
  }

  .home-page .class-card {
    display: flex;
    min-height: 174px;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: .95rem;
    background: #fafbf7;
    border: 1px solid #e8ebe4;
    border-right: 3px solid var(--orange);
    border-radius: 14px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }

  .home-page .class-card:hover {
    border-color: rgba(23, 60, 50, .22);
    border-right-color: var(--pine);
    box-shadow: 0 12px 25px rgba(27, 38, 31, .08);
    transform: translateY(-3px);
  }

  .home-page .time-badge {
    padding: .32rem .62rem;
    color: var(--pine);
    background: #eaf0dd !important;
    border-radius: 999px;
    font-size: .69rem;
  }

  .home-page .class-info h4 {
    font-size: .94rem;
  }

  .home-page .class-gender,
  .home-page .class-coach,
  .home-page .class-price {
    display: block;
    margin: .12rem 0 0;
    font-size: .73rem;
  }

  .home-page .class-coach {
    color: var(--ink-soft);
  }

  .home-page .class-price {
    color: var(--pine);
  }

  .home-page #education {
    color: var(--white);
    background: var(--pine-deep) !important;
  }

  .home-page #education .section-title {
    color: var(--white) !important;
  }

  .home-page #education .section-title::before {
    background: var(--lime);
  }

  .home-page #education .row {
    display: grid !important;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .home-page #education .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .home-page #education .feature-card {
    position: relative;
    display: grid;
    max-width: none;
    min-height: 0;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: .3rem 1.2rem;
    padding: clamp(1.3rem, 3vw, 2.2rem);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
  }

  .education-mark {
    display: grid;
    width: 68px;
    height: 68px;
    grid-row: span 2;
    place-items: center;
    color: var(--pine-deep);
    background: var(--lime);
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 950;
  }

  .home-page #education .feature-card h3 {
    margin: 0;
    font-size: 1.18rem;
  }

  .home-page #education .feature-card p {
    margin: .2rem 0 0;
    line-height: 1.9;
  }

  .home-page #education .feature-card .cta-button {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0 !important;
    white-space: nowrap;
  }

  .home-page #branches {
    background:
      radial-gradient(ellipse at 100% 100%, rgba(232, 93, 63, .08), transparent 38%),
      var(--paper) !important;
  }

  .home-page #branches .row,
  .home-page #contact .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
  }

  .home-page #branches .row > [class*="col-"],
  .home-page #contact .row > [class*="col-"] {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
  }

  .home-page .branch-card {
    min-height: 160px;
    padding: 1.4rem 1.5rem;
    background: var(--white);
    border: 1px solid #e6e7df;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(27, 38, 31, .045);
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .home-page .branch-card:hover {
    box-shadow: 0 18px 38px rgba(27, 38, 31, .09);
    transform: translateY(-3px);
  }

  .home-page .branch-title,
  .home-page .contact-role {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 .8rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
  }

  .branch-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--pine-deep);
    background: var(--lime);
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 900;
  }

  .home-page .branch-card > p {
    margin: .5rem 0 0;
    color: var(--ink-soft);
    font-size: .88rem;
  }

  .home-page .map-container {
    min-height: 12px;
    margin-top: 1.25rem;
    border: 0;
  }

  .home-page #contact {
    color: var(--white);
    background:
      radial-gradient(ellipse at 0 100%, rgba(215, 237, 159, .1), transparent 36%),
      var(--pine-deep) !important;
  }

  .home-page #contact .section-title {
    color: var(--white) !important;
  }

  .home-page #contact .section-title::before {
    background: var(--lime);
  }

  .home-page #contact .branch-card {
    min-height: 0;
    padding: 1.45rem 1.55rem;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: none;
  }

  .home-page #contact .branch-card:hover {
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .16);
    transform: translateY(-3px);
  }

  .home-page .contact-role {
    margin-bottom: 1rem;
    color: var(--white);
  }

  .home-page .contact-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .home-page .contact-detail > span {
    color: rgba(255, 255, 255, .6);
    font-size: .75rem;
  }

  .home-page #contact .contact-detail a {
    color: var(--white);
    font-size: .9rem;
    font-weight: 750;
    overflow-wrap: anywhere;
  }

  .contact-social {
    margin-top: 3rem;
    text-align: center;
  }

  .contact-social h4 {
    margin-bottom: 1.1rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 750;
  }

  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
  }

  .home-page .social-icon {
    --social-brand: var(--lime);
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0;
    color: var(--social-brand) !important;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 17px;
    transition: color .22s ease, background-color .22s ease;
  }

  .home-page .social-icon[href*="instagram"] {
    --social-brand: #ff91c4;
  }

  .home-page .social-icon[href*="t.me"] {
    --social-brand: #72caff;
  }

  .home-page .social-icon[href*="wa.me"] {
    --social-brand: #86e7a3;
  }

  .home-page .social-icon[href*="youtube"] {
    --social-brand: #ff8585;
  }

  .home-page .social-icon[href*="aparat"] {
    --social-brand: #c4b5fd;
  }

  .home-page .social-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .home-page .social-icon svg .social-dot,
  .home-page .social-icon svg .social-play {
    fill: currentColor;
    stroke: none;
  }

  .home-page .social-icon:hover {
    color: var(--pine-deep) !important;
    background: var(--social-brand);
  }

  .home-page .home-footer {
    padding: 2.7rem 0 1.2rem !important;
    color: rgba(255, 255, 255, .68) !important;
    background: #0b211c !important;
    text-align: right;
  }

  .home-footer-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--white);
    text-decoration: none;
  }

  .footer-brand .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .footer-brand .brand-copy strong {
    color: var(--white);
    font-size: .97rem;
  }

  .footer-brand .brand-copy small {
    color: rgba(255, 255, 255, .58);
    font-size: .68rem;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem 1rem;
  }

  .home-page .footer-links a {
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    text-decoration: none;
  }

  .home-page .footer-links a:hover {
    color: var(--lime);
  }

  .home-page .footer-call {
    display: grid;
    gap: .1rem;
    color: var(--lime);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
  }

  .footer-call span {
    color: var(--white);
    font-size: .92rem;
  }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding-top: 1rem;
    font-size: .73rem;
  }

  .footer-bottom p {
    margin: 0;
  }

  .home-page i[class*="fa-"] {
    display: none !important;
  }

  @media (max-width: 1100px) {
    .home-page #about .row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-footer-grid {
      grid-template-columns: auto 1fr;
    }

    .home-page .footer-call {
      grid-column: 1 / -1;
      justify-self: center;
      text-align: center;
    }
  }

  @media (max-width: 991.98px) {
    .home-page .navbar .container {
      min-height: 76px;
    }

    .home-page .navbar-collapse.show {
      background: var(--pine-deep);
      border-color: rgba(255, 255, 255, .12);
      box-shadow: 0 18px 32px rgba(0, 0, 0, .24);
    }

    .home-page .navbar-collapse.show .nav-link {
      color: rgba(255, 255, 255, .85) !important;
    }

    .home-page .navbar-collapse.show .nav-link:hover {
      color: var(--white) !important;
      background: rgba(255, 255, 255, .1);
    }

    .home-page .navbar-collapse.show > .cta-button {
      color: var(--pine-deep) !important;
    }

    .home-page .hero-content.container {
      gap: 2.4rem;
    }

    .home-page .hero-visual {
      min-height: 430px;
    }
  }

  @media (max-width: 767.98px) {
    .home-page .navbar,
    .home-page .navbar .container {
      min-height: 70px;
    }

    .home-page .brand-mark {
      width: 44px;
      height: 44px;
      border-radius: 13px;
    }

    .home-page .brand-copy strong {
      font-size: .97rem;
    }

    .home-page .brand-copy small {
      font-size: .65rem;
    }

    .home-page .navbar .container > .cta-button {
      display: none !important;
    }

    .home-page .hero-section {
      padding: 3.2rem 0 4rem;
    }

    .home-page .hero-visual {
      min-height: clamp(300px, 80vw, 430px);
    }

    .home-page .hero-photo,
    .home-page .hero-visual::before {
      right: 0;
      width: 94%;
      border-radius: 22px 22px 88px 22px;
    }

    .home-page #schedule .table-responsive {
      overflow: visible;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    .home-page .schedule-table,
    .home-page .schedule-table tbody {
      display: block;
      min-width: 0;
      width: 100%;
    }

    .home-page .schedule-table thead {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      clip-path: inset(50%);
    }

    .home-page .schedule-table tbody {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
      gap: 12px;
    }

    .home-page .schedule-table tbody tr {
      display: block;
      overflow: hidden;
      background: var(--white);
      border: 1px solid #e5e9df;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(27, 38, 31, .045);
    }

    .home-page .schedule-table tbody td {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .8rem;
      padding: .56rem .8rem;
      border-bottom: 1px solid #eff1eb;
      font-size: .76rem;
      text-align: left;
    }

    .home-page .schedule-table tbody td::before {
      flex: 0 0 auto;
      color: var(--muted);
      font-size: .68rem;
      font-weight: 700;
      text-align: right;
    }

    .home-page .schedule-table tbody td:first-child {
      justify-content: flex-start;
      padding: .85rem .8rem;
      color: var(--pine-deep);
      background: #f3f6ed;
      font-size: .92rem;
    }

    .home-page .schedule-table tbody td:first-child::before {
      content: "کلاس";
      margin-left: .25rem;
      color: var(--orange);
    }

    .home-page .schedule-table tbody td:nth-child(2)::before {
      content: "روزها";
    }

    .home-page .schedule-table tbody td:nth-child(3)::before {
      content: "ساعت";
    }

    .home-page .schedule-table tbody td:nth-child(4)::before {
      content: "مربی";
    }

    .home-page .schedule-table tbody td:nth-child(5)::before {
      content: "شهریه";
    }

    .home-page .schedule-table tbody td:nth-child(3) {
      direction: ltr;
      text-align: right;
    }

    .home-page .schedule-table .free-time-row td {
      background: var(--white) !important;
    }

    .home-page .schedule-table .free-time-row td:first-child {
      background: #f0f5e6 !important;
    }

    .home-page #about .row {
      gap: 14px;
    }

    .home-page .coach-img {
      height: 220px;
      flex-basis: 220px;
    }

    .home-page .coach-card > div {
      padding: 1.05rem !important;
    }

    .home-page .coach-card h3 {
      min-height: 0;
      font-size: 1rem;
    }

    .home-page .classes-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      padding: 12px;
    }

    .home-page .class-card {
      min-height: 165px;
      padding: .75rem;
    }

    .home-page #education .feature-card {
      grid-template-columns: 58px minmax(0, 1fr);
    }

    .home-page .education-mark {
      width: 52px;
      height: 52px;
      grid-row: 1 / span 2;
      border-radius: 15px;
      font-size: 1rem;
    }

    .home-page #education .feature-card .cta-button {
      grid-column: 2;
      grid-row: auto;
      justify-self: start;
      margin-top: .8rem !important;
    }

    .home-page #branches .row,
    .home-page #contact .row {
      gap: 12px;
    }

    .home-footer-grid {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 1.2rem;
      text-align: center;
    }

    .home-page .footer-links {
      gap: .5rem 1rem;
    }

    .home-page .footer-call {
      grid-column: auto;
    }
  }

  @media (max-width: 520px) {
    .home-page #about .row,
    .home-page #branches .row,
    .home-page #contact .row {
      grid-template-columns: 1fr;
    }

    .home-page .coach-img {
      height: 245px;
      flex-basis: 245px;
    }

    .home-page .classes-grid {
      grid-template-columns: 1fr;
    }

    .home-page .class-card {
      min-height: 0;
    }

    .home-page .schedule-table tbody {
      grid-template-columns: 1fr;
    }

    .home-page .contact-detail {
      align-items: flex-start;
      flex-direction: column;
      gap: .15rem;
    }

    .home-page .social-icon {
      width: 48px;
      height: 48px;
      border-radius: 15px;
    }

    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  }

@media (max-width: 430px) {
  .coach-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .coach-img {
    min-height: 220px;
  }

  .coach-card > div {
    padding: .7rem !important;
  }

  .coach-card ul {
    padding-right: .9rem;
  }

  .hero-proof span {
    flex-basis: calc(50% - .5rem);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image-wrapper,
  .gallery-item:nth-child(5n + 1) .gallery-image-wrapper {
    min-height: 255px;
  }
}

html[data-home-theme="dark"] .home-page {
  color-scheme: dark;
  --paper: #101714;
  --paper-bright: #17221c;
  --ink: #f3f5ef;
  --ink-soft: #d1dbd3;
  --muted: #a4b0a7;
  --line: #35443b;
  --pine: #9ac58c;
  --pine-deep: #09130f;
  --orange: #f08a70;
  --lime: #d7ed9f;
  --home-surface: #1b2922;
  --home-surface-soft: #202f27;
  --shadow: 0 22px 65px rgba(0, 0, 0, .28);
}

.home-page .theme-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .7rem;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font: inherit;
  font-size: .75rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.home-page .theme-toggle:hover {
  color: var(--pine-deep);
  background: var(--lime);
  border-color: var(--lime);
}

.home-page .theme-toggle:focus-visible,
.home-page .navbar-toggler:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.home-page .navbar-toggler {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .07);
  border-radius: 14px;
  transition: background-color .2s ease, border-color .2s ease;
}

.home-page .navbar-toggler:hover {
  background: rgba(255, 255, 255, .14);
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-moon {
  display: none;
}

html[data-home-theme="dark"] .theme-sun {
  display: none;
}

html[data-home-theme="dark"] .theme-moon {
  display: block;
}

.home-page .navbar-toggler-icon::before,
.home-page .navbar-toggler-icon::after {
  transition: transform .24s ease, box-shadow .24s ease, opacity .2s ease;
}

.home-page .navbar-toggler-icon::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--white);
  content: "";
  opacity: 0;
  transform: translateY(-50%) rotate(-45deg) scaleX(.55);
}

.home-page .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  box-shadow: none;
  transform: translateY(-50%) rotate(45deg);
}

.home-page .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg) scaleX(1);
}

.home-page .map-container iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 18px;
  background: var(--home-surface-soft);
}

.home-page #schedule .schedule-table {
  background: var(--home-surface);
}

@media (max-width: 991.98px) {
  .home-page .navbar-collapse.collapsing,
  .home-page .navbar-collapse.show {
    position: absolute;
    z-index: 20;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    width: 100%;
    padding: .85rem;
    background: var(--pine-deep);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .25);
  }

  .home-page .navbar-collapse.collapsing {
    overflow: hidden;
  }

  .home-page .navbar-collapse.show {
    gap: .65rem;
    animation: mobile-menu-arrive .24s ease-out both;
  }

  .home-page .navbar-collapse.show .navbar-nav {
    gap: .25rem;
  }

  .home-page .navbar-collapse.show .nav-link {
    min-height: 44px;
    padding: .65rem .85rem !important;
    border-radius: 11px;
  }

  .home-page .navbar-collapse.show > .theme-toggle {
    align-self: flex-start;
    margin-top: .2rem;
  }

  .home-page .navbar-collapse.show > .cta-button {
    width: 100%;
    margin-top: .1rem;
  }
}

@media (max-width: 767.98px) {
  .home-page .schedule-table tbody td:nth-child(3)::before {
    order: 1;
  }

  html[data-home-theme="dark"] .home-page .schedule-table tbody tr {
    background: var(--home-surface);
    border-color: var(--line);
  }

  html[data-home-theme="dark"] .home-page .schedule-table tbody td {
    border-bottom-color: var(--line);
  }

  html[data-home-theme="dark"] .home-page .schedule-table tbody td:first-child {
    color: var(--ink);
    background: #26382d;
  }

  html[data-home-theme="dark"] .home-page .schedule-table .free-time-row td {
    background: var(--home-surface) !important;
  }

  html[data-home-theme="dark"] .home-page .schedule-table .free-time-row td:first-child {
    background: #2a3929 !important;
  }

  .home-page .map-container iframe {
    height: 300px;
    border-radius: 14px;
  }
}

@keyframes mobile-menu-arrive {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.home-page .footer-contact,
body:not(.home-page) .site-footer .footer-contact {
  display: grid;
  justify-items: start;
  gap: .65rem;
}

.home-page .footer-social,
body:not(.home-page) .site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.home-page .footer-social .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.home-page .footer-social .social-icon svg {
  width: 20px;
  height: 20px;
}

body:not(.home-page) .site-footer .footer-call {
  grid-column: auto;
  justify-self: stretch;
}

body:not(.home-page) .site-footer .footer-social .social-icon {
  --social-brand: var(--lime);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin: 0;
  color: var(--social-brand) !important;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .17);
  transition: color .22s ease, background-color .22s ease;
}

body:not(.home-page) .site-footer .footer-social .social-icon:hover {
  color: var(--pine-deep) !important;
  background: var(--social-brand);
}

body:not(.home-page) .site-footer .social-icon[href*="instagram"] {
  --social-brand: #ff91c4;
}

body:not(.home-page) .site-footer .social-icon[href*="t.me"] {
  --social-brand: #72caff;
}

body:not(.home-page) .site-footer .social-icon[href*="wa.me"] {
  --social-brand: #86e7a3;
}

body:not(.home-page) .site-footer .social-icon[href*="youtube"] {
  --social-brand: #ff8585;
}

body:not(.home-page) .site-footer .social-icon[href*="aparat"] {
  --social-brand: #c4b5fd;
}

.gallery-kicker {
  margin: 0 0 .45rem;
  color: var(--lime);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-align: center;
}

.gallery-contact {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: var(--paper-bright);
}

.gallery-contact .section-title {
  justify-content: center;
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-contact .row {
  row-gap: 1rem;
}

.gallery-contact .branch-card {
  min-height: 100%;
}

.gallery-contact .branch-card a {
  color: var(--pine) !important;
}

.gallery-contact .social-icon {
  margin: 0 .2rem;
}

.gallery-page .gallery-item {
  cursor: zoom-in;
}

.gallery-page .gallery-item.hide {
  display: none !important;
}

.gallery-page .gallery-item:focus-visible,
.gallery-page .filter-btn:focus-visible,
.gallery-page .gallery-modal button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.gallery-page .gallery-modal {
  z-index: 2000;
}

body.modern-coach-page > .coach-hero-section {
  margin-top: 0 !important;
}

body.modern-coach-page .main-content {
  display: flow-root;
}

body.modern-coach-page .coach-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 2vw, 1.15rem);
  margin: 0 0 3rem;
}

body.modern-coach-page .coach-photo-card {
  min-width: 0;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  background: var(--home-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(27, 38, 31, .09);
  transition: transform .3s ease, box-shadow .3s ease;
}

body.modern-coach-page .coach-photo-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

body.modern-coach-page .coach-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform .45s ease;
}

body.modern-coach-page .coach-photo-card:first-child img {
  min-height: 390px;
}

body.modern-coach-page .coach-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(27, 38, 31, .15);
}

body.modern-coach-page .coach-photo-card:hover img {
  transform: scale(1.05);
}

body:not(.home-page) .coach-image-container img {
  transition: transform .3s ease, border-color .3s ease;
}

body:not(.home-page) .coach-image-container:hover img {
  transform: scale(1.04);
}



body.modern-coach-page .coach-portrait {
  height: 350px;
  overflow: hidden;
  background: var(--home-surface-soft);
}

body.modern-coach-page .coach-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

body.modern-coach-page .video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

body.modern-coach-page .video-container iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

body.modern-coach-page .video-section {
  margin: 0 0 3rem;
}

body.modern-coach-page .video-section > .row {
  align-items: flex-start;
  justify-content: center;
  row-gap: 1rem;
}

body.modern-coach-page .video-section > .row > [class*="col-"] {
  display: flex;
}

body.modern-coach-page .video-card,
body.modern-coach-page .video-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--home-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(27, 38, 31, .08);
}

body.modern-coach-page .video-description {
  padding: 1rem 1.2rem !important;
  color: var(--ink-soft) !important;
  background: var(--home-surface-soft) !important;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

body.modern-coach-page .video-description h4 {
  margin: 0 0 .45rem;
  color: var(--pine) !important;
  font-size: 1rem;
  font-weight: 850;
}

body.modern-coach-page .video-description p {
  margin: 0;
  color: var(--muted) !important;
  font-size: .88rem;
}

body.modern-coach-page .video-container.video-container-portrait {
  width: min(100%, 400px);
  margin-inline: auto;
  padding-bottom: 120%;
}

body.modern-coach-page .coach-student-table .student-avatar {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .home-page .footer-contact {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  body:not(.home-page) .site-footer .footer-contact {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  body.modern-coach-page .coach-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  body.modern-coach-page .coach-photo-card {
    min-height: 150px;
  }

  body.modern-coach-page .coach-photo-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  body.modern-coach-page .coach-photo-card img,
  body.modern-coach-page .coach-photo-card:first-child img {
    min-height: 170px;
  }

  body.modern-coach-page .coach-portrait {
    height: 290px;
  }

  .gallery-contact .social-icon {
    width: 42px;
    height: 42px;
  }
}

html[data-home-theme="dark"] .home-page #schedule .table-responsive,
html[data-home-theme="dark"] .home-page .schedule-table,
html[data-home-theme="dark"] .home-page .coach-card,
html[data-home-theme="dark"] .home-page .day-section,
html[data-home-theme="dark"] .home-page #education .feature-card,
html[data-home-theme="dark"] .home-page .branch-card {
  color: var(--ink);
  background: var(--home-surface);
  border-color: var(--line);
}

html[data-home-theme="dark"] .home-page #schedule .table-responsive,
html[data-home-theme="dark"] .home-page .coach-card,
html[data-home-theme="dark"] .home-page .day-section,
html[data-home-theme="dark"] .home-page #education .feature-card,
html[data-home-theme="dark"] .home-page .branch-card {
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

html[data-home-theme="dark"] .home-page .schedule-table td {
  border-bottom-color: var(--line);
}

html[data-home-theme="dark"] .home-page .schedule-table tbody tr:hover td {
  background: #24352b;
}

html[data-home-theme="dark"] .home-page .schedule-table .free-time-row td {
  background: #253326 !important;
  border-bottom-color: #3b4c39;
}

html[data-home-theme="dark"] .home-page .sports-more-links a,
html[data-home-theme="dark"] .home-page .class-card {
  color: var(--ink);
  background: var(--home-surface-soft);
  border-color: var(--line);
}

html[data-home-theme="dark"] .home-page .class-card {
  border-right-color: var(--orange);
}

html[data-home-theme="dark"] .home-page .time-badge {
  color: var(--ink);
  background: #314333 !important;
}

html[data-home-theme="dark"] .home-page .class-coach {
  color: var(--ink-soft);
}

html[data-home-theme="dark"] .home-page .class-price {
  color: var(--lime);
}

html[data-home-theme="dark"] .home-page #schedule-gra {
  background:
    radial-gradient(ellipse at 0 0, rgba(215, 237, 159, .08), transparent 35%),
    #101714 !important;
}

html[data-home-theme="dark"] .home-page .branch-number {
  color: var(--pine-deep);
}

html[data-home-theme="dark"] .home-page #contact .branch-card {
  background: rgba(255, 255, 255, .07);
}

html[data-home-theme="dark"] .home-page .cta-button:not(.navbar .cta-button) {
  color: var(--pine-deep) !important;
  background: var(--lime) !important;
  border-color: var(--lime) !important;
}

.home-page .sports-more-links a:hover,
.home-page .footer-links a:hover {
  color: var(--orange);
  transform: translateX(-3px);
}

.home-page .hero-proof span:hover {
  color: var(--pine);
  background: rgba(215, 237, 159, .25);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .motion-ready [data-aos] {
    opacity: 1;
    transform: none;
  }
}

.home-page .hero-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(232, 93, 63, .2), transparent 25rem),
    radial-gradient(ellipse at 12% 90%, rgba(232, 93, 63, .13), transparent 30rem),
    linear-gradient(135deg, #fffefa 0%, #fcf3ed 54%, #f8ece5 100%) !important;
}

.home-page .hero-content,
.home-page .hero-scroll {
  position: relative;
  z-index: 1;
}

.home-page .hero-section::before {
  z-index: 0;
  inset: -8%;
  width: auto;
  height: auto;
  background-image:
    radial-gradient(circle, rgba(232, 93, 63, .2) 1.2px, transparent 1.9px),
    radial-gradient(ellipse at 24% 32%, rgba(232, 93, 63, .2), transparent 42%),
    radial-gradient(ellipse at 78% 70%, rgba(23, 60, 50, .12), transparent 44%),
    linear-gradient(132deg, transparent 0 47%, rgba(232, 93, 63, .05) 48%, transparent 49% 100%);
  background-position: 0 0, 0 0, 100% 100%, 0 0;
  background-size: 26px 26px, 95% 100%, 95% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: .72;
}

.home-page .hero-section::after {
  position: absolute;
  z-index: -1;
  right: -14rem;
  bottom: -19rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(232, 93, 63, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 2rem rgba(232, 93, 63, .035),
    0 0 0 4rem rgba(232, 93, 63, .025);
  content: "";
  pointer-events: none;
}

.home-page .hero-visual::after {
  right: -8%;
  bottom: -10%;
  width: 54%;
  height: 54%;
  border-color: rgba(232, 93, 63, .62);
  box-shadow: 0 0 0 15px rgba(232, 93, 63, .06);
}

.home-page #sports,
.home-page #about,
.home-page #schedule,
.home-page #schedule-gra,
.home-page #education,
.home-page #branches,
.home-page #contact {
  position: relative;
  isolation: isolate;
}

.home-page #sports > .container,
.home-page #about > .container,
.home-page #schedule > .container,
.home-page #schedule-gra > .container,
.home-page #education > .container,
.home-page #branches > .container,
.home-page #contact > .container {
  position: relative;
  z-index: 1;
}

.home-page #sports,
.home-page #about,
.home-page #schedule,
.home-page #schedule-gra,
.home-page #branches {
  overflow: hidden;
}

.home-page #sports {
  background:
    radial-gradient(ellipse at 96% 8%, rgba(232, 93, 63, .18), transparent 27rem),
    radial-gradient(ellipse at 5% 90%, rgba(23, 60, 50, .1), transparent 25rem),
    linear-gradient(180deg, #f8eee7 0%, #fffefa 100%) !important;
}

.home-page #about {
  background:
    radial-gradient(ellipse at 91% 12%, rgba(232, 93, 63, .17), transparent 31rem),
    radial-gradient(ellipse at 5% 78%, rgba(23, 60, 50, .1), transparent 29rem),
    linear-gradient(145deg, #fffefa, #f8eee8 72%, #f5e9e2) !important;
}

.home-page #schedule {
  background:
    radial-gradient(ellipse at 100% 0, rgba(232, 93, 63, .17), transparent 37%),
    radial-gradient(ellipse at 0 82%, rgba(23, 60, 50, .1), transparent 31%),
    linear-gradient(150deg, #fffefa, #f9eee8) !important;
}

.home-page #schedule-gra {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(232, 93, 63, .2), transparent 34rem),
    radial-gradient(ellipse at 98% 90%, rgba(23, 60, 50, .13), transparent 28rem),
    linear-gradient(135deg, #f5e9e2, #fcf3ed 56%, #f1e7e2) !important;
}

.home-page #branches {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(23, 60, 50, .11), transparent 35%),
    radial-gradient(ellipse at 0 12%, rgba(232, 93, 63, .18), transparent 34rem),
    linear-gradient(140deg, #f9eee8, #fffefa 62%, #f6ebe5) !important;
}

.home-page #education {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 94% 10%, rgba(232, 93, 63, .21), transparent 27rem),
    radial-gradient(ellipse at 4% 92%, rgba(232, 93, 63, .18), transparent 30rem),
    linear-gradient(125deg, #102b24, #173c32 62%, #102b24) !important;
}

.home-page #contact {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0 100%, rgba(232, 93, 63, .2), transparent 36%),
    radial-gradient(ellipse at 100% 4%, rgba(232, 93, 63, .17), transparent 30rem),
    linear-gradient(145deg, #091f1a, #102b24 55%, #173c32) !important;
}

.home-page :is(#sports, #about, #schedule, #schedule-gra, #education, #branches, #contact)::before {
  position: absolute;
  z-index: 0;
  inset: -8%;
  width: auto;
  height: auto;
  background-image:
    radial-gradient(circle, rgba(232, 93, 63, .2) 1.2px, transparent 1.9px),
    radial-gradient(ellipse at 24% 32%, rgba(232, 93, 63, .2), transparent 42%),
    radial-gradient(ellipse at 78% 70%, rgba(23, 60, 50, .12), transparent 44%),
    linear-gradient(132deg, transparent 0 47%, rgba(232, 93, 63, .05) 48%, transparent 49% 100%);
  background-position: 0 0, 0 0, 100% 100%, 0 0;
  background-size: 26px 26px, 95% 100%, 95% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  content: "";
  opacity: .72;
  pointer-events: none;
}

.home-page :is(#sports, #about, #schedule, #schedule-gra, #education, #branches, #contact)::after {
  position: absolute;
  z-index: 0;
  right: auto;
  bottom: -9rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(232, 93, 63, .22);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5rem rgba(232, 93, 63, .04),
    0 0 0 3rem rgba(232, 93, 63, .025);
  content: "";
  pointer-events: none;
}

.home-page #education::after,
.home-page #contact::after {
  border-color: rgba(240, 138, 112, .25);
  box-shadow:
    0 0 0 1.5rem rgba(240, 138, 112, .045),
    0 0 0 3rem rgba(240, 138, 112, .03);
}

.home-page .coach-card,
.home-page .day-section,
.home-page .branch-card,
.home-page #schedule .table-responsive,
.home-page #education .feature-card {
  border-color: rgba(23, 60, 50, .12);
  box-shadow:
    0 16px 38px rgba(23, 60, 50, .075),
    0 2px 6px rgba(23, 60, 50, .035);
}

.home-page .coach-card,
.home-page .day-section,
.home-page .branch-card {
  background-image: linear-gradient(145deg, var(--home-surface), var(--home-surface-soft));
}

.home-page .coach-card:hover,
.home-page .branch-card:hover {
  box-shadow:
    0 24px 54px rgba(23, 60, 50, .15),
    0 3px 8px rgba(23, 60, 50, .055);
  transform: translateY(-4px);
}

.home-page #contact .branch-card {
  color: var(--white);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)) !important;
  border-color: rgba(255, 255, 255, .18);
}

.home-page #contact .branch-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .075)) !important;
}

.home-page #contact .contact-manager {
  margin: 0 0 .8rem;
  color: var(--orange);
  font-weight: 850;
}

.home-page .class-card {
  background:
    radial-gradient(circle at 100% 0, rgba(232, 93, 63, .13), transparent 10rem),
    linear-gradient(145deg, var(--home-surface), var(--home-surface-soft));
  border-color: rgba(23, 60, 50, .11);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-page .class-card:hover {
  box-shadow: 0 16px 32px rgba(23, 60, 50, .12);
  transform: translateY(-3px);
}

.home-page .sports-more-links a {
  background: linear-gradient(145deg, var(--home-surface), var(--home-surface-soft));
  box-shadow: 0 5px 16px rgba(23, 60, 50, .055);
}

.home-page .sports-more-links a:hover {
  box-shadow: 0 9px 22px rgba(23, 60, 50, .12);
}

.home-page .section-title::before {
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #ad3926);
  box-shadow: 0 3px 12px rgba(232, 93, 63, .2);
}

html[data-home-theme="dark"] .home-page .hero-section {
  background:
    radial-gradient(ellipse at 82% 18%, rgba(240, 138, 112, .14), transparent 25rem),
    radial-gradient(ellipse at 12% 90%, rgba(240, 138, 112, .12), transparent 30rem),
    linear-gradient(135deg, #111b16 0%, #17221c 54%, #1b2922 100%) !important;
}

html[data-home-theme="dark"] .home-page #sports {
  background:
    radial-gradient(ellipse at 96% 8%, rgba(240, 138, 112, .1), transparent 27rem),
    radial-gradient(ellipse at 5% 90%, rgba(240, 138, 112, .08), transparent 25rem),
    linear-gradient(180deg, #121b16, #17221c) !important;
}

html[data-home-theme="dark"] .home-page #about,
html[data-home-theme="dark"] .home-page #schedule {
  background:
    radial-gradient(ellipse at 92% 10%, rgba(240, 138, 112, .1), transparent 32rem),
    radial-gradient(ellipse at 4% 82%, rgba(240, 138, 112, .075), transparent 29rem),
    linear-gradient(145deg, #101714, #17221c 72%, #1b2922) !important;
}

html[data-home-theme="dark"] .home-page #schedule-gra {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(240, 138, 112, .1), transparent 34rem),
    radial-gradient(ellipse at 98% 90%, rgba(240, 138, 112, .1), transparent 28rem),
    linear-gradient(135deg, #18251e, #111a15 56%, #1b2922) !important;
}

html[data-home-theme="dark"] .home-page #branches {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(240, 138, 112, .1), transparent 35%),
    radial-gradient(ellipse at 0 12%, rgba(240, 138, 112, .09), transparent 34rem),
    linear-gradient(140deg, #17221c, #101714 62%, #1b2922) !important;
}

html[data-home-theme="dark"] .home-page :is(#sports, #about, #schedule, #schedule-gra, #branches)::before {
  background-image:
    radial-gradient(circle, rgba(240, 138, 112, .22) 1.2px, transparent 1.9px),
    radial-gradient(ellipse at 24% 32%, rgba(240, 138, 112, .2), transparent 42%),
    radial-gradient(ellipse at 78% 70%, rgba(215, 237, 159, .075), transparent 44%),
    linear-gradient(132deg, transparent 0 47%, rgba(240, 138, 112, .06) 48%, transparent 49% 100%);
  opacity: .78;
}

html[data-home-theme="dark"] .home-page :is(#sports, #about, #schedule, #schedule-gra, #branches)::after {
  border-color: rgba(240, 138, 112, .18);
  box-shadow:
    0 0 0 1.5rem rgba(240, 138, 112, .03),
    0 0 0 3rem rgba(240, 138, 112, .02);
}

html[data-home-theme="dark"] .home-page :is(#education, #contact)::before {
  background-image:
    radial-gradient(circle, rgba(240, 138, 112, .22) 1.2px, transparent 1.9px),
    radial-gradient(ellipse at 24% 32%, rgba(240, 138, 112, .2), transparent 42%),
    radial-gradient(ellipse at 78% 70%, rgba(215, 237, 159, .075), transparent 44%),
    linear-gradient(132deg, transparent 0 47%, rgba(240, 138, 112, .06) 48%, transparent 49% 100%);
  opacity: .78;
}

html[data-home-theme="dark"] .home-page :is(#education, #contact)::after {
  border-color: rgba(240, 138, 112, .19);
  box-shadow:
    0 0 0 1.5rem rgba(240, 138, 112, .03),
    0 0 0 3rem rgba(240, 138, 112, .02);
}

html[data-home-theme="dark"] .home-page .coach-card,
html[data-home-theme="dark"] .home-page .day-section,
html[data-home-theme="dark"] .home-page .branch-card,
html[data-home-theme="dark"] .home-page #schedule .table-responsive,
html[data-home-theme="dark"] .home-page #education .feature-card {
  border-color: rgba(240, 138, 112, .17);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, .24),
    0 1px 0 rgba(255, 255, 255, .035);
}

html[data-home-theme="dark"] .home-page .coach-card,
html[data-home-theme="dark"] .home-page .day-section,
html[data-home-theme="dark"] .home-page .branch-card {
  background-image: linear-gradient(145deg, var(--home-surface), var(--home-surface-soft));
}

html[data-home-theme="dark"] .home-page .class-card {
  background:
    radial-gradient(circle at 100% 0, rgba(240, 138, 112, .1), transparent 10rem),
    linear-gradient(145deg, var(--home-surface), var(--home-surface-soft));
  border-color: rgba(240, 138, 112, .15);
}

html[data-home-theme="dark"] .home-page .sports-more-links a {
  background: linear-gradient(145deg, var(--home-surface), var(--home-surface-soft));
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
}

@media (max-width: 700px) {
  .home-page .hero-section::after {
    right: -21rem;
    bottom: -16rem;
    width: 30rem;
    height: 30rem;
  }

  .home-page .hero-section::before {
    inset: -12%;
    background-size: 22px 22px, 120% 110%, 120% 110%, 100% 100%;
    opacity: .76;
  }

  .home-page :is(#sports, #about, #schedule, #schedule-gra, #education, #branches, #contact)::before {
    inset: -12%;
    background-size: 22px 22px, 120% 110%, 120% 110%, 100% 100%;
    opacity: .76;
  }

  .home-page :is(#sports, #about, #schedule, #schedule-gra, #education, #branches, #contact)::after {
    bottom: -12rem;
    left: -11rem;
    width: 17rem;
    height: 17rem;
  }
}

html[data-home-theme="dark"] {
  color-scheme: dark;
  --paper: #101714;
  --paper-bright: #17221c;
  --ink: #f3f5ef;
  --ink-soft: #d1dbd3;
  --muted: #a4b0a7;
  --line: #35443b;
  --pine: #9ac58c;
  --pine-deep: #09130f;
  --orange: #f08a70;
  --lime: #d7ed9f;
  --home-surface: #1b2922;
  --home-surface-soft: #202f27;
  --shadow: 0 22px 65px rgba(0, 0, 0, .28);
}

body:not(.home-page) {
  min-height: 100vh;
  color: var(--ink) !important;
  background: var(--paper) !important;
  font-family: var(--font-persian) !important;
}

body:not(.home-page) :is(button, input, select, textarea) {
  font-family: var(--font-persian) !important;
}

body:not(.home-page) .site-navbar {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-bright: #fcfbf7;
  --ink: #17231f;
  --ink-soft: #35413b;
  --muted: #707a72;
  --line: #deded4;
  --pine: #173c32;
  --pine-deep: #102b24;
  --orange: #e85d3f;
  --lime: #d7ed9f;
  --white: #fffefa;
  --home-surface: #fffefa;
  --home-surface-soft: #fafbf7;
  position: sticky !important;
  top: 0;
  z-index: 1030;
  min-height: 84px;
  color: var(--white);
  background: rgba(16, 43, 36, .97) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 28px rgba(16, 43, 36, .12) !important;
}

.home-page .navbar,
.home-page .home-footer {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-bright: #fcfbf7;
  --ink: #17231f;
  --ink-soft: #35413b;
  --muted: #707a72;
  --line: #deded4;
  --pine: #173c32;
  --pine-deep: #102b24;
  --orange: #e85d3f;
  --lime: #d7ed9f;
  --white: #fffefa;
  --home-surface: #fffefa;
  --home-surface-soft: #fafbf7;
}

body:not(.home-page) .site-navbar .container {
  min-height: 84px;
  gap: 1.25rem;
}

body:not(.home-page) .site-navbar .navbar-brand,
body:not(.home-page) .site-navbar .brand-copy strong {
  color: var(--white) !important;
}

body:not(.home-page) .site-navbar .brand-mark,
body:not(.home-page) .site-footer .brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border-radius: 50%;
}

body:not(.home-page) .site-navbar .brand-mark {
  width: 52px;
  height: 52px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 15px;
}

body:not(.home-page) .site-footer .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

body:not(.home-page) .site-navbar .brand-logo,
body:not(.home-page) .site-footer .brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.home-page) .site-navbar .brand-logo {
  object-fit: contain;
  border-radius: 10px;
}

body:not(.home-page) .site-navbar .brand-copy small {
  color: rgba(255, 255, 255, .68);
}

body:not(.home-page) .site-navbar .brand-copy strong {
  font-size: 1.08rem;
}

body:not(.home-page) .site-navbar .brand-copy small {
  font-size: .72rem;
}

body:not(.home-page) .site-navbar .navbar-collapse {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
}

body:not(.home-page) .site-navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .25rem;
  padding: 0;
  list-style: none;
}

body:not(.home-page) .site-navbar .nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: .68rem .86rem !important;
  color: rgba(255, 255, 255, .78) !important;
  border-radius: 999px;
  font-size: .84rem;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

body:not(.home-page) .site-navbar .nav-link:hover,
body:not(.home-page) .site-navbar .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, .1);
}

body:not(.home-page) .site-navbar .theme-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .7rem;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font: inherit;
  font-size: .75rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

body:not(.home-page) .site-navbar .theme-toggle:hover {
  color: var(--pine-deep);
  background: var(--lime);
  border-color: var(--lime);
}

body:not(.home-page) .site-navbar .cta-button {
  min-height: 44px;
  padding: .65rem 1rem !important;
  color: var(--pine-deep) !important;
  background: var(--lime) !important;
  border-color: var(--lime) !important;
  border-radius: 999px !important;
  white-space: nowrap;
}

body:not(.home-page) .site-navbar .cta-button:hover {
  color: var(--pine-deep) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

body:not(.home-page) .site-navbar .inline-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body:not(.home-page) .site-inline-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  vertical-align: -.16em;
}

body:not(.home-page) .social-icon .site-inline-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

body:not(.home-page) .site-navbar .navbar-toggler {
  display: none;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .25) !important;
  border-radius: 14px;
  transition: background-color .2s ease, border-color .2s ease;
}

body:not(.home-page) .site-navbar .navbar-toggler-icon::before,
body:not(.home-page) .site-navbar .navbar-toggler-icon::after {
  background: var(--white);
  transition: transform .24s ease, box-shadow .24s ease, opacity .2s ease;
}

body:not(.home-page) .site-navbar .navbar-toggler-icon::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  opacity: 0;
  transform: translateY(-50%) rotate(-45deg) scaleX(.55);
}

body:not(.home-page) .site-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  box-shadow: none;
  transform: translateY(-50%) rotate(45deg);
}

body:not(.home-page) .site-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg) scaleX(1);
}

body:not(.home-page) .content-placement-space {
  display: flow-root;
  min-height: 0;
  max-width: 100%;
  margin-inline: auto;
  background: #fff;
}

body:not(.home-page) .site-footer {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-bright: #fcfbf7;
  --ink: #17231f;
  --ink-soft: #35413b;
  --muted: #707a72;
  --line: #deded4;
  --pine: #173c32;
  --pine-deep: #102b24;
  --orange: #e85d3f;
  --lime: #d7ed9f;
  --white: #fffefa;
  --home-surface: #fffefa;
  --home-surface-soft: #fafbf7;
  padding: 2.7rem 0 1.2rem !important;
  color: rgba(255, 255, 255, .68) !important;
  background: #0b211c !important;
  text-align: right;
}

body:not(.home-page) .site-footer .home-footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

body:not(.home-page) .site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
}

body:not(.home-page) .site-footer .brand-copy strong {
  color: var(--white);
}

body:not(.home-page) .site-footer .brand-copy small {
  color: rgba(255, 255, 255, .58);
  font-size: .68rem;
}

body:not(.home-page) .site-footer .brand-copy strong {
  font-size: .97rem;
}

body:not(.home-page) .site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1rem;
}

body:not(.home-page) .site-footer .footer-links a,
body:not(.home-page) .site-footer .footer-bottom a {
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s ease;
}

body:not(.home-page) .site-footer .footer-links a:hover,
body:not(.home-page) .site-footer .footer-bottom a:hover {
  color: var(--lime);
}

body:not(.home-page) .site-footer .footer-call {
  display: grid;
  gap: .1rem;
  color: var(--lime);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

body:not(.home-page) .site-footer .footer-call span {
  color: var(--white);
  font-size: .92rem;
}

body:not(.home-page) .site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-top: 1rem;
  font-size: .73rem;
}

body:not(.home-page) .site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .57);
}

body:not(.home-page):not(.page-detail) .coach-hero-section,
body:not(.home-page).page-coach > .hero-section,
body:not(.home-page) .hero-section,
body:not(.home-page) .education-page .header {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 !important;
  overflow: hidden;
  color: var(--white) !important;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(215, 237, 159, .16), transparent 28rem),
    linear-gradient(115deg, #102b24, #173c32) !important;
  border: 0 !important;
}

body:not(.home-page) .coach-hero-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--orange);
  content: "";
}

body:not(.home-page) .coach-hero-content h1,
body:not(.home-page) .education-page .header h1,
body:not(.home-page) .hero-section h1 {
  color: #fffefa !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: var(--font-persian) !important;
  font-size: clamp(2.2rem, 5vw, 4.1rem) !important;
  font-weight: 900 !important;
  line-height: 1.35;
  text-shadow: none !important;
}

body:not(.home-page) .coach-hero-content > p,
body:not(.home-page) .education-page .header p,
body:not(.home-page) .hero-section p {
  color: rgba(255, 255, 255, .82) !important;
}

body:not(.home-page) .coach-hero-content > p:first-child {
  color: var(--pine-deep) !important;
}

.class-schedule-section {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse at 8% 0, rgba(215, 237, 159, .25), transparent 25rem),
    var(--home-surface-soft);
}

.class-schedule-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.class-schedule-heading .schedule-kicker {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .35rem .8rem;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.class-schedule-heading .section-title {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.class-schedule-heading > p {
  margin: 0;
  color: var(--muted);
}

.class-schedule-section .table-responsive {
  overflow-x: auto;
  background: var(--home-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(27, 38, 31, .08);
}

.class-schedule-section .schedule-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  color: var(--ink);
  text-align: right;
}

.class-schedule-section .schedule-table th {
  padding: 1rem 1.1rem;
  color: var(--white);
  background: var(--pine-deep);
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}

.class-schedule-section .schedule-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.class-schedule-section .schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.class-schedule-section .schedule-table tbody tr {
  transition: background-color .2s ease, box-shadow .2s ease;
}

.class-schedule-section .schedule-table tbody tr:hover {
  background: rgba(215, 237, 159, .2);
}

.class-schedule-section .schedule-table td:last-child {
  color: var(--pine);
  font-weight: 850;
  white-space: nowrap;
}

.class-schedule-section .schedule-table .schedule-empty {
  padding: 2rem 1.25rem;
  color: var(--ink-soft);
  text-align: center;
  white-space: normal;
}

body:not(.home-page) .class-schedule-section .schedule-empty a {
  color: var(--pine);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body:not(.home-page) .main-content,
body:not(.home-page) main.container {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

body:not(.home-page) .single-coach-card,
body:not(.home-page) .branch-card,
body:not(.home-page) .coach-card,
body:not(.home-page) .page-coach .card,
body:not(.home-page) .education-page .step,
body:not(.home-page) .education-page .video-wrapper {
  color: var(--ink) !important;
  background: var(--paper-bright) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 14px 40px rgba(27, 38, 31, .07) !important;
}

body:not(.home-page) .single-coach-card,
body:not(.home-page) .branch-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

body:not(.home-page) .single-coach-card h2,
body:not(.home-page) .branch-card h2,
body:not(.home-page) .branch-card h3,
body:not(.home-page) .branch-card h4,
body:not(.home-page) .main-content h2,
body:not(.home-page) .main-content h3,
body:not(.home-page) .main-content h4 {
  color: var(--ink) !important;
  font-family: var(--font-persian) !important;
}

body:not(.home-page) .single-coach-card p,
body:not(.home-page) .branch-card p,
body:not(.home-page) .main-content p,
body:not(.home-page) .main-content li {
  color: var(--ink-soft);
}

body:not(.home-page) .coach-card,
body:not(.home-page) .single-coach-card,
body:not(.home-page) .branch-card,
body:not(.home-page) .education-page .step,
body:not(.home-page) .page-coach .card,
body:not(.home-page) .gallery-item,
body:not(.home-page) .video-wrapper,
body:not(.home-page) .video-card,
body:not(.home-page) .coach-contact-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

body:not(.home-page) .coach-card:hover,
body:not(.home-page) .single-coach-card:hover,
body:not(.home-page) .branch-card:hover,
body:not(.home-page) .education-page .step:hover,
body:not(.home-page) .page-coach .card:hover,
body:not(.home-page) .gallery-item:hover,
body:not(.home-page) .video-wrapper:hover,
body:not(.home-page) .video-card:hover,
body:not(.home-page) .coach-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 93, 63, .42) !important;
  box-shadow: 0 22px 52px rgba(27, 38, 31, .13) !important;
}

body:not(.home-page) .coach-card h3,
body:not(.home-page) .coach-card .coach-specialty,
body:not(.home-page) .coach-card p,
body:not(.home-page) .coach-card li,
body:not(.home-page) .coach-achievements {
  color: var(--ink-soft) !important;
}

body:not(.home-page) .section-title {
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: var(--font-persian) !important;
}

body:not(.home-page) .page-coach table,
body:not(.home-page) .page-coach .table,
body:not(.home-page) .education-page .table {
  color: var(--ink) !important;
  --bs-table-bg: var(--paper-bright);
  --bs-table-color: var(--ink);
  --bs-table-border-color: var(--line);
}

body:not(.home-page) .page-coach .table thead,
body:not(.home-page) .education-page .table thead {
  color: var(--white) !important;
  background: var(--pine-deep) !important;
}

body:not(.home-page) .gallery-header {
  background: linear-gradient(115deg, #102b24, #173c32) !important;
}

body:not(.home-page) .gallery-header .section-title {
  color: #fffefa !important;
  -webkit-text-fill-color: currentColor !important;
}

body:not(.home-page) .gallery-header .section-title::before {
  background: var(--lime);
}

body:not(.home-page) .gallery-filter-section {
  background: var(--paper-bright) !important;
  border-color: var(--line);
}

body:not(.home-page) .filter-btn {
  color: var(--ink-soft);
  background: transparent;
  border-color: var(--line);
}

body:not(.home-page) .filter-btn:hover,
body:not(.home-page) .filter-btn.active {
  color: #fffefa;
  background: #173c32;
  border-color: #173c32;
}

body:not(.home-page) .education-page .main-content {
  color: var(--ink) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.home-page) .education-page .step-title,
body:not(.home-page) .education-page .breadcrumb-item a {
  color: var(--pine) !important;
}

body:not(.home-page) .education-page .video-description {
  color: #fffefa !important;
  background: #173c32 !important;
}

body:not(.home-page) .education-page .video-description h4 {
  color: var(--lime) !important;
}

body:not(.home-page) a:not(.cta-button):not(.nav-link):not(.footer-brand):not(.footer-links a):not(.footer-call) {
  color: var(--pine);
}

body:not(.home-page) .cta-button,
body:not(.home-page) .btn-home {
  min-height: 44px;
  color: #fffefa !important;
  background: #173c32 !important;
  border: 1px solid #173c32 !important;
  border-radius: 10px !important;
  font-family: var(--font-persian) !important;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}

body:not(.home-page) .cta-button:hover,
body:not(.home-page) .btn-home:hover {
  color: #fffefa !important;
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}

body:not(.home-page) :focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

html[data-home-theme="dark"] body:not(.home-page) {
  color: var(--ink) !important;
  background: var(--paper) !important;
}

html[data-home-theme="dark"] body:not(.home-page) :is(.single-coach-card, .branch-card, .coach-card, .page-coach .card, .education-page .step, .education-page .video-wrapper) {
  color: var(--ink) !important;
  background: var(--home-surface) !important;
  border-color: var(--line) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22) !important;
}

html[data-home-theme="dark"] body:not(.home-page) :is(.single-coach-card, .branch-card, .main-content) :is(h1, h2, h3, h4, p, li),
html[data-home-theme="dark"] body:not(.home-page) .coach-card :is(h1, h2, h3, h4, p, li),
html[data-home-theme="dark"] body:not(.home-page) .coach-achievements {
  color: var(--ink) !important;
}

html[data-home-theme="dark"] body:not(.home-page) .page-coach .table,
html[data-home-theme="dark"] body:not(.home-page) .education-page .table {
  --bs-table-bg: var(--home-surface);
  --bs-table-color: var(--ink);
  --bs-table-border-color: var(--line);
}

html[data-home-theme="dark"] body:not(.home-page) .gallery-filter-section {
  background: rgba(23, 34, 28, .96) !important;
}

html[data-home-theme="dark"] body:not(.home-page) .gallery-item {
  background: var(--home-surface) !important;
}

html[data-home-theme="dark"] body:not(.home-page) .filter-btn {
  color: var(--ink-soft);
}

html[data-home-theme="dark"] body:not(.home-page) .filter-btn:hover,
html[data-home-theme="dark"] body:not(.home-page) .filter-btn.active {
  color: #09130f;
  background: var(--lime);
  border-color: var(--lime);
}

html[data-home-theme="dark"] body:not(.home-page) .education-page .media-unavailable {
  color: var(--ink-soft);
  background: var(--home-surface-soft);
}

body.random-page {
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  text-align: center;
}

body.random-page .container {
  width: min(90%, 500px);
  max-width: 500px;
  margin: 2rem auto !important;
  padding: 2rem;
}

@media (max-width: 991.98px) {
  body:not(.home-page) .site-navbar .container {
    position: relative;
    min-height: 72px;
  }

  body:not(.home-page) .site-navbar .navbar-toggler {
    display: block;
    margin-right: auto;
  }

  body:not(.home-page) .site-navbar .navbar-collapse:not(.show) {
    display: none !important;
  }

  body:not(.home-page) .site-navbar .navbar-collapse.show {
    position: absolute;
    z-index: 20;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
    padding: .85rem;
    background: var(--pine-deep);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .25);
    animation: mobile-menu-arrive .24s ease-out both;
  }

  body:not(.home-page) .site-navbar .navbar-nav {
    align-items: stretch;
    flex-direction: column;
    gap: .2rem;
    width: 100%;
  }

  body:not(.home-page) .site-navbar .navbar-nav .nav-link {
    min-height: 44px;
    padding: .65rem .85rem !important;
  }

  body:not(.home-page) .site-navbar .theme-toggle {
    align-self: flex-start;
  }

  body:not(.home-page) .site-navbar .cta-button {
    width: 100%;
  }

  body:not(.home-page) .site-footer .home-footer-grid {
    grid-template-columns: auto 1fr;
  }

  body:not(.home-page) .site-footer .footer-call {
    justify-items: center;
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }
}

body:not(.home-page) {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(215, 237, 159, .25), transparent 34rem),
    radial-gradient(ellipse at 4% 48%, rgba(232, 93, 63, .075), transparent 32rem),
    var(--paper) !important;
}

html[data-home-theme="dark"] body:not(.home-page) {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(215, 237, 159, .075), transparent 34rem),
    radial-gradient(ellipse at 4% 48%, rgba(240, 138, 112, .065), transparent 32rem),
    var(--paper) !important;
}

body.page-detail .coach-hero-section {
  background:
    radial-gradient(ellipse at 82% 18%, rgba(232, 93, 63, .18), transparent 28rem),
    radial-gradient(ellipse at 12% 90%, rgba(215, 237, 159, .1), transparent 30rem),
    linear-gradient(115deg, #102b24, #173c32);
  background-size: 150% 150%, 150% 150%, 100% 100%;
  animation: detail-hero-background 30s ease-in-out infinite alternate;
}

html[data-home-theme="dark"] body.page-detail .coach-hero-section {
  background:
    radial-gradient(ellipse at 82% 18%, rgba(240, 138, 112, .2), transparent 28rem),
    radial-gradient(ellipse at 12% 90%, rgba(215, 237, 159, .08), transparent 30rem),
    linear-gradient(115deg, #09130f, #1b2922);
}

body.page-detail .class-schedule-section {
  background-size: 155% 155%, auto;
  animation: detail-schedule-background 34s ease-in-out infinite alternate;
}

@keyframes detail-hero-background {
  from {
    background-position: 0 0, 100% 100%, 0 0;
  }

  to {
    background-position: 100% 100%, 0 0, 0 0;
  }
}

@keyframes detail-schedule-background {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 100% 100%, 0 0;
  }
}

body:not(.home-page) .main-content {
  background-image: radial-gradient(rgba(23, 60, 50, .09) .8px, transparent .8px);
  background-position: 0 0;
  background-size: 30px 30px;
}

html[data-home-theme="dark"] body:not(.home-page) .main-content {
  background-image: radial-gradient(rgba(215, 237, 159, .09) .8px, transparent .8px);
}

body:not(.home-page) .coach-hero-section {
  isolation: isolate;
}

body:not(.home-page) .coach-hero-section::before {
  position: absolute;
  z-index: -1;
  top: -8rem;
  left: 8%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(215, 237, 159, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(215, 237, 159, .035), 0 0 0 5rem rgba(215, 237, 159, .025);
  content: "";
  pointer-events: none;
}

body:not(.home-page) .coach-profile-header {
  display: grid !important;
  grid-template-columns: minmax(210px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--home-surface);
  box-shadow: 0 18px 48px rgba(27, 38, 31, .09);
}

body:not(.home-page) .coach-profile-header > div {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2rem) !important;
}

body:not(.home-page) .coach-profile-header > div:first-child {
  height: clamp(250px, 30vw, 350px);
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
  background: var(--home-surface-soft);
}

body:not(.home-page) .coach-profile-header > div:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 350px;
  min-height: 0;
  object-fit: cover;
  object-position: center 32%;
}

body:not(.home-page) .coach-profile-header > div:nth-child(2) {
  align-self: center;
}

body:not(.home-page) .coach-student-table {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--home-surface);
  box-shadow: 0 14px 36px rgba(27, 38, 31, .08);
  text-align: right;
}

body:not(.home-page) .coach-student-table th {
  padding: .95rem 1rem;
  color: var(--white);
  background: linear-gradient(115deg, var(--pine-deep), var(--pine));
  border: 0;
  font-weight: 850;
  white-space: nowrap;
}

body:not(.home-page) .coach-student-table td {
  padding: .8rem 1rem;
  color: var(--ink-soft);
  background: var(--home-surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

body:not(.home-page) .coach-student-table tbody tr:last-child td {
  border-bottom: 0;
}

body:not(.home-page) .coach-student-table tbody tr {
  transition: background-color .2s ease, box-shadow .2s ease;
}

body:not(.home-page) .coach-student-table tbody tr:hover td {
  background: var(--home-surface-soft);
}

body:not(.home-page) .coach-student-table td:last-child {
  color: var(--pine);
  font-weight: 850;
}

body:not(.home-page) .coach-student-table .student-img,
body:not(.home-page) .coach-student-table .student-avatar {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 2px solid var(--home-surface);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--line);
  transition: transform .25s ease;
}

body:not(.home-page) .coach-student-table tbody tr:hover .student-img,
body:not(.home-page) .coach-student-table tbody tr:hover .student-avatar {
  transform: scale(1.08);
}

body:not(.home-page) .coach-contact-card {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(215, 237, 159, .25), transparent 16rem),
    var(--home-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(27, 38, 31, .08);
}

body:not(.home-page) .coach-contact-card h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

body:not(.home-page) .coach-contact-card .contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: .75rem;
}

body:not(.home-page) .coach-contact-card .contact-info p {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: .65rem;
  margin: 0;
  padding: .8rem 1rem;
  color: var(--ink-soft);
  background: var(--home-surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

body:not(.home-page) .coach-contact-card .contact-info .site-inline-icon {
  flex: 0 0 auto;
  color: var(--orange);
}

body:not(.home-page) .coach-contact-card .cta-button {
  justify-self: start;
}

.class-schedule-section .table-responsive {
  background: var(--home-surface);
}

.class-schedule-section .schedule-table,
.class-schedule-section .schedule-table tbody,
.class-schedule-section .schedule-table tr,
.class-schedule-section .schedule-table td {
  color: var(--ink);
  background: var(--home-surface);
}

.class-schedule-section .schedule-table th {
  background: linear-gradient(115deg, var(--pine-deep), var(--pine));
}

.class-schedule-section .schedule-table tbody tr:hover td {
  background: var(--home-surface-soft);
}

.class-schedule-section .schedule-table td:last-child {
  color: var(--pine);
}

html[data-home-theme="dark"] .class-schedule-section .schedule-table td:last-child,
html[data-home-theme="dark"] body:not(.home-page) .coach-student-table td:last-child {
  color: var(--lime);
}

.sport-hero-section {
  min-height: 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.sport-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.sport-hero-copy {
  width: auto;
  max-width: none;
  margin: 0;
}

.sport-hero-copy h1 {
  max-width: 20ch;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.4;
  text-wrap: balance;
}

.sport-hero-copy > p:not(:first-child) {
  max-width: 640px;
}

.sport-hero-media {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: clamp(220px, 28vw, 310px);
  justify-self: start;
  margin: 0;
  padding: .55rem;
  overflow: hidden;
  background: rgba(215, 237, 159, .16);
  border: 1px solid rgba(215, 237, 159, .42);
  border-radius: 28px 80px 28px 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  transform: rotate(-2deg);
  transition: border-color .24s ease, box-shadow .24s ease;
}

.sport-hero-media:hover {
  border-color: rgba(232, 93, 63, .72);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .32);
}

.sport-hero-media::before {
  position: absolute;
  z-index: 1;
  inset: .55rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 22px 72px 22px 22px;
  content: "";
  pointer-events: none;
}

.sport-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px 72px 22px 22px;
  object-fit: cover;
  transition: filter .24s ease;
}

.sport-hero-media:hover img {
  filter: saturate(1.08);
}

.sport-hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: .1rem;
  padding: .5rem .85rem;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  font-size: .72rem;
}

.sport-hero-media figcaption strong {
  font-size: 1rem;
}

.gallery-header {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 16% 12%, rgba(215, 237, 159, .18), transparent 25rem),
    radial-gradient(ellipse at 82% 105%, rgba(232, 93, 63, .22), transparent 26rem),
    linear-gradient(125deg, #102b24, #1d4b3b 60%, #173c32) !important;
}

.gallery-header::before,
.gallery-header::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(215, 237, 159, .19);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.gallery-header::before {
  top: -10rem;
  left: -5rem;
  width: 32rem;
  height: 32rem;
  box-shadow: 0 0 0 2.5rem rgba(215, 237, 159, .035), 0 0 0 5rem rgba(215, 237, 159, .025);
}

.gallery-header::after {
  right: 10%;
  bottom: -16rem;
  width: 30rem;
  height: 30rem;
}

.gallery-header .container {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.gallery-header .gallery-kicker {
  width: fit-content;
  margin: 0 auto .8rem;
  padding: .35rem .85rem;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 850;
}

.gallery-header .section-title {
  margin-bottom: .85rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  text-align: center;
}

.gallery-header .section-title::before {
  display: none;
}

.gallery-header .container > p:last-child {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  line-height: 2;
}

.gallery-filter-section {
  position: sticky;
  z-index: 10;
  top: 78px;
  padding: 1rem 0;
  background: rgba(252, 251, 247, .88) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.gallery-filter-section .filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.gallery-filter-section .filter-btn {
  min-height: 42px;
  padding: .5rem 1rem;
  color: var(--ink-soft);
  background: var(--home-surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .84rem;
  font-weight: 750;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.gallery-filter-section .filter-btn.active,
.gallery-filter-section .filter-btn:hover {
  color: var(--pine-deep);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 8px 20px rgba(23, 60, 50, .12);
}

.gallery-grid-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    radial-gradient(circle at 2% 20%, rgba(232, 93, 63, .07), transparent 18rem),
    radial-gradient(circle at 98% 75%, rgba(215, 237, 159, .14), transparent 22rem);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: clamp(42px, 5vw, 64px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1.2rem);
}

.gallery-page .gallery-item {
  position: relative;
  grid-column: span 4;
  grid-row: span 4;
  min-width: 0;
  overflow: hidden;
  background: var(--home-surface);
  border: 1px solid rgba(23, 60, 50, .11);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(27, 38, 31, .1);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.gallery-page .gallery-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 7;
}

.gallery-page .gallery-item:nth-child(2),
.gallery-page .gallery-item:nth-child(7) {
  grid-column: span 5;
  grid-row: span 5;
}

.gallery-page .gallery-item:nth-child(3),
.gallery-page .gallery-item:nth-child(5),
.gallery-page .gallery-item:nth-child(8),
.gallery-page .gallery-item:nth-child(10) {
  grid-row: span 5;
}

.gallery-page .gallery-item:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(23, 60, 50, .35);
  box-shadow: 0 24px 54px rgba(27, 38, 31, .18);
}

.gallery-page .gallery-image-wrapper,
.gallery-page .gallery-item:nth-child(5n + 1) .gallery-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--home-surface-soft);
}

.gallery-page .gallery-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: filter .5s ease, transform .5s ease;
}

.gallery-page .gallery-item:hover .gallery-image-wrapper img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

.gallery-page .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(.9rem, 2vw, 1.5rem);
  background: linear-gradient(0deg, rgba(8, 24, 18, .92), rgba(8, 24, 18, .12) 65%, transparent);
  opacity: 1;
  transition: background .3s ease;
}

.gallery-page .gallery-info {
  width: 100%;
  color: #fffefa;
}

.gallery-page .gallery-info h4 {
  margin: 0 0 .25rem;
  color: #fffefa;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  font-weight: 900;
}

.gallery-page .gallery-info p {
  margin: 0 0 .6rem;
  color: rgba(255, 255, 255, .8);
  font-size: .78rem;
}

.gallery-page .gallery-category-badge {
  display: inline-flex;
  padding: .25rem .65rem;
  color: var(--pine-deep);
  background: var(--lime);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}

.gallery-modal {
  position: fixed !important;
  z-index: 3000 !important;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  visibility: hidden;
  background: rgba(6, 14, 11, .94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  backdrop-filter: blur(14px);
}

.gallery-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal #modalImage {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

.gallery-modal .modal-close,
.gallery-modal .modal-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: #fffefa;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.gallery-modal .modal-close {
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
}

.gallery-modal .modal-prev {
  right: max(1rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
}

.gallery-modal .modal-next {
  left: max(1rem, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
}

.gallery-modal .modal-close:hover,
.gallery-modal .modal-nav:hover {
  color: var(--pine-deep);
  background: var(--lime);
}

.gallery-modal #modalCaption {
  position: absolute;
  right: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  max-width: min(80vw, 850px);
  padding: .55rem 1rem;
  color: #fffefa;
  background: rgba(13, 30, 23, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: .85rem;
  text-align: center;
  transform: translateX(50%);
}

@media (max-width: 900px) {
  .sport-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr);
    gap: 2rem;
  }

  .gallery-grid {
    grid-auto-rows: 52px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-page .gallery-item,
  .gallery-page .gallery-item:nth-child(n) {
    grid-column: span 3;
    grid-row: span 4;
  }

  .gallery-page .gallery-item:nth-child(1),
  .gallery-page .gallery-item:nth-child(10) {
    grid-column: span 6;
    grid-row: span 5;
  }
}

@media (max-width: 680px) {
  body:not(.home-page) .coach-profile-header {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.home-page) .coach-profile-header > div:first-child {
    height: 260px;
  }

  body:not(.home-page) .coach-profile-header > div:first-child img {
    max-height: 260px;
  }

  body:not(.home-page) .coach-profile-header > div:nth-child(2) {
    padding: 1.25rem !important;
  }

  body:not(.home-page) .coach-student-table,
  body:not(.home-page) .coach-student-table tbody {
    display: block;
    width: 100%;
  }

  body:not(.home-page) .coach-student-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body:not(.home-page) .coach-student-table tbody {
    display: grid;
    gap: .75rem;
  }

  body:not(.home-page) .coach-student-table tbody tr {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  body:not(.home-page) .coach-student-table tbody td {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: .55rem .8rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  body:not(.home-page) .coach-student-table tbody td:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    justify-content: center;
    border-bottom: 0;
  }

  body:not(.home-page) .coach-student-table tbody td:nth-child(n + 2) {
    grid-column: 2;
  }

  body:not(.home-page) .coach-student-table tbody td:last-child {
    border-bottom: 0;
  }

  body:not(.home-page) .coach-student-table tbody td:nth-child(2)::before {
    content: "هنرجو";
  }

  body:not(.home-page) .coach-student-table tbody td:nth-child(3)::before {
    content: "سوابق";
  }

  body:not(.home-page) .coach-student-table tbody td:nth-child(4)::before {
    content: "مهارت";
  }

  body:not(.home-page) .coach-student-table tbody td:nth-child(n + 2)::before {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 750;
    text-align: right;
  }

  .sport-hero-section {
    padding: 3rem 0;
  }

  .sport-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sport-hero-media {
    width: min(100%, 380px);
    height: 220px;
    justify-self: center;
  }

  .gallery-filter-section {
    top: 70px;
  }

  .gallery-grid {
    grid-auto-rows: 54px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-page .gallery-item,
  .gallery-page .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 4;
    border-radius: 16px;
  }

  .gallery-page .gallery-item:nth-child(1),
  .gallery-page .gallery-item:nth-child(10) {
    grid-column: span 2;
    grid-row: span 5;
  }

  .gallery-page .gallery-overlay {
    padding: .75rem;
  }

  .gallery-page .gallery-info p {
    font-size: .7rem;
  }

  .gallery-modal {
    padding: 4.5rem .75rem 5rem;
  }

  .gallery-modal #modalImage {
    max-width: 100%;
    max-height: calc(100vh - 10rem);
    max-height: calc(100dvh - 10rem);
    border-radius: 10px;
  }

  .gallery-modal .modal-close,
  .gallery-modal .modal-nav {
    width: 42px;
    height: 42px;
  }

  .gallery-modal .modal-prev {
    right: .6rem;
  }

  .gallery-modal .modal-next {
    left: .6rem;
  }

  .gallery-modal #modalCaption {
    max-width: calc(100vw - 2rem);
    font-size: .74rem;
  }
}

.class-schedule-section .table-responsive {
  background-color: var(--home-surface) !important;
}

.class-schedule-section .schedule-table,
.class-schedule-section .schedule-table tbody,
.class-schedule-section .schedule-table tr,
.class-schedule-section .schedule-table td {
  color: var(--ink) !important;
  background-color: var(--home-surface) !important;
}

.class-schedule-section .schedule-table th {
  color: var(--white) !important;
  background: linear-gradient(115deg, var(--pine-deep), var(--pine)) !important;
}

.class-schedule-section .schedule-table tbody tr:hover td {
  background-color: var(--home-surface-soft) !important;
}

.class-schedule-section .schedule-table td:last-child {
  color: var(--pine) !important;
}

.coach-student-table,
.coach-student-table tbody,
.coach-student-table tbody tr,
.coach-student-table tbody td {
  color: var(--ink) !important;
  background-color: var(--home-surface) !important;
}

.coach-student-table th {
  color: var(--white) !important;
  background: linear-gradient(115deg, var(--pine-deep), var(--pine)) !important;
}

.coach-student-table tbody tr:hover td {
  background-color: var(--home-surface-soft) !important;
}

.coach-student-table td:last-child {
  color: var(--pine) !important;
}

html[data-home-theme="dark"] .class-schedule-section .schedule-table td:last-child,
html[data-home-theme="dark"] body:not(.home-page) .coach-student-table td:last-child {
  color: var(--lime) !important;
}

@media (max-width: 767.98px) {
  body:not(.home-page) .class-schedule-section .table-responsive {
    background: transparent !important;
  }
}

@media (max-width: 700px) {
  body:not(.home-page) .site-navbar,
  body:not(.home-page) .site-navbar .container {
    min-height: 72px;
  }

  body:not(.home-page) .site-navbar .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  body:not(.home-page) .site-navbar .brand-copy strong {
    font-size: .97rem;
  }

  body:not(.home-page) .site-navbar .brand-copy small {
    font-size: .65rem;
  }

  body:not(.home-page) .content-placement-space {
    min-height: 0;
  }

  body:not(.home-page) .coach-hero-section,
  body:not(.home-page).page-coach > .hero-section,
  body:not(.home-page) .education-page .header {
    min-height: 300px;
    padding: 3rem 0 !important;
  }

  body:not(.home-page) .site-footer .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  body:not(.home-page) .site-footer .home-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.2rem;
    text-align: center;
  }

  body:not(.home-page) .site-footer .footer-call {
    grid-column: auto;
  }

  body:not(.home-page) .class-schedule-section .table-responsive {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body:not(.home-page) .class-schedule-section .schedule-table,
  body:not(.home-page) .class-schedule-section .schedule-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body:not(.home-page) .class-schedule-section .schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }

  body:not(.home-page) .class-schedule-section .schedule-table tbody {
    display: grid;
    gap: .85rem;
  }
}

/* Homepage news slider */
.home-page .hero-news-slider,
.home-page .hero-news-slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.home-page .hero-news-slide {
  overflow: hidden;
  border-radius: 210px 210px 12px 12px;
  box-shadow: var(--shadow);
}

.home-page .hero-news-slide .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-position: center;
}

.home-page .hero-news-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 43, 36, .02) 35%, rgba(16, 43, 36, .88) 100%);
}

.home-page .hero-news-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.5rem 1.65rem 1.65rem;
  color: var(--white);
  text-align: right;
}

.home-page .hero-news-kicker {
  margin: 0 0 .45rem;
  color: var(--lime);
  font-size: .75rem;
  font-weight: 850;
}

.home-page .hero-news-copy h2 {
  max-width: 540px;
  margin: 0 0 .8rem;
  color: var(--white);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: 1.55;
}

.home-page .hero-news-copy a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lime);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.home-page .hero-news-copy a:hover {
  color: var(--white);
}

.news-page .news-hero {
  min-height: 430px;
  padding: 5.5rem 0 4rem;
  background: linear-gradient(135deg, var(--pine-deep), var(--pine));
  color: var(--white);
}

.news-page .news-hero .container {
  max-width: 900px;
  text-align: center;
}

.news-page .news-kicker {
  color: var(--lime);
  font-size: .82rem;
  font-weight: 850;
}

.news-page .news-hero h1 {
  max-width: 820px;
  margin: 1rem auto 1.2rem;
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.35;
}

.news-page .news-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .82);
}

.news-page .news-content {
  padding: 3.5rem 0;
}

.news-page .news-story {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 2rem;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.news-page .news-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-page .news-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.news-page .news-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-page .news-gallery figure:hover img {
  transform: scale(1.025);
}

.news-page .news-gallery figcaption {
  min-height: 48px;
  padding: .75rem .85rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.7;
}

.news-page .news-gallery figure {
  cursor: zoom-in;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.news-page .news-gallery figure:hover,
.news-page .news-gallery figure:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 16px 38px rgba(27, 38, 31, .12);
  outline: none;
  transform: translateY(-4px);
}

.news-page .news-gallery figcaption strong {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 900;
}

.news-page .news-gallery figcaption span {
  font-size: .76rem;
}

.news-page .gallery-modal #newsModalImage {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

.news-page .gallery-modal #newsModalCaption {
  position: absolute;
  right: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  max-width: min(80vw, 850px);
  padding: .55rem 1rem;
  color: #fffefa;
  background: rgba(13, 30, 23, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1.7;
  text-align: center;
  transform: translateX(50%);
}

@media (max-width: 991.98px) {
  .home-page .hero-news-slider,
  .home-page .hero-news-slide {
    min-height: 420px;
  }
  .home-page .hero-news-slide {
    border-radius: 160px 160px 12px 12px;
  }
  .news-page .news-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .home-page .hero-news-slider,
  .home-page .hero-news-slide {
    min-height: 360px;
  }
  .home-page .hero-news-slide {
    border-radius: 120px 120px 12px 12px;
  }
  .home-page .hero-news-copy {
    padding: 1.2rem;
  }
  .news-page .news-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body:not(.home-page) .class-schedule-section .schedule-table tr {
    display: block;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(27, 38, 31, .06);
  }

  body:not(.home-page) .class-schedule-section .schedule-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .9rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  body:not(.home-page) .class-schedule-section .schedule-table td:first-child {
    display: block;
    color: var(--ink);
    background: var(--home-surface-soft);
    font-weight: 850;
    text-align: right;
  }

  body:not(.home-page) .class-schedule-section .schedule-table td:not(:first-child)::before {
    flex: 0 0 auto;
    color: var(--muted);
    content: attr(data-label);
    font-size: .78rem;
    font-weight: 700;
    text-align: right;
  }

  body:not(.home-page) .class-schedule-section .schedule-table td:last-child {
    border-bottom: 0;
    white-space: normal;
  }

  body:not(.home-page) .class-schedule-section .schedule-table .schedule-empty {
    display: block;
    text-align: center;
  }
}

.home-page .content-placement-space {
  min-height: 0;
  display: flow-root;
  background-color: #fff;
}

@media (max-width: 1100px) {
  body:not(.home-page) .site-footer .home-footer-grid {
    grid-template-columns: auto 1fr;
  }

  body:not(.home-page) .site-footer .footer-call {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  body:not(.home-page) .site-navbar,
  body:not(.home-page) .site-navbar .container {
    min-height: 70px;
  }

  body:not(.home-page) .site-navbar .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  body:not(.home-page) .site-navbar .brand-copy strong {
    font-size: .97rem;
  }

  body:not(.home-page) .site-navbar .brand-copy small {
    font-size: .65rem;
  }

  body:not(.home-page) .site-footer .home-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.2rem;
    text-align: center;
  }

  body:not(.home-page) .site-footer .footer-call {
    grid-column: auto;
  }
}

  .site-navbar .navbar-brand {
    gap: .85rem;
  }

  .site-navbar .navbar-toggler:hover {
    background: rgba(255, 255, 255, .14);
  }

  .site-navbar .theme-toggle:focus-visible,
  .site-navbar .navbar-toggler:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
  }

@media (max-width: 991.98px) {
  body .site-navbar .navbar-collapse.show .navbar-nav {
    width: 100%;
  }

  body .site-navbar .navbar-collapse.show .navbar-nav .nav-link {
    display: flex;
    width: 100%;
  }
}

