/* style/resources-taya777-pub-latest-news.css */
.page-resources-taya777-pub-latest-news {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-resources-taya777-pub-latest-news__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-taya777-pub-latest-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.page-resources-taya777-pub-latest-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-taya777-pub-latest-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-resources-taya777-pub-latest-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-taya777-pub-latest-news__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-taya777-pub-latest-news__hero-button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-resources-taya777-pub-latest-news__hero-button--register:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-resources-taya777-pub-latest-news__hero-button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-resources-taya777-pub-latest-news__hero-button--login:hover {
    background-color: #e5a83c;
    transform: translateY(-2px);
}

.page-resources-taya777-pub-latest-news__content-area {
    max-width: 800px; /* Article content width */
    margin: 0 auto;
    padding: 60px 20px;
}

.page-resources-taya777-pub-latest-news__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
}

.page-resources-taya777-pub-latest-news__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources-taya777-pub-latest-news__paragraph a {
    color: #000000;
    text-decoration: underline;
}

.page-resources-taya777-pub-latest-news__paragraph a:hover {
    color: #FCBC45;
}

.page-resources-taya777-pub-latest-news__article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.page-resources-taya777-pub-latest-news__article-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-taya777-pub-latest-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-resources-taya777-pub-latest-news__article-image {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-taya777-pub-latest-news__article-title {
    font-size: 1.8em;
    margin: 20px 20px 10px 20px;
    color: #000000;
    line-height: 1.3;
}

.page-resources-taya777-pub-latest-news__article-title a {
    color: #000000;
    text-decoration: none;
}

.page-resources-taya777-pub-latest-news__article-title a:hover {
    color: #FCBC45;
}

.page-resources-taya777-pub-latest-news__article-meta {
    font-size: 0.9em;
    color: #666666;
    margin: 0 20px 15px 20px;
}

.page-resources-taya777-pub-latest-news__article-card .page-resources-taya777-pub-latest-news__paragraph {
    margin: 0 20px 20px 20px;
    font-size: 1em;
    color: #444444;
}

.page-resources-taya777-pub-latest-news__read-more {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px 20px;
    transition: background-color 0.3s ease;
}

.page-resources-taya777-pub-latest-news__read-more:hover {
    background-color: #333333;
}

.page-resources-taya777-pub-latest-news__cta-section {
    background-color: #000000; /* Main color for CTA background */
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    margin-top: 80px;
    border-radius: 10px;
}

.page-resources-taya777-pub-latest-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.page-resources-taya777-pub-latest-news__cta-section .page-resources-taya777-pub-latest-news__paragraph {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-resources-taya777-pub-latest-news__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-taya777-pub-latest-news__cta-button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-resources-taya777-pub-latest-news__cta-button--register:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-resources-taya777-pub-latest-news__cta-button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-resources-taya777-pub-latest-news__cta-button--login:hover {
    background-color: #e5a83c;
    transform: translateY(-2px);
}

.page-resources-taya777-pub-latest-news__cta-button--download {
    background-color: #333333;
    color: #FFFFFF;
}

.page-resources-taya777-pub-latest-news__cta-button--download:hover {
    background-color: #555555;
    transform: translateY(-2px);
}

.page-resources-taya777-pub-latest-news__back-link-container {
    text-align: center;
    margin-top: 60px;
}

.page-resources-taya777-pub-latest-news__back-link {
    font-size: 1.1em;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-taya777-pub-latest-news__back-link:hover {
    color: #FCBC45;
}

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

    .page-resources-taya777-pub-latest-news__hero-description {
        font-size: 1em;
    }

    .page-resources-taya777-pub-latest-news__hero-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 10px 5px;
    }

    .page-resources-taya777-pub-latest-news__content-area {
        padding: 40px 15px;
    }

    .page-resources-taya777-pub-latest-news__section-title {
        font-size: 2em;
    }

    .page-resources-taya777-pub-latest-news__paragraph {
        font-size: 1em;
    }

    .page-resources-taya777-pub-latest-news__article-image {
        height: 300px;
    }

    .page-resources-taya777-pub-latest-news__article-title {
        font-size: 1.5em;
    }

    .page-resources-taya777-pub-latest-news__cta-title {
        font-size: 2em;
    }

    .page-resources-taya777-pub-latest-news__cta-section .page-resources-taya777-pub-latest-news__paragraph {
        font-size: 1em;
    }

    .page-resources-taya777-pub-latest-news__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-resources-taya777-pub-latest-news__cta-button {
        width: 100%;
        max-width: 280px;
    }

    /* Mobile specific image sizing for content area to prevent overflow */
    .page-resources-taya777-pub-latest-news__content-area img,
    .page-resources-taya777-pub-latest-news__article-card img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-taya777-pub-latest-news__hero-title {
        font-size: 1.8em;
    }

    .page-resources-taya777-pub-latest-news__hero-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-resources-taya777-pub-latest-news__section-title {
        font-size: 1.8em;
    }

    .page-resources-taya777-pub-latest-news__cta-title {
        font-size: 1.8em;
    }
}