/* About Section Styles */
.about-section {
  position: relative;
}

.about-section .swiper-slide {
  height: auto;
  display: flex;
}

.about-section .swiper-pagination {
  position: static;
  margin-top: 30px;
}

.about-section .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #007bff;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.about-section .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

.about-section .swiper-button-next,
.about-section .swiper-button-prev {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #007bff;
  transition: all 0.3s ease;
}

.about-section .swiper-button-next:hover,
.about-section .swiper-button-prev:hover {
  background: #007bff;
  color: white;
  transform: scale(1.1);
}

.about-section .swiper-button-next::after,
.about-section .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

/* Team member specific styles */
.about-section .team-card .team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid #f8f9fa;
}

.about-section .team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section .team-card .team-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-align: center;
}

.about-section .team-card .team-position {
  font-size: 0.9rem;
  color: #007bff;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500;
}

/* Animation classes */
/* Адміністративні стилі для редактора */
.block-editor-writing-flow .about-section .section-title,
.block-editor-writing-flow .about-section .swiper,
.block-editor-writing-flow .about-section .info-card {
  animation: none;
}

.about-us-swiper {
  overflow: visible !important;
}

.about-us-swiper .swiper-wrapper {
  align-items: stretch;
}

.about-us-swiper .swiper-wrapper .swiper-slide {
  width: auto !important;
  height: auto;
  margin-right: 2rem;
}

.about-us-swiper .swiper-slide > div {
  width: 600px;
  height: 430px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-swiper .swiper-slide:hover > div {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.15),
    0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.about-us-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-us-swiper .swiper-button-next,
.about-us-swiper .swiper-button-prev {
  width: 3.5rem;
  height: 3.5rem;
  margin-top: -1.75rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #374151;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-us-swiper .swiper-button-next:hover,
.about-us-swiper .swiper-button-prev:hover {
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.about-us-swiper .swiper-button-next::after,
.about-us-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: bold;
}

.about-us-swiper .swiper-button-next {
  right: -100px;
  position: fixed;
  top: 50%;
  z-index: 1000;
}

.about-us-swiper .swiper-button-prev {
  left: -100px;
  position: fixed;
  top: 50%;
  z-index: 1000;
}

@media (max-width: 1024px) {
  .about-us-swiper .swiper-slide:last-child {
    margin-right: 3rem;
  }

  .about-us-swiper .swiper-slide > div {
    width: 320px;
    height: 240px;
  }

  .about-us-swiper .swiper-button-next,
  .about-us-swiper .swiper-button-prev {
    width: 3rem;
    height: 3rem;
    margin-top: -1.5rem;
  }
}

@media (max-width: 768px) {
  .about-us-swiper .swiper-slide:last-child {
    margin-right: 1.5rem;
  }

  .about-us-swiper .swiper-slide > div {
    width: 280px;
    height: 200px;
  }

  .about-us-swiper .swiper-slide {
    margin-right: 1.5rem;
  }

  .about-us-swiper .swiper-button-next,
  .about-us-swiper .swiper-button-prev {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
  }

  .about-us-swiper .swiper-button-next::after,
  .about-us-swiper .swiper-button-prev::after {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .about-us-swiper .swiper-slide > div {
    width: 250px;
    height: 180px;
  }

  .about-us-swiper .swiper-button-next,
  .about-us-swiper .swiper-button-prev {
    width: 2rem;
    height: 2rem;
    margin-top: -1rem;
  }

  .about-us-swiper .swiper-button-next::after,
  .about-us-swiper .swiper-button-prev::after {
    font-size: 0.75rem;
  }
}
