.wp-block-column {
  flex-basis: auto !important;
  min-width: auto !important;
}

.wp-block-cover {
  padding: 0;
}

.wp-block-cover .wp-block-cover__inner-container,
.wp-block-cover-image .wp-block-cover__inner-container {
  color: var(--blue-100);
}

.membership-container {
  background-image: url("../images/membership-bg.png");
  background-repeat: no-repeat;
}

.membership-1 {
  padding-top: 196px;
}

.membership-1-box {
  display: flex;
  flex-wrap: wrap !important;
  justify-content: space-between;
  gap: 12px;
}

.membership-1-content {
  width: calc(20% - 26px);
  max-height: 225px;
  border-radius: 8px;
  overflow: hidden;
}

.membership-1-content.membership-1-noimg {
  padding-left: 41px;
  padding-right: 41px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--grey-40);
  background-color: var(--beige-20);
}

.membership-1-content .membership-1-title {
  font-weight: 800;
  font-size: 34px;
}

.membership-1-content .membership-1-text {
  font-weight: 400;
  font-size: 18px;
}

.membership-1-content img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.membership-breadcrumb {
  margin-top: 80px;
}

.membership-2 {
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto 85px;
}

.membership-2-box {
  display: flex;
  justify-content: end;
  background-color: #fbecd6;
  border-radius: 12px;
  height: 216px;
  align-items: center !important;
  background-image: url("../images/join-panel-bg.png");
}

.membership-2-box {
  display: none;
}

.membership-2-content {
  margin-left: 0px;
  width: 408px;
  flex-grow: unset !important;
}

.membership-2-title {
  font-weight: 800;
  font-size: 34px;
}

.membership-2-text {
  width: 408px;
}

.membership-2-cta {
  width: 236px;
  margin-right: 157px !important;
  flex-grow: unset !important;
}

.membership-3 {
  max-width: 864px;
  width: 100%;
  text-align: center;
  margin: 72px auto 85px;
}

.membership-4 {
  margin-bottom: 120px;
  width: 100%;
}

.membership-4-images {
  display: flex;
  flex-direction: row;
  gap: 58px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  flex-wrap: nowrap !important;
}

.membership-4-image {
  width: 310px;
  height: 452px;
  padding: 13px 14px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: all 1s;
}

.membership-4-image:hover {
  border-color: var(--beige-90);
}

.membership-4-cover {
  border-radius: 8px;
  overflow: hidden;
  align-items: end;
  width: 290px;
  min-height: 426px !important;
  position: relative;
}

.membership-4-cover div {
  height: 100%;
  width: 100%;
  position: absolute !important;
}

.membership-4-cover div p {
  width: 100%;
  height: 100%;
}

.membership-4-cover div a {
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  padding-bottom: 45px;
}

.membership-5 {
  width: 100%;
  background-color: #fbead6;
  padding: 100px 0;
}

.membership-5-box {
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
}

.membership-5-title {
  text-align: center;
  padding-bottom: 12px;
}

.membership-5-text {
  text-align: center;
  padding-bottom: 50px;
}

.membership-6 {
  max-width: var(--content-width);
  width: 100%;
  margin: 120px auto 118px;
}

.membership-6-row-1,
.membership-6-row-2,
.membership-6-row-3 {
  gap: 20px;
  margin-top: 32px;
}

.membership-6-row-2 {
  flex-direction: row-reverse;
}

.membership-6-hightlight {
  max-width: 328px;
  width: 100%;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.membership-6-hightlight .membership-hightlight-title {
  font-weight: 700;
  font-size: 24px;
}

.membership-6-content {
  border: 1px solid #b7b7b7;
  border-radius: 8px;
}

.membership-6-row-1 .membership-6-hightlight {
  background-color: #fbecd6;
  justify-content: space-between;
}

.membership-6-row-1 .membership-6-hightlight .membership-hightlight-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.membership-6-row-1 .membership-hightlight-info {
  font-weight: 400;
  font-size: 12px;
}

.membership-6-row-2 .membership-6-hightlight {
  background-color: #f0dcbe;
}

.membership-6-row-3 .membership-6-hightlight {
  background-color: #e2c6a1;
}

.membership-6-list {
  padding: 32px;
}

.membership-6-list li {
  padding: 0;
  margin-left: 30px;
}

/* Membership grid */
.iks-membership-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.iks-membership-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 40px 24px;
  border-radius: 8px;
  width: 257px;
  height: 257px;
  color: var(--navy-100);
  cursor: default;
  font-family: inherit;
  box-shadow: 3px 3px 9px 0px #372d2924;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.iks-membership-card:disabled {
  opacity: 0.7;
  cursor: wait;
}

.iks-membership-card:hover {
  transform: translateY(-4px);
}

.iks-membership-card-title {
  font-size: 24px;
  font-weight: 700;
  padding-top: 40px;
  line-height: 24px;
}

.iks-membership-card-label {
  font-size: 16px;
  font-weight: 500;
}

.iks-membership-card-price {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
}

.membership-bg-1 {
  background: url("../images/membership-plan-1.png") center no-repeat;
  background-size: cover;
  background-position: top left;
}

.membership-bg-2 {
  background: url("../images/membership-plan-2.png") center no-repeat;
  background-size: cover;
  background-position: top left;
}

.membership-bg-3 {
  background: url("../images/membership-plan-3.png") center no-repeat;
  background-size: cover;
  background-position: top left;
}

.membership-bg-4 {
  background: url("../images/membership-plan-4.png") center no-repeat;
  background-size: cover;
  background-position: bottom left;
}

.membership-bg-5 {
  background: url("../images/membership-plan-5.png") center no-repeat;
  background-size: cover;
  background-position: bottom right;
}

.iks-membership-empty {
  text-align: center;
  width: 100%;
  color: #666;
}

@media (max-width: 1600px) {
  .membership-1-content .membership-1-title {
    font-size: 24px;
  }
}

@media (max-width: 1500px) {
  .membership-1-content.membership-1-noimg {
    padding-left: 10px;
  }

  .membership-1-content .membership-1-text {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .membership-1-content.membership-1-noimg {
    gap: 8px;
  }

  .membership-1-content .membership-1-title {
    font-size: 20px;
  }
}
@media (max-width: 1024px) {
  .membership-1-content .membership-1-title {
    font-size: 18px;
  }

  .membership-1-content {
    width: calc(33% - 26px);
  }

  .membership-1-content:nth-of-type(4),
  .membership-1-content:nth-of-type(5),
  .membership-1-content:nth-of-type(9),
  .membership-1-content:nth-of-type(10) {
    display: none;
  }
}

@media (max-width: 600px) {
  .iks-membership-card {
    max-width: 100%;
  }

  .membership-1-content {
    width: calc(50% - 26px);
  }

  .membership-1-content:nth-of-type(3),
  .membership-1-content:nth-of-type(8) {
    display: none;
  }
}

.wp-block-columns.is-not-stacked-on-mobile {
  flex-wrap: wrap !important;
}

@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}
