/* style/resources-thienhabet-app-faq.css */

/* Base styles for the page content, inheriting from body background (#000) */
.page-resources-thienhabet-app-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#000) */
}

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

/* Color contrast handling based on section background */
.page-resources-thienhabet-app-faq__dark-bg,
.page-resources-thienhabet-app-faq__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-thienhabet-app-faq__light-bg {
    background-color: #ffffff; /* Auxiliary color / light background */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-resources-thienhabet-app-faq__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* For hero image */
}

.page-resources-thienhabet-app-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-resources-thienhabet-app-faq__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-resources-thienhabet-app-faq__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-resources-thienhabet-app-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect for background image */
    filter: none; /* Ensure no color filter is applied */
}

/* General Section Styling */
.page-resources-thienhabet-app-faq__content-area {
    padding: 60px 0;
}

.page-resources-thienhabet-app-faq__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherits from parent section */
}

.page-resources-thienhabet-app-faq__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: inherit; /* Inherits from parent section */
}

.page-resources-thienhabet-app-faq__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-thienhabet-app-faq__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-resources-thienhabet-app-faq__list--bullet {
    list-style-type: disc;
}

.page-resources-thienhabet-app-faq__list li {
    margin-bottom: 10px;
    color: inherit;
}

/* Buttons */
.page-resources-thienhabet-app-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-thienhabet-app-faq__cta-buttons--center {
    justify-content: center;
    text-align: center;
}

.page-resources-thienhabet-app-faq__btn-primary,
.page-resources-thienhabet-app-faq__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, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-resources-thienhabet-app-faq__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* Light text for contrast */
    border: 2px solid #017439;
}

.page-resources-thienhabet-app-faq__btn-primary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-resources-thienhabet-app-faq__btn-secondary {
    background-color: #ffffff; /* Auxiliary color */
    color: #017439; /* Brand primary color for text */
    border: 2px solid #017439;
}

.page-resources-thienhabet-app-faq__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2d;
    border-color: #005a2d;
}

/* Specific buttons from prompt for Register/Login */
/* Overriding specific color, but ensuring contrast with white text */
.page-resources-thienhabet-app-faq__card .page-resources-thienhabet-app-faq__btn-primary {
    background-color: #C30808; /* Custom color for register/login buttons */
    border-color: #C30808;
    color: #FFFFFF; /* Ensure high contrast text, overriding prompt's #FFFF00 */
}

.page-resources-thienhabet-app-faq__card .page-resources-thienhabet-app-faq__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-resources-thienhabet-app-faq__card .page-resources-thienhabet-app-faq__btn-secondary {
    background-color: #FFFFFF;
    border-color: #C30808;
    color: #C30808;
}

.page-resources-thienhabet-app-faq__card .page-resources-thienhabet-app-faq__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #a30606;
    border-color: #a30606;
}

/* Grid Layouts */
.page-resources-thienhabet-app-faq__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-resources-thienhabet-app-faq__download-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.page-resources-thienhabet-app-faq__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-thienhabet-app-faq__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cards */
.page-resources-thienhabet-app-faq__card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333; /* Dark text for contrast */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-thienhabet-app-faq__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for titles */
}

.page-resources-thienhabet-app-faq__card p {
    margin-bottom: 20px;
}

/* Images & Videos */
.page-resources-thienhabet-app-faq img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: none; /* Ensure no color filter is applied */
}

.page-resources-thienhabet-app-faq__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Fallback background */
    border-radius: 8px;
}

.page-resources-thienhabet-app-faq__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer; /* Indicate clickable video */
    filter: none; /* Ensure no color filter is applied */
}

.page-resources-thienhabet-app-faq__video-caption {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: inherit;
}

.page-resources-thienhabet-app-faq__download-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}