/* YouMind Photo Cards — corporate.html .stress */

.ymct-photo-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-photo-cards.alignfull {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.ymct-photo-cards *,
.ymct-photo-cards *::before,
.ymct-photo-cards *::after { box-sizing: border-box; }
.ymct-photo-cards h2,
.ymct-photo-cards h3,
.ymct-photo-cards p { margin: 0; }
.ymct-photo-cards img {
  display: block;
  max-width: 100%;
  border: 0;
}

.ymct-photo-cards .pc-desktop-only { display: none; }
.ymct-photo-cards .pc-mobile-only { display: none; }

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

.ymct-photo-cards .pc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ymct-photo-cards .pc-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #f2f2f2;
  background: #fafbfc !important;
}
.ymct-photo-cards .pc-image {
  display: block;
  width: 100%;
  aspect-ratio: 413.333 / 350;
  overflow: hidden;
}
.ymct-photo-cards .pc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ymct-photo-cards .pc-copy {
  padding: 24px;
  text-align: center;
}
.ymct-photo-cards .pc-copy h3 {
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  color: #0a0a0a;
}
.ymct-photo-cards .pc-copy p {
  font-size: 16px;
  line-height: 24px;
  max-width: 315px;
  margin: 8px auto 0;
  color: #000000bb;
  font-weight: 500;
}
.ymct-photo-cards .pc-copy .pc-desktop-only { display: inline; }
.ymct-photo-cards .pc-copy .pc-mobile-only { display: none; }

@media (min-width: 768px) and (max-width: 1199px) {
  .ymct-photo-cards .pc-section { padding: 64px 0; }
  .ymct-photo-cards .pc-container { width: calc(100% - 64px); }
  .ymct-photo-cards .pc-heading { margin-bottom: 36px; }
  .ymct-photo-cards .pc-heading h2 { font-size: 40px; line-height: 50px; }
  .ymct-photo-cards .pc-copy { padding: 20px; }
  .ymct-photo-cards .pc-copy h3 { font-size: 26px; line-height: 34px; }
  .ymct-photo-cards .pc-copy p {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 767px) {
  .ymct-photo-cards .pc-desktop-only,
  .ymct-photo-cards .pc-heading .pc-desktop-only { display: none !important; }
  .ymct-photo-cards .pc-section { padding: 40px 0; }
  .ymct-photo-cards .pc-container { width: calc(100% - 40px); }
  .ymct-photo-cards .pc-heading { margin-bottom: 32px; }
  .ymct-photo-cards .pc-heading h2 {
    font-size: 32px;
    line-height: 38px;
    text-transform: none;
    text-align: left;
  }
  .ymct-photo-cards .pc-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .ymct-photo-cards .pc-image { aspect-ratio: 353 / 279; }
  .ymct-photo-cards .pc-copy { padding: 20px; }
  .ymct-photo-cards .pc-copy h3 {
    font-size: 24px;
    line-height: 34px;
  }
  .ymct-photo-cards .pc-copy p {
    font-size: 14px;
    line-height: 22px;
    margin-top: 8px;
    max-width: 315px;
  }
  .ymct-photo-cards .pc-copy .pc-desktop-only { display: none !important; }
  .ymct-photo-cards .pc-copy .pc-mobile-only { display: inline; }
}

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