/* NEWS DETAIL PAGE STYLES */
.topbar {
    border-bottom: 1px solid #FF5B1F;
    margin-bottom: 0px !important;
}

.topbar-inner {
    margin-bottom: 5px !important;
}

.news-detail-page {
    padding: 0;
    background-color: #fff;
}

.news-content-section {
    /* padding: 30px 0 60px; */
    background-color: #fff;
}

.news-content-section .container {
    background-color: #f7f7f7;
    padding: 25px;
    border-radius: 20px;
}

/* Breadcrumb Wrap */
.breadcrumb-wrap {
    padding: 25px 0;
    background: #fff;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.breadcrumb a.home::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb i {
    font-size: 10px;
    color: #ccc;
    font-style: normal;
}

/* Detail Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

/* Post Content Area */
.post-container {
    /* background: #fff; */
    /* border: 1px solid #eee; */
    /* padding: 40px; */
    border-radius: 20px;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02); */
}

.post-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    display: inline-flex;
    align-items: center;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.meta-item.date i {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
}

.meta-item.views i {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>');
}

/* Highlighted Box */
.highlight-box {
    background: #fff;
    border: 2.5px solid #FF5B1F;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #111;
}

/* Post Body */
.post-body {
    font-size: 15px;
    line-height: 1.7;
    color: #111;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    border-radius: 15px;
    margin: 30px 0;
    width: 100%;
    object-fit: cover;
}

.post-body h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 35px 0 15px;
    color: #111;
}

.post-body ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.post-body li {
    margin-bottom: 10px;
    position: relative;
}

/* Sidebar News Items */
.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FF5B1F" stroke="%23FF5B1F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-news-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border-bottom: 1px solid #FF5B1F;
    padding-bottom: 15px;
}

.latest-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-info {
    flex: 1;
}

.latest-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #111;
    transition: color 0.2s;
}

.latest-news-item:hover .latest-name {
    color: var(--orange);
}

.latest-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.latest-date i {
    width: 14px;
    height: 14px;
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Responsive */
@media (max-width: 1100px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* .post-container {
        padding: 25px 20px;
    } */
    .news-content-section .container {
        background-color: white;
        padding: 0px;
    }

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

    .post-meta {
        gap: 15px;
        flex-wrap: wrap;
    }
}