/* style/platform-news.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark-section: #26A9E0; /* Using primary color for dark sections */
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
}

.page-platform-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--bg-light); /* Explicitly set for clarity, though body handles it */
}

/* Hero Section */
.page-platform-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--bg-light);
}

.page-platform-news__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-platform-news__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-platform-news__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-platform-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-platform-news__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-platform-news__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-platform-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-platform-news__cta-button:hover {
    background: #1e87bb; /* Slightly darker primary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-platform-news__introduction-section,
.page-platform-news__latest-articles,
.page-platform-news__game-updates,
.page-platform-news__promotions-events,
.page-platform-news__security-support,
.page-platform-news__faq-section,
.page-platform-news__call-to-action {
    padding: 60px 20px;
    text-align: center;
}

.page-platform-news__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-platform-news__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}