

/* Start:/local/css/president-landing.css?17833494365538*/
/* President landing — /svetlana-romanova/ (desktop) */
.president-landing {
  --president-text: #2a2a2a;
  --president-muted: #5c5c5c;
  --president-accent: #c45d2c;
  --president-bg: #faf7f4;
  --president-radius: 20px;
}

.president-hero {
  background: linear-gradient(180deg, var(--president-bg) 0%, #fff 100%);
  padding: 32px 0 48px;
}

.president-hero__grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 40px;
  align-items: start;
}

.president-hero__media img {
  display: block;
  width: 100%;
  border-radius: var(--president-radius);
  box-shadow: 0 16px 40px rgba(30, 24, 20, 0.12);
  object-fit: cover;
}

.president-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--president-accent);
}

.president-hero__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.president-hero__post {
  margin: 0 0 20px;
  font-size: 1.125rem;
  color: var(--president-muted);
}

.president-hero__bio {
  max-width: 52rem;
  color: var(--president-text);
  line-height: 1.65;
}

.president-hero__bio p {
  margin-bottom: 1rem;
}

.president-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.president-section {
  padding: 48px 0;
}

.president-section--interview {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.president-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.president-section__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.president-section__more {
  color: var(--president-accent);
  text-decoration: none;
  white-space: nowrap;
}

.president-section__more:hover {
  text-decoration: underline;
}

.president-interview-head {
  margin-bottom: 24px;
}

.president-interview-head__date {
  display: block;
  margin-top: 8px;
  color: var(--president-muted);
  font-size: 0.95rem;
}

.president-interview-opener {
  margin-top: 0;
}

.president-interview-body .president-interview-opener {
  margin-bottom: 2rem;
}

.president-interview-body .president-longread {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--president-text);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.president-longread__lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--president-muted);
  margin-bottom: 2rem;
}

.president-longread h3.president-longread__question {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--president-text);
}

.president-longread p {
  margin: 0 0 1rem;
}

.president-longread p.president-longread__answer {
  margin-bottom: 1.25rem;
}

.president-pullquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--president-accent);
  background: var(--president-bg);
  border-radius: 0 12px 12px 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Aspro theme draws a decorative :after that breaks the left border */
.president-longread .president-pullquote:after,
.president-interview-body .president-pullquote:after {
  display: none !important;
  content: none !important;
}

.president-figure {
  margin: 2rem 0;
  clear: both;
  line-height: 0;
}

.president-figure picture {
  display: block;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 24, 20, 0.08);
}

.president-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

/* Aspro .detail img { display: inline-block } leaves a gap under photos in blog */
.detail .president-figure img,
.detail .president-longread .president-figure img {
  display: block !important;
  margin-left: 0;
  margin-right: 0;
  max-height: none;
}

.president-figure--center {
  margin: 2.5rem 0;
}

.president-figure--left {
  float: left;
  width: min(440px, 52%);
  max-width: 52%;
  margin: 0.5rem 2rem 1.5rem 0;
}

.president-figure--right {
  float: right;
  width: min(440px, 52%);
  max-width: 52%;
  margin: 0.5rem 0 1.5rem 2rem;
}

.president-longread__source {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--president-muted);
  text-align: center;
}

.president-interview-foot {
  margin-top: 2rem;
  text-align: center;
}

.president-interview-foot a {
  color: var(--president-accent);
}

.president-cta {
  padding: 56px 0 72px;
  background: var(--president-bg);
}

.president-cta__inner {
  text-align: center;
  max-width: 40rem;
}

.president-cta__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.president-cta__text {
  margin: 0 0 24px;
  color: var(--president-muted);
  line-height: 1.6;
}

#president-blog .item-views,
#president-video .item-views {
  margin-top: 0;
}

@media (max-width: 991px) {
  .president-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .president-hero__media {
    max-width: 320px;
    margin: 0 auto;
  }

  .president-figure--left,
  .president-figure--right {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }

  .president-figure {
    margin: 1.5rem 0;
  }
}

@media (max-width: 767px) {
  .president-hero {
    padding: 20px 0 32px;
  }

  .president-section {
    padding: 32px 0;
  }

  .president-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .president-hero__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* End */


/* Start:/local/css/magazine-shelf.css?178351263413557*/
/**
 * Стили 3D-полки журналов и встраиваемого ридера (Page-Flip.js)
 * Разработано специально для имиджевой галереи публикаций Светланы Романовой
 */

/* 1. Полка журналов (Magazine Shelf) */
.magazine-shelf-container {
    margin: 40px auto;
    width: 100%;
    position: relative;
}

.magazine-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px 30px;
    padding: 20px 0;
    perspective: 1000px; /* Для 3D-эффекта наклонных обложек */
}

/* Журналы сверх начального лимита скрыты, пока не нажмут «Показать все».
   Селектор с .magazine-shelf — чтобы перебить .magazine-card { display:flex } ниже по файлу */
.magazine-shelf .magazine-card--extra {
    display: none;
}
.magazine-shelf.magazine-shelf--expanded .magazine-card--extra {
    display: flex;
}

.magazine-shelf__more-wrap {
    text-align: center;
    margin-top: 10px;
}
.magazine-shelf__more {
    min-width: 200px;
}

.magazine-card {
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
}

/* 3D-эффект обложки */
.magazine-cover-wrapper {
    position: relative;
    width: 190px;
    height: 270px;
    perspective: 1000px;
    margin-bottom: 15px;
}

.magazine-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 8px 8px 4px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15), 
                -3px 0 5px rgba(0, 0, 0, 0.1) inset; /* Эффект переплета слева */
    transform: rotateY(-12deg) rotateX(2deg);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

/* Эффект глянцевого отблеска при наведении */
.magazine-cover-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px 8px 8px 4px;
    background: linear-gradient(135deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0) 30%, 
                rgba(255,255,255,0.2) 40%, 
                rgba(255,255,255,0.3) 50%, 
                rgba(255,255,255,0) 60%, 
                rgba(255,255,255,0) 100%);
    transform: translateX(-100%) rotate(-45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

/* Тень от книги на полке */
.magazine-cover-shadow {
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 85%;
    height: 15px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: rotateX(80deg);
}

/* Поведение при наведении */
.magazine-card:hover .magazine-cover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.35), 
                -1px 0 3px rgba(0,0,0,0.1) inset;
}

.magazine-card:hover .magazine-cover-wrapper::after {
    transform: translateX(100%) rotate(-45deg);
}

.magazine-card:hover .magazine-cover-shadow {
    opacity: 0.6;
    transform: rotateX(80deg) scale(1.15);
}

/* Текстовые подписи журналов */
.magazine-title {
    font-size: 15px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 3px;
    color: #222;
    transition: color 0.3s ease;
}

.magazine-card:hover .magazine-title {
    color: var(--theme-base-color, #13B3F8);
}

.magazine-date {
    font-size: 13px;
    color: #888;
}

/* 2. Выдвижной ридер-ящик (Inline Drawer) */
.magazine-drawer {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, #fbfaf8 0%, #f3f0ec 100%); /* Светлый тёплый фон в тон белому сайту */
    border-radius: 12px;
    margin-top: 20px;
    position: relative;
}

.magazine-drawer.active {
    border: 1px solid #e8e4df;
    box-shadow: 0 10px 35px rgba(31, 27, 22, 0.08);
}

.magazine-drawer.active {
    max-height: 900px; /* Запас по высоте, раскрывается скриптом точно */
    margin-bottom: 40px;
}

.magazine-drawer__inner {
    padding: 35px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.magazine-drawer.active .magazine-drawer__inner {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопка закрытия ридера */
.magazine-drawer__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e0dcd6;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(31, 27, 22, 0.08);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.magazine-drawer__close:hover {
    background: var(--theme-base-color, #13B3F8);
    border-color: var(--theme-base-color, #13B3F8);
    color: #fff;
    transform: rotate(90deg);
}

/* Контейнер самой книги */
.flip-book-wrapper {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

/* Скролл-контейнер для поддержки зума.
   Высота фиксируется скриптом под размер книги: при зуме контент
   прокручивается внутри, а не раздувает drawer и не выталкивает тулбар. */
.flip-book-scroll-container {
    width: 100%;
    overflow: auto;
    display: flex;
    min-height: 500px;
    padding: 20px 40px;
    box-sizing: border-box;
    /* Отключаем нативный pinch-зум браузера над книгой — свой в magazine-shelf.js */
    touch-action: pan-x pan-y;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 27, 22, 0.2) transparent;
}

/* Во время pinch-жеста transition отключается, иначе зум «догоняет» пальцы рывками */
.flip-book-wrapper.is-pinching .flip-book,
.flip-book-wrapper.is-pinching .flip-book-scale-helper {
    transition: none;
}

/* Стилизация скроллбаров для WebKit (Chrome, Safari, Edge) */
.flip-book-scroll-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.flip-book-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.flip-book-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(31, 27, 22, 0.2);
    border-radius: 4px;
}

.flip-book-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 27, 22, 0.35);
}

/* Помощник масштабирования.
   margin: auto — «безопасное» центрирование: пока книга меньше контейнера,
   она по центру; когда больше (зум) — края доступны прокруткой,
   в отличие от justify-content/align-items: center, обрезающих верх и лево. */
.flip-book-scale-helper {
    position: relative;
    margin: auto;
    flex-shrink: 0;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* PageFlip Book Container */
.flip-book {
    box-shadow: 0 12px 35px rgba(31, 27, 22, 0.18);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center center;
    position: relative;
}

/* Страница внутри ридера */
.flip-page {
    background-color: #fff;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.flip-page img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Картинка масштабируется без искажений */
    user-select: none;
    -webkit-user-drag: none;
    display: block;
}

/* 3. Кнопки-стрелки перелистывания */
.flip-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: #fff;
    border: 1px solid #e0dcd6;
    border-radius: 50%;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(31, 27, 22, 0.12);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    z-index: 8;
}

.flip-arrow:hover {
    background-color: var(--theme-base-color, #13B3F8);
    border-color: var(--theme-base-color, #13B3F8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(19, 179, 248, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.flip-arrow--prev { left: -16px; }
.flip-arrow--next { right: -16px; }

.flip-arrow[disabled] {
    opacity: 0.25;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .flip-arrow--prev { left: 4px; }
    .flip-arrow--next { right: 4px; }
}

@media (max-width: 767px) {
    .flip-arrow {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

/* Подсказка-уголок: нижний правый угол страницы периодически «приподнимается»,
   намекая, что страницу можно перелистнуть */
.flip-corner-hint {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48px;
    height: 48px;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(315deg,
        #ffffff 0%,
        #f4f1ec 42%,
        #ddd8d1 48%,
        rgba(31, 27, 22, 0.18) 50%,
        transparent 53%);
    transform-origin: 100% 100%;
    transform: scale(0);
    opacity: 0;
    animation: corner-peek 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes corner-peek {
    0%, 60%, 100% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1); opacity: 1; }
    85% { transform: scale(1); opacity: 1; }
    95% { transform: scale(0); opacity: 0; }
}

/* 4. Нижний тулбар управления */
.flip-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin-top: 15px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e8e4df;
    border-radius: 30px;
    color: #444;
    box-shadow: 0 2px 10px rgba(31, 27, 22, 0.06);
}

.flip-page-info {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.flip-zoom-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.flip-zoom-val {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    min-width: 45px;
    text-align: center;
    user-select: none;
}

.flip-zoom-btn {
    background: #f5f3f0;
    border: 1px solid #e0dcd6;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
    width: 28px;
    height: 28px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.flip-zoom-btn:hover {
    background: var(--theme-base-color, #13B3F8);
    border-color: var(--theme-base-color, #13B3F8);
    color: #fff;
}

/* Лоадер при загрузке книги */
.flip-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Центровка отрицательными margin — transform занят анимацией вращения */
    margin: -30px 0 0 -30px;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(31, 27, 22, 0.08);
    border-radius: 50%;
    border-top-color: var(--theme-base-color, #13B3F8);
    animation: flip-spin 1s ease-in-out infinite;
    z-index: 9;
}

@keyframes flip-spin {
    to { transform: rotate(360deg); }
}

/* 6. Мобильная компоновка: минимум вложенных отступов, журнал во всю ширину */
@media (max-width: 767px) {
    .magazine-drawer {
        border-radius: 8px;
    }

    .magazine-drawer__inner {
        padding: 44px 3px 14px; /* сверху — место под кнопку закрытия */
    }

    .flip-book-scroll-container {
        padding: 8px 0; /* журнал во всю ширину области */
        min-height: 0; /* высоту задаёт скрипт по размеру книги */
    }

    /* Кнопки зума скрыты — масштаб жестом pinch; счётчик страниц по центру */
    .flip-zoom-controls {
        display: none;
    }

    .flip-toolbar {
        justify-content: center;
        padding: 8px 14px;
        margin-top: 12px;
    }
}

/* End */
/* /local/css/president-landing.css?17833494365538 */
/* /local/css/magazine-shelf.css?178351263413557 */
