.expert-section {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin: 0 auto;
}

.expert-section .expert-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.expert-section .expert-header {
  text-align: center;
  margin-bottom: 40px;
}

.expert-section .expert-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px 0;
}

.expert-section .expert-subtitle {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.expert-section .expert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.expert-section .expert-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  transition: transform 0.3s ease;
}

.expert-section .expert-card:hover {
  transform: translateY(-8px);
}

.expert-section .expert-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(45deg, #edf2f7, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #718096;
}

.expert-section .expert-content {
  padding: 24px;
  line-height: 1.6;
}

.expert-section .expert-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 auto;
}

.expert-section .expert-position {
  font-size: 18px;
  margin: 0 auto;
}

.expert-section .expert-experience {
  font-size: 16px;
  font-weight: 500;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.expert-section .expert-experience-number {
  font-size: 24px;
  font-weight: 700;
}

.expert-section .expert-experience-text {
  font-size: 18px;
  font-weight: 500;
}

.expert-section .expert-companies {
  font-size: 18px;
  line-height: 1.5;
}

.expert-section .expert-companies-text {
  display: block;
  margin-bottom: 4px;
}

.expert-section .expert-company-name {
  display: block;
  font-weight: 600;
}

/* Оригинальные стили для карточки со ссылкой */
.expert-section .expert-link-card {
  min-width: 300px;
  max-width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-align: center;
  padding: 24px;
}

.expert-section .expert-link-card:hover {
  transform: translateY(-8px);
}

.expert-section .expert-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2b6cb0;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  justify-content: center;
  text-align: center;
}

.expert-section .expert-link:hover {
  text-decoration: underline;
}

.expert-section .expert-link::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('/upload/activity/Vector 2.svg') no-repeat center;
  background-size: contain;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.expert-section .expert-link:hover::after {
  transform: translateX(3px);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .expert-section .expert-grid {
    gap: 24px;
  }

  .expert-section .expert-card,
  .expert-section .expert-link-card {
    max-width: 320px;
  }

  .expert-section .expert-image {
    height: 220px;
  }

  .expert-section .expert-experience-number {
    font-size: 22px;
  }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .expert-section .expert-grid {
    flex-direction: column;
    align-items: center;
  }

  .expert-section .expert-card,
  .expert-section .expert-link-card {
    max-width: 100%;
  }

  .expert-section .expert-title {
    font-size: 28px;
  }

  .expert-section .expert-subtitle {
    font-size: 16px;
  }

  .expert-section .expert-experience-number {
    font-size: 20px;
  }
}

/* Адаптивность для маленьких экранов */
@media (max-width: 480px) {
  .expert-section .expert-image {
    height: 200px;
  }

  .expert-section .expert-title {
    font-size: 24px;
  }

  .expert-section .expert-subtitle {
    font-size: 15px;
  }

  .expert-section .expert-name {
    font-size: 18px;
  }

  .expert-section .expert-position {
    font-size: 15px;
  }

  .expert-section .expert-experience-number {
    font-size: 18px;
  }

  .expert-section .expert-experience-text {
    font-size: 14px;
  }

  .expert-section .expert-companies {
    font-size: 14px;
  }
}