*,
:after,
:before {
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  margin: 0;
  background-color: rgba(31, 31, 31, 1);
  color: rgba(242, 242, 242, 1);
  letter-spacing: 0%;
}

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

strong {
  font-weight: bolder;
}

button,
input {
  color: inherit;
  font-feature-settings: inherit;
  font-size: 100%;
  font-variation-settings: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

button {
  background-color: transparent;
  background-image: none;
  text-transform: none;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

blockquote,
ul {
  margin: 0;
}

menu,
ul {
  list-style: none;
  padding: 0;
}

input::-moz-placeholder {
  color: #9ca3af;
  opacity: 1;
}

input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

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

[hidden] {
  display: none;
}

.container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.wrapper {
  display: flex;
  gap: 60px;
}

h3 {
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
  margin: 40px 0px !important;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0px;
}

.logo img {
  width: 130px;
  height: 40px;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.nav a {
  font-weight: 700;
  transition: opacity 0.2s ease;
  font-size: 14px;
}

.nav a:hover {
  opacity: 0.7;
}

.subscribe-btn {
  border: 1px solid rgba(242, 242, 242, 1);
  padding: 5px 15px;
  border-radius: 3px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 700;
}

.subscribe-btn:hover {
  background-color: #333;
  border-color: #fff;
}

.main {
  flex: 1;
  position: relative;
}

/* POST-HERO */
.post-hero__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post-hero__category {
  font-size: 18px;
  font-weight: 500;
}

.post-hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 24px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-hero__author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.post-hero__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.post-hero__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin: 0;
  font-size: 20px;
  text-transform: uppercase;
}

.post-hero__date {
  font-size: 14px;
  margin: 0;
}

.post-hero__socials {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post-hero__socials img {
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}

.post-hero__socials a:hover img {
  opacity: 0.7;
}

/* POST-BODY */
.post-body {
  width: 100%;
  height: 100%;
}

.post-body__content {
  flex: 1;
}

.post-body__image {
  width: 100%;
  margin: 30px 0px;
}

.post-body__content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 500;
}

.post-body__content h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* SIDEBAR */
.sidebar {
  width: 100%;
  max-width: 480px;
  height: 100%;
  position: sticky;
  top: 10px;
}

.sidebar-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.sidebar-item {
  display: flex;
  gap: 30px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding: 30px 0px 20px 0px;
}

.sidebar-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.sidebar-item p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* COMMENTS */
.comments {
  margin-top: 150px;
}

.comments-content {
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.comments__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-bottom: 40px;
}

.comments__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.comments__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment {
  padding: 10px 0px;
}

.comment__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.comment__body {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
}

.comment__meta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.comment__date {
  font-size: 14px;
  color: rgba(242, 242, 242, 0.5);
}

.comment__text {
  font-size: 18px;
  margin: 0;
}

/* FOOTER */
.footer {
  padding: 20px 0;
  font-size: 16px;
  line-height: 1.6;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  gap: 40px;
  display: flex;
  flex-direction: column;
}

.footer .container {
  gap: 40px;
}

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

.footer__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer__nav a {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.2;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__disclaimer {
  font-size: 16px;
  line-height: 1.6;
}

.link {
  color: #c6c316;
}

@media (max-width: 1024px) {
  .container {
    gap: 60px;
  }

  .wrapper {
    gap: 40px;
  }

  .logo img {
    width: 97px;
  }

  .nav {
    gap: 50px;
  }

  .post-hero__title {
    font-size: 48px;
  }

  .sidebar {
    width: 340px;
  }

  .comments {
    margin-top: 120px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0px 10px;
    gap: 40px;
  }

  .nav {
    display: none;
  }

  .post-hero__wrapper {
    flex-direction: column;
  }

  .post-hero__socials {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    padding-top: 25px;
  }

  .wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .sidebar-item p {
    font-size: 16px;
  }

  .footer__top {
    flex-direction: column;
    gap: 50px;
    align-items: flex-start;
  }

  .footer__nav {
    flex-wrap: wrap;
  }
}

.iti__country-list {
  color: #333;
}