/* Стили для страницы блога */

.blog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    
}

.blog-filter-input,
.blog-filter-select {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-color);
    background-color: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none; /* Remove default browser styling for selects */
    -moz-appearance: none;
    appearance: none;
}

.blog-filter-input::placeholder {
    color: var(--gray-color);
}

.blog-filter-input:focus,
.blog-filter-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.blog-filter-select {
    
}

@media (max-width: 768px) {
    .blog-filters {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.wave-divider svg {
    background: #f5f5f5;
}

.blog-hero {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.5) 0%, rgba(224, 242, 254, 0.5) 100%),
    url('../images/bg/jeshoots-com-hN3t9Wj-bNs-unsplash.jpg'); /* Фоновое изображение */
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.blog-hero__container {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.blog-hero__title span {
    color: var(--primary-color);
}

.blog-hero__text {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.blog-container {
    display: flex;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    gap: 3rem;
}

.blog-content {
    flex: 1;
}

.blog-sidebar {
    width: 350px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.post-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.post-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card__content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.post-card__category--news {
    background-color: var(--primary-color);
}

.post-card__category--article {
    background-color: var(--secondary-color);
}

.post-card__category--event {
    background-color: #8b5cf6;
}

.post-card__category--press {
    background-color: #f59e0b;
}

.post-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-card__excerpt {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    flex: 1;
}

.post-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.post-card__date {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.post-card__author {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.post-card__read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.post-card__read-more:hover {
    color: var(--primary-dark);
}


.sidebar-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.sidebar-card__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-card__title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.categories-list {
    list-style: none;
}

.categories-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.categories-link {
    text-decoration: none;
    color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.categories-link:hover {
    color: var(--primary-color);
}

.categories-count {
    background-color: #e2e8f0;
    border-radius: 20px;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
}

.popular-posts {
    list-style: none;
}

.popular-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.popular-post:last-child {
    margin-bottom: 0;
}

.popular-post__image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.popular-post__content {
    flex: 1;
}

.popular-post__title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.popular-post__title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

.popular-post__title a:hover {
    color: var(--primary-color);
}

.popular-post__date {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: #e2e8f0;
    color: var(--dark-color);
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.subscribe-message {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.pagination-link:hover,
.pagination-link--current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .blog-container {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .blog-hero__title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 1.5rem;
    }

    .blog-container {
        padding: 0 1.5rem;
    }

    .blog-hero__title {
        font-size: 2.2rem;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 4rem 1.5rem;
    }
}


/* Стили для секций "Пресс-релизы" и "Контакты для СМИ" */
.press-releases {
    margin-bottom: 3rem; /* Соответствует существующим отступам в блоге */
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.release-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.release-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.release-date {
    min-width: 80px;
    text-align: center;
    margin-right: 1.25rem;
}

.release-day {
    font-size: 2.25rem; /* Увеличим размер для акцента */
    font-weight: 700;
    color: var(--primary-color);
}

.release-month {
    text-transform: uppercase;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.release-content {
    flex: 1;
}

.release-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.release-excerpt {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.read-more i {
    margin-left: 0.25rem;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--hoverlink-color);
}

.read-more:hover i {
    transform: translateX(4px);
}

.media-contacts {
    margin-top: 3rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.contact-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-position {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-details {
    margin-top: 1rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.contact-details i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Адаптивные стили для Press-релизов и Контактов для СМИ */
@media (max-width: 992px) {
    .press-releases, .media-contacts {
        padding: 0 1.5rem;
    }

    .release-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .release-date {
        margin-right: 0;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }

    .release-day {
        margin-right: 0.5rem;
    }

    .release-month {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .press-releases, .media-contacts {
        padding: 0 1rem;
    }

    .release-day {
        font-size: 2rem;
    }

    .release-title {
        font-size: 1.125rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-name {
        font-size: 1.125rem;
    }

    .contact-position {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .press-releases, .media-contacts {
        margin-bottom: 2rem;
    }

    .release-item {
        padding: 1rem;
    }

    .release-date {
        flex-direction: column;
    }

    .release-day {
        margin-right: 0;
    }

    .release-month {
        margin-top: 0.25rem;
    }

    .contacts {
        grid-template-columns: 1fr;
    }
}

/* Стили для двухколоночной структуры пресс-центра */
.press-center-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.press-center-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.press-releases-column {
    flex: 2;
    min-width: 450px;
}

.press-videogallery-column {
    flex: 1;
    min-width: 350px;
}

/* Адаптация существующих стилей для колонок */
.press-releases {
    margin-bottom: 0; /* Убираем нижний отступ, так как теперь есть контейнер */
    padding: 0; /* Убираем padding, так как теперь есть контейнер */
    max-width: none; /* Сбрасываем max-width */
    margin-left: 0;
    margin-right: 0;
}




/* Стили видеогалереи (адаптировано из Videoteka_1.html) */
.video-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.main-video {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.main-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    height: 250px; /* Адаптируем высоту */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.play-icon {
    width: 60px; /* Меньше для блога */
    height: 60px; /* Меньше для блога */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1;
}

.play-icon i {
    color: var(--primary-color);
    font-size: 30px; /* Меньше для блога */
    margin-left: 3px;
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
    background: white;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.video-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-color);
    margin-bottom: 1.25rem;
}

.video-meta {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.875rem;
}

.video-meta .date,
.video-meta .duration {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.video-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.video-list {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--light-color);
    border-bottom: 1px solid #e2e8f0;
}

.list-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
}

.all-videos {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.all-videos:hover {
    color: var(--hoverlink-color);
    text-decoration: underline;
}

.all-videos i {
    margin-left: 0.25rem;
    font-size: 1rem;
}

.video-items {
    padding: 1rem 0;
}

.video-item {
    display: flex;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.2s;
    cursor: pointer;
}

.video-item:last-child {
    border-bottom: none;
}

.video-item:hover {
    background: var(--light-color);
}

.video-thumb {
    width: 90px; /* Адаптируем размер */
    height: 55px; /* Адаптируем размер */
    background: #e2e8f0;
    border-radius: 4px;
    margin-right: 1rem;
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-item-info {
    flex: 1;
}

.video-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.video-item-duration {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.video-item-duration i {
    margin-right: 0.25rem;
    font-size: 0.8rem;
}

/* Адаптивные стили для двухколоночной структуры */
@media (max-width: 1200px) {
    .press-center-container {
        flex-direction: column; /* Стек колонок при меньшей ширине */
        gap: 2rem;
    }

    .press-releases-column,
    .press-videogallery-column {
        min-width: unset;
        width: 100%;
    }

    .press-center-section {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .press-center-section {
        padding: 0 1rem;
    }

    .video-placeholder {
        height: 200px;
    }

    .video-info {
        padding: 2rem 1rem;
    }

    .video-info h3 {
        font-size: 1.125rem;
    }

    .video-info p {
        font-size: 0.875rem;
    }

    .list-header {
        padding: 0.75rem 1rem;
    }

    .list-header h3 {
        font-size: 1rem;
    }

    .video-item {
        padding: 0.5rem 1rem;
    }

    .video-thumb {
        width: 70px;
        height: 45px;
    }

    .video-item-title {
        font-size: 0.85rem;
    }

    .video-item-duration {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .press-center-section {
        margin: 2rem auto;
    }

    .video-placeholder {
        height: 180px;
    }

    .play-icon {
        width: 50px;
        height: 50px;
    }

    .play-icon i {
        font-size: 24px;
    }
}