/* style/resources-how-to-watch-thomo-live.css */

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

.page-resources-how-to-watch-thomo-live {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

/* 🚨 Desktop HERO主图区域样式 */
.page-resources-how-to-watch-thomo-live__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.page-resources-how-to-watch-thomo-live__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-how-to-watch-thomo-live__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-resources-how-to-watch-thomo-live__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-watch-thomo-live__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    margin-bottom: -50px;
}

.page-resources-how-to-watch-thomo-live__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-resources-how-to-watch-thomo-live__intro-text {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-watch-thomo-live__cta-button {
    display: inline-block;
    padding: 15px 40px;
    color: var(--register-login-font);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-resources-how-to-watch-thomo-live__btn-register {
    background: var(--register-button-bg);
}

.page-resources-how-to-watch-thomo-live__btn-login {
    background: var(--login-button-bg);
}

.page-resources-how-to-watch-thomo-live__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* General content sections */
.page-resources-how-to-watch-thomo-live__content-section {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-how-to-watch-thomo-live__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-how-to-watch-thomo-live__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-how-to-watch-thomo-live__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-resources-how-to-watch-thomo-live__section-title--white {
    color: var(--text-light);
}

.page-resources-how-to-watch-thomo-live__section-title--white::after {
    background-color: var(--text-light);
}

.page-resources-how-to-watch-thomo-live__paragraph {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: justify;
}

/* Steps Grid */
.page-resources-how-to-watch-thomo-live__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-resources-how-to-watch-thomo-live__step-card {
    background-color: var(--background-light-grey);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-how-to-watch-thomo-live__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-watch-thomo-live__step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-resources-how-to-watch-thomo-live__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-watch-thomo-live__step-description {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-how-to-watch-thomo-live__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.page-resources-how-to-watch-thomo-live__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

.page-resources-how-to-watch-thomo-live__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-how-to-watch-thomo-live__benefits-list li {
    background-color: var(--background-light-grey);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-resources-how-to-watch-thomo-live__benefits-list li p {
    margin: 0;
    padding-left: 15px;
    position: relative;
}

.page-resources-how-to-watch-thomo-live__benefits-list li p::before {
    content: '✅';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.page-resources-how-to-watch-thomo-live__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.page-resources-how-to-watch-thomo-live__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources-how-to-watch-thomo-live__faq-section {
    background-color: var(--primary-color);
    padding: 80px 20px;
    color: var(--text-light);
}

.page-resources-how-to-watch-thomo-live__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-how-to-watch-thomo-live__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-how-to-watch-thomo-live__faq-item.active .page-resources-how-to-watch-thomo-live__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-resources-how-to-watch-thomo-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-resources-how-to-watch-thomo-live__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-how-to-watch-thomo-live__faq-question:active {
    background: #eeeeee;
}

.page-resources-how-to-watch-thomo-live__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
}

.page-resources-how-to-watch-thomo-live__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-how-to-watch-thomo-live__faq-item.active .page-resources-how-to-watch-thomo-live__faq-toggle {
    color: #333;
    transform: rotate(45deg);
}

/* CTA Section */
.page-resources-how-to-watch-thomo-live__cta-section {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-how-to-watch-thomo-live__text-center {
    text-align: center;
}

.page-resources-how-to-watch-thomo-live__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* 🚨 Mobile Responsive Design */
@media (max-width: 768px) {
    .page-resources-how-to-watch-thomo-live__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-watch-thomo-live__hero-image img {
        border-radius: 4px;
    }

    .page-resources-how-to-watch-thomo-live__hero-content {
        padding: 20px;
        transform: translateY(-30px);
        margin-bottom: -30px;
    }

    .page-resources-how-to-watch-thomo-live__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-resources-how-to-watch-thomo-live__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-how-to-watch-thomo-live__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        margin-top: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-how-to-watch-thomo-live__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-resources-how-to-watch-thomo-live__paragraph {
        font-size: 1em;
    }

    .page-resources-how-to-watch-thomo-live__steps-grid {
        gap: 20px;
    }

    .page-resources-how-to-watch-thomo-live__step-card {
        padding: 20px;
    }

    .page-resources-how-to-watch-thomo-live__step-title {
        font-size: 1.5em;
    }

    .page-resources-how-to-watch-thomo-live__step-image {
        height: 180px;
    }

    .page-resources-how-to-watch-thomo-live__benefits-list li {
        font-size: 1em;
        padding: 15px;
    }

    .page-resources-how-to-watch-thomo-live__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-resources-how-to-watch-thomo-live__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-resources-how-to-watch-thomo-live__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-resources-how-to-watch-thomo-live__faq-answer {
        padding: 0 15px;
    }

    .page-resources-how-to-watch-thomo-live__faq-item.active .page-resources-how-to-watch-thomo-live__faq-answer {
        padding: 15px !important;
    }

    .page-resources-how-to-watch-thomo-live__button-group {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 🚨 Mobile image adaptation */
    .page-resources-how-to-watch-thomo-live img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-resources-how-to-watch-thomo-live__section,
    .page-resources-how-to-watch-thomo-live__card,
    .page-resources-how-to-watch-thomo-live__container,
    .page-resources-how-to-watch-thomo-live__steps-grid,
    .page-resources-how-to-watch-thomo-live__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-watch-thomo-live__cta-button,
    .page-resources-how-to-watch-thomo-live__btn-primary,
    .page-resources-how-to-watch-thomo-live__btn-secondary,
    .page-resources-how-to-watch-thomo-live a[class*="button"],
    .page-resources-how-to-watch-thomo-live a[class*="btn"] {
      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;
    }
    .page-resources-how-to-watch-thomo-live__cta-buttons,
    .page-resources-how-to-watch-thomo-live__button-group,
    .page-resources-how-to-watch-thomo-live__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-resources-how-to-watch-thomo-live__cta-buttons {
      display: flex;
      flex-direction: column;
    }
}