/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(17, 39, 27, 0.85); /* Card BG with opacity for depth */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-news__lead-text {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-news__btn-secondary {
    background: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: #2E7A4E; /* Border */
}

.page-news__latest-news-section,
.page-news__categories-section,
.page-news__cta-banner-section,
.page-news__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    border-radius: 15px;
    background-color: #11271B; /* Card BG */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.page-news__section-description {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news__news-card {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news__card-image-wrapper {
    width: 100%;
    height: 225px; /* Fixed height for image consistency */
    overflow: hidden;
}

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

.page-news__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #2AD16F; /* Lighter green from button gradient */
}

.page-news__card-meta {
    font-size: 0.9rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #F2C14E; /* Gold */
}

.page-news__view-all-button-wrapper {
    text-align: center;
}

.page-news__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-news__category-card {
    background-color: #0A4B2C; /* Deep Green */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-news__category-card:hover {
    transform: translateY(-5px);
    background-color: #1E3A2A; /* Divider */
}

.page-news__category-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-news__category-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-news__cta-banner-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #0A4B2C; /* Deep Green */
    background-image: url('[GALLERY:bg:1920x400:sp8 casino,news,cta banner,abstract green gold pattern]');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

.page-news__cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(17, 39, 27, 0.8); /* Card BG with opacity */
    padding: 30px;
    border-radius: 10px;
}

.page-news__cta-banner-section .page-news__section-title {
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
}

.page-news__cta-banner-section .page-news__lead-text {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
}

.page-news__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-news__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #1E3A2A; /* Divider */
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-news__faq-question:hover {
    background-color: #2E7A4E; /* Border */
}

.page-news__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #F2C14E; /* Gold */
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg);
}

.page-news__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-content {
        padding: 15px;
    }

    .page-news__main-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

    .page-news__lead-text {
        font-size: 1.05rem;
    }

    .page-news__section-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .page-news__news-grid,
    .page-news__categories-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-news__hero-image,
    .page-news__card-image,
    .page-news__hero-image-wrapper,
    .page-news__card-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-news__latest-news-section,
    .page-news__categories-section,
    .page-news__cta-banner-section,
    .page-news__faq-section,
    .page-news__hero-content,
    .page-news__cta-banner-content,
    .page-news__cta-buttons,
    .page-news__news-grid,
    .page-news__categories-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-news__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-news__lead-text {
        font-size: 1rem;
    }

    .page-news__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-news__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-news__faq-answer {
        font-size: 0.95rem;
        padding: 10px 20px 15px;
    }
}