/* About page — page-id-19 only. */

body.page-id-19 {
  background: #fff;
  --home-wide: 1200px;
  --home-gutter: 32px;
}

body.page-id-19 .entry-content,
body.page-id-19 .dsemin-about-page,
body.page-id-19 .dsemin-about-page.is-layout-constrained,
body.page-id-19 .dsemin-about-page.is-layout-flow {
  --wp--style--block-gap: 0px;
  gap: 0 !important;
}

body.page-id-19 .dsemin-about-page {
  --about-gap: clamp(48px, 7vw, 80px);
}

body.page-id-19 .dsemin-about-page > .wp-block-group,
body.page-id-19 .dsemin-about-page > .alignfull,
body.page-id-19 .entry-content > .dsemin-about-page > * {
  margin-block: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.page-id-19 .dsemin-about-story + .dsemin-about-proof,
body.page-id-19 .dsemin-about-proof + .dsemin-about-experience,
body.page-id-19 .dsemin-about-experience + .dsemin-about-education,
body.page-id-19 .dsemin-about-education + .dsemin-about-ai,
body.page-id-19 .dsemin-about-ai + .dsemin-home-awards,
body.page-id-19 .dsemin-home-awards + .dsemin-about-docs,
body.page-id-19 .dsemin-about-docs + .dsemin-about-materials-section {
  margin-top: 0 !important;
}

body.page-id-19 .dsemin-about-materials-section {
  padding: var(--about-gap) 24px;
  background: #f9f5e4;
  margin: 0 !important;
}

/* Hero — same slider system as homepage */
body.page-id-19 .dsemin-about-hero {
  min-height: 560px !important;
  padding: 0 !important;
  color: #fff;
  background-color: #000 !important;
  background-image: image-set(url("slider/about.webp") type("image/webp"), url("slider/about.jpg") type("image/jpeg")) !important;
  background-repeat: no-repeat !important;
  background-position: right top !important;
  background-size: auto 100% !important;
}

body.page-id-19 .dsemin-about-hero::after {
  display: none !important;
}

body.page-id-19 .dsemin-about-hero .dsemin-hero-content {
  display: flex;
  width: min(calc(100% - 64px), 1200px) !important;
  max-width: 1200px !important;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-inline: auto !important;
  padding: 86px 0 108px !important;
}

body.page-id-19 .dsemin-about-hero .dsemin-hero-content > * {
  width: min(550px, 47%);
  margin-right: auto !important;
  margin-left: 0 !important;
}

body.page-id-19 .dsemin-about-hero h1 {
  max-width: none;
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

body.page-id-19 .dsemin-about-hero h1 span {
  margin: 0 0 18px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

body.page-id-19 .dsemin-about-hero h1 strong {
  color: #ef343b;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.92;
}

body.page-id-19 .dsemin-about-hero .dsemin-hero-lead {
  max-width: 515px;
  margin-top: 30px !important;
  color: rgb(255 255 255 / 88%);
  font-size: 19px;
  line-height: 1.55;
}

body.page-id-19 .dsemin-about-hero .wp-block-buttons {
  gap: 18px;
  margin-top: 34px !important;
}

body.page-id-19 .dsemin-about-hero .dsemin-button--ghost .wp-block-button__link {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent !important;
}

/* Principles */
body.page-id-19 .dsemin-about-principles {
  padding: var(--about-gap) 24px;
  background: #fff;
  border-bottom: 1px solid rgba(32, 32, 32, 0.08);
}

body.page-id-19 .dsemin-about-principles > .dsemin-section-title {
  text-align: left;
}

body.page-id-19 .dsemin-about-principles__grid {
  gap: 28px !important;
  margin-top: 36px;
}

body.page-id-19 .dsemin-about-principles__grid > .wp-block-column {
  cursor: default;
}

body.page-id-19 .dsemin-about-principles .dsemin-line-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--dsemin-red);
  stroke: var(--dsemin-red);
  fill: none;
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  filter: none;
  transition:
    opacity var(--dsemin-duration) var(--dsemin-ease),
    color var(--dsemin-duration) var(--dsemin-ease),
    transform var(--dsemin-duration) var(--dsemin-ease),
    filter var(--dsemin-duration) var(--dsemin-ease);
}

body.page-id-19 .dsemin-about-principles__grid > .wp-block-column:hover .dsemin-line-icon {
  opacity: 1;
  color: #b4181e;
  stroke: #b4181e;
  transform: translate3d(0, -3px, 0);
  filter: drop-shadow(0 4px 0 rgb(192 27 33 / 28%));
}

body.page-id-19 .dsemin-about-principles h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

body.page-id-19 .dsemin-about-principles p {
  margin: 0;
  color: rgba(32, 32, 32, 0.78);
  font-size: 15px;
  line-height: 1.5;
  max-width: 28ch;
}

/* Story */
body.page-id-19 .dsemin-about-story {
  padding: var(--about-gap) 24px;
  background: #f9f5e4;
}

body.page-id-19 .dsemin-about-story__grid {
  gap: 24px !important;
  align-items: start !important;
}

body.page-id-19 .dsemin-about-story p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(32, 32, 32, 0.86);
  max-width: 34ch;
}

body.page-id-19 .dsemin-about-story__photo {
  margin: 0;
}

body.page-id-19 .dsemin-about-story__photo img {
  display: block;
  width: 100%;
  height: clamp(420px, 58vw, 620px);
  object-fit: cover;
  object-position: center top;
}

body.page-id-19 .dsemin-about-process {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: about-step;
}

body.page-id-19 .dsemin-about-process li {
  position: relative;
  padding: 0 0 14px 40px;
  counter-increment: about-step;
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
}

body.page-id-19 .dsemin-about-process li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

body.page-id-19 .dsemin-about-process li::before {
  content: counter(about-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--dsemin-red);
  color: var(--dsemin-red);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* Proof — seamless, no white gaps */
body.page-id-19 .dsemin-about-proof {
  background: #202020;
  color: #fff;
  padding: 44px 24px;
  margin: 0 !important;
  border: 0;
}

body.page-id-19 .dsemin-about-proof__row {
  gap: 20px !important;
  text-align: center;
}

body.page-id-19 .dsemin-about-proof__row > .wp-block-column {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.page-id-19 .dsemin-about-proof.is-counter-ready .dsemin-about-proof__row > .wp-block-column {
  opacity: 0;
  transform: translateY(12px);
}

body.page-id-19 .dsemin-about-proof.is-counter-visible .dsemin-about-proof__row > .wp-block-column {
  opacity: 1;
  transform: none;
}

body.page-id-19 .dsemin-about-proof.is-counter-visible .dsemin-about-proof__row > .wp-block-column:nth-child(1) { transition-delay: 0ms; }
body.page-id-19 .dsemin-about-proof.is-counter-visible .dsemin-about-proof__row > .wp-block-column:nth-child(2) { transition-delay: 80ms; }
body.page-id-19 .dsemin-about-proof.is-counter-visible .dsemin-about-proof__row > .wp-block-column:nth-child(3) { transition-delay: 160ms; }
body.page-id-19 .dsemin-about-proof.is-counter-visible .dsemin-about-proof__row > .wp-block-column:nth-child(4) { transition-delay: 240ms; }

body.page-id-19 .dsemin-about-proof .dsemin-home-fact-value {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 8px !important;
  text-align: center;
}

body.page-id-19 .dsemin-about-proof p:last-child {
  margin: 0 auto !important;
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* Experience — roles grid */
body.page-id-19 .dsemin-about-experience {
  padding: var(--about-gap) 24px;
  margin: 0 !important;
  background: #fff;
}

body.page-id-19 .dsemin-about-experience > .dsemin-section-title,
body.page-id-19 .dsemin-about-education > .dsemin-section-title {
  margin-bottom: 12px;
}

body.page-id-19 .dsemin-about-section-lead {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin: 0 auto 36px !important;
  color: #555;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body.page-id-19 .dsemin-about-experience.is-layout-constrained > .dsemin-about-section-lead.alignwide {
  max-width: var(--wp--style--global--wide-size, 1200px);
}

body.page-id-19 .dsemin-about-experience__grid {
  gap: 28px 32px !important;
}

body.page-id-19 .dsemin-about-experience__grid > .wp-block-column {
  margin: 0 !important;
}

body.page-id-19 .dsemin-about-experience .dsemin-line-icon {
  width: 40px;
  height: 40px;
  margin: 0 0 16px;
  color: var(--dsemin-red);
  transition: transform 0.35s ease, color 0.35s ease;
}

body.page-id-19 .dsemin-about-experience__grid > .wp-block-column:hover .dsemin-line-icon {
  color: #111;
  transform: translateY(-3px);
}

body.page-id-19 .dsemin-about-experience h3 {
  margin: 0 0 10px !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-id-19 .dsemin-about-experience__grid p {
  margin: 0 !important;
  color: #444;
  font-size: 14px;
  line-height: 1.45;
}

/* Education */
body.page-id-19 .dsemin-about-education {
  padding: var(--about-gap) 24px;
  margin: 0 !important;
  background: #f9f5e4;
}

body.page-id-19 .dsemin-about-education__grid {
  gap: 24px 28px !important;
  margin-top: 28px !important;
}

body.page-id-19 .dsemin-about-education__label {
  margin: 0 0 8px !important;
  color: var(--dsemin-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.page-id-19 .dsemin-about-education h3 {
  margin: 0 0 10px !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-id-19 .dsemin-about-education p:not(.dsemin-about-education__label) {
  margin: 0 !important;
  color: #444;
  font-size: 14px;
  line-height: 1.45;
}

/* AI / GPTtor */
body.page-id-19 .dsemin-about-ai {
  padding: var(--about-gap) 24px;
  margin: 0 !important;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgb(209 15 25 / 22%), transparent 34%),
    #171717;
}

body.page-id-19 .dsemin-about-ai .dsemin-section-title {
  color: #fff;
  margin: 0 0 16px !important;
}

body.page-id-19 .dsemin-about-ai__grid {
  gap: 40px 56px !important;
  align-items: start;
}

body.page-id-19 .dsemin-about-ai__intro p {
  max-width: 30em;
  margin: 0 0 24px !important;
  color: rgb(255 255 255 / 72%);
  font-size: 16px;
  line-height: 1.5;
}

body.page-id-19 .dsemin-about-ai__list {
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

body.page-id-19 .dsemin-about-ai__list li {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 16px 22px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 78%);
  font-size: 15px;
  line-height: 1.45;
}

body.page-id-19 .dsemin-about-ai__list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

body.page-id-19 .dsemin-about-ai__list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--dsemin-red);
}

body.page-id-19 .dsemin-about-ai__list strong {
  color: #fff;
}

/* Awards block reuses homepage styles via homepage-desktop.css */

/* Docs — certificates carousel + appreciation featured grid */
body.page-id-19 .dsemin-about-docs {
  padding: var(--about-gap) 24px;
  background: #f9f5e4;
  margin: 0 !important;
}

body.page-id-19 .dsemin-about-docs__block {
  width: min(1200px, 100%);
  margin: 0 auto var(--about-gap) !important;
}

body.page-id-19 .dsemin-about-docs__block:last-child {
  margin-bottom: 0 !important;
}

body.page-id-19 .dsemin-about-gallery__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

body.page-id-19 .dsemin-about-gallery__title {
  margin: 0 0 12px;
  color: var(--dsemin-ink);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.page-id-19 .dsemin-about-gallery__title::after {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 12px;
  background: var(--dsemin-red);
  content: "";
}

body.page-id-19 .dsemin-about-gallery__lead {
  margin: 0;
  color: rgba(32, 32, 32, 0.62);
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}

body.page-id-19 .dsemin-about-gallery__nav {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-top: 4px;
}

body.page-id-19 .dsemin-about-gallery__nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(32, 32, 32, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--dsemin-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

body.page-id-19 .dsemin-about-gallery__nav-btn:hover,
body.page-id-19 .dsemin-about-gallery__nav-btn:focus-visible {
  border-color: var(--dsemin-red);
  color: var(--dsemin-red);
}

body.page-id-19 .dsemin-about-gallery__viewport {
  overflow: hidden;
  margin: 0 -4px;
  padding: 4px;
}

body.page-id-19 .dsemin-about-gallery__track {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.page-id-19 .dsemin-about-gallery__track::-webkit-scrollbar {
  display: none;
}

body.page-id-19 .dsemin-about-gallery__card {
  flex: 0 0 clamp(150px, 16vw, 178px);
  scroll-snap-align: start;
}

body.page-id-19 .dsemin-about-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.1);
  background: #fff;
  box-shadow: 0 10px 28px rgb(32 32 32 / 8%);
  cursor: zoom-in;
}

body.page-id-19 .dsemin-about-gallery__card .dsemin-about-gallery__thumb {
  aspect-ratio: 3 / 4;
}

body.page-id-19 .dsemin-about-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.page-id-19 .dsemin-about-gallery__thumb:hover,
body.page-id-19 .dsemin-about-gallery__thumb:focus-visible {
  border-color: var(--dsemin-red);
}

body.page-id-19 .dsemin-about-gallery__featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
}

body.page-id-19 .dsemin-about-gallery__feature {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

body.page-id-19 .dsemin-about-gallery__thumb--feature {
  flex: 1 1 auto;
  min-height: 420px;
}

body.page-id-19 .dsemin-about-gallery__side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-id-19 .dsemin-about-gallery__mini {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(32, 32, 32, 0.08);
  box-shadow: 0 8px 22px rgb(32 32 32 / 6%);
}

body.page-id-19 .dsemin-about-gallery__mini .dsemin-about-gallery__thumb {
  aspect-ratio: 16 / 11;
  box-shadow: none;
}

body.page-id-19 .dsemin-about-materials-section {
  padding: var(--about-gap) 24px;
  background: #f9f5e4;
  margin: 0 !important;
}

body.page-id-19 .dsemin-about-materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  width: min(1200px, 100%);
  margin: 0 auto;
  align-items: start;
}

body.page-id-19 .dsemin-about-materials__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}

body.page-id-19 .dsemin-about-materials__head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.page-id-19 .dsemin-about-materials__head a {
  color: var(--dsemin-red);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

body.page-id-19 .dsemin-about-materials__head a:hover,
body.page-id-19 .dsemin-about-materials__head a:focus-visible {
  text-decoration: underline;
}

body.page-id-19 .dsemin-about-materials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.page-id-19 .dsemin-about-materials__card {
  display: grid;
  grid-template-rows: 160px minmax(140px, auto);
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e8e1d5;
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 26, 12, 0.035);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.page-id-19 .dsemin-about-materials__card:hover {
  transform: translateY(-5px);
  border-color: rgba(209, 15, 25, 0.38);
  box-shadow: 0 18px 42px rgba(32, 27, 20, 0.09);
}

body.page-id-19 .dsemin-about-materials__media {
  display: block;
  height: 160px;
  overflow: hidden;
  background: #242424;
}

body.page-id-19 .dsemin-about-materials__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

body.page-id-19 .dsemin-about-materials__card:hover .dsemin-about-materials__media img {
  transform: scale(1.035);
}

body.page-id-19 .dsemin-about-materials__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px 16px 18px;
}

body.page-id-19 .dsemin-about-materials__copy .dsemin-press-meta {
  margin: 0 0 7px;
  color: var(--dsemin-red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.page-id-19 .dsemin-about-materials__copy time {
  margin: 0 0 14px;
  color: #807970;
  font-size: 12px;
}

body.page-id-19 .dsemin-about-materials__copy h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

body.page-id-19 .dsemin-about-materials__copy h3 a {
  color: inherit;
  text-decoration: none;
}

body.page-id-19 .dsemin-about-materials__copy h3 a:hover,
body.page-id-19 .dsemin-about-materials__copy h3 a:focus-visible {
  color: var(--dsemin-red);
}

body.page-id-19 .dsemin-about-materials__empty {
  margin: 0;
  color: #807970;
}

body.page-id-19 .dsemin-about-page > .dsemin-home-finale {
  margin-top: 0 !important;
}

/* Lightbox */
.dsemin-lightbox[data-dsemin-lightbox][hidden] {
  display: none !important;
}

.dsemin-lightbox[data-dsemin-lightbox] {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 16px;
  box-sizing: border-box;
}

.dsemin-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.dsemin-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  max-height: 90vh;
}

.dsemin-lightbox__figure {
  position: relative;
  margin: 0;
  max-width: min(920px, calc(100vw - 120px));
  max-height: 90vh;
  overflow: hidden;
  background: #111;
}

.dsemin-lightbox__figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  margin: 0 auto;
}

.dsemin-lightbox__close,
.dsemin-lightbox__nav {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.dsemin-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}

.dsemin-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  transform: translateX(-50%);
  pointer-events: none;
}

.dsemin-lightbox__close:hover,
.dsemin-lightbox__nav:hover,
.dsemin-lightbox__close:focus-visible,
.dsemin-lightbox__nav:focus-visible {
  border-color: #fff;
}

@media (max-width: 960px) {
  body.page-id-19 .dsemin-about-materials {
    grid-template-columns: 1fr;
  }

  body.page-id-19 .dsemin-about-gallery__featured-grid {
    grid-template-columns: 1fr;
  }

  body.page-id-19 .dsemin-about-gallery__thumb--feature {
    min-height: 320px;
  }

  body.page-id-19 .dsemin-about-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-id-19 .dsemin-about-experience__grid,
  body.page-id-19 .dsemin-about-education__grid {
    flex-wrap: wrap !important;
  }

  body.page-id-19 .dsemin-about-experience__grid > .wp-block-column,
  body.page-id-19 .dsemin-about-education__grid > .wp-block-column {
    flex-basis: calc(50% - 16px) !important;
  }
}

@media (max-width: 780px) {
  body.page-id-19 .dsemin-about-hero {
    background-color: #000 !important;
    background-image: image-set(url("slider/mobile.webp") type("image/webp"), url("slider/mobile.jpg") type("image/jpeg")) !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: auto 100% !important;
  }

  body.page-id-19 .dsemin-about-hero .dsemin-hero-content {
    width: min(calc(100% - 40px), 1200px) !important;
    min-height: 500px;
    padding: 56px 0 64px !important;
  }

  body.page-id-19 .dsemin-about-hero .dsemin-hero-content > * {
    width: min(100%, 320px);
  }

  body.page-id-19 .dsemin-about-hero h1 span {
    margin-bottom: 12px;
    font-size: 18px;
  }

  body.page-id-19 .dsemin-about-hero h1 strong {
    font-size: 42px;
  }

  body.page-id-19 .dsemin-about-hero .dsemin-hero-lead {
    margin-top: 20px !important;
    font-size: 15px;
  }

  body.page-id-19 .dsemin-about-gallery__head {
    flex-direction: column;
    gap: 16px;
  }

  body.page-id-19 .dsemin-about-gallery__lead {
    white-space: normal;
  }

  body.page-id-19 .dsemin-about-gallery__side {
    grid-template-columns: 1fr;
  }

  body.page-id-19 .dsemin-about-gallery__card {
    flex-basis: 148px;
  }

  body.page-id-19 .dsemin-about-materials__grid {
    grid-template-columns: 1fr;
  }

  body.page-id-19 .dsemin-about-experience__grid > .wp-block-column,
  body.page-id-19 .dsemin-about-education__grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  body.page-id-19 .dsemin-about-ai__grid {
    flex-direction: column !important;
  }

  body.page-id-19 .dsemin-about-ai__intro,
  body.page-id-19 .dsemin-about-ai__list-col {
    flex-basis: 100% !important;
  }
}

@media (max-width: 720px) {
  body.page-id-19 .dsemin-about-story__photo img {
    height: 380px;
  }

  body.page-id-19 .dsemin-about-proof__row {
    flex-wrap: wrap !important;
  }

  body.page-id-19 .dsemin-about-proof__row .wp-block-column {
    flex-basis: 45% !important;
  }

  body.page-id-19 .dsemin-about-gallery__featured-grid {
    grid-template-columns: 1fr;
  }

  body.page-id-19 .dsemin-about-gallery__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-id-19 .dsemin-about-gallery__card {
    flex: 0 0 min(46vw, 168px);
  }

  body.page-id-19 .dsemin-about-materials__card {
    grid-template-rows: 140px minmax(120px, auto);
  }

  body.page-id-19 .dsemin-about-materials__media {
    height: 140px;
  }

  body.page-id-19 .dsemin-lightbox__dialog,
  .dsemin-lightbox__dialog {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .dsemin-lightbox__figure {
    max-width: min(920px, calc(100vw - 32px));
  }

  .dsemin-lightbox__nav {
    order: 3;
  }

  .dsemin-lightbox__nav.is-prev {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-19 .dsemin-about-principles .dsemin-line-icon,
  body.page-id-19 .dsemin-about-proof__row > .wp-block-column,
  body.page-id-19 .dsemin-about-materials__media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}
