/* style/blog-kp88-login-troubleshooting.css */

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

.page-blog-kp88-login-troubleshooting {
    background-color: var(--color-background);
    color: var(--color-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-blog-kp88-login-troubleshooting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-blog-kp88-login-troubleshooting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-blog-kp88-login-troubleshooting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-blog-kp88-login-troubleshooting__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-blog-kp88-login-troubleshooting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-kp88-login-troubleshooting__btn-primary,
.page-blog-kp88-login-troubleshooting__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    text-align: center;
}

.page-blog-kp88-login-troubleshooting__btn-primary {
    background: var(--color-btn-gradient);
    color: var(--color-text-main);
    border: none;
}

.page-blog-kp88-login-troubleshooting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-kp88-login-troubleshooting__btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-blog-kp88-login-troubleshooting__btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-blog-kp88-login-troubleshooting__section {
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--color-background); /* Default section background */
}

.page-blog-kp88-login-troubleshooting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add horizontal padding to container */
    box-sizing: border-box;
}

.page-blog-kp88-login-troubleshooting__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-blog-kp88-login-troubleshooting__content-area {
    background-color: var(--color-card-bg); /* Card background color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--color-text-secondary);
}

.page-blog-kp88-login-troubleshooting__sub-title {
    font-size: clamp(1.3em, 2vw, 1.8em);
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-kp88-login-troubleshooting__content-area p {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.page-blog-kp88-login-troubleshooting__content-area ul,
.page-blog-kp88-login-troubleshooting__content-area ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-blog-kp88-login-troubleshooting__content-area li {
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

.page-blog-kp88-login-troubleshooting__issue-list,
.page-blog-kp88-login-troubleshooting__solution-list,
.page-blog-kp88-login-troubleshooting__solution-details-list,
.page-blog-kp88-login-troubleshooting__tip-list,
.page-blog-kp88-login-troubleshooting__support-channels {
    list-style: none;
    padding-left: 0;
}

.page-blog-kp88-login-troubleshooting__issue-item,
.page-blog-kp88-login-troubleshooting__tip-item {
    background-color: var(--color-deep-green);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-kp88-login-troubleshooting__issue-title,
.page-blog-kp88-login-troubleshooting__tip-title {
    font-size: 1.2em;
    color: var(--color-text-main);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-blog-kp88-login-troubleshooting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* FAQ Section */
.page-blog-kp88-login-troubleshooting__faq-section {
    padding-bottom: 60px;
}

.page-blog-kp88-login-troubleshooting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-kp88-login-troubleshooting__faq-item {
    background-color: var(--color-deep-green);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.page-blog-kp88-login-troubleshooting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-blog-kp88-login-troubleshooting__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-blog-kp88-login-troubleshooting__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-blog-kp88-login-troubleshooting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--color-glow);
}

.page-blog-kp88-login-troubleshooting__faq-answer {
    padding: 0 25px 20px;
    color: var(--color-text-secondary);
    font-size: 0.95em;
    max-height: 0; /* For JS-based toggle, if not using details */
    overflow: hidden; /* For JS-based toggle */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For JS-based toggle */
}

.page-blog-kp88-login-troubleshooting__faq-item[open] .page-blog-kp88-login-troubleshooting__faq-answer {
    max-height: 500px; /* Adjust as needed for content, for JS-based toggle */
    padding-top: 10px;
}
.page-blog-kp88-login-troubleshooting__faq-item[open] .page-blog-kp88-login-troubleshooting__faq-question {
    background-color: var(--color-deep-green);
}

/* Ensure images do not have filters */
.page-blog-kp88-login-troubleshooting img {
    filter: none;
}

/* --- Global Image/Video/Button Responsiveness (MUST BE PRESENT) --- */
/* All images */
.page-blog-kp88-login-troubleshooting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video elements */
.page-blog-kp88-login-troubleshooting video,
.page-blog-kp88-login-troubleshooting__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* All video containers/wrappers */
.page-blog-kp88-login-troubleshooting__video-section,
.page-blog-kp88-login-troubleshooting__video-container,
.page-blog-kp88-login-troubleshooting__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* All buttons and button-like links */
.page-blog-kp88-login-troubleshooting__cta-button,
.page-blog-kp88-login-troubleshooting__btn-primary,
.page-blog-kp88-login-troubleshooting__btn-secondary,
.page-blog-kp88-login-troubleshooting a[class*="button"],
.page-blog-kp88-login-troubleshooting a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers */
.page-blog-kp88-login-troubleshooting__cta-buttons,
.page-blog-kp88-login-troubleshooting__button-group,
.page-blog-kp88-login-troubleshooting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Responsive Design Media Queries --- */
@media (max-width: 1024px) {
    .page-blog-kp88-login-troubleshooting__hero-section {
        padding: 40px 15px;
    }
    .page-blog-kp88-login-troubleshooting__hero-content {
        max-width: 700px;
    }
    .page-blog-kp88-login-troubleshooting__section {
        padding: 30px 15px;
    }
    .page-blog-kp88-login-troubleshooting__content-area {
        padding: 25px;
    }
    .page-blog-kp88-login-troubleshooting__main-title {
        font-size: clamp(1.8em, 4vw, 2.8em);
    }
    .page-blog-kp88-login-troubleshooting__section-title {
        font-size: clamp(1.6em, 3vw, 2.2em);
    }
}

@media (max-width: 768px) {
    .page-blog-kp88-login-troubleshooting__hero-section {
        padding: 20px 15px;
        padding-top: 10px !important; /* body handles --header-offset, small decorative top padding here */
    }
    .page-blog-kp88-login-troubleshooting__hero-content {
        max-width: 100%;
    }
    .page-blog-kp88-login-troubleshooting__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-blog-kp88-login-troubleshooting__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-blog-kp88-login-troubleshooting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }
    .page-blog-kp88-login-troubleshooting__btn-primary,
    .page-blog-kp88-login-troubleshooting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-blog-kp88-login-troubleshooting__section {
        padding: 20px 0; /* Remove horizontal padding, container will handle */
    }
    .page-blog-kp88-login-troubleshooting__container {
        padding: 0 15px; /* Ensure content is padded */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-kp88-login-troubleshooting__content-area {
        padding: 20px;
    }
    .page-blog-kp88-login-troubleshooting__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
        margin-bottom: 30px;
    }
    .page-blog-kp88-login-troubleshooting__sub-title {
        font-size: 1.1em;
    }
    .page-blog-kp88-login-troubleshooting__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-blog-kp88-login-troubleshooting__faq-toggle {
        font-size: 1.2em;
    }
    .page-blog-kp88-login-troubleshooting__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }

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

    /* Mobile video responsiveness */
    .page-blog-kp88-login-troubleshooting video,
    .page-blog-kp88-login-troubleshooting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-kp88-login-troubleshooting__video-section,
    .page-blog-kp88-login-troubleshooting__video-container,
    .page-blog-kp88-login-troubleshooting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-blog-kp88-login-troubleshooting__video-section {
        padding-top: 10px !important;
    }

    /* Mobile container responsiveness */
    .page-blog-kp88-login-troubleshooting__section,
    .page-blog-kp88-login-troubleshooting__card,
    .page-blog-kp88-login-troubleshooting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Already handled by .page-blog-kp88-login-troubleshooting__container */
        /* padding-right: 15px; */ /* Already handled by .page-blog-kp88-login-troubleshooting__container */
    }

    /* If buttons use flex-direction: row on desktop, switch to column on mobile */
    .page-blog-kp88-login-troubleshooting__cta-buttons {
        display: flex;
        flex-direction: column; /* Or flex-wrap: wrap */
    }
}