* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: #0b5b49;
}

/* ARTICLE DETAIL */

.article-detail {
    padding: 45px 0;
    background: #fff;
}

.article-detail__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.article-detail__header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #cde577;
}

.article-detail__title {
    margin: 0 0 16px;
    color: #0b5b49;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.article-detail__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7d8985;
    font-size: 14px;
}

.article-detail__date {
    color: #6c7470;
}

.article-detail__category {
    color: #0b5b49;
    font-weight: 600;
}

.article-detail__content {
    color: #4c5652;
    font-size: 16px;
    line-height: 1.8;
}

.article-detail__intro {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #0b5b49;
}

.article-detail__benefits {
    margin: 0 0 24px;
    padding: 18px 21px;
    background: #f8fbef;
    border-radius: 12px;
    border-left: 4px solid #cde577;
}

.article-detail__benefits li {
    margin-bottom: 12px;
    padding-left: 8px;
    color: #4c5652;
    font-size: 15px;
    line-height: 1.6;
}

.article-detail__benefits li:last-child {
    margin-bottom: 0;
}

.article-detail__benefits li::marker {
    color: #cde577;
}

.article-detail__video {
    margin: 24px 0;
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e4e8e6 0%, #cfd7d3 52%, #eef1ef 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e0e0e0 0%, #d4d4d4 52%, #e8e8e8 100%);
}

.video-player__play {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform .2s ease;
}

.video-player__play:hover {
    transform: scale(1.1);
}

.video-player__caption {
    margin: 16px 0 0;
    text-align: center;
    color: #6c7470;
    font-size: 14px;
    font-style: italic;
}

.article-detail__conclusion {
    margin: 24px 0 18px;
    color: #4c5652;
    font-size: 16px;
    line-height: 1.8;
}

.article-detail__hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0eb;
}

.hashtag {
    color: #7d8985;
    font-size: 14px;
    cursor: pointer;
    transition: color .2s ease;
}

.hashtag:hover {
    color: #0b5b49;
}

@media screen and (max-width: 768px) {
    .article-detail__container {
        width: min(100% - 28px, 720px);
    }

    .article-detail__title {
        font-size: 26px;
    }

    .article-detail__intro {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .article-detail {
        padding: 32px 0 40px;
    }

    .article-detail__title {
        font-size: 22px;
    }

    .article-detail__benefits {
        padding: 20px;
    }
}

/* GAYA ARTICLE CONTENT STYLES (For Classic Editor) */
.gaya-article-content {
    color: #4c5652;
    font-size: 16px;
    line-height: 1.8;
}

.gaya-article-content p {
    margin: 0 0 24px;
}

.gaya-article-content h2,
.gaya-article-content h3,
.gaya-article-content h4 {
    color: #0b5b49;
    font-weight: 700;
    margin: 32px 0 16px;
    line-height: 1.4;
}

.gaya-article-content h2 { font-size: 24px; }
.gaya-article-content h3 { font-size: 20px; }
.gaya-article-content h4 { font-size: 18px; }

/* Ép buộc tất cả hình ảnh và khung chứa ảnh (figure) phải full width */
.gaya-article-content figure,
.gaya-article-content .wp-caption {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 !important;
    display: block;
}

.gaya-article-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}

.gaya-article-content ul,
.gaya-article-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.gaya-article-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.gaya-article-content blockquote {
    margin: 0 0 24px;
    padding: 18px 21px;
    background: #f8fbef;
    border-radius: 12px;
    border-left: 4px solid #cde577;
    font-style: italic;
    font-size: 18px;
    color: #0b5b49;
}
