/* ========================================
   CSS VARIABLES & ROOT STYLES
======================================== */
:root {
  --color-bg: #fbfbff;
  --color-text-main: #13262f;
  --color-primary: #fe2f20;
  --wrapper-height: 85vh;
  --image-max-width: 320px;
  --font-family: "Brass Mono";
  --font-family-header: "Brass Mono";

  /* Primary Palette */
  --color-primary: #000000; /* Black */
  --mylightblue: #79d2ff; /* Light Blue */
  --myblue: #2200d5; /* Blue */
  --mydarkblue: #00093e; /* Dark Blue */
}

/* ========================================
   BASIC RESETS & IMPORTS
======================================== */
/* Basic page style resets */
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

/* Import fonts */
@font-face {
  font-family: Brass Mono;
  font-weight: ;
  src: url("https://cdn.glitch.me/2decb767-8051-4237-974a-927409aa4233/Revorioum%20PERSONAL%20use.ttf?v=1735943463491")
    format("opentype");
}
@font-face {
  font-family: Roboto;
  font-weight: ;
  src: url("https://cdn.glitch.me/95731519-6287-4bbd-a281-712ac2b13fef/IBMPlexMono-Medium.ttf?v=1741230994194")
    format("opentype");
}

/* ========================================
   LAYOUT COMPONENTS
======================================== */
/* Page structure */
body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

.page-container {
  position: relative;
  height: 100vh;
  width: 100vw;
}

.home-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  height: 100vh;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
}

.post-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  height: 100vh;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
}

.post-layout {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  height: auto;
  justify-content: center;
}

/* ========================================
   NAVIGATION COMPONENTS
======================================== */
.home-nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100vw;
  background-color: #000000;
  margin-top: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
}

.nav:not(.proj) {
  margin-top: 40px;
}

div.nav > h3 {
  margin: 0;
}

div.proj {
  display: none;
}

.post-nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  z-index: 2;
  margin-top: 3vw;
  margin-bottom: 50px;
}

.olivia {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

/* ========================================
   TYPOGRAPHY
======================================== */
p {
  line-height: 1.5 !important;
  font-size: 1rem;
  font-family: Roboto;
  background-color: #000000;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

p.desc {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #ffffff;
  overflow-wrap: break-word;
  padding-left: 0;
  padding-right: 0;
}

p.blurb {
  padding-left: 10vw;
  padding-right: 10vw;
  font-size: 0.95rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
}

h1 {
  font-weight: 200;
  font-size: 1.7rem;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  color: #ffffff;
  font-family: Roboto;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  font-family: Brass Mono;
  background-color: #000000;
  color: #ffffff;
  padding: 10px;
}

h3 {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 500;
  position: relative;
  font-family: Roboto;
  text-align: center;
  padding: 10px;
}

h4 {
  font-size: 1rem;
  font-family: Roboto;
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  padding: 0.2rem;
  text-align: center;
}

h5 {
  font-size: 0.7rem;
  margin-top: 0rem;
  font-family: Roboto;
  background-color: #000000;
  color: #ffffff;
  padding: 0px;
}

h6 {
  font-size: 1rem;
  margin-top: 0rem;
  font-family: Roboto;
  background-color: #000000;
  color: #ffffff;
  padding: 0px;
  margin-bottom: 0;
}

small,
.text_small {
  font-size: 0.8rem;
}

/* ========================================
   LISTS & NAVIGATION ELEMENTS
======================================== */
ul > li,
ol > li {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: #ffffff;
  list-style-type: none;
}

ul {
  padding: 0 0 0 0px;
  margin: 0;
  list-style-type: none;
}

li.nav {
  width: 30vw;
  background-color: #000000;
}

/* ========================================
   LINK STYLES
======================================== */
a:link,
a:visited {
  text-decoration: none;
  color: #ffffff;
  transition: background 0.2s linear;
}

a:hover {
  text-shadow: #fe2f20 2px 0 1px;
  color: #ffffff;
}

div.container > a:hover {
  text-shadow: none;
}

/* ========================================
   POST LAYOUT STYLES
======================================== */
.post-main-content {
  display: flex;
  flex-direction: column;
  width: 75vw;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 20px 20px 20px;
  margin-left: 25vw;
  box-sizing: border-box;
}

.postTitle {
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: #fe2f20 2px 0 1px;
  margin-bottom: 0.8rem;
}

.post-description {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.8rem;
  width: 100%;
}

/* ========================================
   SKILLS & TAGS
======================================== */
.post-skills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.skills-label {
  color: #fe2f20;
  font-weight: bold;
  font-size: 0.75rem;
}

.skill-tag {
  background-color: #333;
  color: #ffffff;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.7rem;
}

.skills-list-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.skill-tag-sidebar {
  background-color: #333;
  color: #ffffff;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-family: Roboto;
}

.nav .skills-title {
  font-size: 0.8rem !important;
  color: #fe2f20 !important;
  margin: 1.5rem 0rem 0.5rem 2vw !important;
  padding: 0 !important;
  font-weight: bold !important;
}

div.skills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

div.skill-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  background-color: #000000;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #333;
}

div.skill-list h4 {
  font-size: 0.9rem !important;
  margin: 0.3rem 0 !important;
  padding: 0 !important;
  width: auto !important;
  text-align: left !important;
}

div.skills > h4 {
  width: 100vw;
  padding-top: 2%;
  text-align: center;
}

/* ========================================
   MEDIA COMPONENTS
======================================== */
.video-background {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 50%;
  min-height: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.overlay-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.post-media-container {
  columns: 2;
  column-gap: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.post-media-container:empty {
  display: none;
}

.post-media {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* Masonry-style layout for media items */
.post-media-container .post-media {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.youtube-embed {
  width: 100%;
  height: 250px;
  max-width: 100%;
  border-radius: 4px;
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Special handling for single YouTube videos */
.post-media-container:has(.youtube-embed:only-child) {
  columns: 1;
}

/* Larger size for single YouTube videos */
.post-media-container .youtube-embed:only-child {
  height: 400px;
}

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

video {
  width: auto;
  height: 100%;
}

.video-stable {
  transform: none !important;
  object-fit: cover;
  image-orientation: none;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

img.logo {
  height: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

img.self {
  height: 30vw;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.stuff {
  height: 20vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* ========================================
   PROJECT CARDS & CONTAINERS
======================================== */
.projects {
  padding: auto;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  min-width: 80vw;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: flex-end;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: #fe2f20 0px 0px 4px 3px;
  border-radius: 10px;
}

.projects:hover {
  box-shadow: #fe2f20 0px 0px 15px 5px;
}

.project-card {
  transition: all 0.3s ease;
  height: auto;
  margin: 20px;
  display: inline-block;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: flex-end;
}

.sites {
  padding: auto;
  margin-left: auto;
  margin-right: auto;
  margin: 20px;
  display: inline-block;
  width: 20vw;
  min-width: 80vw;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: flex-end;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: #fe2f20 0px 0px 4px 3px;
  border-radius: 10px;
}

.sites:hover {
  box-shadow: #fe2f20 0px 0px 15px 5px;
}

div.projects > h4 > a {
  font-size: 0.75rem;
  background-color: #000000;
  color: #ffffff;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

div.projects > h4 {
  font-size: 0.75rem;
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

div.sites > h4 > a {
  font-size: 0.75rem;
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

div.sites > h4 {
  font-size: 0.75rem;
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  margin: 0;
}

/* ========================================
   CONTAINER LAYOUTS
======================================== */
div.container {
  text-align: center;
  justify-content: space-evenly;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 80vw;
  padding-left: 0vw;
  padding-right: 0vw;
  align-content: flex-start;
  overflow: visible;
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
}

div.sites-container {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-content: flex-start;
  position: relative;
}

/* Make single sites larger - only when there's exactly one .sites element */
div.sites-container .sites:only-child {
  width: 40vw !important;
  min-width: 300px !important;
  max-width: 600px !important;
}

/* Increase h4 font size for larger single sites */
div.sites-container .sites:only-child h4 {
  font-size: 1rem !important;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  width: 70vw;
  min-width: 200px;
  text-align: center;
  justify-content: center;
  align-content: flex-end;
  padding-top: 5vw;
}

div.tag {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 80vw;
  padding-left: 0vw;
  padding-right: 0vw;
  padding-top: 30px;
  padding-bottom: 10px;
  align-content: center;
  overflow: visible;
  position: relative;
  z-index: 2;
  max-height: 100vh;
}

div.cont {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

div.imgs-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
  height: 40vw;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* ========================================
   POST CONTENT
======================================== */
.post-content-text {
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: break-word;
}

.post-content-text p {
  margin: 0.5rem 0 0.5rem 0;
  font-size: 0.75rem;
}

.post-content-text h4 {
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.post-content-text h6 {
  font-size: 0.8rem;
  margin: 0.5rem 0;
}

/* ========================================
   CONTROLS & UTILITY COMPONENTS
======================================== */
.controls {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100vw;
  height: auto;
  justify-content: space-around;
  background-color: #000000;
  align-items: center;
}

div.controls > h1 > a {
  font-family: Roboto;
  font-size: 0.75rem;
  color: #ffffff;
}

div.controls > h1 > a:hover {
  font-family: Roboto;
  text-shadow: #fe2f20 2px 0 1px;
  color: #ffffff;
}

.photos {
  padding: auto;
  margin-left: 3vw;
  margin-right: 3vw;
  margin-top: 3vw;
  display: inline-block;
  width: auto;
  height: 37vw;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: flex-end;
  cursor: pointer;
}

.videos {
  padding: auto;
  margin-left: 3vw;
  margin-right: 3vw;
  margin-top: 3vw;
  display: inline-block;
  width: auto;
  height: 37vw;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: flex-end;
  cursor: pointer;
}

/* Specific styling for YouTube iframes */
iframe.videos {
  width: 65vw;
  height: 36.6vw; /* 16:9 aspect ratio */
  max-width: 800px;
  max-height: 450px;
}

.about {
  margin: 0;
  margin-left: 3vw;
  float: right;
  width: 30vw;
  max-height: auto;
}

.aboutimg {
  padding: auto;
  margin: 0;
  display: inline-block;
  width: auto;
  height: 500px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-content: center;
  justify-content: flex-end;
  cursor: pointer;
}

.abtpage {
  width: 80%;
  margin-top: 50px;
  margin-left: 10%;
  margin-right: 10%;
  background-color: #000000;
}

div.img.container {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

h5.btw {
  display: none;
}

/* ========================================
   PRELOADER
======================================== */
#preloader {
  background: #000000;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out;
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}

div#preloader > img.logobig.a {
  height: 20vh;
  width: auto;
  animation: roY 2s infinite;
}

div#preloader > img.logobig.b {
  height: 20vh;
  width: auto;
  animation: roZ 2s infinite;
}

div#preloader > img.logobig.c {
  height: 20vh;
  width: auto;
  animation: roY 2s infinite;
}

@keyframes roY {
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes roZ {
  100% {
    transform: rotateZ(360deg);
  }
}

/* ========================================
   PAGE-SPECIFIC OVERRIDES
======================================== */
/* Target New Voices page specifically using JavaScript-added class */
.newvoices-page .post-media-container {
  columns: 2 !important;
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
======================================== */
.about-main-content {
  display: flex;
  flex-direction: column;
  width: 75vw;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 20px 20px 20px;
  margin-left: 25vw;
  box-sizing: border-box;
}

.about-content-wrapper {
  margin-bottom: 2rem;
}

.about-title {
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: #fe2f20 2px 0 1px;
  margin-bottom: 0.8rem;
}

.about-text {
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: break-word;
}

.about-text p {
  margin: 0.5rem 0 0.5rem 0;
  font-size: 0.75rem;
}

.about-media-container {
  columns: 3;
  column-gap: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.about-media-container:empty {
  display: none;
}

.about-media {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Mobile styles for about page */
@media screen and (max-width: 940px) {
  .about-main-content {
    width: 100vw;
    margin-left: 0;
    padding: 15px;
    max-height: none;
    overflow-y: visible;
  }

  .about-media-container {
    columns: 2;
  }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET/DESKTOP (940px+)
======================================== */
@media screen and (min-width: 940px) {
  body {
    background-color: black;
    background-repeat: repeat;
    background-size: 850px;
  }

  /* Navigation adjustments */
  .projects {
    padding: auto;
    display: inline-block;
    width: 100%;
    min-width: 20vw;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: center;
    justify-content: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: #fe2f20 0px 0px 4px 3px;
    border-radius: 10px;
  }

  .project-card {
    transition: all 0.3s ease;
    height: auto;
    margin: 20px;
    display: inline-block;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: center;
    justify-content: flex-end;
  }

  .sites {
    min-width: 200px;
  }

  h5.btw {
    display: block;
    position: fixed;
    left: 10px;
    bottom: -10px;
  }

  /* Desktop navigation layout */
  .home-nav {
    position: fixed;
    display: flex;
    left: 0;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    width: 20vw;
    height: 100vh;
    background-color: #000000;
    margin-top: 0px;
    padding-bottom: 2rem;
  }

  /* Home page specific nav styling */
  .tmpl-home .home-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    height: auto;
    background-color: #000000;
    margin-top: 20px;
    padding-bottom: 0;
  }

  .olivia {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #000000;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
  }

  .nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
  }

  div.proj {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-start;
  }

  div.nav > h3 {
    margin: 0;
    margin-right: 0px;
    margin-left: 2vw;
    text-align: left;
    font-size: 0.9rem;
  }

  /* Post navigation and sidebar elements */
  .project-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed red;
  }

  .sidebar-skills {
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .skills-title {
    font-size: 0.8rem !important;
    color: #fe2f20 !important;
    margin: 0 0 0.5rem 2vw !important;
    text-align: left !important;
    padding: 0 !important;
    font-weight: bold !important;
  }

  .skills-list-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-left: 2vw;
  }

  .skill-tag-sidebar {
    background-color: #333;
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-family: Roboto;
  }

  .post-nav-bottom {
    margin-top: auto;
    padding-top: 1rem;
  }

  /* Ensure sidebar tools display properly on desktop */
  .nav .sidebar-skills {
    display: block;
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .nav .skills-title {
    font-size: 0.8rem !important;
    color: #fe2f20 !important;
    margin: 0 0 0.5rem 2vw !important;
    text-align: left !important;
    padding: 0 !important;
    font-weight: bold !important;
  }

  .nav .skills-list-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: flex-start;
    margin-left: 2vw;
  }

  .nav .skill-tag-sidebar {
    background-color: #333;
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-family: Roboto;
  }

  /* Logo and branding adjustments */
  div.olivia > h1 > a {
    font-size: 2.2vw;
  }

  img.logo {
    height: auto;
    width: 100%;
    max-width: 4vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  img.logobig {
    height: auto;
    width: 25%;
    max-width: 30vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  /* Layout adjustments */
  .home-content {
    overflow-y: hidden;
  }

  div.tag {
    overflow-y: auto;
    left: 10vw;
    justify-content: flex-end;
    padding-left: 0vw;
    padding-right: 2vw;
    padding-top: 30px;
    padding-bottom: 10px;
  }

  div.container {
    overflow-y: auto;
    left: 10vw;
    max-height: 100vh;
    padding-bottom: 100px;
  }

  div.skills > h4 {
    width: 20vw;
  }

  div.controls > h1 > a {
    font-size: 1.5rem;
  }

  /* Media container adjustments */
  .post-media-container {
    columns: 3;
  }

  .newvoices-page .post-media-container {
    columns: 2 !important;
  }
}

/* ========================================
   RESPONSIVE DESIGN - LARGE DESKTOP (1200px+)
======================================== */
@media screen and (min-width: 1200px) {
  .post-media-container {
    columns: 4;
  }

  .newvoices-page .post-media-container {
    columns: 2 !important;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE (max-width: 940px)
======================================== */
@media screen and (max-width: 940px) {
  /* Navigation adjustments for mobile */
  .home-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    height: auto;
    background-color: #000000;
    margin-top: 20px;
    padding-bottom: 1rem;
  }

  .nav:not(.proj) {
    margin-top: 20px !important;
  }

  .olivia {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #000000;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
  }

  .nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
  }

  div.proj {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-start;
  }

  div.nav > h3 {
    margin: 0;
    margin-right: 0px;
    margin-left: 0;
    text-align: center;
    font-size: 0.9rem;
  }

  /* Content layout for mobile */
  div.sites-container {
    margin-bottom: 100px;
  }

  .post-content-text {
    margin-bottom: 50px;
  }

  .project-links,
  .post-nav-bottom {
    border-top: none;
    margin-top: 1rem;
    padding-top: 0;
  }

  .project-links {
    display: flex;
    flex-direction: column;
  }

  /* Move post navigation to bottom of page on mobile */
  .post-nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #000000;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .post-main-content {
    width: 100vw;
    margin-left: 0;
    padding: 15px;
    max-height: none;
    overflow-y: visible;
  }

  .postTitle {
    font-size: 1.5rem;
  }

  .post-description {
    font-size: 0.75rem;
  }

  .post-media-container {
    grid-template-columns: 1fr;
  }

  .youtube-embed {
    height: 56.25vw; /* 16:9 aspect ratio */
    max-height: 300px;
  }

  div.skill-list {
    width: 100%;
    margin: 1rem 0;
    padding: 10px;
  }

  div.container {
    flex-direction: column !important;
    align-content: center !important;
  }
}
