/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
  padding: 50px 20px 0px 20px;

  text-align: center;
  position: relative;
}

/* container width */
.about-container {
  margin: 0 auto;
  padding: 60px 0;
  max-width: 950px;
}

/* =========================================
   COLOR BORDER (top + bottom gradient)
   FULL WIDTH
========================================= */

.about-section.with-border::before,
.about-section.with-border::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 3px;

  background: linear-gradient(90deg,
      #E01A4F 0%, #F9C22E 22.12%,
      #A6BB7D 41.83%, #F15946 65.38%,
      #AE90C3 84.13%, #F6B0BD 100%);
}

/* =========================================
   TEXT
========================================= */
.about-section .section-title {
  margin-bottom: 8px;
  /* adjust this value to your liking */
}

.about-text {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
}

.about-text p {
  margin-bottom: 12px;
}

/* links in text */
.about-text a {
  color: #1e88e5;
  font-weight: 600;
  text-decoration: none;
}

.about-text a:hover {
  text-decoration: underline;
}

/* =========================================
   BUTTON
========================================= */

.about-btn-wrapper {
  margin-top: 20px;
}

/* =========================================
   Home Page - About Section (full width background)
========================================= */

#block-icpn-drupal-theme-about {
  background: #F7F7F7;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding: 0px 0px;
}

/* =========================================
Child Participation in the EU Page
========================================= */
#block-icpn-drupal-theme-childparticipationintheeu,
#block-icpn-drupal-theme-howthegroupworks {
  padding: 0;
}

#block-icpn-drupal-theme-childparticipationintheeu .about-container ,
#block-icpn-drupal-theme-howthegroupworks .about-container {
  max-width: 1180px;
  padding: 0;

}

#block-icpn-drupal-theme-childparticipationintheeu .section-title ,
#block-icpn-drupal-theme-howthegroupworks .section-title {
  text-align: left;
  display: block;
}

#block-icpn-drupal-theme-childparticipationintheeu .about-text p ,
#block-icpn-drupal-theme-howthegroupworks p {
  text-align: justify;
}

#block-icpn-drupal-theme-whythisgroupmatters {
  padding-bottom: 3px;
  padding-top: 0px;
  margin-bottom: 0;
    background: #F7F7F7;
      margin-left: calc(-50vw + 50%);
      margin-right: calc(-50vw + 50%);
      padding-left: calc(50vw - 50%);
      padding-right: calc(50vw - 50%);
}

#block-icpn-drupal-theme-whythisgroupmatters .about-container {
  max-width: 800px;
  margin-bottom: 0;
}
/* =============================================================
   Image Slider
   ============================================================= */
.image-slider-section {
  padding: 2rem 0;
}

.ecpn-slider {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.ecpn-slider .swiper-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.ecpn-slider .swiper-pagination {
  position: relative;
  margin-top: 1.25rem;
}

.ecpn-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
}

.ecpn-slider .swiper-pagination-bullet-active {
  background: var(--mc-2);
}

@media (max-width: 768px) {
  .ecpn-slider .swiper-slide img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .ecpn-slider .swiper-slide img {
    height: 220px;
  }
}
