@font-face {
  font-family: "Farro";
  src: url("../fonts/Farro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "Farro", sans-serif;
  --border-radius-main: 6.25em;
  --border-radius-second: .3125em;
  --container-width: 103.75em;
  --container-padding-inline: 2.5em;
  --container-large-padding-inline: 0;
  --primary-bg-color: #F1F2ED;
  --second-bg-color: #BB2C1B;
  --header-bg-color: rgba(255, 255, 255, 0.53);
  --color-white: #ffffff;
  --color-white-1: #f3f3eb;
  --color-black: #000000;
  --color-black-1: #242424;
  --color-black-2: #4b4b4b;
  --color-red-1: #bb2c1b;
  --color-red-2: #ae1f0f;
  --color-grey-1: #DFDFDF;
  --color-grey-2: #d2d2d2;
  --btn-border-radius: 6.25em;
  --btn-border-color: var(--color-red-1);
  --btn-bg-color: var(--color-red-1);
  --btn-hover: var(--color-red-2);
  --link-hover: currentColor;
  --font-size-main-text-mob: 1em;
}

:focus:not(:focus-visible) {
  outline: 0;
}

:focus-visible {
  outline: 2px dashed var(--color-orange-1);
  outline-offset: 2px;
}

input:focus {
  outline: 0;
}

html {
  font-size: 16px;
  line-height: 1.25;
  font-family: var(--font-family);
  letter-spacing: 0;
  font-feature-settings: "pnum" on, "lnum" on;
}

.font-one {
  font-family: var(--font-family);
}

.font-two {
  font-family: var(--second-family);
}

.main-container {
  position: relative;
  max-width: calc(var(--container-width) + var(--container-padding-inline) * 2);
  /* max-width: 103.75rem; */
  /* padding: 0 var(--container-padding-inline); */
  padding: 0 15px;
  margin: 0 auto;
}

.main-container._large {
  max-width: 120em;
  padding: 0 var(--container-large-padding-inline);
}

.title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 3.75em;
  line-height: 110%;
  letter-spacing: -0.04em;
}

.logo {
  width: 100%;
  object-fit: cover;
}

.social-list {
  flex-wrap: wrap;
  gap: 0.25em;
  height: fit-content;
  padding: 0;
}

.social-item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8125em;
  height: 2.8125em;
  border-radius: 50%;
  color: var(--color-red-1);
  border: 1px solid currentColor;
  transition: all 0.3s ease-in;
}

.social-item-link:hover {
  color: var(--color-white);
  background: var(--color-red-1);
}

.social-item svg {
  width: 1.25em;
  height: 1.25em;
}

.primary-bg {
  background: var(--primary-bg-color);
}

.second-bg {
  background: var(--second-bg-color);
}

.text-color-1 {
  color: var(--color-black-1);
}

.text-color-2 {
  color: var(--color-black-2);
}

.text-color-3 {
  color: var(--color-white);
}

.text-color-4 {
  color: var(--color-red-1);
}

.rounded-main {
  border-radius: var(--border-radius-main);
}

.rounded-second {
  border-radius: var(--border-radius-second);
}

@media (max-width: 1400px) {
  .main-container {
    max-width: 1170px;
  }
}
@media (max-width: 600px) {
  :root {
    --container-padding-inline: .9375em;
  }
  .title {
    font-size: 1.625em;
  }
}
@media (max-width: 320px) {
  body {
    min-width: 320px;
    overflow-x: auto;
  }
}

/*Buttons Style Start*/
button, a {
  transition: all 0.3s ease-in;
}

.btn {
  font-family: var(--font-family)!important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  cursor: pointer;
  padding: 1em 2.5em;
  background: var(--btn-bg-color);
  border-radius: var(--btn-border-radius);
  font-weight: 700;
  font-size: 1em;
  font-size: max(1em, 14px);
  line-height: 1.25;
  color: var(--color-white-1);
  text-align: center;
}

.btn-transparent {
  background: transparent;
  border: 1px solid var(--color-red-1);
  color: var(--color-red-1);
}

.btn:hover, a.btn:hover {
  background: var(--btn-hover);
  color: var(--color-white);
}

.btn-transparent:hover, a.btn-transparent:hover {
  background: var(--color-red-1);
}

.btn-promo {
  margin-top: 0.75em;
}

.btn-seach {
  width: 100%;
  max-width: 100%;
}

.btn-consultation {
  margin-top: 3.125em;
}

.btn-revies {
  margin-top: 3.125em;
}

/*Media*/
@media (max-width: 1200px) {
  .btn {
    font-size: max(1em, 12px);
  }
}
@media (max-width: 992px) {
  .btn {
    font-size: 1.125em;
  }
}
@media (max-width: 600px) {
  .btn {
    font-size: 0.9375em;
    padding: 1em 1.875em;
    min-height: 3.125em;
  }
}
/*Buttons Style End*/

/*Header Start*/
.header {
  --top-offset: 1.875em;
  position: absolute;
  position: fixed;
  top: var(--top-offset);
  left: 0;
  width: 100%;
  z-index: 99;
  transition: all 0.3s ease;
}

.header.out {
  transform: translateY(calc(-100% - var(--top-offset)));
}

.header.in {
  transform: translateY(calc(0 - var(--top-offset)));
}

.header-nav {
  --min-height: 5.375em;
  width: 100%;
}

.header-logo {
  min-height: var(--min-height);
  background: var(--header-bg-color);
  padding-inline: 1.875em;
}

.header-logo-link {
  width: 12.6875em;
  height: 2.625em;
}

.header-inner {
  width: 100%;
  background: var(--header-bg-color);
  padding-inline: 1.25em 1.875em;
}

.header-menu__list {
  gap: 0.25em 0.75em;
  min-height: var(--min-height);
  padding: 0;
}

.header-menu__list li {
  font-size: 1em;
  font-size: max(1em, 14px)!important;
  line-height: 1.25;
  margin: 0;
}

.header-menu__list li a {
  padding: 0.625em;
  font-size: max(1em, 14px)!important;
}

.header-action {
  gap: 1.4375em;
}

.header-action-link {
  font-size: 1em;
  font-size: max(1em, 14px)!important;
  color: var(--color-black-1)!important;
}

.btn-header {
  min-width: 11.625em;
  padding: 1.0625em 1.875em!important;
  font-size: max(1em, 14px)!important;
  color: var(--color-white-1)!important;
  border-radius: var(--border-radius-main)!important;
  border: none!important;

  line-height: 1.25!important;
}
.btn-header:hover {
  color: var(--color-white-1)!important;
}

.header-burger,
.header-burger-close {
  display: none;
}

.header-mobile__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 105;
  transition: all 0.6s ease;
  transform: translateX(150%);
  background: var(--primary-bg-color);
  padding: 1.5em 1.5em 2em;
  overflow-x: hidden;
  overflow-y: auto;
}

.header-mobile__menu.open {
  transform: translateX(0);
}

.header-mobile-nav {
  margin-top: 5em;
}

.header-mobile__list {
  padding-left: 0;
}
.header-mobile__item {
  font-size: 2em;
  line-height: 1.25;
  margin-top: 30px;
  margin-bottom: 0;
}
.header-mobile__item a {
  font-size: inherit;
}

/*Media*/
@media (max-width: 1200px) {
  .header-menu__list li {
    font-size: max(1em, 12px)!important;
  }
  .header-menu__list li a {
    font-size: max(1em, 12px)!important;
  }
  .header-action-link {
    font-size: max(1em, 12px)!important;
  }
  .btn-header {
    font-size: max(1em, 12px)!important;
  }
}
@media (min-width: 992px) {
  .header-mobile__menu {
    display: none;
  }
}
@media (max-width: 1200px) {
  .header-nav{
    --min-height: 6.375em;
  }
}
@media (max-width: 992px) {
  .header-menu,
  .header-action {
    display: none;
  }
  .header-mobile__action {
    display: flex;
    gap: 1.875em;
    margin-top: 5em;
  }
  .header-mobile__action .btn-header {
    min-width: 21.5625em;
    width: fit-content;
    padding: 1.5em!important;
  }
  .header-burger, .header-burger-close {
    display: flex;
  }
  .header-nav {
    --min-height: 5.375em;
    background: var(--header-bg-color);
    border-radius: var(--border-radius-main);
    padding: 0 1.25em;
  }
  .header-logo {
    padding: 0;
    background: transparent;
  }
  .header-logo-link {
    width: 12.1875em;
    height: 2.5em;
  }
  .header-burger,
  .header-burger-close {
    position: relative;
    width: 4.3125em;
    height: 4.3125em;
    aspect-ratio: 1;
    background: var(--color-red-1);
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-white-1);
  }
  .header-burger svg {
    width: 1.5625em;
    height: 1.0625em;
  }
  .header-burger-close svg {
    width: 1.6875em;
    height: 1.6875em;
  }
  .header-burger::before,
  .header-burger-close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125%;
    height: 125%;
    background: transparent;
  }
  .header-mobile__menu {
    padding: 3.125em 3.75em 5em;
  }
  .header-mobile-logo {
    display: flex;
    align-items: center;
    height: 100%;
  }
  .header-mobile__menu .header-action-link {
    font-size: 2em!important;
  }
  .header-mobile__menu .btn-header {
    font-size: 1.125em!important;
  }
  
  .footer__action {
    gap: 1.375em;
    flex-direction: column;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .header {
    --top-offset: .625em;
    min-width: 320px;
  }
  .header-nav {
    --min-height: 3.125em;
    padding: 0 0.625em;
  }
  .header-logo {
    padding: 0;
    background: transparent;
  }
  .header-logo-link {
    width: 6.125em;
    height: 1.25em;
  }
  .header-burger,
  .header-burger-close {
    width: 2.375em;
    height: 2.375em;
  }
  .header-burger svg {
    width: 0.875em;
    height: 0.625em;
  }
  .header-burger-close svg {
    width: 1em;
    height: 1em;
  }
  .header-mobile__menu {
    padding: 1em 1.5em 3em;
  }
  .header-mobile-nav {
    margin-top: 2.125em;
  }

  .header-mobile__item {
    font-size: 1.125em;
    margin-top: 0.75em;
  }
  .header-mobile__menu .header-action-link {
    font-size: 1em!important;
  }
  .header-mobile__action {
    gap: 0.75em;
    margin-top: 3.125em;
  }
  .header-mobile__action .btn-header {
    min-width: 14.0625em;
    width: fit-content;
    padding: 0.875em 1.5em!important;
  }

  .header-mobile__menu .btn-header {
    font-size: 15px!important;
  }
}
/*Header End*/

/*Footer Start*/
.footer-box {
  padding: 8.125em 0 7em;
  background: var(--primary-bg-color);
}

.footer-box, .footer-box *,
.header, .header *,
.header-mobile__menu {
  font-size: 16px;
}

.stm-lms-wrapper {
  font-size: 16px;
}

@media (min-width:992px) and (max-width:1920px) {
  .stm-lms-wrapper {
    font-size: calc(100vw/121);
  }

  .footer-box, .footer-box *,
  .header, .header *,
  .header-mobile__menu {
    font-size: calc(100vw/121);
  }
}
@media (min-width:601px) and (max-width:834px) {
  .stm-lms-wrapper {
    font-size: calc(100vw/52.125);
  }

  .footer-box, .footer-box *,
  .header, .header *,
  .header-mobile__menu {
    font-size: calc(100vw/52.125);
  }
}

.footer-box-bg {
  position: absolute;
  top: 0;
  left: 0;
}

.footer {
  line-height: 1.25;
}

.map {
  aspect-ratio: 16.6/6.86;
}

.map iframe {
  width: 100%;
  height: 100%;
}

.footer-wrapper {
  padding: 3.125em;
  margin-top: 0.625em;
  background: var(--color-white);
}

.footer-inner {
  gap: 1.25em;
}

.footer-logo {
  width: 13.8125em;
  height: 2.875em;
}

.footer__nav {
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  width: 100%;
  max-width: 20.625em;
}

.footer__nav-list {
  padding: 0;
}
.footer__nav-list * {
  font-size: max(1em, 12px);
  color: var(--color-black-1);
}

.footer__nav-list li {
  margin-top: 0.4375em;
  margin-bottom: 0;
}

.footer__nav-list li:first-child {
  margin-top: 0;
}

.footer__action {
  gap: 1em;
  width: 100%;
  max-width: 48em;
}

.footer__action-name {
  font-size: 1em;
  margin: 0;
}

.footer__action-link,
a.footer__action-link {
  font-size: 1.25em;
  line-height: 1.3;
  margin-top: 0.1875em;
  color: var(--color-black-1);
}
a.footer__action-link:hover {
  color: var(--color-black-1)!important;
}

.footer__action-social {
  max-width: 10.5em;
}

.footer__action-social .social-item-link:hover {
  color: var(--color-white);
  background: var(--color-red-1);
}

.footer__nav-mob {
  display: none;
}

.footer-meta {
  margin-top: 2.5em;
}

.footer-meta p {
  font-size: 1em;
  font-size: max(1em, 12px);
  margin-bottom: 0;
}

/*Media*/
@media (max-width: 992px) {
  .footer-box {
    padding: 2.875em 0;
  }
  .map {
    aspect-ratio: 7.54/4.56;
  }
  .footer-wrapper {
    padding: 2.5em;
  }
  .footer-logo {
    width: 11.25em;
    height: 2.625em;
  }
  .footer__nav {
    max-width: 22.5em;
  }
  .footer__nav-list {
    font-size: 1.125em;
  }
  .footer__nav-list li {
    margin-top: 0.625em;
  }
  .footer__action {
    margin-top: -7.375em;
  }
  .footer__action-phone,
  .footer__action-mail {
    order: 1;
  }
  .footer__action-social {
    max-width: 10.625em;
    margin-bottom: 0.625em;
  }
  .footer-meta {
    text-align: left;
    margin-top: 1.5em;
  }
}
@media (max-width: 600px) {
  .footer-box {
    padding: 2.5em 0 1.25em;
  }
  .map {
    aspect-ratio: 3.45/2.14;
  }
  .footer-wrapper {
    padding: 1.25em;
  }
  .footer-logo {
    width: 6.25em;
    height: auto;
  }
  .footer__nav {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .footer__nav-list {
    font-size: 1em;
  }
  .footer__nav .footer__nav-col.col-2 {
    display: none;
  }
  .footer__action {
    flex-direction: column;
    gap: 1.25em;
    margin-top: 0;
  }
  .footer__action-name {
    font-size: 0.875em;
  }
  .footer__action-link,
  a.footer__action-link  {
    font-size: var(--font-size-main-text-mob, 1em);
  }
  .footer__action-phone,
  .footer__action-mail {
    order: 0;
  }
  .footer__action-social {
    max-width: 100%;
    margin-bottom: 0;
  }
  .footer__nav-mob {
    display: block;
  }
  .footer-meta {
    margin-top: 1.25em;
  }
}
/*Footer End*/

/*Masterstudy Start*/
/* Additional Styles */

:root {
  --accent-hover: var(--btn-hover)!important;
}

body[data-template="spanglish"] :where(h1, h2, h3, h4, h5, h6) {
  color: var(--color-black-1)!important;
}

body[data-template="spanglish"] {
  background: var(--primary-bg-color);
}
body[data-template="spanglish"] #wrapper {
  background: var(--primary-bg-color); 
}

body[data-template="spanglish"] .stm-lms-wrapper {
  padding-top: 8.25em;
}

body .masterstudy-buy-button {
  border-radius: var(--btn-border-radius)!important;
}

body[data-template="spanglish"] h1.masterstudy-single-course-title {
  font-size: 3.125em;
  line-height: 1.25;
  color: var(--color-black-1);
}

body[data-template="spanglish"] .masterstudy-single-course-classic__details {
  background: var(--color-white);
}

.masterstudy-single-course-widgets input.wp-block-search__input,
.masterstudy-single-course-widgets button.wp-block-search__button {
  border-radius: calc( var(--border-radius-main)/2 )!important;
}

body[data-template="spanglish"] .masterstudy-public-page-block a.masterstudy-public-page-block-link {
  background: var(--color-white);
}

body[data-template="spanglish"] .stm_lms_acc_tabs__main {
  background: var(--color-red-1);
  border-top: 3px solid var(--color-red-1);
}
body[data-template="spanglish"] .stm_lms_acc_tabs i.stm_lms_acc_tabs__toggle {
  background: var(--color-red-1);
}
body[data-template="spanglish"] .stm_lms_acc_tabs__secondary_inner {
  background: var(--color-red-1);
}

body[data-template="spanglish"] .stm_lms_edit_account button.btn.btn-default.btn-save-account {
  background: var(--color-red-1);
}

body[data-template="spanglish"] .masterstudy-share__button {
  background: var(--color-white);
}

body[data-template="spanglish"] .stm_lms_edit_email_notifications_list, 
body[data-template="spanglish"] .stm_lms_edit_socials_list {
  background: var(--color-white);
  border-radius: var(--border-radius-second);
}

body[data-template="spanglish"] .masterstudy-instructor-public {
  margin-top: 100px;
}

body[data-template="spanglish"] .masterstudy__login-page {
  padding: 10.625rem 0 0;
}
body[data-template="spanglish"] .masterstudy__login-page-form {
  max-width: 37.5rem;
}


@media (max-width: 600px) {
  body[data-template="spanglish"] h1.masterstudy-single-course-title {
    font-size: 2.125em!important;
    line-height: 1.25!important;
  }

  body[data-template="spanglish"] .masterstudy-instructor-public {
    margin-top: 70px;
  }

  body[data-template="spanglish"] .masterstudy__login-page {
    padding: 6.875rem 0 0;
  }
}
@media (max-width: 500px) {
  body[data-template="spanglish"] .stm-lms-wrapper {
    padding-top: 5.0625em;
  }
}

/*Masterstudy End*/