/* style/news-platform-upgrade-announcement.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-news-platform-upgrade-announcement {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color); /* Page background */
}

.page-news-platform-upgrade-announcement__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-platform-upgrade-announcement__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space below content, hero image handles top */
    background-color: var(--deep-green-color);
}

.page-news-platform-upgrade-announcement__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px;
}

.page-news-platform-upgrade-announcement__hero-content {
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
    z-index: 1;
}

.page-news-platform-upgrade-announcement__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-platform-upgrade-announcement__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-news-platform-upgrade-announcement__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-news-platform-upgrade-announcement__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news-platform-upgrade-announcement__cta-button--secondary {
    background: var(--deep-green-color);
    border: 2px solid var(--primary-color);
    color: var(--text-main);
}

.page-news-platform-upgrade-announcement__cta-button--secondary:hover {
    background: var(--primary-color);
}

.page-news-platform-upgrade-announcement__section-title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px; /* Small padding top for sections */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-news-platform-upgrade-announcement__paragraph {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-news-platform-upgrade-announcement__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

.page-news-platform-upgrade-announcement__inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news-platform-upgrade-announcement__inline-link:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-news-platform-upgrade-announcement__introduction-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

.page-news-platform-upgrade-announcement__features-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-news-platform-upgrade-announcement__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-platform-upgrade-announcement__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-news-platform-upgrade-announcement__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

.page-news-platform-upgrade-announcement__feature-icon {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 150px;
    object-fit: cover;
}

.page-news-platform-upgrade-announcement__feature-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-news-platform-upgrade-announcement__feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-news-platform-upgrade-announcement__benefits-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

.page-news-platform-upgrade-announcement__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-news-platform-upgrade-announcement__benefit-item {
    font-size: 17px;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-news-platform-upgrade-announcement__benefit-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

.page-news-platform-upgrade-announcement__guide-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-news-platform-upgrade-announcement__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-platform-upgrade-announcement__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news-platform-upgrade-announcement__step-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 150px;
    object-fit: cover;
}

.page-news-platform-upgrade-announcement__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-news-platform-upgrade-announcement__step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-news-platform-upgrade-announcement__step-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-news-platform-upgrade-announcement__step-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-news-platform-upgrade-announcement__faq-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

.page-news-platform-upgrade-announcement__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-news-platform-upgrade-announcement__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news-platform-upgrade-announcement__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-news-platform-upgrade-announcement__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-news-platform-upgrade-announcement__faq-qtext {
    flex-grow: 1;
}

.page-news-platform-upgrade-announcement__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-news-platform-upgrade-announcement__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

.page-news-platform-upgrade-announcement__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--background-color);
}

.page-news-platform-upgrade-announcement__conclusion-section .page-news-platform-upgrade-announcement__cta-button {
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news-platform-upgrade-announcement__hero-image {
        min-height: 300px;
    }
    .page-news-platform-upgrade-announcement__feature-grid, .page-news-platform-upgrade-announcement__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news-platform-upgrade-announcement__hero-section {
        padding-bottom: 40px;
    }
    .page-news-platform-upgrade-announcement__hero-image {
        min-height: 250px;
    }
    .page-news-platform-upgrade-announcement__hero-content {
        margin-top: 10px;
    }
    .page-news-platform-upgrade-announcement__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-news-platform-upgrade-announcement__hero-description {
        font-size: clamp(15px, 2.5vw, 18px);
    }
    .page-news-platform-upgrade-announcement__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-news-platform-upgrade-announcement__section-title {
        font-size: clamp(20px, 5vw, 32px);
        padding-top: 20px;
    }
    .page-news-platform-upgrade-announcement__paragraph,
    .page-news-platform-upgrade-announcement__benefit-item,
    .page-news-platform-upgrade-announcement__feature-description,
    .page-news-platform-upgrade-announcement__step-description,
    .page-news-platform-upgrade-announcement__faq-answer p {
        font-size: 15px;
        line-height: 1.6;
    }
    .page-news-platform-upgrade-announcement__feature-grid, .page-news-platform-upgrade-announcement__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-news-platform-upgrade-announcement__feature-card,
    .page-news-platform-upgrade-announcement__step-card {
        padding: 20px;
    }
    .page-news-platform-upgrade-announcement__feature-icon,
    .page-news-platform-upgrade-announcement__step-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 150px;
    }
    .page-news-platform-upgrade-announcement__faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-news-platform-upgrade-announcement__container {
        padding: 0 15px;
    }
    .page-news-platform-upgrade-announcement__faq-list {
        margin-top: 20px;
    }
    .page-news-platform-upgrade-announcement__introduction-section,
    .page-news-platform-upgrade-announcement__features-section,
    .page-news-platform-upgrade-announcement__benefits-section,
    .page-news-platform-upgrade-announcement__guide-section,
    .page-news-platform-upgrade-announcement__faq-section,
    .page-news-platform-upgrade-announcement__conclusion-section {
        padding: 40px 0;
    }

    /* Ensure all containing elements for images/buttons are responsive */
    .page-news-platform-upgrade-announcement__hero-section,
    .page-news-platform-upgrade-announcement__feature-grid,
    .page-news-platform-upgrade-announcement__guide-steps,
    .page-news-platform-upgrade-announcement__cta-buttons,
    .page-news-platform-upgrade-announcement__button-group,
    .page-news-platform-upgrade-announcement__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-news-platform-upgrade-announcement__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Color contrast safety */
.page-news-platform-upgrade-announcement__dark-section {
  color: var(--text-main); /* Deep green background, use light text */
}

/* Default light background text */
.page-news-platform-upgrade-announcement__light-bg {
  color: #333333; 
  background: #ffffff;
}

/* Ensure all images maintain original color */
.page-news-platform-upgrade-announcement img {
    filter: none; /* Absolutely no CSS filters allowed */
}