/* ==========================================================================
   Site header (inner pages)
   Loads after site-header.css and dark.css.
   Scope: .site-header--inner and/or body.almax-page-inner
   ========================================================================== */

.site-header--inner .site-header-wrapper-content {
  min-height: 390px;
}

.site-header--inner .site-header__title-block {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-content: flex-end;
  justify-content: flex-start;
  gap: 0.35em;
 /* max-width: 1080px; */
}

.site-header--inner .site-header__title {
  margin: 0;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
  color: #f8fafc;
  width: 100%;
  text-align: center;
}

.site-header--inner .site-header__subtitle {
  margin: 0;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--almax-primary-color, #ff9040);
  width: 100%;
  text-align: center;
}
.site-header--inner .site-header__frame-edge--left {
  width: 48px;
  height: 346px;
  background: url(../images/ramka-l-all.png) no-repeat top left;
}

.site-header--inner .site-header__frame-edge--right {
  width: 67px;
  height: 346px;
  background: url(../images/ramka-r-all.png) no-repeat top right;
}
.site-header--inner .site-header__title-block {
  min-height: 0;
  justify-content: center;
  padding-left: 90px;
}
.site-header--inner .site-header__row--hero {
  min-height: 221px;
  margin-top: 0px;
  align-items: center;
}

.site-header--inner .hero-panel__inner {
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.site-header--inner .hero-panel__socials {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: -11px;
  right: -25px;
}
.site-header--inner .site-header__frame-edge--bottom {
   border-color: #545558;   
   left: 73px;
   width: calc(100% - 165px);
}
.site-header--inner .site-header__frame-edge--top { 
  left: 73px;
  width: calc(100% - 165px);
}
.site-header--inner .hero-social {
  width: 46px;
  height: 46px;
}


@media (max-width: 1200px) {
  .site-header--inner .hero-panel__inner {
    grid-template-columns: 1fr;
  }

  .site-header--inner .site-header__title-block {
    min-height: 0;
    padding-bottom: 24px;
  }
}
