/* style/resources-tf88-latest-news.css */
.page-resources-tf88-latest-news {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f2f5;
}

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

.page-resources-tf88-latest-news__hero-section {
    background: linear-gradient(135deg, #0A2342 0%, #304e7c 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-tf88-latest-news__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,dark_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources-tf88-latest-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #F0A500; /* Ensuring high contrast */
    position: relative;
    z-index: 1;
}

.page-resources-tf88-latest-news__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Ensuring high contrast */
    position: relative;
    z-index: 1;
}

.page-resources-tf88-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;
    position: relative;
    z-index: 1;
}

.page-resources-tf88-latest-news__btn--primary {
    background-color: #F0A500;
    color: #0A2342;
    border: 2px solid #F0A500;
}

.page-resources-tf88-latest-news__btn--primary:hover {
    background-color: #e09400;
    border-color: #e09400;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-tf88-latest-news__btn--secondary {
    background-color: #0A2342;
    color: #F0A500;
    border: 2px solid #F0A500;
    margin-left: 15px;
}

.page-resources-tf88-latest-news__btn--secondary:hover {
    background-color: #F0A500;
    color: #0A2342;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-tf88-latest-news__content-section {
    padding: 60px 0;
}

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

.page-resources-tf88-latest-news__article-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-tf88-latest-news__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-tf88-latest-news__article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-resources-tf88-latest-news__article-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources-tf88-latest-news__article-title {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-resources-tf88-latest-news__article-text {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-tf88-latest-news__cta-section {
    background-color: #0A2342;
    color: #ffffff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 12px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.page-resources-tf88-latest-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #F0A500;
}

.page-resources-tf88-latest-news__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-resources-tf88-latest-news__cta-buttons .page-resources-tf88-latest-news__btn {
    margin: 0 15px;
}

.page-resources-tf88-latest-news__faq-section {
    padding: 60px 0;
}

.page-resources-tf88-latest-news__faq-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-tf88-latest-news__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 25px;
    border-left: 5px solid #F0A500;
}

.page-resources-tf88-latest-news__faq-question {
    font-size: 1.4em;
    color: #0A2342;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-resources-tf88-latest-news__faq-question::after {
    content: '+';
    font-size: 1.2em;
    color: #F0A500;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-resources-tf88-latest-news__faq-item.active .page-resources-tf88-latest-news__faq-question::after {
    transform: rotate(45deg);
}

.page-resources-tf88-latest-news__faq-answer {
    font-size: 1.1em;
    color: #666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-resources-tf88-latest-news__faq-item.active .page-resources-tf88-latest-news__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

@media (max-width: 992px) {
    .page-resources-tf88-latest-news__hero-title {
        font-size: 2.8em;
    }
    .page-resources-tf88-latest-news__hero-subtitle {
        font-size: 1.2em;
    }
    .page-resources-tf88-latest-news__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources-tf88-latest-news__cta-title {
        font-size: 2.2em;
    }
    .page-resources-tf88-latest-news__cta-text {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources-tf88-latest-news__hero-section {
        padding: 80px 0;
    }
    .page-resources-tf88-latest-news__hero-title {
        font-size: 2.2em;
    }
    .page-resources-tf88-latest-news__hero-subtitle {
        font-size: 1em;
    }
    .page-resources-tf88-latest-news__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-tf88-latest-news__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-resources-tf88-latest-news__article-body {
        padding: 20px;
    }
    .page-resources-tf88-latest-news__article-title {
        font-size: 1.5em;
    }
    .page-resources-tf88-latest-news__cta-title {
        font-size: 1.8em;
    }
    .page-resources-tf88-latest-news__cta-text {
        font-size: 1em;
    }
    .page-resources-tf88-latest-news__cta-buttons {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .page-resources-tf88-latest-news__cta-buttons .page-resources-tf88-latest-news__btn {
        margin: 10px 0;
        width: 80%;
    }
    .page-resources-tf88-latest-news__faq-question {
        font-size: 1.2em;
    }
    .page-resources-tf88-latest-news__faq-answer {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-resources-tf88-latest-news__hero-section {
        padding: 60px 0;
    }
    .page-resources-tf88-latest-news__hero-title {
        font-size: 1.8em;
    }
    .page-resources-tf88-latest-news__hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources-tf88-latest-news__content-section, .page-resources-tf88-latest-news__faq-section {
        padding: 40px 0;
    }
    .page-resources-tf88-latest-news__cta-section {
        padding: 50px 20px;
    }
    .page-resources-tf88-latest-news__cta-title {
        font-size: 1.5em;
    }
    .page-resources-tf88-latest-news__cta-buttons .page-resources-tf88-latest-news__btn {
        width: 90%;
    }
}