 /* Основной контейнер */
.tabs-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}
section.tabs-wrapper {
  
    padding-top: 80px !important;
    padding-bottom: 60px !important;
}

.text-center {
    text-align: center;
}

.tabs-wrapper h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
}

/* Главное правило скрытия неактивных вкладок */
.tab-item.hide {
    display: none !important;
}

/* Шапка с годом */
.tab-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.tab-title h3 {
    font-size: 24px;
    margin: 0;
    color: #1a1a1a;
}

/* Сетка для журналов (Шаг 1) */
.catalog-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.catalog-card-btn {
    width: 220px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card-btn:hover {
    transform: translateY(-5px);
}

        /* Контейнер обложки */
.card-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 5;
    border-radius: 8px;
    overflow: hidden;
    background-color: #0f3057;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Эффект легкого увеличения всей карточки при наведении */
.catalog-card-btn:hover .card-cover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(15, 48, 87, 0.2);
}

/* Стилизация самого изображения */
.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заполнит всё пространство без искажений */
    transition: transform 0.5s ease;
}

/* При наведении картинка внутри слегка увеличивается (эффект зума) */
.catalog-card-btn:hover .cover-img {
    transform: scale(1.04);
}

/* Мягкий темный градиент поверх картинки, чтобы белый текст читался */
.cover-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 48, 87, 0.4) 0%, rgb(0 0 0 / 0%) 100%);
    transition: 0.5s;
    z-index: 1;
}
.cover-overlay-gradient:hover{
    background: none;
}

/* Блок с текстом — выносим на самый верхний слой */
.cover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Идеальное центрирование */
    z-index: 2; /* Текст выше картинки и градиента */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Дополнительная защита читаемости текста */
    font-family: 'Playfair Display', 'Times New Roman', serif;
    width: 90%;
    text-align: center;
    pointer-events: none; /* Клик проходит сквозь текст на саму карточку */
}



.brand-title {
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 5px;
    line-height: 1;
}

.magazine-title {
    font-size: 13px;
    font-style: italic;
    opacity: 0.9;
    margin-top: 4px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.cover-year {
    font-size: 18px;
    margin-top: 14px;
    letter-spacing: 3px;
    opacity: 0.85;
    font-family: Arial, sans-serif;
}

.catalog-card-btn p {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}

/* Экран просмотра каталога (Шаг 2) */
.iframe-container {
    width: 100%;

    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #f9f9f9;
}

.frame-catalog {
    width: 100%;
    height: 100%;
    border: none;
}

/* Кнопка "Назад" */
.btn-back-container {
    margin-top: 15px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0056b3;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-back:hover {
    background-color: #004085;
}

/* Download button */


.promo_download {
    margin-bottom: 15px; /* Отступ между кнопкой и каталогом AnyFlip */
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Расстояние между текстом и иконкой */
    padding: 10px 20px;
    background-color: #00b050; /* Обычное состояние (темно-зеленый) */
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Состояние при наведении (Hover) */
.btn-download-pdf:hover {
    background-color: #00e676; /* Ярко-зеленый цвет из вашего макета */
    cursor: pointer;
}

/* Эффект при нажатии */
.btn-download-pdf:active {
    transform: scale(0.98);
}

/* Стиль для маленькой иконки PDF документа */
.pdf-icon {
    width: 16px;
    height: 16px;
    fill: #ffffff; /* Белый цвет иконки */
}

        /* Адаптивность под мобильные экраны */
        @media (max-width: 768px) {
            .catalog-grid {
                justify-content: center;
            }
            .catalog-card-btn {
                width: 45%;
            }
            .iframe-container {
                height: 70vh;
            }
        }
        @media (max-width: 480px) {
            .catalog-card-btn {
                width: 100%;
                max-width: 260px;
            }
            .catalog-grid {
               gap: 60px;
                
            }
        }