/* style/resources-3wins-latest-news.css */
.page-resources-3wins-latest-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

/* Hero Section */
.page-resources-3wins-latest-news__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-3wins-latest-news__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources-3wins-latest-news__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Slightly zoom in to avoid black bars on some aspect ratios */
}

.page-resources-3wins-latest-news__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 1;
}

.page-resources-3wins-latest-news__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-resources-3wins-latest-news__hero-title {
    font-size: 3.5em;
    color: #E0B14A; /* Gold accent color for title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-resources-3wins-latest-news__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

/* General Buttons */
.page-resources-3wins-latest-news__btn-primary,
.page-resources-3wins-latest-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-3wins-latest-news__btn-primary {
    background-color: #E0B14A; /* Gold */
    color: #0A2463; /* Dark blue text for contrast */
    border: 2px solid #E0B14A;
}

.page-resources-3wins-latest-news__btn-primary:hover {
    background-color: #cc9f3f;
    border-color: #cc9f3f;
}

.page-resources-3wins-latest-news__btn-secondary {
    background-color: transparent;
    color: #E0B14A; /* Gold text */
    border: 2px solid #E0B14A;
}

.page-resources-3wins-latest-news__btn-secondary:hover {
    background-color: #E0B14A;
    color: #0A2463;
}

/* General Section Styling */
.page-resources-3wins-latest-news__section-title {
    font-size: 2.5em;
    color: #E0B14A; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-resources-3wins-latest-news__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-resources-3wins-latest-news__section-note {
    font-size: 0.95em;
    color: #cccccc;
    text-align: center;
    margin-top: 30px;
}

.page-resources-3wins-latest-news__section-note a {
    color: #E0B14A;
    text-decoration: none;
}

.page-resources-3wins-latest-news__section-note a:hover {
    text-decoration: underline;
}

/* Container */
.page-resources-3wins-latest-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Dark Background Section (for contrast) */
.page-resources-3wins-latest-news__dark-bg {
    background-color: #0A2463; /* Dark blue */
    color: #ffffff;
}

/* News Section */
.page-resources-3wins-latest-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-3wins-latest-news__news-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark blue background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-3wins-latest-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-3wins-latest-news__news-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-resources-3wins-latest-news__news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources-3wins-latest-news__news-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-resources-3wins-latest-news__news-title a.page-resources-3wins-latest-news__news-link {
    color: #E0B14A; /* Gold link color */
    text-decoration: none;
}

.page-resources-3wins-latest-news__news-title a.page-resources-3wins-latest-news__news-link:hover {
    text-decoration: underline;
}

.page-resources-3wins-latest-news__news-excerpt {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-resources-3wins-latest-news__read-more {
    color: #E0B14A;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    display: flex;
    align-items: center;
}

.page-resources-3wins-latest-news__read-more:hover {
    text-decoration: underline;
}

.page-resources-3wins-latest-news__arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.page-resources-3wins-latest-news__read-more:hover .page-resources-3wins-latest-news__arrow {
    transform: translateX(5px);
}

/* Promotions Section */
.page-resources-3wins-latest-news__promotions-section {
    background-color: #1a3a70; /* A slightly lighter blue than the main dark blue */
    color: #ffffff;
}

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

.page-resources-3wins-latest-news__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-3wins-latest-news__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-3wins-latest-news__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources-3wins-latest-news__promo-title {
    font-size: 1.4em;
    color: #E0B14A;
    padding: 15px 20px 10px;
    line-height: 1.3;
}

.page-resources-3wins-latest-news__promo-text {
    color: #cccccc;
    font-size: 0.95em;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-resources-3wins-latest-news__promo-card .page-resources-3wins-latest-news__btn-primary {
    margin: 0 20px 20px;
    text-align: center;
}

/* Security Section */
.page-resources-3wins-latest-news__security-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-resources-3wins-latest-news__security-text {
    flex: 1;
}

.page-resources-3wins-latest-news__security-subtitle {
    font-size: 1.8em;
    color: #E0B14A;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-resources-3wins-latest-news__security-text p {
    color: #f0f0f0;
    margin-bottom: 10px;
}

.page-resources-3wins-latest-news__security-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

/* FAQ Section */
.page-resources-3wins-latest-news__faq-section {
    background-color: #1a3a70; /* A slightly lighter blue */
    color: #ffffff;
}

.page-resources-3wins-latest-news__faq-list {
    margin-top: 40px;
}

.page-resources-3wins-latest-news__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-3wins-latest-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #E0B14A;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-resources-3wins-latest-news__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-3wins-latest-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-3wins-latest-news__faq-item.active .page-resources-3wins-latest-news__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an X or minus */
}

.page-resources-3wins-latest-news__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
}

.page-resources-3wins-latest-news__faq-item.active .page-resources-3wins-latest-news__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content, !important for override */
    padding: 15px 20px 20px;
}

.page-resources-3wins-latest-news__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Call to Action Section */
.page-resources-3wins-latest-news__cta-section {
    background-color: #0A2463; /* Dark blue */
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.page-resources-3wins-latest-news__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-3wins-latest-news__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-3wins-latest-news__hero-title {
        font-size: 3em;
    }
    .page-resources-3wins-latest-news__section-title {
        font-size: 2em;
    }
    .page-resources-3wins-latest-news__security-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-resources-3wins-latest-news__security-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-resources-3wins-latest-news {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-3wins-latest-news__hero-section {
        height: auto;
        min-height: 600px;
    }
    .page-resources-3wins-latest-news__hero-title {
        font-size: 2.2em;
    }
    .page-resources-3wins-latest-news__hero-description {
        font-size: 1em;
    }
    .page-resources-3wins-latest-news__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-3wins-latest-news__btn-primary,
    .page-resources-3wins-latest-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        text-align: center;
    }

    .page-resources-3wins-latest-news__container {
        padding: 20px 15px;
    }

    .page-resources-3wins-latest-news__section-title {
        font-size: 1.8em;
        padding-top: 20px;
    }
    .page-resources-3wins-latest-news__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-resources-3wins-latest-news__news-card,
    .page-resources-3wins-latest-news__promo-card {
        margin-bottom: 20px;
    }
    
    .page-resources-3wins-latest-news__news-image,
    .page-resources-3wins-latest-news__promo-image,
    .page-resources-3wins-latest-news__security-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-3wins-latest-news__news-section,
    .page-resources-3wins-latest-news__promotions-section,
    .page-resources-3wins-latest-news__security-section,
    .page-resources-3wins-latest-news__faq-section,
    .page-resources-3wins-latest-news__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-3wins-latest-news__security-image {
        max-width: 100%;
    }
    /* Video specific mobile styles */
    .page-resources-3wins-latest-news video,
    .page-resources-3wins-latest-news__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-resources-3wins-latest-news__hero-video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* 🚨 Important: Video area padding-top must be reset in mobile media query */
    .page-resources-3wins-latest-news__hero-section {
      padding-top: var(--header-offset, 120px) !important;
    }
    /* Button container mobile adaptation */
    .page-resources-3wins-latest-news__hero-actions,
    .page-resources-3wins-latest-news__cta-actions {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-resources-3wins-latest-news__hero-title {
        font-size: 1.8em;
    }
    .page-resources-3wins-latest-news__hero-description {
        font-size: 0.9em;
    }
    .page-resources-3wins-latest-news__news-title,
    .page-resources-3wins-latest-news__promo-title {
        font-size: 1.2em;
    }
    .page-resources-3wins-latest-news__security-subtitle {
        font-size: 1.5em;
    }
    .page-resources-3wins-latest-news__faq-question {
        font-size: 1em;
    }
}