/* Base styles */
.image-desc-side {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* Make children stretch to same height */
}

.image-desc-side .top-title {
  width: 100%;
  text-align: center;
}

/* Column widths */
@media (min-width: 768px) {
  .image-desc-side .col-md-6 {
    width: 50%;
  }
}

.image-desc-side .col-md-3 {
  width: 20%;
}

.image-desc-side .col-md-9 {
  width: 75%;
}

/* Content containers */
.image-desc-side .content {
  display: flex;
  padding: 1em;
  height: 100%; /* Take full height of parent */
  box-sizing: border-box; /* Include padding in height calculation */
}

/* Text column specific */
.image-desc-side .content.text-col {
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
  align-content: flex-start; /* Align content to top */
}

.image-desc-side .content.text-col .title.h1 {
  text-align: center;
  width: 100%;
}

.image-desc-side .content.image-col {
  justify-content: center;
  /* Remove min-height: 300px; */
  height: auto; /* Let the image dictate height */
}

.image-desc-side .content.image-col img {
  width: 100%;
  height: auto; /* Keep natural aspect ratio */
  max-height: 100%; /* Prevent overflow */
  object-fit: contain; /* Show full image without cropping */
}

/* Background brown specific */
.image-desc-side .content.background-brown {
  background-color: #d3c9b5;
}

.image-desc-side .content.image-col.background-brown {
  padding: 0;
}

/* Description styles */
.image-desc-side .description {
  font-size: 16px;
  width: 100%;
}

.image-desc-side .description p {
  margin: 12px 0 12px;
}

.image-desc-side .description h3 {
  margin-top: 24px;
  font-size: 18px;
}

.image-desc-side .description ul li::before {
  content: "";
  border: 3px solid #27231d;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}