/* ===== ЗАГАЛЬНІ СТИЛІ ===== */
.team-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.team-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
    border-radius: 50%;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0 5px;
}

.team-position {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 10px 0;
}

/* ===== БЛОК 2: ЗАСНОВНИКИ ===== */
.founders-section {
    margin-bottom: 80px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.team-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.linkedin-link i {
    font-size: 18px;
    padding: 0px !important;
    border: unset !important;
}

.profile-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.profile-link:hover {
    color: #005177;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0077b5;
    color: white;
    border-radius: 50%;
    transition: background 0.3s;
}

.linkedin-link:hover {
    background: #005582;
}

.linkedin-link i {
    font-size: 18px;
}

/* ===== БЛОК 3: КОМАНДА ===== */
.team-section {
    margin-bottom: 60px;
    position: relative;
}

/* Desktop slider - показувати тільки на desktop */
.team-swiper-desktop {
    display: block;
}

.team-swiper-mobile {
    display: none;
}

.team-swiper-desktop .swiper-slide {
    height: auto;
}

/* Стрілки навігації */
.swiper-button-prev,
.swiper-button-next {
    color: #0073aa;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #0073aa;
    color: white;
}

/* Пагінація для mobile */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #0073aa;
}

/* ===== БЛОК 4: КНОПКА ВАКАНСІЙ ===== */
.join-team-section {
    text-align: center;
    padding: 60px 20px;
}

.btn-join-team {
    display: inline-block;
    padding: 16px 48px;
    background: #0073aa;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.btn-join-team:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,115,170,0.4);
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
    /* Засновники - 1 колонка */
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Приховати desktop slider, показати mobile */
    .team-swiper-desktop {
        display: none;
    }
    
    .team-swiper-mobile {
        display: block;
    }
    
    /* Кнопка на всю ширину */
    .btn-join-team {
        width: 100%;
        display: block;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .founders-grid {
        gap: 30px;
    }
}




.career-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Контейнер як у попередніх блоках */
.career-form-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.career-form-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.career-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.form-group input,
.form-group textarea {
    padding: 0px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    background: transparent;
    transition: border-color 0.3s;
    width: 100%;
    line-height: 40px;
    height: unset;
    border-bottom: 1px solid #ddd;
    
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #00bcd4;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 12px;
    
    padding-bottom: 12px;
}

.phone-input input{
  border-bottom: 1px solid #ddd !important;
  width: 100%;
}

.wpcf7-form-control-wrap{
  width: 100%;
}



.career-form-wrapper input[type=submit]{
  font-size: 13px;
  line-height: 56px;

}

.phone-input .flag {
    font-size: 14px;
    color: #666;
}

.phone-input input {
    border: none;
    padding: 0;
    flex: 1;
}

.form-group input[type="file"] {
    padding: 8px 0;
    cursor: pointer;
}

.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: start;
    font-size: 14px;
    color: #666;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.form-checkbox a {
    color: #1a1a1a;
    text-decoration: underline;
}

.submit-btn {
    background: #00bcd4;
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #00acc1;
}

.career-form-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 20px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.contact-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.contact-position {
    font-size: 16px;
    color: #666;
}

/* Адаптив */
@media (max-width: 1024px) {
    .career-form-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .career-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .career-form-title {
        font-size: 32px;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
}


/* Перебиваємо всі можливі стилі чекбокса */
.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.form-checkbox input[type="checkbox"] {
    /* Скидаємо всі можливі кастомні стилі */
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    
    /* Базові стилі */
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 4px 0 0 0 !important;
    cursor: pointer !important;
    
    /* Скидаємо трансформації */
    transform: none !important;
    position: relative !important;
    
    /* Скидаємо фони та бордери */
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    
    /* Інше */
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.form-checkbox input[type="checkbox"]:checked {
    background: #00bcd4 !important;
    border-color: #00bcd4 !important;
}

.form-checkbox input[type="checkbox"]:focus {
    outline: 2px solid #00bcd4 !important;
    outline-offset: 2px !important;
}

.form-checkbox label {
    flex: 1;
    cursor: pointer;
    user-select: none;
}

.form-checkbox a {
    color: #1a1a1a;
    text-decoration: underline;
}

.form-checkbox a:hover {
    color: #00bcd4;
}




/* team */



.team-member-single {
  padding: 80px 0;
}

.team-member-single .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Хедер з фото */
.member-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

.member-photo-wrap {
  position: relative;
}

.member-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.member-name {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.member-position {
  font-size: 20px;
  color: #666;
  margin: 0;
}

.member-bio {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 8px 0;
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0077b5;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  width: fit-content;
}

.linkedin-button:hover {
  background: #005885;
}

.linkedin-button svg {
  width: 20px;
  height: 20px;
}

/* Секції контенту */
.member-section {
  margin-bottom: 60px;
}

.member-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.bio-content,
.experience-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.experience-content {
  white-space: pre-line;
}

/* Статті автора */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.article-thumbnail {
  display: block;
  overflow: hidden;
}

.article-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-thumbnail img {
  transform: scale(1.05);
}

.article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.article-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.article-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.article-title a:hover {
  color: #00bcd4;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.article-category {
  padding: 4px 12px;
  background: #f0f0f0;
  border-radius: 4px;
}

.article-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.article-link {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.article-link:hover {
  color: #00acc1;
}

/* Навігація */
.member-navigation {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: #00bcd4;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

/* Адаптив */
@media (max-width: 768px) {
  .member-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .member-photo-wrap {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .member-name {
    font-size: 36px;
  }
  
  .member-section h2 {
    font-size: 24px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
