/* Заголовки только внутри основного контента страниц/записей */
.entry-content h2,
.entry-content h3,
.entry-content h5{
  color:#990000 !important;
}

#learn-press-content-item .lesson-description h2,
#learn-press-content-item .lesson-description h3,
#learn-press-content-item .lesson-description h5{
  color:#990000 !important;
}

#learn-press-content-item .lesson-description h4{
 color:#337ab7 !important;
}

.entry-content h4{
  color:#337ab7 !important;
}
.single-lp_course .lp-course-description h2,
.single-lp_course .lp-course-description h3,
.single-lp_course .lp-course-description h5{
  color:#990000 !important;
}
.single-lp_course .lp-course-description h4{
  color:#337ab7 !important;
}
.woocommerce table.shop_table td {
    font-size: 16px;  
}
.woocommerce-Price-currencySymbol{
    font-size: 16px;  
}

body.woocommerce-account h2.woocommerce-order-details__title{
  font-size: 28px !important;
	color: #990000 !important;
}
.woocommerce .woocommerce-customer-details .woocommerce-column__title{
  font-size: 28px !important;
	color: #990000 !important;
}


.woocommerce-account .woocommerce-Address-title h2 {
   font-size: 28px !important;
	color: #2E6598 !important;
}

.woocommerce-order p{
  line-height: 1.6!important;
}
.woocommerce-message + p{
  line-height: 1.6;
}
.woocommerce-MyAccount-navigation a{
  font-size: 18px;
  padding: 12px 0;
}

.woocommerce-account .woocommerce-MyAccount-content p{
  margin-bottom: 16px;
}

body.single-lp_course .lp-single-course__header__inner{
  background-color: transparent !important;
  background-image: url("https://shkola.glazamidushi.ru/wp-content/uploads/2026/02/fon-glde1.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  /* важно: чтобы фон обрезался по скруглениям */
  border-radius: inherit;
  overflow: hidden;
}

/* 1) Текст в шапке курса */
body.single-lp_course .lp-single-course__header__inner,
body.single-lp_course .lp-single-course__header__inner a,
body.single-lp_course .lp-single-course__header__inner .course-title{
  color: #fff !important;
}

/* 2) Мягкая подложка слева */
body.single-lp_course .lp-single-course__header__inner{
  position: relative;
}

body.single-lp_course .lp-single-course__header__inner:before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.38) 0%,
    rgba(0,0,0,.28) 55%,
    rgba(0,0,0,0) 100%
  );
  pointer-events:none;
}

/* Чтобы контент был поверх подложки */
body.single-lp_course .lp-single-course__header__inner > *{
  position: relative;
}

/* 2.1) ВЫРАВНИВАНИЕ хлебных крошек */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb{
  display: flex;
  align-items: center;
  gap: 6px;              /* расстояние между элементами */
  line-height: 1.2;
}

/* У "кнопок" убираем влияние baseline */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb a,
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb span{
  vertical-align: middle;
  line-height: 1.2;
}

/* Разделитель (стрелочки) — приводим в порядок */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb .breadcrumb-delimiter{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: flex;
  align-items: center;
  opacity: .75;
}

/* Иногда внутри delimiter бывает span — тоже выравниваем */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb .breadcrumb-delimiter *{
  line-height: 1 !important;
}

/* 3) Хлебные крошки — синяя плашка по умолчанию */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb a,
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb li > span{
  color:#fff !important;
  text-decoration:none;
  padding: 2px 8px;
  border-radius: 6px;
  display:inline-block;
  background: linear-gradient(180deg,#3E82C3,#3475AF);
}

body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb a > span{
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Hover */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb a:hover{
  background:#990000 !important;
  color:#fff !important;
}

body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb a:hover > span{
  color:#fff !important;
}



/* 4) Hover для остальных ссылок в шапке (но НЕ для хлебных крошек) */
body.single-lp_course .lp-single-course__header__inner a:hover{
  background: transparent !important;
  color:#990000 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-decoration: none;
}

/* Важно: исключаем крошки из правила №4 */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb a:hover{
  background:#990000 !important;
  color:#fff !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
}

/* 5) Если где-то остаются “серые” подложки у заголовка*/
body.single-lp_course .lp-single-course__header__inner .course-title,
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb,
body.single-lp_course .lp-single-course__header__inner .course-instructor-category,
body.single-lp_course .lp-single-course__header__inner .course-instructor,
body.single-lp_course .lp-single-course__header__inner .lp-single-course-info-one{
  background: transparent !important;
}

/* Отступ между хлебными крошками и заголовком */
body.single-lp_course .lp-single-course__header__inner .learn-press-breadcrumb{
  margin-bottom: 10px!important;
}

/* Заголовок курса — межбуквенный интервал */
body.single-lp_course .lp-single-course__header__inner .course-title{
  letter-spacing: 0.09em;
}

#learn-press-profile .wrapper-profile-header{
  background-image: url("https://shkola.glazamidushi.ru/wp-content/uploads/2026/02/fon-glde1.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Увеличить текст пунктов меню профиля LearnPress */
#learn-press-profile.lp-user-profile #profile-sidebar #profile-nav .lp-profile-nav-tabs > li > a{
  font-size: clamp(16px, 1.1vw, 19px) !important;
  line-height: 1.4 !important;
  padding: 14px 22px 14px 44px !important; 
}

/* Увеличить иконки */
#learn-press-profile.lp-user-profile #profile-sidebar #profile-nav .lp-profile-nav-tabs > li > a > i{
  font-size: 18px !important;
}

/* Глобальная цитата Anesta */
blockquote {
  background: linear-gradient(
 90deg,
  #77A7D2 0%,
  #7fb2da 20%,
  #9bbddc 50%,
  #7fb2da 80%,
  #77A7D2 100%
);
  border: none;
  border-left: none;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 18px 0;
}

#popup-course #popup-content #learn-press-content-item .content-item-description blockquote p,
#learn-press-content-item .content-item-description blockquote p {
  color: #071021 !important;
  font-size: 18px !important;   
  line-height: 1.55 !important;
  margin: 0 !important;
  opacity: 1 !important;
}

/* Ссылка внутри цитаты */
#popup-course #popup-content #learn-press-content-item .content-item-description blockquote a,
#learn-press-content-item .content-item-description blockquote a {
  color: #fff !important;
  text-decoration: underline;
}

#popup-course #popup-content #learn-press-content-item .content-item-description blockquote a:hover,
#learn-press-content-item .content-item-description blockquote a:hover {
  color: #cc0000 !important;
  -webkit-text-fill-color: #cc0000 !important;
  text-decoration: underline;
}

/* Задание и иконка*/
#popup-course #popup-sidebar .course-item__link:hover .course-item-title{
  color: #3475AF !important;
}

#popup-course #popup-sidebar .course-item-ico.lp_lesson:before,
#popup-course #popup-sidebar .course-item_link:hover .course-item-ico.lp_lesson:before {
  color: #3475AF !important;
}
/* Кнопка поиска в сайдбаре курса */
#popup-course #popup-sidebar .search-course button.sc_button_hover_slide_left{
  background: #e5e5e5 !important;
}

#popup-course #popup-sidebar .search-course button.sc_button_hover_slide_left:hover{
  background: #d6d6d6 !important;
}

/* Отступы между абзацами в описании урока LearnPress */
#learn-press-content-item .content-item-description p,
#popup-course #popup-content #learn-press-content-item .content-item-description p{
  margin: 0 0 14px !important;   
}

/* Чтобы последний абзац не давал лишний хвост */
#learn-press-content-item .content-item-description p:last-child,
#popup-course #popup-content #learn-press-content-item .content-item-description p:last-child{
  margin-bottom: 0 !important;
}


#learn-press-content-item .content-item-description h2{
    background: url("//glazamidushi.ru/wp-content/uploads/2019/01/h2-bottom-bord.png") no-repeat 50% 100%;
    font-weight: bold;
    line-height: 40px;
    margin: 40px 0 20px;
    padding-bottom: 23px;
    text-align: center;
}

/* Миниатюра курса на странице автора — 380×213 (16:9) */
.lp-single-instructor .course-img{
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--theme-var-content_rad);
}

.lp-single-instructor .course-img img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  aspect-ratio: auto !important;
}

/* Фон в карточке автора курса */
.lp-single-instructor .lp-single-instructor__info{
  background-image: url("https://shkola.glazamidushi.ru/wp-content/uploads/2026/02/fon-glde1.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  /* прибиваем красную заливку темы */
  background-color: transparent !important;
}

/* Имя автора курса */
.lp-single-instructor .instructor-display-name{
  color: #fff !important;
	font-size: 25px !important;
}

/* LearnPress — уменьшить аватар инструктора */
.lp-single-course .instructor-avatar img.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Убрать блок Passing grade progress по иконке подсказки */
.lp-single-course .course-progress__label:has(.lp-icon-question-circle) {
  display: none !important;
}

/* LearnPress: скрыть сообщение под заголовком на странице /courses/ */
.lp-archive-courses p.course-archive-message-by-via-product{
  display: none !important;
}

/* 16:9 без привязки к пикселям */
.lp-archive-courses .learn-press-courses .course-thumbnail,
.lp-archive-courses .learn-press-courses .course-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: var(--theme-var-content_rad, 16px);
  border-top-right-radius: var(--theme-var-content_rad, 16px);
}

/* Значения (обучающихся, недель и т.д.)*/
.lp-single-course .info-metas .info-meta-right,
.lp-single-course .info-metas .course-count-student {
    font-size: 17px;
    line-height: 1.35;
}

/* Подписи (Человек, Урок, Длительность…)*/
body .lp-single-course .lp-single-course-main__right .lp-single-course-main__right__inner
.info-metas .info-meta-item .info-meta-left{
  font-size: 17px !important; 
  line-height: 1.25em !important;
  font-weight: 500 !important;
}

/* ВЕРХНИЙ БЛОК справа*/
.lp-single-course .lp-single-course-main__right__inner .info-learning,
.lp-single-course .lp-single-course-main__right__inner .info-learning *{
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}
	/* Контейнер прогресса */
body .lp-single-course .lp-single-course-main__right__inner 
.info-learning .course-items-completed-progress-bar{
  display:block !important;
  width:100% !important;
  margin-top:8px !important;
}

/* Фон полосы */
body .lp-single-course .lp-single-course-main__right__inner 
.info-learning .course-progress__line{
  display:block !important;
  width:100% !important;
  height:12px !important;
  border-radius:999px !important;
  background: rgba(52,117,175,.15) !important;
  overflow:hidden !important;
  position:relative !important;

  /* мягкая тень всего бара */
  box-shadow: 
    inset 0 1px 2px rgba(0,0,0,.15),
    0 1px 3px rgba(0,0,0,.15) !important;
}

/* Активная часть */
body .lp-single-course .lp-single-course-main__right__inner 
.info-learning .course-progress__line__active{
  display:block !important;
  height:100% !important;
  border-radius:999px !important;

  /* красивый градиент */
  background: linear-gradient(
    90deg,
    #2f69a0 0%,
    #3475AF 50%,
    #4b8fd1 100%
  ) !important;

  /* лёгкий объём */
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -1px 0 rgba(0,0,0,.15) !important;

  transition: width .35s ease !important;
}

/* Имя пользователя в профиле LearnPress */
#learn-press-profile .lp-profile-username{
    font-size: 27px!important;
    line-height: 1.3!important;
}

/* планшеты */
@media (max-width: 1024px){
    #learn-press-profile .lp-profile-username{
        font-size: 23px!important;
    }
}

/* телефоны */
@media (max-width: 600px){
    #learn-press-profile .lp-profile-username{
        font-size: 20px!important;
    }
}

/* Отступ над кнопкой входа LearnPress */
.learn-press-form-login p:has(button),
.learn-press-form-login p:has(input[type="submit"]) {
    margin-top: 16px;
}

/* Градиент для верхней полоски урока LearnPress */
#popup-course #popup-header {
  background: linear-gradient(
    90deg,
    #77A7D2 0%,
    #7fb2da 20%,
    #9bbddc 50%,
    #7fb2da 80%,
    #77A7D2 100%
  ) !important;
}

/* Кнопка "ЗАВЕРШИТЬ КУРС" — красная */
#popup-course #popup-header .lp-button.lp-btn-finish-course {
background: linear-gradient(180deg, #b30000 0%, #990000 100%) !important;
  color: #ffffff !important;
}

/* Кнопка "ЗАВЕРШИТЬ КУРС" — красная */
#popup-course #popup-header .lp-button.lp-btn-finish-course:hover {
  background: #dc9222 !important;
  color: #ffffff !important;
}

/* Левая кнопка меню курса (квадрат) */
#popup-course #sidebar-toggle {
  background: #990000 !important;
  border-color: #990000 !important;
  color: #ffffff !important;
}

/* Hover */
#popup-course #sidebar-toggle:hover {
  background: #7a0000 !important;
  border-color: #7a0000 !important;
}

/* Заголовок курса в шапке урока */
#popup-course #popup-header .course-title a {
text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Полоса прогресса */
#popup-course .learn-press-progress__active {
  background: linear-gradient(180deg, #b30000 0%, #990000 100%) !important;
}
#popup-header .number {
    color: #ffffff !important;
}

#popup-course #popup-content .learn-press-message.success {
  margin: 6px 0 !important;
}

/* Кнопка "Завершено"*/
#popup-course #popup-content .lp-button.completed {
  margin-top: 0 !important;
}

#popup-course #popup-content .lp-button.completed .lp-icon-check{
  display: inline-block !important;
  transform: translateY(-3px) !important;
  margin-left: 10px !important;
}

/* Отступ перед кнопкой отправки комментария */
#popup-course #popup-content .comments_form .form-submit {
  margin-top: 20px !important;
}

.lp-user-profile .column-order-actions .lp-woo-downloads{ margin-top:8px; }
.lp-user-profile .column-order-actions .lp-woo-download-link{
  display:block;
  margin-top:6px;
  font-size:14px;
  text-decoration: underline;
}