/* Corporate programs hub. Scoped to /corporate/; shared and locked pages are unaffected. */

body.page-id-6 .dsemin-corporate-hub {
  --hub-width: 1180px;
  --hub-red: #d01f25;
  --hub-ink: #171717;
  --hub-cream: #f8f3e2;
  --hub-line: #e4ded0;
  margin-block-start: 0;
  color: var(--hub-ink);
  background: #fff;
}

body.page-id-6 .dsemin-corporate-hub > * {
  margin-block-start: 0;
}

body.page-id-6 .dsemin-hub-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px !important;
  color: #fff;
  background: #111;
}

body.page-id-6 .dsemin-hub-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(10 10 10 / 72%) 0%, rgb(10 10 10 / 46%) 44%, rgb(10 10 10 / 12%) 74%, rgb(10 10 10 / 4%) 100%);
}

body.page-id-6 .dsemin-hub-hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(135deg, transparent 34%, var(--hub-red) 35%, var(--hub-red) 36%, transparent 37%)
      max(24px, calc((100% - 1200px) / 2)) 38px / 72px 72px no-repeat,
    linear-gradient(135deg, transparent 34%, var(--hub-red) 35%, var(--hub-red) 36%, transparent 37%)
      max(24px, calc((100% - 1200px) / 2)) 102px / 106px 106px no-repeat;
}

body.page-id-6 .dsemin-hub-hero .wp-block-cover__image-background {
  content: image-set(url("/wp-content/themes/dsemin/assets/images/home/home-hero-banner.webp") type("image/webp"), url("/wp-content/themes/dsemin/assets/images/home/home-hero-banner.jpg") type("image/jpeg"));
  object-position: center center;
  filter: none;
}

body.page-id-6 .dsemin-hub-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

body.page-id-6 .dsemin-hub-hero__content {
  display: flex;
  box-sizing: border-box;
  width: min(calc(100% - 48px), 1200px) !important;
  max-width: 1200px !important;
  min-height: 520px;
  margin-inline: auto !important;
  padding: 64px 0 56px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

body.page-id-6 .dsemin-hub-hero .wp-block-cover__inner-container > .dsemin-hub-hero__content {
  margin-block-start: 0 !important;
}

body.page-id-6 .dsemin-hub-hero__content > * {
  width: auto;
  margin-right: auto !important;
  margin-left: 0 !important;
}

body.page-id-6 .dsemin-hub-eyebrow {
  margin: 0 0 18px;
  color: var(--hub-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.page-id-6 .dsemin-hub-hero .dsemin-hub-eyebrow {
  color: #fff;
}

body.page-id-6 .dsemin-hub-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

body.page-id-6 .dsemin-hub-hero h1 strong {
  color: #ef343b;
  font-weight: inherit;
}

body.page-id-6 .dsemin-hub-hero__lead {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 83%);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}

body.page-id-6 .dsemin-hub-hero .wp-block-buttons {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px !important;
}

body.page-id-6 .dsemin-hub-hero .dsemin-button--ghost .wp-block-button__link {
  border-color: rgb(255 255 255 / 58%);
  color: #fff;
}

body.page-id-6 .dsemin-hub-facts {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin: -1px 0 0;
  padding: 0;
  color: var(--hub-ink);
  border-bottom: 1px solid var(--hub-line);
  background: #fff;
  box-shadow: none;
}

body.page-id-6 .dsemin-hub-facts .wp-block-columns {
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  gap: 0;
  margin: 0 auto;
  padding-block: 16px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}

body.page-id-6 .dsemin-hub-facts .wp-block-column.dsemin-fact {
  display: flex;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  padding: 12px 24px;
  border-right: 1px solid var(--hub-line);
  border-left: 0;
  text-align: center;
}

body.page-id-6 .dsemin-hub-facts .wp-block-column.dsemin-fact:last-child {
  border-right: 0;
}

body.page-id-6 .dsemin-hub-facts .dsemin-line-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  color: var(--hub-red);
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--dsemin-duration, 200ms) var(--dsemin-ease, ease),
    color var(--dsemin-duration, 200ms) var(--dsemin-ease, ease),
    transform var(--dsemin-duration, 200ms) var(--dsemin-ease, ease),
    filter var(--dsemin-duration, 200ms) var(--dsemin-ease, ease);
}

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

body.page-id-6 .dsemin-hub-facts strong {
  display: block;
  color: var(--hub-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

body.page-id-6 .dsemin-hub-facts span {
  display: block;
  max-width: 210px;
  margin: 5px auto 0;
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

body.page-id-6 .dsemin-hub-section {
  box-sizing: border-box;
  padding: 104px 24px;
}

body.page-id-6 .dsemin-hub-section__head,
body.page-id-6 .dsemin-hub-program-grid,
body.page-id-6 .dsemin-hub-choice > .wp-block-columns,
body.page-id-6 .dsemin-hub-request {
  width: min(100%, var(--hub-width));
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

body.page-id-6 .dsemin-hub-section__head,
body.page-id-6 .dsemin-hub-section__head > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  column-gap: 48px;
  row-gap: 10px;
  align-items: start;
  margin-bottom: 48px;
  text-align: left;
}

body.page-id-6 .dsemin-hub-section__head h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 48px;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

body.page-id-6 .dsemin-hub-section__head .dsemin-hub-eyebrow {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  white-space: nowrap;
}

body.page-id-6 .dsemin-hub-section__head > p:last-child,
body.page-id-6 .dsemin-hub-section__head > .wp-block-group__inner-container > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: center;
  color: #67635c;
  font-size: 17px;
  line-height: 1.6;
}

body.page-id-6 .dsemin-hub-programs {
  padding-top: 96px;
  background:
    radial-gradient(circle at 15% 10%, rgb(255 255 255 / 80%), transparent 28%),
    var(--hub-cream);
}

body.page-id-6 .dsemin-hub-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

body.page-id-6 .dsemin-hub-program-grid > .dsemin-hub-program-card,
body.page-id-6 .dsemin-hub-program-benefits > .dsemin-hub-program-benefit {
  height: 100%;
  margin-block-start: 0 !important;
}

body.page-id-6 .dsemin-hub-program-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #e5dfd2;
  background: #fff;
  box-shadow: 0 8px 24px rgb(35 30 22 / 5%);
  transition:
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 240ms ease-out,
    box-shadow 240ms ease-out;
}

body.page-id-6 .dsemin-hub-program-card:hover {
  border-color: #d8d0c1;
  box-shadow: 0 18px 38px rgb(35 30 22 / 13%);
  transform: translateY(-5px);
}

body.page-id-6 .dsemin-hub-program-card:has(a:focus-visible) {
  outline: 3px solid rgb(208 31 37 / 52%);
  outline-offset: 3px;
}

body.page-id-6 .dsemin-hub-program-card__image {
  height: 100%;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: #202020;
}

body.page-id-6 .dsemin-hub-program-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.76) contrast(1.02);
  transition:
    filter 260ms ease-out,
    transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__image img {
  filter: saturate(0.98) contrast(1.07);
  transform: scale(1.025);
}

body.page-id-6 .dsemin-hub-program-card--team .dsemin-hub-program-card__image img {
  object-position: 62% center;
}

body.page-id-6 .dsemin-hub-program-card--leader .dsemin-hub-program-card__image img {
  object-position: 50% center;
}

body.page-id-6 .dsemin-hub-program-card--decision .dsemin-hub-program-card__image img {
  object-position: 56% center;
}

body.page-id-6 .dsemin-hub-program-card__icon {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 42%;
  display: grid;
  width: 68px;
  height: 68px;
  border: 1px solid #eee8dc;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgb(35 30 22 / 10%);
  transform: translate(-50%, -50%);
  transition:
    color 220ms ease-out,
    background-color 220ms ease-out,
    border-color 220ms ease-out,
    box-shadow 220ms ease-out,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  place-items: center;
}

body.page-id-6 .dsemin-hub-program-card__icon .dsemin-line-icon {
  width: 40px;
  height: 40px;
  color: var(--hub-red);
  transition: color 180ms ease-out;
}

body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__icon .dsemin-line-icon {
  color: #fff;
}

body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__icon {
  border-color: var(--hub-red);
  background: var(--hub-red);
  box-shadow: 0 10px 24px rgb(208 31 37 / 24%);
  transform: translate(-50%, -50%) scale(1.055);
}

body.page-id-6 .dsemin-hub-program-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  padding: 28px 30px 24px 44px;
}

body.page-id-6 .dsemin-hub-program-card__number {
  position: static;
  margin: 0 0 16px;
  color: var(--hub-red);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.page-id-6 .dsemin-hub-program-card h3 {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0;
  padding-top: 0;
  font-size: 23px;
  letter-spacing: -0.018em;
  line-height: 1.12;
}

body.page-id-6 .dsemin-hub-program-card h3 span {
  display: block;
  margin-top: 6px;
  color: var(--hub-red);
  font-size: 12px;
  letter-spacing: 0.08em;
}

body.page-id-6 .dsemin-hub-program-card__result {
  margin: 15px 0 0;
  color: #47433d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

body.page-id-6 .dsemin-hub-program-card__link {
  margin: auto 0 0;
  padding-top: 18px;
}

body.page-id-6 .dsemin-hub-program-card__link a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--hub-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

body.page-id-6 .dsemin-hub-program-card__link a::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
}

body.page-id-6 .dsemin-hub-program-card__link span {
  font-size: 19px;
  transition: transform 180ms ease-out;
}

body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__link span {
  transform: translateX(4px);
}

body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__link a {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

body.page-id-6 .dsemin-hub-program-benefits {
  display: grid;
  width: min(100%, var(--hub-width));
  max-width: none;
  margin: 38px auto 0;
  border: 1px solid #ded6c8;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-id-6 .dsemin-hub-program-benefit {
  display: flex;
  min-height: 94px;
  padding: 18px 24px;
  border-right: 1px solid #ded6c8;
  align-items: center;
  gap: 18px;
}

body.page-id-6 .dsemin-hub-program-benefit:last-child {
  border-right: 0;
}

body.page-id-6 .dsemin-hub-program-benefit .dsemin-line-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--hub-red);
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--dsemin-duration, 200ms) var(--dsemin-ease, ease),
    color var(--dsemin-duration, 200ms) var(--dsemin-ease, ease),
    transform var(--dsemin-duration, 200ms) var(--dsemin-ease, ease),
    filter var(--dsemin-duration, 200ms) var(--dsemin-ease, ease);
}

body.page-id-6 .dsemin-hub-program-benefit:hover .dsemin-line-icon,
body.page-id-6 .dsemin-hub-program-benefit:focus-within .dsemin-line-icon {
  opacity: 1;
  color: #b4181e;
  transform: translate3d(0, -3px, 0);
  filter: drop-shadow(0 4px 0 rgb(192 27 33 / 28%));
}

body.page-id-6 .dsemin-hub-program-benefit p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  body.page-id-6 .dsemin-hub-section__head,
  body.page-id-6 .dsemin-hub-section__head > .wp-block-group__inner-container {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 10px;
  }

  body.page-id-6 .dsemin-hub-section__head h2 {
    grid-column: 1;
    grid-row: 1;
    font-size: 40px;
  }

  body.page-id-6 .dsemin-hub-section__head .dsemin-hub-eyebrow {
    grid-column: 1;
    grid-row: 2;
  }

  body.page-id-6 .dsemin-hub-section__head > p:last-child,
  body.page-id-6 .dsemin-hub-section__head > .wp-block-group__inner-container > p:last-child {
    grid-column: 1;
    grid-row: 3;
    margin-top: 8px;
  }

  body.page-id-6 .dsemin-hub-program-grid {
    gap: 16px;
  }

  body.page-id-6 .dsemin-hub-program-card {
    grid-template-columns: 38% minmax(0, 1fr);
    min-height: 280px;
  }

  body.page-id-6 .dsemin-hub-program-card__image {
    min-height: 280px;
  }

  body.page-id-6 .dsemin-hub-program-card__icon {
    left: 38%;
    width: 58px;
    height: 58px;
  }

  body.page-id-6 .dsemin-hub-program-card__icon .dsemin-line-icon {
    width: 34px;
    height: 34px;
  }

  body.page-id-6 .dsemin-hub-program-card__body {
    padding: 24px 22px 20px 36px;
  }

  body.page-id-6 .dsemin-hub-program-card h3 {
    font-size: 20px;
  }

  body.page-id-6 .dsemin-hub-program-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-id-6 .dsemin-hub-program-benefit:nth-child(2) {
    border-right: 0;
  }

  body.page-id-6 .dsemin-hub-program-benefit:nth-child(-n + 2) {
    border-bottom: 1px solid #ded6c8;
  }
}

@media (max-width: 767px) {
  body.page-id-6 .dsemin-hub-programs {
    padding: 54px 16px 58px;
  }

  body.page-id-6 .dsemin-hub-section__head,
  body.page-id-6 .dsemin-hub-section__head > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  body.page-id-6 .dsemin-hub-section__head h2 {
    order: 1;
    font-size: 34px;
  }

  body.page-id-6 .dsemin-hub-section__head .dsemin-hub-eyebrow {
    order: 2;
    margin: 10px 0 0;
  }

  body.page-id-6 .dsemin-hub-section__head > p:last-child,
  body.page-id-6 .dsemin-hub-section__head > .wp-block-group__inner-container > p:last-child {
    order: 3;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  body.page-id-6 .dsemin-hub-program-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.page-id-6 .dsemin-hub-program-card {
    grid-template-columns: 36% minmax(0, 1fr);
    min-height: 228px;
  }

  body.page-id-6 .dsemin-hub-program-card__image {
    min-height: 228px;
  }

  body.page-id-6 .dsemin-hub-program-card__icon {
    left: 36%;
    width: 50px;
    height: 50px;
  }

  body.page-id-6 .dsemin-hub-program-card__icon .dsemin-line-icon {
    width: 29px;
    height: 29px;
  }

  body.page-id-6 .dsemin-hub-program-card__body {
    padding: 18px 16px 16px 30px;
  }

  body.page-id-6 .dsemin-hub-program-card--sales .dsemin-hub-program-card__image img {
    object-position: 40% center;
  }

  body.page-id-6 .dsemin-hub-program-card--leader .dsemin-hub-program-card__image img {
    object-position: 50% center;
  }

  body.page-id-6 .dsemin-hub-program-card__number {
    margin-bottom: 10px;
    font-size: 32px;
  }

  body.page-id-6 .dsemin-hub-program-card h3 {
    font-size: 17px;
  }

  body.page-id-6 .dsemin-hub-program-card h3 span {
    font-size: 9px;
  }

  body.page-id-6 .dsemin-hub-program-card__result {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  body.page-id-6 .dsemin-hub-program-card__link {
    padding-top: 12px;
  }

  body.page-id-6 .dsemin-hub-program-card__link a {
    gap: 8px;
    font-size: 10px;
  }

  body.page-id-6 .dsemin-hub-program-benefits {
    margin-top: 24px;
  }

  body.page-id-6 .dsemin-hub-program-benefit {
    min-height: 76px;
    padding: 13px 12px;
    gap: 10px;
  }

  body.page-id-6 .dsemin-hub-program-benefit .dsemin-line-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  body.page-id-6 .dsemin-hub-program-benefit p {
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  body.page-id-6 .dsemin-hub-program-card {
    display: block;
  }

  body.page-id-6 .dsemin-hub-program-card__image {
    height: 170px;
    min-height: 170px;
  }

  body.page-id-6 .dsemin-hub-program-card__icon {
    top: 170px;
    right: 18px;
    left: auto;
    transform: translateY(-50%);
  }
}

body.page-id-6 .dsemin-hub-choice {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 104%, rgb(192 27 33 / 22%) 0 16%, transparent 16.3%),
    linear-gradient(120deg, #151515 0%, #1d1d1d 70%, #171717 100%);
}

body.page-id-6 .dsemin-hub-choice::after {
  position: absolute;
  right: 4vw;
  bottom: -90px;
  width: 310px;
  height: 310px;
  border: 1px solid rgb(208 31 37 / 35%);
  border-radius: 50%;
  content: "";
}

body.page-id-6 .dsemin-hub-choice > .wp-block-columns {
  position: relative;
  z-index: 1;
  gap: 72px;
  margin-bottom: 0;
}

body.page-id-6 .dsemin-hub-choice h2 {
  max-width: 640px;
  margin: 0 0 30px;
  color: #fff;
  font-size: 48px;
  line-height: 1.05;
}

body.page-id-6 .dsemin-hub-choice-list {
  border-top: 1px solid rgb(255 255 255 / 16%);
}

body.page-id-6 .dsemin-hub-choice-list p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

body.page-id-6 .dsemin-hub-choice-list span {
  color: rgb(255 255 255 / 68%);
  font-size: 15px;
  line-height: 1.45;
}

body.page-id-6 .dsemin-hub-choice-list a {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

body.page-id-6 .dsemin-hub-choice-list a::after {
  margin-left: 10px;
  color: #ef343b;
  content: "→";
}

body.page-id-6 .dsemin-hub-consult {
  position: relative;
  box-sizing: border-box;
  padding: 42px 38px;
  border-top: 3px solid var(--hub-red);
  background: var(--hub-cream);
}

body.page-id-6 .dsemin-hub-consult__number {
  position: absolute;
  top: 18px;
  right: 28px;
  margin: 0;
  color: rgb(208 31 37 / 14%);
  font-size: 94px;
  font-weight: 800;
  line-height: 1;
}

body.page-id-6 .dsemin-hub-consult h3 {
  position: relative;
  max-width: 250px;
  margin: 30px 0 18px;
  color: var(--hub-ink);
  font-size: 30px;
  line-height: 1.05;
}

body.page-id-6 .dsemin-hub-consult > p:not(.dsemin-hub-consult__number, .dsemin-hub-consult__contacts) {
  color: #625e56;
  font-size: 16px;
  line-height: 1.55;
}

body.page-id-6 .dsemin-hub-consult .wp-block-buttons {
  margin-top: 28px;
}

body.page-id-6 .dsemin-hub-consult__contacts {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid #d9d0bc;
}

body.page-id-6 .dsemin-hub-consult__contacts a {
  color: var(--hub-ink);
  font-weight: 800;
  text-decoration: none;
}

/* Mobile layout for the corporate hub only. Keep this after the desktop
   choice styles so WordPress' column rules cannot restore the wide layout. */
@media (max-width: 767px) {
  body.page-id-6 .dsemin-hub-hero,
  body.page-id-6 .dsemin-hub-hero__content {
    min-height: 560px !important;
  }

  body.page-id-6 .dsemin-hub-hero .wp-block-cover__image-background {
    object-position: 18% center;
  }

  body.page-id-6 .dsemin-hub-hero::before {
    background: linear-gradient(90deg, rgb(10 10 10 / 96%) 0%, rgb(10 10 10 / 84%) 70%, rgb(10 10 10 / 42%) 100%);
  }

  body.page-id-6 .dsemin-hub-hero::after {
    opacity: 0.72;
    background:
      linear-gradient(135deg, transparent 34%, var(--hub-red) 35%, var(--hub-red) 36%, transparent 37%)
        16px 26px / 54px 54px no-repeat,
      linear-gradient(135deg, transparent 34%, var(--hub-red) 35%, var(--hub-red) 36%, transparent 37%)
        16px 76px / 78px 78px no-repeat;
  }

  body.page-id-6 .dsemin-hub-hero__content {
    width: calc(100% - 32px) !important;
    padding: 44px 0 40px;
  }

  body.page-id-6 .dsemin-hub-hero h1 {
    max-width: 330px;
    font-size: 36px;
    line-height: 1.02;
  }

  body.page-id-6 .dsemin-hub-hero__lead {
    max-width: 320px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.48;
  }

  body.page-id-6 .dsemin-hub-hero .wp-block-buttons {
    gap: 12px;
    margin-top: 22px !important;
    flex-wrap: wrap;
  }

  body.page-id-6 .dsemin-hub-hero .wp-block-button__link {
    padding: 13px 16px;
    font-size: 11px;
  }

  body.page-id-6 .dsemin-hub-facts .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 0;
  }

  body.page-id-6 .dsemin-hub-facts .wp-block-column.dsemin-fact {
    grid-column: auto !important;
    width: auto !important;
    flex-basis: auto !important;
    margin: 0 !important;
    min-height: 136px;
    padding: 18px 12px;
    border-right: 1px solid var(--hub-line);
    border-bottom: 1px solid var(--hub-line);
  }

  body.page-id-6 .dsemin-hub-facts .wp-block-column.dsemin-fact:nth-child(2n) {
    border-right: 0;
  }

  body.page-id-6 .dsemin-hub-facts .wp-block-column.dsemin-fact:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body.page-id-6 .dsemin-hub-facts .dsemin-line-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
  }

  body.page-id-6 .dsemin-hub-facts strong {
    font-size: 14px;
  }

  body.page-id-6 .dsemin-hub-facts span {
    max-width: 150px;
    font-size: 11px;
    line-height: 1.35;
  }

  body.page-id-6 .dsemin-hub-choice {
    padding: 56px 16px 60px;
  }

  body.page-id-6 .dsemin-hub-choice::after {
    right: -105px;
    bottom: -90px;
    width: 230px;
    height: 230px;
  }

  body.page-id-6 .dsemin-hub-choice > .wp-block-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    width: 100%;
  }

  body.page-id-6 .dsemin-hub-choice > .wp-block-columns > .wp-block-column {
    min-width: 0;
    flex-basis: auto !important;
  }

  body.page-id-6 .dsemin-hub-choice h2 {
    max-width: 320px;
    margin-bottom: 24px;
    font-size: 36px;
    line-height: 1.04;
  }

  body.page-id-6 .dsemin-hub-choice-list p {
    display: block;
    padding: 19px 0 20px;
  }

  body.page-id-6 .dsemin-hub-choice-list span,
  body.page-id-6 .dsemin-hub-choice-list a {
    display: block;
    overflow-wrap: anywhere;
  }

  body.page-id-6 .dsemin-hub-choice-list span {
    font-size: 14px;
    line-height: 1.48;
  }

  body.page-id-6 .dsemin-hub-choice-list a {
    margin-top: 10px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
  }

  body.page-id-6 .dsemin-hub-choice-list a::after {
    content: "→";
  }

  body.page-id-6 .dsemin-hub-consult {
    width: 100%;
    margin: 0;
    padding: 30px 24px 28px;
  }

  body.page-id-6 .dsemin-hub-consult__number {
    top: 12px;
    right: 18px;
    font-size: 72px;
  }

  body.page-id-6 .dsemin-hub-consult h3 {
    max-width: 250px;
    margin: 20px 0 16px;
    font-size: 27px;
  }

  body.page-id-6 .dsemin-hub-consult > p:not(.dsemin-hub-consult__number, .dsemin-hub-consult__contacts) {
    font-size: 14px;
    line-height: 1.5;
  }

  body.page-id-6 .dsemin-hub-consult .wp-block-buttons {
    margin-top: 22px;
  }

  body.page-id-6 .dsemin-hub-consult__contacts {
    margin-top: 22px;
    padding-top: 18px;
  }
}

@media (hover: none) {
  body.page-id-6 .dsemin-hub-program-card:hover {
    border-color: #e5dfd2;
    box-shadow: 0 8px 24px rgb(35 30 22 / 5%);
    transform: none;
  }

  body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__image img {
    filter: saturate(0.76) contrast(1.02);
    transform: none;
  }

  body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__icon {
    border-color: #eee8dc;
    background: #fff;
    box-shadow: 0 8px 20px rgb(35 30 22 / 10%);
    transform: translate(-50%, -50%);
  }

  body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__icon .dsemin-line-icon {
    color: var(--hub-red);
  }

  body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__link span {
    transform: none;
  }
}

@media (hover: none) and (max-width: 340px) {
  body.page-id-6 .dsemin-hub-program-card:hover .dsemin-hub-program-card__icon {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-6 .dsemin-hub-program-card,
  body.page-id-6 .dsemin-hub-program-card__image img,
  body.page-id-6 .dsemin-hub-program-card__icon,
  body.page-id-6 .dsemin-hub-program-card__link span {
    transition: none;
  }
}

/* Desktop hero crop: keep the stage portrait's head inside the frame. */
@media (min-width: 1101px) {
  body.page-id-6 .dsemin-hub-hero,
  body.page-id-6 .dsemin-hub-hero__content {
    min-height: 620px !important;
  }

  body.page-id-6 .dsemin-hub-hero .wp-block-cover__image-background {
    object-position: center top !important;
  }

  body.page-id-6 .dsemin-hub-hero__content {
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 64px;
  }
}

/* Use the supplied hero system consistently with the four program pages. */
body.page-id-6 .dsemin-hub-hero {
  min-height: 560px !important;
  background-color: #000;
  background-image: image-set(url("/wp-content/themes/dsemin/assets/slider/resultat_program.webp") type("image/webp"), url("/wp-content/themes/dsemin/assets/slider/resultat_program.jpg") type("image/jpeg"));
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 100%;
}

body.page-id-6 .dsemin-hub-hero::before,
body.page-id-6 .dsemin-hub-hero::after,
body.page-id-6 .dsemin-hub-hero .wp-block-cover__image-background {
  display: none !important;
}

body.page-id-6 .dsemin-hub-hero__content {
  min-height: 560px !important;
}

@media (max-width: 767px) {
  body.page-id-6 .dsemin-hub-hero {
    min-height: 600px !important;
    background-image: image-set(url("/wp-content/themes/dsemin/assets/slider/mobile.webp") type("image/webp"), url("/wp-content/themes/dsemin/assets/slider/mobile.jpg") type("image/jpeg"));
    background-position: right center;
    background-size: auto 100%;
  }

  body.page-id-6 .dsemin-hub-hero__content {
    min-height: 600px !important;
    padding: 40px 16px !important;
  }
}
