/* The hero stays visible and interactive during the short entrance. */
.cm-home-opening .cm-hero-heading h1{
  animation:cm-opening-heading 540ms cubic-bezier(.22,.61,.36,1) both;
}
.cm-home-opening .cm-hero-image > img{
  animation:cm-opening-photo 680ms cubic-bezier(.22,.61,.36,1) both;
}
.cm-home-opening .cm-opening-factory{
  display:inline-flex;
  align-items:center;
  gap:.7em;
  inline-size:fit-content;
  max-inline-size:100%;
  color:#14643c;
  font-size:.875rem;
  font-weight:600;
  line-height:1.35;
  text-decoration:none;
}
.cm-home-opening .cm-opening-factory::before{
  content:"";
  inline-size:1.25rem;
  block-size:2px;
  flex:none;
  background:#dfa843;
  transform-origin:left center;
  animation:cm-opening-rule 680ms cubic-bezier(.22,.61,.36,1) both;
}
[dir="rtl"] .cm-home-opening .cm-opening-factory::before{transform-origin:right center}
.cm-home-opening .cm-opening-factory:hover{text-decoration:underline;text-underline-offset:.18em}
.cm-home-opening .cm-opening-factory:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.cm-home-opening .cm-hero-image .cm-opening-caption{
  position:absolute;
  inset:clamp(14px,2.1vw,32px) auto auto clamp(14px,2.1vw,32px);
  inline-size:max-content;
  max-inline-size:calc(100% - 2rem);
  margin:0;
  padding:0;
  background:none;
  backdrop-filter:none;
  z-index:2;
}
.cm-home-opening .cm-opening-caption .cm-opening-factory{
  display:inline-flex;
  margin:0;
  color:#fff;
  background:#103c31;
  padding:.65rem .85rem;
  box-shadow:0 4px 14px #102c2633;
}
.cm-home-opening .cm-opening-factory-row{margin:.75rem 0 0}
@keyframes cm-opening-heading{from{translate:0 .42rem}to{translate:0 0}}
@keyframes cm-opening-photo{from{translate:0 -.42rem}to{translate:0 0}}
@keyframes cm-opening-rule{from{scale:.2 1}to{scale:1 1}}
@media(prefers-reduced-motion:reduce){
  .cm-home-opening .cm-hero-heading h1,
  .cm-home-opening .cm-hero-image > img,
  .cm-home-opening .cm-opening-factory::before{animation:none}
}
