/* style/resources-thomo-live-updates.css */

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

.page-resources-thomo-live-updates {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Inherited from shared, ensuring dark background */
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
}

.page-resources-thomo-live-updates__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    text-align: center;
    overflow: hidden;
}

.page-resources-thomo-live-updates__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-resources-thomo-live-updates__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-light-bg);
}

.page-resources-thomo-live-updates__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    padding: 20px;
}

.page-resources-thomo-live-updates__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    font-weight: bold;
}

.page-resources-thomo-live-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-color-dark-bg);
}

.page-resources-thomo-live-updates__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-thomo-live-updates__btn-primary,
.page-resources-thomo-live-updates__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-thomo-live-updates__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-text-color);
    border: 2px solid var(--button-register-bg);
}

.page-resources-thomo-live-updates__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-thomo-live-updates__btn-secondary {
    background-color: transparent;
    color: var(--button-text-color);
    border: 2px solid var(--button-text-color);
}

.page-resources-thomo-live-updates__btn-secondary:hover {
    background-color: var(--button-text-color);
    color: var(--primary-color);
}

.page-resources-thomo-live-updates__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources-thomo-live-updates__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

.page-resources-thomo-live-updates__video-section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    text-align: center;
    color: var(--text-color-dark-bg);
}

.page-resources-thomo-live-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-resources-thomo-live-updates__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit;
    font-weight: bold;
}

.page-resources-thomo-live-updates__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: inherit;
}

.page-resources-thomo-live-updates__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
}

.page-resources-thomo-live-updates__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-resources-thomo-live-updates__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-resources-thomo-live-updates__content-area {
    padding: 60px 20px;
    color: var(--text-color-light-bg);
}

.page-resources-thomo-live-updates__text-block {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.7;
    color: inherit;
}

.page-resources-thomo-live-updates__sub-section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-thomo-live-updates__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources-thomo-live-updates__list-item {
    margin-bottom: 10px;
    color: inherit;
}

.page-resources-thomo-live-updates__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-thomo-live-updates__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-thomo-live-updates__text-link:hover {
    color: #005a2e;
}

.page-resources-thomo-live-updates__faq-list {
    margin-top: 40px;
}

.page-resources-thomo-live-updates__faq-item {
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-color-light-bg);
}

.page-resources-thomo-live-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-color-light-bg);
}

.page-resources-thomo-live-updates__faq-item.active .page-resources-thomo-live-updates__faq-question {
    background-color: #f0f0f0;
}

.page-resources-thomo-live-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-resources-thomo-live-updates__faq-item.active .page-resources-thomo-live-updates__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-thomo-live-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-thomo-live-updates__faq-item.active .page-resources-thomo-live-updates__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 25px;
}

.page-resources-thomo-live-updates__faq-answer p {
    margin-bottom: 10px;
    color: var(--text-color-light-bg);
}

.page-resources-thomo-live-updates__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-thomo-live-updates__hero-title {
        font-size: 2.8em;
    }
    .page-resources-thomo-live-updates__section-title {
        font-size: 2em;
    }
    .page-resources-thomo-live-updates__sub-section-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-thomo-live-updates__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-thomo-live-updates__hero-title {
        font-size: 2.2em;
    }

    .page-resources-thomo-live-updates__hero-description {
        font-size: 1em;
    }

    .page-resources-thomo-live-updates__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-thomo-live-updates__btn-primary,
    .page-resources-thomo-live-updates__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-resources-thomo-live-updates__section-title {
        font-size: 1.8em;
    }

    .page-resources-thomo-live-updates__section-description {
        font-size: 0.95em;
    }

    .page-resources-thomo-live-updates__video-section,
    .page-resources-thomo-live-updates__content-area {
        padding: 40px 15px;
    }

    .page-resources-thomo-live-updates__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-thomo-live-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-resources-thomo-live-updates video,
    .page-resources-thomo-live-updates__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-resources-thomo-live-updates__video-section,
    .page-resources-thomo-live-updates__video-container,
    .page-resources-thomo-live-updates__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden !important;
    }

    .page-resources-thomo-live-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-thomo-live-updates__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-resources-thomo-live-updates__faq-answer {
        padding: 0 20px;
    }

    .page-resources-thomo-live-updates__faq-item.active .page-resources-thomo-live-updates__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-thomo-live-updates__hero-title {
        font-size: 1.8em;
    }
    .page-resources-thomo-live-updates__section-title {
        font-size: 1.5em;
    }
    .page-resources-thomo-live-updates__sub-section-title {
        font-size: 1.3em;
    }
}