/* style/blog-rick88-code-faq-troubleshooting.css */

/* Base styles and variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-dark: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gold-color: #F2C14E;
    --glow-color: #57E38D;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-blog-rick88-code-faq-troubleshooting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the main page content */
    background-color: var(--background-dark); /* Background for the main content area */
    line-height: 1.6;
}

.page-blog-rick88-code-faq-troubleshooting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: var(--deep-green); /* A darker green for the hero section background */
    overflow: hidden;
}

.page-blog-rick88-code-faq-troubleshooting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and text */
}

.page-blog-rick88-code-faq-troubleshooting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-blog-rick88-code-faq-troubleshooting__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.page-blog-rick88-code-faq-troubleshooting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-blog-rick88-code-faq-troubleshooting__description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-rick88-code-faq-troubleshooting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-rick88-code-faq-troubleshooting__cta-buttons--center {
    margin-top: 40px;
}

.page-blog-rick88-code-faq-troubleshooting__btn-primary,
.page-blog-rick88-code-faq-troubleshooting__btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure button does not overflow */
}

.page-blog-rick88-code-faq-troubleshooting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* White text on dark button */
    border: 2px solid var(--primary-color);
}

.page-blog-rick88-code-faq-troubleshooting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-blog-rick88-code-faq-troubleshooting__btn-secondary {
    background: transparent;
    color: var(--primary-color); /* Green text on transparent button */
    border: 2px solid var(--primary-color);
}

.page-blog-rick88-code-faq-troubleshooting__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-rick88-code-faq-troubleshooting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-dark); /* Ensure content area also uses dark background */
    color: var(--text-main); /* Main text color for content */
}

.page-blog-rick88-code-faq-troubleshooting__section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.page-blog-rick88-code-faq-troubleshooting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    border-radius: 2px;
}

.page-blog-rick88-code-faq-troubleshooting__section-title--light {
    color: var(--gold-color);
}

.page-blog-rick88-code-faq-troubleshooting__sub-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-blog-rick88-code-faq-troubleshooting p {
    margin-bottom: 20px;
    color: var(--text-secondary); /* Secondary text for paragraphs */
    font-size: 1rem;
}

.page-blog-rick88-code-faq-troubleshooting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-blog-rick88-code-faq-troubleshooting__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-blog-rick88-code-faq-troubleshooting__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-blog-rick88-code-faq-troubleshooting__list li::before {
    content: '✅'; /* Green checkmark */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    top: -2px;
}

.page-blog-rick88-code-faq-troubleshooting__steps-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 40px;
    counter-reset: step-counter;
}

.page-blog-rick88-code-faq-troubleshooting__steps-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.page-blog-rick88-code-faq-troubleshooting__steps-list li strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.page-blog-rick88-code-faq-troubleshooting__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.page-blog-rick88-code-faq-troubleshooting__faq-list {
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-blog-rick88-code-faq-troubleshooting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-blog-rick88-code-faq-troubleshooting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    list-style: none; /* Hide default triangle */
    outline: none;
}

.page-blog-rick88-code-faq-troubleshooting__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default triangle for Webkit browsers */
}

.page-blog-rick88-code-faq-troubleshooting__faq-question {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-blog-rick88-code-faq-troubleshooting__faq-qtext {
    flex-grow: 1;
}

.page-blog-rick88-code-faq-troubleshooting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-blog-rick88-code-faq-troubleshooting__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-blog-rick88-code-faq-troubleshooting__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

.page-blog-rick88-code-faq-troubleshooting__faq-answer .page-blog-rick88-code-faq-troubleshooting__list {
    margin-top: 10px;
}

.page-blog-rick88-code-faq-troubleshooting__contact-section {
    background-color: var(--deep-green); /* A consistent dark green background */
    padding: 80px 20px;
    text-align: center;
    color: var(--text-main);
}

.page-blog-rick88-code-faq-troubleshooting__description--light {
    color: var(--text-secondary);
}

/* Link styles within content */
.page-blog-rick88-code-faq-troubleshooting a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-rick88-code-faq-troubleshooting a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}


/* --- Responsive Design --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
    .page-blog-rick88-code-faq-troubleshooting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-blog-rick88-code-faq-troubleshooting__section-title {
        font-size: 1.8rem;
    }

    .page-blog-rick88-code-faq-troubleshooting__sub-title {
        font-size: 1.5rem;
    }

    .page-blog-rick88-code-faq-troubleshooting__hero-content {
        padding: 0 15px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .page-blog-rick88-code-faq-troubleshooting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-rick88-code-faq-troubleshooting__hero-section {
        padding: 10px 15px 40px;
    }

    .page-blog-rick88-code-faq-troubleshooting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-blog-rick88-code-faq-troubleshooting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-blog-rick88-code-faq-troubleshooting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-blog-rick88-code-faq-troubleshooting__btn-primary,
    .page-blog-rick88-code-faq-troubleshooting__btn-secondary {
        width: 100% !important; /* Force full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog-rick88-code-faq-troubleshooting__content-area {
        padding: 40px 15px;
    }

    .page-blog-rick88-code-faq-troubleshooting__section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .page-blog-rick88-code-faq-troubleshooting__section-title::after {
        width: 60px;
        height: 3px;
    }

    .page-blog-rick88-code-faq-troubleshooting__sub-title {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-blog-rick88-code-faq-troubleshooting p,
    .page-blog-rick88-code-faq-troubleshooting__list li,
    .page-blog-rick88-code-faq-troubleshooting__steps-list li,
    .page-blog-rick88-code-faq-troubleshooting__faq-answer p {
        font-size: 0.95rem;
    }

    .page-blog-rick88-code-faq-troubleshooting__content-image {
        margin: 20px auto;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* FAQ specific mobile adjustments */
    .page-blog-rick88-code-faq-troubleshooting__faq-item summary {
        padding: 15px;
        font-size: 1rem;
    }

    .page-blog-rick88-code-faq-troubleshooting__faq-answer {
        padding: 0 15px 15px;
    }

    .page-blog-rick88-code-faq-troubleshooting__contact-section {
        padding: 60px 15px;
    }
    
    /* Ensure all images are responsive */
    .page-blog-rick88-code-faq-troubleshooting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All containers that might hold images or buttons */
    .page-blog-rick88-code-faq-troubleshooting__hero-section,
    .page-blog-rick88-code-faq-troubleshooting__content-area,
    .page-blog-rick88-code-faq-troubleshooting__contact-section,
    .page-blog-rick88-code-faq-troubleshooting__faq-list,
    .page-blog-rick88-code-faq-troubleshooting__faq-item,
    .page-blog-rick88-code-faq-troubleshooting__hero-image-wrapper,
    .page-blog-rick88-code-faq-troubleshooting__cta-buttons,
    .page-blog-rick88-code-faq-troubleshooting__section,
    .page-blog-rick88-code-faq-troubleshooting__card,
    .page-blog-rick88-code-faq-troubleshooting__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      /* Remove specific padding here as content-area/hero-section has its own */
      overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Specific padding for sections that need it */
    .page-blog-rick88-code-faq-troubleshooting__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-blog-rick88-code-faq-troubleshooting__cta-buttons {
        padding-left: 0 !important; /* Buttons themselves have width:100% and take parent padding */
        padding-right: 0 !important;
    }
    .page-blog-rick88-code-faq-troubleshooting__contact-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-blog-rick88-code-faq-troubleshooting__content-area {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Ensure no filter is applied to images */
.page-blog-rick88-code-faq-troubleshooting img {
    filter: none;
}