.test {
  background: #fff;
}
.b-subp-article {
    font-size: 15px;
    line-height: 22px;
}

.b-subp-article p {
    margin: 0;
    padding: 0px 0 18px 0;
}

.b-subp-article h2 {
    font-size: 24px;
    font-weight: 400;
    color: #474747;
    line-height: 30px;
    padding: 5px 0 15px 0;
}

.b-subp-article h3 {
    font-size: 19px;
    font-weight: 400;
    color: #474747;
    line-height: 30px;
    padding: 5px 0 15px 0;
}

.b-subp-article ul li {
    position: relative;
    padding: 0 0 5px 30px;
}

.b-subp-article ol li {
    position: relative;
    padding: 0px 0 5px 30px;
}

.yellow {
    background-color: #fff7d7; /* Светло-желтый фон */
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-right: 10px;
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 3px solid #ffd600; /* Желтая полоса слева */
}

.green {
    background-color: #e8f5e9;  /* Светло-зеленый фон */
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-right: 10px;
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 3px solid #4caf50;  /* Зеленая полоса слева */
}

.red {
    background-color: #ffebee;  /* Светло-красный фон */
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-right: 10px;
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 3px solid #f44336;  /* Красная полоса слева */
}

.blue {
    background-color: #e3f2fd;  /* Светло-голубой фон */
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-right: 10px;
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 3px solid #2196f3;  /* Синяя полоса слева */
}

.b-subp-article li p {
    display: block;
}

#edit-group-courses .b-subp-article p {
    padding: 0 0 8px 0;
}

#edit-group-housing p {
    padding: 0 0 8px 0;
}

.b-subp-article img {
margin-bottom: 15px;
}


/* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅ*/

.thumb-wrap {
  position: relative;
 padding-bottom: 56.25%;   /*пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ 16:9 (пїЅпїЅпїЅпїЅ 4:3 пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ 75%) */

  height: 0;
  overflow: hidden;
}
.thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}

/* пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅ*/
.b-phone a a {
  padding: 0 !important;
}
.b-phone a a:before {
  display: none;
}
.b-footer .b-foot-contact-list > li a a {
  padding: 0 !important;
}
.b24-form input[type="checkbox"] {
/*  display: inline-block;*/
}
.b24-window-popup-body h2 {
  padding-bottom: 2rem;
}
.b24-window-popup-head,
.b24-window-popup-body {
  background: #fff;
}
.b24-window-popup-body p {
  padding-bottom: 1rem;
}

/* Новый класс для компактных таблиц */
.b-camp-table--compact,
.b-camp-table--compact th,
.b-camp-table--compact td {
    font-size: 15px !important;
    line-height: 19px !important;
}

@media (max-width: 767px) {
  img[data-image-style="max_650x650"] {
    max-width: 100%;
    height: auto !important;
    width: auto !important;
  }
}

/* Только стили рамки содержания*/
.toc-frame {
  background: #f8f9fa;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  padding: 15px 20px;
  margin: 20px 0;
}

/* Стиль для заголовка содержания (если нужно переопределить) */
.toc-heading {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}


/* Стили для FAQ в статье */
.faq-container {
    max-width: 800px;
/*     margin: 20px auto;     Внешние отступы: 20px сверху/снизу, автоматические по бокам (центрирование)*/
    font-family: Arial, sans-serif;
}
.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
.faq-question {
    padding: 15px 20px;
    background-color: #f1f5f8;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}
.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
}
.faq-question.active:after {
    content: '-';
}
.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-answer.show {
    padding: 15px 20px;
    max-height: 500px;
}


/* Стили для КАЛЬКУЛЯТОРА ISEE для стипендий в Италии */
.calculator {
            font-family: Arial, sans-serif;
            max-width: 600px;
            margin: 20px auto;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .input-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        input, select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
        button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            width: 100%;
        }
        button:hover {
            background-color: #45a049;
        }
        .result {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: none;
        }
        .explanation {
            margin-top: 20px;
            font-size: 14px;
            color: #666;
        }
        .highlight {
            font-weight: bold;
            color: #2c3e50;
        }
        .loading {
            color: #666;
            font-style: italic;
        }
        .exchange-rate {
            margin-bottom: 15px;
            padding: 10px;
            background-color: #f0f8ff;
            border-radius: 4px;
        }
