/* style/resources-bet365-troubleshooting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #1a1a2e; /* Inherited from shared.css body */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --button-register-color: #C30808;
    --button-login-color: #C30808;
    --button-font-color: #FFFFFF; /* Adjusted for contrast with #C30808 */
}

.page-resources-bet365-troubleshooting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default text color for dark body bg */
}

.page-resources-bet365-troubleshooting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-bet365-troubleshooting__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
}

.page-resources-bet365-troubleshooting__light-bg {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

/* Hero Section */
.page-resources-bet365-troubleshooting__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.page-resources-bet365-troubleshooting__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    font-weight: bold;
}

.page-resources-bet365-troubleshooting__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text-color);
}

.page-resources-bet365-troubleshooting__hero-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-bet365-troubleshooting__hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Buttons */
.page-resources-bet365-troubleshooting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-resources-bet365-troubleshooting__btn-primary,
.page-resources-bet365-troubleshooting__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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-bet365-troubleshooting__btn-primary {
    background-color: var(--button-login-color);
    color: var(--button-font-color);
    border: 2px solid var(--button-login-color);
}

.page-resources-bet365-troubleshooting__btn-primary:hover {
    background-color: #a00606; /* Darker red */
    border-color: #a00606;
}

.page-resources-bet365-troubleshooting__btn-secondary {
    background-color: transparent;
    color: var(--button-register-color);
    border: 2px solid var(--button-register-color);
}

.page-resources-bet365-troubleshooting__btn-secondary:hover {
    background-color: var(--button-register-color);
    color: var(--secondary-color);
}

/* Content Area */
.page-resources-bet365-troubleshooting__content-area {
    padding: 60px 0;
}

.page-resources-bet365-troubleshooting__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-bet365-troubleshooting__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
    line-height: 1.7;
}

.page-resources-bet365-troubleshooting__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-bet365-troubleshooting__text-block a:hover {
    color: #004d2c;
}

/* Grid for common issues */
.page-resources-bet365-troubleshooting__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-bet365-troubleshooting__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--light-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-resources-bet365-troubleshooting__light-bg .page-resources-bet365-troubleshooting__card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    border: 1px solid #e0e0e0;
}

.page-resources-bet365-troubleshooting__card-image {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-bet365-troubleshooting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: inherit;
}

.page-resources-bet365-troubleshooting__card-text {
    font-size: 1em;
    line-height: 1.7;
    text-align: justify;
    flex-grow: 1;
}

.page-resources-bet365-troubleshooting__card-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Detailed Guide Steps */
.page-resources-bet365-troubleshooting__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-resources-bet365-troubleshooting__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text-color);
}

.page-resources-bet365-troubleshooting__step-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    font-weight: bold;
}

.page-resources-bet365-troubleshooting__step-text {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: justify;
}

.page-resources-bet365-troubleshooting__step-text ol,
.page-resources-bet365-troubleshooting__step-text ul {
    margin-top: 15px;
    margin-left: 20px;
    list-style-type: decimal;
}

.page-resources-bet365-troubleshooting__step-text ul {
    list-style-type: disc;
}

.page-resources-bet365-troubleshooting__step-text li {
    margin-bottom: 10px;
}

.page-resources-bet365-troubleshooting__step-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Security List */
.page-resources-bet365-troubleshooting__security-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-bet365-troubleshooting__security-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--dark-text-color);
    height: 100%;
    box-sizing: border-box;
}

.page-resources-bet365-troubleshooting__security-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-bet365-troubleshooting__security-heading {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--dark-text-color);
}

.page-resources-bet365-troubleshooting__security-text {
    font-size: 1em;
    line-height: 1.7;
    text-align: justify;
}

.page-resources-bet365-troubleshooting__security-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Support Channels */
.page-resources-bet365-troubleshooting__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-bet365-troubleshooting__support-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--light-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-resources-bet365-troubleshooting__support-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-bet365-troubleshooting__support-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--light-text-color);
}

.page-resources-bet365-troubleshooting__support-text {
    font-size: 1em;
    line-height: 1.7;
    text-align: center;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-resources-bet365-troubleshooting__preparation-tip {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    color: var(--light-text-color);
}

.page-resources-bet365-troubleshooting__preparation-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    font-weight: bold;
}

.page-resources-bet365-troubleshooting__preparation-text {
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-bet365-troubleshooting__preparation-text ul {
    margin-top: 15px;
    margin-left: 20px;
    list-style-type: disc;
}

.page-resources-bet365-troubleshooting__preparation-text li {
    margin-bottom: 10px;
}

.page-resources-bet365-troubleshooting__preparation-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* FAQ Section */
.page-resources-bet365-troubleshooting__faq-section {
    padding: 60px 0;
}

.page-resources-bet365-troubleshooting__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-resources-bet365-troubleshooting__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-bet365-troubleshooting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dark-text-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-bet365-troubleshooting__faq-question::-webkit-details-marker {
    display: none;
}

.page-resources-bet365-troubleshooting__faq-question::marker {
    display: none;
}

.page-resources-bet365-troubleshooting__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-resources-bet365-troubleshooting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-resources-bet365-troubleshooting__faq-item[open] .page-resources-bet365-troubleshooting__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-bet365-troubleshooting__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--dark-text-color);
    text-align: justify;
}

.page-resources-bet365-troubleshooting__faq-answer p {
    margin-bottom: 10px;
}

.page-resources-bet365-troubleshooting__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Bottom CTA Section */
.page-resources-bet365-troubleshooting__cta-bottom {
    padding: 60px 0;
    text-align: center;
}

.page-resources-bet365-troubleshooting__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    font-weight: bold;
}

.page-resources-bet365-troubleshooting__cta-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--light-text-color);
}

.page-resources-bet365-troubleshooting__cta-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-bet365-troubleshooting__hero-title {
        font-size: 2.4em;
    }
    .page-resources-bet365-troubleshooting__hero-description {
        font-size: 1.1em;
    }
    .page-resources-bet365-troubleshooting__section-title,
    .page-resources-bet365-troubleshooting__cta-title {
        font-size: 2em;
    }
    .page-resources-bet365-troubleshooting__card-title,
    .page-resources-bet365-troubleshooting__step-title,
    .page-resources-bet365-troubleshooting__security-heading,
    .page-resources-bet365-troubleshooting__support-title,
    .page-resources-bet365-troubleshooting__preparation-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-resources-bet365-troubleshooting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-bet365-troubleshooting__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-resources-bet365-troubleshooting__hero-title {
        font-size: 2em;
    }
    .page-resources-bet365-troubleshooting__hero-description {
        font-size: 1em;
    }
    .page-resources-bet365-troubleshooting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }
    .page-resources-bet365-troubleshooting__btn-primary,
    .page-resources-bet365-troubleshooting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-bet365-troubleshooting__container {
        padding: 0 15px;
    }
    .page-resources-bet365-troubleshooting__content-area {
        padding: 40px 0;
    }
    .page-resources-bet365-troubleshooting__section-title,
    .page-resources-bet365-troubleshooting__cta-title {
        font-size: 1.8em;
    }
    .page-resources-bet365-troubleshooting__grid,
    .page-resources-bet365-troubleshooting__security-list,
    .page-resources-bet365-troubleshooting__support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-bet365-troubleshooting__card,
    .page-resources-bet365-troubleshooting__step-item,
    .page-resources-bet365-troubleshooting__security-item,
    .page-resources-bet365-troubleshooting__support-card,
    .page-resources-bet365-troubleshooting__preparation-tip,
    .page-resources-bet365-troubleshooting__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-bet365-troubleshooting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-bet365-troubleshooting video,
    .page-resources-bet365-troubleshooting__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-bet365-troubleshooting__hero-video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
        overflow: hidden !important;
    }
    .page-resources-bet365-troubleshooting__support-card .page-resources-bet365-troubleshooting__btn-primary {
        margin-top: 15px; /* Adjust spacing for buttons in cards */
    }
    .page-resources-bet365-troubleshooting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-resources-bet365-troubleshooting__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources-bet365-troubleshooting__hero-title {
        font-size: 1.8em;
    }
    .page-resources-bet365-troubleshooting__section-title,
    .page-resources-bet365-troubleshooting__cta-title {
        font-size: 1.6em;
    }
    .page-resources-bet365-troubleshooting__card-title,
    .page-resources-bet365-troubleshooting__step-title,
    .page-resources-bet365-troubleshooting__security-heading,
    .page-resources-bet365-troubleshooting__support-title,
    .page-resources-bet365-troubleshooting__preparation-title {
        font-size: 1.2em;
    }
    .page-resources-bet365-troubleshooting__hero-description,
    .page-resources-bet365-troubleshooting__text-block,
    .page-resources-bet365-troubleshooting__card-text,
    .page-resources-bet365-troubleshooting__step-text,
    .page-resources-bet365-troubleshooting__security-text,
    .page-resources-bet365-troubleshooting__support-text,
    .page-resources-bet365-troubleshooting__preparation-text,
    .page-resources-bet365-troubleshooting__faq-answer {
        font-size: 0.95em;
    }
}