/* YouMind Oval Cards — corporate.html .industries */

.ymct-oval-cards {
  font: 400 16px/1.5 Poppins, Arial, sans-serif;
  color: #0a0a0a;
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.ymct-oval-cards.alignfull {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.ymct-oval-cards *,
.ymct-oval-cards *::before,
.ymct-oval-cards *::after { box-sizing: border-box; }
.ymct-oval-cards h2,
.ymct-oval-cards h3,
.ymct-oval-cards p { margin: 0; }
.ymct-oval-cards img {
  display: block;
  max-width: 100%;
  border: 0;
}

.ymct-oval-cards .oc-section {
  padding: 80px 0 120px;
  background: #fff;
  overflow: hidden;
}
.ymct-oval-cards .oc-container {
  width: calc(100% - 160px);
  max-width: 1280px;
  margin-inline: auto;
}
.ymct-oval-cards .oc-heading { margin-bottom: 52px; }
.ymct-oval-cards .oc-heading h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 62px;
  text-transform: uppercase;
  text-align: left;
  color: #0a0a0a;
}
.ymct-oval-cards .oc-heading p {
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #565656;
  margin-top: 20px;
  max-width: none;
}

.ymct-oval-cards .oc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  margin-right: -48px;
  align-items: flex-start;
}
.ymct-oval-cards .oc-card {
  margin-right: 0;
  width: calc(100% + 0px);
  height: 348.51px;
  background: var(--oc-frame) center / 100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 63.77px 50px 32px;
  transform: translateX(-48px);
}
.ymct-oval-cards .oc-card:nth-child(odd) { transform: translateX(0); }
.ymct-oval-cards .oc-card:nth-child(n + 3) { margin-top: -24px; }
.ymct-oval-cards .oc-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 20px;
  flex: none;
}
.ymct-oval-cards .oc-card h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  color: #0a0a0a;
}
.ymct-oval-cards .oc-card p {
  font-size: 16px;
  line-height: 19px;
  max-width: 447px;
  margin-top: 6px;
  letter-spacing: 0.32px;
  color: #03172899;
  font-weight: 400;
}

.ymct-oval-cards .oc-slider-controls { display: none; }

@media (min-width: 768px) and (max-width: 1199px) {
  .ymct-oval-cards .oc-section { padding: 64px 0; }
  .ymct-oval-cards .oc-container { width: calc(100% - 64px); }
  .ymct-oval-cards .oc-heading { margin-bottom: 36px; }
  .ymct-oval-cards .oc-heading h2 { font-size: 40px; line-height: 50px; }
  .ymct-oval-cards .oc-heading p {
    font-size: 18px;
    line-height: 28px;
  }
  .ymct-oval-cards .oc-card {
    height: 310px;
    padding: 48px 30px 30px;
  }
  .ymct-oval-cards .oc-card h3 { font-size: 22px; }
  .ymct-oval-cards .oc-card p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 767px) {
  .ymct-oval-cards .oc-section { padding: 40px 0; }
  .ymct-oval-cards .oc-container { width: calc(100% - 40px); }
  .ymct-oval-cards .oc-heading { margin-bottom: 32px; }
  .ymct-oval-cards .oc-heading h2 {
    font-size: 32px;
    line-height: 38px;
    text-transform: none;
    text-align: left;
  }
  .ymct-oval-cards .oc-heading p {
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    color: #031728b3;
    margin-top: 12px;
  }
  .ymct-oval-cards .oc-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: -20px;
    padding-right: 20px;
    height: 250px;
    align-items: flex-start;
  }
  .ymct-oval-cards .oc-grid::-webkit-scrollbar { display: none; }
  .ymct-oval-cards .oc-card {
    flex: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 328px;
    max-width: calc(100vw - 65px);
    height: 250px;
    min-height: 250px;
    margin-right: -24px;
    margin-top: 0 !important;
    padding: 34.18px 32px 24px;
    transform: none !important;
    background-image: var(--oc-frame-mobile);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-sizing: border-box;
    justify-content: flex-start;
  }
  .ymct-oval-cards .oc-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    flex: none;
  }
  .ymct-oval-cards .oc-card h3 {
    font-size: 20px;
    line-height: 32px;
    white-space: nowrap;
    letter-spacing: -0.4px;
    flex-shrink: 0;
  }
  .ymct-oval-cards .oc-card p {
    font-size: 14px;
    line-height: 17px;
    max-width: 228.7px;
    margin-top: 6px;
    letter-spacing: 0;
    flex-shrink: 0;
  }
  .ymct-oval-cards .oc-slider-controls {
    display: flex;
    justify-content: center;
    gap: 13px;
    margin-top: 20px;
  }
  .ymct-oval-cards .oc-slider-controls button {
    border: 0;
    padding: 0;
    background: none;
    width: 46px;
    height: 46px;
    cursor: pointer;
  }
  .ymct-oval-cards .oc-slider-controls img {
    width: 46px;
    height: 46px;
  }
  .ymct-oval-cards .oc-slider-controls .oc-prev { transform: rotate(180deg); }
}

@media (max-width: 374px) {
  .ymct-oval-cards .oc-card h3 { font-size: 17px; }
}

.editor-styles-wrapper .ymct-oval-cards.alignfull,
.block-editor-block-list__block .ymct-oval-cards.alignfull {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.editor-styles-wrapper .ymct-oval-cards .oc-container {
  width: calc(100% - 48px);
}
.editor-styles-wrapper .ymct-oval-cards .oc-slider-controls {
  display: none;
}
