/* 

1350 PX SCREENS


*/

@media (min-width: 781px) and (max-width: 1350px) {
  .thumb {
    width: 200px;
    height: 160px;
    aspect-ratio: 4/3;
  }
  h3.title {
    font-size: 1.25rem;
    max-width: 100%;
  }
  .info {
    width: 250px;
  }
  blockquote {
    font-size: 0.75rem;
  }
}

/* 

1000 PX SCREENS


*/

@media (max-width: 1000px) {
  /* Layout */
  .wrapper {
    display: flex;
    flex-direction: column;
  }

  .sidebar a h1 {
    padding-top: 0;
  }

  .content {
    margin-top: 3rem;
  }

  .about-wrapper {
    margin-top: 0;
  }

  .feed {
    justify-content: center;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* vertical space between rows */
  }

  .sidebar,
  .content {
    width: 100%;
    padding: 1rem;
  }

  /* Sidebar – left */
  .sidebar.left .title {
    font-size: 2rem;
    text-align: center;
  }
  .sidebar.left p {
    display: none;
  }
  .sidebar.left {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10; /* sit above the feed items */
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Thumbnails – smaller at this breakpoint */
  .thumb {
    width: 160px;
    height: 115px;
    aspect-ratio: 4/3;
  }

  /* Titles */
  h3.title {
    font-size: 1rem;
  }

  /* Hide desktop navigation container */
  .nav_container {
    display: none;
  }

  /* Mobile footer styling */
  .sidebar.right {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10;
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    max-height: 70px;
  }

  /* Navigation menu - horizontal row */
  .sidebar.right .nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* Space between menu items */
  }

  .sidebar.right .nav li {
    margin: 0; /* Remove default vertical margin */
  }

  .sidebar.right .nav a {
    display: block;
    text-align: center;
  }

  .sidebar.right .footer_socials {
    justify-content: center;
    margin-top: 0.5rem;
    gap: 0.75rem;
  }

  .sidebar.right .footer_socials img {
    margin: 0; /* Remove left margin, use gap instead */
  }
}

/* 

800 PX SCREENS


*/

@media (max-width: 800px) {
  .info {
    width: 200px;
  }

  .first-sentence {
    width: 100%;
  }

  blockquote {
    font-size: 0.75rem;
  }
}

/* 

600 PX SCREENS


*/
@media (max-width: 600px) {
  .sidebar.left .title {
    font-size: 1.5rem;
  }

  .about-photo {
    display: none;
  }

  .about-photo-mobile {
    display: block;
    margin-top: 1rem;
  }
  blockquote {
    font-size: 0.75rem;
  }
}

/* 

400 PX SCREENS


*/

@media (max-width: 400px) {
  h3.title {
    max-width: 100%;
  }
  blockquote {
    font-size: 0.75rem;
  }

  /* Smaller spacing for very small screens */
  .sidebar.right .nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .mobile_socials {
    gap: 0.5rem;
  }

  .mobile_socials img {
    width: 1.25rem;
    height: 1.25rem;
  }
}
