.sec-news {
    background: radial-gradient(circle, #000 0, #383131, #131313);
    color: #fff;
    padding: 50px 0;
}

.news-item {
    padding-block: 20px;
    position: relative;
}

.news-item__figure {
    line-height: 0;
    overflow: hidden;
    position: relative;
}

.news-item__figure:before {
    content: "";
    display: block;
    padding-top: 70%;
}

.news-item__figure {
    line-height: 0;
    overflow: hidden;
    position: relative;
}

.news-item__figure img {
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: all .6s ease-in;
    width: 100%;
}

.news-item__cat {
    align-items: center;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: #fff6;
    box-shadow: 0 .15rem .35rem #00000013;
    color: #fff;
    display: flex;
    font-size: 13px;
    height: 100%;
    justify-content: center;
    letter-spacing: .135rem;
    margin-left: -3rem;
    position: absolute;
    top: 0;
    width: 3rem;
    z-index: 1;
}

.news-item__cat strong {
    font-weight: 400;
    text-transform: uppercase;
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    font-size: 14px;
}

.news-item__ct {
    background: #000;
    padding: 22px 22px 36px;
}

.news-item__ttl a {
    display: -webkit-box;
    font-size: 22px;
    font-weight: 700;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    color: #fff;
}

.news-item__desc {
    display: -webkit-box;
    font-size: 19px;
    -webkit-line-clamp: 3;
    line-clamp: 5;
    margin-bottom: 1.9rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    color: #fff;
}


.btn-common01 {
    align-items: center;
    background: #FCC650;
    border-radius: 35px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex-wrap: wrap;
    font-weight: 700;
    justify-content: center;
    min-width: 162px;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

.btn-common01:before {
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, .7), transparent);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left .5s ease;
    width: 100%;
}

.btn-common01:hover {
    color: #fff;
}

.news-item__btn {
    bottom: 0;
    left: 50%;
    padding: 8px 20px;
    position: absolute;
    transform: translate(-50%);
    text-transform: uppercase;
    font-size: 19px;
}



.post-detail-page {
    background: radial-gradient(circle, #000 0, #383131, #131313);
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    max-width: 1120px;
    padding: 2rem 1rem;
}

.breadcrumb {
    align-items: center;
    color: #666;
    display: flex;
    font-size: .9rem;
    gap: .5rem;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    color: #fff;
    font-size: 19px;
    text-decoration: none;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.separator {
    color: #ccc;
}

.current {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
}

.btn-back {
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    display: inline-flex;
    margin-bottom: 2rem;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: all .3s ease;
}

.btn-back:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.loading {
    padding: 3rem;
    text-align: center;
}

.spinner {
    animation: spin 1s linear infinite;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top-color: #007bff;
    height: 40px;
    margin: 0 auto 1rem;
    width: 40px;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(1turn);
    }
}

.error {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px #0000001a;
    padding: 3rem;
    text-align: center;
}

.post-detail {
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    color: #fff;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta {
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rating-section {
    align-items: center;
    display: flex;
    gap: 0 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #e3f2fd;
    border-radius: 4px;
    color: #1976d2;
    font-size: .8rem;
    font-weight: 500;
    padding: .25rem .5rem;
}

.rating-display {
    align-items: center;
    display: flex;
    gap: .5rem;
}

.stars {
    display: flex;
}

.star {
    color: #ddd;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color .2s;
}

.star.active {
    color: #ffc107;
}

.featured-image {
    border-radius: 12px;
    box-shadow: 0 4px 20px #0000001a;
    margin: 2rem 0;
    overflow: hidden;
}

.featured-image img {
    display: block;
    height: auto;
    width: 100%;
}

.featured-image figcaption {
    background: #f8f9fa;
    color: #666;
    font-size: .9rem;
    padding: .5rem;
    text-align: center;
}

.post-description {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    font-size: 20px;
    color: #000;
}

.post-description h2 {
    color: #333;
    font-size: 19px;
    margin-bottom: .5rem;
}

.post-content {
    color: #fff;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 20px;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
    margin: 2rem 0 1rem;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content h3 {
    font-size: 23px;
    color: #fff;
}

.post-content h4 {
    font-size: 1.3rem;
}

.post-content h5 {
    font-size: 1.1rem;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content img {
    border-radius: 8px;
    height: auto;
    margin: 1rem 0;
    max-width: 100%;
}

.post-content a {
    color: #007bff;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.cta-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: #fff;
    margin: 2rem 0;
    padding: 2rem;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-cta {
    background: #fff;
    border-radius: 25px;
    color: #667eea;
    display: inline-block;
    font-weight: 700;
    padding: .75rem 2rem;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-cta:hover {
    box-shadow: 0 4px 15px #0003;
    transform: translateY(-2px);
}

.share-section {
    border-top: 1px solid #eee;
    margin-top: 2rem;
    padding-top: 2rem;
}

.share-section h4 {
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.share-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    padding: .5rem 1rem;
    transition: all .3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn.copy {
    background: #28a745;
    color: #fff;
}

.share-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
}

.rating-section {
    border-top: 1px solid #eee;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.rating-input {
    display: flex;
    gap: .25rem;
    justify-content: center;
    margin: 1rem 0;
}

.rating-input .star {
    cursor: pointer;
    font-size: 2rem;
}

.rating-input .star:hover {
    color: #ffc107;
}

.rating-help {
    color: #666;
    font-size: .9rem;
}

.related-posts {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px #0000001a;
    margin-bottom: 2rem;
    padding: 2rem;
}

.related-posts h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.posts-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.related-post {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.related-post:hover {
    box-shadow: 0 8px 25px #00000026;
    transform: translateY(-4px);
}

.post-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.post-image img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.post-info {
    padding: 1rem;
}

.post-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.post-info p {
    color: #666;
    font-size: .9rem;
    line-height: 1.4;
    margin-bottom: .5rem;
}

.post-date {
    color: #999;
    font-size: .8rem;
}

.comments-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px #0000001a;
    padding: 2rem;
}

.comments-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.comment-form {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.comment-form h4 {
    color: #333;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    padding: .75rem;
    transition: border-color .3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px #007bff40;
    outline: none;
}

.btn-submit {
    background: #007bff;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    padding: .75rem 2rem;
    transition: background-color .3s ease;
}

.btn-submit:hover {
    background: #0056b3;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* thay cho space-y */
}

.comment {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.comment-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .5rem;
}

.comment-author {
    color: #333;
    font-weight: 600;
}

.comment-date {
    color: #999;
    font-size: .9rem;
}

.comment-content {
    color: #666;
    line-height: 1.6;
}

.no-comments {
    color: #999;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    .item-card-post-details {
        padding: 0px 0px;
    }

    .news-item__cat {
        display: none;
    }

    .current {
        font-size: 13px;
    }

    .breadcrumb-item {
        font-size: 13px !important;
    }

    .breadcrumb a.breadcrumb-item:first-child {
        display: none;
    }

    .container {
        padding: 1rem .5rem;
    }

    .post-title {
        font-size: 30px;
    }

    .post-meta {
        gap: .5rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.sec-news h2 {
    font-size: 40px;
}

.sec-news__desc {
    font-size: 20px;
}

.banner-post img {
    width: 100%;
}

.item-card-post-details {
    padding: 0px 30px;
}

.sec-news h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
}


.sec-news h2:before {
    content: "";
    position: absolute;
    width: 55%;
    height: 2px;
    background: #fff;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
section.sec-news .clm {
    padding: 10px 30px;
}
@media (max-width: 768px) {
    .item-card-post-details {
        padding: 0px 0px;
    }
}