@font-face {
  font-family: 'Floriselscript';
  src: url('../fonts/Floriselscript.woff2') format('woff2'),
       url('../fonts/Floriselscript.woff') format('woff');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LivretBold';
  src: url('../fonts/LivretBold.woff2') format('woff2'),
       url('../fonts/LivretBold.woff') format('woff');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LivretMedium';
  src: url('../fonts/LivretMedium.woff2') format('woff2'),
       url('../fonts/LivretMedium.woff') format('woff');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LivretRegular';
  src: url('../fonts/LivretRegular.woff2') format('woff2'),
       url('../fonts/LivretRegular.woff') format('woff');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TrajanPro3';
  src: url('../fonts/TrajanPro3Regular.woff2') format('woff2'),
       url('../fonts/TrajanPro3Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'miamanueva';
  src: url('../fonts/miamanueva.woff2') format('woff2'),
       url('../fonts/miamanueva.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@media (min-width: 1279.98px) {
    .author-article-card__title {
        font-size: 20px;
    }
}
@media (min-width: 767.98px) {
    .author-article-card__title {
        font-size: 18px;
    }
}
@media (min-width: 1023.98px) {
    .menu__cnt.lazyloaded {
        background-image: none;
    }
}
@media (min-width: 1279.98px) {
    .index-quote-sect__pic-wrap {
        padding: 15px 125px;
    }
}
@media (min-width: 767.98px) {
    .index-quote-sect__pic {
        width:200px;
        height:auto;
    }
}
@media (min-width: 1023.98px) {
    .hdr__logo {
        width: 275px;
    }
}
.hdr__nav-list .sub-menu .hdr__nav-li::after {
  display: none;
}
.index-quote-sect.lazyloaded .index-quote-sect__pic::before {
    background:0 none;
}
.index-subscribe-sect.lazyloaded .index-subscribe-sect__title::after, .index-subscribe-sect.lazyloaded .index-subscribe-sect__title::before {
    background:0 none;
}
/* Стили для выпадающего подменю */
.hdr__nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  padding: 0;
  z-index: 1000;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.hdr__nav-list > li {
  position: relative;
}

/* Показываем подменю при наведении на родителя ИЛИ на само подменю */
.hdr__nav-list > li:hover > .sub-menu,
.hdr__nav-list .sub-menu:hover {
  display: block;
}

/* Элементы подменю */
.hdr__nav-list .sub-menu li {
  display: block;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
}

/* Убираем нижнюю границу у последнего элемента */
.hdr__nav-list .sub-menu li:last-child {
  border-bottom: none;
}

/* Ссылки подменю */
.hdr__nav-list .sub-menu a {
  display: block;
  padding: 12px 25px;
  font-size: 13px;
  color: #282828;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hdr__nav-list .sub-menu a:hover {
  background-color: #fafafa;
  color: #000;
}

/* Для мобильных устройств */
@media (max-width: 767.98px) {
  .hdr__nav-list .sub-menu {
    position: static;
    border: none;
    padding: 10px 0 10px 20px;
  }
  
  .hdr__nav-list .sub-menu li {
    border-bottom: none;
  }
}
.index-quote-block__text {
    font: bold 18px / 120% 'miamanueva', serif;
}
.sect-h1,
.sect-title,
.slider-progress,
.btn,
.hdr__nav,
.faq-card__title,
.faq-card__author-title,
.article-card__title,
.author-article-card__author-name,
.author-article-card__title {
  font-family: LivretDisplay, serif !important;
}
.sect-h1,.sect-title{font:bold 20px/130% LivretDisplay,serif;text-transform:uppercase}
@media (min-width: 1279.98px) {
    .sect-h1, .sect-title {
        font-size: 40px;
    }
}
/* Стили первого слайда "О проекте" */
.about-project-slide .index-hero-slide__pic {
  overflow: hidden;
}

.about-project-slide .index-hero-slide__img {
  transform: translateX(10%) scale(1.2);
  transform-origin: center;
}

.about-project-slide .index-hero-slide__pic {
  position: relative;
}

.about-project-slide .index-hero-slide__pic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.about-project-slide .index-hero-slide__text {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 550px;
  padding-right: 100px;
}

.about-project-slide .index-hero-slide__title {
  font-family: LivretDisplay, serif !important;
  color: #fff;
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.index-hero-slide__text,  .index-hero-slide__text a {
font-family: CormorantGaramond, sans-serif !important;
}
.index-hero-slide__text a h2, .index-hero-slide__title {
font-family: LivretDisplay, serif !important;
}
.index-subscribe-sect.lazyloaded::before {
background:0 none;
}
.about-project-slide .index-hero-slide__descr {
  color: #fff;
  font-family: CormorantGaramond, sans-serif !important;
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.about-project-slide .index-hero-slide__title-link {
  color: #fff;
}

.about-project-slide .index-hero-slide__title-link:hover {
  color: #fff;
  opacity: 0.9;
}
.horoscope-author {
  margin-top: 30px !important;
  padding-top: 25px !important;
  border-top: 1px solid #f0e8df !important;
  display: grid !important;
  grid-template-columns: 60px 1fr !important;
  gap: 15px !important;
  align-items: start !important;
}

.horoscope-author__wrap {
  display: contents !important;
}

.horoscope-author__pic {
  grid-row: 1 / 3;
  margin: 0 !important;
  width: 60px !important;
  height: 60px !important;
}

.horoscope-author__img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.horoscope-author__info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.horoscope-author__name {
  margin: 0 !important;
  font: 700 16px/1.3 LivretDisplay, serif !important;
  color: #282828 !important;
}

.horoscope-author__pos {
  margin: 0 !important;
  font: 12px/1.3 CormorantGaramond, sans-serif !important;
  text-transform: uppercase !important;
  color: #4a7987 !important;
}

.horoscope-author__descr {
  margin: 0 !important;
  font: 14px/1.5 CormorantGaramond, sans-serif !important;
  color: #282828 !important;
  grid-column: 2 !important;
}

.articles-sect__decor-star,
.horoscope-content::before {
  display: none !important;
}
.articles-sect__decor-star {
  display: none !important;
}

#horoscope .articles-sect__decor-star,
.index-horoscope .articles-sect__decor-star {
  display: none !important;
}

/* Tablet */
@media (min-width: 768px) {
  .horoscope-author {
    grid-template-columns: 80px 1fr !important;
    gap: 20px !important;
    padding-top: 30px !important;
    margin-top: 40px !important;
  }
  
  .horoscope-author__pic {
    width: 80px !important;
    height: 80px !important;
  }
  
  .horoscope-author__name {
    font-size: 18px !important;
  }
  
  .horoscope-author__descr {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .horoscope-author {
    grid-template-columns: 100px 1fr !important;
    gap: 25px !important;
  }
  
  .horoscope-author__pic {
    width: 100px !important;
    height: 100px !important;
  }
  
  .horoscope-author__info {
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 12px !important;
  }
  
  .horoscope-author__pos::before {
    content: "•" !important;
    margin-right: 12px !important;
    color: #baaba1 !important;
  }
}