/* style/index-latest-news.css */

/* Base styles for the page content */
.page-index-latest-news {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background */
    background-color: #1A202C;
    line-height: 1.6;
}

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

/* Hero Section */
.page-index-latest-news__hero-section {
    background: linear-gradient(135deg, #1A202C, #3A455C);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-news__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-latest-news__hero-subtitle {
    font-size: 1.2em;
    color: #e5dfd3;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-index-latest-news__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* General Section Titles */
.page-index-latest-news__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin: 60px 0 40px;
    font-weight: bold;
    position: relative;
}

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

/* Buttons */
.page-index-latest-news__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-latest-news__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
}

.page-index-latest-news__btn--primary:hover {
    background-color: #e5c100;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-news__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-latest-news__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-news__read-more-btn,
.page-index-latest-news__btn--promo,
.page-index-latest-news__btn--guide {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.95em;
}

.page-index-latest-news__read-more-btn:hover,
.page-index-latest-news__btn--promo:hover,
.page-index-latest-news__btn--guide:hover {
    background-color: #e5c100;
    transform: translateY(-2px);
}

/* News Grid Section */
.page-index-latest-news__news-grid-section {
    padding: 60px 0;
    background-color: #2a3342;
}

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

.page-index-latest-news__news-card {
    background-color: #1A202C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-news__news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-index-latest-news__news-content {
    padding: 25px;
}

.page-index-latest-news__news-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-index-latest-news__news-date {
    font-size: 0.9em;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.page-index-latest-news__news-summary {
    font-size: 1em;
    color: #e5dfd3;
}

/* Category Section (similar to news grid but different content) */
.page-index-latest-news__category-section,
.page-index-latest-news__promotions-section,
.page-index-latest-news__guides-section {
    padding: 60px 0;
    background-color: #1A202C;
}

.page-index-latest-news__category-list,
.page-index-latest-news__promotions-grid,
.page-index-latest-news__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-latest-news__category-card,
.page-index-latest-news__promo-card,
.page-index-latest-news__guide-card {
    background-color: #2a3342;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-news__category-card:hover,
.page-index-latest-news__promo-card:hover,
.page-index-latest-news__guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-latest-news__category-image,
.page-index-latest-news__promo-image,
.page-index-latest-news__guide-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.page-index-latest-news__category-content,
.page-index-latest-news__promo-content,
.page-index-latest-news__guide-content {
    padding: 25px;
}

.page-index-latest-news__category-title,
.page-index-latest-news__promo-title,
.page-index-latest-news__guide-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-latest-news__category-description,
.page-index-latest-news__promo-description,
.page-index-latest-news__guide-description {
    font-size: 1em;
    color: #e5dfd3;
}

/* Call to Action Section */
.page-index-latest-news__cta-section {
    background-color: #2a3342;
    padding: 80px 0;
    text-align: center;
}

.page-index-latest-news__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-latest-news__cta-description {
    font-size: 1.1em;
    color: #e5dfd3;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-index-latest-news__hero-title {
        font-size: 2.5em;
    }

    .page-index-latest-news__hero-subtitle {
        font-size: 1em;
    }

    .page-index-latest-news__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-latest-news__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-latest-news__section-title {
        font-size: 2em;
    }

    .page-index-latest-news__news-title,
    .page-index-latest-news__category-title,
    .page-index-latest-news__promo-title,
    .page-index-latest-news__guide-title {
        font-size: 1.3em;
    }

    .page-index-latest-news__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-index-latest-news__hero-title {
        font-size: 2em;
    }

    .page-index-latest-news__section-title {
        font-size: 1.8em;
    }

    .page-index-latest-news__news-content,
    .page-index-latest-news__category-content,
    .page-index-latest-news__promo-content,
    .page-index-latest-news__guide-content {
        padding: 15px;
    }

    .page-index-latest-news__cta-title {
        font-size: 1.8em;
    }
}