/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1A1A2E; /* Main dark background */
    line-height: 1.6;
}

.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news__hero-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #3e1b3e 100%); /* Dark gradient for hero */
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E94560; /* Vibrant red for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-news__cta-button {
    display: inline-block;
    background-color: #E94560; /* Vibrant red for CTA button */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-news__cta-button:hover {
    background-color: #f7687f; /* Lighter red on hover */
    transform: translateY(-2px);
}

.page-news__cta-button--wide {
    display: block;
    width: fit-content;
    margin: 40px auto;
    font-size: 1.2em;
    padding: 18px 40px;
}

.page-news__cta-button--secondary {
    background-color: #2e2e4a;
    border: 2px solid #E94560;
    color: #E94560;
}

.page-news__cta-button--secondary:hover {
    background-color: #E94560;
    color: #ffffff;
}

.page-news__news-categories {
    padding: 60px 0;
}

.page-news__section-title {
    font-size: 2.5em;
    color: #E94560;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-news__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E94560;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-news__category-block {
    background-color: #23233b; /* Slightly lighter dark background for blocks */
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-news__category-title {
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 25px;
    border-bottom: 2px solid #E94560;
    padding-bottom: 15px;
}

.page-news__category-description {
    font-size: 1.1em;
    color: #c0c0c0;
    margin-bottom: 40px;
}

.page-news__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__article-card {
    background-color: #1A1A2E;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-news__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news__article-card h4,
.page-news__article-card p {
    padding: 0 20px;
}

.page-news__article-title {
    font-size: 1.3em;
    color: #E94560;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-news__article-excerpt {
    font-size: 0.95em;
    color: #b0b0b0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__btn {
    display: inline-block;
    background-color: #E94560;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin: 0 20px 20px 20px;
    align-self: flex-start;
}

.page-news__btn:hover {
    background-color: #f7687f;
}

.page-news__conclusion-cta {
    text-align: center;
    padding: 80px 0;
    background-color: #23233b;
    border-radius: 12px;
    margin-top: 60px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-news__conclusion-title {
    font-size: 2.8em;
    color: #E94560;
    margin-bottom: 25px;
}

.page-news__conclusion-description {
    font-size: 1.15em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #e0e0e0;
}

.page-news__conclusion-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-news__hero-title {
        font-size: 2.5em;
    }
    .page-news__category-title {
        font-size: 1.8em;
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 60px 0;
    }
    .page-news__hero-title {
        font-size: 2em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news__cta-button--wide {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-news__category-block {
        padding: 30px;
        margin-bottom: 40px;
    }
    .page-news__category-title {
        font-size: 1.6em;
    }
    .page-news__category-description {
        font-size: 0.95em;
    }
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-news__article-image {
        height: 180px;
    }
    .page-news__article-title {
        font-size: 1.2em;
    }
    .page-news__article-excerpt {
        font-size: 0.9em;
    }
    .page-news__btn {
        margin: 0 20px 20px 20px;
        padding: 8px 18px;
        font-size: 0.9em;
    }
    .page-news__conclusion-cta {
        padding: 60px 0;
    }
    .page-news__conclusion-title {
        font-size: 2.2em;
    }
    .page-news__conclusion-description {
        font-size: 1em;
    }
    .page-news__conclusion-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-news__hero-title {
        font-size: 1.8em;
    }
    .page-news__hero-description {
        font-size: 0.9em;
    }
    .page-news__section-title {
        font-size: 1.6em;
    }
    .page-news__category-title {
        font-size: 1.4em;
    }
    .page-news__conclusion-title {
        font-size: 1.8em;
    }
    .page-news__cta-button--wide {
        width: 90%;
    }
}