/* style/news-industry-trends.css */

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

.page-news-industry-trends {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Default text color for the page, as body background is dark */
    background-color: var(--color-background);
}

.page-news-industry-trends__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--color-deep-green);
}

.page-news-industry-trends__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-news-industry-trends__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-news-industry-trends__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    padding: 20px;
}

.page-news-industry-trends__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-industry-trends__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-news-industry-trends__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-industry-trends__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-industry-trends__cta-button--large {
    font-size: 1.3rem;
    padding: 18px 40px;
}

.page-news-industry-trends__section {
    padding: 50px 0;
    background-color: var(--color-background);
}

.page-news-industry-trends__introduction {
    background-color: var(--color-background);
}

.page-news-industry-trends__trends {
    background-color: var(--color-deep-green);
}

.page-news-industry-trends__898bet-pioneer {
    background-color: var(--color-background);
}

.page-news-industry-trends__challenges-opportunities {
    background-color: var(--color-card-bg);
}

.page-news-industry-trends__conclusion {
    background-color: var(--color-deep-green);
}

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

.page-news-industry-trends__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-news-industry-trends__section-title--light {
    color: var(--color-text-main);
}

.page-news-industry-trends__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text-main);
    text-align: justify;
}

.page-news-industry-trends__text-block--light {
    color: var(--color-text-main);
}

.page-news-industry-trends__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-news-industry-trends__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.page-news-industry-trends__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-news-industry-trends__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news-industry-trends__card-title {
    font-size: 1.4rem;
    color: var(--color-gold);
    padding: 15px 20px 10px;
    font-weight: bold;
    line-height: 1.4;
}

.page-news-industry-trends__card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding: 0 20px 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-news-industry-trends__card-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 20px;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-industry-trends__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-news-industry-trends__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-news-industry-trends__faq {
    background-color: var(--color-background);
}

.page-news-industry-trends__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-news-industry-trends__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--color-text-main);
}

.page-news-industry-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    transition: background-color 0.3s ease;
    list-style: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-news-industry-trends__faq-question::-webkit-details-marker {
    display: none;
}

.page-news-industry-trends__faq-question:hover {
    background-color: var(--color-primary);
}

.page-news-industry-trends__faq-qtext {
    flex-grow: 1;
}

.page-news-industry-trends__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-news-industry-trends__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-industry-trends__hero-content {
        padding: 15px;
    }
    .page-news-industry-trends__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-news-industry-trends__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-news-industry-trends__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news-industry-trends__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-news-industry-trends__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-news-industry-trends__description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .page-news-industry-trends__cta-button,
    .page-news-industry-trends__cta-button--large {
        width: 100% !important;
        max-width: 300px !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        margin: 0 auto 20px auto !important; /* Center buttons and add space */
        display: block !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news-industry-trends__container {
        padding: 0 15px !important;
    }

    .page-news-industry-trends__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-news-industry-trends__text-block {
        font-size: 1rem;
        line-height: 1.7;
    }

    .page-news-industry-trends__card-image {
        height: 180px;
    }

    .page-news-industry-trends__card-title {
        font-size: 1.2rem;
    }

    .page-news-industry-trends__card-text {
        font-size: 0.9rem;
    }

    .page-news-industry-trends__card-button {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news-industry-trends img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-industry-trends__section,
    .page-news-industry-trends__card,
    .page-news-industry-trends__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-industry-trends__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-news-industry-trends__faq-answer {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-news-industry-trends__faq-toggle {
        font-size: 1.5rem;
    }

    /* Ensure content area doesn't cause horizontal scroll */
    .page-news-industry-trends {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-news-industry-trends__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-news-industry-trends__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-news-industry-trends__description {
        font-size: 0.9rem;
    }
    .page-news-industry-trends__cta-button,
    .page-news-industry-trends__cta-button--large {
        max-width: 250px !important;
    }
    .page-news-industry-trends__section {
        padding: 30px 0;
    }
    .page-news-industry-trends__container {
        padding: 0 10px !important;
    }
    .page-news-industry-trends__grid {
        gap: 20px;
    }
    .page-news-industry-trends__card-image {
        height: 160px;
    }
    .page-news-industry-trends__card-title {
        font-size: 1.1rem;
    }
    .page-news-industry-trends__card-text {
        font-size: 0.85rem;
    }
}