.custom-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

.row {
  display: grid;
  grid-gap: 20px;
  margin-bottom: 20px;
}

.row-1,
.row-3 {
  grid-template-columns: repeat(3, 1fr);
}
.row-2-elements{
  grid-template-columns: repeat(2, 1fr);
}


.element {
  width: 432px;
  height: 645px;
  opacity: 1;
  gap: 16px;
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0px 18px 88px -4px rgba(59, 139, 235, 0.14), 0px 8px 28px -6px rgba(59, 139, 235, 0.12);
  text-align: left; /* Прижатие текста к левому краю */
  background: white;
  position: relative; /* Для позиционирования кнопки */
}

.element img {
  width: 400px;
  height: 280px;
  opacity: 1;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 4px; /* Уменьшено расстояние между заголовком и текстом */
}

.element h3 {
  margin: 0 0 4px 0; /* Уменьшено расстояние между заголовком и текстом */
}

.element p {
  margin: 0 0 10px 0; /* Отступ текста от кнопки */
}

.element-small {
  display: flex;
  flex-direction: column;
  width: 432px;
  height: 105%;
  min-height: 486px;
  opacity: 1;
  gap: 16px;
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0px 18px 88px -4px rgba(59, 139, 235, 0.14), 0px 8px 28px -6px rgba(59, 139, 235, 0.12);
  text-align: left; 
  background: white;
  position: relative;
}
.element-small img {
  width: 400px;
  height: 280px;
  opacity: 1;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 4px; 
}

.element-small h3 {
  margin: 0 0 4px 0; 
}

.element-small p {
  margin: 0 0 30px 0; 
}
.custom-button {
  width: 400px;
  height: 48px;
  opacity: 1;
  gap: 10px;
  border-radius: 32px;
  background: rgba(59, 139, 235, 1);
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center; /* Вертикальное центрирование текста */
  justify-content: center; /* Горизонтальное центрирование текста */
  position: absolute;
  bottom: 10px;
}


/* .custom-button .arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url('arrow-icon.png') no-repeat center;
  margin-left: 5px;
} */

.row-2 .element {
  display: flex;              /* Включаем flexbox */
  flex-direction: row;        /* Элементы располагаются горизонтально */
  align-items: flex-start;    /* Выравнивание по верхнему краю */
  width: 1380px;              /* Фиксированная ширина элемента */
  height: 322.5px;            /* Высота элемента */
  padding: 16px;              /* Внутренние отступы */
  border-radius: 32px;        /* Скругление углов */
  background: white;          /* Белый фон */
  box-shadow: 0px 18px 88px -4px rgba(59, 139, 235, 0.14), 
              0px 8px 28px -6px rgba(59, 139, 235, 0.12); /* Тень */
    margin-bottom: 20px;
}
.row-2-elements .element{
  width: 660px;              /* Фиксированная ширина элемента */
  height: 500px;            /* Высота элемента */
  padding: 16px;              /* Внутренние отступы */
  border-radius: 32px;        /* Скругление углов */
  background: white;          /* Белый фон */
  box-shadow: 0px 18px 88px -4px rgba(59, 139, 235, 0.14), 
              0px 8px 28px -6px rgba(59, 139, 235, 0.12); /* Тень */
    margin-bottom: 20px;}
/* Стили для изображения */
.row-2 .element img {
  width: 636px;               /* Фиксированная ширина изображения */
  height: 280px;              /* Фиксированная высота изображения */
  border-radius: 16px;        /* Скругление углов */
  object-fit: cover;          /* Картинка заполняет контейнер */
  flex-shrink: 0;             /* Изображение не сжимается */
  margin-right: 16px;         /* Отступ справа для разделения */
}
.row-2-elements .element img {
  width: 628px;               /* Фиксированная ширина изображения */
  height: 280px;              /* Фиксированная высота изображения */
  border-radius: 16px;        /* Скругление углов */
  object-fit: cover;          /* Картинка заполняет контейнер */
  flex-shrink: 0;             /* Изображение не сжимается */
  margin-right: 16px;         /* Отступ справа для разделения */
}
.row-2-elements .custom-button{
      width: 628px;
    height: 48px;
    opacity: 1;
    gap: 10px;
    border-radius: 32px;
    background: rgba(59, 139, 235, 1);
    color: white;
    text-decoration: none;
    bottom: 10px;
}
/* Стили для контента */
.row-2 .element .content {
  flex: 1;                    /* Контент занимает всё оставшееся пространство */
  display: flex;              /* Включаем flexbox для контента */
  flex-direction: column;     /* Элементы внутри контента — вертикально */
  justify-content: space-between; /* Распределяем элементы по высоте */
}

/* Стили для кнопки */
.row-2 .element .custom-button {
  width: 100%;
  border-radius: 32px;        /* Скругление углов */
  background: rgba(59, 139, 235, 1); /* Синий фон */
  color: white;               /* Белый текст */
  text-decoration: none;      /* Без подчёркивания */
  display: flex;              /* Flex для центрирования текста */
  align-items: center;        /* Вертикальное выравнивание */
  justify-content: center;    /* Горизонтальное выравнивание */
    position: relative;
    margin-top: 180px;
    transition: background-color 0.3s ease;
}

.row-2 .element .custom-button:hover {
   color: white;
  background-color: rgb(46, 113, 238);
}

.custom-button:hover {
  color: white;
  background-color: rgb(46, 113, 238);
}
@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
  }
  .element {
    width: 100%;
    height: auto;
  }
  .element-small {
    width: 100%;
    height: auto;
  }
  .row-2 .element {
    width: 100%;
    height: auto;
  }
    .row-2-elements .element {
    width: 100%;
    height: auto;
  }
  .element img {
    width: 100%;
    height: auto;
  }
  .element-small img {
    width: 100%;
    height: auto;
  }
  .custom-button {
    width: 100%;
    position: relative;
    margin-top: 40px;
  }
  .row-2 .element img {
    width: 100%;
    height: auto;
  }
  .row-2-elements .element img {
    width: 100%;
    height: auto;
  }

  .row-2 .element {
   flex-direction: column; 
    }
    .row-2 .element .content {
        width: 100%;
        height: auto;
    }
    .row-2 .element .custom-button {
        width: 100%;
            margin-top: 0px;
    }
    .row-2-elements .custom-button {
      width: 100%
    };
}
.bursit-add-text{
    max-width: 1440px;
    margin: auto;
    padding: 20px 24px;
}
.bursit-add-text span{
  font-weight: 700;
    color: rgba(59, 139, 235, 1);
}
.bursit-add-text-bold{
    max-width: 1440px;
    margin: auto;
    padding: 0px 24px;
    font-weight: 700;
    text-transform: uppercase;
}
.bursit-add-text-blue{
    max-width: 1440px;
    margin: auto;
    padding: 0px 24px;
    font-weight: 700;
    color: rgba(59, 139, 235, 1);
    text-transform: uppercase;
}
@media (max-width: 768px) {
  .bursit-add-text{
    padding: 0px 24px;
  }
}
.consultation-block {
  align-items: stretch;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(59, 139, 235, 1);
  padding: 20px;
  color: white;
  max-width: 1396px;
  margin: auto;
  border-radius: 16px;
  margin-top: 40px;
}
.consultation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 225px;
  height: 50px;
  background: #fff;
  color: rgba(10, 10, 10, 1);
  font-weight: 400;
  font-size: 14px;
  border-radius: 32px;
  text-decoration: none;
  margin-top: 10px;
}
.consultation-button:hover {
  background: #3372c0;
  color: #fff;
}

@media (max-width: 767px) {
  .consultation-button {
    margin: 0 auto 12px auto;
    display: flex;
  }
}
.uvt-warning {
  max-width: 1400px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  margin: auto;
  align-items: flex-start;
}

.uvt-warning__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.uvt-warning__text {
  font-family: Inter;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0;
  color: #0A0A0A;
  margin: 0;
}


.text-content {
  display: grid;
  flex: 1;
}

.text-content h2 {
  margin-top: 0;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.text-content p {
  font-weight: 300;
  margin: 10px 0;
}

.image-container {
  width: 400px;
  height: 400px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bursit-add-title{
  text-align: center;
  max-width: 1440px;
  margin: auto;
  padding: 20px 24px;
  font-size: 32px;
}
.text-uppercase{
  text-transform: uppercase;
}
.text-center{
  text-align: center;
}
.bursit-add-subtitle{
  max-width: 1400px;
  margin: 15px auto;
  font-weight: 700;
  font-size: 26px;
  line-height: 150%;
  padding: 0px 20px;
}
.bursit-add-subtitle span{
 color:rgba(59, 139, 235, 1);
}
.bursit-add-text-title-left{
  text-align: left;
}
@media (max-width: 768px) {
  .bursit-add-subtitle{
    font-size: 18px;
  }
  .bursit-add-title{
    font-size: 28px;
  }
.consultation-bursit-h{
text-align: center;
}
}
@media (max-width: 768px) {
.consultation-block {
    flex-direction: column;
}
.image-container {
width: 300px;
height: 300px;
}
.text-content{
    padding-right: 0px;
}
.ol__content-title{
  font-size:16px;
}

}
.effective-new {
  background: rgba(59, 139, 235, 0.2);
  box-shadow: var(--amc-box-shadow, 0 8px 30px rgba(0,0,0,0.08));
  padding: 48px 24px;
  border-radius: 24px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 1440px;
  margin: auto;
}

.effective-new__inner {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .effective-new {
    padding: 24px 16px;
  }
}

@media (max-width: 796px) {
  .effective-new {
    padding: 16px 8px;
  }
}

.effective-new__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
}

.effective-new__intro {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.effective-new__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 24px;
  counter-reset: ef-num 0;
}

@media (max-width: 796px) {
  .effective-new__title {
    font-size: 28px;
  }
  .effective-new__cols {
    grid-template-columns: 1fr;
  }
}

.effective-new__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.effective-new__item {
    width: 600px;
    height: 150px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 16px 16px 16px 56px;
    min-height: 64px;
    display: flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
}

.effective-new__item::before {
  counter-increment: ef-num;
  content: counter(ef-num);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #2B6CE2;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}

.effective-new__item--alert {
  background: transparent;
}

.effective-new__item--alert::before {
  counter-increment: none;
  content: "";
  background: url("/wp-content/themes/new-artromed/svg/blue-exclamation-mark.svg") no-repeat center / contain;
  width: 28px;
  height: 28px;
}

.effective-new__item-extra {
  display: block;
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 796px) {
  .effective-new__item {
    width: 100%;
    min-width: 343px;
    align-items: flex-start;
    height: auto;
    font-size: 16px;
    padding: 12px 12px 12px 58px;
  }
}

.effective-new__info {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.effective-new__info-text {
  font-weight: 700;
  font-size: 26px;
  line-height: 120%;
  letter-spacing: -0.025em;
}

.effective-new__info-img img {
  display: block;
  max-width: 458px;
  width: 458px;
  height: 228px;
  border-radius: 16px;
}

@media (max-width: 796px) {
  .effective-new__info {
    flex-direction: column;
  }

  .effective-new__info-text {
    font-size: 20px;
  }

  .effective-new__info-img img {
    max-width: 343px;
    border-radius: 16px;
  }
}

.effective-new__subtitle {
  margin-top: 32px;
  font-weight: 700;
  font-size: 42px;
  line-height: 140%;
  text-transform: uppercase;
  color:#2B6CE2;
}

@media (max-width: 796px) {
  .effective-new__subtitle {
    font-size: 28px;
    text-align: center;
  }
}

.effective-new__bottom {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 497px) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 1100px) {
  .effective-new__bottom {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  }
}

.effective-new__bottom-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.effective-new__bottom-item {
  width: 490px;
  height: 95px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 497px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
}

.effective-new__bottom-dot {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: url("/wp-content/themes/new-artromed/svg/blue-dot-with-radius.svg") no-repeat center / contain;
  margin-top: 4px;
}

.effective-new__bottom-text {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
}

.effective-new__bottom-img img {
  display: block;
  max-width: 787px;
  width: 700px;
  height: 772px;
  border-radius: 16px;
}

@media (max-width: 796px) {
  .effective-new__bottom {
    grid-template-columns: 1fr;
  }

  .effective-new__bottom-item {
      width: 100%;
      height: 90px;
  }

  .effective-new__bottom-img {
    display: flex;
    justify-content: center;
  }

  .effective-new__bottom-img img {
width: 343px;
height: 360px;
border-radius: 16px;

  }
}

.effective-new__form {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}
.effective-new__info-text span {
  color: #3B8BEB;
}

.uvt-duo__title-blue{
    margin: 10px 0 12px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(59, 139, 235, 1);
}
.periartrit-two-cols {
  max-width: 1440px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 496px minmax(0, 1fr);
  gap: 24px 48px;
}

.periartrit-two-cols__item {
  font-size: 18px;
  line-height: 1.4;
}

.periartrit-two-cols__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.periartrit-img-row {
  max-width: 1440px;
  margin: 32px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 496px minmax(0, 1fr);
  gap: 60px;
  align-items: flex-start;
}

.periartrit-img-row__img img {
    position: relative;
    top: 40px;
    left: 0;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

.periartrit-img-row__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.periartrit-img-row__content p {
  font-size: 18px;
  line-height: 1.4;
}

.periartrit-img-row__content span {
  color: rgba(59, 139, 235, 1);
}

@media (max-width: 768px) {
  .periartrit-two-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .periartrit-img-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
    margin-bottom: 55px;
  }

  .periartrit-img-row__img img {
    max-width: 100%;
    height: auto;
  }
}

.uvt-duo__media-text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uvt-duo__media-text--expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.effective-2col {
  background: var(--amc-background-blue);
  box-shadow: var(--amc-box-shadow);
  padding: 48px 24px;
  border-radius: 24px;
}

@media (max-width: 992px) {
  .effective-2col {
    padding: 24px 16px;
  }
}

@media (max-width: 768px) {
  .effective-2col {
    padding: 16px 8px;
  }
}

.effective-2col__title {
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .effective-2col__title {
    text-align: center;
  }
}

.effective-2col__intro {
  margin-top: 8px;
}

/* --- СЕТКА ДВЕ КОЛОНКИ --- */
.effective-2col__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .effective-2col__cols {
    grid-template-columns: 1fr;
  }
}

/* --- СПИСОК ВНУТРИ КАЖДОЙ КОЛОНКИ --- */
.effective-2col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- ЭЛЕМЕНТЫ СПИСКА --- */
.effective-2col__item {
  width: 642px;
  height: 150px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 16px 56px;
  min-height: 64px;
  display: flex;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .effective-2col__item {
    width: 343px;
    height: 120px;
  }
  .effective-2col__item-title {
    font-size: 14px;
  }
}

/* --- НУМЕРАЦИЯ --- */
.effective-2col__item::before {
  counter-increment: ef2-num;
  content: counter(ef2-num);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #2B6CE2;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}

/* --- ПУНКТ С ИКОНКОЙ --- */
.effective-2col__item--alert {
  background: transparent;
}

.effective-2col__item--alert::before {
  counter-increment: none;
  content: "";
  background: url("/wp-content/themes/new-artromed/svg/blue-exclamation-mark.svg") no-repeat center / contain;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
}

.effective-2col__item-title {
  font-family: Inter;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
}


/* --- ФОРМА --- */
.effective-2col__form {
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

