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

:root {
    /* Custom Colors */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --bg-card: #11271B;
    --bg-body: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #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(--text-main); /* Default text color for the page content */
    background-color: var(--bg-body);
    line-height: 1.6;
}

.page-news-industry-trends__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-news-industry-trends__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height to prevent overly large hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-news-industry-trends__hero-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-news-industry-trends__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.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.8em, 3.5vw, 2.8em);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-news-industry-trends__section-intro {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.page-news-industry-trends__article-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-industry-trends__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-news-industry-trends__article-title {
    font-size: 1.5em;
    color: var(--color-gold);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-news-industry-trends__article-text {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

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

.page-news-industry-trends__feature-item {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-news-industry-trends__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-news-industry-trends__feature-icon {
    width: 250px; /* Increased size for content image, min 200px */
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-news-industry-trends__feature-title {
    font-size: 1.6em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news-industry-trends__feature-description {
    font-size: 1em;
    color: var(--text-secondary);
}

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

.page-news-industry-trends__content-item {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-industry-trends__content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-news-industry-trends__content-subtitle {
    font-size: 1.4em;
    color: var(--color-gold);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-news-industry-trends__content-text {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

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

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

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

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

.page-news-industry-trends__card-content {
    padding: 20px;
    flex-grow: 1;
}

.page-news-industry-trends__card-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-news-industry-trends__card-text {
    font-size: 1em;
    color: var(--text-secondary);
}

.page-news-industry-trends__future-vision {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-news-industry-trends__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-news-industry-trends__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-trends__faq-item {
    background-color: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-news-industry-trends__faq-item[open] {
    background-color: var(--color-deep-green);
}

.page-news-industry-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--text-main);
    font-weight: bold;
    position: relative;
    list-style: none; /* For details/summary */
}

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

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

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

.page-news-industry-trends__faq-toggle {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-news-industry-trends__faq-item[open] .page-news-industry-trends__faq-toggle {
    transform: rotate(45deg);
}

.page-news-industry-trends__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Buttons */
.page-news-industry-trends__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff; /* White text for primary button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-news-industry-trends__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-industry-trends__hero-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-news-industry-trends__section-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-news-industry-trends {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news-industry-trends__hero-section {
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-industry-trends__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important;
    }

    .page-news-industry-trends__hero-description,
    .page-news-industry-trends__section-intro,
    .page-news-industry-trends__article-text,
    .page-news-industry-trends__feature-description,
    .page-news-industry-trends__content-text,
    .page-news-industry-trends__card-text,
    .page-news-industry-trends__faq-answer p {
        font-size: 0.95em !important;
    }

    .page-news-industry-trends__section {
        padding: 40px 0;
    }

    .page-news-industry-trends__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news-industry-trends__article-grid,
    .page-news-industry-trends__feature-list,
    .page-news-industry-trends__content-grid,
    .page-news-industry-trends__card-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news-industry-trends__article-image,
    .page-news-industry-trends__feature-icon,
    .page-news-industry-trends__content-image,
    .page-news-industry-trends__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* Ensure all image containers are responsive */
    .page-news-industry-trends__hero-image-wrapper,
    .page-news-industry-trends__article-card,
    .page-news-industry-trends__feature-item,
    .page-news-industry-trends__content-item,
    .page-news-industry-trends__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsive */
    .page-news-industry-trends__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1em !important;
    }

    .page-news-industry-trends__faq-question {
        font-size: 1em !important;
        padding: 15px;
    }

    .page-news-industry-trends__faq-answer {
        padding: 0 15px 15px;
    }
}