.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;
  background-image: linear-gradient(160deg, var( --e-global-color-858872d ) 72%, #CAE7ED 100%);
  border-radius: 0px 0px 60px 0px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
}

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

.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;
  width:50%;
}


.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: transparent;
  width: 50%;
}

.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: #7a7a7a;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  transition: color 0.2s;
  text-transform: uppercase;
}

.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__date {
  border-top:2px solid #356978;
  font-size: 17px;
  font-weight: 700;
  color: #356978;
  margin: 0 0 10px 0;
  line-height: 1.2;
  padding-top:10px;
}

.small-panel__title {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.small-panel__excerpt {
  
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.small-panel__more {
  font-size: 17px;
  font-weight: 700;
  color: #356978;
  margin: 0;
  line-height: 1.2;
}


.large-panel__date-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.large-panel__calendar-icon {
  width: 50px;
  height: auto;
}

.large-panel__date {
  font-size: 25px;
  font-weight: 400;
  color: #7a7a7a;
}

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

.large-panel__register {
  margin: 18px 0 26px;
}

/* Button look */
.register_link {
  display: inline-block;
  padding: 18px 36px;
  background: #2f6c7c;
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
}
.register_link:hover { filter: brightness(.95); color:#fff; }

/* WHERE block */
.large-panel__where-row{
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 10px;
}

/* Big circular icon */
.large-panel__where-iconWrap{
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 74px;
}

.large-panel__where-icon{
  width: 74px;
  height: auto;
  display: block;
}

/* WHERE label + lines */
.large-panel__where-label{
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #000;
  margin: 6px 0 10px;
}

.large-panel__where{
  font-size: 18px;
  line-height: 1.55;
  color: #000;
  font-weight: 700;
}

/* If ACF outputs <p> tags, keep it tight */
.large-panel__where p{
  margin: 0 0 6px;
}
.large-panel__where p:last-child{
  margin-bottom: 0;
}

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

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

  .text-content {
    padding: 30px;
  }

  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .small-panel {
    padding: 15px;
  }
  .small-panel .small-panel__excerpt,
  .small-panel .small-panel__more {
    display: none;
  }
  .small-panel h3 {
    padding:10px;
    margin:0;
  }
  .content-item {
    padding:20px;
  }
  .image-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .panel-grid {
    display: none;
  }
  
  .content-item .text-content {
    width: 100%;
    padding:20px 0 0 0;
  }

  .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;
  }
}
