
@layer base, component, mod;

@layer base{

/**
 * Swiper 12.0.3
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: October 21, 2025
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 367px;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
}
  .swiper-3d .swiper-slide,
  .swiper-3d .swiper-cube-shadow {
    transform-style: preserve-3d;
  }

/* CSS Mode */
  .swiper-css-mode > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
  }
    .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
      display: none;
    }
  .swiper-css-mode > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
    .swiper-css-mode.swiper-horizontal > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    .swiper-css-mode.swiper-vertical > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    .swiper-css-mode.swiper-free-mode > .swiper-wrapper {
      scroll-snap-type: none;
    }
    .swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
    .swiper-css-mode.swiper-centered > .swiper-wrapper::before {
      content: '';
      flex-shrink: 0;
      order: 9999;
    }
    .swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
    .swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
      -webkit-margin-start: var(--swiper-centered-offset-before);
              margin-inline-start: var(--swiper-centered-offset-before);
    }
    .swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
    .swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
      -webkit-margin-before: var(--swiper-centered-offset-before);
              margin-block-start: var(--swiper-centered-offset-before);
    }
    .swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }

/* Slide styles start */
/* 3D Shadows */
  .swiper-3d .swiper-slide-shadow,
  .swiper-3d .swiper-slide-shadow-left,
  .swiper-3d .swiper-slide-shadow-right,
  .swiper-3d .swiper-slide-shadow-top,
  .swiper-3d .swiper-slide-shadow-bottom,
  .swiper-3d .swiper-slide-shadow,
  .swiper-3d .swiper-slide-shadow-left,
  .swiper-3d .swiper-slide-shadow-right,
  .swiper-3d .swiper-slide-shadow-top,
  .swiper-3d .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-3d .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-3d .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-3d .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-3d .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-3d .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
  .swiper:not(.swiper-watch-progress) .swiper-lazy-preloader, .swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */

/* BREAKPOINTS
------------------------- */

/* COLORS
------------------------ */

/* EFFECTS
------------------------ */

:root {
  /* SECTION SPACING  */
  --spacing: 100px;
  /* FONTS  */
  --font-primary: 'manrope', sans-serif, -apple-system, blinkmacsystemfont,
    roboto, ubuntu, 'Droid Sans', 'Helvetica Neue', arial, sans-serif,
    'Apple Color Emoji';
}

:root {
  /* COLORS
  ------------------------- */
  --color-primary: #2E343F;
  --color-primary--rgb: 46, 52, 63;
  --color-alt: #000;
  --color-alt--rgb: 0, 0, 0;
  --color-blck: #000;
  --color-blck--rgb: 0, 0, 0;
  --color-whte: #fff;
  --color-whte--rgb: 255, 255, 255;
  --color-gry: #D9D9D9;
  --color-gry--rgb: 217, 217, 217;
  --color-text: #000;
  --color-text--rgb: 0, 0, 0;
  --color-text-alt: #a8a8a8;
  --color-text-alt--rgb: 168, 168, 168;
  --color-bg: #000;
  --color-bg--rgb: 0, 0, 0;
  --color-bg-secondary: #e0e0e0;
  --color-bg-secondary--rgb: 224, 224, 224;
  --color-accent: #7E121B;
  --color-accent--rgb: 126, 18, 27;
  --color-success: #259243;
  --color-success--rgb: 37, 146, 67;
  --color-error: #f00;
  --color-error--rgb: 255, 0, 0;
  --color-red: #E31F26;
  --color-red--rgb: 227, 31, 38;
  --font-size-default: 16px;
  /** Z-INDEX SYSTEM
  ------------------------- */
  --index-1: 100;
  --index-2: 200;
  --index-3: 1200;
  --index-4: 1300;
}

@layer base {
  * {
    margin: 0;
    padding: 0;
    border: 0;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  *::before,
  *::after {
    display: inline-block;
  }
  html,
  body {
    min-width: 360px;
    height: 100%;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scrollbar-gutter: stable;
  }
  body {
    color: var(--color-primary);
    font-size: var(--font-size-default);
    font-family: var(--font-primary);
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%;
            text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  ::-webkit-scrollbar {
    width: 6px;
    height: 5px;
  }
  ::-webkit-scrollbar-track {
    background: var(--color-scroll-bg);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-alt);
    border-radius: 10px;
  }
  ::selection {
    color: var(--color-whte);
    background: var(--color-primary);
  }
  input,
  button,
  textarea {
    font-size: inherit;
    font-family: var(--font-primary);
    line-height: inherit;
  }
  button {
    color: inherit;
    font-family: var(--font-primary);
    background-color: transparent;
    outline: 0;
    cursor: pointer;
  }
  div[class*=__text] p:only-of-type,
  div[class*=__text] p:last-of-type,
  div[class*=__details] p:only-of-type,
  div[class*=__details] p:last-of-type,
  div[class*=__note] p:only-of-type,
  div[class*=__note] p:last-of-type {
    margin: 0;
  }
  [class*=image] img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
  }
  ul li {
    list-style: none;
  }
  img {
    vertical-align: top;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: inherit;
    font-size: inherit;
  }
  address,
  cite {
    font-style: normal;
  }
  fieldset,
  dl,
  dd {
    margin: 0;
    padding: 0;
  }
  fieldset {
    border: none;
  }
}

.lock body {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

@font-face {
  font-weight: 400;
  font-family: "manrope";
  font-style: normal;
  src: url("/fonts/manrope-400.woff2") format("woff2"), url("/fonts/manrope-400.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-weight: 700;
  font-family: "manrope";
  font-style: normal;
  src: url("/fonts/manrope-700.woff2") format("woff2"), url("/fonts/manrope-700.woff") format("woff");
  font-display: swap;
}

/* stylelint-disable*/

/* IMPORTS
---------------------------- */

body::after {
  position: fixed;
  top: 0;
  left: 0;
  z-index: calc(var(--index-3) - 1);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.8s ease 0s;
  content: "";
  pointer-events: none;
}

[data-popup].popup-open {
  pointer-events: none;
}

.popup-show body::after {
  opacity: 1;
}

@layer component {
  .popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px 10px;
    visibility: hidden;
    transition: visibility 0.8s ease 0s;
    pointer-events: none;
  }
  /* stylelint-disable-next-line selector-class-pattern */
  .popup_show {
    z-index: var(--index-3);
    overflow: auto;
    visibility: visible;
    pointer-events: auto;
  }
  /* stylelint-disable-next-line selector-class-pattern */
  .popup_show .popup__content {
    transform: scale(1);
    visibility: visible;
  }
  .popup__wrapper {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
  }
  .popup__content {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    background-color: #eee;
    border-radius: 20px;
    transform: scale(0);
    visibility: hidden;
    transition: transform 0.3s ease 0s;
  }
  .lock .popup__content {
    visibility: visible;
  }
}

/* stylelint-enable*/

/* UTILS
---------------------------- */

/* stylelint-disable-next-line scss/percent-placeholder-pattern */

.header {
  width: 100%;
  padding: 8px 0;
  background: url("/upload/image/design/default/header-bg.webp") center center/cover repeat-x;
  position: relative;
  z-index: 99;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.header__logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  aspect-ratio: 1/1;
}

.header__logo-img img {
  display: block;
  width: 100%;
}

.header__burger {
  display: block;
  width: 24px;
  height: 16px;
  position: relative;
}

.header__burger.is-active span:nth-of-type(1) {
  opacity: 0;
}

.header__burger.is-active span:nth-of-type(2) {
  top: 8px;
  transform: rotate(45deg);
}

.header__burger.is-active span:nth-of-type(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.header__burger span {
  position: absolute;
  width: 24px;
  height: 1px;
  left: 0;
  background-color: var(--color-whte);
}

.header__burger span:nth-of-type(1) {
  top: 0;
}

.header__burger span:nth-of-type(2) {
  top: 8px;
}

.header__burger span:nth-of-type(3) {
  top: 16px;
}

.header__main {
  position: fixed;
  display: flex;
  flex-direction: column;
  inset: 72px 0 0 0;
  background-color: var(--color-whte);
  z-index: -1;
  width: 100%;
  height: calc(100svh - 72px);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
}

.header__main.is-active {
  transform: translateX(0);
}

.header__socials, .header__socials p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__search {
  display: none;
  max-width: 378px;
  width: 100%;
}

.header__search-field {
  display: block;
  width: 100%;
  height: 38px;
  padding: 16px 16px 16px 64px;
  background: url("/upload/image/design/default/search.svg") top 5px left 8px/30px no-repeat, var(--color-whte);
  border: none;
  outline: none;
  border-radius: 5px;
}

.header__top {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  order: 99;
  margin-top: auto;
  flex-direction: column;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.header__nav-link {
  transition: opacity 0.25s ease-in-out;
}

.header__nav-dropdown {
  position: relative;
}

.header__nav-dropdown .header__nav-link {
  padding: 8px 24px;
  background-color: var(--color-accent);
  color: var(--color-whte);
  border-radius: 100px;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.header__nav-dropdown-link {
  /*font-size: 14px;*/
  transition: opacity 0.25s ease-in-out;
}

.header__nav-dropdown-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 8px;
  padding-left: 24px;
}

.header__nav-dropdown-list::before {
  content: "";
  width: 100%;
  height: 14px;
  top: -14px;
  position: absolute;
}

.footer {
  background-color: var(--color-primary);
  color: var(--color-whte);
  padding: 40px 0;
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__logo {
  display: block;
  width: 80px;
  aspect-ratio: 1/1;
}

.footer__logo img {
  display: block;
  width: 100%;
}

.footer__desc {
  max-width: 345px;
  font-size: 16px;
  line-height: 2;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social {
  transition: opacity 0.25s ease-in-out;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__col-title {
  font-size: 20px;
  line-height: 1.3;
}

.footer__link {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(var(--color-whte--rgb), 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease-in-out;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #F9F9F9;
  font-size: 14px;
  line-height: 1.4;
}

.footer__developer {
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease-in-out;
}

.footer__copyright {
  color: #D9D9D9;
}

.pagination {
  width: 100%;
  padding-top: 20px;
}

.pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  border: 1px solid var(--color-blck);
  color: var(--color-blck);
  border-radius: 10px;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.pagination__btn.is-active {
  background-color: var(--color-accent);
  color: var(--color-whte);
  border: 1px solid var(--color-accent);
}

/* stylelint-disable*/

@layer component {
  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@layer mod {}

/* stylelint-enable*/

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

@supports (overflow: clip) {
  .wrapper {
    overflow: clip;
  }
}

.wrapper > main {
  flex: 1 1 auto;
}

.wrapper > * {
  min-width: 0;
}

@layer base {
  [class*=__container],
  .container {
    --pad: 15px;
    box-sizing: border-box;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 var(--pad);
  }
}

@layer component {
  .hero {
    padding: 20px 0 0;
  }
  .hero__slider {
    position: relative;
    overflow: hidden;
  }
  .hero__slider .swiper-pagination {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
  }
  .hero__slider .swiper-pagination-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
  }
  .hero__slider .swiper-pagination-bullet::before {
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--color-gry);
    border-radius: 50%;
  }
  .hero__slider .swiper-pagination-bullet-active {
    background-color: var(--color-whte);
  }
  .hero__slider .swiper-pagination-bullet-active::before {
    background-color: var(--color-red);
  }
  .hero__item {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 80px 20px;
    color: var(--color-whte);
    z-index: 1;
  }
  .hero__item-img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
  }
  .hero__item-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero__item-info {
    max-width: 690px;
    width: 100%;
  }
  .hero__item-title {
    max-width: 580px;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 4px 4px 0 #000;
  }
  .hero__item-desc {
    max-width: 590px;
    font-size: 16px;
    line-height: 1.32;
    text-shadow: 2px 2px 0 #000;
  }
}

@layer component {
  .news__content {
    padding: 40px 20px 20px;
    background-color: var(--color-whte);
    box-shadow: 0px 4px 26.2px 0px rgba(0, 0, 0, 0.2705882353);
    border-radius: 15px;
  }
  .news__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .news__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .news__item-img {
    display: block;
    width: 120px;
    aspect-ratio: 205/184;
    flex-shrink: 0;
  }
  .bd__item-img {
    display: block;
    width: 120px;
    flex-shrink: 0;
  }
  .news__item-img img, .bd__item-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  .news__item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
  }
  .news__item-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 16px;
  }
  .news__item-desc {
    font-size: 16px;
    line-height: 1.4;
  }
}

@layer component {
  .announcements__content {
    padding: 20px;
    background-color: var(--color-whte);
    border-radius: 15px;
    box-shadow: 0px 4px 26.8px 0px rgba(0, 0, 0, 0.3294117647);
  }
  .announcements__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .announcements__item-date {
    font-size: 14px;
    line-height: 1.4;
    color: #FF383C;
    margin-bottom: 12px;
  }
  .announcements__item-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .announcements__item-desc {
    font-size: 16px;
    line-height: 1.4;
  }
}

@layer component {
  .birthdays__content {
    padding: 20px;
    background-color: var(--color-whte);
    box-shadow: 0px 4px 18.1px 0px rgba(0, 0, 0, 0.3411764706);
    border-radius: 16px;
  }
  .birthdays__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .birthdays__item {
    font-size: 16px;
    line-height: 1.4;
  }
  .birthdays__item b {
    font-size: 18px;
  }
}

@layer component {
  .blog {
    padding: 44px 0 40px;
  }
  .blog__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .blog__asside {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
}

@layer component {
  .section-heading {
    display: inline-block;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    background-color: var(--color-accent);
    color: var(--color-whte);
    border-radius: 24px;
    padding: 2px 16px;
    margin-bottom: 16px;
    box-shadow: 0px 4px 26.8px 0px rgba(0, 0, 0, 1);
  }
}

@media only screen and (min-width: 767.98px) {
  .footer__nav {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
  }
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 24px;
  }
  @layer base{
    [class*=__container],
    .container {
      --pad: 20px;
    }
}
  @layer component{
    .news__item {
      flex-direction: row;
      align-items: flex-start;
    }
}
  @layer component{
    .news__item-img {
      width: 205px;
    }
}
}

@media only screen and (min-width: 1023.98px) {

@layer component{
    .hero__item-title {
      font-size: 34px;
      line-height: 1.2;
    }
}

@layer component{
    .hero__item-desc {
      font-size: 20px;
      line-height: 1.6;
    }
}
  }

@media only screen and (min-width: 1119.98px) {
  .header {
/*    padding: 36px 0 16px;*/
  }
  .header__container {
    align-items: flex-start;
/*    padding: 1em;*/
  }
  .header__logo-img {
    width: 120px;
  }
  .header__burger {
    display: none;
  }
  .header__main {
    position: static;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
    padding-top: 10px;
    transform: none;
    transition: unset;
    width: auto;
    height: auto;
    padding: 0;
    pointer-events: all;
    z-index: unset;
  }
  .header__search {
    display: block;
  }
  .header__top {
    order: unset;
    margin: 0;
  }
  .header__nav-list {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .header__nav-link {
    color: var(--color-whte);
  }
  .header__nav-dropdown-list {
    position: absolute;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    margin-top: 12px;
    min-width: 250px;
    max-width: 320px;
    gap: 10px;
    padding: 24px;
    background-color: var(--color-whte);
    border-radius: 16px;
    box-shadow: 0px 4px 16.5px 6px rgba(0, 0, 0, 0.0901960784);
  }
  .footer {
    padding: 20px 0;
  }
  .footer__main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer__info {
    gap: 30px;
  }
  .footer__logo {
    width: 110px;
  }
  .footer__socials, .footer__socials p {
	display: flex;
    gap: 30px;
  }
  .footer__nav {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer__col {
    gap: 38px;
  }
  .footer__col-links {
    gap: 16px;
  }
  .footer__col-title {
    font-size: 24px;
    line-height: 1.6;
  }
  .pagination {
    padding: 30px 0;
  }
  @layer component{
    .hero__slider .swiper-pagination {
      bottom: 48px;
    }
}
  @layer component{
    .news__content {
      padding: 32px 44px 32px 44px;
    }
}
  @layer component{
    .news__list {
      gap: 54px;
    }
}
  @layer component{
    .news__item {
      gap: 44px;
    }
}
  @layer component{
    .news__item-title {
      font-size: 20px;
      line-height: 1.3;
    }
}
  @layer component{
    .news__item-date {
      font-size: 15px;
      line-height: 1.3;
    }
}
  @layer component{
    .news__item-desc {
    	font-size: 14px;
    	line-height: 1.5;
    }
}
  @layer component{
    .announcements__content {
      padding: 30px;
    }
}
  @layer component{
    .announcements__list {
      gap: 38px;
    }
}
  @layer component{
    .announcements__item-date {
      margin-bottom: 22px;
    }
}
  @layer component{
    .announcements__item-title {
      font-size: 20px;
      margin-bottom: 16px;
    }
}
  @layer component{
    .announcements__item-desc {
    	font-size: 14px;
        line-height: 1.5;
    }
}
  @layer component{
    .birthdays__content {
      padding: 30px;
    }
}
  @layer component{
    .birthdays__item {
      font-size: 14px;
    }
    .birthdays__item b {
      font-size: 14px;
    }
}
  @layer component{
    .blog {
      padding: 20px 0 40px;
    }
}
  @layer component{
    .blog__container {
      display: grid;
      grid-template-columns: 1fr 300px;
      align-items: flex-start;
      gap: 36px;
    }
}
  @layer component{
    .blog__asside {
      width: 300px;
      gap: 84px;
    }
}
  @layer component{
    .section-heading {
      font-size: 24px;
      margin-bottom: 24px;
      padding: 4px 16px;
      border-radius: 40px;
    }
}
}

@media only screen and (min-width: 1439.98px) {
  .header__logo-img {
    width: 90px;
    margin: 0 0 .5em 0;
  }
  .footer__nav {
    max-width: 900px;
  }
  @layer component{
    .hero__item {
      /*padding: 122px 100px 114px 100px;*/
    }
}
}

@media (max-width: 991.98px) {
  :root {
    --spacing: 80px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --spacing: 60px;
  }
}

@media (hover: hover) {
  .header__nav-link:hover {
    opacity: 0.6;
  }
  .header__nav-dropdown:hover:hover .header__nav-dropdown-list {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    z-index: 1;
  }
  .header__nav-dropdown .header__nav-link:hover {
    background-color: var(--color-whte);
    color: var(--color-accent);
    opacity: 1;
  }
  .header__nav-dropdown-link:hover {
    font-size: 16px;
    opacity: 0.6;
  }
  .footer__social:hover {
    opacity: 0.6;
  }
  .footer__link:hover {
    border-color: currentColor;
  }
  .footer__developer:hover {
    border-color: currentColor;
  }
  .pagination__btn:hover:hover {
    background-color: var(--color-accent);
    color: var(--color-whte);
    border: 1px solid var(--color-accent);
  }
  @layer component{
    .news__item:hover:hover .news__item-title {
      color: var(--color-accent);
    }
}
  @layer component{
    .announcements__item:hover:hover .announcements__item-title {
      color: var(--color-accent);
    }
}
}

@media only screen and (max-width: 1119.98px){
  .header__container2 {
	position: absolute;
        top: 1em;
        right: 1em;
  }
}

.header__logo-title {
	display: block;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.22;
    font-weight: 700;
    color: var(--color-whte);
    text-align: center;
    padding: 0 3em 0 0;
    z-index: -1;
}


@media only screen and (min-width: 440px){
	.header__container2 {
		right: 2em;
	}
}

@media only screen and (min-width: 768px){
	.header__logo-title {
	    font-size: 23px;
	    text-align: left;
	}
    
    .header__logo-img {
    	width: 90px;
    }
    
    .header__container {
    	align-items: stretch;
    }
	.header__container2 {
		right: 3em;
	}
}

@media only screen and (max-width: 426px){
	.hero {
		display: none;
	}
	.blog {
    	padding: 16px 16px 40px 0px;
	}
}

@media only screen and (max-width: 1025px){
	.header__container1 {
	    flex-direction: column;
	    gap: 8px;
	}
    .header__main1 {
        position: static;
        background-color: transparent;
        transform: none;
        width: auto;
        height: auto;
        padding: 0;
    }   
    .header__top {
	    align-items: center;
	    justify-content: space-between;
	}
    .header__search {
        display: block;
    }
}

.news__content ul, .news__content ol {
	margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
}

.news__content ul li {
	list-style: disc;
}
.news__content ol li {
	list-style: auto;
}
.news__content ul li ul li {
	list-style: circle;
}

hr {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    border-style: inset;
    border-width: 1px;
}

.news__content h1, .news__content h2, .news__content h3, .news__content h4, .news__content h5, .news__content h6 {
    font-weight: revert;
    font-size: revert;
}

.news__content img{
	border-radius: 12px;
}

.news__content a:hover{
	color: var(--color-accent);
}

/*таблицы с переносом ячеек в мобильной версии*/
.flex-table tr{
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.space-between tr{
	justify-content: space-between;
}

.header__main{
	inset: 190px 0 0 0;
}
@media only screen and (min-width: 410px){
	.header__main{
		inset: 170px 0 0 0;
	}
}
@media only screen and (min-width: 768px){
	.header__main{
		inset: 200px 0 0 0;
	}
}
@media only screen and (min-width: 1026px){
	.header__main{
		inset: 105px 0 0 0;
	}
}
