.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 418px;
  background-color: var(--color-red);
  visibility: hidden;
  overflow: hidden;
  transform: translateY(calc(-100% - 50px));
  transition: transform 0.25s ease-out;
}

.header.active:after {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.25s ease-out, visbility 0.25s ease-in-out;
}

.header a {
  color: var(--color-white);
  line-height: 1.23;
}

.header .menu > .menu-item > a {
  line-height: 1;
}

.header .main-logo:has(~ .region-logo) svg {
  margin-right: 3px;
}

/* Main meun items.  */
.header .menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--color-red);
  padding-top: 17px;
  z-index: 10;
  transform: translateY(calc(-100% - 50px));
  transition: transform 0.25s ease-out;
  overflow: hidden;
}

.header .menu.active {
  transform: translateY(0%);
  transition: transform 0.25s ease-out;
}

.header .menu-navigation {
  display: flex;
  align-items: center;
  padding: 0 23px;
  margin-bottom: 38px;
}

.header .menu-navigation .header__close {
  margin-left: auto;
}

.header .menu-navigation .header__logo {
  display: flex;
  padding-left: 1px;
  margin-top: -4px;
}

.header .menu-navigation .header__logo span {
  display: flex;
  top: 2px;
  position: relative;
  color: var(--color-white);
  font-size: 16px;
  margin-left: 15px;
  align-items: center;
}

.header .menu-navigation .header__logo span:before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: -8px;
  top: 4px;
  width: 1px;
  background-color: var(--color-white);
}

.header .menu li {
  margin: 10px 23px;
  color: var(--color-white);
  font-size: 24px;
  line-height: 28px;
  font-weight: 400;
  opacity: 1;
  transition: opacity 0.32s ease;
}

.header .menu li:has(a.current-page) {
  opacity: 1;
  font-weight: 600;
}

.header .menu li:hover,
.header .menu li:focus {
  opacity: 1;
  transition: opacity 0.32s ease;
}

.header .submenu {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  flex-direction: column;
  background-color: var(--color-red);
  transform: translateX(100%);
  transition: transform 0.25s ease, visibility 0.1s ease, opacity 0.25s ease-out;
  height: 100%;
  opacity: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  visibility: hidden;
}

.header .menu .has-children .submenu {
  transform: translateX(100%);
  margin-top: 17px;
}

.header .submenu li {
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  margin: 18px 24px;
  opacity: 1;
}

.header .search__icon.active .submenu,
.header .header__profile.active .submenu,
.header .menu .has-children.active .submenu {
  transform: translateY(0%);
  transition: transform 0.25s ease, visibility 0.1s ease, opacity 0.25s ease-out;
  margin-top: 17px;
  height: 88vh;
  visibility: visible;
  overflow-y: scroll;
  padding-bottom: 40px;
}

.header .menu .has-children.active .submenu {
  transform: translateX(0%);
  opacity: 1;
}

.header .header__profile .submenu,
.header .search__icon .submenu {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;

  padding-top: 17px;
  transform: translateY(calc(-100% - 50px));
  transition: transform 0.25s ease-out, visibility 0.25s ease-out;
}

.header .header__profile.active .submenu,
.header .search__icon.active .submenu {
  margin-top: 0;
  height: 100vh;
  z-index: 1;

  transform: translateY(0%);
  transition: transform 0.25s ease-out, visibility 0.25s ease-out;
}

.header .menu li.disabled:has(a.current-page),
.header .menu li.disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

.header .cat-label {
  margin: 35px 23px 18px;
  opacity: 0.8;
  display: flex;
  gap: 8px;
  color: var(--color-white);
  font-size: 12px;

  font-weight: 400;
}

.header .cat-label svg path {
  stroke-width: 2.5;
}

.header .cat-label span {
  opacity: .7;
}

.header .submenu .menu-column:nth-of-type(1n + 2) {
  margin-top: 30px;
}

.header .submenu .menu-column:nth-of-type(1n + 2) li {
  font-size: 14px;
  margin: 8px 24px;
}

.header .column .submenu .menu-column:nth-of-type(1n + 2) li.disabled {
  margin: 18px 24px;
}

.header .column .submenu .menu-column:nth-of-type(1n + 2) li {
  font-size: inherit;
}

.header .column .submenu .menu-column:has(li.disabled) .cat-label {
  opacity: 0.35;
}

.header .header--left {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  position: relative;
  top: -1px;
}

.header .header--left span {
  display: flex;
  align-items: center;
}

.header .header--left a ~ span {
  position: relative;
  top: 3px;
  padding-left: 0px;
  font-size: 16px;
  margin-left: 12px;
}

.header .header--left a ~ span:before {
  content: "";
  position: absolute;
  left: -6px;
  top: 2px;
  bottom: 3px;
  width: 1px;
  background-color: var(--color-white);
}

.header .main-logo {
  display: flex;
}

.header .header--right {
  display: flex;
  align-items: center;
}

.header .header--right .icon {
  box-sizing: content-box;
  cursor: pointer;
  opacity: 1;
  stroke-width: 1px;
  transition: stroke-width 0.32s ease;
}

.header .header--right .icon:hover,
.header .header--right .icon:focus {
  stroke-width: 1.3px;
  transition: stroke-width 0.32s ease;
}

.header .menu-links {
  position: relative;
  right: -12px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .menu-links li {
  padding: 0 12px;
}

.header .menu-links .submenu .submenu-wrap {
  flex-direction: column;
  gap: 0;
}

.header .menu-links .header__burger {
  position: relative;
  top: 1px;
}

.date--index {
  display: flex;
  align-items: center;
  justify-content: start;
  color: var(--color-grey);
  font-size: 12px;
  text-align: right;
  font-weight: 400;
}

.date--index .title {
  font-size: 10px;
  margin: 0;
}

/* Menu search.  */
.header .search__form {
  display: flex;
  align-items: center;
  margin-left: 24px;
  margin-bottom: 20px;
}

.header .search__form input[type="submit"] {
  display: none;
}

.header .search__form svg {
  position: relative;
  top: 3px;
}

.header .search__form .search__text {
  width: 100%;
  max-width: 100%;
  color: var(--color-white);
  font-size: 24px;
  line-height: 19px;
  padding: 5px;
  padding-left: 7px;
  margin-bottom: -6px;
  border: none;
  background-color: var(--color-red);
}

.header .search__form .search__text::placeholder {
  color: var(--color-white);
  opacity: 0.6;
}

.header .header__profile .link,
.header .search__form ~ .menu-column li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin: 18px 24px 18px;
  padding: 0;
  opacity: 1;
  transition: opacity 0.32s ease;
}

.header .search__form ~ .menu-column li {
  margin-top: 10px;
  margin-bottom: 10px;
}

.header .header__profile .link.main {
  font-size: 24px;
  line-height: 28px;
}

.header .header__profile .link:hover,
.header .header__profile .link:focus,
.header .search__form ~ .menu-column li:hover,
.header .search__form ~ .menu-column li:focus {
  opacity: 1;
  transition: opacity 0.32s ease;
}

.header .search__form ~ .menu-column li svg {
  position: relative;
  top: 2px;
}

.header .header__profile .submenu-wrap .menu-column:nth-of-type(1n + 2) {
  margin-top: 27px;
}

.header .search__form ~ .menu-column svg,
.header .header__profile .link svg {
  padding-right: 5px;
}

.date--index span {
  padding: 7px 0;
}

/* Red banner */
.top-bar {
  color: var(--color-black);
  width: 100%;
  background-color: var(--color-white);
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-bar__wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 15px;
	padding-bottom: 15px;

 	white-space: nowrap;
  	overflow-x: auto;

   -ms-overflow-style: none;
    scrollbar-width: none;
}

.top-bar__wrapper::-webkit-scrollbar {
	display: none;
}

.top-bar__wrapper > main {
	display: flex;
	align-items: center;
	gap: 10px;
}

.top-bar__wrapper > aside span {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-red);
}

.top-bar .top-bar__link {
  display: flex;
  gap: 8px;
  box-sizing: content-box;
  color: var(--color-red);
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  font-weight: normal;
}

.top-bar .top-bar__link:first-child svg {
  animation: topBarBlink 2s infinite;
}

@keyframes topBarBlink {
	0% {
		opacity: 0.3;
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0.3;
	}
}

.header .promo {
  background-color: var(--color-red);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.header .promo a {
  padding: 2px;
  display: list-item;
  color: var(--color-white);
}

.header .promo a:before {
  content: "• ";
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header .menu .has-children.active .submenu,
.header .header__profile.active .submenu,
.header .search__icon.active .submenu {
  width: 100vw;
}

/* Responsive design.  */
@media (max-width: 768px) {
	.top-bar {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (min-width: 768px) {
  .top-bar {
	padding-top: 16px;
	padding-bottom: 11px;
  }

  .top-bar__wrapper {
	gap: 24px;
  }

  .top-bar__wrapper > main {
	gap: 24px;
  }

  .header .header--left a ~ span {
    margin-left: 16px;
  }

  .header .header--left a ~ span:before {
    left: -9px;
  }

  .date--index .title {
    font-size: 12px;
  }

  .header .menu li.disabled:has(a.current-page),
  .header .menu li.disabled {
    opacity: 0.35;
  }
}

@media (min-width: 1024px) {
  .header .menu-navigation {
    padding: 0 40px;
  }

  .header .cat-label {
    margin-left: 24px;
  }

  .header .cat-label span {
    opacity: unset;
  }

  .header .submenu .menu-column:nth-of-type(1n + 2) li,
  .header .menu li {
    margin: 9px 24px;
  }

  .overlay:has(~ .header) {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s linear, opacity 0.32s ease;
  }

  .header .menu .has-children .submenu {
    transform: none;
    margin-top: 0;
  }

  .overlay:has(~ .header .header--right .menu-links li.active),
  .overlay:has(~ .header .menu li.has-children:active),
  .overlay:has(~ .header .menu li.has-children:hover) {
    opacity: 1;
    visibility: visible;
    transition: visibility 0.3s linear, opacity 0.32s ease;
  }

  .header .header--middle {
    display: flex;
    align-items: center;
    position: relative;
    top: 1px;
    left: 50px;
  }

  .header .menu {
    position: relative;
    height: auto;
    flex-direction: row;
    transform: none;
    padding: 0;
  }

  .header .menu li {
    position: relative;
    font-size: 14px;
    margin: 0 10px;
    opacity: 0.7;
    line-height: inherit;
  }

  .header .submenu li {
    font-size: 24px;
    margin: 3px 30px 3px 0;
  }

  .header .column .submenu .menu-column:nth-of-type(1n + 2) li.disabled {
    margin: 6px 24px 6px 0;
  }

  .header .menu-navigation,
  .header .header--right .header__burger {
    display: none;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    grid-template-rows: 40px repeat(8, 40px);
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    small {
    grid-column: 1 / 3;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    small,
  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    li {
    margin: 0;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    small {
    margin-top: 9px;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item {
    order: 20;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(1) {
    order: 1;
  }
  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(2) {
    order: 1;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(3) {
    order: 3;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(4) {
    order: 5;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(5) {
    order: 7;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(6) {
    order: 9;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(7) {
    order: 11;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(8) {
    order: 13;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(9) {
    order: 15;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(10) {
    order: 2;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(11) {
    order: 4;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(12) {
    order: 6;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(13) {
    order: 8;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(14) {
    order: 10;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(15) {
    order: 12;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    .menu-item:nth-child(16) {
    order: 14;
  }

  .header .header--right {
    display: flex;
    position: relative;
    right: -7px;
  }

  .header .header--right .menu-links {
    align-items: flex-start;
  }

  .header .menu-links li {
    padding: 0 13px;
  }

  .header .header--right .search__icon > .icon,
  .header .header--right .header__profile > .icon {
    width: 26px;
    top: 1px;
    right: 3px;
    position: relative;
  }

  .header .header--right .icon:hover,
  .header .header--right .icon:focus {
    opacity: 1;
  }

  .header .menu .has-children .submenu,
  .header .header__profile .submenu,
  .header .search__icon .submenu,
  .header .submenu {
    position: fixed;
    left: 0;
    right: 0;
    top: 34px;
    display: flex;
    height: 0;
    width: 100%;
    transform: none;
    overflow: hidden;
    justify-content: space-between;
    flex-direction: row;
    padding-top: 23px;
    margin-top: 0;
    visibility: hidden;
    opacity: 0;
    transition: height 0.23s cubic-bezier(0.4, 0, 0.6, 1),
      opacity 0.23s cubic-bezier(0.4, 0, 0.6, 1),
      visibility 0.23s cubic-bezier(0.4, 0, 0.6, 1);
    transform: none;
    z-index: -1;
  }

  .header .submenu .submenu-wrap {
    display: flex;
    min-width: 490px;
    margin: 0 auto;
  }

  .header .has-children:last-of-type .submenu .submenu-wrap {
    position: relative;
    left: 50px;
  }

  .header .submenu:before {
    content: "";
    width: 100vw;
    position: fixed;
    left: 0;
    right: 0;
    background-color: var(--color-red);
  }

  .header .menu li:hover,
  .header .menu li:focus {
    opacity: 1;
    transition: none;
  }

  .header .header--right .menu-links li.active .submenu,
  .header .has-children:hover .submenu {
    top: 34px;
    margin-left: 0;
    margin-top: 0;
    height: 445px;
    background-color: var(--color-red);
    visibility: visible;
    opacity: 1;
    transition: height 0.23s cubic-bezier(0.4, 0, 0.6, 1),
      opacity 0.23s cubic-bezier(0.4, 0, 0.6, 1),
      visibility 0.23s cubic-bezier(0.4, 0, 0.6, 1);
    z-index: 10;
  }

  .header--right .menu-links li .submenu .submenu-wrap {
    position: relative;
    left: -12px;
  }

  .header .search__form {
    margin-bottom: 22px;
    margin-left: 0;
  }

  .header .search__form ~ .menu-column li {
    opacity: 0.7;
  }

  .header .has-children.column .submenu-wrap {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    position: relative;
    left: -12px;
  }

  .header .cat-label {
    margin: 9px 24px 11px 0;
  }

  .date--index {
    justify-content: end;
  }

  .header .submenu .menu-column:nth-of-type(1n + 2) {
    margin-top: 0;
  }

  .header .submenu .menu-column:nth-of-type(1n + 2) .cat-label {
    margin-bottom: 12px;
  }

  .header .submenu .menu-column:nth-of-type(1n + 2) li {
    margin: 4px 24px 4px;
  }

  .header .column .submenu .menu-column:nth-of-type(1n + 2) {
    margin-top: 9px;
  }

  .header .column .submenu .menu-column:nth-of-type(1n + 2) .cat-label {
    margin-bottom: 5px;
  }

  .header .column .submenu .menu-column:nth-of-type(1n + 2) li {
    margin: 1px 12px;
  }

  .header .column .submenu .menu-column:nth-of-type(1n + 2) li {
    font-size: 24px;
  }

  .header .header__profile .link,
  .header .search__form ~ .menu-column li {
    opacity: 0.7;
    margin-left: 0;
  }

  .header .header__profile.active .submenu,
  .header .search__icon.active .submenu {
    height: 445px;
  }
}

@media (min-width: 1240px) {
  .header .header--middle > .menu li {
    margin: 0 12px;
  }

  .header .column .submenu .menu-column:nth-of-type(1n + 2) li,
  .header .header--middle > .menu .submenu li {
    margin: 3px 30px 3px 0;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    small,
  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    li {
    margin: 0;
  }

  .header
    .has-children:last-of-type
    .menu-navigation
    ~ .menu-column:first-of-type
    small {
    margin-top: 9px;
  }
}
