/* --- HERO HEADER --- */
.hero-header {
  display: flex;
  width: 100vw;
  height: 120px;
  min-height: 80px;
  max-height: 160px;
  position: relative;
  z-index: 2;
  border-bottom: 2px solid #222;
  background: #181818;
}
.hero-header::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #333;
  z-index: 3;
}
.hero-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.hero-left {
  background: #23272e;
  border-right: 2px solid #181818;
}
.hero-right {
  background: #181818;
}
.modern-masonry-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: 50vw;
  box-sizing: border-box;
  padding: 0 1vw;
  position: relative;
}

.modern-masonry-col:empty::before {
  content: attr(data-empty-message);
  color: #bbb;
  text-align: center;
  width: 100%;
  display: block;
  margin-top: 2rem;
  font-size: 1.1rem;
}
.modern-masonry {
  width: 100%;
  max-width: 400px;
  min-width: 180px;
  margin: 0 auto;
  background: none;
  column-count: 2;
  column-gap: 1.2em;
}
@media (min-width: 1200px) {
  .modern-masonry {
    max-width: 500px;
    column-count: 2;
  }
}
.modern-masonry img {
  width: 100%;
  display: block;
  margin-bottom: 1.2em;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  background: #222;
  break-inside: avoid;
  min-height: 80px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.modern-masonry img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-header {
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero-col {
    min-height: 60px;
    border-right: none;
    border-bottom: 2px solid #181818;
  }
  .hero-right {
    border-bottom: none;
  }
  .hero-header::after {
    display: none;
  }

  .modern-featured-grid {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 0 32px 0;
  }
  .modern-featured-grid::after {
    display: none;
  }
  .modern-masonry-col {
    max-width: 100vw;
    padding: 0;
    margin-bottom: 2.5rem; /* Add space between Joel and Javi sections */
  }
  .modern-masonry-col:last-child {
    margin-bottom: 0;
  }
  .modern-masonry {
    width: 98vw;
    max-width: 100vw;
    margin: 0 auto;
    column-count: 1;
  }

  /* Mobile section headings for clarity */
  .mobile-section-heading {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin: 1.2rem 0 0.5rem 0.5rem;
    letter-spacing: 0.05em;
  }
}

/* Hide mobile headings on desktop */
@media (min-width: 901px) {
  .mobile-section-heading {
    display: none;
  }
}

/* --- GENERAL --- */
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #161616;
  color: #fff;
}
