/* Layout styles */
.two-column-section {
  display: flex;
  gap: clamp(30px, 5vw, 80px);
  margin: 2em 0;
  align-items: flex-start;
}

.text-column {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
}

.image-column {
  flex: 0 0 auto;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  max-height: calc(100vh - 120px);
  margin-top: 4em;
  z-index: 1;
  width: min(300px, 25%);
}

.image-column img {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive layout */
@media (max-width: 768px) {
  .two-column-section {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .image-column {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 40px auto;
    position: relative !important;
    top: auto !important;
  }

  .image-column img {
    position: relative !important;
    top: auto !important;
    margin: 0 auto;
  }

  .text-column {
    width: 100%;
    position: relative;
    z-index: 2;
  }
}

/* Content width adjustments */
@media (min-width: 768px) {
  .content {
    margin: 0 auto;
    padding: 0 clamp(30px, 4vw, 60px);
  }
}

@media (min-width: 1200px) {
  .content {
    padding: 0 clamp(40px, 6vw, 80px);
  }
  
  .text-column {
    padding-right: clamp(20px, 4vw, 60px);
  }
}

@media (min-width: 1600px) {
  .content {
    padding: 0 clamp(60px, 8vw, 120px);
  }
  
  .text-column {
    padding-right: clamp(30px, 5vw, 80px);
  }
  
  .image-column {
    width: min(350px, 30%);
  }
  
  .image-column img {
    max-width: 350px;
  }
}
