/*
 * Page CSS: index.html
 * Scope owner: home page only
 * Add page-specific overrides after legacy/shared naphat-home.css.
 */

body[data-ds-page-source="index.html"] .nph-testimonials {
    position: relative;
    display: block;
    overflow: hidden;
    background: transparent !important;
}

body[data-ds-page-source="index.html"] .nph-testimonials-track {
    display: flex;
    gap: 0;
    align-items: stretch;
    will-change: transform;
    transition-property: transform;
}

body[data-ds-page-source="index.html"] .nph-testimonials article {
    flex: 0 0 auto;
    max-width: none;
    height: auto;
    visibility: visible !important;
    animation: none !important;
}

body[data-ds-page-source="index.html"] .nph-testimonials article[aria-hidden="true"] {
    pointer-events: none;
}

body[data-ds-page-source="index.html"] .nph-kpi-controls button {
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

body[data-ds-page-source="index.html"] .nph-kpi-controls button:hover,
body[data-ds-page-source="index.html"] .nph-kpi-controls button:focus-visible {
    background: rgba(255, 255, 255, .72);
    transform: translateY(-1px);
}

body[data-ds-page-source="index.html"] .nph-kpi-controls button:focus-visible {
    outline: 3px solid rgba(12, 138, 126, .24);
    outline-offset: 3px;
}

body[data-ds-page-source="index.html"] .nph-kpi-progress {
    overflow: hidden;
}

body[data-ds-page-source="index.html"] .nph-kpi-progress span {
    width: 33.333333%;
    transition: transform .62s cubic-bezier(.22, .72, .18, 1);
}

body[data-ds-page-source="index.html"] .nph-project-media-link,
body[data-ds-page-source="index.html"] .nph-project-title-link {
    color: inherit;
    text-decoration: none;
}

body[data-ds-page-source="index.html"] .nph-project-media-link {
    display: block;
    cursor: pointer;
}

body[data-ds-page-source="index.html"] .nph-project-title-link {
    display: inline-block;
    transition: color .2s ease;
}

body[data-ds-page-source="index.html"] .nph-project-media-link:focus-visible,
body[data-ds-page-source="index.html"] .nph-project-title-link:focus-visible {
    outline: 3px solid rgba(10, 126, 114, .28);
    outline-offset: 4px;
}

body[data-ds-page-source="index.html"] .nph-project-title-link:hover,
body[data-ds-page-source="index.html"] .nph-project-title-link:focus-visible {
    color: #0a7e72;
}

@media (max-width: 1180px) {
    body[data-ds-page-source="index.html"] .nph-testimonials article {
        max-width: none;
    }
}

@media (max-width: 720px) {
    body[data-ds-page-source="index.html"] .nph-testimonials article {
        max-width: none;
    }
}
