@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Regular-400.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Medium-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Bold-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('/fonts/Roboto-Mono-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Radio Canada';
  src: url('/fonts/Radio-Canada-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Courier New';
  src: url('/fonts/Courier-New-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Arial';
  src: url('/fonts/Arial-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1440px;
  padding-inline: 124px;
  margin: 0 auto;
}

.header {
  background-color: #231f20;
  padding-block: 16px;
}

.header-dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  color: #aeacac;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-btns a,
.header-links a {
  color: #f2f2f2;
  font-family: 'Roboto Mono';
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.header-bottom {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 3;
}

.header-btns {
  display: flex;
  gap: 48px;
  align-items: center;
}

.header-btns a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btns a img {
  max-width: 16px;
  width: 100%;
}

.header-mode {
  padding: 4px 8px 4px 4px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #231f20;
  font-family: 'Roboto Mono';
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-bottom {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.header-mob {
  display: none;
}

.header-bottom .header-dt {
  gap: 20px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
}

.header-nav a {
  color: #231f20;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.header-nav a:nth-of-type(4) {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-bottom .header-btns a img {
  max-width: 24px;
  width: 100%;
}

.header-line {
  /* margin-top: 128px; */
  margin-top: 152px;
  height: 60px;
  width: 100%;
  opacity: 0.2;
  background: url('/img/header-line-chunk.png') repeat;
}

.main {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.green {
  color: #d02001;
  position: relative;
}

.author-desc a.green::before,
span.green:first-of-type::before {
  display: none;
}

span.green::before,
a.green::before {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0px;
  height: 1px;
  width: 0%;
  background-color: #d02001;
  transition: width 0.4s ease;
}

span.green:hover::before,
a.green:hover::before {
  width: 100%;
}

.article {
  max-width: 760px;
  width: 100%;
}

.article-cat {
  font-family: 'Roboto Mono';
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-title {
  color: #000;
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 16px;
}

.article-title .green {
  font-weight: 800;
}

.article-title .today {
  text-decoration: underline;
}

.sidebar {
  max-width: 350px;
  width: 100%;
  position: sticky;
  top: 150px;
}

.sidebar-top {
  text-align: left;
  padding: 10px;
  border-right: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 60px;
}

.sidebar-cat {
  color: #000;
  font-family: 'Roboto Mono';
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 10px;
  font-weight: 400;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 10px;
}

.sidebar-top-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sidebar-top-item:first-of-type {
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}

.sidebar-top-item-title {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.sidebar-top-item:last-of-type {
  padding-top: 10px;
}

.reg-btn {
  color: #fff;
  font-family: 'Roboto Mono';
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  padding-block: 16px;
  text-align: center;
  display: block;
  border-radius: 2px;
  background-color: #d02001;
  border: 2px solid transparent;
  transition:
    border 0.4s ease,
    color 0.4s ease,
    background-color 0.4s ease;
}

.reg-btn:hover {
  border: 2px solid #d02001;
  color: #d02001;
  background-color: #fff;
}

.sidebar .reg-btn {
  margin-bottom: 16px;
}

.adv-grid {
  margin-bottom: 26px;
}

.sidebar-heading {
  color: #000;
  font-family: 'Roboto Mono';
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 4px 4px 0 0;
  border-top: 1px solid #cbcbcb;
  border-right: 1px solid #cbcbcb;
  border-left: 1px solid #cbcbcb;
}

.sidebar-heading:first-of-type {
  position: relative;
  overflow: hidden;
}

.sidebar-heading:first-of-type::before {
  content: '';
  position: absolute;
  top: 0px;
  background-color: #d02001;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
}

.sidebar-header {
  display: flex;
  gap: 10px;
}

.sidebar-heading-thin {
  color: #737373;
}

.sidebar-bottom-content {
  padding: 10px;
  border: 1px solid #cbcbcb;
  display: flex;
  gap: 10px;
}

.sidebar-bottom-content a {
  display: flex;
  flex-direction: column;
}

.sidebar-bottom-content a img {
  margin-bottom: 10px;
  max-width: 160px;
}

.sidebar-bottom-content span {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}
.article-subtitle--sm {
  margin-bottom: 8px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.article-author img {
  border-radius: 50%;
}

.author-desc h5 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.author-desc h6 {
  color: #545454;
  font-family: 'Radio Canada';
  font-size: 14px;
  font-weight: 400;
}

.author-desc h5 span:last-of-type {
  color: #000;
  font-family: 'Radio Canada';
  font-size: 14px;
  font-weight: 600;
}

.author-desc h5 a {
  color: #d02001;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.article-img {
  margin-bottom: 16px;
}

.article-img img {
  width: 100%;
}

.article-text {
  color: #000;
  font-size: 16px;
  margin-bottom: 16px;
}

.article-subtitle {
  max-width: 580px;
  width: 100%;
  margin-bottom: 16px;
  color: #000;
  font-size: 22px;
  font-weight: 500;
}

.article-subtitle .green {
  font-weight: 700;
}

.article-video {
  width: 100%;
  margin-bottom: 16px;
}

.article-content {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.content-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-btns {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.font-btns button {
  border: none;
  cursor: pointer;
}

.content-links a,
.font-btns button {
  padding: 18px;
  border-radius: 2px;
  background: #dbd9d9;
  transition: background-color 0.4s ease;
}

.content-links a:hover,
.font-btns button:hover {
  background-color: #ececec;
}

a.green {
  font-weight: 700;
}

.content-text {
  font-size: 16px;
}

.content-title {
  margin-bottom: 20px;
  color: #000;
  font-size: 1.375em;
  font-weight: 700;
}

.content-p {
  color: #000;
  font-size: 1em;
  margin-bottom: 20px;
}

.article-content .reg-btn {
  margin-bottom: 20px;
}

.review {
  display: block;
  padding-left: 10px;
  border-left: 2px solid #d02001;
  font-family: Inter;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1em;
}

.review:first-of-type {
  max-width: 400px;
  width: 100%;
  padding-bottom: 4px;
}

.review:nth-of-type(2),
.review:nth-of-type(3) {
  padding-top: 8px;
  padding-bottom: 8px;
}

.author-desc h6 b {
  color: #000;
}

.dashed {
  color: #d02001;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 11%;
  text-underline-offset: 12%;
  text-underline-position: from-font;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;

  span {
    color: #d02001;
    font-weight: 600;
  }
}

@media (width < 768px) {
  .content-list {
    gap: 16px;
    margin-bottom: 16px;
  }
}

.content-block {
  margin-bottom: 16px;

  ul {
    list-style: none;
    display: flex;
    border-radius: 0 8px 8px 8px;
    border: 1px solid #cbcbcb;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 11px;

    span {
      color: #d02001;
      font-weight: 600;
    }
  }
}

.block-header {
  display: flex;
  gap: 10px;

  a {
    display: flex;
    padding: 8px 10px;
    align-items: center;
    border-radius: 4px 4px 0 0;
    border-top: 1px solid #cbcbcb;
    border-right: 1px solid #cbcbcb;
    border-left: 1px solid #cbcbcb;
    color: #737373;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;

    &:first-of-type {
      border-top: 6px solid #d02001;
      color: #000;
    }

    &:hover {
      border-top: 6px solid #d02001;
      color: #000;
    }
  }
}
.form-wrapper {
  display: flex;
  padding: 16px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);

  h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-block: 22px 8px;
  }

  p {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 22px;
  }
}

@media (width < 768px) {
  .form-wrapper {
    padding: 10px;

    h2 {
      font-size: 24px;
      margin-block: 16px 6px;
    }

    p {
      font-size: 16px;
      margin-bottom: 16px;
    }
  }
}

.content-author {
  max-width: 528px;
  margin-inline: auto;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #d5dee2;
  background: #fff;
  box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.content-author__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.content-author__user {
  display: flex;
  align-items: center;
  gap: 10px;

  img {
    border-radius: 50%;
    object-fit: cover;
  }
}

.content-author__user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 500;
  color: #394c5a;
  font-size: 16px;
  font-weight: 400;

  h3 {
    color: #000;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
  }

  a {
    color: #0268e0;
  }
}
.content-author__text {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;

  p {
    margin-bottom: 18px;
  }
}

.content-author__info {
  display: flex;
  padding-right: 18px;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  border: 1px solid #cfd7db;
  background: #fff;
  margin-bottom: 12px;
  max-height: 124px;
  overflow: hidden;

  img {
    width: 124px;
    height: 124px;
  }

  &:hover {
    text-decoration: underline;
  }
}

.content-author__info-text {
  color: #394c5a;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;

  h3 {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin-block: 6px;
  }
}
.content-author__date {
  display: inline-block;
  color: #394c5a;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 12px;
}

.content-author__btns {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 12px 0 0 6px;
  border-top: 1px solid #cbd5da;
  margin-bottom: 12px;

  a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #394c5a;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;

    &:hover {
      color: #1b9af1;
    }
  }
}

.content-author__link {
  display: flex;
  width: 100%;
  padding: 6px 0;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  border: 1px solid #cbd5da;
  color: #1b9af1;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  transition: all 0.3s;
  &:hover {
    background-color: #1b9af1;
    color: #fff;
  }
}

@media (width < 768px) {
  .content-author {
    padding: 11px;
  }
  .content-author__wrapper {
    margin-bottom: 12px;
  }

  .content-author__user-info {
    font-size: 11px;
  }

  .content-author__text {
    font-size: 14px;

    p {
      margin-bottom: 10px;
    }
  }
  .content-author__info {
    max-height: 80px;

    img {
      width: 80px;
      height: 80px;
    }
  }

  .content-author__info-text {
    font-size: 8px;
    h3 {
      font-size: 10px;
      margin-block: 4px;
    }
  }
  .content-author__date {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .content-author__btns {
    padding-top: 8px;
    gap: 24px;
    a {
      font-size: 8px;
    }
  }
  .content-author__link {
    padding-block: 4px;
  }

  .content-links {
    a {
      padding: 10px;
    }
  }
}

.comments {
  max-width: 710px;
  margin: 0 auto 170px 0;
}

.comments-title {
  color: #000;
  font-family: 'Radio Canada';
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 36px;
}

.comments-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.comments-item:not(:first-of-type) {
  border-bottom: 2px solid #00000033;
}

.comments-item:nth-of-type(6) {
  border-bottom: none;
}

.comments-item:not(:first-of-type),
.comments-item:not(:nth-of-type(2)) {
  padding-top: 10px;
}

.comments-item textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ffffff36;
  background: #e4e4e4;
  min-height: 120px;
  pointer-events: none;
}

.comments-text h4 {
  color: #3b5998;
  font-family: 'Radio Canada';
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.comments-text p {
  color: #000;
  font-family: 'Radio Canada';
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 24px;
}

.comments-btns {
  display: flex;
  gap: 16px;
  margin-left: 32px;
  margin-bottom: 20px;
}

.comments-btns a {
  color: #3b5998;
  font-family: 'Radio Canada';
  font-size: 14px;
  line-height: 16px;
}

.comments-btns span {
  position: relative;
  color: #00000070;
  font-family: 'Radio Canada';
  font-size: 14px;
  line-height: 16px;
}

.comments-btns span::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 4px;
  height: 4px;
  background: #00000070;
}

.comments-item textarea::placeholder {
  color: #999;
  font-family: Inter;
  font-size: 14px;
  line-height: 21px;
}

.comments-item:first-of-type {
  margin-bottom: 18px;
}

.comments-reply {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  padding-left: 66px;
  border-bottom: 2px solid #00000033;
}

.footer {
  background-color: #dbd9d9;
  padding-top: 32px;
}

.footer-top {
  margin-bottom: 32px;
}

.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-links {
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #000;
  font-family: Arial;
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
}

.footer-copyright {
  color: #000;
  font-family: 'Courier New';
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.footer-bottom {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #231f20;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bottom-links a {
  color: #fff;
  font-family: 'Courier New';
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1440px) {
  .container {
    padding-inline: 20px;
  }

  .header-dt {
    gap: 10px;
  }

  .header-links {
    gap: 12px;
  }

  .header-btns {
    gap: 20px;
  }
}

@media (max-width: 1000px) {
  .sidebar {
    display: none;
  }

  .article {
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  .header-dt {
    display: none;
  }

  .header-mob {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-bottom .header-mob {
    gap: 36px;
    padding-block: 12px;
  }

  .header-bottom .header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    text-align: center;
    font-family: Arial;
    font-size: 12px;
    gap: 8px;
  }

  .header-bottom .header-link img {
    max-width: 22px;
    width: 100%;
  }

  .article-title {
    font-size: 28px;
  }

  .article-text {
    font-size: 14px;
  }

  .article-subtitle {
    font-size: 22px;
  }

  .content-text {
    font-size: 18px;
  }

  .comments {
    margin: 0 auto 64px 0;
  }

  .comments-text h4,
  .comments-text p {
    font-size: 14px;
  }

  .comments-btns {
    margin-left: 0;
  }

  .comments-reply .comments-btns {
    flex-wrap: wrap;
  }

  .footer-logos {
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 160px);
    justify-content: space-between;
    gap: 16px;
  }

  .footer-copyright {
    margin-bottom: 16px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .bottom-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .header-line {
    margin-top: 128px;
  }
}

@media (max-width: 500px) {
  .header-bottom .header-mob {
    gap: 12px;
  }
}
