.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text on light body background */
    background-color: #FFFFFF; /* Default body background is white */
}

.page-faq__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: #F0F8FF; /* Light background for the hero section */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and text */
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-faq__hero-content {
    max-width: 900px;
    padding: 0 15px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #26A9E0; /* Brand color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-faq__description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-faq__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Max width for button group */
    margin-left: auto;
    margin-right: auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure button adapts to container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-faq__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
    transform: translateY(-2px);
}

.page-faq__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color for text */
    border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a8cc7;
    transform: translateY(-2px);
}

.page-faq__faq-list-section,
.page-faq__conclusion-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-faq__conclusion-section {
    background-color: #e0f2f7; /* Light blue background for conclusion */
}

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

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #EA7C07; /* Login color for accent */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-faq__faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-faq__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-faq__faq-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Details/Summary based FAQ */
.page-faq__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-faq__faq-item summary:hover {
    background-color: #e5e5e5;
    color: #26A9E0;
}

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #26A9E0;
    width: 25px;
    text-align: center;
}

.page-faq__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #FFFFFF;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
}

.page-faq__faq-answer .page-faq__cta-buttons {
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 10px;
}

.page-faq__faq-answer .page-faq__btn-primary,
.page-faq__faq-answer .page-faq__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 20px;
}

.page-faq__text-block {
    font-size: 1.1rem;
    color: #555555;
    text-align: center;
    margin-bottom: 30px;
}

.page-faq__image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

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

    .page-faq__hero-section {
        padding: 10px 15px 40px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-faq__description {
        font-size: 1rem;
    }

    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to buttons container */
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 1rem;
    }

    .page-faq__faq-list-section,
    .page-faq__conclusion-section {
        padding: 40px 0;
    }

    .page-faq__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-faq__faq-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-faq__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-faq__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-faq__faq-answer .page-faq__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }
    
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-faq video,
    .page-faq__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-faq__video-section {
      padding-top: 10px !important;
    }
    
    .page-faq__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}