/* Основные стили детальной страницы участника */
.participants-detail {
  margin: 40px auto 60px auto;
  max-width: 1200px;
  background: rgba(3, 173, 180, .05);
  border: 1px solid rgba(0, 109, 122, 0.1);
  box-shadow: 0 5px 5px rgba(0, 109, 122, 0.1);
  padding: 20px 40px;
  line-height: 1.6;
  color: #4e4e4e;
  border-radius: 0 0 20px 20px
}

.participants-detail .text {
  max-width: 1200px;
  font-family: 'NotoSans-Regular';
  color: #4e4e4e;
margin-bottom: 40px;
}

.participants-detail h1.main-title {
  font-family: "Montserrat-Thin";
  margin-bottom: 10px !important;
}

.participants-detail h2.medium-title {
  color: #03adb4;
  font-size: 16px;
  font-family: "Montserrat-Regular";
  text-align: center;
  margin-bottom: 40px;
}

.item-contacts-company h2.medium-title, 
.slider-container h2.medium-title, 
p.country {
  color: #4e4e4e;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  text-align: left;
}

img.detail_picture {
  width: 250px !important;
  height: auto !important;
}

/* Контейнер основной информации */
.container-detail {
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
  
}

/* Стили логотипа */
.logo-detail {
}
.logo-img {
  border: 1px solid rgba(0, 109, 122, 0.5);
  background: #ffffff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Бейдж статуса участника */
.participant-status-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.participant-status-badge.new {
  background-color: #4CAF50;
}

.participant-status-badge.returning {
  background-color: #2196F3;
}

.participant-status-badge.vip {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

/* Блок контактов */
.item-contacts-company {
  margin-left: 40px;
  flex-grow: 1;
}

.item-contacts-company .contact-company {
  margin-top: 15px;
}

.item-contacts-company .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
}

/* Иконки контактов - важное исправление */
.contact-icon,
.phone-type-icon {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  fill: #03ADB4; /* Явно задаем цвет вместо currentColor */
  vertical-align: middle;
}

/* Явное указание fill для hover состояний */
.contact-icon:hover,
.phone-type-icon:hover {
  fill: #02848A;
}

.item-contacts-company .contact-company a {
  color: #03ADB4;
  text-decoration: none;
  transition: color 0.2s;
}

.item-contacts-company .contact-company a:hover {
  color: #02848A;
  text-decoration: underline;
}

/* Информация о стенде */
.company-stand {
  margin-left: 20px;
  min-width: 250px;
  color: #a0a0a0;
  font-size: 18px;
}

.company-stand .medium-title {
  font-size: 20px;
  color: #03ADB4;
  font-weight: 500;
}

.company-stand .country svg, .company-stand .stand svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #03ADB4;
}

/* Стили текстового контента */
.text h3 {
  font-size: 22px;
  text-align: left;
  color: #115a69;
  margin-top: 20px;
  margin-bottom: 5px;
  line-height: 28px;
  font-family: "Montserrat-Regular";
}

.text h4 {
  font-size: 18px;
  text-align: left;
  color: #03adb4;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 28px;
  font-family: "Montserrat-Regular";
}

.text p {
  font-size: 18px;
  line-height: 28px;
  padding-bottom: 10px;
}

.text p b {
  font-weight: 600 !important;
}

.text ul li {
  padding: 0 0 10px 20px;
  position: relative;
  line-height: 28px;
  font-size: 18px;
}

.text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #03adb4;
  border-radius: 50%;
}
.text a {
color: #03adb4;
}

.text ol {
  list-style-type: none;
  counter-reset: num;
  margin: 0 0 0 60px;
  padding: 15px 0 5px 0;
}

.text ol li:before {
  content: counter(num);
  counter-increment: num;
  display: inline-block;
  position: absolute;
  top: 1px;
  left: -25px;
  width: 25px;
  color: #03adb4;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

/* Стили слайдера */
.slider-container {
  position: relative;
  margin: 0 0;
  padding: 0 40px;
}

.slider-container .swiper-slide {
  width: 250px !important;
  height: auto;
  border: 1px solid rgba(0, 109, 122, 0.2);
  background: #ffffff;
  padding: 10px;
  margin: 0 25px;
  position: relative;
  box-sizing: border-box;
}

.slider-container .swiper-slide img {
  margin: auto 0;
  width: 100%;
  height: auto;
  vertical-align: middle !important;
  display: block;
}

/* Навигация слайдера */
.slider-container .swiper-button-prev,
.slider-container .swiper-button-next {
  position: absolute;
  z-index: 2;
  top: 65%;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: #FFFFFF;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.2s;
  border: 1px solid #4e4e4e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container .swiper-button-prev::after,
.slider-container .swiper-button-next::after {
  display: none;
}

.slider-container .swiper-button-prev:hover,
.slider-container .swiper-button-next:hover {
  background: #006b78;
  border: 1px solid #FFF;
}

.slider-container .swiper-button-prev {
  left: 0;
}

.slider-container .swiper-button-next {
  right: 0;
}

.slider-container .swiper-button-prev svg,
.slider-container .swiper-button-next svg {
  display: block;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #1E1E22;
  transition: stroke 0.2s;
}

.slider-container .swiper-button-prev:hover svg,
.slider-container .swiper-button-next:hover svg {
  stroke: #FFFFFF;
}

/* Пагинация слайдера */
.swiper-pagination {
  position: relative;
  margin-top: 15px;
  display: none;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
  background: #006b78;
}

/* Кнопка "Назад" */
.container a.back_news {
  color: #03adb4;
  font-size: 11px;
  text-transform: uppercase;
  border: 1px solid #03adb4;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
  margin: 40px auto 0 auto;
}

a.back_news:hover {
  background: #03adb4;
  color: #fff;
}

/* Кнопка редактирования */
.edit-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: none;
}

.edit-button a {
  background: #ffc107;
  color: #000;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
}

/* Контакты и телефоны */
.contact-company {
  margin-top: 20px;
}

.contact-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  line-height: 1.5;
}

.contact-label {
  font-weight: bold;
  min-width: 120px;
  margin-right: 8px;
}

.phone-section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.phone-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.phone-type-group {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.phone-type-label {
  font-weight: bold;
  min-width: 100px;
  margin-right: 10px;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-number a {
  color: #03ADB4;
  text-decoration: none;
  transition: color 0.2s;
}

.phone-number a:hover {
  color: #02848A;
  text-decoration: underline;
}

/* Альтернативные контакты без фона */
.alternative-contacts {
  padding: 15px;
  line-height: 1.6;
}

/* Адаптивные стили */
@media (max-width: 767px) {
  .participants-detail {
    padding: 20px;
  }
  
  .container-detail {
    flex-direction: column;
  }
  
  .item-contacts-company,
  .company-stand {
    margin-left: 0;
    margin-top: 20px;
  }
  
  .logo-detail {

  }
    .logo-img {
    max-width: 200px;
    margin: 0 auto;
  }
  .slider-container {
    padding: 0 30px;
    margin: 30px 0 0 0;
  }
  
  .slider-container .swiper-slide {
    width: 260px !important;
    margin: 0 10px;
  }
  
  .slider-container .swiper-slide:first-child {
    margin-left: 15px;
  }
  
  .slider-container .swiper-button-prev,
  .slider-container .swiper-button-next {
    width: 24px;
    height: 24px;
  }
  
  .slider-container .swiper-button-prev svg,
  .slider-container .swiper-button-next svg {
    width: 24px;
    height: 24px;
  }
  
  .swiper-pagination {
    display: block;
  }
  
  .slider-container .swiper-button-prev,
  .slider-container .swiper-button-next {
    display: none;
  }
  
  .participant-status-badge {
    font-size: 10px;
    padding: 3px 10px;
  }
  
  .contact-item {
    font-size: 14px;
  }
}
.company-stand-container {
    margin-top: 20px;
}

.company-stand {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
    width: auto;
}

.company-stand p {
    display: flex;
    align-items: center;
    margin: 10px 0;
    white-space: nowrap;
}

.stand-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Временные стили для диагностики 
svg.contact-icon {
  border: 1px solid red; 
  background-color: rgba(255,0,0,0.1); 
}*/


@media (max-width: 767px) {
  /* Исправление для иконок контактов */
  .contact-icon,
  .phone-type-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }
  
  /* Адаптация слайдера */
  .slider-container .swiper-slide {
    width: 80vw !important;
    max-width: 260px;
    margin: 0 5px;
  }
  
  /* Адаптация логотипа */
  .logo-img {
    max-width: 100%;
    height: auto;
	
  }

  /* Улучшение отступов для контактов */
  .item-contacts-company .contact-item {
    flex-wrap: wrap;
  }
  
  /* Уменьшение размера текста */
  .text p, .text ul li, .text ol li {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Основные стили детальной страницы участника */
.participants-detail {
  margin: 40px auto 60px auto;
  max-width: 1200px;
  background: rgba(3, 173, 180, .05);
  border: 1px solid rgba(0, 109, 122, 0.1);
  box-shadow: 0 5px 5px rgba(0, 109, 122, 0.1);
  padding: 20px 40px;
  line-height: 1.6;
  color: #4e4e4e;
  border-radius: 0 0 20px 20px;
}

/* Стили логотипа для всех устройств */
.logo-detail {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-img {
  border: 1px solid rgba(0, 109, 122, 0.5);
  background: #ffffff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 250px;
  height: auto;
}

/* Стили контактов */
.item-contacts-company {
  margin-top: 30px;
}

.contact-company {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  fill: #03ADB4;
  flex-shrink: 0;
}

.contact-label {
  font-weight: bold;
  margin-right: 8px;
}

.contact-value {
  word-break: break-all;
}

.contact-company a {
  color: #03ADB4;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-company a:hover {
  color: #02848A;
  text-decoration: underline;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 767px) {
  .participants-detail {
    padding: 20px;
    margin: 20px auto;
  }
  
  .logo-detail {
    margin: 0 auto 20px auto;
  }
  
  .logo-img {
    max-width: 200px;
    padding: 8px;
  }
  
  .item-contacts-company {
    margin-top: 20px;
    padding: 0 10px;
  }
  
  .contact-item {
    flex-wrap: nowrap;
    align-items: flex-start;
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .contact-icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
  }
  
  .contact-label {
    min-width: 70px;
    margin-right: 5px;
  }
  
  /* Специальные стили для иконки адреса */
  .contact-item.address .contact-icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
  }
  
  .contact-item.address .contact-value {
    line-height: 1.4;
  }
}

/* Дополнительные глобальные стили для изображений */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


        .two-img {
            display: flex;
            gap: 2%;
            justify-content: center;
            align-items: center;
            margin: 20px auto;
            max-width: 1200px;
        }
        
        .two-img img {
            width: 49%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .two-img img:hover {
            transform: scale(1.02);
        }
        
        /* Мобильная версия */
        @media (max-width: 768px) {
            .two-img {
                flex-direction: column;
                gap: 15px;
            }
            
            .two-img img {
                width: 100%;
                max-width: 400px;
            }
        }