.interactive-content-section {
  margin: 0 auto;
}

.main-panel {
  position: relative;
  margin-bottom: 20px;
  background: #f5f5f5;
  border-radius: 0px 0px 30px 0px;
  overflow: hidden;
  min-height: 400px;
}

.content-item {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-item.active {
  display: flex;
  opacity: 1;
  flex-direction: row;
  gap: 0;
}

.image-container {
  position: relative;
  flex: 1;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 9;
}


.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.nav-arrow:hover {
  background: white;
}

.nav-arrow.prev {
  left: 20px;
}

.nav-arrow.next {
  right: 20px;
}

.content-item .text-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f5f5;
}

.content-item .text-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.content-item .text-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  margin: 0 0 24px 0;
}

.content-item .read-more {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  transition: color 0.2s;
}

.content-item .read-more:hover {
  color: #000;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom:50px;
}

.small-panel {
  background: white;
  border-radius: 0px 0px 30px 0px;
  padding: 24px;
  cursor: pointer;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.small-panel:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.small-panel.active {
  background: #EDEBE8;
}

.small-panel h3 {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px 0;
  line-height: 1.4;
  border-top:2px solid #356978;
  padding-top:10px;
}

.small-panel p {
  font-size: 16px;
  color: #000;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 968px) {
  .content-item.active {
    flex-direction: column;
  }

  .image-container {
    min-height: 300px;
  }

  .text-content {
    padding: 30px;
  }

  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .interactive-content-section {
    padding: 10px;
  }

  .text-content h2 {
    font-size: 22px;
  }

  .text-content {
    padding: 20px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
  }

  .nav-arrow.prev {
    left: 10px;
  }

  .nav-arrow.next {
    right: 10px;
  }
}
