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

body[data-ds-page-source="article-detail.html"] .nph-detail-ad-card {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-promo-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-line-button,
body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: calc(100% - 32px);
    min-height: 58px;
    margin: -22px 16px 0;
    padding: 12px 18px;
    border: 1px solid rgba(8, 132, 119, 0.95);
    border-radius: 8px;
    color: #0b4c43;
    background: #ffffff;
    box-shadow: 0 3px 0 rgba(8, 63, 56, 0.22), 0 12px 18px rgba(8, 63, 56, 0.08);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-line-button i {
    color: #06c755;
    font-size: 23px;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-line-button span {
    color: #0b4c43;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:hover,
body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:focus {
    color: #ffffff;
    border-color: #06a75a;
    background: #06c755;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:hover i,
body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:focus i,
body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:hover span,
body[data-ds-page-source="article-detail.html"] .nph-detail-line-button:focus span {
    color: #ffffff;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-follow-card .nph-detail-follow-button,
body[data-ds-page-source="article-detail.html"] .nph-detail-follow-card .nph-detail-follow-button:visited {
    gap: 8px;
    min-height: 58px;
    padding: 11px 10px;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
}

body[data-ds-page-source="article-detail.html"] .nph-detail-follow-card .nph-detail-follow-button i,
body[data-ds-page-source="article-detail.html"] .nph-detail-follow-card .nph-detail-follow-button span {
    flex: 0 0 auto;
    white-space: nowrap;
}
