/* Стили для статичных страниц - скопированы из темы moskvichmag2023 */

/* ==========================================================================
   ОБЩИЕ КОМПОНЕНТЫ ДЛЯ СТАТИЧНЫХ СТРАНИЦ
   ========================================================================== */


/**
 * Заголовок секции страницы
 * Используется на страницах: Редакция, Рекламодателям и др.
 */
.page-section-header {
    padding-top: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-section-header__title {
    font-style: normal;
    font-family: 'Rainer', serif!important;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    color: #000;
}


/* ==========================================================================
   ОСНОВНЫЕ СТИЛИ ДЛЯ СТРАНИЦ
   ========================================================================== */

/* Основные стили для страниц */
.page {
    background: #f5f5f5;
    /* font-family: CoFo Robert,sans-serif; */
    color: #000;
    line-height: 1.6;
}


/* Заголовок страницы */
.page__header {
    margin-bottom: 40px;
    padding-top: 45px;
}


h1.page__title, h2.page__title, .page__title, h1.contacts-info__heading.page-title {
    font-family: 'Rainer', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 3px;
    padding-left: 25px;
}

h1.page__title::before , h2.page__title::before , .page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: #000;
}

@media (max-width: 768px) {
    .page__title {
        font-size: 28px;
        line-height: 1.3;
    }
}

/* Контент страницы */
.page__content {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .page__content {
        padding: 20px 0;
        margin-bottom: 20px;
    }
}

/* Заголовки в контенте */
.page__content h3,
.page__content h4,
.page__content h5,
.page__content h6 {
    /* font-family: 'Panama', serif; */
    font-weight: 400;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page__content h1 {
    font-size: 32px;
    margin: 15px 0 30px;
    font-weight: 400;
}

.page__content h2 {
    font-size: 28px;
    margin: 15px 0 20px;
    font-weight: 400;
}

.page__content h3 {
    font-size: 24px;
    margin: 15px 0 20px;
}

.page__content h4 {
    font-size: 20px;
}

.page__content h5 {
    font-size: 18px;
}

.page__content h6 {
    font-size: 16px;
}

@media (max-width: 768px) {
    .page__content h1 {
        font-size: 24px;
    }
    
    .page__content h2 {
        font-size: 22px;
    }
    
    .page__content h3 {
        font-size: 20px;
    }
    
    .page__content h4 {
        font-size: 18px;
    }
    
    .page__content h5 {
        font-size: 16px;
    }
    
    .page__content h6 {
        font-size: 14px;
    }
}

/* Параграфы */
.page__content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

/* Ссылки */
.page__content a {
    color: #000;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.page__content a:hover {
    color: #666;
}

/* Списки */
.page__content ul,
.page__content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page__content li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    list-style: inside;
}

/* Цитаты */
.page__content blockquote {
    border-left: 4px solid #000;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-size: 18px;
    line-height: 1.5;
}

/* Код */
.page__content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.page__content pre {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.page__content pre code {
    background: none;
    padding: 0;
}

/* Таблицы */
.page__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page__content th,
.page__content td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.page__content th {
    background: #f5f5f5;
    font-weight: bold;
}

/* Изображения */
.page__content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

body.verstka-backend-enabled .page__content img {
    max-width: unset;
    height: unset;
    margin: 0;
    border-radius: 0;
}

.page__content .aligncenter {
    display: block;
    margin: 20px auto;
}

.page__content .alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.page__content .alignright {
    float: right;
    margin: 0 0 20px 20px;
}

/* Очистка float */
.page__content::after {
    content: "";
    display: table;
    clear: both;
}

/* Навигация по страницам */
.page__links {
    margin: 30px 0;
    text-align: center;
}

.page__links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f5f5f5;
    color: #000;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.page__links a:hover {
    background: #ddd;
}

.page__links .current {
    background: #000;
    color: #fff;
}

/* Специальные стили для политики конфиденциальности */
.page--privacy .page__content {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page--privacy .page__content h2 {
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-top: 40px;
}

.page--privacy .page__content h3 {
    color: #333;
    margin-top: 30px;
}

/* Стили для контактов */
.page--contact .page__content {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page--contact .page__content .contact-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Стили для "О нас" */
.page--about .page__content {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page--about .page__content .team-member {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.page--about .page__content .team-member img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page__content {
        padding: 20px 0;
    }
    
    .page__content ul,
    .page__content ol {
        padding-left: 20px;
    }
    
    .page__content .alignleft,
    .page__content .alignright {
        float: none;
        margin: 20px 0;
    }
    
    .page--about .page__content .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .page--about .page__content .team-member img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {    
    .page__content {
        padding: 15px 0;
    }
    
    .page__title {
        font-size: 24px;
    }
}

/* ==========================================================================
   СТРАНИЦА СПЕЦПРОЕКТОВ
   ========================================================================== */

/* Хлебные крошки */
.breadcrumbs p {
    font-family: Basis Grotesque Pro, serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #777;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    opacity: 1;
    filter: alpha(opacity=100);
}

.breadcrumbs a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

/* Контейнер страницы спецпроектов */
.page-specials .Wrapper {
    background: #f5f5f5 !important;
}

.page-specials .ContentWrapper .Container {
    background-color: #f5f5f5 !important;
    max-width: 1100px !important;
    padding: 20px !important;
}

.page-specials {
    background: #f5f5f5;
}

.page-specials .container {
    background-color: #f5f5f5;
    max-width: 1100px;
    padding: 20px;
}

/* Скрываем стандартные элементы на странице спецпроектов */
.page-specials .ArticleIntro {
    display: none;
}

.page-specials .ArticleHeader-title {
    display: none;
}

/* Заголовок страницы спецпроектов */
.content-area h1,
.page-specials__title {
    font-family: Panama;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



/* Сетка спецпроектов */
.page__specials {
    display: flex;
    flex: 1 2 50%;
    width: 100%;
    padding-top: 25px;
    flex-wrap: wrap;
}

.page__specials a {
    width: 50%;
    display: block;
    padding: 20px;
}

.page__specials a img {
    width: 100%;
    display: block;
}

/* Изображения спецпроектов */
.imgspec {
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    opacity: 1;
    filter: alpha(opacity=100);
    border: 1px solid #ebebeb;
    border-radius: 20px;
}

.imgspec:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

/* Адаптивность для страницы спецпроектов */
@media (max-width: 1023px) {
    .content-area h1,
    .page-specials__title {
        font-size: 36px !important;
    }
    
    .breadcrumbs p {
        font-size: 14px;
    }
    
    .imgspec {
        border: 1px solid #ebebeb;
        border-radius: 10px;
    }
    
    .page__specials a {
        width: 100%;
        display: block;
        padding: 0px;
        padding-bottom: 40px;
    }
}
