/* made by @itsAlexTarin */

/*  БЛОКИ С МОЩНОСТЯМИ ВНУТРИ СТАТЕЙ */

/* Контейнер-обертка */
.itsAT-grid-wrapper {
  padding: 15px;
  margin: 20px 0;
  background-color: #fff;
}

/* Сетка ссылок */
.itsAT-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Ссылки-кнопки */
.itsAT-item {
  flex: 0 1 calc(11.11% - 8px);
  min-width: 80px;
  text-align: center;
  padding: 8px 5px;
  border: 1px solid #ff9601;
  background-color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "Tahoma", Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #000;
  display: block;
  box-sizing: border-box;
}

/* Эффект при наведении (вместо onmouseover) */
.itsAT-item:hover {
  background-color: #ff9601;
}

/*  БЛОКИ С ПРОИЗВОДИТЕЛЯМИ ВНУТРИ СТАТЕЙ */
.itsAT-container2 {
  padding: 15px;
  margin: 20px 0;
  background-color: #fff;
  font-family: "Tahoma", Arial, sans-serif;
}

.itsAT-wrapper2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.itsAT-item2 {
  flex: 0 1 calc(25% - 8px);
  min-width: 120px;
  text-align: center;
  padding: 10px 5px;
  border: 1px solid #ff9601;
  background-color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #000;
  display: block;
  box-sizing: border-box;
}

.itsAT-item2:hover {
  background-color: #ff9601;
}

/*  === стили для мини-блока с контактами === */

.itsAT-contact-section {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 25px;
  max-width: 600px;
}

.itsAT-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.itsAT-contact-description {
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.itsAT-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itsAT-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #ff9800;
  background: #ffffff;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
}

.itsAT-contact-item:hover {
  border-color: #f57c00;
  background: #ff9601;
}

.itsAT-contact-icon {
  width: 34px;
  height: 34px;
  background: #ff9800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.itsAT-contact-item:hover .itsAT-contact-icon {
  background: #1a1a1a;
}

.itsAT-contact-value {
  font-weight: 600;
  color: #333333;
}

@media (min-width: 769px) {
  .itsAT-contact-grid {
    flex-direction: row;
  }

  .itsAT-contact-item {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .itsAT-contact-section {
    padding: 20px;
  }

  .itsAT-contact-item {
    padding: 10px 12px;
  }
}



/* === Блок преимуществ === */

.itsAT-block {
    /* Background color from .itsAT-contact-section */
    background: #fafafa;
    /* Border color changed to the theme orange #ff9601 from .itsAT-item */
    border-left: 5px solid #ff9601;
    /* Border top/right/bottom to keep it clean like the image structure */
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    
    padding: 25px;
    margin: 20px 0;
 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Soft shadow */
}


.itsAT-list {
    margin: 0;
    padding-left: 10px;
    list-style-type: none; /* Remove default bullets */
}

.itsAT-list li {
    /* Text style from .itsAT-contact-description */
   
    color: #333333;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

/* Custom orange bullet point */
.itsAT-list li::before {
    content: "▶";
    color: #ff9601; /* Orange color from .itsAT-item border */
    font-weight: bold;
    font-size: 9px;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 8px;
}




.itsAT-spheres-grid {
    display: grid;
    /* 4 columns as shown in the image */
    grid-template-columns: repeat(4, 1fr); 
    gap: 5px 20px;
}

.itsAT-spheres-grid a {
    /* Link styling similar to the image but using theme colors */
    display: block;
    color: #333333; /* Text color from .itsAT-contact-item */
    text-decoration: none;
   
    font-size: 14px;

}

/* Hover effect using the theme orange */
.itsAT-spheres-grid a:hover {
    color: #ff9601;
}

@media (max-width: 1000px) {
    .itsAT-spheres-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive: switch to 2 columns on smaller screens if needed */
@media (max-width: 750px) {
    .itsAT-spheres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .itsAT-spheres-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}














.itsAT-img-frame-tri {
  display: inline-block;
  position: relative;
  line-height: 0;
  padding: 10px; /* Отступ от картинки до рамки (меняйте это значение) */
  margin: 6px;
  background: #fff;
  border: 2px solid #e0e0e0; /* Рамка теперь у обёртки */
  box-sizing: border-box;
}

.itsAT-img-frame-tri img {
  display: block;
  border: none; /* Убираем рамку у самого изображения */
  padding: 0;
  margin: 0;
  max-width: 100%;
  height: auto;
}

/* Треугольники вынесены за пределы рамки */
.itsAT-img-frame-tri::before,
.itsAT-img-frame-tri::after {
  content: "";
  position: absolute;
  width: 0; 
  height: 0;
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}

/* Правый верхний угол */
.itsAT-img-frame-tri::before {
  top: -2px; /* Сдвиг на ширину рамки, чтобы треугольник лежал на внешнем углу */
  right: -2px;
  border-width: 0 16px 16px 0;
  border-color: transparent #ff9601 transparent transparent;
}

/* Левый нижний угол */
.itsAT-img-frame-tri::after {
  bottom: -2px;
  left: -2px;
  border-width: 16px 0 0 16px;
  border-color: transparent transparent transparent #ff9601;
}



/* Ссылка внутри текстового блока */
.itsAT-link-inline {
    color: #333333;
    text-decoration: none;
    border-bottom: 1px dashed;
    transition: all 0.3s ease;
}
.itsAT-link-inline:hover,
.itsAT-link-inline:focus {
    border-bottom: 1px solid;
    color: #ff9601;
    border-bottom-color: #ff9601;
}

.itsAT-link-inline:visited {
    color: #333333;
}

.itsAT-no-wrap {
    white-space: nowrap;
}




/* === Лёгкие стили для таблиц === */
.itsAT-table-box {
  margin: 20px 0;
  overflow-x: auto;
  background: #fff;
}

.itsAT-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.5;
}

.itsAT-table th {
  padding: 10px 15px;
  text-align: left;
  font-weight: 600;
  color: #000000;
  border-bottom: 2px solid #ff9601;
  background: transparent;
}

.itsAT-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.itsAT-table tr:last-child td {
  border-bottom: none;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .itsAT-table th,
  .itsAT-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}