/* YouMind Model Cards — defense-mental-health.html .mh-models */

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

.ymct-model-cards .mc-section {
  padding: 120px 0;
  background: #fff;
}
.ymct-model-cards .mc-container {
  width: calc(100% - 160px);
  max-width: 1280px;
  margin-inline: auto;
}
.ymct-model-cards .mc-section h2 {
  font-size: 48px;
  line-height: 62px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  color: #0a0a0a;
  margin-bottom: 52px;
}

.ymct-model-cards .mc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ymct-model-cards .mc-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  background: #fff;
}
.ymct-model-cards .mc-top {
  padding: 32px 32px 21px;
  background: linear-gradient(179.85deg, #cafdf9 -22.283%, #fff 99.346%);
}
.ymct-model-cards .mc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.ymct-model-cards .mc-label img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}
.ymct-model-cards .mc-label span {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #034447;
  border-radius: 999px;
  padding: 8px 16px;
  background: #03444708;
  box-shadow: inset 0 0 0 1px #03444714;
}
.ymct-model-cards .mc-top h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  color: #031728;
}

.ymct-model-cards .mc-body {
  padding: 16px 32px 32px;
}
.ymct-model-cards .mc-scale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  box-shadow: 0 1px #0344471a;
}
.ymct-model-cards .mc-scale span {
  font-size: 14px;
  line-height: 21px;
  color: #03444766;
  letter-spacing: 0.28px;
}
.ymct-model-cards .mc-scale strong {
  font-size: 18px;
  line-height: 25px;
  font-weight: 500;
  letter-spacing: 0.36px;
  color: #031728;
}
.ymct-model-cards .mc-body p {
  font-size: 14px;
  line-height: 22px;
  color: #03172899;
  margin: 16px 0;
  min-height: 88px;
}
.ymct-model-cards .mc-result {
  border-top: 1px solid #0344471a;
  padding-top: 16px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: #034447;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ymct-model-cards .mc-section { padding: 64px 0; }
  .ymct-model-cards .mc-container { width: calc(100% - 64px); }
  .ymct-model-cards .mc-section h2 {
    font-size: 36px;
    line-height: 46px;
  }
  .ymct-model-cards .mc-grid { grid-template-columns: 1fr; }
  .ymct-model-cards .mc-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
  }
  .ymct-model-cards .mc-body p { min-height: 0; }
}

@media (max-width: 767px) {
  .ymct-model-cards .mc-section { padding: 40px 0; }
  .ymct-model-cards .mc-container { width: calc(100% - 40px); }
  .ymct-model-cards .mc-section h2 {
    font-size: 32px;
    line-height: 38px;
    text-transform: none;
    margin-bottom: 32px;
  }
  .ymct-model-cards .mc-grid { grid-template-columns: 1fr; }
  .ymct-model-cards .mc-top h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .ymct-model-cards .mc-label span {
    font-size: 14px;
    line-height: 21px;
  }
  .ymct-model-cards .mc-scale strong {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.32px;
  }
  .ymct-model-cards .mc-body p { min-height: 110px; }
}

@media (max-width: 374px) {
  .ymct-model-cards .mc-top { padding: 24px; }
  .ymct-model-cards .mc-body { padding-inline: 24px; }
  .ymct-model-cards .mc-result { font-size: 12px; }
}

.editor-styles-wrapper .ymct-model-cards.alignfull,
.block-editor-block-list__block .ymct-model-cards.alignfull {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.editor-styles-wrapper .ymct-model-cards .mc-container {
  width: calc(100% - 48px);
}
