@media (max-width: 992px) {
  .header__cta--desktop {
    display: none;
  }
  .header__nav .header__nav-link {
    display: none;
  }

  .header__mobile-toggle {
    display: flex !important;
  }
  .header__cta--mobile {
    opacity: 1;
    visibility: visible;
  }

  .header__nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    padding-top: 6rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    background-color: rgba(13, 13, 13, 0.9);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
  }

  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__nav.is-active .header__nav-link,
  .header__nav.is-active .header__cta--mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 9.5px;
  }

  /* --- header / nav --- */
  .header__cta--desktop {
    display: none;
  }
  .header__nav .header__nav-link {
    display: none;
  }

  .header__mobile-toggle {
    display: flex !important;
  }
  .header__cta--mobile {
    opacity: 1;
    visibility: visible;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding-top: 8rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: var(--transition-smooth);
  }

  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .header__nav.is-active .header__nav-link,
  .header__nav.is-active .header__cta--mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
  }

  /* ---  Hero --- */
  .hero__title {
    right: 0;
    font-size: clamp(3.5rem, 12vw, 6rem);
  }

  .hero-btns {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    width: 90%;
    justify-content: center;
  }

  /* ---  Options --- */
  .option-wrp {
    flex-direction: column;
    gap: 5rem;
  }
  .option {
    width: 100%;
    max-width: 40rem;
  }

  /* --- Portfolio --- */
  .portfolio-card {
    width: 45%;
  }

  /* --- footer--- */
  .footer__container {
    flex-direction: column;
    text-align: center;
  }
  .footer__social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 9px;
  }

  /* --- Hero --- */
  .hero-btns {
    flex-direction: column;
    gap: 2rem;
  }
  .hero__btn {
    width: 100%;
  }

  /* --- Portfolio --- */
  .portfolio-wrp {
    gap: 3rem;
  }
  .portfolio-card {
    width: 100%;
    height: 22rem;
  }

  .about__items {
    gap: 20px;
  }

  .project {
    padding: 5rem 1rem;
  }
}

/*=============================================
=         Blog & Sidebar         =
=============================================*/

@media (max-width: 992px) {
  .page-wrapper {
    grid-template-columns: 1fr;

    gap: 8rem;
  }

  .sidebar-widget {
    position: static;

    max-height: none;
  }
}

@media (max-width: 576px) {
  .page-wrapper {
    padding: 8rem 0;
  }

  .blog-post__title {
    font-size: 2.8rem;
  }

  .blog-post__content {
    font-size: 1.6rem;
  }
}
