/* Shared motto structure. Mobile keeps its approved independent layout. */
.fe-6a3e4ddca8c14803bfec1b15 > .fe-block-7983978c664057c2603f,
.fe-6a3e4ddca8c14803bfec1b15 > .fe-block-192911d2a6d1171bdc88 {
  display: none;
}
.fe-6a3e4ddca8c14803bfec1b15 > .fe-block-yui_3_17_2_1_1782468131813_5244 {
  grid-area: 2 / 1 / 10 / 11;
  align-self: center;
}
#block-yui_3_17_2_1_1782468131813_5244 {
  padding: 0;
}
.minerva-motto {
  position: relative;
  width: 100%;
  aspect-ratio: 662.39 / 238.84;
  container-type: inline-size;
  display: grid;
  grid-template-columns: 16% minmax(0, 64%) 16%;
  column-gap: 2%;
  justify-content: center;
  align-items: center;
}
.minerva-motto .minerva-motto-laurel {
  position: static;
  width: 100%;
  height: auto;
  min-width: 0;
  object-fit: contain;
  grid-row: 1;
}
.minerva-motto-laurel-left { grid-column: 1; }
.minerva-motto-laurel-right { grid-column: 3; }
#page .minerva-motto .minerva-lines {
  position: static;
  transform: none;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: normal;
}
.minerva-motto .minerva-lines span {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2 !important;
  min-height: 0;
  margin: 0;
  padding: 0;
}
/* Mobile presents the motto and anniversary badge without the statues. */
@media (max-width: 480px) {
  #page .minerva-motto { width: calc(100% - 48px); margin-inline: auto; }
  .fluid-engine.fe-6a3e4ddca8c14803bfec1b15 {
    grid-template-rows: repeat(16, minmax(24px, auto));
  }
  .fe-6a3e4ddca8c14803bfec1b15 > .fe-block-e84cce35dd6c03c85e66,
  .fe-6a3e4ddca8c14803bfec1b15 > .fe-block-4018adc7d09ceaf62682 {
    display: none;
  }
  .fe-6a3e4ddca8c14803bfec1b15 > .fe-block-fa4722d2e1a4272f5e1a {
    grid-area: 10 / 4 / 16 / 8;
  }
}

/* Desktop/tablet share one 9:5 stage. Every position and dimension is
   relative to that stage, so portrait viewports add space around it only. */
.minerva-desktop-heading { display: none; }
@media (min-width: 481px) {
  #site-title { visibility: hidden; }
  section[data-section-id="6a3e4ddca8c14803bfec1b16"] {
    --hero-header: min(6vh, 64px);
    height: 100vh;
    padding-top: var(--hero-header) !important;
    min-height: 0 !important;
    box-sizing: border-box;
  }
  section[data-section-id="6a3e4ddca8c14803bfec1b16"] > .content-wrapper {
    height: 100%; min-height: 0; padding: 0 !important;
    box-sizing: border-box;
  }
  section[data-section-id="6a3e4ddca8c14803bfec1b16"] > .content-wrapper > .content {
    height: 100%; min-height: 0;
    display: flex; align-items: center; justify-content: center;
  }
  section[data-section-id="6a3e4ddca8c14803bfec1b16"] .content > [data-fluid-engine] {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
  }
  .fluid-engine.fe-6a3e4ddca8c14803bfec1b15 {
    position: relative; display: block;
    width: min(100vw, calc((100vh - var(--hero-header)) * 1.8), 2000px);
    height: auto; aspect-ratio: 9 / 5; flex: none; min-height: 0;
    container-type: inline-size;
    padding: 0; margin: 0;
  }
  .fe-6a3e4ddca8c14803bfec1b15 > .minerva-desktop-heading {
    display: block; position: absolute; left: 50%; top: 20%;
    transform: translate(-50%, -50%);
    width: 42% !important;
    margin: 0; text-align: center; font-family: inherit;
    font-weight: 400;
    line-height: 1.15; color: white;
  }
  .fe-6a3e4ddca8c14803bfec1b15 > .fe-block-yui_3_17_2_1_1782468131813_5244 {
    position: absolute; left: 50%; top: 52%;
    transform: translate(-50%, -50%);
    width: 38%; height: auto; min-height: 0;
  }
  .minerva-motto {
    width: 100%; margin: 0;
  }
  .minerva-motto .minerva-lines span {
    line-height: 1.2 !important;
    overflow-wrap: normal;
  }
  .fe-6a3e4ddca8c14803bfec1b15 > .minerva-statue {
    position: absolute; bottom: 0; top: 0; width: 22%;
    min-height: 0;
  }
  .fe-6a3e4ddca8c14803bfec1b15 > .minerva-statue-left { left: 0; }
  .fe-6a3e4ddca8c14803bfec1b15 > .minerva-statue-right { right: 0; }
  #page .fe-6a3e4ddca8c14803bfec1b15 > .fe-block-fa4722d2e1a4272f5e1a {
    position: absolute; left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 13%; height: 32%; min-height: 0;
  }
}

/* Anniversary badge: proportions match the approved 240px HTML/CSS seal. */
#page .minerva-anniversary-block {
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
}
/* A shared measured offset centers the group; existing transforms stay intact. */
.minerva-desktop-heading,
.fe-block-yui_3_17_2_1_1782468131813_5244 {
  translate: 0 var(--hero-group-shift, 0px);
}

.minerva-anniversary-block {
  translate: 0 calc(var(--hero-group-shift, 0px) + var(--hero-badge-shift, 0px));
}
