/* style/blog-m66-login-link-troubleshooting.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
}

.page-blog-m66-login-link-troubleshooting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Body background is light, so use dark text */
    background-color: var(--background-color);
}

.page-blog-m66-login-link-troubleshooting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-blog-m66-login-link-troubleshooting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.page-blog-m66-login-link-troubleshooting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-m66-login-link-troubleshooting__hero-content {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure text is above any potential background layers */
}

.page-blog-m66-login-link-troubleshooting__main-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-light);
    max-width: 100%; /* Ensure H1 doesn't overflow */
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
}

.page-blog-m66-login-link-troubleshooting__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-blog-m66-login-link-troubleshooting__btn-primary,
.page-blog-m66-login-link-troubleshooting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog-m66-login-link-troubleshooting__btn-primary {
    background-color: var(--login-button-color);
    color: var(--text-light);
    border: 2px solid var(--login-button-color);
    margin-top: 10px;
}

.page-blog-m66-login-link-troubleshooting__btn-primary:hover {
    background-color: darken(var(--login-button-color), 10%);
    border-color: darken(var(--login-button-color), 10%);
}

.page-blog-m66-login-link-troubleshooting__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 10px;
}

.page-blog-m66-login-link-troubleshooting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-blog-m66-login-link-troubleshooting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color);
    color: var(--text-dark);
}

.page-blog-m66-login-link-troubleshooting__section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-m66-login-link-troubleshooting__section-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-blog-m66-login-link-troubleshooting__sub-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog-m66-login-link-troubleshooting__text-block {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-blog-m66-login-link-troubleshooting__cta-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-blog-m66-login-link-troubleshooting__cta-wrapper--small .page-blog-m66-login-link-troubleshooting__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-blog-m66-login-link-troubleshooting__cta-wrapper--large .page-blog-m66-login-link-troubleshooting__btn-primary,
.page-blog-m66-login-link-troubleshooting__cta-wrapper--large .page-blog-m66-login-link-troubleshooting__btn-secondary {
    min-width: 250px;
    padding: 15px 30px;
}

.page-blog-m66-login-link-troubleshooting__article-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-blog-m66-login-link-troubleshooting__faq-list {
    margin-top: 30px;
}

.page-blog-m66-login-link-troubleshooting__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-m66-login-link-troubleshooting__faq-item details > summary {
    list-style: none;
}

.page-blog-m66-login-link-troubleshooting__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-blog-m66-login-link-troubleshooting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--primary-color);
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.page-blog-m66-login-link-troubleshooting__faq-item[open] .page-blog-m66-login-link-troubleshooting__faq-question {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-blog-m66-login-link-troubleshooting__faq-item[open] .page-blog-m66-login-link-troubleshooting__faq-toggle {
    color: var(--text-light);
}

.page-blog-m66-login-link-troubleshooting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-blog-m66-login-link-troubleshooting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-blog-m66-login-link-troubleshooting__faq-item[open] .page-blog-m66-login-link-troubleshooting__faq-toggle {
    transform: rotate(0deg);
}

.page-blog-m66-login-link-troubleshooting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.page-blog-m66-login-link-troubleshooting__faq-answer p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-m66-login-link-troubleshooting__hero-content {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .page-blog-m66-login-link-troubleshooting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-m66-login-link-troubleshooting__hero-section {
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-m66-login-link-troubleshooting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-blog-m66-login-link-troubleshooting__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-m66-login-link-troubleshooting__btn-primary,
    .page-blog-m66-login-link-troubleshooting__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .page-blog-m66-login-link-troubleshooting__cta-wrapper {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-m66-login-link-troubleshooting__content-area {
        padding: 30px 15px;
    }

    .page-blog-m66-login-link-troubleshooting__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-blog-m66-login-link-troubleshooting__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-m66-login-link-troubleshooting__text-block {
        font-size: 0.95em;
    }

    .page-blog-m66-login-link-troubleshooting__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-blog-m66-login-link-troubleshooting__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-blog-m66-login-link-troubleshooting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-m66-login-link-troubleshooting__hero-image-wrapper,
    .page-blog-m66-login-link-troubleshooting__content-area,
    .page-blog-m66-login-link-troubleshooting__section-inner,
    .page-blog-m66-login-link-troubleshooting__cta-wrapper,
    .page-blog-m66-login-link-troubleshooting__faq-list,
    .page-blog-m66-login-link-troubleshooting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
}

@media (max-width: 480px) {
    .page-blog-m66-login-link-troubleshooting__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-blog-m66-login-link-troubleshooting__section-title {
        font-size: 1.4em;
    }

    .page-blog-m66-login-link-troubleshooting__sub-title {
        font-size: 1.2em;
    }
}

/* Ensure images are at least 200x200px */
.page-blog-m66-login-link-troubleshooting img:not(.page-blog-m66-login-link-troubleshooting__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast fix for any potential issues */
.page-blog-m66-login-link-troubleshooting__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}

.page-blog-m66-login-link-troubleshooting__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}