/* POLYALIS Presence holding prototype V1.4
   Scope: explicit hero layout states with or without the emblem.
   Production default: emblem off.
   Reactivation: set data-emblem="on" on .hero-layout. */

.hero-layout[data-emblem="off"] {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 0 !important;
}

.hero-layout[data-emblem="off"] .hero-copy {
  width: min(100%, 64rem);
  max-width: 64rem;
  margin-inline: auto;
}

.hero-layout[data-emblem="off"] .hero-visual {
  display: none !important;
}

.hero-layout[data-emblem="on"] .hero-visual {
  display: grid !important;
}

@media (min-width: 1024px) {
  .hero-layout[data-emblem="off"] {
    padding-top: clamp(3.75rem, 5vw, 5.5rem) !important;
    padding-bottom: clamp(4.25rem, 6vw, 6rem) !important;
  }

  .hero-layout[data-emblem="off"] h1 {
    max-width: 16ch;
  }

  .hero-layout[data-emblem="on"] {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
    align-items: start !important;
    column-gap: clamp(1.5rem, 2.8vw, 3.5rem) !important;
    row-gap: 2rem !important;
    padding-top: 2rem !important;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-layout[data-emblem="on"] {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    column-gap: clamp(1.25rem, 1.8vw, 1.75rem) !important;
  }
}

@media (max-width: 1023px) {
  .hero-layout[data-emblem="off"] {
    row-gap: 0 !important;
  }
}
/* POLYALIS_HOLDING_V14_MOBILE390_FIX */
@media (max-width: 479px) {
  .hero-layout[data-emblem="off"],
  .hero-layout[data-emblem="on"] {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    min-width: 0;
  }

  .hero-layout[data-emblem="off"] .hero-copy,
  .hero-layout[data-emblem="on"] .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-inline: 0;
  }

  .hero-layout[data-emblem="off"] .hero-copy > *,
  .hero-layout[data-emblem="on"] .hero-copy > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero-layout[data-emblem="off"] h1,
  .hero-layout[data-emblem="on"] h1,
  .hero-layout[data-emblem="off"] .lead,
  .hero-layout[data-emblem="on"] .lead,
  .hero-layout[data-emblem="off"] .holding-message,
  .hero-layout[data-emblem="on"] .holding-message {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-layout[data-emblem="on"] .hero-visual {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-layout[data-emblem="on"] .hero-visual-image {
    width: min(100%, 27rem) !important;
    max-width: 100% !important;
    height: auto;
  }
}
