* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  background: #fdf1e5;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
main {
  padding-block: 32px 62px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-content-block {
  display: flex;
  gap: 56px;
  justify-content: space-between;
  position: relative;
}
.social-media-slider {
  position: sticky;
  top: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 40px;
  width: 100%;
  margin-top: 220px;
}
.social-media-item {
  border-top: 1px solid #7f7973;
  border-right: 1px solid #7f7973;
  padding: 8px;
  border-left: 1px solid #7f7973;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
  svg path {
    transition: all 0.5s ease;
  }
  p {
    color: #33302e;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: -0.5px;
    transition: all 0.5s ease;
  }
}
.report-button span,
.share-button span {
  transition: all 0.5s linear;
}
.report-button svg path {
  transition: all 0.5s ease;
}
.report-button:hover {
  span {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: rgba(45, 117, 127, 0.3);
    text-decoration-thickness: 11.5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
  }
  svg path:nth-child(2) {
    fill: #2d757f;
  }
}
.share-button svg path {
  transition: all 0.5s ease;
}
.share-button:hover {
  span {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: rgba(45, 117, 127, 0.3);
    text-decoration-thickness: 11.5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
  }
  svg path:nth-child(2),
  svg path:nth-child(3),
  svg path:nth-child(4) {
    fill: #2d757f;
  }
}
.content-picture {
  display: flex;
  flex-direction: column;
  gap: 8px;
  p {
    color: #4c4845;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.7px;
    width: 100%;
  }
}
.social-media-item:last-child {
  border-bottom: 1px solid #7f7973;
}

.follow-aside {
  position: sticky;
  top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 286px;
  margin-top: 220px;
}
.follow-aside.mobile {
  display: none;
}
.follow-aside h3 {
  color: #33302e;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.8px;
  padding-block: 10px;
  position: relative;
}
.follow-aside h3:after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: #33302e;
}
.follow-aside .add-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.follow-aside .add-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  p {
    color: #33302e;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.7px;
  }
}
.add-button {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  width: fit-content;
  border-radius: 51px;
  border: 1px solid #911a3e;
  padding-block: 6px;
  padding-inline: 10px 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  p {
    color: #911a3e !important;
    font-family: Inter;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: -0.8px;
    text-transform: capitalize;
  }
}

.add-button:hover {
  background: rgba(145, 26, 62, 0.1);
}
.main-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 20px;
}
.main-text-content .title-top {
  display: flex;
  gap: 20px;
  align-items: center;
  p {
    color: var(--button-important, #911a3e);
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-transform: capitalize;
  }
}
.main-text-content .title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.main-text-content h1 {
  color: #33302e;
  font-family: "Libertinus Serif Display";
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -2px;
  text-transform: capitalize;
}
.main-text-content .subtitle {
  color: #33302e;
  font-family: Inter;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.9px;
}
.main-text-content .text {
  color: #33302e;
  font-family: "Libertinus Serif Display";
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -1px;
}
.content-img {
  width: 100%;
  max-height: 372px;
  object-fit: cover;
}
.author-name {
  color: #33302e;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.author-block {
  padding-bottom: 20px;
  border-bottom: 1px solid #cac1b7;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.author-info .published {
  color: var(--main-color-text-logo, #33302e);
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.7px;
  span {
    color: #4c4845;
    font-weight: 400;
  }
}
.comment-count-block {
  display: flex;
  gap: 8px;
  align-items: center;
  a {
    color: #4c4845;
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-decoration: none;
    border-bottom: 2px solid #2d757f;
  }
}
.bottom-content-block {
  padding: 20px;
  width: 100%;
  background: #fef9f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bottom-content-block .info-part {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bottom-content-block .info-part p:nth-child(1) {
  color: #33302e;
  font-family: "Libertinus Serif Display";
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.9px;
}
.bottom-content-block .info-part p:nth-child(2) {
  color: #33302e;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.7px;
}
.comments-block {
  padding-block: 10px;
  padding-left: 116px;
}
.comments {
  width: 100%;
  max-width: 662px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.title-part-comments {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.title-part-comments h2 {
  padding-block: 10px;
  color: #33302e;
  font-family: Inter;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1.2px;
  position: relative;
}
.title-part-comments h2:after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  max-width: 60px;
  height: 5px;
  background: #33302e;
}
.title-part-comments .success-case {
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #efdfcf;
  .top-text {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.8px;
  }
  .bottom-text {
    color: #33302e;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.7px;
  }
  .bottom-text a {
    color: #2d757f;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.7px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: rgba(45, 117, 127, 0.3);
    text-decoration-thickness: 11.5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
  }
}
.comments-top-menu {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid #cac1b7;
}
.comments-count {
  padding-bottom: 8px;
  border-bottom: 2px solid #2d757f;
  p {
    color: var(--accent-color-links, #2d757f);
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-transform: capitalize;
  }
  span {
    color: #fff;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.6px;
    text-transform: capitalize;
    padding: 2px;
    border-radius: 4px;
    background: #2d757f;
    margin-left: 6px;
  }
}
.comments {
  width: 100%;
}
.comments .sorting {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}
.comments .sorting-text {
  color: #33302e;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.8px;
  width: 100%;
  max-width: fit-content;
}
.comments .sort-list {
  border: 1px solid #8d8d8d;
  background: #fff;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 146px;
}
.comment-item {
  padding-bottom: 10px;
  display: flex;
  align-items: start;
  border-bottom: 1px solid #cac1b7;
  gap: 8px;
  width: 100%;
}
.comment-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.comment-top .name {
  color: #000;
  font-family: Inter;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.comment-top .publish-time {
  color: #33302e;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.8px;
  text-transform: uppercase;
}
.comment-top .edited {
  color: #8d8d8d;
  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.comment-text {
  color: #33302e;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comments .dash {
  color: #cac1b7;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.7px;
}

.comment-buttons {
  padding-left: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.comment-buttons a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #2d757f;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.7px;
  text-decoration: none;
}
.comment-content {
  width: 100%;
}
.comments-bottom-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  a {
    display: flex;
    text-decoration: none;
    align-items: center;
    gap: 6px;
  }
  a span {
    color: #2d757f;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.7px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: #2d757f;
    text-decoration-thickness: 10%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
  }
}
.follow-topics-article {
  padding-block: 10px;
  padding-inline: 78px 58px;
}
.follow-topics-article h2 {
  padding-block: 10px;
  color: #33302e;
  font-family: Inter;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1.2px;
  position: relative;
  margin-bottom: 18px;
}
.follow-topics-article h2:after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  max-width: 60px;
  height: 5px;
  background: #33302e;
}
.topics-block {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tbi-title {
  color: #2a5597;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.8px;
  text-transform: capitalize;
  margin-block: 10px;
  transition: all 0.7s ease;
}
.tbi-title.red {
  color: #911a3e !important;
}
.tbi-text {
  color: #000;
  font-family: "Libertinus Serif Display";
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -1px;
  -webkit-text-stroke-width: 0.2px;
  -webkit-text-stroke-color: #000;
}
.tb-item {
  grid-column: span 1;
  img {
    width: 100%;
  }
}
.tb-item.link {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s ease;
}
.tb-item.link:hover {
  background: rgba(170, 145, 4, 0.2);
  .tbi-title {
    color: rgb(170, 145, 4);
  }
}
.tb-item.link.active {
  background: rgba(170, 145, 4, 0.24);
  .tbi-title {
    color: rgb(170, 145, 4);
  }
}
footer {
  padding-top: 32px;
  background: #262a33;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-direction: column;
}
footer .top-part {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 32px;
}
footer .top-part p {
  color: #a8aaad;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  width: 100%;
  span {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 10%;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
  .span-ft-last {
    text-decoration-style: solid;
    text-decoration-thickness: auto;
  }
}
footer .bottom {
  background: #000;
  width: 100%;
  padding-block: 16px;
  p {
    color: #fff;
    font-family: Inter;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -1.2px;
    text-align: right;
  }
}
footer .links-columns {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}
footer .links-column h3 {
  color: #fff;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
footer .links-column ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  list-style: none;
  li a {
    color: #afafaf;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.8px;
    text-transform: capitalize;
    text-decoration: none;
  }
}
.sorting.mobile {
  display: none;
}
.social-media-slider.mobile {
  display: none;
}
.header-top-part {
  border-bottom: 1px solid #cac1b7;
}
.header-top-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.header-top-block .icons {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-top-block .buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .subscribe-btn {
  border-radius: 4px;
  background: #33302e;
  padding: 8px 14px;
  color: #fff;
  font-family: Inter;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.6px;
  text-transform: capitalize;
  text-decoration: none;
  transition: all 0.3s ease;
  &:hover {
    background: #4f4c4a;
  }
}
header .my-account-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-block: 8px;
  padding-inline: 10px 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  p {
    color: #33302e;
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.6px;
    text-transform: capitalize;
  }
}
header .my-account-btn:hover {
  p {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 20%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
  }
}
.social-media-item:nth-child(1):hover {
  background: #000;
  svg path {
    fill: #ffffff;
  }
}
.social-media-item:nth-child(2):hover {
  background: #2a5597;
  svg path {
    fill: #ffffff;
  }
}
.social-media-item:nth-child(3):hover {
  background: #316cbe;
  svg path {
    fill: #ffffff;
  }
}
.social-media-item:nth-child(4):hover {
  background: #235d65;
  svg path {
    fill: #ffffff;
  }
  p {
    color: #fff;
  }
}
.social-media-item:nth-child(5):hover {
  background: #235d65;
  svg path {
    fill: #ffffff;
  }
  p {
    color: #fff;
  }
}
.header-bottom-part {
  border-bottom: 1px solid #cac1b7;
}
.hbp-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: max-content;
}
.main-menu ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  a {
    display: block;
    color: #33302e;
    font-family: Inter;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.6px;
    text-transform: uppercase;
    text-decoration: none;

    padding-block: 10px;
  }
  a:hover {
    color: #2d757f;
    padding-block: 10px 6px;
    border-bottom: 4px solid #2d757f;
  }
}
.addition-manu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  a {
    display: block;
    color: #33302e;
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.6px;
    text-transform: capitalize;

    text-decoration: none;
    padding-block: 10px;
  }
  a:hover {
    padding-block: 10px 6px;
    border-bottom: 4px solid #33302e;
  }
}
header .header-top-block .main-menu {
  display: none;
}
header.scrolled .header-top-block .main-menu {
  display: flex;
}
header.scrolled .header-top-block .logo {
  display: none;
}
header.scrolled .header-bottom-part {
  display: none;
}
header.scrolled {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  border-bottom: 1px solid #cac1b7;
  background: #fdf1e5;
  z-index: 10;
}
.social-media-slider.fixed-menu,
.follow-aside.fixed-menu {
  padding-top: 60px;
}
main.fixed-menu {
  padding-top: 60px;
}
.form-block {
  width: 100%;
  border: 1px solid #b3a9a0;
  padding: 80px 100px;
  h2 {
    padding-block: 10px;
    color: #33302e;
    font-family: Inter;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -1.2px;
    position: relative;
    margin-bottom: 18px;
  }
  h2:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    max-width: 60px;
    height: 5px;
    background: #33302e;
  }

  p {
    color: #33302e;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.7px;
    margin-top: 12px;
  }
  a {
    color: #33302e;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.7px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
}
.updates-block {
  padding: 20px;
  background: #fef9f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  a {
    color: #33302e;
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: rgba(35, 31, 32, 0.3);
    text-decoration-thickness: 11.5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
  }
  p {
    color: #33302e;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.8px;
  }
}
@media (max-width: 1120px) {
  .container {
    padding-inline: 12px;
  }
  .topics-block {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  header.scrolled .header-top-block .main-menu {
    display: none;
  }
  header.scrolled .header-top-block .logo {
    display: block;
  }
}
@media (max-width: 1000px) {
  .follow-aside.desktop {
    display: none;
  }
  .main-content-block {
    gap: 0px !important;
    justify-content: space-between;
  }
  .follow-aside.mobile {
    display: flex;
    margin-top: 0px;
    position: static;
  }
  .topics-block {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  footer .top-part {
    gap: 0px;
  }
  footer .top-part .first-text {
    margin-top: 32px;
    margin-bottom: 8px;
  }
  .comments {
    gap: 20px;
    max-width: 100%;
  }
  .header-bottom-part {
    display: none;
  }
  .form-block {
    padding: 40px 60px;
  }
}
@media (max-width: 700px) {
  .social-media-slider.desktop {
    display: none;
  }
  .social-media-slider.mobile {
    display: flex;
    margin-top: 0px;
    flex-direction: row;
    max-width: fit-content;
    position: static;
  }
  .social-media-item {
    flex-direction: row;
    border-bottom: 1px solid #7f7973;
    height: 100%;
  }
  .main-text-content {
    padding-left: 0px;
  }
  .bottom-content-block {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }
  .main-text-content h1 {
    font-size: 32px;
  }
  .main-text-content .subtitle {
    font-size: 16px;
  }
  header .icons a:nth-child(2),
  .subscribe-btn,
  .my-account-btn p {
    display: none;
  }
  header .my-account-btn {
    padding: 0px !important;
    svg {
      height: 19px;
      width: 18px;
    }
  }
  header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    border-bottom: 1px solid #cac1b7;
    background-color: #fdf1e5;
    z-index: 10;
  }
  main {
    margin-top: 60px;
  }
}
@media (max-width: 600px) {
  .updates-block {
    padding: 10px;
  }
  .comments-bottom-menu {
    display: none;
  }
  main {
    padding-block: 20px;
  }
  .sorting.desktop {
    display: none !important;
  }
  .sorting.mobile {
    display: flex;
  }
  .topics-block {
    grid-template-columns: repeat(1, 1fr);
  }
  .follow-aside.mobile .add-list {
    width: 100%;
  }
  .form-block {
    padding: 32px 16px;
    h2 {
      margin-bottom: 14px;
    }
    p {
      margin-top: 16px;
    }
  }
}
