html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

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

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

:root {
  --container-max-width: 1920px;
  --container-padding: 160px;
  --body-min-width: 320px;


  --extra-light-sand: rgb(235, 235, 224);
  --brown: rgb(122, 115, 97);

	--grey: #c8c5d1;
	--txt-grey: #b0b0b0;
	--black: #333;
  --white: #fff;

  --font-family: "Montserrat", sans-serif;

  --extra-bold: 800;
  --medium: 500;
}

/* glob */
body {
  min-width: var(--body-min-width);
  min-height: 100%;
  font-size: calc(10px + 5 * (100vw / 1920));
  color: rgb(0, 46, 53);
  font-family: var(--font-family);
  font-weight: var(--medium);
  font-style: normal;
  background-color: rgb(194, 193, 182);
  overflow-x: hidden;

}

.btn-reset {
  padding: 0;
  border: none;
  background-color: transparent;
}

.btn-reset:not(:disabled) {
  cursor: pointer;
}

.title-reset {
  margin-top: 0;
  margin-bottom: 0;
}

.descr {
  margin-top: 0;
  margin-bottom: 0;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.bottom-line {
  border-bottom: 1px solid rgb(194, 193, 182);
}

/* header */
.header__container{
  position: relative;
	width: 100%;
  height: 100%;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header {
  position: absolute;
  width: 100%;
  height: 100px;
  z-index: 10;
  color: var(--white);
}

.header__top {
  height: 100%;
  background-color: rgb(0, 46, 53, 0.8);
  -webkit-box-shadow: 0px 1px 10px rgb(194, 193, 182);
          box-shadow: 0px 1px 10px rgb(194, 193, 182);
  font-size: calc(10px + 5 * (100vw / 1920));
}

.header__logo {
  position: absolute;
  left: calc(50% - 117.265px);
}

.header__logo-image {
  height: 120px;
}

.header__link {
  position: relative;
  width: 100px;
  top: 0;
  float: left;
  color: var(--white);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header__link-icon {
  display: none;
  width: 100%;
  height: 100%;
  fill: var(--white);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header__link-icon svg {
  width: 25px;
  height: 25px;
}

.header__link-icon:hover {
  fill: #b49e6a;
}

.header__link:hover {
  color: #b49e6a;
  text-decoration: none;
}

.search_bar {
  margin-left: auto;
  width: 500px;
}

.search_input {
  position: absolute;
  top: 50px;
  right: 0;
  width: 0%;
  margin: 0px;
  padding: 0;
  float: right;
  height: 36px;
  border: none;
  border-radius: 10px;
  outline: none;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.search_input:focus-visible {
  outline: none;

}

.search_input::-webkit-input-placeholder {
  color: var(--txt-grey);
}

.search_input::-moz-placeholder {
  color: var(--txt-grey);
}

.search_input:-ms-input-placeholder {
  color: var(--txt-grey);
}

.search_input::-ms-input-placeholder {
  color: var(--txt-grey);
}

.search_input::placeholder {
  color: var(--txt-grey);
}

.search_icon {
  float: right;
  outline: none;
  padding: 0px;
  margin: 0px;
  text-align: center;
  height: 40px;
  right: 0px;
  border-radius: 100%;
  background-color: var(--dark_colour);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header__search__icon rect {
  fill: rgb(194, 193, 182);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header__search__icon path {
  stroke: rgb(194, 193, 182);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header__search__icon:hover rect {
  fill: var(--brown);
}
.header__search__icon:hover path {
  stroke: var(--brown);
}

.search_icon:focus {
  outline: none;
}

.search_icon:focus + .search_input,
.search_input:hover,
.search_input:focus {
  /* width: 420px; */
  width: 100%;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  padding: 5px 15px 5px 15px;
  border: 2px solid var(--grey);
}

.autocomplete {
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}


.options {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 87px;
  color: #000;
  width: 100%;
  word-wrap: break-word;
  border-radius: 10px;
}
.options div {
  margin-top: -1px;
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
}

.options div:first-child {
  border-radius: 10px 10px 0 0;
}

.options div:last-child {
  border-radius: 0 0 10px 10px;
}

.options div:hover {
  /* при наведении курсора на элемент: */
  background-color: #d5d5d5;
}

.options div:hover ~ .search_input {
  padding: 5px 15px 5px 15px;
  width: 90%;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.options-active {
  /* при навигации по элементам используются клавиши со стрелками: */
  background-color: rgb(110, 110, 110) !important;
  color: #ffffff;
}

.header__search {
  padding-left: 14px;
  width: 581px;
  height: 44px;
  border: 1px solid var(--grey);
  font-size: 14px;
  font-weight: 400;
}

.header__search:focus {
  outline: 1px solid var(--grey);
}

::-webkit-input-placeholder {
  color: var(--grey);
  opacity: 1;
}

::-moz-placeholder {
  color: var(--grey);
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--grey);
  opacity: 1;
}

::-ms-input-placeholder {
  color: var(--grey);
  opacity: 1;
}

::placeholder {
  color: var(--grey);
  opacity: 1;
}

:focus::-webkit-input-placeholder {
  color: transparent;
}

:focus::-moz-placeholder {
  color: transparent;
}

:focus:-ms-input-placeholder {
  color: transparent;
}

:focus::-ms-input-placeholder {
  color: transparent;
}

:focus::placeholder {
  color: transparent;
}

/* hero */
.hero__container {
  padding: 0 100px;
}

.hero {
  height: 100vh;
  width: 100vw;
}

/* main slider */
.main-slider {
  padding: 0;
  height: 100vh;

}

.main-slider__box {
  height: 100vh;
}

.main-slider__card {
  position: relative;
	overflow: hidden;
  height: 100vh;

}

.main-slider__img {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  inset: 0;
}

.main-slider__img img {
  width: 100vw;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
	margin-top: -25%;
	-webkit-transform-origin: center;
	    -ms-transform-origin: center;
	        transform-origin: center;

  /* background-attachment: scroll; */
}

.first-slide .main-slider__img{
  -webkit-animation: grow 120000ms linear;
          animation: grow 120000ms linear;
}

.first-slide .main-slider__text-content {
  -webkit-animation: down 1550ms ease;
          animation: down 1550ms ease;
  -webkit-animation-delay: 200ms;
          animation-delay: 200ms
}

.first-slide .main-slider__text-content .main-slider__title,
.first-slide .main-slider__text-content .main-date {
  opacity: 0;
  -webkit-animation: right 1600ms ease;
          animation: right 1600ms ease;
  -webkit-animation-delay: 1300ms;
          animation-delay: 1300ms;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.first-slide .main-slider__text-content .main-date {
  -webkit-animation-delay: 2000ms;
          animation-delay: 2000ms;
}

.first-slide .main-slider__text-content .main-slider-descr{
  opacity: 0;
  -webkit-animation: left 1600ms ease;
          animation: left 1600ms ease;
  -webkit-animation-delay: 1700ms;
          animation-delay: 1700ms;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.first-slide .main-slider__text-content .hero__btn-container {
  opacity: 0;
  -webkit-animation: right-btn 1500ms ease;
          animation: right-btn 1500ms ease;
  -webkit-animation-delay: 1600ms;
          animation-delay: 1600ms;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes grow {
	0% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
	50% {
		-webkit-transform: scale(1.1);
		        transform: scale(1.1);
	}
  100% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
}

@keyframes grow {
	0% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
	50% {
		-webkit-transform: scale(1.1);
		        transform: scale(1.1);
	}
  100% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
}

.main-slider__text-content {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12% 4% 2% 2%;
  height: 100%;
  width: 50%;
  overflow: hidden;
  background-color: rgb(0, 46, 53, 0.8);
  -webkit-transform: skewX(156deg);
      -ms-transform: skewX(156deg);
          transform: skewX(156deg);
}

@-webkit-keyframes down {
	0% {
    top: 100%;
    right: 23%;
	}
  100% {
    top: 0;
    right: 0;
	}
}

@keyframes down {
	0% {
    top: 100%;
    right: 23%;
	}
  100% {
    top: 0;
    right: 0;
	}
}

.main-slider__title,
.main-date,
.main-slider-descr,
.hero__btn-container {
  -webkit-transform: skewX(-156deg);
      -ms-transform: skewX(-156deg);
          transform: skewX(-156deg);
}

.main-slider__title {
  position: relative;
  margin-bottom: 20px;
  width: 94%;
  font-size: calc(18px + 12 * (100vw / 1920));
  color: var(--white);
  font-weight: var(--extra-bold);

}

@-webkit-keyframes right {
	0% {
    left: -100%;
    opacity: 0;
	}
  100% {
    left: 0;
    opacity: 1;
	}
}

@keyframes right {
	0% {
    left: -100%;
    opacity: 0;
	}
  100% {
    left: 0;
    opacity: 1;
	}
}

.main-date {
  display: block;
  padding-left: 20px;
  margin-bottom: 60px;
  font-size: calc(9px + 5 * (100vw / 1920));
  color: rgb(194, 193, 182);
}

.main-slider-descr {
  position: relative;
  /* top: 49%; */
  margin-bottom: 10%;
  padding-left: 40px;
  width: 95%;
  /* z-index: 1; */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  font-size: calc(12px + 5 * (100vw / 1920));
  line-height: 1.7rem;
  overflow: hidden;
  color: var(--white);
}

@-webkit-keyframes left {
	0% {
    right: -100%;
    opacity: 0;
	}
  100% {
    right: 0;
    opacity: 1;
	}
}

@keyframes left {
	0% {
    right: -100%;
    opacity: 0;
	}
  100% {
    right: 0;
    opacity: 1;
	}
}

.hero__btn-container {
  position: relative;
  margin-top: auto;
  padding-left: 50px;
}

@-webkit-keyframes right-btn {
	0% {
    left: -100%;
    opacity: 0;
	}
  100% {
    left: 0;
    opacity: 1;
	}
}

@keyframes right-btn {
	0% {
    left: -100%;
    opacity: 0;
	}
  100% {
    left: 0;
    opacity: 1;
	}
}

.hero__btn-container div {
  width: 238px;
  height: 54px;
}

.hero__btn-link {
  color: var(--white);
}

.hero__btn-link:hover {
  color: rgb(0, 46, 53);
}

.main-slider .slick-dots {
  bottom: 20px;
}

.main-slider .slick-dots li button:before {
  font-size: 12px;
  color: var(--white);
  opacity: .25;
}

.main-slider .slick-dots li.slick-active button::before {
  color: var(--white);
  opacity: .75;
}

/* slider */
.slider-content {
  padding-top: 50px;
  background-color: inherit;
}

.slider {
  padding-bottom: 30px;
  height: 100%;
}

.slick-next {
  right: -30px;
}

.slick-prev {
  left: -50px;
}

.slick-prev:before,
.slick-next:before {
  font-size: 2.5rem;
  color: rgb(0, 46, 53);
}

.sliders__title {
  margin-bottom: 15px;
  padding-left: 13px;
  font-size: calc(20px + 20 * (100vw / 1920));
  font-weight: 600;
  color: rgb(0, 46, 53);
}

.slider__card {
  position: relative;
  height: 345px;
  overflow: hidden;
  border-radius: 20px;
  -webkit-box-shadow: 6px 5px 6px #b3b1b19e;
          box-shadow: 6px 5px 6px #b3b1b19e;
  background-color: #fff;
}

.slider__link {
  padding: 12px;
}

.slider__title {
  margin-bottom: 13px;
  font-size: calc(13px + 5 * (100vw / 1920));
  color: rgb(0, 46, 53);
  font-weight: 600;
}

.card-img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 50%;
  z-index: -1;
}

.card-text__content {
  width: 100%;
  height: 50%;
  padding: 15px;
  /* -webkit-transform: skew(20deg);
	   -moz-transform: skew(20deg);
	     -o-transform: skew(20deg); */
}

.slider-descr {
  /* margin-bottom: 90px; */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: calc(10px + 5 * (100vw / 1920));
  overflow: hidden;
}

.card-text__content .articles__btn-container {
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
}

.articles-date {
  display: block;
  font-size: calc(9px + 5 * (100vw / 1920));
  color: rgb(194, 193, 182);
}

.article__link,
.slider__link {
  position: relative;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.article__link img {
  max-height: 300px;
}

.article__link:hover,
.slider__link:hover {
  color: inherit;
  text-decoration: none;
}

/* articles */
.articles {
  padding-top: 70px;
	background: -o-linear-gradient(87deg, #333c42, #fff);
	background: -o-linear-gradient(87deg, rgb(0, 46, 53), rgb(194, 193, 182));
	background: linear-gradient(3deg, rgb(0, 46, 53), rgb(194, 193, 182));
}

.articles__container {
  padding-bottom: 50px;
}

.archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, 32.33%);
  grid-auto-rows: 20px;
  grid-row-gap: 10px;
  grid-column-gap: 1.5%;
  /* columns: 5 200px;
  column-gap: 20px; */
  margin-bottom: 50px;
}



/* .archive::after {
  content: '';
  display: block;
  clear: both;
} */

.articles__title {
  margin-bottom: 30px;
  font-size: 60px;
  font-weight: 600;
  color: rgb(0, 46, 53);

}

.article {
  margin-bottom: 1.3%;
  /* display: flex;
  flex-direction: column; */
  /* max-height: 490px;
  max-width: 871px; */
  /* margin-bottom: 1.5%; */
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-shadow: 10px 8px 20px var(--black);
          box-shadow: 10px 8px 20px var(--black);
  background-color: #000;
}

.article-sizer {
  grid-row-end: span 13;
}
/* .article-sizer,
.article {
  width: 23.875%;
} */

.video-sizer {
  grid-row-end: span 11;
}

.shorts-sizer {
  grid-row-end: span 18;
}

.article-img {
  grid-row-end: span 10;
}

.gutter-sizer {
  width: 1.5%;
}

.article-img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* video */
.youtube-wrap,
.youtube-shorts {
	position: relative;
  height: 100%;
}

.article-shorts {
  min-height: 515px;

}

.youtube-wrap div[youtube] {
  position: relative;
  height: 100%;
	background: #000;
	cursor: pointer;
}

.details-youtube {
  padding-bottom: 56.25%;
}

.youtube-shorts div[shorts] {
  position: relative;
  /* padding-bottom: 100%; */
  height: 100%;
	background: #000;
	cursor: pointer;
}

.article-video > .article__link img {
  height: 100%;
  width: 100%;
}

.youtube-wrap div[youtube]:before,
.youtube-shorts div[shorts]:before
/* .article-video::before */
{
	content: "";
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.5);
	border: 4px solid #BFE2FF;
	width: 80px;
	height: 80px;
	z-index: 3;
	-webkit-box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
	        box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	    -ms-transform: translateX(-50%) translateY(-50%);
	        transform: translateX(-50%) translateY(-50%);

	-webkit-transition: 0.2s;

	-o-transition: 0.2s;

	transition: 0.2s;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' stroke='%23BFE2FF' fill='%23BFE2FF' stroke-linecap='round'%3e%3cpolygon points='5 3 19 12 5 21 5 3'%3e%3c/polygon%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-size: 60%;
	background-position: 60% 50%;
}

.youtube-wrap div[youtube]:hover:before,
.youtube-shorts div[shorts]:hover:before
/* .article-video:hover::before */
{
  width: 82px;
  height: 82px;
	background-color: rgba(0, 0, 0, 0.7);
	border: 4px solid #FFF;
}

.youtube-shorts div[shorts].show:before,
.youtube-shorts div[shorts].show:after,
.youtube-wrap div[youtube].show:before,
.youtube-wrap div[youtube].show:after {
    display: none;
}

.youtube-wrap div[youtube] iframe,
.youtube-wrap div[youtube] img,
.youtube-shorts div[shorts] iframe,
.youtube-shorts div[shorts] img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	z-index: 1;
  height: 100%;
}

.youtube-wrap div[youtube] img {
	z-index: 2;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: 50% 50%;
	   object-position: 50% 50%;
}

.youtube-shorts div[shorts] img {
	z-index: 2;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: 50% 50%;
	   object-position: 50% 50%;
}

@media screen and (max-width: 420px) {
	.youtube-wrap div[youtube]:before {
		width: 60px;
		height: 60px;
		border: 4px solid #BFE2FF;
	}
  .youtube-shorts div[shorts]:before {
		width: 60px;
		height: 60px;
		border: 4px solid #BFE2FF;
	}
}

.article__card-img {
  height: 50%;
  width: 100%;
  max-height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}

.article__card-text {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 15px 15px 15px 15px;
  background-color: #fff;
  height: 50%;
}


.article__title {
  margin-bottom: 10px;
  font-size: 20px;
  /* color: var(--black); */
  font-weight: var(--extra-bold);
  color: rgb(0, 46, 53);
}


.article__descr {
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



.articles__btn-container {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.articles__btn {
  position: relative;
  width: 240px;
  height: 50px;
  display: inline-block;
  text-align: center;
}

.articles__btn a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(255, 255, 255, 0.05);
  -webkit-box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  padding: 10px 10px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  font-family: var(--font-family);
  font-weight: bold;
  font-size: calc(10px + 5 * (100vw / 1920));
  z-index: 1;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
}

.articles__btn-link {
  color: var(--white);
}

.articles__btn-link:hover {
  color: rgb(0, 46, 53);
}

.articles__btn:hover a {
  letter-spacing: 3px;
}

.articles__btn a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: -o-linear-gradient(right, rgba(253, 250, 250, 0.2), transparent);
  background: -webkit-gradient(linear, right top, left top, from(rgba(253, 250, 250, 0.2)), to(transparent));
  background: linear-gradient(to left, rgba(253, 250, 250, 0.2), transparent);
  -webkit-transform: skewX(45deg) translate(0);
      -ms-transform: skewX(45deg) translate(0);
          transform: skewX(45deg) translate(0);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-filter: blur(0px);
          filter: blur(0px);
}
.articles__btn:hover a:before {
  -webkit-transform: skewX(45deg) translate(200px);
      -ms-transform: skewX(45deg) translate(200px);
          transform: skewX(45deg) translate(200px);
}
.articles__btn a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  border-radius: 30px;
  z-index: -1;
}
.articles__btn:hover a:after {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.articles__btn:before {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translatex(-50%);
      -ms-transform: translatex(-50%);
          transform: translatex(-50%);
  bottom: 1px;
  width: 145px;
  height: 2px;
  background: #f00;
  border-radius: 10px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transition-delay: 0.5;
       -o-transition-delay: 0.5;
          transition-delay: 0.5;
}
.articles__btn:hover:before {
  bottom: 0;
  height: 50%;
  width: 80%;
  border-radius: 30px;
}
.articles__btn:after {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translatex(-50%);
      -ms-transform: translatex(-50%);
          transform: translatex(-50%);
  top: 1px;
  width: 145px;
  height: 1px;
  background: #f00;
  border-radius: 10px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transition-delay: 0.5;
       -o-transition-delay: 0.5;
          transition-delay: 0.5;
}
.articles__btn:hover:after {
  top: 0;
  height: 50%;
  width: 80%;
  border-radius: 30px;
}

.articles__btn.btn-animation a:after,
.articles__btn.btn-animation:before,
.articles__btn.btn-animation:after {
  background: rgb(194, 193, 182);
  -webkit-box-shadow: 0 0 5px rgb(194, 193, 182), 0 0 1px rgb(194, 193, 182), 0 0 30px rgb(194, 193, 182), 0 0 0 rgb(194, 193, 182);
          box-shadow: 0 0 5px rgb(194, 193, 182), 0 0 1px rgb(194, 193, 182), 0 0 30px rgb(194, 193, 182), 0 0 0 rgb(194, 193, 182);
}





/* footer */
.footer {
  background-color: rgb(0, 46, 53);
  color: var(--white);
  flex: 0 0 auto;
}

.footer__content{
          -webkit-box-pack: end;
              -ms-flex-pack: end;
                  justify-content: flex-end;
  padding: 30px 0;
  font-size: calc(12px + 5 * (100vw / 1920));
}

.footer__reference {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 30%;
}

.footer__contacts {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 30%;
}

.footer__contacts-descr {
  margin-bottom: 25px;
}

.footer__contacts-links {
  margin-bottom: 25px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.footer__social {
  gap: 10px;
}

.footer__social a svg {
  width: 40px;
  height: 40px;
  fill: rgb(194, 193, 182);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.youtube-link:hover svg {
  fill: var(--brown);
}

.vk-link:hover svg {
  fill: var(--brown);
}

.tiktok-link:hover svg {
  fill: var(--brown);
}

.dzen-link:hover svg {
  fill: var(--brown);
}



/* details */
.details-body {
  background-color: rgb(224, 224, 215);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header-details {
  position: fixed;
}

.main__container {
  padding-top: 125px;
}

.main__article {
  margin-bottom: 60px;
}

.main__article-top {
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgb(224, 224, 215);
}

.article-top__img {
  width: 50%;
  height: auto;
}

.article-top__img img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.article-top__title-content {
  padding: 50px 20px 20px;
  width: 50%;
  background-color: var(--extra-light-sand);
}

.main-details {
  margin-bottom: 15px;
  flex: 1 0 auto;
}

.main-search {
  flex: 1 0 auto;
}
.article-top__title {
  margin-bottom: 10px;
  font-size: calc(14px + 34 * (100vw / 1920));
  font-weight: 700;
}

.article-top__date {
  display: block;
  margin-bottom: 20px;
  font-size: calc(9px + 6 * (100vw / 1920));
  color: rgb(194, 193, 182);
}

.article-top__subtitle {
  font-size: calc(11px + 15 * (100vw / 1920));
}


.main__article-content {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: rgb(224, 224, 215);
}

.main__article-text {
  padding: 30px 30px 30px 330px;
  width: 80%;
}

.main__article-text ul,
.main__article-text ol {
  margin: 0;
  margin-bottom: 35px;
  list-style-type: square;
  font-size: calc(12px + 5 * (100vw / 1920));
  line-height: 1.7rem;
}

.main__article-nav {
  width: 250px;
}

.table-of-contents {
  position: sticky;
  position:-webkit-sticky;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  top: 82px;
  padding: 30px;
  background-color: var(--extra-light-sand);
  border: 1px solid rgb(224, 224, 215);
  border-radius: 10px;
}

.table-of-contents__title {
  font-size: calc(16px + 12 * (100vw / 1920));
  font-weight: 600;
}

.table-of-contents__link {
  font-size: calc(12px + 5 * (100vw / 1920));
}

.nav-link {
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.nav-link:hover {
  color: var(--brown);
}

.main__article-text h1,
.main__article-text h2,
.main__article-text h3,
.main__article-text h4,
.main__article-text h5,
.main__article-text h6 {
  margin-bottom: 25px;
  margin-top: 0;
  font-size: calc(16px + 12 * (100vw / 1920));
  font-weight: 600;
  scroll-margin-top: 100px;
}

.main__article-text p {
  margin-bottom: 35px;
  font-size: calc(12px + 5 * (100vw / 1920));
  line-height: 1.7rem;
}

.main__article-text img {
  display: block;
  width: 100%;
  margin: 0 auto 35px auto;
  border-radius: 20px;
  overflow: hidden;
}

.main__article-video {
  width: 100%;
  margin: 0 auto 35px auto;
  border-radius: 20px;
  overflow: hidden;
}

.main__video {
  padding-top: 115px;
}

.main__video-content {
  margin: 0 auto 30px auto;
  max-width: 75%;
  border-radius: 20px;
  overflow: hidden;
}

.main__video-container {
  margin-bottom: 50px;
  padding-bottom: 30px;
}

.main__video-text-descr {
  margin: 0 auto;
  max-width: 75%;
  font-size: calc(11px + 4 * (100vw / 1920));
  line-height: 1.5rem;
}

/* Стили для выделения текста в статье */
.bold {
  font-weight: 700;
}

.italic {
  font-style: italic
}

.blockquote {
  border: 2px solid var(--brown);
  border-radius: 10px;
  font-size: calc(12px + 5 * (100vw / 1920));
  font-style: italic;
  margin: 16px 31px 40px 16px;
  padding: 16px 24px;
  position: relative;
  background-color: var(--extra-light-sand);
  -webkit-box-shadow: 15px 15px 0 0 var(--brown);
          box-shadow: 15px 15px 0 0 var(--brown);
}
.blockquote cite {
  color: var(--brown);
  font-size: calc(11px + 5 * (100vw / 1920));
  padding-top: 10px;
  display: block;
  text-align: right;
}


/* стили для галереи фото */
.main__pictures {
  padding-top: 120px;
  padding-bottom: 40px;
}

.main__pictures-title,
.main__video-title {
  margin-bottom: 35px;
  text-align: center;
  font-size: 55px;
  font-weight: 700;
  color: #11171b;
}

.gallery__img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  -o-object-fit: cover;
     object-fit: cover;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s; /* Время эффекта */
  -webkit-box-shadow: 7px 5px 13px var(--black);
          box-shadow: 7px 5px 13px var(--black)

}

.gallery__img:hover {
  -webkit-transform: scale(1.03);
      -ms-transform: scale(1.03);
          transform: scale(1.03);
}


/* скрытые карточки */
/* .second-page {
  display: ;
} */


.separator {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  white-space: nowrap;
}

.separator:hover,
.separator-line:hover,
.recommended-articles:hover {
  background-color: #fff !important;
  cursor: context-menu !important;
}

.separator-title {
  font-size: calc(7px + 5 * (100vw / 1920));
  color: var(--txt-grey);
  text-transform: uppercase;
}

.separator-line {
  margin-top: 0px;
  margin-left: 4px;
  padding: 0 !important;
  height: 1px;
  width: 100%;
  border-bottom: 1px solid var(--txt-grey) !important;
}


.recommended-articles {
  padding: 0 !important;
}

.recommended-article-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px;
}

.recommended-article-item:hover {
  background-color: #d5d5d5;
  color: inherit;
  text-decoration: none;
}

.recommended-article__img {
  margin-right: 15px;
  height: 45px;
  width: 45px;
}

.recommended-article__title {
  font-weight: 600;
}

/* Страница с результатами поиска */
.search {
  margin-bottom: 50px;
}

.search-results {
  padding-top: 120px;
}

.search-message {
  margin-bottom: 40px;
  text-align: center;
}

.found-articles {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 30px;
}

.found-article__link {
  /* width: 50%; */
  max-height: 240px;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 9px 6px 20px var(--txt-grey);
          box-shadow: 9px 6px 20px var(--txt-grey);
  /* background-color: #000; */
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.found-article__link:hover {
  color: inherit;
  text-decoration: none;
  -webkit-transform: scale(1.03);
      -ms-transform: scale(1.03);
          transform: scale(1.03);
}


.found-article__card-text {
  background-color: var(--extra-light-sand);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.found-article__card-img {
  max-width: 40%;
  -o-object-fit: cover;
     object-fit: cover;
}

.found-article__card-text {
  width: 100%;
  padding: 20px;
}

.found-article__title {
  margin-bottom: 10px;
  font-size: 20px;
  /* color: var(--black); */
  font-weight: 600;
  color: #11171b;
}

.found-article__descr {
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.similar-results__title {
  margin-bottom: 25px;
  font-size: calc(16px + 12 * (100vw / 1920));
  font-weight: 600;
}
