@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* make sure to set some focus styles for accessibility */
:focus {
  outline: 0; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none; }

input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box; }

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical; }

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  max-width: 100%; }

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
  display: none; }

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted; }

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0; }

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0;
  /* 1 */
  -ms-interpolation-mode: bicubic;
  /* 2 */ }

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0; }

/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0; }

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  white-space: normal;
  /* 2 */
  *margin-left: -7px;
  /* 3 */ }

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%;
  /* 1 */
  margin: 0;
  /* 2 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
  /* 3 */ }

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal; }

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
  /* 4 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
  *height: 13px;
  /* 3 */
  *width: 13px;
  /* 3 */ }

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box; }

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */ }

/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0; }

html,
button,
input,
select,
textarea {
  color: #222; }

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

img {
  vertical-align: middle; }

fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

textarea {
  resize: vertical; }

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

html {
  font-size: 62.5%; }

body {
  background-color: #181818;
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
  body.no-scroll, body.show-sidebar {
    overflow: hidden; }

*,
*:before,
*:after {
  box-sizing: border-box; }

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

/* Blocks */
.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden; }
  @media screen and (max-width: 991px) {
    .show-sidebar .page {
      position: relative; }
      .show-sidebar .page:after {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100; } }

.page__title {
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 3rem; }
  .page__title--center {
    text-align: center; }

.header {
  display: flex;
  width: calc(100% - 300px);
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.25);
  background-color: #0D0D0D;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000; }
  @media screen and (max-width: 991px) {
    .header {
      width: 100%; } }

.header__left {
  width: 60%; }
  @media screen and (max-width: 991px) {
    .header__left {
      width: 40%; } }

.header__right {
  width: 40%;
  display: flex;
  justify-content: flex-end; }
  @media screen and (max-width: 991px) {
    .header__right {
      width: 60%; } }

.nav--mobile {
  display: none;
  margin: 3rem 0; }

@media screen and (max-width: 991px) {
  .nav {
    display: none; }
    .nav--mobile {
      display: block; } }

.nav__list {
  display: flex; }
  @media screen and (max-width: 991px) {
    .nav__list {
      flex-direction: column; } }

.nav__item {
  position: relative; }
  .nav__item:hover .nav__link {
    background-color: #3137C9;
    text-decoration: none; }
  .nav__item:hover > .subnav {
    display: block; }
  @media screen and (max-width: 991px) {
    .nav__item:hover .nav__link {
      background: none; } }

.nav__link {
  padding: 1.35rem;
  line-height: 1.2rem;
  display: block;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s linear; }
  .nav__link.has-subnav {
    position: relative;
    padding-right: 3.5rem; }
    .nav__link.has-subnav:after {
      content: "";
      display: block;
      border-style: solid;
      border-width: 6px 5px 0 5px;
      border-color: #fff transparent transparent transparent;
      position: absolute;
      top: 50%;
      right: 1.35rem;
      transform: translateY(-60%); }
  @media screen and (max-width: 991px) {
    .nav__link {
      padding-left: 0;
      padding-right: 0;
      font-size: 1.6rem; } }

.burger {
  display: none;
  width: 3rem;
  height: 2rem;
  padding: 0;
  background: none;
  border: none;
  font-size: 0;
  color: transparent;
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%); }
  .burger:before, .burger:after,
  .burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0; }
  .burger:before, .burger:after {
    content: "";
    transition: transform .2s linear; }
  .burger:before {
    top: 0; }
  .burger:after {
    bottom: 0; }
  .burger span {
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .2s linear; }
  .show-sidebar .burger span {
    opacity: 0; }
  .show-sidebar .burger:before, .show-sidebar .burger:after {
    top: 50%; }
  .show-sidebar .burger:before {
    transform: rotate(45deg); }
  .show-sidebar .burger:after {
    transform: rotate(-45deg); }
  @media screen and (max-width: 991px) {
    .burger {
      display: block; } }

.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 16.5rem;
  background-color: #3137C9;
  border-radius: 0 0 5px 5px;
  padding: .5rem 0;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); }
  @media screen and (max-width: 991px) {
    .subnav {
      position: static;
      width: 100%;
      background-color: transparent;
      box-shadow: none;
      padding-left: 1rem; } }

.subnav__link {
  display: block;
  padding: .45rem 1.2rem;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease-in-out; }
  .subnav__link:hover {
    background-color: #cd1c11;
    text-decoration: none; }
  @media screen and (max-width: 991px) {
    .subnav__link {
      padding-right: 0;
      padding-left: 0;
      font-size: 1.5rem; }
      .subnav__link:hover {
        background: none; } }

.search {
  width: 100%;
  max-width: 21rem;
  background-color: #202020; }

.search__input {
  display: block;
  width: 100%;
  padding: 1.2rem 2rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.2rem;
  color: #fff; }
  .search__input::placeholder {
    color: rgba(255, 255, 255, 0.4); }
  @media screen and (max-width: 991px) {
    .search__input {
      height: 4rem;
      padding-top: .9rem;
      padding-bottom: .9rem;
      font-size: 1.6rem; } }

.sidebar {
  width: 300px;
  height: 100vh;
  background-color: #daaaaa;
  position: fixed;
  background-color: #202020;
  box-shadow: 5px 0 15px rgba(5, 5, 5, 0.1);
  top: 0;
  left: 0;
  z-index: 1000; }
  @media screen and (max-width: 991px) {
    .sidebar {
      display: flex;
      flex-direction: column;
      height: calc(100vh - 4rem);
      padding-bottom: 1.5rem;
      overflow: auto;
      top: 4rem;
      transform: translateX(-100%);
      transition: transform .2s linear; }
      .show-sidebar .sidebar {
        transform: translateX(0); } }

.sidebar__header {
  height: 18rem; }
  .sidebar__header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #121212; }
  @media screen and (max-width: 991px) {
    .sidebar__header {
      height: 10rem; } }

.sidebar__content {
  padding: 0 2rem; }
  @media screen and (max-width: 991px) {
    .sidebar__content {
      flex-grow: 1; } }

.sidebar__footer {
  display: flex;
  justify-content: space-between;
  padding: 0 2rem; }

.main {
  /* отступ по размеру сайдбара */
  padding: 10rem 0 8rem 300px; }
  @media screen and (max-width: 991px) {
    .main {
      padding: 7rem 0 5rem; } }

.container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 5rem 0 5rem; }
  @media screen and (max-width: 575px) {
    .container {
      padding-left: 1.5rem;
      padding-right: 1.5rem; } }

.profile {
  margin-top: -5rem; }
  @media screen and (max-width: 991px) {
    .profile {
      margin-top: -1rem;
      position: relative;
      border-bottom: 1px solid #1C1C1C; } }

.profile__avatar {
  display: block;
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px solid #fff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  margin: 0 auto 2rem; }
  @media screen and (max-width: 991px) {
    .profile__avatar {
      width: 6.5rem;
      height: 6.5rem;
      margin-left: 0;
      position: absolute;
      left: 0; } }

.profile__header {
  margin-bottom: 2rem;
  text-align: center; }
  @media screen and (max-width: 991px) {
    .profile__header {
      padding-top: 2rem;
      padding-left: 8rem;
      text-align: left; } }

.profile__name {
  color: #fff;
  font-size: 1.8rem; }
  @media screen and (max-width: 991px) {
    .profile__name {
      font-size: 1.5rem; } }

.profile__prof {
  font-size: 1.3rem;
  font-weight: 300;
  color: #dedede; }
  @media screen and (max-width: 991px) {
    .profile__prof {
      font-size: 1.2rem; } }

.profile__text {
  padding: 3rem 0;
  margin: 3rem 0;
  font-size: 1.4rem;
  text-align: center;
  border-top: 2px solid #1C1C1C;
  border-bottom: 2px solid #1C1C1C; }
  @media screen and (max-width: 991px) {
    .profile__text {
      display: none; } }

.social {
  display: flex;
  justify-content: center; }
  @media screen and (max-width: 991px) {
    .social {
      display: none; } }

.social__item {
  margin: 0 .75rem; }

.btn {
  display: inline-block;
  vertical-align: top;
  padding: 1.12em 2.1em;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  background-color: #121212;
  border: none;
  border-radius: 3em;
  cursor: pointer;
  transition: background-color .2s linear; }
  .btn:hover {
    text-decoration: none; }
  .btn--red {
    background-color: #ED3024;
    box-shadow: 0 7px 17px -10 rgba(237, 48, 36, 0.3); }
    .btn--red:hover, .btn--red:focus {
      background-color: #cd1c11; }
  .btn--blue {
    background-color: #3137C9;
    box-shadow: 0 7px 17px -10 rgba(49, 55, 201, 0.3); }
    .btn--blue:hover, .btn--blue:focus {
      background-color: #272ca0; }
  .btn--rounded {
    border-radius: 0.41em; }
  .btn--sm {
    padding: 0.7em 1.25em; }

.stories {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 13px;
  grid-template-rows: 195px;
  margin-bottom: 3rem; }
  @media screen and (max-width: 575px) {
    .stories {
      grid-template-columns: 140px 150px 150px 150px;
      overflow: auto; } }

.stories__item {
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer; }
  .stories__item:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2; }
  .stories__item:hover .stories__preview {
    transform: scale(1.3);
    transition-duration: 5s; }

.stories__preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 1s ease-in-out; }

.stories__title,
.stories__date {
  width: 100%;
  padding: 1.4rem;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #fff;
  position: absolute;
  left: 0;
  z-index: 3; }

.stories__title {
  top: 0; }

.stories__date {
  bottom: 0;
  text-align: right; }

.add-post {
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background-color: #121212;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.45);
  border-radius: 5px; }
  @media screen and (max-width: 575px) {
    .add-post {
      padding: 1.5rem; } }

.add-post__form {
  display: flex;
  align-items: center; }

.add-post__textarea {
  display: block;
  flex-grow: 1;
  height: 26px;
  overflow: hidden;
  border: none;
  background: transparent;
  resize: none;
  font-size: 1.5rem;
  color: #fff;
  font-family: inherit; }
  .add-post__textarea::placeholder {
    color: #D2D2D2; }

.add-post__form-actions {
  display: flex;
  justify-content: flex-end;
  width: 12rem;
  flex-shrink: 0; }
  @media screen and (max-width: 575px) {
    .add-post__form-actions {
      width: 9rem; } }

.add-post__file,
.add-post__send {
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  transition: background-color .2s linear; }
  @media screen and (max-width: 575px) {
    .add-post__file,
    .add-post__send {
      width: 3.4rem;
      height: 3.4rem; } }

.add-post__file {
  background: #EBEBEB url("../images/icons/photo.svg") center no-repeat; }
  .add-post__file input {
    display: none; }
  .add-post__file:hover {
    background-color: #dedede; }
  @media screen and (max-width: 575px) {
    .add-post__file {
      background-size: 18px; } }

.add-post__send {
  margin-left: 1.5rem;
  font-size: 0;
  color: transparent;
  background: #3137C9 url("../images/icons/send.svg") center no-repeat; }
  .add-post__send:hover {
    background-color: #2c31b4; }
  @media screen and (max-width: 575px) {
    .add-post__send {
      background-size: 15px; } }

.post {
  margin-bottom: 3rem;
  padding: 2.5rem;
  overflow: hidden;
  background-color: #202020;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35);
  border-radius: 5px; }
  @media screen and (max-width: 575px) {
    .post {
      padding: 1.5rem; } }

.post__header {
  margin: 0 0 2.5rem; }
  .post__header--preview {
    margin: -2.5rem -2.5rem 2.5rem; }

.post__preview {
  display: block;
  max-width: 100%;
  height: auto; }

.post__content {
  margin-bottom: 2rem; }

.post__title {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.4; }
  .post__title--open {
    margin-bottom: .75rem; }

.post__subtitle {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 500;
  margin-top: 3rem;
  margin-bottom: 2rem; }

.post__description {
  font-size: 1.4rem;
  color: #D2D2D2; }

.post__text {
  padding-bottom: 1rem;
  font-size: 1.4rem;
  color: #fff;
  border-bottom: 1px solid #1C1C1C; }
  .post__text ul,
  .post__text ol {
    margin-bottom: 2rem; }
  .post__text ol {
    list-style: decimal;
    list-style-position: inside; }
  .post__text a {
    color: #3137C9;
    text-decoration: none;
    transition: color .2s linear; }
    .post__text a:hover {
      color: #4248d1;
      border-bottom: 1px dashed #3137C9;
      /* Добавляем свою линию */ }
  .post__text p {
    margin: 2rem 0;
    font-weight: 700; }
  .post__text table {
    margin-bottom: 2rem;
    width: 100%; }
  .post__text img {
    display: block;
    max-width: 100%;
    height: auto; }
  .post__text h1,
  .post__text h2,
  .post__text h3,
  .post__text h4 {
    margin-bottom: 2rem; }
  .post__text h2 {
    font-size: 1em; }
  .post__text h3 {
    font-size: 1.25em; }
  .post__text h4 {
    font-size: 1.15em; }
  .post__text h5,
  .post__text h6 {
    font-size: 1em; }

.post__footer {
  display: flex;
  justify-content: space-between;
  align-items: center; }
  @media screen and (max-width: 575px) {
    .post__footer {
      flex-direction: column;
      align-items: flex-start; } }

.post__data {
  display: flex;
  color: #828282;
  line-height: 1.2rem; }
  @media screen and (max-width: 575px) {
    .post__data {
      margin-bottom: 1rem;
      font-size: 1.2rem; } }

.post__data-item:not(:last-child):after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C4C4C4;
  margin: 0 1.5rem;
  position: relative;
  top: -2px; }

.post__read {
  font-size: 1.4rem;
  color: #107EFF; }
  .post__read:hover {
    text-decoration: none; }

.post__actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.2rem; }
  .post__actions a {
    color: inherit;
    text-decoration: none;
    transition: opacity .2s linear;
    opacity: .6; }
    .post__actions a:hover {
      color: #fff;
      opacity: 1; }

.post__actions-icon {
  margin-left: .5rem; }

.embed,
.fr-video {
  display: block;
  position: relative;
  overflow: hidden; }
  .embed:before,
  .fr-video:before {
    content: "";
    display: block;
    padding-top: 56.25%; }
  .embed iframe,
  .embed video,
  .embed object,
  .embed embed,
  .fr-video iframe,
  .fr-video video,
  .fr-video object,
  .fr-video embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; }

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 8rem; }
  @media screen and (max-width: 991px) {
    .pagination {
      margin-top: 5rem; } }

.pagination__item {
  margin: 0 .5rem; }

.pagination__link {
  display: block;
  width: 4rem;
  height: 4rem;
  line-height: 4rem;
  text-align: center;
  background-color: #0D0D0D;
  border-radius: 3px;
  text-decoration: none;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: background-color .2s linear; }
  .pagination__link.active {
    background-color: #3137C9;
    box-shadow: 0 0 10px rgba(49, 55, 201, 0.15); }
  .pagination__link:hover {
    background-color: #121212; }

.related {
  padding-bottom: .5rem;
  border-bottom: 1px solid #1C1C1C; }

.related__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }
  @media screen and (max-width: 575px) {
    .related__list {
      flex-direction: column; } }

.related__list-item {
  width: 50%;
  margin-bottom: 2.5rem; }
  @media screen and (max-width: 575px) {
    .related__list-item {
      width: 100%; } }

.related__list-title {
  font-size: 1.4rem;
  color: #F3EBA2;
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap; }

.related__list-date {
  color: #828282;
  font-size: 1.2rem; }

.comments {
  margin-top: 5rem; }

.comments__item {
  margin-bottom: 3rem; }
  .comments__item > .comments {
    padding-left: 3rem;
    margin-top: 3rem; }
    @media screen and (max-width: 575px) {
      .comments__item > .comments {
        padding-left: 1.5rem; } }

.comments__header {
  display: flex;
  margin-bottom: 1.5rem; }

.comments__avatar {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%; }

.comments__author {
  flex-grow: 1;
  line-height: 1.4;
  padding-left: 1.5rem;
  font-size: 1.2rem; }

.comments__name {
  color: #fff;
  font-weight: 500; }

.comments__pubdate {
  color: #757575; }

.comments__text {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.3rem;
  color: #fff; }

.comments__reply {
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.1;
  cursor: pointer;
  color: #3137C9; }

.form--auth {
  max-width: 28rem;
  margin: 0 auto; }

.form__group {
  margin-bottom: 1.5rem;
  position: relative; }
  .form__group--md {
    margin-bottom: 2.5rem; }

.form__control {
  display: block;
  width: 100%;
  padding: .5rem 0 .75rem;
  background: none;
  border: none;
  border-bottom: 1px solid #3f3f3f;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 1.4rem;
  color: #fff; }
  .form__control::placeholder {
    color: rgba(255, 255, 255, 0.2); }
  .form__control:focus + .form__line {
    width: 100%; }
  .form__control--textarea {
    height: 3rem;
    overflow: hidden;
    resize: none; }

.form__line {
  width: 0;
  height: 1px;
  background-color: #3137C9;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  transition: width .4s linear; }

.form__footer--center {
  text-align: center; }

.form__footer-list {
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1.2; }
  .form__footer-list li {
    margin: 0 .5rem; }
  .form__footer-list a {
    color: #fff; }
    .form__footer-list a:hover {
      cursor: pointer; }

.work {
  display: flex;
  margin-bottom: 3rem;
  overflow: hidden;
  background-color: #202020;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35);
  border-radius: 5px; }
  @media screen and (max-width: 575px) {
    .work {
      flex-direction: column; } }

.work__preview {
  max-width: 31rem; }
  .work__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto; }
  @media screen and (max-width: 575px) {
    .work__preview {
      width: 100%;
      height: 15rem; } }

.work_content {
  display: flex;
  flex-direction: column;
  max-width: 29rem;
  padding: 2.5rem; }
  @media screen and (max-width: 575px) {
    .work_content {
      max-width: none;
      padding: 1.5rem; } }

.work__title {
  margin-bottom: 3rem;
  font-size: 2.4rem;
  color: #fff;
  font-weight: 500; }
  .work__title a {
    color: inherit; }
  @media screen and (max-width: 575px) {
    .work__title {
      margin-bottom: 2rem; } }

.work__description {
  margin-bottom: 3rem;
  color: #D2D2D2;
  font-size: 1.6rem;
  line-height: 1.68;
  font-weight: 300; }
  @media screen and (max-width: 575px) {
    .work__description {
      margin-bottom: 2rem;
      font-size: 1.4rem; } }

.work__footer {
  margin-top: auto;
  text-align: right; }
  @media screen and (max-width: 575px) {
    .work__footer {
      text-align: left; } }

.tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem; }

.tags__item {
  margin-right: 1rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  background-color: #EA8C1E;
  border-radius: 3px;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #fff;
  text-align: center; }

.cabinet {
  display: flex; }
  @media screen and (max-width: 575px) {
    .cabinet {
      flex-direction: column; } }

.cabinet__form {
  width: 34rem; }
  @media screen and (max-width: 575px) {
    .cabinet__form {
      order: 2; } }

.cabinet__avatar {
  flex-grow: 1;
  padding-left: 11rem; }
  .cabinet__avatar img {
    display: block;
    margin-bottom: 1.5rem; }
  @media screen and (max-width: 575px) {
    .cabinet__avatar {
      order: 1;
      padding-left: 0;
      margin-bottom: 2rem; } }

.cabinet__file {
  font-size: 1.4rem;
  color: #3137C9;
  text-decoration: underline;
  cursor: pointer; }
  .cabinet__file input {
    display: none; }
  .cabinet__file:hover {
    text-decoration: none; }

.modal {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1010; }

.modal__content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background-color: #202020;
  padding: 8rem;
  border-radius: 5px; }
  .modal__content ::-webkit-scrollbar {
    display: none; }
  .modal__content--contact {
    padding-bottom: 2.5rem; }

.modal__close {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .5;
  position: absolute;
  top: 2rem;
  right: 2rem;
  transition: transform .2s linear, opacity .2s linear; }
  .modal__close:hover {
    transform: rotate(90deg);
    opacity: 1; }

.modal__footer {
  display: flex;
  justify-content: center;
  color: #B2B2B2;
  font-size: 1.2rem;
  margin-top: 4rem; }
  .modal__footer li {
    margin: 0 .5rem; }
  .modal__footer a {
    color: inherit;
    text-decoration: underline; }
    .modal__footer a:hover {
      text-decoration: none; }
