.page-dai-ly {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text on light body background */
    background-color: #FFFFFF; /* Explicitly set for content area if needed, though body is handled by shared */
}

.page-dai-ly__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-dai-ly__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.page-dai-ly__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Default column for upper image, lower text */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.page-dai-ly__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 30px;
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
}

.page-dai-ly__hero-text-block {
    max-width: 900px;
    padding: 0 20px;
}

.page-dai-ly__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* H1 font size with clamp */
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-dai-ly__lead-paragraph {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: #555555;
}

.page-dai-ly__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-bottom: 40px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-dai-ly__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    max-width: 300px; /* Limit individual button width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-dai-ly__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-dai-ly__btn-primary:hover {
    background-color: #1f8ec4;
    border-color: #1f8ec4;
}

.page-dai-ly__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-dai-ly__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1f8ec4;
    border-color: #1f8ec4;
}

/* General Section Styling */
.page-dai-ly__section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-dai-ly__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-dai-ly__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-dai-ly__sub-title {
    font-size: 1.8em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-dai-ly__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-dai-ly__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
}

.page-dai-ly__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be object-fit: cover */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-dai-ly__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-dai-ly__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-dai-ly__list li {
    margin-bottom: 10px;
    color: #555555;
}

.page-dai-ly__table-wrapper {
    overflow-x: auto; /* For responsive tables */
    margin-bottom: 30px;
}

.page-dai-ly__commission-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-dai-ly__commission-table th,
.page-dai-ly__commission-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

.page-dai-ly__commission-table th {
    background-color: #26A9E0;
    color: #ffffff;
    font-weight: bold;
}

.page-dai-ly__commission-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.page-dai-ly__note {
    font-style: italic;
    color: #777777;
    margin-top: 10px;
}

.page-dai-ly__step-by-step {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-dai-ly__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-dai-ly__step-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-dai-ly__wp-caption {
    margin: 20px 0;
    width: 100%;
    max-width: 680px; /* Match image placeholder width */
    text-align: center;
}

.page-dai-ly__step-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-dai-ly__wp-caption-text {
    font-size: 0.9em;
    color: #777777;
    margin-top: 10px;
}

.page-dai-ly__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 0;
}

/* FAQ Section */
.page-dai-ly__faq-list {
    margin-top: 30px;
}

.page-dai-ly__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-dai-ly__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-dai-ly__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-dai-ly__faq-question:hover {
    background-color: #f0f0f0;
}

.page-dai-ly__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-dai-ly__faq-item[open] .page-dai-ly__faq-toggle {
    transform: rotate(45deg);
}

.page-dai-ly__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Call to Action Section */
.page-dai-ly__call-to-action {
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff; /* White text for contrast */
    text-align: center;
    padding: 80px 0;
}

.page-dai-ly__section-title--light {
    color: #ffffff;
}

.page-dai-ly__lead-paragraph--light {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Ensure images maintain original color */
.page-dai-ly img {
    filter: none; /* Absolutely no filter */
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-dai-ly__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }

    .page-dai-ly__section-title {
        font-size: 2em;
    }

    .page-dai-ly__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-dai-ly__hero-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .page-dai-ly {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. Top section title + CTA */
    .page-dai-ly__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-dai-ly__hero-content-wrapper {
        padding: 15px;
    }

    .page-dai-ly__hero-text-block {
        padding: 0 10px;
    }

    .page-dai-ly__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 15px;
    }

    .page-dai-ly__lead-paragraph {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-dai-ly__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* 4. Buttons and button containers */
    .page-dai-ly__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px; /* Adjust padding for mobile */
    }

    /* 2. Single column long text container */
    .page-dai-ly__article-wrap {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-dai-ly__section {
        padding: 40px 0 !important;
    }

    .page-dai-ly__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }

    .page-dai-ly__sub-title {
        font-size: 1.4em !important;
        margin-top: 25px !important;
        margin-bottom: 15px !important;
    }

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

    .page-dai-ly__feature-item {
        padding: 20px;
    }

    .page-dai-ly__feature-image {
        height: auto;
        min-height: 200px;
    }

    /* 3. General images and figure */
    .page-dai-ly img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-dai-ly__wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-dai-ly__commission-table {
        min-width: auto; /* Allow table to shrink, overflow-x handles scrolling */
    }

    .page-dai-ly__commission-table th,
    .page-dai-ly__commission-table td {
        padding: 10px;
        font-size: 0.9em;
    }

    .page-dai-ly__step-by-step {
        gap: 25px;
    }

    .page-dai-ly__step-item {
        padding: 20px;
    }

    .page-dai-ly__step-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    /* 5. Registration tutorial and FAQ blocks */
    .page-dai-ly__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-dai-ly__faq-answer {
        padding: 0 20px 15px;
    }

    .page-dai-ly__call-to-action {
        padding: 50px 0 !important;
    }

    .page-dai-ly__lead-paragraph--light {
        padding: 0 15px;
    }
}