body {
    font-family: Helvetica, sans-serif;
    background-color: #f3f3f3;
    color: #000;
    line-height: 1.6;
    margin: 0;
}

/* ���� ��� ������ � ���������� ������ */
.top-banner {
    max-width: 800px;
    margin: 0 auto 5px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.3);
    margin-top: 40px;
}

    .top-banner img {
        width: 100%;
        max-height: 180px; /* �������� ������ */
        object-fit: cover;
        display: block;
    }

.news-video {
    margin: 2em 0;
    text-align: center;
}

    .news-video iframe {
        border-radius: 8px;
    }

.news-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 0 20px;
}

.news-meta {
    color: #6a1b9a;
    font-family: 'Roboto Serif', serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

    .news-meta p {
        margin: 4px 0;
    }

    .news-meta a {
        color: #6a1b9a;
        text-decoration: none;
        font-weight: 600;
    }

        .news-meta a:hover {
            text-decoration: underline;
        }

.news-author-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f5ff;
    border-radius: 12px;
    border-left: 4px solid #6a1b9a;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-author-section:hover {
    background-color: #f0e6f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.2);
}

.news-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6a1b9a;
}

.news-author-info {
    display: flex;
    flex-direction: column;
}

.news-author-name {
    font-family: 'Roboto Serif', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #6a1b9a;
    margin: 0;
}

.news-author-title {
    font-size: 0.85rem;
    color: #666;
    margin: 2px 0 0 0;
    font-style: italic;
}

.news-title {
    font-family: 'Lusitana', serif;
    font-size: 2rem;
    margin: 20px 0 10px;
}

.news-subtitle {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

.news-image {
    margin: 20px 0;
    text-align: center;
}

    .news-image img {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 10px;
        cursor: pointer;
    }

.news-image-original-ratio img {
    width: 100%;
    max-width: 400px;
    object-fit: contain;
    border-radius: 10px;
    aspect-ratio: auto;
    cursor: pointer;
}

.news-image figcaption {
    font-size: 0.85rem;
    color: #555;
    margin-top: 5px;
}

.news-content {
    margin: 20px 0;
}

    .news-content blockquote {
        font-family: 'Roboto Serif', serif;
        font-size: 1.2rem;
        font-style: italic;
        color: #4a148c;
        margin: 20px;
        padding: 10px 20px;
        border-left: 4px solid #4a148c;
        background-color: #f0e6f6;
    }

.news-video {
    margin: 30px 0;
    text-align: center;
}

    .news-video iframe {
        width: 100%;
        max-width: 560px;
        height: 315px;
    }

/* ������������ ��� �������� */
@media (max-width: 767px) {
    .top-banner {
        border-width: 3px;
        margin: 0 auto 15px auto;
    }

        .top-banner img {
            height: 200px;
        }

    .news-article {
        padding: 60px 15px 0 15px;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .news-subtitle {
        font-size: 0.95rem;
    }

    .news-meta {
        font-size: 0.85rem;
    }

    .news-image img {
        max-width: 100%;
    }

    .news-image-original-ratio img {
        max-width: 100%;
    }

    .news-content blockquote {
        font-size: 1rem;
        margin: 15px;
        padding: 10px 15px;
    }

    .news-author-section {
        padding: 12px;
        gap: 10px;
    }

    .news-author-avatar {
        width: 40px;
        height: 40px;
    }

    .news-author-name {
        font-size: 1rem;
    }

    .news-author-title {
        font-size: 0.8rem;
    }
}

/* ���� ��� lightbox */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

/* Screenshots Slider Styles */
.screenshots-slider {
    margin: 40px 0;
    padding: 20px 0;
}

.swiper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.02);
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

/* Invisible navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 100%;
    background: transparent;
    color: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    cursor: pointer;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: transparent;
    color: transparent;
    transform: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* Custom pagination */
.swiper-pagination-bullet {
    background: #6a1b9a;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .screenshots-slider {
        margin: 30px 0;
        padding: 15px 0;
    }
    
    .swiper {
        max-width: 100%;
        border-radius: 10px;
    }
    
    .swiper-slide img {
        max-height: 300px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 100%;
    }
}

/* Modal styles */
.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

    .image-modal-content:hover {
        transform: scale(1.02);
    }

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

/* Invisible modal navigation arrows */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: transparent;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    background: transparent;
    width: 80px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: none;
    z-index: 1001;
}

.modal-nav:hover {
    background: transparent;
}

.modal-nav-prev {
    left: 0;
}

.modal-nav-next {
    right: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
