.viim-masterclass,
.viim-masterclass *,
.viim-masterclass *::before,
.viim-masterclass *::after {
  box-sizing: border-box;
}

.viim-masterclass {
  --vm-primary: var(--primary-color, #030059);
  --vm-blue: #0071e3;
  --vm-blue-hover: #0169c6;
  --vm-paper: #fff;
  --vm-page: #f6f4ee;
  --vm-line: rgba(3, 0, 89, .14);
  --vm-text: #11161b;
  --vm-muted: #5e6874;
  --vm-heading-gap: clamp(38px, 3.6vw, 58px);
  color: var(--vm-text);
  background: var(--vm-page);
  font-family: GothamProRegular, gothamproregular, Arial, sans-serif;
  overflow: hidden;
}

.viim-masterclass img {
  display: block;
  max-width: 100%;
}

.viim-masterclass a {
  color: var(--vm-blue);
}

.viim-masterclass__wrap,
.viim-masterclass__hero-inner {
  width: calc(100% - 48px);
  max-width: 1420px;
  margin: 0 auto;
}

.viim-masterclass__hero {
  position: relative;
  height: calc(100vh - var(--viim-fixed-header-height, 54px));
  min-height: 620px;
  max-height: 760px;
  color: #fff;
  background: var(--vm-primary);
  overflow: hidden;
}

.viim-masterclass__hero-video {
  position: absolute;
  inset: 0;
}

.viim-masterclass__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viim-masterclass__hero-logo {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 2;
}

.viim-masterclass__hero-logo img {
  width: 161px;
  height: auto;
}

.viim-masterclass__hero-inner {
  position: absolute;
  left: 4.5%;
  bottom: 5%;
  z-index: 1;
  width: 90%;
  max-width: 980px;
  margin: 0;
  padding: 0;
}

.viim-masterclass h1,
.viim-masterclass h2,
.viim-masterclass h3 {
  margin: 0;
  color: inherit;
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.viim-masterclass__hero h1 {
  max-width: 980px;
  font-family: GothamProRegular, gothamproregular, GothamProRegular, Arial, sans-serif;
  font-size: clamp(2.1rem, 3.9vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 0 6px rgba(0, 0, 0, .5);
}

.viim-masterclass__hero h1 span {
  display: block;
}

.viim-masterclass__hero h1 span:first-child {
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.viim-masterclass__button,
.viim-masterclass__select {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--vm-primary);
  color: #fff;
  margin: 0 !important;
  font: inherit;
  font-size: 16px;
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.viim-masterclass__button:hover,
.viim-masterclass__select:hover {
  background: var(--vm-blue);
  color: #fff;
  text-decoration: none;
}

.viim-masterclass__button--ghost {
  background: #fff;
  color: var(--vm-blue);
  border-color: rgba(0, 113, 227, .38);
}

.viim-masterclass__button--ghost:hover {
  background: var(--vm-blue);
  color: #fff;
}

.viim-masterclass__intro,
.viim-masterclass__section,
.viim-masterclass__bundle,
.viim-masterclass__request,
.viim-masterclass__coming-section {
  padding: clamp(56px, 6vw, 96px) 0;
}

.viim-masterclass__intro {
  background: var(--vm-paper);
}

.viim-masterclass__section {
  background: #eef0f4;
  border-top: 1px solid rgba(3, 0, 89, .08);
  border-bottom: 1px solid rgba(3, 0, 89, .08);
}

.viim-masterclass__text-block {
  max-width: 1420px;
}

.viim-masterclass__paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 78px);
}

.viim-masterclass__path {
  padding-left: 0;
  border-left: 0;
}

.viim-masterclass__path h3 {
  margin-bottom: 16px;
  color: var(--vm-primary);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.16;
}

.viim-masterclass__path p {
  margin-bottom: 18px;
}

.viim-masterclass__text-link {
  display: inline-flex;
  align-items: center;
  color: var(--vm-primary) !important;
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.viim-masterclass__text-link:hover {
  color: var(--vm-blue) !important;
}

.viim-masterclass__text-block h2,
.viim-masterclass__section-head h2,
.viim-masterclass__request h2 {
  margin-bottom: var(--vm-heading-gap);
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.12;
}

.viim-masterclass__text-block p,
.viim-masterclass__section-head p,
.viim-masterclass__request p {
  margin: 0 0 16px;
  color: var(--vm-muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.62;
}

.viim-masterclass__section-head {
  max-width: 1060px;
  margin-bottom: var(--vm-heading-gap);
}

.viim-masterclass__lesson-list {
  display: grid;
  gap: clamp(42px, 5vw, 78px);
}

.viim-masterclass__paid-content {
  overflow: hidden;
  border: 1px solid rgba(3, 0, 89, .22);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(3, 0, 89, .1);
}

.viim-masterclass__paid-content .viim-masterclass__lesson-list {
  gap: 0;
}

.viim-masterclass__lesson {
  display: grid;
  grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr);
  overflow: hidden;
  border: 1px solid var(--vm-line);
  border-radius: 24px;
  background: var(--vm-paper);
}

.viim-masterclass__lesson--featured {
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  border-color: rgba(3, 0, 89, .28);
  box-shadow: 0 20px 48px rgba(3, 0, 89, .11);
}

.viim-masterclass__paid-content .viim-masterclass__lesson--featured {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.viim-masterclass__paid-content .viim-masterclass__lesson-media {
  margin: 0;
  border-radius: 24px;
}

.viim-masterclass__lesson-media {
  position: relative;
  min-height: 100%;
  background: var(--vm-primary);
  overflow: hidden;
}

.viim-masterclass__lesson-media img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  transition: opacity .25s ease;
}

.viim-masterclass__lesson-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.viim-masterclass__lesson--featured .viim-masterclass__lesson-video {
  min-height: 420px;
}

.viim-masterclass__availability {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--vm-blue);
  color: #fff;
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
}

.viim-masterclass__lesson-media:hover img {
  opacity: 1;
}

.viim-masterclass__lesson-body {
  padding: clamp(24px, 3vw, 42px);
}

.viim-masterclass__lesson-title {
  margin-bottom: 18px;
}

.viim-masterclass__lesson h3 {
  max-width: 760px;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.14;
}

.viim-masterclass__lesson--featured h3 {
  font-size: clamp(30px, 2.8vw, 46px);
}

.viim-masterclass__lesson p {
  margin: 0 0 14px;
  color: var(--vm-muted);
  font-size: 16px;
  line-height: 1.58;
}

.viim-masterclass__buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.viim-masterclass__buy-row--repeat {
  justify-content: center;
  margin: 0;
  padding: clamp(42px, 5vw, 76px) 24px;
  border-top: 1px solid var(--vm-line);
}

.viim-masterclass__lesson-details {
  background: #fff;
}

.viim-masterclass__lesson-detail {
  width: 100%;
  padding: clamp(42px, 5vw, 76px) clamp(24px, 4.5vw, 72px);
  border-top: 1px solid var(--vm-line);
}

.viim-masterclass__lesson-detail h3 {
  margin-bottom: clamp(28px, 3vw, 42px);
  color: var(--vm-primary);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.16;
}

.viim-masterclass__lesson-detail p,
.viim-masterclass__lesson-detail li {
  color: var(--vm-muted);
  font-size: 16px;
  line-height: 1.58;
}

.viim-masterclass__lesson-detail p {
  margin: 0;
}

.viim-masterclass__lesson-detail ul {
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
}

.viim-masterclass__lesson-detail--skills h3,
.viim-masterclass__lesson-detail--program h3 {
  text-align: center;
}

.viim-masterclass__lesson-detail--skills ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.viim-masterclass__lesson-detail--skills li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(3, 0, 89, .14);
  border-radius: 12px;
  background: #f6f7f9;
  color: var(--vm-text);
  font-family: GothamProRegular, gothamproregular, Arial, sans-serif;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.3;
  list-style: none;
  text-align: center;
}

.viim-masterclass__program-list {
  display: grid;
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.viim-masterclass__program-item {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(3, 0, 89, .14);
  border-radius: 12px;
  background: #f6f7f9;
  min-height: 168px;
}

.viim-masterclass__program-item img {
  width: 100%;
  height: 168px;
  min-height: 0;
  object-fit: cover;
}

.viim-masterclass__program-item > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(24px, 3vw, 44px);
}

.viim-masterclass__program-item h4 {
  margin: 0 0 10px;
  color: var(--vm-text);
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.2;
}

.viim-masterclass__program-item h4 span {
  display: inline-block;
  margin-right: 12px;
  color: var(--vm-muted);
  font-size: 14px;
  vertical-align: 2px;
}

.viim-masterclass__program-item p {
  margin: 0;
}

.viim-masterclass__lesson-detail--audience p,
.viim-masterclass__lesson-detail--why p {
  max-width: 1040px;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.58;
}

.viim-masterclass__buy-row strong,
.viim-masterclass__bundle-action strong {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--vm-primary);
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.2;
  white-space: nowrap;
}

.viim-masterclass__select {
  min-width: 180px;
}

.viim-masterclass__subsection-head {
  max-width: 960px;
  margin: 0 0 var(--vm-heading-gap);
}

.viim-masterclass__subsection-head h2 {
  margin-bottom: var(--vm-heading-gap);
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.12;
}

.viim-masterclass__subsection-head p {
  margin: 0;
  color: var(--vm-muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.58;
}

.viim-masterclass__coming {
  max-width: none;
}

.viim-masterclass__coming-section {
  background: #f6f4ee;
  border-top: 1px solid rgba(3, 0, 89, .1);
  border-bottom: 1px solid rgba(3, 0, 89, .1);
}

.viim-masterclass__coming-list,
.viim-masterclass__free-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.viim-masterclass__coming-card,
.viim-masterclass__free-card {
  overflow: hidden;
  border: 1px solid var(--vm-line);
  border-radius: 18px;
  background: var(--vm-paper);
}

.viim-masterclass__coming-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--vm-primary);
}

.viim-masterclass__coming-media::after {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 89, .22);
  content: '';
  pointer-events: none;
}

.viim-masterclass__coming-media img,
.viim-masterclass__free-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viim-masterclass__coming-media .viim-masterclass__availability {
  z-index: 2;
  background: #fff;
  color: var(--vm-primary);
}

.viim-masterclass__coming-body {
  padding: clamp(22px, 2.5vw, 34px);
}

.viim-masterclass__coming-card h3,
.viim-masterclass__free-card h3 {
  font-size: clamp(21px, 1.8vw, 29px);
  line-height: 1.16;
}

.viim-masterclass__coming-card p,
.viim-masterclass__free-card p {
  margin: 14px 0 22px;
  color: var(--vm-muted);
  font-size: 16px;
  line-height: 1.55;
}

.viim-masterclass__button--notify {
  background: var(--vm-primary);
}

.viim-masterclass__free {
  padding: clamp(56px, 6vw, 96px) 0;
  background: #fff;
}

.viim-masterclass__free-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.viim-masterclass__free-card {
  display: flex;
  flex-direction: column;
}

.viim-masterclass__free-card > a:first-child {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--vm-primary);
}

.viim-masterclass__free-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.4vw, 32px);
}

.viim-masterclass__free-body h3 {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-wrap: break-word;
}

.viim-masterclass__free-body p {
  margin: 14px 0 24px;
}

.viim-masterclass a.viim-masterclass__button--youtube {
  display: inline-flex;
  width: auto;
  min-height: 42px;
  height: 42px;
  margin-top: auto !important;
  padding: 0 18px;
  border-color: var(--vm-primary);
  background: transparent !important;
  color: var(--vm-primary) !important;
  font-size: 14px;
  line-height: 1.15;
}

.viim-masterclass a.viim-masterclass__button--youtube:hover {
  border-color: var(--vm-blue);
  background: var(--vm-blue) !important;
  color: #fff !important;
}

.viim-masterclass__bundle {
  background: var(--vm-primary);
  color: #fff;
}

.viim-masterclass__bundle-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.viim-masterclass__bundle h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.12;
}

.viim-masterclass__bundle p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.58;
}

.viim-masterclass__bundle-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.viim-masterclass__bundle-action strong {
  color: #fff;
}

.viim-masterclass__bundle .viim-masterclass__select {
  background: #fff;
  color: var(--vm-primary);
}

.viim-masterclass__bundle .viim-masterclass__select:hover {
  background: var(--vm-blue);
  color: #fff;
}

.viim-masterclass__request {
  background: linear-gradient(180deg, #f6f4ee 0%, #ece9df 100%);
}

body.page-template-page-masterclass footer {
  margin-top: 0 !important;
}

.viim-masterclass__request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.viim-masterclass__request-panel {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--vm-line);
  border-radius: 24px;
  background: var(--vm-paper);
}

.viim-masterclass__choice {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--vm-line);
}

.viim-masterclass__choice span,
.viim-masterclass__choice em {
  display: block;
  color: var(--vm-muted);
  font-style: normal;
}

.viim-masterclass__choice strong {
  display: block;
  margin: 8px 0;
  color: var(--vm-primary);
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.15;
}

.viim-masterclass__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.viim-masterclass__form {
  display: grid;
  gap: 14px;
}

.viim-masterclass__form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--vm-muted);
  font-size: 14px;
}

.viim-masterclass__form input {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--vm-line);
  border-radius: 14px;
  background: #fff;
  color: var(--vm-text);
  font: inherit;
  box-shadow: none;
}

.viim-masterclass__form input:focus {
  border-color: var(--vm-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, .12);
  outline: 0;
}

.viim-masterclass__form .viim-masterclass__button {
  width: 100%;
  margin-top: 4px;
}

.viim-masterclass__modal {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.viim-masterclass__modal.is-open {
  display: flex;
}

.viim-masterclass__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 89, .66);
}

.viim-masterclass__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(28px, 4vw, 46px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.viim-masterclass__modal-dialog h2 {
  margin-bottom: 14px;
  color: var(--vm-primary);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
}

.viim-masterclass__modal-dialog > p {
  margin: 0 0 14px;
  color: var(--vm-muted);
  font-size: 16px;
  line-height: 1.55;
}

.viim-masterclass__modal-dialog > strong {
  display: block;
  margin-bottom: 22px;
  color: var(--vm-primary);
  font-family: GothamProBold, gothamprobold, GothamProRegular, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.3;
}

.viim-masterclass__modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vm-primary);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.viim-masterclass__notify-form {
  display: grid;
  gap: 14px;
}

.viim-masterclass__notify-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--vm-muted);
  font-size: 14px;
}

.viim-masterclass__notify-form input {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--vm-line);
  border-radius: 14px;
  background: #fff;
  color: var(--vm-text);
  font: inherit;
}

.viim-masterclass__notify-form input:focus {
  border-color: var(--vm-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, .12);
  outline: 0;
}

.viim-masterclass__form-message {
  min-height: 1.4em;
  margin: 0;
  color: var(--vm-muted);
  font-size: 14px;
  line-height: 1.45;
}

@media screen and (max-width: 980px) {
  .viim-masterclass__lesson,
  .viim-masterclass__request-grid,
  .viim-masterclass__coming-list,
  .viim-masterclass__free-list,
  .viim-masterclass__paths {
    grid-template-columns: 1fr;
  }

  .viim-masterclass__lesson-media img {
    min-height: 260px;
  }

  .viim-masterclass__lesson-video,
  .viim-masterclass__lesson--featured .viim-masterclass__lesson-video {
    min-height: 320px;
  }

  .viim-masterclass__program-item {
    grid-template-columns: 1fr;
  }

  .viim-masterclass__program-item img {
    height: 230px;
    max-height: 280px;
  }
}

@media screen and (max-width: 849px) {
  .viim-masterclass__wrap,
  .viim-masterclass__hero-inner {
    width: calc(100% - 28px);
  }

  .viim-masterclass__hero-inner {
    left: 14px;
    width: calc(100% - 28px);
  }

  .viim-masterclass__hero {
    height: calc(100vh - var(--viim-fixed-header-height, 54px));
    min-height: 620px;
    max-height: none;
  }

  .viim-masterclass__hero-logo {
    left: 24px;
  }

  .viim-masterclass__bundle-inner {
    grid-template-columns: 1fr;
  }

  .viim-masterclass__bundle-action {
    justify-content: flex-start;
  }

  .viim-masterclass__coming-list,
  .viim-masterclass__free-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 560px) {
  .viim-masterclass__hero h1 {
    font-size: 2.1rem;
  }

  .viim-masterclass__hero h1 span:first-child {
    white-space: normal;
  }

  .viim-masterclass__button,
  .viim-masterclass__select {
    width: 100%;
  }

  .viim-masterclass__lesson-detail--skills ul {
    grid-template-columns: 1fr;
  }

  .viim-masterclass__hero-logo img {
    width: 132px;
  }
}
