.list-reset {
  margin: 0; /* сброс внешних отступов */
  padding: 0; /* сброс внутренних отступов */
  list-style: none; /* сброс оформлений списков */
}

.p-reset {
  margin: 0;
  line-height: 0;
}

body {
  font-family: var(--second-family);
}

h1,
h2,
h3,
h4 {
  font-family: var(--first-family);
  font-style: normal;
  font-weight: 500;
}
p {
  margin: 0;
  padding: 0;
}

/* Links and buttons */
.links-and-buttons {
}
.link-on-dark {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.5s ease-in;
}
.link-on-dark:hover {
  color: #dce5ff;
}
.link-on-dark:active {
  border-bottom: 0.5px solid #dce5ff;
}
.link-on-dark:disabled {
  cursor: not-allowed;
  color: rgba(222, 222, 222, 0.5);
}

.header {
  position: sticky;
  padding-top: 20px;
  padding-bottom: 25px;
  background-color: var(--deep-blue);
  box-shadow: 0px 20px 50px rgba(30, 40, 68, 0.2);
}

.header-titles {
  display: flex;
  align-self: center;
}

.header-title {
  margin: 0;
  font-size: 28px;
  line-height: 41px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.header-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-90);
}

.header-navigation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.header-navigation-top,
.header-navigation-bottom {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}

.svedeniya__link-wrap {
  margin: 0;
}

.svedeniya__link {
  font-family: var(--first-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

/* top menu */
.top-menu {
}

.top-menu {
  display: flex;
}

.top-menu > .nav-item:not(:last-child) {
  border-right: 1px solid var(--white-80);
}

.top-menu > .nav-item:hover {
  background: var(--hover);
  box-shadow: inset 0px 15px 20px rgba(0, 0, 0, 0.05);
}

.top-menu > .nav-item > a {
  display: block;
  margin: 0;
  padding: 5px 15px;
  font-family: var(--first-family);
  font-size: 20px;
  line-height: 30px;
  color: var(--white);
  text-decoration: none;
}

.top-menu > .nav-item:first-child > a {
  padding: 5px 15px 5px 0;
}

.top-menu > .nav-item > .mod-menu__sub {
  display: none;
}

.top-menu > .nav-item:hover > .mod-menu__sub {
  display: block;
  max-width: 210px;
  position: absolute;
  padding: 20px;
  list-style: none;
  background-color: var(--white);
}

.top-menu > .nav-item:hover > .mod-menu__sub > .nav-item {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--background);
}

.top-menu > .nav-item:hover > .mod-menu__sub > .nav-item > a {
  font-family: var(--first-family);
  font-size: 15px;
  line-height: 22px;
  color: var(--fonts);
  text-decoration: none;
}

/* search */
.search {
}

.form-search {
  display: flex;
  justify-content: end;
}

.mod-finder__input {
  height: 30px;
  margin-left: 30px;
  width: 90%;
  /* min-width: 160px; 22.03.2024 временно отключаем*/
  border: none;
  background-color: transparent;
}

.mod-finder__input:focus-visible {
  outline: none;
}

.mod-finder__input::placeholder {
  font-family: var(--second-family);
  font-size: 16px;
  line-height: 19px;
  color: var(--white);
}

.mod-finder__input::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30px;
}

.mod-finder__inputwrap {
  background-image: url("../img/icons/search.svg");
  background-repeat: no-repeat;
  background-color: var(--hover);
}

.mod-finder__submit {
  width: 30px;
  padding: 0;
  background-color: transparent;
  border: none;
}

.icon-search {
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("../img/icons/search.svg");
}

.visually-hidden {
  /* visibility: hidden; */
  display: none;
}

/* footer */
.footer {
  background-color: var(--deep-blue);
}

.footer-modules {
  padding-bottom: 10px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.8); */
}

.footer_modules_text {
  margin: 0;
  margin-bottom: 10px;
  font-family: var(--first-family);
  font-size: 20px;
  line-height: 30px;
  color: var(--white-80);
}

.footer_modules_text:last-child {
  margin-bottom: 0;
}

.footer-modules-right {
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.soclink__list--small {
  display: flex;
}
.soclink__list--small-right {
  justify-content: end;
}
.soclink__list--small-left {
  justify-content: start;
}

.soclink__item--small {
  padding: 2px 0 2px 8px;
}
.soclink__item--small p {
  line-height: 0.5;
  margin: 0;
}

.mod-footer {
  padding-top: 10px;
}
.mod-footer * {
  font-family: var(--first-family);
  font-size: 16px;
  line-height: 24px;
  color: var(--white-80);
}

.footer-modules--border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

/* Icons */
.icon {
  display: inline-block;
  margin: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.icon-size_32 {
  width: 32px;
  height: 32px;
  margin-right: 16px;
}
.icon-size_24 {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}
.icon-size_20 {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.icon_calendar {
  background-image: url("../img/icons/calendar.svg");
}
.icon_time-circle {
  background-image: url("../img/icons/time-circle.svg");
}
