/* style/news-info.css */

/* General page styling */
.page-news-info {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark backgrounds */
    background-color: #051433; /* Slightly darker background than primary for depth */
    line-height: 1.6;
}

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

.page-news-info__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-news-info__paragraph {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 20px;
    text-align: justify;
}

.page-news-info__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news-info__cta-button:hover {
    background-color: #e0b800; /* Slightly darker gold on hover */
    color: #0A2463;
}

/* Hero Section */
.page-news-info__hero {
    background: linear-gradient(135deg, #0A2463 0%, #1A3A7A 100%); /* Dark blue gradient */
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-news-info__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 1;
}

.page-news-info__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-news-info__hero-description {
    font-size: 1.3em;
    color: #C0C0C0; /* Lighter gray for description */
    margin-bottom: 30px;
}

.page-news-info__hero-image {
    position: absolute;
    bottom: -50px;
    right: -100px;
    opacity: 0.1;
    z-index: 0;
    max-width: 60%;
}

.page-news-info__hero-img {
    width: 100%;
    height: auto;
}

/* Introduction Section */
.page-news-info__intro {
    padding: 60px 0;
    background-color: #051433;
}

/* Featured Articles Section */
.page-news-info__featured-articles {
    padding: 60px 0;
    background-color: #0A2463; /* Primary dark blue background */
}

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

.page-news-info__article-card {
    background-color: #1A3A7A; /* Slightly lighter blue for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-info__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-news-info__article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-news-info__article-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5em;
    color: #FFD700; /* Gold for article titles */
    margin: 0;
    flex-grow: 1; /* Allow title to take available space */
}
.page-news-info__article-card h3 a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-news-info__article-card h3 a:hover {
    color: #e0b800;
}

.page-news-info__article-excerpt {
    font-size: 0.95em;
    color: #C0C0C0;
    padding: 0 20px 15px;
}

.page-news-info__read-more {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    align-self: flex-start; /* Align button to start */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news-info__read-more:hover {
    background-color: #e0b800;
    color: #0A2463;
}

/* Latest News / Detail List Section */
.page-news-info__latest-news {
    padding: 60px 0;
    background-color: #051433;
}

.page-news-info__detail-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-news-info__detail-item {
    background-color: #1A3A7A;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-info__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news-info__detail-image {
    flex: 0 0 300px; /* Fixed width for image on desktop */
    height: 200px;
}

.page-news-info__detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-news-info__detail-content {
    flex-grow: 1;
    padding: 20px 30px;
}

.page-news-info__detail-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
}
.page-news-info__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-news-info__detail-title a:hover {
    color: #e0b800;
}

.page-news-info__detail-description {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 15px;
}

.page-news-info__detail-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news-info__detail-button:hover {
    background-color: #e0b800;
    color: #0A2463;
}

/* Why bcx88 Section */
.page-news-info__why-bcx88 {
    padding: 60px 0;
    background-color: #0A2463;
}

.page-news-info__advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-news-info__advantages-list li {
    background-color: #1A3A7A;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-info__advantages-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-news-info__advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-news-info__advantage-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

/* Bottom CTA Section */
.page-news-info__cta-bottom {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A3A7A 0%, #0A2463 100%);
    text-align: center;
}

.page-news-info__cta-content {
    max-width: 800px;
}

.page-news-info__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-info__hero-title {
        font-size: 3em;
    }
    .page-news-info__hero-description {
        font-size: 1.1em;
    }
    .page-news-info__detail-image {
        flex: 0 0 250px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-news-info__hero {
        padding: 60px 0;
    }
    .page-news-info__hero-title {
        font-size: 2.5em;
    }
    .page-news-info__section-title {
        font-size: 2em;
    }
    .page-news-info__article-grid,
    .page-news-info__advantages-list {
        grid-template-columns: 1fr;
    }
    .page-news-info__detail-item {
        flex-direction: column;
    }
    .page-news-info__detail-image {
        flex: none;
        width: 100%;
        height: 250px;
    }
    .page-news-info__detail-content {
        padding: 20px;
    }
    .page-news-info__hero-image {
        display: none; /* Hide large background image on smaller screens */
    }
}

@media (max-width: 480px) {
    .page-news-info__hero-title {
        font-size: 2em;
    }
    .page-news-info__hero-description {
        font-size: 1em;
    }
    .page-news-info__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news-info__section-title {
        font-size: 1.8em;
    }
    .page-news-info__article-card h3 {
        font-size: 1.3em;
    }
    .page-news-info__detail-title {
        font-size: 1.5em;
    }
    .page-news-info__advantage-title {
        font-size: 1.4em;
    }
}