@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;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto";
}

a {
  display: block;
  text-decoration: none;
}

ul {
  list-style-type: none;
}

.container-header {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

header {
  font-weight: 700;
}

.header-top {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top a {
  color: #1e2428;
}

.header-top-list-1,
.header-top-list-2,
.header-top-list-3,
.header-top-list-4 {
  display: flex;
  align-items: center;
}

.header-top-list-1 {
  gap: 16px;
}

.header-top-list-3 li a {
  display: flex;
  align-items: center;
}

.header-top-list-4 {
  display: flex;
  align-items: center;
  gap: 8px;

  li:first-of-type {
    border-radius: 4px;
    border: 1px solid #ff7600;
    background: #ff7600;
    padding: 12px;

    a {
      color: #fff;
    }
  }
}

.purple {
  color: #4b0082;
}

.purple-btn {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #4b0082;
  transition: background-color 0.4s ease;

  a {
    color: #4b0082;
    transition: color 0.4s ease;
  }

  &:hover {
    background-color: #4b0082;
    color: #fff;

    a {
      color: #fff;
    }
  }
}

.header-center {
  background-color: #4b0082;
  padding-block: 16px;

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

  a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
  }

  a:nth-of-type(2),
  a:nth-of-type(15),
  a:nth-of-type(18) {
    position: relative;
  }

  a:nth-of-type(2)::after,
  a:nth-of-type(15)::after,
  a:nth-of-type(18)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #ffffff;
    right: -10px;
    top: 0;
  }
}

.orange-weather {
  color: #ff7500;
  font-size: 12px;
  line-height: 14px;
}

.blue-weather {
  color: #0f52ff;
  font-size: 12px;
  line-height: 14px;
}

.header-top-list-3 {
  gap: 8px;

  li:last-of-type {
    color: #1e2428;
    font-size: 12px;
    line-height: 12px;
  }
}

.article-container {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}

.header-btns {
  padding-block: 20px 10px;
  display: flex;
  align-items: center;
  gap: 12px;

  a:first-of-type {
    font-weight: 700;
    color: #1e2428;
  }

  .purple-btn {
    font-size: 14px;
    padding: 6px;
    font-weight: 400;
  }
}

.header-breadcrumps {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4b0082;
  font-size: 12px;
  line-height: 12px;
  margin-bottom: 74px;
}

.article-title {
  position: relative;
  margin-left: 10px;
  margin-bottom: 28px;
  color: #000;
  font-size: 28px;
  font-weight: 600;
}

.article-title::before {
  content: "";
  position: absolute;
  background-color: #4b0082;
  width: 4px;
  height: 100%;
  left: -10px;
  top: 0;
}

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

.content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
}

.article-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.socials-folder a {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #4b0082;
  text-align: center;
  font-family: Arial;
  font-size: 12px;
  font-weight: 700;
}

.socials-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-section {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.article-sub {
  position: relative;
  margin-left: 10px;
  color: #000;
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 16px;
}

.article-sub::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 100%;
  background-color: #4b0082;
  left: -10px;
}

.article-section-left img {
  width: 100%;
  max-width: 290px;
  margin-bottom: 10px;
}

.article-section-left span {
  display: block;
  color: #8e9193;
  font-size: 12px;
  letter-spacing: -0.12px;
}

.article-section-right p {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 16px;
}

.article-section-right p:first-of-type {
  margin-bottom: 32px;
}

.link-reg {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px auto;
  justify-content: flex-end;
  color: #1e2428;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;

  span {
    position: relative;
  }

  span::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -4px;
    background-color: #4b0082;
    transition: width 0.4s ease;
  }

  &:hover {
    span::before {
      width: 100%;
    }
  }
}

.text-sub {
  display: block;
  position: relative;
  color: #1e2428;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  margin-left: 10px;
  margin-bottom: 18px;

  span {
    font-weight: 700;
  }
}

.text-sub::before {
  position: absolute;
  content: "";
  background-color: #4b0082;
  width: 2px;
  height: 100%;
  left: -10px;
  top: 0;
}

.article-bottom-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;

  a {
    color: #0063c6;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration-line: underline;
  }
}

.article-img-full {
  margin-bottom: 16px;
}

.article-img-full img {
  width: 100%;
}

.article-text-2 {
  color: #000;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 32px;
}

.img-2 {
  max-width: 292px;
  width: 100%;
}

.quote {
  background-color: #f3e3ff;
  padding: 6px 6px 6px 20px;
  position: relative;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
}

.quote::before {
  content: "";
  position: absolute;
  background-color: #4b0082;
  width: 4px;
  top: 12px;
  left: 10px;
  height: calc(100% - 24px);
}

.article-section-left-img img {
  width: unset;
  max-width: unset;
  margin-bottom: 0;
}

.article-section-left-img span {
  font-weight: 700;
  color: #1e2428;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.article-section-left-img .link-reg {
  display: flex;
  align-items: unset;
  margin-bottom: 32px;
}

.article-section-left-img .text-sub {
  display: flex;
}

.article-section-left-img .text-sub span:first-of-type {
  font-weight: 400;
}

.author-quote {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  border-radius: 20px;
  border: 0.5px solid #e5e5e5;
  background: #f2f6f8;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
}

#date {
  color: #8e9193;
  font-size: 12px;
}

.quote-author-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.author-name span:first-of-type {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.author-quote {
  margin-bottom: 32px;
}

.author-name span:last-of-type {
  color: #8e9193;
  font-size: 14px;
}

.quote-author-info img {
  border-radius: 50%;
}

.quote-text {
  color: #000;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.article-text-2 {
  margin-bottom: 8px;
  font-weight: 700;
}

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

.steps-2-list li {
  font-size: 14px;
}

.quote-btns-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.quote-btns-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.quote-btns-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.steps {
  max-width: 720px;
}

.steps-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 10px;
  border-radius: 4px;
  background: #4b0082;
}

.steps-list {
  padding-top: 10px;
  list-style-type: disc;
  margin-left: 20px;
}

.steps-list li {
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

.steps-2-title {
  color: #000;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-align: center;
}

.steps-2 {
  border-radius: 10px;
  border: 2px solid #4b0082;
  background: #f2f6f8;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.steps-2-list li {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #000;
}

.form-wrapper {
  max-width: 450px;
  margin: 0 auto 32px auto;
  width: 100%;
}

.comments-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 64px;
}

.comments-wrapper::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  backdrop-filter: blur(1px);
}

.comments-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 20px;

  a:first-of-type {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  span {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #e1e1e1;

    span:first-of-type,
    span:last-of-type {
      color: #5a5a53;
      font-size: 12px;
      font-weight: 700;
    }
  }
}

.comments-field {
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid #b4b4b4;
  background: #f2f6f8;
  width: 100%;
  height: 120px;
  position: relative;
  font-size: 16px;
}

.comments-field::placeholder {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 16px;
  color: #b4b4b4;
  line-height: 1.2;
  text-align: left;
}

.comments-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px 0;
  border-top: 1px solid #4b0082;
  border-left: 1px solid #4b0082;
  background: #4b0082;
  left: calc(100% - 32px);
  bottom: 32px;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  padding-top: 12px;
  gap: 16px;
}

.comment-author {
  color: #949494;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 12px;

  strong {
    color: #000;
  }
}

.comment-text {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  max-width: 560px;
}

.comment-body {
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1e1e1;
}

.comment-reactions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.reactions-item {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #666;
  font-size: 12px;
  line-height: 14px;
}

.reactions-text {
  display: flex;
  flex-direction: column;
}

.footer {
  background-color: #f2f6f8;
  padding-block: 20px;
}

.footer-top {
  color: #1e2428;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  margin-bottom: 16px;
}

.footer-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;

  a {
    color: #1e2428;
    font-size: 12px;
    line-height: 14px;
  }
}

.footer-links-2 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;

  a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e2428;
    font-size: 12px;
    margin-bottom: 18px;
  }
}

.footer-disc {
  color: #4d5760;
  font-size: 12px;
  margin-bottom: 14px;
}

.footer-copy {
  color: #4d5760;
  font-size: 12px;
}

.sidebar-wrapper {
  max-width: 300px;
  width: 100%;
}

.sidebar-title {
  padding: 10px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background-color: #4b0082;
  color: #fff;
  width: 100%;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sidebar-subs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sidebar-subs span {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-subs span:first-of-type {
  text-decoration-line: underline;
  text-decoration-color: #4b0082;
  text-decoration-thickness: 2px;
  text-underline-offset: 20%;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-list-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.4s ease;
}

.sidebar-list-item a:hover {
  color: #4b0082;
}

.sidebar-list-item a span {
  width: 48px;
  height: 48px;
  display: block;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 32px;
  padding: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-img img {
  width: 100%;
}

.sidebar-link {
  color: #1e2428;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;

  &:hover {
    color: #4b0082;
  }
}

.sidebar-list-item:nth-of-type(1) a span {
  background-color: #ff4602;
}

.sidebar-list-item:nth-of-type(2) a span {
  background-color: #ff7602;
}

.sidebar-list-item:nth-of-type(3) a span {
  background-color: #ff9e02;
}

.sidebar-list-item:nth-of-type(4) a span,
.sidebar-list-item:nth-of-type(5) a span {
  background-color: #f4f4f4;
  color: #4b0082;
}

.sidebar-list-item:nth-of-type(5) {
  margin-bottom: 20px;
}

.sidebar-link {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  color: #1e2428;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 64px;
}

@media (max-width: 1320px) {
  .container-header {
    padding-inline: 12px;
  }
}

@media (max-width: 1140px) {
  .sidebar-wrapper {
    display: none;
  }
}

@media (max-width: 1000px) {
  .dt-only {
    display: none;
  }

  .content-wrapper {
    margin-top: 32px;
  }

  .article-section {
    flex-direction: column;
  }

  .article-section-left img {
    max-width: 100%;
  }

  .article-socials {
    margin-bottom: 0;
  }

  .article-links {
    margin-bottom: 32px;
  }

  .img-2 {
    width: 100%;
    max-width: 100%;
  }

  .article-section-right.img-2 img {
    width: 100%;
  }

  .article-section-right.img-2 span {
    display: block;
    color: #8e9193;
    font-size: 12px;
    letter-spacing: -0.12px;
  }

  .img-full {
    width: 100%;
    margin-bottom: 16px;
  }

  .article-container {
    padding-inline: 12px;
  }
}

@media (max-width: 600px) {
  .header-logo img {
    max-width: 150px;
    width: 100%;
  }

  .header-top-list-4 {
    display: flex;
    align-items: center;
    gap: 8px;

    li:first-of-type,
    li:nth-of-type(2) {
      padding: 6px;

      a {
        font-size: 12px;
      }
    }
  }

  .header-center {
    .container-header {
      gap: 16px;
    }
  }

  .header-center a:nth-of-type(2) {
    margin: 0 auto 0 6px;
  }

  .header-center a:nth-of-type(2)::after {
    display: none;
  }

  .article-title {
    font-size: 22px;
  }

  .article-text,
  .article-text-2 {
    font-size: 14px;
  }

  .article-section-right p:first-of-type {
    margin-bottom: 16px;
  }

  .article-sub {
    font-size: 20px;
  }

  .quote {
    font-size: 16px;
  }

  .article-section {
    margin-bottom: 16px;
  }

  .article-section-right.img-2 span {
    text-align: center;
  }

  .quote-text {
    font-size: 14px;
  }

  #date {
    font-size: 10px;
  }

  .quote-btns-left {
    gap: 6px;
  }

  .footer-logos,
  .footer-links,
  .footer-links-2 {
    justify-content: center;
  }
}

.highlight {
  color: #4b0082;
  font-weight: bold;
  display: inline;
}
