.education-page {
  padding-bottom: 0;
}

.education-page .header-nav a.is-active {
  color: #20b2ff;
}

.education-main {
  padding-top: 0;
}

.education-courses-intro {
  margin-bottom: 28px;
}

.education-courses-intro .home-courses-head {
  display: grid;
  grid-template-columns: 110px 287px minmax(520px, 761px);
  gap: 88px;
  align-items: center;
  padding: 74px 40px 36px 86px;
}

.education-courses-intro .home-courses-head-left,
.education-courses-intro .home-courses-head-center,
.education-courses-intro .home-courses-head-right {
  position: relative;
  z-index: 1;
}

.education-courses-intro .home-courses-head-left {
  display: grid;
  align-items: center;
}

.education-courses-intro .home-courses-kicker {
  margin: 0;
  color: #8fd1ff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.education-courses-intro .home-courses-head-center {
  display: grid;
  justify-items: start;
}

.education-courses-intro .home-courses-head-btn {
  min-width: 286px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(177, 207, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: #eef5ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(8, 17, 46, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.education-courses-intro .home-courses-head-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.education-courses-intro .home-courses-head-right {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.education-courses-intro .home-courses-head-right h2 {
  margin: 0;
  max-width: 761px;
  color: #f8fbff;
  font-size: clamp(40px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.education-top.section-block,
.education-calendar-section,
.education-retreat-section,
.education-reviews-section,
.education-curators-section,
.education-faq-section {
  margin: 22px 0 0;
}

section#calendar {
  margin-top: 90px;
}

section#retreat {
  margin-top: 90px;
}

section#curators {
  margin-top: 90px;
}

section#faq {
  margin-top: 90px;
}

.academy-kicker-row {
  position: relative;
  width: calc(100% + max(0px, (100dvw - min(var(--content-max), calc(100dvw - var(--content-gutter, 64px)))) / 2));
  margin-left: 0;
  margin-bottom: 36px;
  padding-left: 28px;
  box-sizing: border-box;
  overflow: clip;
}

.academy-kicker {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0 38px;
  margin-right: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(18, 28, 64, 0.88), rgba(32, 52, 108, 0.88));
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-transform: uppercase;
}

.education-calendar-kicker-row {
  margin-bottom: 28px;
}

.education-calendar-title-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.education-calendar-title-row h2 {
  margin: 0;
  text-align: center;
  color: #f8fbff;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
}

.education-calendar-shell-wrap {
  width: 100%;
}

.education-section-title-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  text-align: center;
}

.education-section-title-row h2,
.education-section-title-row .orbit-title {
  margin: 0;
  text-align: center;
}

.education-retreat-title-row h2,
.education-faq-title-row h2 {
  font-size: clamp(38px, 4vw, 62px);
}

.education-section-copy-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  text-align: center;
}

.education-section-copy-row p {
  margin: 0;
  max-width: 760px;
  color: #b7c4e2;
  font-size: 20px;
  line-height: 1.58;
}

.education-curators-title-row h2 {
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
}

.education-head,
.education-curators-head {
  display: grid;
  grid-template-columns: 110px 287px minmax(520px, 761px);
  gap: 88px;
  align-items: center;
}

.education-calendar-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.education-head {
  position: relative;
  padding: 74px 40px 36px 86px;
  border-radius: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
  justify-items: stretch;
  justify-content: start;
}

.education-head::after {
  content: none;
}

.education-head-left {
  display: contents;
}

.education-head .section-kicker {
  margin: 0;
  color: #8fd1ff;
  width: 133px;
  min-height: 36px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(86, 190, 255, 0.14);
  align-self: center;
  justify-self: start;
}

.education-calendar-btn {
  width: 287px;
  min-width: 287px;
  height: 47px;
  padding: 10px 36px;
  border-radius: 999px;
  color: #eef5ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(177, 207, 255, 0.32);
  box-shadow:
    0 10px 22px rgba(8, 17, 46, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  justify-self: start;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  margin-left: 96px;
}

.education-calendar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(177, 207, 255, 0.34);
  transform: translateY(-2px);
}

.education-head-right h1,
.education-calendar-body h2,
.education-retreat-head h2,
.education-reviews-head h2,
.education-curators-head h2,
.education-faq-head h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
}

.education-head-right {
  grid-column: 3;
  justify-self: start;
  width: 100%;
  margin-left: 132px;
}

.education-head-right h1 {
  color: #f8fbff;
  width: min(100%, 761px);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 761px;
  margin-left: 0;
  text-shadow:
    0 12px 26px rgba(10, 16, 40, 0.3),
    0 0 22px rgba(106, 162, 255, 0.06);
  text-align: left;
}

.education-toolbar {
  margin-top: 20px;
  padding: 0;
  border: 1px solid rgba(166, 198, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 43, 92, 0.44), rgba(18, 28, 61, 0.56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.education-toolbar-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #b7c7ea;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  cursor: pointer;
  justify-content: flex-start;
}

.education-toolbar-control:hover {
  color: #edf5ff;
  background: rgba(255, 255, 255, 0.03);
}

.education-toolbar-filter-label {
  min-height: 72px;
  padding: 0 24px;
  color: #f2f7ff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: default;
}

.education-toolbar-filter-label:hover {
  color: #f2f7ff;
  background: transparent;
}

.education-toolbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  min-height: 56px;
  padding: 0 16px;
  border-left: 1px solid rgba(166, 198, 255, 0.14);
}

.education-toolbar-count {
  color: #f2f7ff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.education-toolbar-tags {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.education-toolbar-tags a {
  color: #86cfff;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.education-toolbar-tags a:hover {
  color: #dff2ff;
}

.education-toolbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86cfff;
  font-size: 12px;
}

.education-toolbar-tag-remove {
  color: #dff2ff;
  text-decoration: none;
}

.education-filter-panel,
.education-sort-menu {
  margin: 0;
  border-radius: 0;
  border: none;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.education-filter-panel {
  grid-column: 1 / -1;
  padding: 18px;
  border-top: 1px solid rgba(166, 198, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.education-filter-group {
  border-radius: 14px;
  border: 1px solid rgba(171, 201, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.education-filter-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ccfff;
  margin-bottom: 10px;
}

.education-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.education-filter-chip,
.education-sort-option {
  border: 1px solid rgba(171, 201, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #dce8ff;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.education-filter-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
}

.education-sort-menu {
  grid-column: 1 / -1;
  padding: 10px;
  border-top: 1px solid rgba(166, 198, 255, 0.14);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.education-sort-option {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  text-align: left;
  font-size: 13px;
}

.education-filter-chip:hover,
.education-sort-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(171, 201, 255, 0.34);
  transform: translateY(-1px);
}

.education-filter-chip.is-active,
.education-sort-option.is-active {
  background: linear-gradient(135deg, rgba(53, 151, 242, 0.28), rgba(104, 96, 255, 0.24));
  border-color: rgba(128, 198, 255, 0.45);
  color: #ffffff;
}

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

.education-catalog-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.education-catalog-grid > .edu-course-card:not([data-catalog-card="new"]) {
  display: none !important;
}

.edu-course-card,
.edu-note-card,
.edu-free-card,
.education-retreat-card,
.calendar-shell,
.curator-row,
.education-faq-list .faq-item {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(182, 210, 255, 0.24);
  background: linear-gradient(180deg, rgba(35, 48, 98, 0.82), rgba(17, 27, 60, 0.92));
  box-shadow: 0 18px 38px rgba(5, 10, 29, 0.36);
  backdrop-filter: blur(16px);
}

[data-edu-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-edu-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.edu-course-card,
.edu-note-card,
.edu-free-card {
  min-height: 610px;
  padding: 22px 20px 18px;
  overflow: hidden;
}

.education-catalog-grid > .edu-course-card[data-catalog-card="new"] {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(164, 198, 255, 0.26);
  background:
    radial-gradient(circle at top, rgba(106, 214, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(19, 29, 68, 0.96), rgba(9, 15, 39, 0.98));
  box-shadow: 0 18px 42px rgba(5, 10, 29, 0.34);
  color: #edf3ff;
  backdrop-filter: blur(16px);
}

.edu-course-card::before,
.edu-note-card::before,
.edu-free-card::before,
.education-retreat-card::before,
.curator-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(130, 206, 255, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.edu-course-card:hover::before,
.edu-note-card:hover::before,
.edu-free-card:hover::before,
.education-retreat-card:hover::before,
.curator-row:hover::before {
  opacity: 1;
}

.edu-course-card:hover,
.edu-note-card:hover,
.edu-free-card:hover,
.education-retreat-card:hover,
.curator-row:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-color: rgba(194, 228, 255, 0.42);
  box-shadow: 0 24px 48px rgba(8, 15, 38, 0.42);
}

.education-catalog-grid > .edu-course-card[data-catalog-card="new"]:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 227, 255, 0.46);
  box-shadow: 0 24px 46px rgba(10, 16, 41, 0.42);
}

.edu-card-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(108, 122, 168, 0.92);
  color: #f2f6ff;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
}

.edu-course-media {
  width: min(100%);
  height: 410px;
  margin: 0 auto 18px;
  border-radius: 0;
  overflow: hidden;
}

.edu-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.02);
}

.education-catalog-grid .edu-course-media img {
  width: 86%;
  height: 86%;
  margin: 7% auto;
  object-fit: contain;
  object-position: center;
}

.edu-course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(235, 247, 255, 0.02), rgba(3, 8, 28, 0.26)),
    radial-gradient(circle at 50% 120%, rgba(94, 221, 255, 0.22), transparent 40%);
  pointer-events: none;
}

.edu-course-date-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: center;
}

.edu-course-year {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #87a6d9;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.edu-course-range {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f2f6ff;
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(123, 204, 255, 0.18);
}

.edu-course-arrow {
  flex: 1;
  min-width: 34px;
  color: transparent;
  font-size: 0;
  border-top: 1px solid rgba(166, 201, 255, 0.72);
  position: relative;
}

.edu-course-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(166, 201, 255, 0.72);
  border-top: 1px solid rgba(166, 201, 255, 0.72);
  transform: rotate(45deg);
}

.edu-course-meta {
  margin-top: 12px;
  padding-left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.edu-course-meta::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  bottom: -72px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(129, 229, 255, 0.92), rgba(101, 123, 255, 0.24));
  box-shadow: 0 0 22px rgba(98, 212, 255, 0.34);
}

.edu-course-pill {
  display: inline-flex;
  min-height: 26px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(193, 229, 255, 0.22);
  color: #f5fbff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.edu-course-level {
  color: #9cb4df;
  font-size: 12px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
}

.edu-course-card h3,
.edu-note-card h3,
.edu-free-card h3 {
  margin: 14px 0 0;
  padding-left: 28px;
  color: #f4f8ff;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(96, 205, 255, 0.12);
}

.edu-course-card p,
.edu-note-card p,
.edu-free-card p,
.education-retreat-card p,
.curator-text {
  margin-top: 12px;
  padding-left: 28px;
  color: #b8c9ee;
  font-size: 16px;
  line-height: 1.58;
}

.edu-course-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.education-catalog-grid .course-btn {
  min-height: 50px;
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(180, 216, 255, 0.3);
  color: #e6f2ff;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}

.education-catalog-grid .course-btn::after {
  content: "→";
  margin-left: 8px;
}

.education-catalog-grid .course-btn-main {
  border-color: rgba(110, 220, 255, 0.26);
  background: linear-gradient(135deg, #1b8aca, #5e6dff);
  color: #ffffff;
}

.education-catalog-grid .course-btn::after {
  content: "\2192";
  margin-left: 0;
}

.education-catalog-grid .course-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(10, 16, 41, 0.28);
}

.edu-course-card-featured .edu-course-level {
  line-height: 1.4;
}

.course-btn-single {
  margin-top: 22px;
}

.edu-note-card,
.edu-free-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edu-note-label,
.edu-free-subtitle {
  color: #8fd1ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.edu-note-kicker {
  margin-top: 10px;
  color: #a8b7da;
  font-size: 14px;
}

.edu-free-top {
  font-size: 34px;
  line-height: 1.08;
}

.calendar-shell {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  gap: 22px;
}

.calendar-month {
  min-width: 0;
  width: 100%;
}

.calendar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.calendar-control {
  display: grid;
  gap: 5px;
  color: #9db0d7;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-control select {
  min-width: 150px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(171, 197, 239, 0.2);
  background: #31457c;
  color: #eff5ff;
  padding: 8px 34px 8px 12px;
  font: inherit;
  font-size: 13px;
  text-transform: none;
  outline: none;
  color-scheme: dark;
  box-shadow: 0 8px 22px rgba(7, 16, 45, 0.18);
}

.calendar-control select:focus {
  border-color: rgba(143, 209, 255, 0.68);
  background: #38518f;
}

.calendar-control option {
  background: #24376d;
  color: #eff5ff;
  font-size: 14px;
  font-weight: 700;
}

.calendar-control option:checked,
.calendar-control option:hover {
  background: #2f73d8;
  color: #ffffff;
}

.calendar-topbar {
  color: #eff5ff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.calendar-board {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: 22px repeat(var(--calendar-weeks), 72px);
  gap: 8px;
  position: relative;
  box-sizing: border-box;
}

.calendar-bars-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.calendar-weekday {
  color: #9db0d7;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.calendar-cell {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(171, 197, 239, 0.16);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 8px 7px;
  color: #dfe8ff;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
}

.calendar-cell.muted {
  opacity: 0.24;
}

.calendar-cell.has-event {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(214, 230, 255, 0.22);
  background: var(--calendar-day-bg);
  border-color: rgba(220, 238, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 26px rgba(41, 107, 202, 0.22);
  color: #ffffff;
}

.calendar-cell.has-event::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 46%, rgba(8, 17, 42, 0.14));
  pointer-events: none;
}

.calendar-day-number {
  position: relative;
  z-index: 1;
}

.calendar-day-number {
  line-height: 1;
  font-size: 18px;
  font-weight: 900;
  margin-left: auto;
}

.calendar-event-bar {
  position: absolute;
  z-index: 3;
  height: 22px;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--calendar-bar-bg);
  color: #ffffff;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(20, 42, 108, 0.24);
  pointer-events: auto;
}

.calendar-event-bar:hover {
  filter: brightness(1.06);
}

.calendar-event-bar-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 6px rgba(3, 10, 27, 0.24);
}

.calendar-event-bar.is-label-hidden .calendar-event-bar-label {
  display: none;
}

@media (max-width: 640px) {
  .calendar-event-bar-label {
    font-size: 16px;
  }

  .calendar-event-bar {
    height: 22px;
    padding: 0 12px;
  }
}

.calendar-empty {
  border: 1px solid rgba(171, 197, 239, 0.16);
  border-radius: 14px;
  padding: 22px;
  color: #a8b7da;
  text-align: center;
}

.education-retreat-head,
.education-faq-head {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.education-retreat-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 18px;
  align-items: center;
}

.education-retreat-photos {
  height: 240px;
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 0.72fr;
  gap: 18px;
  align-items: end;
}

.education-retreat-section .retreat-grid {
  --retreat-showcase-height: 500px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.education-retreat-section .retreat-photos {
  width: min(620px, 100%);
  height: var(--retreat-showcase-height);
  min-height: var(--retreat-showcase-height);
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  grid-template-rows: minmax(0, 0.54fr) minmax(0, 0.46fr);
  grid-template-areas:
    "hero hero"
    "left right";
  gap: 8px;
  justify-self: start;
  margin: 0;
  align-items: stretch;
}

.education-retreat-section .ph {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(202, 219, 238, 0.45);
  box-shadow: 0 18px 32px rgba(7, 12, 33, 0.24);
  display: block;
  cursor: zoom-in;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  outline: none;
}

.education-retreat-section .ph::after {
  content: "\F14E";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(5, 12, 28, 0.68);
  color: #ffffff;
  font-family: "bootstrap-icons";
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: transform 0.24s ease, background 0.24s ease;
}

.education-retreat-section .ph:hover,
.education-retreat-section .ph:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(234, 243, 255, 0.86);
  box-shadow: 0 22px 36px rgba(7, 12, 33, 0.3);
}

.education-retreat-section .ph:hover::after,
.education-retreat-section .ph:focus-visible::after {
  transform: scale(1.05);
  background: rgba(24, 55, 116, 0.82);
}

.education-retreat-section .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

.education-retreat-section .ph1 {
  grid-area: hero;
}

.education-retreat-section .ph2 {
  grid-area: left;
}

.education-retreat-section .ph3 {
  grid-area: right;
}

.retreat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.retreat-lightbox.is-open {
  display: flex;
}

.retreat-lightbox[hidden] {
  display: none;
}

.retreat-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.84);
  backdrop-filter: blur(10px);
}

.retreat-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  padding: 22px 22px 18px;
  border: 1px solid rgba(183, 212, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(85, 140, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(13, 23, 52, 0.98), rgba(8, 14, 32, 0.98));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.retreat-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.retreat-lightbox-caption {
  min-width: 0;
  color: rgba(237, 244, 255, 0.94);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.retreat-lightbox-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.retreat-lightbox-btn {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(194, 219, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.retreat-lightbox-btn:hover,
.retreat-lightbox-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(63, 117, 232, 0.22);
  border-color: rgba(230, 240, 255, 0.52);
  outline: none;
}

.retreat-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(78vh, 820px);
  overflow: auto;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(3, 7, 18, 0.78);
}

.retreat-lightbox-stage img {
  max-width: none;
  width: auto;
  height: auto;
  display: block;
  transform-origin: center center;
  transition: transform 0.22s ease;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}

.retreat-lightbox-stage.is-zoomed img {
  cursor: grab;
}

.retreat-lightbox-stage.is-zoomed img:active {
  cursor: grabbing;
}

.retreat-photo {
  border-radius: 18px;
  border: 1px solid rgba(181, 210, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(198, 219, 255, 0.16), rgba(112, 137, 201, 0.32)),
    radial-gradient(circle at 50% 50%, rgba(150, 190, 255, 0.14), transparent 55%);
}

.retreat-photo-small {
  height: 120px;
}

.retreat-photo-wide {
  height: 170px;
}

.retreat-photo-square {
  height: 100px;
}

.education-retreat-card {
  padding: 28px;
}

.education-retreat-section .retreat-card {
  height: var(--retreat-showcase-height);
  min-height: var(--retreat-showcase-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.education-reviews-section .orbit-item.video {
  background: #050814;
  cursor: pointer;
  width: 320px;
  aspect-ratio: 16 / 9;
  height: auto;
  margin-left: -160px;
  margin-top: calc(-320px * 9 / 16 / 2);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  opacity: 1;
  overflow: hidden;
}

.education-reviews-section .orbit-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 186px;
}

.education-reviews-section .orbit-title {
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 700;
  margin: 0;
}

.education-reviews-section .orbit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.education-reviews-section .orbit-arena-outer {
  position: relative;
  width: 100%;
  max-width: 1520px;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.education-reviews-section .orbit-arena {
  position: relative;
  width: min(1300px, 100%);
  height: 560px;
  margin: 0 auto;
  transform: rotate(-18deg);
}

.education-reviews-section .orbit-ellipse {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed var(--line);
}

.education-reviews-section .orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform-origin: center;
}

.education-reviews-section .orbit-item-inner {
  transform: rotate(18deg);
}

.education-reviews-section .orbit-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 90px;
}

@media (min-width: 2400px) {
  .education-courses-intro .home-courses-head,
  .education-head,
  .education-curators-head {
    grid-template-columns: 140px minmax(280px, 340px) minmax(720px, 1fr);
    gap: 72px;
  }

  .education-courses-intro .home-courses-head {
    padding: 82px 72px 48px 86px;
  }

  .education-courses-intro .home-courses-head-right h2,
  .education-head-right h1 {
    max-width: 920px;
  }

  .education-toolbar {
    margin-top: 36px;
  }

  .calendar-shell,
  .education-reviews-section .orbit-arena-outer {
    max-width: 1620px;
  }

  .education-reviews-section .orbit-arena {
    width: min(1480px, 100%);
    height: 620px;
  }
}

.education-reviews-section .orbit-main-cta {
  min-width: 430px;
  text-transform: none;
  letter-spacing: 0;
}

.education-reviews-section .orbit-mobile-slider {
  display: none;
}

.education-reviews-section .orbit-mobile-container {
  position: relative;
  display: block;
}

.education-reviews-section .orbit-mobile-track {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.education-reviews-section .orbit-mobile-item {
  position: relative;
  display: none;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #050814;
  border: 1px solid rgba(168, 226, 255, 0.3);
}

.education-reviews-section .orbit-mobile-item.active {
  display: block;
}

.education-reviews-section .orbit-mobile-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 16, 32, 0.65);
  transform: translateY(-50%);
  cursor: pointer;
}

.education-reviews-section .orbit-mobile-nav.prev {
  left: -48px;
}

.education-reviews-section .orbit-mobile-nav.next {
  right: -48px;
}

.education-reviews-section .orbit-mobile-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.education-reviews-section .orbit-mobile-nav.prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.education-reviews-section .orbit-mobile-nav.next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.education-reviews-section .orbit-mobile-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.education-reviews-section .orbit-mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.education-reviews-section .orbit-mobile-dot.active {
  width: 24px;
  background: #a8e2ff;
}

.education-reviews-section .orbit-item.video img,
.education-reviews-section .orbit-mobile-item.video img,
.education-reviews-section .orbit-item.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.education-reviews-section .orbit-item.video,
.education-reviews-section .orbit-mobile-item.video {
  cursor: pointer;
  overflow: hidden;
}

.education-reviews-section .orbit-item.video video,
.education-reviews-section .orbit-mobile-item.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #050814;
  pointer-events: none;
}

.education-reviews-section .orbit-item.video video::-webkit-media-controls,
.education-reviews-section .orbit-item.video video::-webkit-media-controls-panel,
.education-reviews-section .orbit-item.video video::-webkit-media-controls-play-button,
.education-reviews-section .orbit-item.video video::-webkit-media-controls-start-playback-button,
.education-reviews-section .orbit-mobile-item.video video::-webkit-media-controls,
.education-reviews-section .orbit-mobile-item.video video::-webkit-media-controls-panel,
.education-reviews-section .orbit-mobile-item.video video::-webkit-media-controls-play-button,
.education-reviews-section .orbit-mobile-item.video video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.education-reviews-section .orbit-item.video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.85);
  z-index: 2;
}

.education-reviews-section .orbit-item.video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 15px solid #ffffff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 2px;
  z-index: 3;
}

.education-reviews-section .orbit-video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 20px 20px;
}

.education-reviews-section .orbit-video-overlay span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.education-reviews-section .orbit-mobile-item.video {
  background: linear-gradient(135deg, rgba(91, 141, 255, 0.2), rgba(168, 226, 255, 0.15));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 226, 255, 0.3);
  cursor: pointer;
}

.education-reviews-section .orbit-mobile-item.video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.education-reviews-section .orbit-mobile-item.video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 16px solid #1a1a2e;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 2px;
  z-index: 3;
}

.education-reviews-section .orbit-mobile-item.video img,
.education-reviews-section .orbit-mobile-item.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.education-retreat-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.education-retreat-top strong {
  font-size: 42px;
  line-height: 1;
}

.education-retreat-top span {
  font-size: 28px;
  line-height: 1;
  color: #bcccf0;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.education-reviews-head {
  display: grid;
  grid-template-columns: 220px 220px 1fr;
  gap: 18px;
  align-items: start;
}

.education-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(168, 226, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: #dff1ff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.education-link-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.education-reviews-map {
  position: relative;
  height: 350px;
  margin-top: 28px;
}

.reviews-node,
.curator-avatar {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(190, 218, 255, 0.34);
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 231, 255, 0.55) 0 12%, rgba(120, 150, 214, 0.34) 13% 48%, rgba(69, 89, 151, 0.38) 49% 100%);
}

.reviews-node::after,
.curator-avatar::after {
  content: "";
  position: absolute;
  inset: 22% 22%;
  border-radius: 50%;
  border: 1px solid rgba(198, 224, 255, 0.25);
}

.reviews-node-lg {
  width: 94px;
  height: 94px;
}

.reviews-node-md {
  width: 118px;
  height: 118px;
}

.reviews-node-card {
  width: 130px;
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(189, 214, 255, 0.22), rgba(104, 129, 194, 0.22));
}

.reviews-node-card::after {
  inset: auto auto -14px 24px;
  width: 30px;
  height: 30px;
  border: none;
  border-left: 1px solid rgba(190, 218, 255, 0.34);
  border-bottom: 1px solid rgba(190, 218, 255, 0.34);
  border-radius: 0 0 0 12px;
  transform: rotate(-22deg);
}

.reviews-node-1 { left: 4%; top: 146px; }
.reviews-node-2 { left: 23%; top: 86px; }
.reviews-node-3 { left: 43%; top: 84px; }
.reviews-node-4 { right: 13%; top: 80px; }
.reviews-node-5 { left: 28%; top: 204px; }
.reviews-node-6 { left: 55%; top: 204px; }

.reviews-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(190, 218, 255, 0.4), rgba(190, 218, 255, 0.16));
  transform-origin: left center;
}

.line-1 { left: 11%; top: 194px; width: 120px; transform: rotate(-28deg); }
.line-2 { left: 35%; top: 132px; width: 122px; transform: rotate(12deg); }
.line-3 { left: 59%; top: 137px; width: 112px; transform: rotate(-10deg); }
.line-4 { left: 19%; top: 252px; width: 146px; transform: rotate(10deg); }
.line-5 { left: 46%; top: 252px; width: 98px; transform: rotate(-18deg); }

.education-reviews-cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.education-main-cta {
  min-width: 340px;
}

.education-main-cta .cosmic-btn-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.education-main-cta img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.education-curators-list {
  margin-top: 56px;
  display: grid;
  gap: 38px;
  justify-content: center;
}

.curator-row {
  display: grid;
  grid-template-columns: 120px 376px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: min(100%, 1164px);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.curator-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  justify-self: center;
  border: 1px solid rgba(182, 210, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(182, 214, 255, 0.18), rgba(78, 100, 162, 0.24)),
    radial-gradient(circle at 50% 50%, rgba(220, 236, 255, 0.18), rgba(91, 113, 176, 0.16) 56%, rgba(26, 39, 82, 0.22) 100%);
}

.curator-avatar::before,
.curator-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 1px;
  background: rgba(198, 224, 255, 0.18);
  transform-origin: center;
}

.curator-avatar::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.curator-avatar::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  inset: auto;
  border: none;
  border-radius: 0;
}

.curator-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #f3f7ff;
}

.curator-text {
  margin-top: 0;
  min-height: 80px;
  max-width: 620px;
  padding: 6px 0 6px 24px;
  border-left: 1px solid rgba(188, 216, 255, 0.3);
  color: #b7c4e2;
  font-size: 14px;
  line-height: 1.5;
}

.curator-row::before {
  content: none;
}

.curator-row:hover::before {
  opacity: 0;
}

.curator-row:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.education-faq-list {
  margin-top: 28px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.education-faq-list .faq-item {
  margin: 12px 0;
}

.education-faq-list .faq-btn {
  padding: 18px 22px;
}

.education-faq-list .faq-question {
  font-size: 20px;
}

.education-faq-list .faq-panel {
  padding-left: 24px;
  padding-right: 24px;
}

.education-faq-section .faq-list {
  display: grid;
}

.education-faq-section .faq-item {
  overflow: hidden;
  border-radius: 24px;
}

.education-faq-list .faq-item {
  margin: 3px 0;
}

.education-faq-section .faq-btn {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  align-items: center;
  width: 100%;
  gap: 18px;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.education-faq-section .faq-question {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.education-faq-section .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  padding: 0;
  transition: grid-template-rows 0.28s ease;
}

.education-faq-section .faq-panel > * {
  overflow: hidden;
}

.education-faq-section .faq-panel p {
  margin: 0;
  padding: 0 26px 24px 116px;
  color: #e4ecff;
  font-size: 18px;
  line-height: 1.45;
}

.education-faq-section .faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  padding-bottom: 0;
}

/* FAQ: exact visual parity with home */
.education-faq-section .faq-list {
  background: linear-gradient(180deg, rgba(35, 45, 82, 0.6), rgba(40, 55, 104, 0.55));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 12px 16px;
  box-shadow: 0 12px 40px rgba(86, 140, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  counter-reset: faq-counter;
  display: grid;
}

.education-faq-section .faq-item {
  counter-increment: faq-counter;
  overflow: hidden;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-faq-list .faq-item {
  margin: 3px 0;
}

.education-faq-section .faq-btn {
  width: 100%;
  border: none;
  background: transparent;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
}

.education-faq-section .faq-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: linear-gradient(to right, #fbe975, #9959f6, #56bebb);
  border: 1px solid rgba(153, 89, 246, 0.6);
  backdrop-filter: blur(10px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(153, 89, 246, 0.5);
}

.education-faq-section .faq-icon::before {
  content: counter(faq-counter);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(168, 226, 255, 0.8);
}

.education-faq-section .faq-question {
  flex: 1;
  color: #a8e2ff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.education-faq-section .faq-plus {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: linear-gradient(to right, #fbe975, #9959f6, #56bebb);
  border: 1px solid rgba(153, 89, 246, 0.5);
  position: relative;
  transition: all 0.3s ease;
}

.education-faq-section .faq-plus::before,
.education-faq-section .faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #1a1a2e;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.education-faq-section .faq-plus::before {
  width: 12px;
  height: 2px;
}

.education-faq-section .faq-plus::after {
  width: 2px;
  height: 12px;
}

.education-faq-section .faq-panel {
  max-height: 0;
  overflow: hidden;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 24px;
  transition: max-height 500ms ease, padding-bottom 400ms ease;
  line-height: 1.6;
  display: block;
}

.education-faq-section .faq-panel p {
  margin: 0 0 10px;
  padding: 0 26px 0 92px;
  color: #e4ecff;
  font-size: 18px;
  line-height: 1.45;
}

.education-faq-section .faq-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(168, 226, 255, 0.05));
  border-color: rgba(168, 226, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(168, 226, 255, 0.2);
}

.education-faq-section .faq-item:hover .faq-icon {
  transform: scale(1.05);
}

.education-faq-section .faq-item.is-open {
  background: linear-gradient(135deg, rgba(168, 226, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(168, 226, 255, 0.3);
  box-shadow: 0 8px 30px rgba(168, 226, 255, 0.2);
}

.education-faq-section .faq-item.is-open .faq-panel {
  max-height: 1000px;
  padding-bottom: 18px;
}

.education-faq-section .faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  box-shadow: 0 4px 20px rgba(153, 89, 246, 0.6);
}

.education-faq-section .faq-item.is-open .faq-plus::after {
  opacity: 0;
}

@media (max-width: 640px) {
  .education-faq-section .faq-btn {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 18px 16px;
    display: grid;
    align-items: center;
  }

  .education-faq-section .faq-question {
    font-size: 18px;
  }

  .education-faq-section .faq-panel p {
    padding: 0 16px 18px 78px;
    font-size: 16px;
  }

  .education-reviews-section .orbit-cta-row {
    margin-top: 20px;
  }

  .education-reviews-section .orbit-main-cta {
    min-width: auto;
  }
}

.gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--app-vh, 1vh) * 100);
  min-height: calc(var(--app-vh, 1vh) * 100);
  background: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: contain;
}

.gallery-popup-content {
  position: relative;
  width: 100vw;
  height: 100%;
  min-height: calc(var(--app-vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) calc(env(safe-area-inset-right, 0px) + 20px) calc(env(safe-area-inset-bottom, 0px) + 20px) calc(env(safe-area-inset-left, 0px) + 20px);
}

.gallery-popup-close {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: calc(env(safe-area-inset-right, 0px) + 12px);
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10003;
  padding: 0;
  margin: 0;
}

.yt-player {
  position: relative;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  width: 1280px;
  height: 720px;
  max-width: 90vw;
  max-height: 50.625vw;
}

.gallery-popup .yt-player {
  --popup-max-h: calc((var(--app-vh, 1vh) * 100) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  width: min(92vw, calc(var(--popup-max-h) * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 92vw;
  max-height: var(--popup-max-h);
  margin: 0 auto;
}

.gallery-popup .yt-player.is-vertical {
  width: min(56vw, calc(var(--popup-max-h) * 9 / 16));
  aspect-ratio: 9 / 16;
  max-width: 560px;
}

.yt-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.yt-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 100;
}

.yt-player:hover .yt-controls {
  opacity: 1;
}

.yt-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
}

.yt-progress-filled {
  height: 100%;
  background: #2298E6;
  width: 0%;
}

.yt-tooltip {
  position: absolute;
  bottom: 30px;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 1000;
}

.yt-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-speed-btn {
  font-size: 13px;
  font-weight: bold;
  min-width: 30px;
  border-radius: 4px;
}

.yt-time {
  color: white;
  font-size: 13px;
  font-family: monospace;
  white-space: nowrap;
}

.yt-volume {
  width: 100px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  position: relative;
  border-radius: 3px;
}

.yt-volume-fill {
  height: 100%;
  background: linear-gradient(90deg, #2298E6, #695FF7);
  width: 100%;
  border-radius: 3px;
}

.yt-speed-menu {
  position: absolute;
  bottom: 50px;
  right: 60px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  padding: 8px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

.yt-speed-menu.show {
  opacity: 1;
  visibility: visible;
}

.yt-speed-header {
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 4px;
}

.yt-speed-item {
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
}

.yt-speed-item.active {
  background: rgba(255, 0, 0, 0.3);
}

.yt-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
}

.yt-play-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.yt-play-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(41deg, #2298E6, #695FF7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}

.reviews-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 48, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  overflow: hidden;
}

.reviews-popup-overlay.is-open {
  display: flex;
}

body.popup-open {
  overflow: hidden;
}

.reviews-popup-box {
  background: linear-gradient(180deg, rgba(35, 45, 82, 0.95), rgba(40, 55, 104, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  max-width: 1400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.reviews-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.reviews-popup-close::before,
.reviews-popup-close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #ffffff;
  top: 19px;
  left: 9px;
}

.reviews-popup-close::before {
  transform: rotate(45deg);
}

.reviews-popup-close::after {
  transform: rotate(-45deg);
}

.reviews-popup-title {
  font-family: 'Mulish', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #a8e2ff;
  margin: 0 0 30px 0;
  text-align: center;
}

.reviews-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.reviews-subfilter {
  margin-top: -20px;
  margin-bottom: 30px;
}

.reviews-filter-btn {
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.reviews-filter-btn.active {
  background: linear-gradient(45deg, #1fa6f5, #2b78f5);
  border-color: transparent;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
}

.review-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-item[data-hidden="true"] {
  display: none;
}

.review-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.review-play-btn::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 15px;
  width: 0;
  height: 0;
  border-left: 15px solid #1a1a2e;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.review-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 30px 10px 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 901px) and (max-width: 1400px) {
  .education-retreat-section .retreat-grid {
    --retreat-showcase-height: 700px;
  }
}

@media (max-width: 900px) {
  .education-retreat-section .retreat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    --retreat-showcase-height: auto;
  }

  .education-retreat-section .retreat-photos {
    width: 100%;
    max-width: 620px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "hero"
      "left"
      "right";
    gap: 10px;
  }

  .education-retreat-section .ph1,
  .education-retreat-section .ph2,
  .education-retreat-section .ph3 {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .education-retreat-section .retreat-card {
    height: auto;
    min-height: 0;
  }

  .retreat-lightbox {
    padding: 16px;
  }

  .retreat-lightbox-dialog {
    width: min(100vw - 32px, 1000px);
    max-height: calc(100vh - 32px);
    padding: 16px 16px 14px;
    border-radius: 22px;
  }

  .retreat-lightbox-toolbar {
    margin-bottom: 14px;
  }

  .retreat-lightbox-caption {
    font-size: 17px;
  }

  .retreat-lightbox-btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .retreat-lightbox-stage {
    height: min(70vh, 680px);
    border-radius: 18px;
  }

  .education-reviews-section .orbit-wrap {
    display: none;
  }

  .education-reviews-section .orbit-mobile-slider {
    display: block !important;
    width: 100%;
    max-width: 420px;
    margin: 18px auto 0;
    padding: 0 48px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
  }

  .gallery-popup .yt-player,
  .gallery-popup .yt-player.is-horizontal {
    width: 96vw;
    max-width: 96vw;
  }

  .gallery-popup .yt-player.is-vertical {
    width: min(76vw, 420px);
  }

  .reviews-popup-box {
    padding: 30px 20px;
  }

  .reviews-popup-title {
    font-size: 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .reviews-filter-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}

@media (max-width: 1200px) {
  .education-catalog-grid,
  .education-curators-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-reviews-head {
    grid-template-columns: 1fr;
  }

  .education-retreat-grid,
  .education-head,
  .education-toolbar,
  .education-calendar-grid,
  .education-curators-head,
  .education-retreat-head,
  .education-faq-head {
    grid-template-columns: 1fr;
  }

  .education-head {
    padding: 34px 0 22px;
    gap: 14px;
    align-items: center;
  }

  .education-courses-intro .home-courses-head {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 24px;
  }

  .education-courses-intro .home-courses-head-left,
  .education-courses-intro .home-courses-head-center,
  .education-courses-intro .home-courses-head-right {
    justify-items: center;
    text-align: center;
  }

  .education-courses-intro .home-courses-head-center,
  .education-courses-intro .home-courses-head-right {
    display: grid;
  }

  .education-courses-intro .home-courses-head-btn {
    min-width: 0;
    width: 100%;
  }

  .education-courses-intro .home-courses-head-right {
    gap: 14px;
    justify-items: center;
  }

  .education-courses-intro .home-courses-head-right h2 {
    font-size: 38px;
    max-width: 520px;
  }

  .education-head::after {
    left: 0;
    right: 0;
  }

  .education-toolbar {
    padding: 0;
    gap: 12px;
  }

  .education-filter-panel,
  .education-sort-menu {
    margin-left: 0;
  }

  .education-filter-panel {
    grid-template-columns: 1fr;
  }

  .education-sort-menu {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .education-toolbar-center,
  .education-toolbar-control {
    justify-self: start;
    justify-content: flex-start;
  }

  .education-toolbar-center {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: none;
    min-height: auto;
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .education-toolbar-tags {
    justify-content: flex-start;
  }

  .education-head-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .education-head-right {
    grid-column: auto;
    margin-left: 0;
  }

  .education-head-right h1 {
    text-align: center;
  }

  .curator-row {
    grid-template-columns: 76px 1fr;
  }

  .curator-text {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 900px) {
  .academy-kicker-row {
    margin-left: 0;
    margin-bottom: 24px;
    padding-left: 16px;
    overflow: clip;
  }

  .academy-kicker {
    min-height: 52px;
    width: calc(100dvw - 16px + 88px);
    max-width: none;
    margin-right: -88px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .education-catalog-grid,
  .education-curators-list {
    grid-template-columns: 1fr;
  }

  .education-retreat-photos {
    grid-template-columns: 1fr 1fr 1fr;
    height: auto;
  }

  .retreat-photo-small,
  .retreat-photo-wide,
  .retreat-photo-square {
    height: 120px;
  }

  .education-retreat-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .education-retreat-top span {
    padding-left: 0;
    border-left: none;
  }

  .education-reviews-map {
    height: 260px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -24px;
  }
}

@media (max-width: 640px) {
  .education-calendar-title-row {
    margin-bottom: 22px;
  }

  .education-calendar-title-row h2 {
    font-size: 34px;
  }

  .education-main {
    padding-top: 6px;
  }

  .education-head-right h1,
  .education-calendar-body h2,
  .education-retreat-head h2,
  .education-reviews-head h2,
  .education-curators-head h2,
  .education-faq-head h2 {
    font-size: 34px;
  }

  .education-head .section-kicker {
    width: auto;
  }

  .edu-course-card,
  .edu-note-card,
  .edu-free-card {
    min-height: auto;
  }

  .edu-course-range {
    gap: 6px;
    font-size: 18px;
  }

  .edu-course-arrow {
    min-width: 24px;
  }

  .edu-course-card h3,
  .edu-note-card h3,
  .edu-free-card h3,
  .curator-name {
    font-size: 30px;
  }

  .edu-course-card p,
  .edu-note-card p,
  .edu-free-card p,
  .curator-text {
    font-size: 17px;
    line-height: 1.6;
  }

  .education-main-cta,
  .education-calendar-btn,
  .education-link-pill {
    width: 100%;
  }

  .edu-course-actions {
    flex-direction: column;
    gap: 12px;
  }

  .education-catalog-grid .course-btn {
    width: 100%;
    flex: 0 0 auto;
    min-height: 54px;
    font-size: 16px;
  }

  .education-catalog-grid .course-btn-main {
    min-height: 60px;
    border-color: rgba(151, 239, 255, 0.98);
    background: linear-gradient(135deg, #69dcff 0%, #64a2ff 46%, #9a8cff 100%);
    color: #ffffff;
    box-shadow:
      0 0 0 2px rgba(151, 239, 255, 0.42),
      0 0 0 5px rgba(94, 109, 255, 0.14),
      0 0 26px rgba(94, 109, 255, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-size: 17px;
    font-weight: 800;
  }

  .education-toolbar-filter-label,
  .education-toolbar-count {
    font-size: 16px;
  }

  .education-toolbar {
    grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
    align-items: stretch;
  }

  .education-toolbar-center {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 14px 14px 14px 12px;
  }

  .education-toolbar-count {
    white-space: nowrap;
  }

  .education-toolbar-tags a {
    font-size: 11px;
  }

  .calendar-board {
    gap: 6px;
    grid-template-rows: 20px repeat(var(--calendar-weeks), minmax(78px, auto));
  }

  .calendar-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .calendar-control select {
    min-width: 0;
    width: 100%;
  }

  .calendar-cell {
    min-height: 78px;
    font-size: 13px;
    padding: 8px;
  }

  .calendar-day-number {
    font-size: 16px;
  }

  .calendar-event-bar {
    height: 22px;
    padding: 0 12px;
  }

  .calendar-event-bar-label {
    font-size: 16px;
  }

  .education-reviews-map {
    height: 200px;
    transform: scale(0.62);
    margin-top: 0;
    margin-bottom: -58px;
  }

  .curator-row {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
  }
}

.education-reviews-section .orbit-item.video {
  width: 220px;
  height: 220px;
  aspect-ratio: 1;
  margin-left: -110px;
  margin-top: -110px;
  border-radius: 50%;
}

.education-reviews-section .orbit-item.video video,
.education-reviews-section .orbit-item.video img {
  border-radius: inherit;
}

.education-reviews-section .orbit-item.video .orbit-video-overlay {
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: auto;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .education-reviews-section .orbit-mobile-track {
    border-radius: 50%;
  }

  .education-reviews-section .orbit-mobile-item.video {
    width: min(280px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
  }

  .education-reviews-section .orbit-mobile-item.video video,
  .education-reviews-section .orbit-mobile-item.video img {
    border-radius: inherit;
  }
}

/* Main FAQ redesign */
.education-faq-section .faq-list {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  counter-reset: faq-counter;
}

.education-faq-section .faq-item {
  counter-increment: faq-counter;
  margin: 0;
  border: 1px solid rgba(169, 194, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(49, 60, 101, 0.86), rgba(40, 50, 90, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(6, 12, 34, 0.18);
  overflow: hidden;
  transform: none;
}

.education-faq-section .faq-btn {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 16px 26px 16px 24px;
  background: transparent;
  border: 0;
}

.education-faq-section .faq-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1fa6f5, #5d66f6);
  border: 1px solid rgba(107, 185, 255, 0.42);
  box-shadow: 0 10px 24px rgba(31, 166, 245, 0.32);
}

.education-faq-section .faq-icon::before {
  content: counter(faq-counter);
  color: #dff5ff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(168, 226, 255, 0.58);
}

.education-faq-section .faq-question {
  color: rgba(191, 231, 255, 0.92);
  font-size: clamp(19px, 1.35vw, 25px);
  font-weight: 800;
  line-height: 1.25;
}

.education-faq-section .faq-plus {
  width: 30px;
  height: 30px;
  justify-self: end;
  flex: 0 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.education-faq-section .faq-plus::before,
.education-faq-section .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: #70cfff;
  box-shadow: 0 0 12px rgba(112, 207, 255, 0.35);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.education-faq-section .faq-plus::before {
  left: 4px;
  right: auto;
  transform: translateY(-50%) rotate(45deg);
}

.education-faq-section .faq-plus::after {
  left: auto;
  right: 4px;
  transform: translateY(-50%) rotate(-45deg);
}

.education-faq-section .faq-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px 0 86px;
  background: transparent;
  transition: max-height 420ms ease, padding-bottom 320ms ease;
}

.education-faq-section .faq-panel p {
  margin: 0;
  padding: 0 0 20px;
  color: rgba(228, 236, 255, 0.92);
  font-size: 18px;
  line-height: 1.55;
}

.education-faq-section .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 207, 255, 0.34);
  background: linear-gradient(180deg, rgba(55, 68, 112, 0.9), rgba(43, 54, 96, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 36px rgba(12, 22, 56, 0.28);
}

.education-faq-section .faq-item:hover .faq-icon {
  transform: none;
}

.education-faq-section .faq-item.is-open {
  border-color: rgba(112, 207, 255, 0.34);
  background: linear-gradient(180deg, rgba(55, 68, 112, 0.92), rgba(36, 47, 88, 0.92));
}

.education-faq-section .faq-item.is-open .faq-panel {
  max-height: 1000px;
  padding-bottom: 6px;
}

.education-faq-section .faq-item.is-open .faq-plus {
  transform: none;
}

.education-faq-section .faq-item.is-open .faq-plus::before {
  transform: translateY(-50%) rotate(-45deg);
}

.education-faq-section .faq-item.is-open .faq-plus::after {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 640px) {
  .education-faq-section .faq-list {
    gap: 10px;
  }

  .education-faq-section .faq-item {
    border-radius: 16px;
  }

  .education-faq-section .faq-btn {
    min-height: 64px;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 12px;
    padding: 13px 14px;
  }

  .education-faq-section .faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .education-faq-section .faq-icon::before {
    font-size: 15px;
  }

  .education-faq-section .faq-question {
    font-size: 16px;
  }

  .education-faq-section .faq-panel {
    padding: 0 16px 0 60px;
  }

  .education-faq-section .faq-panel p {
    padding-bottom: 16px;
    font-size: 15px;
  }
}

/* Course promo badges */
.edu-course-card[data-featured="true"] {
  border-color: rgba(255, 84, 104, 0.78);
  box-shadow:
    0 0 0 1px rgba(255, 84, 104, 0.42),
    0 0 26px rgba(255, 32, 64, 0.42),
    0 18px 42px rgba(5, 10, 29, 0.34),
    inset 0 0 24px rgba(255, 32, 64, 0.12);
}

.edu-course-card[data-featured="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 42px rgba(255, 47, 86, 0.14);
}

.edu-card-badges {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 150px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.edu-card-badges .edu-card-badge,
.edu-new-badge {
  position: static;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #f2f6ff;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  line-height: 1.2;
}

.edu-new-badge {
  background: linear-gradient(135deg, #ff294f, #ff7b44);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(255, 45, 76, 0.52);
}

.edu-countdown-badge,
.edu-seats-badge {
  position: absolute;
  z-index: 5;
  right: 16px;
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 118px;
  padding: 8px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 105, 122, 0.62);
  background: linear-gradient(135deg, rgba(73, 8, 24, 0.88), rgba(21, 31, 70, 0.86));
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 39, 76, 0.34), inset 0 0 18px rgba(255, 62, 92, 0.12);
  text-align: right;
  backdrop-filter: blur(10px);
}

.edu-countdown-badge {
  top: 16px;
}

.edu-seats-badge {
  top: 82px;
  border-color: rgba(126, 210, 255, 0.52);
  background: linear-gradient(135deg, rgba(19, 43, 95, 0.9), rgba(24, 30, 74, 0.86));
  box-shadow: 0 0 18px rgba(72, 166, 255, 0.28), inset 0 0 18px rgba(76, 179, 255, 0.11);
}

.edu-countdown-badge span,
.edu-seats-badge span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #ffd7dc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.edu-seats-badge span {
  color: #bfe7ff;
}

.edu-countdown-badge b,
.edu-seats-badge b {
  font-size: 17px;
  line-height: 1.08;
  color: #ffffff;
}

@media (min-width: 641px) and (max-width: 1200px) {
  .edu-card-badges {
    right: 150px;
  }

  .edu-countdown-badge,
  .edu-seats-badge {
    right: 14px;
    min-width: 112px;
  }
}

@media (max-width: 640px) {
  .edu-card-badges {
    top: 14px;
    left: 14px;
    right: 14px;
    padding-right: 118px;
  }

  .edu-countdown-badge,
  .edu-seats-badge {
    right: 12px;
    min-width: 104px;
    max-width: calc(100% - 24px);
    padding: 7px 9px;
    border-radius: 12px;
  }

  .edu-countdown-badge {
    top: 12px;
  }

  .edu-seats-badge {
    top: 70px;
  }

  .edu-countdown-badge span,
  .edu-seats-badge span {
    font-size: 9px;
  }

  .edu-countdown-badge b,
  .edu-seats-badge b {
    font-size: 14px;
  }
}

/* Course catalog visibility/status cleanup */
.education-catalog-grid > .edu-course-card:not([data-catalog-card="new"]) {
  display: flex !important;
}

.edu-course-card[data-featured="true"],
.education-catalog-grid > .edu-course-card[data-featured="true"],
.education-catalog-grid > .edu-course-card[data-catalog-card="new"][data-featured="true"] {
  border-color: rgba(255, 54, 86, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 54, 86, 0.82),
    0 0 20px rgba(255, 21, 63, 0.72),
    0 0 54px rgba(255, 21, 63, 0.42),
    0 18px 42px rgba(5, 10, 29, 0.34),
    inset 0 0 30px rgba(255, 31, 68, 0.2);
}

.edu-course-card[data-featured="true"] .edu-countdown-badge {
  border-color: rgba(255, 80, 106, 0.95);
  box-shadow: 0 0 26px rgba(255, 28, 66, 0.58), inset 0 0 18px rgba(255, 62, 92, 0.16);
}

.edu-card-badges .edu-card-badge {
  background: rgba(108, 122, 168, 0.92);
}

.edu-course-actions .course-btn-main:only-child {
  flex: 1 1 100%;
}


/* Course cards no longer depend on catalog flag */
.education-catalog-grid > .edu-course-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(164, 198, 255, 0.26);
  background:
    radial-gradient(circle at top, rgba(106, 214, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(19, 29, 68, 0.96), rgba(9, 15, 39, 0.98));
  box-shadow: 0 18px 42px rgba(5, 10, 29, 0.34);
  color: #edf3ff;
  backdrop-filter: blur(16px);
}

.education-catalog-grid > .edu-course-card:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 227, 255, 0.46);
  box-shadow: 0 24px 46px rgba(10, 16, 41, 0.42);
}


.education-catalog-grid > .edu-course-card[data-featured="true"]:hover {
  border-color: rgba(255, 54, 86, 1);
  box-shadow:
    0 0 0 1px rgba(255, 54, 86, 0.9),
    0 0 24px rgba(255, 21, 63, 0.78),
    0 0 64px rgba(255, 21, 63, 0.48),
    0 24px 46px rgba(10, 16, 41, 0.42),
    inset 0 0 34px rgba(255, 31, 68, 0.22);
}


/* Custom course badge polish */
.edu-card-badges .edu-card-badge {
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 224, 143, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 230, 115, 0.96) 0%, rgba(255, 109, 137, 0.95) 48%, rgba(91, 157, 255, 0.92) 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(24, 12, 48, 0.36);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 8px 20px rgba(6, 13, 36, 0.24),
    0 0 22px rgba(255, 93, 128, 0.36);
  backdrop-filter: blur(10px);
}

.edu-card-badges .edu-card-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.86);
}

@media (max-width: 640px) {
  .edu-card-badges .edu-card-badge {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .edu-card-badges .edu-card-badge::before {
    width: 5px;
    height: 5px;
    margin-right: 6px;
  }
}


/* Custom course badge final spacing */
.edu-card-badges .edu-card-badge {
  padding: 10px 10px 0 10px;
}

.edu-card-badges .edu-card-badge::before {
  content: none;
  display: none;
}


/* Retreat block alignment */
.education-retreat-section .retreat-top-row {
  justify-content: center;
}

.education-retreat-section .retreat-card {
  padding: 32px 36px;
}

.education-retreat-section .retreat-card p {
  text-align: center;
  align-self: center;
}

.education-retreat-section .retreat-btn {
  align-self: center;
}

section#curators {
  display: none;
}

/* Compact event calendar */
.education-calendar-section .content {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.education-calendar-kicker-row {
  display: none;
}

.education-calendar-title-row {
  margin-bottom: 24px;
}

.education-calendar-title-row h2 {
  font-size: clamp(34px, 3.3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.education-calendar-shell-wrap {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding-top: 17px;
  border: 0;
  overflow-x: auto;
  scrollbar-color: rgba(116, 169, 242, 0.5) rgba(20, 32, 76, 0.2);
}

.calendar-shell {
  max-width: 1080px;
  padding: 0 0 14px;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.calendar-controls {
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.calendar-control {
  gap: 3px;
  color: rgba(177, 194, 231, 0.78);
  font-size: 6px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.calendar-control select {
  width: 85px;
  min-width: 85px;
  min-height: 23px;
  padding: 4px 22px 4px 7px;
  border-radius: 5px;
  border-color: rgba(156, 189, 247, 0.16);
  background: rgba(49, 70, 122, 0.78);
  color: #eef5ff;
  font-size: 8px;
  font-weight: 700;
  box-shadow: none;
}

.calendar-control select:focus {
  background: rgba(55, 80, 142, 0.88);
}

.calendar-control option {
  font-size: 12px;
}

.calendar-topbar {
  margin: 0 0 16px;
  color: #edf4ff;
  font-size: 15px;
  line-height: 1;
}

.calendar-month {
  min-width: 0;
}

.calendar-board {
  grid-template-rows: 12px repeat(var(--calendar-weeks), 40px);
  gap: 1px;
  background: transparent;
}

.calendar-weekday {
  color: rgba(179, 197, 235, 0.74);
  font-size: 7px;
  line-height: 1;
}

.calendar-cell {
  align-items: flex-end;
  min-height: 40px;
  padding: 4px 5px;
  border-radius: 0;
  border: 0;
  background: rgba(36, 55, 116, 0.56);
  color: rgba(206, 218, 246, 0.78);
  box-shadow: none;
}

.calendar-cell.muted {
  opacity: 0.42;
}

.calendar-cell.has-event {
  border: 0;
  background: rgba(40, 63, 130, 0.66);
  box-shadow: none;
  color: rgba(224, 233, 255, 0.86);
}

.calendar-cell.has-event::before {
  content: none;
}

.calendar-day-number {
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.calendar-event-bar {
  height: 9px;
  padding: 0 4px;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(8, 13, 36, 0.2);
}

.calendar-event-bar-label {
  font-size: 6px;
  font-weight: 800;
  text-shadow: none;
}

.calendar-empty {
  margin-top: 7px;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(188, 202, 234, 0.78);
  font-size: 12px;
}

@media (min-width: 320px) and (max-width: 1200px) {
  .education-main {
    padding-top: 70px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .education-retreat-section .retreat-card {
    padding: 2px 10px;
  }

  .education-retreat-section .retreat-card p {
    font-size: 1.6vw;
  }
}

@media (max-width: 900px) {
  .education-catalog-grid .edu-course-actions {
    overflow: visible;
  }

  .education-catalog-grid .course-btn-main {
    position: relative;
    z-index: 2;
    min-height: 62px;
    border-color: rgba(196, 247, 255, 0.98);
    background-color: #73dcff;
    background-image: linear-gradient(135deg, #79e4ff 0%, #6eb4ff 46%, #a99cff 100%);
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(14, 31, 82, 0.38);
    box-shadow:
      0 0 0 2px rgba(204, 250, 255, 0.58),
      0 0 0 6px rgba(85, 128, 255, 0.18),
      0 0 30px rgba(100, 162, 255, 0.62),
      0 12px 24px rgba(18, 74, 162, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.38);
    opacity: 1;
    filter: saturate(1.18) brightness(1.08);
  }
}

@media (max-width: 720px) {
  .education-calendar-section .content {
    max-width: 100%;
  }

  .education-calendar-title-row h2 {
    font-size: 32px;
  }

  .education-calendar-shell-wrap {
    width: 100%;
    padding-bottom: 8px;
  }

  .calendar-shell {
    width: 620px;
    max-width: 620px;
  }

  .calendar-board {
    grid-template-rows: 12px repeat(var(--calendar-weeks), 46px);
  }

  .calendar-cell {
    min-height: 46px;
  }

  .calendar-event-bar {
    height: 11px;
  }

  .calendar-event-bar-label {
    font-size: 7px;
  }
}

/* Final calendar override */
section#calendar .content {
  width: min(100%, 1080px) !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

section#calendar .education-calendar-kicker-row {
  display: none !important;
}

section#calendar .education-calendar-title-row {
  margin-bottom: 24px !important;
}

section#calendar .education-calendar-title-row h2 {
  font-size: clamp(38px, 4vw, 62px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

section#calendar .education-calendar-shell-wrap,
section#calendar .calendar-shell {
  width: min(100%, 1080px) !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

section#calendar .calendar-shell {
  padding: 0 0 18px !important;
  gap: 14px !important;
}

section#calendar .calendar-controls {
  gap: 8px !important;
  margin-bottom: 4px !important;
}

section#calendar .calendar-control {
  gap: 3px !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

section#calendar .calendar-control select {
  width: 122px !important;
  min-width: 122px !important;
  min-height: 34px !important;
  padding: 7px 30px 7px 10px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  box-shadow: none !important;
}

section#calendar .calendar-topbar {
  margin: 0 0 14px !important;
  font-size: 21px !important;
  line-height: 1 !important;
}

section#calendar .calendar-board {
  grid-template-rows: 18px repeat(var(--calendar-weeks), 62px) !important;
  gap: 2px !important;
  background: transparent !important;
}

section#calendar .calendar-weekday {
  font-size: 11px !important;
  line-height: 1 !important;
}

section#calendar .calendar-cell,
section#calendar .calendar-cell.has-event {
  min-height: 62px !important;
  padding: 7px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

section#calendar .calendar-cell.has-event::before {
  content: none !important;
}

section#calendar .calendar-day-number {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

section#calendar .calendar-event-bar {
  height: 16px !important;
  padding: 0 7px !important;
  border-radius: 0 !important;
}

section#calendar .calendar-event-bar-label {
  font-size: 10px !important;
}

section#calendar .calendar-empty {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

@media (max-width: 720px) {
  section#calendar .content {
    width: 100% !important;
    max-width: 100% !important;
  }

  section#calendar .education-calendar-shell-wrap {
    width: 100% !important;
    overflow-x: auto !important;
  }

  section#calendar .calendar-shell {
    width: 760px !important;
    max-width: 760px !important;
  }
}
