/* The editor stores content; these page-scoped rules own the layout. */
[data-about-content] > :is(h2, h3, p, img, video, figure) {
  max-width: calc(100% - 40px);
  margin: 20px auto;
}
[data-about-content] > :is(h2, h3) { font-weight: 700; }
[data-about-content] > h2 { font-size: 28px; }
[data-about-content] > h3 { font-size: 20px; }
[data-about-content] > :is(img, video) { height: auto; }
.yy-about-section { padding: 64px 0; }
.yy-about-section:nth-child(2n + 1) { background: #f8fafc; }
.yy-about-inner { max-width: 1280px; margin: auto; padding: 0 24px; }
.yy-about-inner > h2 { margin: 0 0 16px; font-size: 30px; font-weight: 700; text-align: center; }
.yy-about-copy { color: #64748b; line-height: 1.8; }
.yy-about-copy p { margin: 0 0 16px; }
.yy-about-inner > .yy-about-copy { text-align: center; margin-bottom: 32px; }
.yy-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.yy-about-card { min-width: 0; padding: 24px; background: #fff; border: 1px solid #e2e8f0; }
.yy-about-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.yy-about-card p { color: #64748b; line-height: 1.7; margin: 0 0 10px; }
.yy-about-media { min-width: 0; overflow: hidden; }
.yy-about-media img, .yy-about-media video { display: block; width: 100%; max-width: 100%; height: 224px; object-fit: cover; }
.yy-about-media p, .yy-about-media figure { margin: 0; }
.yy-about-media figcaption { padding: 8px 0; }
.yy-about-workshop .yy-about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yy-about-workshop .yy-about-card { padding: 0; border: 0; background: none; }
.yy-about-workshop .yy-about-media { margin-bottom: 16px; border-radius: 8px; }
.yy-about-overview .yy-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; }
.yy-about-overview .yy-about-inner > h2 { grid-column: 1 / -1; }
.yy-about-overview .yy-about-copy { margin: 0; text-align: left; }
.yy-about-overview .yy-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yy-about-overview .yy-about-media img { height: auto; border-radius: 8px; }
.yy-about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.yy-about-stat { padding: 16px 4px; text-align: center; background: #fff; }
.yy-about-stat p:first-child { font-size: 24px; font-weight: 700; color: #0f1d42; margin-bottom: 4px; }
.yy-about-stat p:last-child { font-size: 14px; margin: 0; }
.yy-about-history .yy-about-grid { max-width: 768px; margin: auto; grid-template-columns: 1fr; border-left: 2px solid #0f1d42; padding-left: 24px; }
.yy-about-card .yy-about-year { color: #0f1d42; font-size: 18px; font-weight: 700; }
.yy-about-partners .yy-about-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.yy-about-partners .yy-about-media { display: flex; align-items: center; justify-content: center; height: 96px; padding: 16px; border: 1px solid #e2e8f0; background: #fff; }
.yy-about-partners .yy-about-media img { height: 64px; object-fit: contain; }
.yy-about-section.yy-about-cta { background: #0f1d42; color: #fff; }
.yy-about-cta .yy-about-copy { color: #dbe4ef; margin-bottom: 0; }
.yy-about-cta a { display: inline-block; padding: 12px 30px; color: #0f1d42; background: #fff; }
@media (max-width: 980px) {
  .yy-about-workshop .yy-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yy-about-overview .yy-about-inner { grid-template-columns: 1fr; }
  .yy-about-partners .yy-about-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .yy-about-section { padding: 40px 0; }
  .yy-about-inner { padding: 0 20px; }
  .yy-about-inner > h2 { font-size: 25px; }
  .yy-about-grid, .yy-about-workshop .yy-about-grid { grid-template-columns: 1fr; }
  .yy-about-partners .yy-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .yy-about-stats { gap: 8px; }
  .yy-about-stat p:first-child { font-size: 20px; }
}
