:root {
  scroll-behavior: auto;
  --tmc-blue: #D4E6F7;
  --tmc-text: #000000;
  --tmc-bg: #F8F7F2;
  --tmc-accent-1: #BF5FFF;
  --tmc-accent-2: #311B92;
  --tmc-accent-3: #FFD700;
}

body {
  position: relative;
  background: var(--tmc-bg);
  font-family: "Poppins", sans-serif;
  color: var(--tmc-text);
}

a, button {
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

@media (min-width: 1301px) {
  .container {
    max-width: 1210px;
  }
}

.site-main {
  padding-top: 34px;
  padding-bottom: 36px;
}

p {
  font-size: 1rem;
  line-height: 1.625;
}

.row {
  margin-left: -10px;
  margin-right: -10px;
}
.row > div {
  padding-left: 10px;
  padding-right: 10px;
}

#site-header {
  background: transparent;
  position: relative;
  z-index: 991;
}
#site-header ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#site-header a {
  font-family: "Bobby Jones Condensed", sans-serif;
  color: var(--tmc-text);
  font-size: 22px;
}
#site-header.active .tmc-nav-bar {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 991px) {
  #site-header .tmc-nav-bar {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    background: var(--tmc-bg);
    z-index: 991;
    padding-left: 15px;
    padding-right: 15px;
  }
  #site-header .tmc-nav-bar ul {
    flex-flow: column;
    align-items: flex-start;
  }
  #site-header .nav-menu {
    width: 100%;
  }
}

.tmc-mobile-bar {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 992px) {
  .tmc-mobile-bar {
    display: none;
  }
}

.tmc-nav-bar {
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
.tmc-nav-bar .nav-menu ul {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 8px;
}
@media (min-width: 992px) {
  .tmc-nav-bar .nav-menu ul {
    gap: 8px 35px;
  }
}
@media (min-width: 1200px) {
  .tmc-nav-bar .nav-menu ul {
    gap: 8px 81px;
  }
}
@media (min-width: 992px) {
  .tmc-nav-bar .nav-menu.right-nav-menu ul {
    justify-content: right;
  }
}
.tmc-nav-bar .nav-menu a {
  text-decoration: none !important;
}
@media (min-width: 992px) {
  .tmc-nav-bar {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
@media (max-width: 991px) {
  .tmc-nav-bar {
    opacity: 0;
    visibility: hidden;
  }
  .tmc-nav-bar > a {
    display: none;
  }
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--tmc-accent-2);
  border-radius: 3px;
  position: relative;
  transition: background 0.2s ease-in-out;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
}

.menu-toggle span::before {
  top: -8px;
}

.menu-toggle span::after {
  top: 8px;
}

.menu-toggle.active span {
  background-color: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 991px) {
  .admin-bar #wpadminbar {
    position: fixed;
  }
}

.mod-footer-top {
  padding-top: 100px;
}

.mod-footer-top h3 {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  font-family: "Bobby Jones Condensed", sans-serif;
  font-weight: normal;
  font-size: 36px;
  letter-spacing: 0;
  color: var(--tmc-text);
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .mod-footer-top h3 {
    font-size: 64px;
  }
}
.mod-footer-top h3:before, .mod-footer-top h3:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: -1;
}
.mod-footer-top h3:before {
  background-image: url("../img/ts1-1.png");
  right: 95.2%;
  top: -7%;
  width: 31px;
  height: 53px;
}
.mod-footer-top h3:after {
  background-image: url("../img/ts1-2.png");
  left: 95%;
  top: 30%;
  width: 52px;
  height: 59px;
}

#site-footer {
  background: var(--tmc-accent-2);
  color: #fff;
  margin-top: 133px;
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  font-size: 14px;
  line-height: 24px;
}
#site-footer:before {
  content: "";
  position: absolute;
  bottom: 100%;
  height: 133px;
  width: 100%;
  background: transparent url("../img/footer-shapes.png") repeat-x;
  background-size: auto 100%;
}
#site-footer .container{
  position: relative;
  z-index: 9;
}
.footer-lines{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#site-footer .wp-block-list.term-link{
  justify-content: flex-start !important;
}
.footer-lines:before, .footer-lines:after{
  content: '';
  position: absolute;
  top: 0;
  background-size: contain;
}
.footer-lines:before{
  background-image: url("../img/fline1.png");
  left: 0;
  height: 100%;
  aspect-ratio: 281 / 663;
}
.footer-lines:after{
  background-image: url("../img/fline2.png");
  right: 0;
  height: 100%;
  aspect-ratio: 313 / 673;
}

#site-footer h2 {
  font-family: "DO-Sans PRO", sans-serif;
  color: var(--tmc-accent-3);
  font-size: 24px;
}
@media (min-width: 992px) {
  #site-footer h2 {
    font-size: 30px;
  }
}
#site-footer h3 {
  font-family: "DO-Sans PRO", sans-serif;
  color: var(--tmc-accent-3);
  font-size: 24px;
}
#site-footer .widget-title {
  margin: 0;
}
#site-footer .widget + .widget {
  margin-top: 32px;
}
#site-footer .widget > p {
  margin: 0;
}
#site-footer .wp-block-columns.is-layout-flex {
  margin-bottom: 0;
  gap: 32px 69px;
}
#site-footer .wp-block-group .wp-block-columns.is-layout-flex {
  gap: 6px 69px;
}
#site-footer .wp-block-column-is-layout-flow > h3,
#site-footer .wp-block-column-is-layout-flow > p {
  margin: 0;
}
#site-footer .wp-block-column-is-layout-flow > h3 + p {
  margin-top: 6px;
}
#site-footer .menu-footer-menu-container {
  margin-top: 6px;
}
@media (min-width: 992px) {
  #site-footer .menu-footer-menu-container {
    margin-top: 24px;
  }
}
#site-footer #menu-footer-menu, #site-footer #fw-primary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: column wrap;
  gap: 8px;
}
@media (min-width: 992px) {
  #site-footer #menu-footer-menu, #site-footer #fw-primary ul {
    gap: 18px;
  }
}
#site-footer #menu-footer-menu a, #site-footer #fw-primary ul a {
  text-decoration: underline;
}
@media (min-width: 992px) {
  #site-footer #fw-primary ul {
    margin-top: 24px;
  }
}
@media (max-width: 992px) {
  #site-footer #fw-primary.widget-area {
    margin-top: 32px;
  }
}
#site-footer .wp-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row wrap;
  gap: 6px 32px;
}
@media (min-width: 992px) {
  #site-footer .wp-block-list {
    justify-content: flex-end;
  }
}
#site-footer #fw-bottom {
  padding-top: 32px;
}
@media (max-width: 992px) {
  #site-footer #fw-bottom {
    padding-top: 0;
  }
}
#site-footer #fw-bottom a {
  text-decoration: underline;
}
#site-footer #fw-bottom .wp-block-columns.is-layout-flex {
  gap: 32px 30px;
  margin-top: 32px;
  align-items: flex-end !important;
}
@media (min-width: 992px) {
  #site-footer #fw-bottom .wp-block-columns > .wp-block-column:nth-child(1) {
    flex-basis: 50% !important;
    order: 2;
  }
  #site-footer #fw-bottom .wp-block-columns > .wp-block-column:nth-child(2) {
    flex-basis: 25% !important;
    order: 3;
  }
  #site-footer #fw-bottom .wp-block-columns > .wp-block-column:nth-child(3) {
    flex-basis: 25% !important;
    order: 1;
  }
}
@media (max-width: 991px) {
  #site-footer #fw-bottom .wp-block-columns.is-layout-flex {
    flex-wrap: wrap !important;
  }
  #site-footer #fw-bottom .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}

.mailerlite-form .mailerlite-form-title h3 {
  font-size: 24px !important;
}
@media (min-width: 992px) {
  .mailerlite-form .mailerlite-form-title h3 {
    font-size: 30px !important;
  }
}
.mailerlite-form #mailerlite-1-field-email {
  display: flex;
  width: 100%;
  color: var(--tmc-accent-2) !important;
  align-items: center;
  padding: 0 24px;
  border-radius: 40px;
  outline: none !important;
  border: 0;
  height: 52px;
}
.mailerlite-form #mailerlite-1-field-email::-moz-placeholder {
  color: var(--tmc-accent-2) !important;
}
.mailerlite-form #mailerlite-1-field-email::placeholder {
  color: var(--tmc-accent-2) !important;
}
.mailerlite-form .mailerlite-subscribe-button-container {
  text-align: left !important;
}
.mailerlite-form .mailerlite-form-field > label {
  display: none !important;
}
.mailerlite-form .mailerlite-form-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 10px;
}
.mailerlite-form .mailerlite-subscribe-submit {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  padding: 0 24px;
  border-radius: 40px;
  outline: none !important;
  border: 0;
  height: 52px;
  background: var(--tmc-accent-3);
  color: var(--tmc-accent-2) !important;
}

.page-title {
  font-family: "Bobby Jones Condensed", sans-serif;
  font-size: 40px;
  line-height: 0.95;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.page-title:before, .page-title:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: -1;
}
@media (min-width: 992px) {
  .page-title {
    font-size: 96px;
  }
}
@media (max-width: 768px) {
  .page-title {
    font-size: 40px;
  }
  .page-title br {
    display: none;
  }
}

.section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--tmc-accent-2);
  margin-bottom: 0;
}
.section-title:before {
  content: "";
  background: url("../img/title-blob.png") no-repeat center;
  background-size: 100% auto;
  width: 24px;
  height: 24px;
}

.section-sub-title {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: "Bobby Jones Condensed", sans-serif;
  font-weight: normal;
  font-size: 36px;
  letter-spacing: 0;
  color: var(--tmc-text);
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .section-sub-title {
    font-size: 64px;
  }
}
.section-sub-title:before, .section-sub-title:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: -1;
}

.title-set-1:before {
  background-image: url("../img/ts1-1.png");
  right: 95.2%;
  top: -7%;
  width: 31px;
  height: 53px;
}
.title-set-1:after {
  background-image: url("../img/ts1-2.png");
  left: 95%;
  top: 30%;
  width: 52px;
  height: 59px;
}
.title-set-1.page-title:before {
  right: 92.2%;
  top: -13%;
}
@media (max-width: 767px) {
  .title-set-1.page-title:before {
    transform: scale(0.6);
  }
}
.title-set-1.page-title:after {
  left: 95%;
  top: 47%;
}
@media (max-width: 767px) {
  .title-set-1.page-title:after {
    transform: scale(0.6);
    left: 91%;
    top: 29%;
  }
}

.title-set-2:before {
  background-image: url("../img/hs4ta2.png");
  right: 87.2%;
  top: -16%;
  width: 75px;
  height: 64px;
}
@media (max-width: 767px) {
  .title-set-2:before {
    transform: scale(0.5);
  }
}
.title-set-2:after {
  background-image: url("../img/hs4ta1.png");
  left: 93%;
  top: 42%;
  width: 75px;
  height: 64px;
}
@media (max-width: 767px) {
  .title-set-2:after {
    transform: scale(0.5);
  }
}

.title-set-3:before {
  background-image: url("../img/sa4.png");
  right: 90.2%;
  top: -12%;
  width: 67px;
  height: 57px;
}
@media (max-width: 767px) {
  .title-set-3:before {
    transform: scale(0.5);
  }
}
.title-set-3:after {
  background-image: url("../img/sa41.png");
  left: 97%;
  top: 28%;
  width: 37px;
  height: 52px;
}

.title-set-4:before {
  background-image: url("../img/ts41.png");
  right: 92.2%;
  top: -17%;
  width: 59px;
  height: 52px;
}
.title-set-4:after {
  background-image: url("../img/ts42.png");
  left: 91%;
  top: 11%;
  width: 79px;
  height: 73px;
}

.title-set-6:before {
  background-image: url("../img/h5h1.png");
  width: 108px;
  height: 64px;
  left: -8%;
  top: -27%;
}
.title-set-6:after {
  background-image: url("../img/h5h2.png");
  width: 60px;
  height: 51px;
  right: -7%;
  top: 59%;
}
@media (max-width: 991px) {
  .title-set-6:after {
    right: 0%;
    top: 65%;
  }
}

.title-set-7:before {
  background-image: url("../img/homepage/mod/mod-title-set.png");
  width: 38px;
  height: 44px;
  left: -4%;
  top: -5%;
}
.title-set-7:after {
  background-image: url("../img/homepage/mod/mod-title-set-1.png");
  width: 67px;
  height: 67px;
  right: -15%;
  top: 14%;
}
@media (max-width: 991px) {
  .title-set-7:before, .title-set-7:after {
    transform: scale(0.5);
  }
  .title-set-7:before{
    left: -10%;
    top: -17%;
  }
  .title-set-7:after{
    right: -24%;
    top: -20%;
  }
}


.button {
  position: relative;
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: none !important;
}
.button span {
  display: flex;
  height: 52px;
  background: var(--tmc-accent-2);
  color: #fff;
  border-radius: 40px;
  padding: 0 24px;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
}
.button:after {
  content: "";
  display: flex;
  align-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--tmc-accent-2);
  background: #fff url("../img/homepage/arrow-2-right.svg") no-repeat center;
  background-size: 14px auto;
  border-radius: 100px;
}

.button-1 span {
  background: var(--tmc-accent-3);
  color: var(--tmc-accent-2);
}
.button-1:after {
  background-image: url("../img/arrow-yellow.png");
  border-color: var(--tmc-accent-3);
}

.ac {
  background: #EFF3F3;
  border-radius: 10px;
  margin-bottom: 24px;
  padding-bottom: 4px;
}
.ac.is-active .ac-panel {
  visibility: visible;
}
.ac .ac-panel {
  visibility: hidden;
  overflow: hidden;
  transition-property: height, visibility;
  transition-timing-function: ease;
}
.ac .ac-panel p {
  margin: 0;
}
.ac .ac-panel p + p {
  margin-top: 16px;
}
.ac .ac-header {
  margin: 0;
  padding: 0;
}
.ac .ac-trigger {
  display: grid;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 18px 24px 14px;
  font-size: 18px;
  font-weight: 500;
  grid-template-columns: 1fr 32px;
  gap: 10px;
}
.ac .ac-trigger:after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 64px;
  background-color: var(--tmc-accent-2);
  background-image: url("../img/add-circle-line.png");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center;
}
.ac.is-active .ac-trigger:after {
  background-image: url("../img/close-circle-line.png");
}
.ac .inner {
  padding: 0 24px 14px;
}
.ac.has-image .inner {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .ac.has-image .inner {
    grid-template-columns: 100px 1fr;
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .qa-accordion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: flex-start;
  }
}

.page-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all ease 300ms;
}
.page-popup.open{
  visibility: visible;
  opacity: 1;
}
.page-popup .inner {
  position: relative;
  max-width: 580px;
  background: var(--tmc-blue);
  padding: 20px;
  border-radius: 10px;
}
@media (min-width: 992px) {
  .page-popup .inner {
    padding: 42px;
    border-radius: 30px;
  }
}
.page-popup .close-popup {
  position: absolute;
  top: -14px;
  left: 89%;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  background: var(--tmc-accent-2) url("../img/close.png") no-repeat center center;
  background-size: 15px auto;
  border: 0;
}
@media (min-width: 992px) {
  .page-popup .close-popup {
    top: 0;
    left: calc(100% + 12px);
  }
}
.page-popup .content {
  margin-bottom: 24px;
}
.page-popup .content img {
  width: 100%;
  margin-bottom: 30px;
}
.page-popup .content h2 {
  font-family: "Bobby Jones Condensed", sans-serif;
  font-weight: normal;
  margin-bottom: 11px;
  font-size: 44px;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
.page-popup .content h2 span {
  position: relative;
  z-index: 9;
}
.page-popup .content h2:before, .page-popup .content h2:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-popup .content h2.ts_1:before {
  background-image: url("../img/pa1.png");
  right: 96.2%;
  top: -3%;
  width: 19px;
  height: 33px;
}
.page-popup .content h2.ts_1:after {
  background-image: url("../img/pa2.png");
  left: 96%;
  top: 43%;
  width: 28px;
  height: 32px;
}
.page-popup .content h2.ts_2:before {
  background-image: url("../img/pa4.png");
  right: 96.2%;
  top: -3%;
  width: 19px;
  height: 33px;
}
.page-popup .content h2.ts_2:after {
  background-image: url("../img/pa3.png");
  left: 98%;
  top: 27%;
  width: 26px;
  height: 43px;
}
.page-popup .content p {
  margin-bottom: 0;
}
.page-popup .button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
}
.page-popup .button span {
  width: 100%;
  justify-content: center;
}

.card-profile {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 991px) {
  .card-profile {
    margin-bottom: 3rem;
  }
}
.card-profile .accent {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.card-profile .accent:before, .card-profile .accent:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.card-profile .accent:before {
  bottom: 90%;
  left: 90%;
  width: 96px;
  height: 92px;
  background-image: url("../img/profile-frame-top.png");
}
@media (max-width: 767px) {
  .card-profile .accent:before {
    display: none;
  }
}
.card-profile .accent:after {
  top: 98%;
  right: 97%;
  width: 47px;
  height: 33px;
  background-image: url("../img/profile-frame-bottom.png");
}
.card-profile img {
  position: relative;
  z-index: 1;
}
.card-profile:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1%;
  left: -4%;
  width: 110%;
  height: 110%;
  background: url("../img/profile-frame.png") no-repeat top left;
  background-size: 100% auto;
}
@media (max-width: 991px) {
  .card-profile:after {
    width: 108%;
    height: 108%;
  }
}

.card-profile-1 {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 991px) {
  .card-profile-1 {
    margin-bottom: 3rem;
  }
}
.card-profile-1 .accent {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.card-profile-1 .accent:before, .card-profile-1 .accent:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.card-profile-1 .accent:before {
  bottom: 90%;
  left: 89%;
  width: 48px;
  height: 40px;
  background-image: url("../img/gf2.png");
}
@media (max-width: 767px) {
  .card-profile-1 .accent:before {
    display: none;
  }
}
.card-profile-1 .accent:after {
  top: 98%;
  right: 97%;
  width: 55px;
  height: 45px;
  background-image: url("../img/gf3.png");
}
.card-profile-1 img {
  position: relative;
  z-index: 1;
  border-radius: 30px;
}
.card-profile-1:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -2%;
  left: -4%;
  width: 106%;
  height: 108%;
  background: url("../img/gf1.png") no-repeat top left;
  background-size: 100% auto;
}

.hs-hero {
  margin-top: 34px;
  position: relative;
  @media(max-width: 480px){
    overflow: hidden;
  }
}
.hs-hero:before, .hs-hero:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.hs-hero:before {
  background-image: url("../img/homepage/hs1-blob-left.png");
  width: 16%;
  height: auto;
  aspect-ratio: 282/667;
  top: 11%;
}
.hs-hero:after {
  background-image: url("../img/homepage/hs1-blob-right.png");
  width: 18%;
  height: auto;
  aspect-ratio: 247/585;
  top: 0;
  right: 0;

  @media(max-width: 480px){
    right: -8%;
  }
}
.hs-hero .container {
  position: relative;
  z-index: 9;
}
.hs-hero .page-title {
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.hs-hero .page-title:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 100%;
  background: url("../img/homepage/hta1.svg") no-repeat;
  background-size: auto 100%;
  height: 100%;
  aspect-ratio: 5/10;
}
.hs-hero .page-title:after {
  content: "";
  position: absolute;
  background: url("../img/homepage/hta2.svg") no-repeat;
  background-size: auto 100%;
  height: 50%;
  aspect-ratio: 1/1;
  top: 40%;
  left: 100%;
}
@media (max-width: 991px) {
  .hs-hero .page-title:after {
    left: 91%;
  }
}
.hs-hero p {
  max-width: 680px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
}
@media (max-width: 991px) {
  .hs-hero p br {
    display: none;
  }
}

.hs-hero .swiper {
  width: 100%;
  overflow: visible !important; /* Elements outside boundaries will not cut off */
}
.hs-hero .swiper-wrapper {
  overflow: visible !important;
  align-items: center;
}
.hs-hero .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition-property: transform, opacity, visibility, z-index;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
@media (max-width: 991px) {
  .hs-hero .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
.hs-hero .slide-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
}
.hs-hero .slide-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 6px solid var(--tmc-blue);
  border-radius: 15px;
  transform: scale(1.2);
}
@media (min-width: 992px) {
  .hs-hero .slide-card img {
    border-radius: 30px;
  }
}
.hs-hero .hero-gallery {
  padding: 40px 30px;
  overflow: hidden;
  background: url("../img/homepage/hs1sliderbg.png") no-repeat center;
  background-size: contain;
}
@media (min-width: 992px) {
  .hs-hero .hero-gallery {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

.hr-art-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.hr-art {
  height: 6px;
  width: 100%;
  background: url("../img/homepage/br.png") repeat-x top left;
  background-size: auto 6px;
}

.hs-1 {
  position: relative;
}
.hs-1:before {
  content: "";
  position: absolute;
  top: 3%;
  right: 0;
  background-image: url("../img/homepage/hs1-bg-art.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 27%;
  height: auto;
  aspect-ratio: 450/483;
}
@media (min-width: 992px) {
  .hs-1 p {
    font-size: 24px;
  }
}
.hs-1 strong {
  font-size: 27px;
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
}
@media (min-width: 992px) {
  .hs-1 strong {
    font-size: 36px;
  }
}
@media(max-width: 767px){
  .hs-1 p:last-child{
    line-height: 1.2;
    text-align: center;
  }
}

.hs1-img-frame {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 991px) {
  .hs1-img-frame {
    margin-bottom: 3rem;
  }
}
.hs1-img-frame .accent {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hs1-img-frame .accent:before, .hs1-img-frame .accent:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.hs1-img-frame .accent:before {
  bottom: 93%;
  left: 93%;
  width: 96px;
  height: 92px;
  background-image: url("../img/homepage/s1-frame-top.png");
}
@media (max-width: 767px) {
  .hs1-img-frame .accent:before {
    display: none;
  }
}
.hs1-img-frame .accent:after {
  top: 98%;
  right: 97%;
  width: 47px;
  height: 33px;
  background-image: url("../img/homepage/s1-frame-bottom.png");
}
.hs1-img-frame img {
  position: relative;
  z-index: 1;
}
.hs1-img-frame:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1%;
  left: -4%;
  width: 110%;
  height: 110%;
  background: url("../img/homepage/s1-frame.png") no-repeat top left;
  background-size: 100% auto;
}

.hs1-video {
  padding-top: 120px;
  padding-bottom: 120px;
  background: url("../img/homepage/video-section-bg.png") repeat-x center;
  background-size: auto;
}
.hs1-video .play-button {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
  background: none;
  border-radius: 30px;
}
.hs1-video .play-button img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  border: 0;
  background: none;
}
@media (max-width: 991px) {
  .hs1-video .play-button img {
    max-width: 52px;
  }
}
.hs1-video .embed-responsive {
  border-radius: 30px;
}
.hs1-video .embed-responsive:before{
  padding-bottom: 52.653%;
}
.hs1-video.is-playing .play-button img {
  display: none;
}
.hs1-video .frame {
  position: absolute;
  top: -2%;
  left: -2%;
  width: 104%;
  height: 104%;
  background: url("../img/homepage/video-frame.png") no-repeat top left;
  background-size: 100% 100%;
}
.hs1-video .frame:before, .hs1-video .frame:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.hs1-video .frame:before {
  background-image: url("../img/homepage/video-frame-top.png");
  width: 64px;
  height: 66px;
  left: 97%;
  bottom: 97%;
}
@media (max-width: 992px) {
  .hs1-video .frame:before {
    display: none;
  }
}
.hs1-video .frame:after {
  background-image: url("../img/homepage/video-frame-bottom.png");
  width: 51px;
  height: 39px;
  right: 97%;
  top: 97%;
}

.embed-responsive video {
  -o-object-fit: cover;
     object-fit: cover;
}

.hs1-video-wrapper {
  position: relative;
}

@media (min-width: 992px) {
  .hs3card-row {
    margin-left: -10px;
    margin-right: -10px;
  }
  .hs3card-row > div {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.hs3card {
  display: flex;
  flex-flow: column wrap;
  gap: 36px;
  justify-content: space-between;
  background: var(--tmc-blue);
  border-radius: 30px;
  padding: 24px;
}
.hs3card .content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hs3card h2 {
  font-family: "DO-Sans PRO", sans-serif;
  font-size: 32px;
  font-weight: normal;
}
.hs3card p {
  margin-bottom: 0;
  line-height: 1.2;
}
.hs3card .action {
  display: flex;
  justify-content: center;
}
.hs3card .image {
  position: relative;
}
.hs3card .image img {
  width: 100%;
}
.hs3card .image .frame {
  position: absolute;
  top: -2%;
  left: -4%;
  width: 108%;
  height: 108%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hs3card-row .col-lg-4 {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .hs3card-row .col-lg-4 + .col-lg-4 {
    margin-top: 48px;
  }
}
.hs3card-row .col-lg-4:nth-child(1):after {
  content: "";
  position: absolute;
  top: 93%;
  right: 91%;
  background: url("../img/homepage/s33art-bottom.png") no-repeat top left;
  width: 79px;
  height: 44px;
  background-size: 100%;
}
.hs3card-row .col-lg-4:nth-child(3):after {
  content: "";
  position: absolute;
  bottom: 93%;
  left: 66%;
  background: url("../img/homepage/s33art.png") no-repeat top left;
  width: 81px;
  height: 85px;
  background-size: 100%;
}

.s3-rows {
  padding-top: 72px;
}
.s3-rows .col-lg-4 {
  margin-top: 48px;
}
.s3-rows .col-lg-4 p {
  position: relative;
  z-index: 1;
}
.s3-rows .col-lg-4:nth-child(1) .s3-feature-card:after {
  content: "";
  position: absolute;
  top: 102%;
  left: 0;
  background: url("../img/homepage/s3fa1.png") no-repeat top left;
  width: 63px;
  height: 17px;
  background-size: 100%;
  z-index: 0;
}
.s3-rows .col-lg-4:nth-child(2) .s3-feature-card:after {
  content: "";
  position: absolute;
  top: 97%;
  right: 97%;
  background: url("../img/homepage/s3fa2.png") no-repeat top left;
  width: 35px;
  height: 26px;
  background-size: 100%;
  z-index: 0;
}
.s3-rows .col-lg-4:nth-child(3) .s3-feature-card:after {
  content: "";
  position: absolute;
  top: 89%;
  right: 0;
  background: url("../img/homepage/s3fa3.png") no-repeat top left;
  width: 76px;
  height: 30px;
  background-size: 100%;
  z-index: 0;
}

.s3-feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.s3-feature-card .content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s3-feature-card h2 {
  font-family: "DO-Sans PRO", sans-serif;
  font-size: 32px;
  font-weight: normal;
  margin: 0;
}
.s3-feature-card p {
  margin-bottom: 0;
}

.hs-4 {
  padding-top: 120px;
  position: relative;
}
.hs-4:before, .hs-4:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.hs-4:before {
  background-image: url("../img/homepage/s4blob1.png");
  width: 250px;
  height: 450px;
  left: 0;
  top: 17%;
}
.hs-4:after {
  background-image: url("../img/homepage/s4blob2.png");
  width: 398px;
  height: 450px;
  right: 0;
  top: 40%;
}
.hs-4 .section-sub-title {
  margin-bottom: 12px;
}
.hs-4 .section-desc {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .hs-4 .section-desc br {
    display: none;
  }
}
.hs-4 .testimonial-slider {
  padding-top: 48px;
}
.hs-4 .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.hs-4 .swiper-slide {
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hs-4 .qc-top {
  height: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 44px 36px;
}
.hs-4 figure {
  margin: 0;
}
.hs-4 .qc-bottom {
  height: 60px;
  top: 100%;
  left: 0;
  width: 100%;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.hs-4 .qc-icon {
  font-size: 100px;
  font-family: "DO-Sans PRO", sans-serif;
  line-height: 0.6;
  text-align: center;
}
.hs-4 cite {
  font-weight: bold;
  font-style: normal;
}
.hs-4 .row-actions > div {
  margin-top: 48px;
}
@media (max-width: 991px) {
  .hs-4 .row-actions > div {
    margin-top: 16px;
  }
}
.hs-4 .testimonial-next, .hs-4 .testimonial-prev {
  width: 52px;
  height: 52px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 14px auto;
  background-position: center;
  border: 1px solid var(--tmc-accent-1);
  border-radius: 100px;
}
.hs-4 .testimonial-next.swiper-button-disabled, .hs-4 .testimonial-prev.swiper-button-disabled {
  opacity: 0.5;
}
.hs-4 .testimonial-next {
  background-image: url("../img/homepage/arrow-1-right.svg");
}
.hs-4 .testimonial-prev {
  background-image: url("../img/homepage/arrow-1-left.svg");
}
.hs-4 .swiper-container {
  position: relative;
}
.hs-4 .swiper-container.is-transitioning:before, .hs-4 .swiper-container.is-transitioning:after {
  opacity: 0;
  visibility: hidden;
}
.hs-4 .swiper-container:before, .hs-4 .swiper-container:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  width: 56px;
  height: 254px;
  background: url("../img/homepage/binders.png") no-repeat top left;
  display: none;
  z-index: 9;
}
@media (min-width: 768px) and (max-width: 991px) {
  .hs-4 .swiper-container:before {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    left: calc(50% - 28px);
  }
}
@media (min-width: 992px) {
  .hs-4 .swiper-container:before {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    left: calc(33% - 28px);
  }
}
.hs-4 .swiper-container:after {
  display: none;
}
@media (min-width: 992px) {
  .hs-4 .swiper-container:after {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    left: calc(66% - 18px);
  }
}
.hs-4 .swiper-container .swiper {
  position: relative;
  z-index: 1;
}
.hs-4 .swiper-container .blob {
  position: absolute;
  content: "";
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}
.hs-4 .swiper-container .blob.blob-left {
  background-image: url("../img/homepage/s4c1.png");
  width: 58px;
  height: 45px;
  top: 7%;
  right: 96.3%;
}
.hs-4 .swiper-container .blob.blob-right {
  background-image: url("../img/homepage/s4c2.png");
  width: 78px;
  height: 66px;
  top: 91%;
  left: 96.5%;
}
@media (max-width: 767px) {
  .hs-4 .swiper-container .blob.blob-right {
    left: 80.5%;
    top: 95%;
  }
}

.boxed-bg {
  background: url("../img/homepage/s5bg.png") no-repeat center;
  background-size: contain;
  margin-top: 30px;
}

.boxed {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 120px;
}
.boxed .swiper {
  width: 100%;
  overflow: visible !important; /* Elements outside boundaries will not cut off */
}
.boxed .swiper-wrapper {
  overflow: visible !important;
  align-items: center;
}
.boxed .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition-property: transform, opacity, visibility, z-index;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
@media (max-width: 991px) {
  .boxed .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
.boxed .slide-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
}
.boxed .slide-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 6px solid var(--tmc-blue);
  border-radius: 15px;
  transform: scale(1.2);
}
@media (min-width: 992px) {
  .boxed .slide-card img {
    border-radius: 30px;
  }
}

.hs5 {
  margin-top: 150px;
  padding-bottom: 36px;
  position: relative;
}
.hs5:before, .hs5:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.hs5:before {
  background-image: url("../img/homepage/h5b1.png");
  width: 16%;
  height: auto;
  aspect-ratio: 243/585;
  left: 0;
  bottom: 30%;
}
.hs5:after {
  background-image: url("../img/homepage/h5b2.png");
  width: 25%;
  height: auto;
  aspect-ratio: 390/548;
  right: 0;
  top: 17%;
}
.hs5 .hero-gallery{
  padding-left: 50px;
  padding-right: 50px;
}

.as1 {
  padding-top: 32px;
  position: relative;
}
.as1:before, .as1:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 0;
}
@media (max-width: 991px) {
  .as1:before, .as1:after {
    top: 0 !important;
  }
}
.as1:before {
  width: 18%;
  height: auto;
  background-image: url("../img/about/a1b1.png");
  aspect-ratio: 304/504;
  top: -12%;
  left: 0;
}
.as1:after {
  width: 16%;
  height: auto;
  background-image: url("../img/about/a1b2.png");
  aspect-ratio: 242/362;
  top: -13%;
  right: 0;
}
.as1 .container {
  position: relative;
  z-index: 9;
}
.as1 .profile-row {
  padding-top: 36px;
}
@media (min-width: 992px) {
  .as1 p {
    font-size: 24px;
    line-height: 1.75;
  }
}
.as1 .content {
  position: relative;
}
.as1 .content:before {
  content: "";
  position: absolute;
  background: url("../img/about/a1spark.png");
  width: 68px;
  height: 58px;
  top: 92%;
  left: 75%;
}

.as2 {
  padding-top: 120px;
  position: relative;
}
.as2 .container {
  position: relative;
  z-index: 9;
}
.as2:before, .as2:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 0;
}
@media (max-width: 768px) {
  .as2:before, .as2:after {
    width: 30% !important;
  }
}
.as2:before {
  width: 9%;
  height: auto;
  background-image: url("../img/about/a2b1.png");
  aspect-ratio: 210/582;
  top: 73%;
  left: 0;
}
.as2:after {
  width: 10%;
  height: auto;
  background-image: url("../img/about/a2b2.png");
  aspect-ratio: 242/585;
  top: 78%;
  right: 0;
}

.as3 {
  padding-top: 92px;
  padding-bottom: 80px;
}

.as4 {
  padding-top: 94px;
}
.as4 .section-sub-title {
  margin-left: 0;
}
@media (min-width: 992px) {
  .as4 .col-lg-9 {
    flex: 0 0 63%;
    max-width: 63%;
  }
  .as4 .col-lg-3 {
    flex: 0 0 37%;
    max-width: 37%;
  }
}

.gs1 {
  padding-top: 36px;
  padding-bottom: 66px;
  position: relative;
}
.gs1 .profile-row {
  padding-top: 36px;
}
.gs1 .content {
  padding-bottom: 8px;
}
.gs1:before, .gs1:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 0;
}
@media (max-width: 991px) {
  .gs1:before, .gs1:after {
    top: 0 !important;
  }
}
.gs1:before {
  width: 10%;
  height: auto;
  background-image: url("../img/gift-card/gtb1.png");
  aspect-ratio: 164/362;
  top: -16%;
  left: 0;
}
.gs1:after {
  width: 16%;
  height: auto;
  background-image: url("../img/gift-card/gtb2.png");
  aspect-ratio: 242/362;
  top: -18%;
  right: 0;
}
.gs1 .container {
  position: relative;
  z-index: 9;
}

.gift-row p {
  font-size: 14px;
}

.ms1 {
  padding-top: 32px;
  position: relative;
}
.ms1:before, .ms1:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 0;
}
@media (max-width: 991px) {
  .ms1:before, .ms1:after {
    top: 0 !important;
  }
}
.ms1:before {
  width: 7.5%;
  height: auto;
  background-image: url("../img/membership/ba1.png");
  aspect-ratio: 104/296;
  top: 24%;
  left: 0;
}
.ms1:after {
  width: 21%;
  height: auto;
  background-image: url("../img/membership/ba2.png");
  aspect-ratio: 468/621;
  top: -10%;
  right: 0;
}
.ms1 .container {
  position: relative;
  z-index: 9;
}
.ms1 .page-title {
  margin-left: 0;
  margin-bottom: 24px;
}

.m-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 992px) {
  .m-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
}
.m-wrapper ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.m-wrapper .m-item {
  padding: 36px;
  border-radius: 30px;
  position: relative;
}
.m-wrapper .m-item:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -39px;
  transform: translateY(-50%);
  width: 56px;
  height: 536px;
  background: url("../img/membership/binder2.png") no-repeat top left;
  background-size: 100% auto;
  z-index: 9;
}
@media (min-width: 992px) {
  .m-wrapper .m-item:before {
    left: calc(100% - 18px);
  }
}
.m-wrapper .m-item.item-1 {
  background: var(--tmc-blue);
  color: var(--tmc-accent-2);
}
.m-wrapper .m-item.item-2 {
  background: var(--tmc-accent-2);
  color: #fff;
}
@media (min-width: 992px) {
  .m-wrapper .m-item.item-2:before {
    display: none;
  }
}
.m-wrapper .m-item h2 {
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
  margin-bottom: 14px;
}
.m-wrapper .item-1 li {
  display: block;
  padding-bottom: 18px;
  margin-bottom: 18px;
  position: relative;
}
.m-wrapper .item-1 li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-size: auto 100%;
  background-repeat: no-repeat;
  height: 8px;
  transform: translateY(2px);
  background-image: url("../img/membership/l1.png");
  background-position: bottom left;
}
@media (max-width: 767px) {
  .m-wrapper .item-1 li:after {
    background-position: bottom right;
  }
}
.m-wrapper .item-1 li:nth-child(2):after {
  background-image: url("../img/membership/l2.png");
}
.m-wrapper .item-1 li:nth-child(3):after {
  background-image: url("../img/membership/l3.png");
}
.m-wrapper .item-1 li:nth-child(4):after {
  background-image: url("../img/membership/l4.png");
}
.m-wrapper .item-1 li:nth-child(5):after {
  background-image: url("../img/membership/l6.png");
}
.m-wrapper .item-1 li:nth-child(6):after {
  background-image: url("../img/membership/l7.png");
}
.m-wrapper .item-1 li:nth-child(7):after {
  background-image: url("../img/membership/l8.png");
}
.m-wrapper .item-1 li:last-child:after {
  display: none;
}
.m-wrapper .item-2 li {
  padding-bottom: 18px;
  margin-bottom: 18px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30%;
}
.m-wrapper .item-2 li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-size: auto;
  background-repeat: repeat-x;
  height: 1px;
  background-image: url("../img/membership/line.png");
  background-position: bottom left;
}
.m-wrapper .item-2 li:last-child:after {
  display: none;
}
.m-wrapper .item-2 li .item a {
  font-family: "Bobby Jones Condensed", sans-serif;
  font-weight: normal;
  -webkit-text-decoration: underline wavy;
          text-decoration: underline wavy;
  font-size: 28px;
  color: var(--tmc-accent-3);
  display: block;
  margin-bottom: 6px;
}
.m-wrapper .item-2 li .item .note {
  font-size: 18px;
}
.m-wrapper .item-2 li .price {
  text-align: right;
}
.m-wrapper .item-2 li .price .sum {
  font-size: 22px;
  font-weight: 500;
  color: var(--tmc-accent-3);
}
.m-wrapper .item-2 li .price .sum sub {
  font-size: 14px;
  bottom: 0;
}
.m-wrapper .item-2 li .price .note {
  font-size: 12px;
}
.m-wrapper .button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
}
.m-wrapper .button span {
  width: 100%;
  justify-content: center;
}

.ms1-images {
  position: relative;
}
.ms1-images .item {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
.ms1-images .item img {
  border-radius: 30px;
  border: 6px solid var(--tmc-blue);
}
.ms1-images .item:nth-child(1) img{
  max-width: 200px;
}
.ms1-images .item:nth-child(2) img{
  max-width: 240px;
}
.ms1-images .item-1 {
  transform: rotate(-8.3deg);
  z-index: 2;
  transform-origin: left top;
  position: relative;

  @media(max-width: 480px){
    max-width: 80%;
  }
}
.ms1-images .item-1:before, .ms1-images .item-1:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 0;
}
.ms1-images .item-1:before {
  width: 47px;
  height: 34px;
  background-image: url("../img/membership/msa1.png");
  bottom: 94%;
  right: 90%;
}
.ms1-images .item-1:after {
  width: 92px;
  height: 92px;
  background-image: url("../img/membership/msa2.png");
  top: 100%;
  right: 90%;
}
.ms1-images .item-2 {
  transform: rotate(10.3deg) translate(30%, -30%);
  z-index: 1;
  transform-origin: left top;
  @media(max-width: 480px){
    max-width: 75%;
  }
}

.ms2 {
  padding-bottom: 56px;
}
.ms2 .button-1{
    display: grid !important;
    font-size: 1rem !important;
    font-family: "Poppins", sans-serif !important;
    color: #fff !important;
    margin-top: 1rem;
}

.bs1 {
  padding-top: 29px;
  padding-bottom: 20px;
  position: relative;
}
.bs1 .content {
  max-width: 765px;
  margin: 24px auto 0;
  text-align: center;
  position: relative;
}
.bs1 .content:before, .bs1 .content:after{
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}
.bs1 .content:before{
  background-image: url("../img/birthdays/bline1.png");
  width: 11%;
  height: auto;
  aspect-ratio: 91 / 88;
  bottom: -8%;
  right: 94%;
}
.bs1 .content:after{
  background-image: url("../img/birthdays/bline2.png");
  width: 10%;
  height: auto;
  aspect-ratio: 91 / 88;
  bottom: -5%;
  left: 97%;
}


.bs1:before, .bs1:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.bs1:before {
  background-image: url("../img/birthdays/bblob1.png");
  width: 16%;
  height: auto;
  aspect-ratio: 262/349;
  top: -15%;
}
.bs1:after {
  background-image: url("../img/birthdays/bblob2.png");
  width: 18%;
  height: auto;
  aspect-ratio: 263/362;
  top: -10%;
  right: 0;
}

.btitle-set{
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.btitle-set:before,.btitle-set:after{
  content: '';
  position: absolute;
  width: 25vw;
  height: 25vw;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.btitle-set:before{
  background-image: url("../img/birthdays/bshadow1.png");
  left: -17%;
  top: 33%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.btitle-set:after{
  background-image: url("../img/birthdays/bshadow2.png");
  top: 90%;
  left: 120%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.bs2-bg {
  padding-top: 112px;
  padding-bottom: 192px;
  background: url("../img/birthdays/booking-bg.png") repeat top center;
  background-size: auto 100%;
  margin-top: 20px;
}

.bs2 {
  padding-bottom: 69px;
}
.bs2 h2 {
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
  font-size: 30px;
  color: var(--tmc-accent-2);
  margin-bottom: 18px;
}
.bs2 .headings p{
    margin-bottom: 23px;
}

.notes .item{
    margin-top: 32px;
    padding-top: 32px;
    position: relative;
}
.notes .item:before{
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 1px;
    background: url('../img/birthdays/line.png') repeat-x top left;
    background-size: auto 100%;
}
.notes .item h3{
    font-family: "Bobby Jones Condensed", sans-serif;
    font-size: 28px;
    color: var(--tmc-accent-1);
    text-transform: uppercase;
}

.location-filter {
  background: var(--tmc-blue);
  padding: 5px;
  border-radius: 60px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: 36px;
}
.location-filter button {
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: var(--tmc-accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  height: 46px;
  flex: 1;
}
.location-filter button.active {
  color: #fff;
  background: var(--tmc-accent-2);
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 54px;
  margin-top: 32px;
}
.locations .item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 147px;
  align-items: flex-start;
}
.locations .item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.locations .item .name {
  font-family: "Bobby Jones Condensed", sans-serif;
  font-size: 28px;
  color: var(--tmc-accent-1);
}
.locations .item.is-hidden {
  display: none;
}
.locations .item:not(.is-hidden) ~ .item:not(.is-hidden):before {
  content: "";
  position: absolute;
  top: -27px;
  width: 100%;
  height: 1px;
  background: url("../img/birthdays/line.png") repeat-x top left;
  background-size: auto 100%;
}
.locations a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: var(--tmc-accent-2);
  border-radius: 40px;
  color: #fff;
  height: 52px;
}

.tabbed-iframe .item.is-hidden{
  display: none;
}
.tabbed-iframe .item{
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.tabbed-iframe.all-studio-contents .item{
  overflow: auto;
  border: 0;
  background: none;
  border-radius: 0;
}
.all-studio-contents h3:not(:first-child){
  display: none;
}
.all-studio-contents h3{
  font-family: "Bobby Jones Condensed", sans-serif;
  font-size: 28px;
  color: var(--tmc-accent-1);
  text-transform: uppercase;
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
  align-items: center;
}
.all-studio-contents h3>em{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--tmc-accent-2);
  background: var(--tmc-accent-3);
  border-radius: 50px;
  padding: 1px 8px;
  height: 23px;
  font-size: 14px;
  line-height: 1;
  font-style: normal;
}
.tabbed-iframe.all-studio-contents .item>div {
  display: grid;
  gap: 30px;
}
.tabbed-iframe.all-studio-contents .item p:last-child{
  margin-bottom: 0;
}

.bs1-gallery {
  margin-top: -150px;
  
  
}
.bs1-gallery .swiper {
  width: 100%;
  overflow: visible !important; /* Elements outside boundaries will not cut off */
}
.bs1-gallery .swiper-wrapper {
  overflow: visible !important;
  align-items: center;
}
.bs1-gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition-property: transform, opacity, visibility, z-index;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
@media (max-width: 991px) {
  .bs1-gallery .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .tabbed-iframe{
    margin-top: 35px;
  }
}
.bs1-gallery .slide-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
}
.bs1-gallery .slide-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 6px solid var(--tmc-blue);
  border-radius: 15px;
  transform: scale(1.2);
}
@media (min-width: 992px) {
  .bs1-gallery .slide-card img {
    border-radius: 30px;
  }
}
.bs1-gallery .hero-gallery {
  padding: 40px 30px;
  overflow: hidden;
  background: url("../img/birthdays/gallery-bg.png") no-repeat center;
  background-size: contain;
}
@media (min-width: 992px) {
  .bs1-gallery .hero-gallery {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .tabbed-iframe.all-studio-contents .item>div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-grid {
  padding-top: 80px;
  padding-bottom: 48px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(24, 1fr);
    /* --- Row 1 Pattern (2, 4, 4, 2) --- */
    /* Items 1, 2, 3, 4 in every 7-item cycle */
  }
  .gallery-grid .item:nth-child(7n+1) {
    grid-column: span 5;
  }
  .gallery-grid .item:nth-child(7n+2) {
    grid-column: span 7;
  }
  .gallery-grid .item:nth-child(7n+3) {
    grid-column: span 7;
  }
  .gallery-grid .item:nth-child(7n+4) {
    grid-column: span 5;
  }
  .gallery-grid {
    /* --- Row 2 Pattern (5, 2, 5) --- */
    /* Items 5, 6, 7 in every 7-item cycle */
  }
  .gallery-grid .item:nth-child(7n+5) {
    grid-column: span 9;
  }
  .gallery-grid .item:nth-child(7n+6) {
    grid-column: span 6;
  }
  .gallery-grid .item:nth-child(7n+7) {
    grid-column: span 9;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.gallery-grid .item {
  height: 320px;
  position: relative;
}
.gallery-grid img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 30px;
}

.bs3 {
  position: relative;
}
.bs3 .container {
  position: relative;
  z-index: 9;
}
.bs3:before, .bs3:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.bs3:before {
  background-image: url("../img/birthdays/bblob3.png");
  width: 16%;
  height: auto;
  aspect-ratio: 292/585;
  bottom: 10%;
}
.bs3:after {
  background-image: url("../img/birthdays/bblob4.png");
  width: 18%;
  height: auto;
  aspect-ratio: 279/568;
  bottom: 40%;
  right: 0;
}

.ba1 {
  padding-top: 29px;
  position: relative;
}
.ba1 .container {
  position: relative;
  z-index: 99;
}
.ba1:before, .ba1:after {
  content: "";
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.ba1:before {
  background-image: url("../img/book-a-class/bcblob1.png");
  width: 20%;
  height: auto;
  aspect-ratio: 283/575;
  top: -11%;
}
.ba1:after {
  background-image: url("../img/book-a-class/bcblob2.png");
  width: 18%;
  height: auto;
  aspect-ratio: 320/487;
  top: -3%;
  right: 0;
}

.ba1-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.ba1-grid .item:nth-child(1) {
  grid-column: span 3;
}
.ba1-grid .item:nth-child(2) {
  grid-column: span 3;
}
.ba1-grid .item:nth-child(3) {
  grid-column: span 6;
}
@media (min-width: 992px) {
  .ba1-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .ba1-grid .item:nth-child(1) {
    order: 1;
    grid-column: span 3;
  }
  .ba1-grid .item:nth-child(2) {
    order: 3;
    grid-column: span 3;
  }
  .ba1-grid .item:nth-child(3) {
    order: 2;
    grid-column: span 6;
  }
}
.ba1-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 6px solid var(--tmc-blue);
}
.ba1-grid .member-card {
  height: 100%;
  border-radius: 30px;
  background: var(--tmc-accent-3);
  color: var(--tmc-accent-2);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
}
.ba1-grid .member-card h3 {
  margin-bottom: 8px;
  font-size: 36px;
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
}
.ba1-grid .member-card p {
  margin-bottom: 0;
}
.ba1-grid .member-card .button {
  width: 100%;
}
.ba1-grid .member-card .button span {
  width: 100%;
  justify-content: center;
  text-align: center;
  flex: 1;
}

.ba2 {
  padding-top: 56px;
}
.ba2 h2 {
  text-align: center;
  font-size: 30px;
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
  margin-bottom: 10px;
}
.ba2 h2:before {
  content: "";
  display: block;
  width: 100%;
  height: 31px;
  background: url("../img/book-a-class/bart2.png") no-repeat center;
  background-size: auto;
}
.ba2 p {
  text-align: center;
}

.book-filter {
  background: var(--tmc-blue);
  padding: 5px;
  border-radius: 60px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: 36px;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.book-filter button {
  min-width: 195px;
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: var(--tmc-accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  height: 46px;
  flex: 1;
}
.book-filter button.active {
  color: #fff;
  background: var(--tmc-accent-2);
}
.book-filter button:first-child {
  width: -moz-fit-content;
  width: fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.book-studio .is-hidden {
  display: none;
}

.ba3 {
  padding-top: 120px;
}
.ba3 .section-sub-title {
  margin-left: 0;
  text-align: left;
}
.ba3 .section-sub-title:before {
  right: 75.2%;
  top: -11%;
}
.ba3 .section-sub-title:after {
  left: 78%;
  top: 51%;
}
.ba3 .item {
  margin-bottom: 48px;
}
.ba3 .item img {
  margin-bottom: 18px;
}
.ba3 .item h4 {
  font-family: "DO-Sans PRO", sans-serif;
  font-weight: normal;
  margin-bottom: 12px;
}
.ba3 .item p {
  margin-bottom: 0;
}

.bac-images {
  display: flex;
}
.bac-images .bac-item {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
.bac-images .bac-item img {
  border-radius: 30px;
  border: 6px solid var(--tmc-blue);
}
.bac-images .item-1 {
  transform: rotate(-20deg) translate(0, 28%);
  z-index: 2;
  transform-origin: left top;
  position: relative;
}
.bac-images .item-2 {
  transform: rotate(10.3deg) translate(20%, -24%);
  z-index: 2;
  transform-origin: left top;

  @media(max-width: 480px){
    transform: rotate(10.3deg) translate(-4%, -24%);
  }
}


@media(max-width:991px){
    .footer-lines{
      display: none;
    }
    .bs1 .content:after{
      left: 90%;
    }
    .bs1 .content:before{
      right: 88%;
    }
}

.hs-m1{
  padding-top: 120px;
  padding-bottom: 120px;
}
.hs-m1-row{
  padding-top: 24px;
  position: relative;
}
.hs-m1-row>div{
  position: relative;
  z-index: 9;
}
.hs-m1-row:before{
  content: '';
  position: absolute;
  background-image: url('../img/homepage/mod/ma5.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 16%;
  height: auto;
  aspect-ratio: 1 / 1;
  bottom: 86%;
  left: 90%;
  z-index: 0;

  @media(max-width: 1200px){
    bottom: 91%;
    left: 80%;
  }
}
.hs-m1-row:after{
  content: '';
  position: absolute;
  background-image: url('../img/homepage/mod/ma2.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 16%;
  height: auto;
  aspect-ratio: 1 / 1;
  top: 53%;
  left: -7%;
  z-index: 0;
}


.hs-m1-row .images{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  
}
@media (min-width: 480px) and (max-width: 991px){
  .hs-m1-row .images{
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .hs-m1-row .images .image{
    flex: 1 1 0;
    min-width: 0;
  }
  .hs-m1-row .images .image img{
    width: 100%;
  }
}
.hs-m1-row .images img{
  border-radius: 30px;
  display: block;
  max-width: 100%;
  height: auto;
  position: relative;
}
.hs-m1-row .image{
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
.hs-m1-row .image-1:before{
  content: "";
  position: absolute;
  background-image: url("../img/homepage/mod/ma1.png");
  background-size: contain;
  width: 30%;
  height: auto;
  aspect-ratio: 1 / 1;
  top: -8%;
  left: 0%;
  z-index: 1;
}
.hs-m1-row .image-2:before{
  content: "";
  position: absolute;
  background-image: url("../img/homepage/mod/ma3.png");
  background-size: contain;
  width: 25%;
  height: auto;
  aspect-ratio: 1 / 1;
  bottom: -14%;
  right: 0;
  z-index: 1;
}
.hsm1-items{
  display: flex;
  flex-direction: column;
  gap: 20px;

  @media(max-width: 991px){
    margin-top: 100px;
  }
}
.hsm1-items .item{
  border-radius: 30px;
  padding : 36px;
  position: relative;
}
.hsm1-items .item h2{
  font-family: "DO-Sans PRO", sans-serif;
  font-size: 32px;
  font-weight: normal;
}
.hsm1-items .item:nth-child(3n + 1){
  background-color: var(--tmc-accent-2);
  background-image: url('../img/homepage/mod/mc1.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: clamp(100px, 20%, 20%);
  color: var(--tmc-bg)
}
.hsm1-items .item:first-child:before{
  content: "";
  position: absolute;
  background-image: url('../img/homepage/mod/ma4.png');
  background-size: contain;
  width: 34%;
  height: auto;
  aspect-ratio: 362 / 113;
  top: -12%;
  right: -1%;
  z-index: 1;
}
@media(max-width: 991px){
  .hsm1-items .item:first-child:before{
    top: 0;
    transform: translateY(-50%);
  }
}
.hsm1-items .item:nth-child(3n + 1) .button span{
  background-color: var(--tmc-accent-3);
  color: #000;
}
.hsm1-items .item:nth-child(3n + 1) .button:after{
  border-color: var(--tmc-accent-3);
  background-color: transparent;
  background-image: url('../img/arrow-yellow.png');
}
.hsm1-items .item:nth-child(3n + 2){
  background-color: var(--tmc-accent-3);
  background-image: url('../img/homepage/mod/mc2.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: clamp(100px, 20%, 20%);
}
.hsm1-items .item:nth-child(3n){
  background-color: var(--tmc-blue);
  color: var(--tmc-accent-2);
  background-image: url('../img/homepage/mod/mc3.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: clamp(100px, 20%, 20%);
}
