/*
 Theme Name: Child Alchemy Shorts
 Theme URI: None
 Description: This theme is for changes!
 Author:       alhimikus
 Author URI: None
 Template:     alhimshorts
 Version:      1.2.4
 License: License
 License URI: No license required
*/

.consultation-block h2 {
    color: var(--primary-color);
    padding-bottom: 25px;
}

.consultation-block p {
    color: var(--primary-color);
}

.accordion__toggle.is-open {
    color: #2f2f2f;
}

.accordion__text {
    color: #2f2f2f;
    background-color: #bcb4d3;
    margin: -10px 20px 25px;
    border-radius: 0 0 25px 25px;
}

@media only screen and (max-width: 768px) {
    .accordion__toggle {
        font-size: 14px;
        padding: 5px 20px;
    }

    .accordion__toggle.is-open .accordion__toggle-text strong {
        font-weight: bold;
    }
}

.page-footer {
    border-bottom: 25px solid #2f2f2f;
    background-color: #2f2f2f;
    padding: 30px 0;
}

@media only screen and (min-width: 1200px) {
    .page-footer {
        border-bottom: 40px solid #2f2f2f;
    }
}

@media only screen and (min-width: 768px) {
    .page-footer {
        padding: 40px 0;
    }
}

.page-footer__title {
    color: var(--trinity-color);
}

.page-footer__menu a:hover {
    color: var(--secondary-color);
}

.footer__menu .mainmenu__item a {
    background-color: #2f2f2f;
}

.page-header__menu .mainmenu__item a:hover {
    color: #2f2f2f;
}

.tariffs h2,
.tariffs h3,
.tariffs p,
.tariffs li {
    color: #c9ddf1;
}

.tariff-card__pricebox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-section._bg-section-dark {
    background: var(--primary-color);
}

.profile-card {
    background-color: var(--accent-color-light);
    -webkit-box-shadow: 0 7px 23px 13px #373033;
    box-shadow: 0 7px 23px 13px #373033;
}

.profile-card__products-title {
    color: var(--white-color);
}

.section-header {
    margin-top: 20px;
}

.course-product {
    -webkit-box-shadow: 0 7px 24px 13px #d6ceec;
    box-shadow: 0 7px 24px 13px #d6ceec;
    background-color: #b8afd3;
}

.course-product:hover {
    background-color: #8e7676;
}

.button._primary:hover {
    background-color: #ad9595;
}

.page-header {
    background-color: #2f2f2f;
}

.button._secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

#menu-footer-menu .mainmenu__item {
    border-bottom: 0;
}

.button._secondary {
    margin-bottom: 20px;
}

.profile__subtitle {
    color: #645982;
}


.page-header__main {
    background-color: rgba(41, 40, 40, 0.98);
}

.page__wrapper {
    background-color: rgba(41, 40, 40, 0.98);
}

.button._secondary:hover {
    background-color: #7e506f;
}

.mainpage__about-text {
    color: #444;
}

.accordion .section-header h2 {
    color: var(--primary-color);
}

.accordion__toggle {
    background-color: var(--primary-color);
    border-radius: 25px;
}

.accordion__toggle.is-open {
    border-radius: 12px;
}

.tariff-card {
    background-color: #444;
}

.container-wide .textblock {
    color: #fde7d0;
}

.textblock p:last-child {
    margin-bottom: 20px;
}

.landing-page__author-img img {
    margin-top: 10px;
}

.container-wide .section-header {
    color: #fde7d0;
}


.page-header__menu .mainmenu__item a {
    color: #fff;
    background-color: #292828;
}

.page-header__menu .mainmenu__item a:hover {
    color: #f2e8c7;
}

.page-header__menu .mainmenu__item a:hover,
.page-header__menu .mainmenu__item .sub-menu a:hover {
    background-color: #201919;
}

@media only screen and (max-width: 767px) {
    .page-footer__block .page-footer__title_site {
        display: none;
    }

    .page-footer__block .block-footer__menu {
        display: none;
    }

    .mainmenu__item {
        border-bottom: 1px solid #604848;
    }
}

/* Контактная форма */

/* Обертка формы */
.custom-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fdd9b6;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Группа полей */
.form-group {
    margin-bottom: 15px;
}

/* Метки полей */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Поля ввода */
.custom-form input[type="text"],
.custom-form input[type="tel"],
.custom-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ebb886;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background-color: #f5dec7;
}

/* Стиль при фокусе */
.custom-form input[type="text"]:focus,
.custom-form input[type="tel"]:focus,
.custom-form textarea:focus {
    border-color: #b46125;
    outline: none;
}

/* Поле для текста */
.custom-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Кнопка отправки */
.submit-button input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #d37f43;
    ;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Стиль кнопки при наведении */
.submit-button input[type="submit"]:hover {
    background-color: #ad7b57;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .custom-form {
        padding: 15px;
    }

    .submit-button input[type="submit"] {
        max-width: 100%;
    }
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #fdd9b6;
    color: #fdd9b6;
}

.contact-form-wrapper h2 {
    color: #fdd9b6;
}

/* Стили для таблиц с ценами */

/* Общий контейнер */
.pricing-container {
    background-color: #fdd9b6;
    /* Основной цвет фона */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Блоки "Проживание" и "Дополнительные услуги" */
.pricing-block {
    margin-bottom: 40px;
}

.pricing-block h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Контейнер для элементов */
.pricing-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Отдельный элемент */
.pricing-item {
    background-color: #fde7d0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Заголовок элемента */
.item-header {
    font-size: 18px;
    font-weight: bold;
    color: #ce714f;
    /* Акцентный цвет */
    margin-bottom: 10px;
}

/* Детали элемента */
.item-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

/* Эффект при наведении */
.pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .pricing-items {
        gap: 15px;
    }

    .pricing-item {
        max-width: 100%;
    }
}

/* Стили для галереии */

/* Общая структура галереи */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Три столбца */
    gap: 20px;
    /* Отступы между изображениями */
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* Закругленные углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Легкая тень */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    /* Плавное увеличение при наведении */
}

.gallery-item:hover img {
    transform: scale(1.05);
    /* Небольшое увеличение при наведении */
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Два столбца на планшетах */
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Один столбец на мобильных устройствах */
    }
}



/* Стили для Страницы Контакты */

/* Общий контейнер */
.contact-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fdd9b6;
    /* Основной цвет фона */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Блок с контактами */
.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #f5dec7;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.contact-info a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Блок с картой */
.contact-map {
    flex: 1.5;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .contact-block {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info,
    .contact-map {
        min-width: 100%;
    }
}




.consultation-block {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.consultation-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: #333;
}

.consultation-content {
    display: flex !important;
    /* Принудительное отображение как flex */
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    /* Явная ширина */
}

/* Текстовая часть */
.consultation-text {
    flex: 1 1 300px;
    min-width: 0;
}

.consultation-text p {
    margin-top: 0;
    font-size: 2rem;
    line-height: 1.6;
}

/* Ссылки-кнопки */
.consultation-links {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.consultation-link {
    display: flex !important;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #fff;
    background-color: #666;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    justify-content: flex-start;
    text-align: left;
}

.consultation-link:hover,
.consultation-link:focus {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Иконки Font Awesome */
.consultation-link i {
    margin-right: 15px;
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Текст внутри кнопки */
.consultation-link span {
    flex-grow: 1;
    text-align: center;
}

/* Цвета кнопок */
.consultation-link.telegram {
    background-color: #2c6e8f;
}

.consultation-link.whatsapp {
    background-color: #358A55;
}

.consultation-link.vk {
    background-color: #45668e;
}

/* Картинка */
.consultation-image {
    flex: 1 1 300px;
    min-width: 0;
}

.consultation-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .consultation-content {
        flex-direction: column !important;
    }

    .consultation-links {
        align-items: stretch;
    }

    .consultation-link {
        width: 100%;
        max-width: none;
    }
}

/* --- ДОПОЛНЕНИЕ К СУЩЕСТВУЮЩИМ СТИЛЯМ --- */

/* Стиль для кнопки телефона */
.consultation-link.phone {
    background-color: #888 !important;
}

/* Выделенная кнопка — подписка на канал */
.consultation-channel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 1.5rem;
    background: #2c6e8f;
    color: white !important;
    text-decoration: none !important;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
}

.consultation-channel-link:hover,
.consultation-channel-link:focus {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Улучшение выравнивания текста в кнопках */
.consultation-link span {
    text-align: left;
}

/* Адаптив — уменьшаем заголовок на мобильных */
@media (max-width: 768px) {
    .consultation-title {
        font-size: 2.5rem;
    }

    .consultation-text p {
        font-size: 1.6rem;
    }
}

/* Новый стиль для тарифов и программ */

/* Контейнер тарифов */
.tariffs__list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

.tariffs__item {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
}

/* Базовый стиль карточки */
.tariff-card {
    background: #1e1e1e;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tariff-card._dark {
    background: #3a3a3a;
    color: #fff;
}

/* Выделенный блок — слоновая кость */
.tariff-card._featured {
    background: #fdfbf7;
    color: #1a1a1a;
    transform: scale(1.05);
    /* больше */
    z-index: 1;
}

.tariff-card._featured * {
    color: #1a1a1a !important;
}

.tariff-card__main {
    padding: 24px;
}

.tariff-card__title {
    font-size: 1.5em;
    margin: 0 0 12px 0;
    color: inherit;
}

.tariff-card__list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.tariff-card__list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.tariff-card__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00aaff;
}

.tariff-card__pricebox {
    margin-bottom: 16px;
}

.tariff-card__price {
    font-size: 1.4em;
    font-weight: bold;
    color: inherit;
}

.tariff-card__oldprice {
    text-decoration: line-through;
    color: #999;
    margin-left: 8px;
    font-size: 0.9em;
}

.tariff-card__button {
    display: block;
    background: #70668c;
    ;
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.tariff-card._featured .tariff-card__button {
    background: #b5a6dd;
    color: #fff;
}

.tariff-card__button:hover {
    background: #8479a5;
}

.tariff-card._featured .tariff-card__button:hover {
    background: #aba0ca;
}

/* Бейдж (опционально) */
.tariff-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #b5a6dd;
    color: white;
    font-size: 12px;
    padding: 6px 10px 6px;
    border-radius: 12px;
    font-weight: bold;
    z-index: 2;
}


/* Кнопка о мастере */

.textblock-button__link {
    display: inline-block;
    background: #70668c;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.textblock-button__link:hover {
    background: #9488b6;
}

/* Центрирование кнопки мастера */
.textblock-button {
    text-align: center;
}


/* Коррекция аккордиона для мобильных версий */
@media (max-width: 768px) {

    .textblock p {
        margin: 0 0 15px;
        line-height: 1.45;
        font-size: 15px;
    }

    .accordion__text {
        margin: -12px 5px 25px;
        border-radius: 0 0 25px 25px;
    }
}

/* Косые переходы */
/* === Базовые стили для первого блока === */
.landing-page__cover {
    position: relative;
    overflow: hidden;
}

/* === Псевдоэлемент: косой переход (единая структура) === */
.landing-page__cover::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--color-block-light);
    transform-origin: bottom;
    z-index: 1;
    pointer-events: none;
    /* Тень для объёма — одинаковая на всех экранах */
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .landing-page__cover::after {
        height: 60px;
        bottom: -30px;
        transform: skewY(-2.8deg);
        /* Чуть сильнее — чтобы было заметно */
    }

    .page-section.has-background {
        margin-top: -5px;
        position: relative;
        z-index: 2;
    }

    .landing-page__cover {

        min-height: calc(80vh - 48px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .landing-page__cover::after {
        height: 80px;
        bottom: -35px;
        transform: skewY(-2.2deg);
    }

    .page-section.has-background {
        margin-top: -10px;
        position: relative;
        z-index: 2;
    }

    .landing-page__cover {

        min-height: calc(90vh - 48px);
    }

}

@media (min-width: 1025px) and (max-width: 1919px) {
    .landing-page__cover::after {
        height: 90px;
        bottom: -40px;
        transform: skewY(-2deg);
    }

    .page-section.has-background {
        margin-top: -10px;
        position: relative;
        z-index: 2;
    }
}

@media (min-width: 1920px) {
    .landing-page__cover::after {
        height: 110px;
        bottom: -50px;
        transform: skewY(-2.1deg);
        box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.12);
        /* Чуть сильнее тень */
    }

    .page-section.has-background {
        margin-top: -12px;
        position: relative;
        z-index: 2;
    }
}


/* Доработки обучения */

/* Общий блок */
.page-section .yonimsk-benefits-grid .benefits-grid-title {
  color: #c8baf2 !important;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.yonimsk-benefits-grid {
  background-color: #2d2c2c;;
  color: #fff;
  padding: 50px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.benefits-grid-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #c8baf2;
  line-height: 1.3;
}

/* Колонки */
.benefits-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-column {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px 24px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(184, 175, 211, 0.15);
}

/* Заголовки колонок */
.column-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.column-header i {
  font-size: 24px;
}

.column-header.men i { color: #b8afd3; }
.column-header.women i { color: #c8baf2; }
.column-header.couples i { color: #d4c9f0; }

.column-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

/* Списки */
.benefits-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-items li {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  gap: 12px;
}

.benefits-items li i {
  color: #c8baf2;
  font-size: 16px;
  min-width: 18px;
  margin-top: 4px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .benefits-columns {
    flex-direction: column;
    align-items: center;
  }

  .benefits-column {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .benefits-grid-title {
    font-size: 26px;
    padding: 0 10px;
  }

  .benefits-column {
    padding: 24px 20px;
  }

  .benefits-items li {
    font-size: 15px;
    gap: 10px;
  }

  .column-header h3 {
    font-size: 20px;
  }
}



/* Второй блок самопал */

/* Блок содержания курсов */
.yonimsk-courses-content {
  background-color: #e1d9fa;
  padding: 50px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
}

.courses-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #6a5acd; /* немного темнее основного фиолетового для контраста */
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.course-header i {
  font-size: 24px;
  color: #b8afd3; /* ваш основной цвет */
}

.course-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #444;
}

.course-section {
  margin-bottom: 20px;
}

.course-section h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #666;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.course-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.course-section li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  position: relative;
  padding-left: 20px;
}

.course-section li::before {
  content: '•';
  color: #c8baf2;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .courses-title {
    font-size: 26px;
    padding: 0 10px;
  }

  .course-card {
    padding: 20px;
  }

  .course-header h3 {
    font-size: 19px;
  }
}