/* Keep equal space around the qualification block without its lower divider. */
.desktop-view [data-node-id='566:1763'] {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 38px;
  bottom: auto;
  height: auto;
}

.desktop-view [data-node-id='566:1764'],
.desktop-view [data-node-id='566:1766'],
.desktop-view [data-node-id='566:1781'] {
  flex-shrink: 0;
  margin: 0;
}

.desktop-view [data-node-id='566:1782'] {
  display: none;
}

.desktop-view [data-node-id='566:1781'] {
  gap: 0;
  padding: 0;
  height: auto;
  min-height: 0;
}

.desktop-view [data-node-id='566:1783'] {
  margin: 0;
  padding: 0;
  height: auto;
}

.mobile-view [data-node-id='623:1332'] {
  gap: 0;
}

.mobile-view [data-node-id='623:1333'] {
  margin: 0 0 26px;
  overflow: hidden;
}

/* Frame the teacher above the foreground stationery without changing the photo. */
.mobile-view [data-node-id='623:1333'] > img {
  object-position: 50% 0;
  transform: scale(1.15);
  transform-origin: top center;
}

.mobile-view [data-node-id='623:1334'],
.mobile-view [data-node-id='623:1335'] {
  flex-shrink: 0;
  margin: 0 0 32px;
  padding: 0;
}

.mobile-view [data-node-id='623:1348'] {
  gap: 0;
  margin: 0;
  padding: 0;
  border-top-width: 0;
  height: auto;
  min-height: 0;
}

.mobile-view [data-node-id='623:1348']::after {
  display: none;
}

.mobile-view [data-node-id='623:1349'] {
  margin: 0;
  padding: 0;
  height: auto;
}
