/* style/resources-sunwin-latest-updates.css */
.page-resources-sunwin-latest-updates {
    font-family: 'Arial', sans-serif;
    color: #f5e6ce; /* Light text for dark background */
    background-color: #0A1931; /* Primary dark background */
}

.page-resources-sunwin-latest-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-sunwin-latest-updates__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A1931 0%, #1a2a47 100%); /* Gradient with primary color */
    text-align: center;
    color: #f5e6ce;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFC107;
}

.page-resources-sunwin-latest-updates__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-resources-sunwin-latest-updates__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFC107; /* Accent color for title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-sunwin-latest-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-resources-sunwin-latest-updates__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-resources-sunwin-latest-updates__button--primary {
    background-color: #FFC107; /* Accent color */
    color: #0A1931; /* Dark text for accent background */
}

.page-resources-sunwin-latest-updates__button--primary:hover {
    background-color: #e6b000; /* Slightly darker accent on hover */
    transform: translateY(-2px);
}

.page-resources-sunwin-latest-updates__button--secondary {
    background-color: transparent;
    color: #FFC107; /* Accent text for dark background */
    border: 2px solid #FFC107;
}

.page-resources-sunwin-latest-updates__button--secondary:hover {
    background-color: #FFC107;
    color: #0A1931;
    transform: translateY(-2px);
}

.page-resources-sunwin-latest-updates__hero-image-wrapper {
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 0;
}

.page-resources-sunwin-latest-updates__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-resources-sunwin-latest-updates__sections {
    padding: 60px 0;
    background-color: #0A1931;
}

.page-resources-sunwin-latest-updates__section-title {
    font-size: 2.5em;
    color: #FFC107;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-resources-sunwin-latest-updates__section-intro {
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.page-resources-sunwin-latest-updates__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-sunwin-latest-updates__card {
    background-color: #1a2a47; /* Darker variant of primary */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-sunwin-latest-updates__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-resources-sunwin-latest-updates__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFC107;
}

.page-resources-sunwin-latest-updates__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources-sunwin-latest-updates__card-title {
    font-size: 1.6em;
    color: #FFC107;
    margin-bottom: 10px;
}

.page-resources-sunwin-latest-updates__card-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.page-resources-sunwin-latest-updates__card-description {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-sunwin-latest-updates__card-link {
    color: #FFC107;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.page-resources-sunwin-latest-updates__card-link:hover {
    color: #e6b000;
}

.page-resources-sunwin-latest-updates__card-link span {
    margin-left: 5px;
}

.page-resources-sunwin-latest-updates__full-article {
    background-color: #1a2a47;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
}

.page-resources-sunwin-latest-updates__sub-section-title {
    font-size: 2em;
    color: #FFC107;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFC107;
    padding-left: 15px;
}

.page-resources-sunwin-latest-updates__full-article p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-resources-sunwin-latest-updates__article-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-resources-sunwin-latest-updates__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources-sunwin-latest-updates__list li {
    background-color: #0A1931;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid #FFC107;
    border-radius: 5px;
    font-size: 1em;
    color: #f5e6ce;
    transition: background-color 0.3s ease;
}

.page-resources-sunwin-latest-updates__list li:hover {
    background-color: #122441;
}

.page-resources-sunwin-latest-updates__list li strong {
    color: #FFC107;
}

.page-resources-sunwin-latest-updates__link {
    color: #FFC107;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-sunwin-latest-updates__link:hover {
    color: #e6b000;
}

.page-resources-sunwin-latest-updates__cta {
    background-color: #0A1931;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 2px solid #FFC107;
}

.page-resources-sunwin-latest-updates__cta-title {
    font-size: 2.8em;
    color: #FFC107;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-sunwin-latest-updates__cta-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-sunwin-latest-updates__hero-title {
        font-size: 3em;
    }
    .page-resources-sunwin-latest-updates__section-title {
        font-size: 2.2em;
    }
    .page-resources-sunwin-latest-updates__sub-section-title {
        font-size: 1.8em;
    }
    .page-resources-sunwin-latest-updates__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-sunwin-latest-updates__hero {
        padding: 60px 20px;
    }
    .page-resources-sunwin-latest-updates__hero-title {
        font-size: 2.5em;
    }
    .page-resources-sunwin-latest-updates__hero-description {
        font-size: 1em;
    }
    .page-resources-sunwin-latest-updates__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-sunwin-latest-updates__button {
        width: 100%;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-sunwin-latest-updates__section-title {
        font-size: 2em;
    }
    .page-resources-sunwin-latest-updates__section-intro {
        font-size: 1em;
    }
    .page-resources-sunwin-latest-updates__card-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-sunwin-latest-updates__card-title {
        font-size: 1.4em;
    }
    .page-resources-sunwin-latest-updates__full-article {
        padding: 25px;
    }
    .page-resources-sunwin-latest-updates__sub-section-title {
        font-size: 1.6em;
    }
    .page-resources-sunwin-latest-updates__cta-title {
        font-size: 2em;
    }
    .page-resources-sunwin-latest-updates__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources-sunwin-latest-updates__hero-title {
        font-size: 2em;
    }
    .page-resources-sunwin-latest-updates__section-title {
        font-size: 1.8em;
    }
    .page-resources-sunwin-latest-updates__sub-section-title {
        font-size: 1.4em;
    }
    .page-resources-sunwin-latest-updates__cta-title {
        font-size: 1.8em;
    }
}