/* style/expert-analysis-market-trends.css */

:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: var(--dark-bg, #0d0d0d); /* Assuming --dark-bg from shared.css is dark */
    --border-color: #e0e0e0;
}

.page-expert-analysis-market-trends {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default for dark body background */
    background-color: var(--bg-dark); /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-expert-analysis-market-trends__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

.page-expert-analysis-market-trends__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-expert-analysis-market-trends__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-expert-analysis-market-trends__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-expert-analysis-market-trends__btn-primary,
.page-expert-analysis-market-trends__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-expert-analysis-market-trends__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-expert-analysis-market-trends__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-expert-analysis-market-trends__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-expert-analysis-market-trends__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Content Sections */
.page-expert-analysis-market-trends__content-section {
    padding: 80px 0;
}

.page-expert-analysis-market-trends__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-expert-analysis-market-trends__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-expert-analysis-market-trends__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-expert-analysis-market-trends__text-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-expert-analysis-market-trends__text-block p {
    margin-bottom: 20px;
}

.page-expert-analysis-market-trends__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-expert-analysis-market-trends__grid-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-expert-analysis-market-trends__light-bg .page-expert-analysis-market-trends__grid-item {
    background-color: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-expert-analysis-market-trends__grid-item .page-expert-analysis-market-trends__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-expert-analysis-market-trends__sub-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-expert-analysis-market-trends__card {
    background-color: #ffffff;
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-expert-analysis-market-trends__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-expert-analysis-market-trends__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-expert-analysis-market-trends__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-expert-analysis-market-trends__card-title a:hover {
    text-decoration: underline;
}

.page-expert-analysis-market-trends__card p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-expert-analysis-market-trends__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 1em;
    color: inherit;
}

.page-expert-analysis-market-trends__list li {
    margin-bottom: 10px;
}

/* CTA Banner */
.page-expert-analysis-market-trends__cta-banner {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* FAQ Section */
.page-expert-analysis-market-trends__faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-expert-analysis-market-trends__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-expert-analysis-market-trends__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-expert-analysis-market-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f5f5f5;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-expert-analysis-market-trends__faq-question:hover {
    background-color: #e0e0e0;
}

.page-expert-analysis-market-trends__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-expert-analysis-market-trends__faq-item.active .page-expert-analysis-market-trends__faq-toggle {
    transform: rotate(45deg);
}

.page-expert-analysis-market-trends__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: var(--text-dark);
}

.page-expert-analysis-market-trends__faq-item.active .page-expert-analysis-market-trends__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-expert-analysis-market-trends__faq-answer p {
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-expert-analysis-market-trends__conclusion-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-expert-analysis-market-trends__main-title {
        font-size: 2.8em;
    }
    .page-expert-analysis-market-trends__section-title {
        font-size: 2em;
    }
    .page-expert-analysis-market-trends__hero-section,
    .page-expert-analysis-market-trends__content-section,
    .page-expert-analysis-market-trends__cta-banner,
    .page-expert-analysis-market-trends__faq-section,
    .page-expert-analysis-market-trends__conclusion-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

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

    .page-expert-analysis-market-trends__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-expert-analysis-market-trends__main-title {
        font-size: 2.2em;
    }

    .page-expert-analysis-market-trends__subtitle {
        font-size: 1em;
    }

    .page-expert-analysis-market-trends__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-expert-analysis-market-trends__btn-primary,
    .page-expert-analysis-market-trends__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-expert-analysis-market-trends__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-expert-analysis-market-trends__section-title {
        font-size: 1.8em;
    }

    .page-expert-analysis-market-trends__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-expert-analysis-market-trends__grid-item,
    .page-expert-analysis-market-trends__card {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }

    .page-expert-analysis-market-trends__image,
    .page-expert-analysis-market-trends__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }
    
    .page-expert-analysis-market-trends__content-section,
    .page-expert-analysis-market-trends__cta-banner,
    .page-expert-analysis-market-trends__faq-section,
    .page-expert-analysis-market-trends__conclusion-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    .page-expert-analysis-market-trends__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-expert-analysis-market-trends__faq-answer {
        padding: 0 20px;
    }

    .page-expert-analysis-market-trends__faq-item.active .page-expert-analysis-market-trends__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-expert-analysis-market-trends__main-title {
        font-size: 1.8em;
    }
    .page-expert-analysis-market-trends__section-title {
        font-size: 1.5em;
    }
    .page-expert-analysis-market-trends__hero-section,
    .page-expert-analysis-market-trends__content-section,
    .page-expert-analysis-market-trends__cta-banner,
    .page-expert-analysis-market-trends__faq-section,
    .page-expert-analysis-market-trends__conclusion-section {
        padding: 40px 0;
    }
}