main.main {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0.5rem;
  box-sizing: border-box;
  max-height: 100svh;
}

/* Home Page Grid Layout */
.home-grid-container {
  width: 100%;
  max-width: 1400px;
  min-height: 100vh;
  height: auto;
  margin: auto;
  padding: 8rem 0 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

/* Left Column - Table of Contents */
.home-toc {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  max-height: 100svh;
}

.home-title {
  font-size: 1.2rem;
  letter-spacing: 0.6rem;
}

.home-headline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.home-subheadline {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.home-menu {
  margin-top: 2rem;
}
.home-menu a {
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-transform: capitalize;
  }
.home-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-menu li {
  margin-bottom: 1rem;
}

.home-menu a {
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.home-menu a:hover {
  transform: translateX(10px);
}

.home-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-light);
  transition: width 0.3s ease;
}

.home-menu a:hover::after {
  width: 100%;
}

/* Right Column - Home Page Image */
.home-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: auto;
  min-height: 300px;
}

.home-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.home-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px dashed var(--color-light);
}

.home-image-placeholder p {
  color: var(--color-light);
  opacity: 0.7;
}

/* Sticky Footer */
.footer {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* Responsive Design */
@media (max-width: 768px) {
  .home-grid-container {
    grid-template-columns: 1fr;
    height: auto;
    min-height: calc(100vh - 4rem);
    padding: 0;
    width: 100%;
  }
  .home-toc {
    padding: 1rem 1rem 2rem 1rem;
    order: 2;
  }
  .home-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    min-height: 300px;
    height: auto;
  }
  .home-title {
    font-size: 1.2rem;
  }
  .home-headline {
    font-size: 1.2rem;
  }
}
