/* style/news-industry-deep-dive.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-color: #FFFF00;
}

.page-news-industry-deep-dive {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Hero Section */
.page-news-industry-deep-dive__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-news-industry-deep-dive__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-news-industry-deep-dive__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-news-industry-deep-dive__hero-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
}

.page-news-industry-deep-dive__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-news-industry-deep-dive__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-news-industry-deep-dive__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-news-industry-deep-dive__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-news-industry-deep-dive__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.page-news-industry-deep-dive p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-dark);
}

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

.page-news-industry-deep-dive__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-news-industry-deep-dive__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Feature Grid */
.page-news-industry-deep-dive__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.page-news-industry-deep-dive__feature-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-news-industry-deep-dive__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news-industry-deep-dive__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* CTA Section */
.page-news-industry-deep-dive__cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-news-industry-deep-dive__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-news-industry-deep-dive__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-news-industry-deep-dive__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Buttons */
.page-news-industry-deep-dive__btn-primary {
    display: inline-block;
    background-color: var(--button-register);
    color: var(--button-font-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-news-industry-deep-dive__btn-primary:hover {
    background-color: #a80707;
    transform: translateY(-2px);
}

.page-news-industry-deep-dive__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid var(--secondary-color);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-news-industry-deep-dive__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* FAQ Section */
.page-news-industry-deep-dive__faq-container {
    max-width: 900px;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-news-industry-deep-dive__faq-item {
    border-bottom: 1px solid #eee;
}

.page-news-industry-deep-dive__faq-item:last-child {
    border-bottom: none;
}

.page-news-industry-deep-dive__faq-question {
    background-color: var(--secondary-color);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-news-industry-deep-dive__faq-question:hover {
    background-color: #f5f5f5;
}

.page-news-industry-deep-dive__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-news-industry-deep-dive__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-news-industry-deep-dive__faq-item.active .page-news-industry-deep-dive__faq-toggle {
    transform: rotate(45deg);
}

.page-news-industry-deep-dive__faq-answer {
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-dark);
}

.page-news-industry-deep-dive__faq-item.active .page-news-industry-deep-dive__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px 30px;
}

/* Color Contrast Adjustments */
.page-news-industry-deep-dive__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-news-industry-deep-dive__dark-bg h2, .page-news-industry-deep-dive__dark-bg h3 {
    color: var(--secondary-color);
}

.page-news-industry-deep-dive__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-news-industry-deep-dive__light-bg h2, .page-news-industry-deep-dive__light-bg h3 {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-industry-deep-dive__hero-title {
        font-size: 3em;
    }
    .page-news-industry-deep-dive__section-title {
        font-size: 2em;
    }
    .page-news-industry-deep-dive__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-news-industry-deep-dive__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-news-industry-deep-dive__hero-title {
        font-size: 2.2em;
    }
    .page-news-industry-deep-dive__hero-description {
        font-size: 1em;
    }
    .page-news-industry-deep-dive__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    .page-news-industry-deep-dive__btn-primary,
    .page-news-industry-deep-dive__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-news-industry-deep-dive__content-area,
    .page-news-industry-deep-dive__cta-section {
        padding: 40px 15px;
    }
    .page-news-industry-deep-dive__section-title {
        font-size: 1.8em;
    }
    .page-news-industry-deep-dive p,
    .page-news-industry-deep-dive__list li {
        font-size: 1em;
    }
    .page-news-industry-deep-dive__article-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-industry-deep-dive__feature-card {
        padding: 20px;
    }
    .page-news-industry-deep-dive__card-title {
        font-size: 1.5em;
    }
    .page-news-industry-deep-dive__cta-title {
        font-size: 1.8em;
    }
    .page-news-industry-deep-dive__faq-question {
        padding: 15px 20px;
    }
    .page-news-industry-deep-dive__faq-question h3 {
        font-size: 1em;
    }
    .page-news-industry-deep-dive__faq-answer {
        padding: 0 20px;
    }
    .page-news-industry-deep-dive__faq-item.active .page-news-industry-deep-dive__faq-answer {
        padding: 15px 20px;
    }
    .page-news-industry-deep-dive img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-news-industry-deep-dive__section,
    .page-news-industry-deep-dive__card,
    .page-news-industry-deep-dive__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news-industry-deep-dive__video-section {
        padding-top: var(--header-offset, 120px) !important; 
    }
    .page-news-industry-deep-dive video,
    .page-news-industry-deep-dive__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-news-industry-deep-dive__video-section,
    .page-news-industry-deep-dive__video-container,
    .page-news-industry-deep-dive__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-news-industry-deep-dive__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news-industry-deep-dive__cta-buttons,
    .page-news-industry-deep-dive__button-group,
    .page-news-industry-deep-dive__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-news-industry-deep-dive__cta-buttons {
      display: flex;
      flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-news-industry-deep-dive__hero-section {
        height: 400px;
    }
    .page-news-industry-deep-dive__hero-title {
        font-size: 1.8em;
    }
    .page-news-industry-deep-dive__hero-description {
        font-size: 0.9em;
    }
    .page-news-industry-deep-dive__hero-cta-buttons {
        flex-direction: column;
    }
    .page-news-industry-deep-dive__btn-primary,
    .page-news-industry-deep-dive__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-news-industry-deep-dive__section-title {
        font-size: 1.5em;
    }
    .page-news-industry-deep-dive__cta-title {
        font-size: 1.6em;
    }
}