:root {
    --nt-primary: #2563eb;
    --nt-dark: #0f172a;
    --nt-light: #f1f5f9;
    --nt-text: #334155;
	--nt-link: #2a5298;
    --nt-white: #ffffff;
}

.newsthemes-header-global {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 1. Layout Base */
.newsthemes-container-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

#newsthemes-primary {
    flex: 1;
    min-width: 0; /* Mencegah konten meluber keluar */
    max-width: 800px;
}

.newsthemes-sidebar {
    width: 320px;
    position: sticky;
    top: 110px;
    height: fit-content;
}

.newsthemes-breadcrumb {
    display: flex;
    align-items: center;
    font-size: small;
    color: #ccc;
    margin-bottom: 15px;
}

.newsthemes-breadcrumb a {
    color: #999;
}

/* 2. Article Header */
.newsthemes-entry-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.newsthemes-entry-title {
    font-size: xx-large;
    line-height: 1.3;
	font-weight: 800;
}

.newsthemes-entry-summary p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.newsthemes-author-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    margin-top: 15px;
}

/* 3. Author Meta */
.newsthemes-author-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsthemes-author-avatar img {
    width: 32px;
    border-radius: 50%;
    display: block;
}

.newsthemes-author-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.newsthemes-byline a {
    text-transform: capitalize;
    font-weight: bold;
    text-decoration: none;
}

.newsthemes-post-date {
    font-size: 0.7rem;
    color: #888;
}

/* 4. Featured Image */
.newsthemes-featured-image {
    margin: 0 0 30px 0;
}

.newsthemes-featured-image img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: block;
}

.newsthemes-caption {
    font-size: 12px;
    line-height: 1.3;
    color: #999;
    margin-top: 5px;
}

/* 5. Main Content Typography */
.newsthemes-entry-content p,
.newsthemes-entry-content ul,
.newsthemes-entry-content ol {
    font-size: 16px;
    line-height: 1.6;
}

.newsthemes-entry-content p a {
	color: var(--nt-link);
}

.newsthemes-entry-content h2, 
.newsthemes-entry-content h3 {
	font-size: large;
	font-weight: 800;
	line-height: 1.3;
	margin-top: 30px;
}

.newsthemes-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 6. Tags & Footer */
.newsthemes-entry-footer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsthemes-tags {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.newsthemes-tags a {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
}

.newsthemes-tags a:hover {
    background: #111;
    color: #fff;
}

/* 7. Related & Latest Posts Area */
.newsthemes-related, 
.newsthemes-latest-posts {
    margin-top: 60px;
}

.newsthemes-related h4, 
.newsthemes-latest-posts h4 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #111;
    display: inline-block;
}

/* version 1.2.0 - Related Posts Grid */

.newsthemes-related-posts {
    margin: 40px 0;
}

.newsthemes-section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 800;
}

.newsthemes-related-grid {
    display: grid;
    gap: 20px;
    /* Default: 3 Kolom */
    grid-template-columns: repeat(3, 1fr);
}

.newsthemes-related-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.newsthemes-related-card:hover {
    transform: translateY(-5px);
}

.newsthemes-related-image img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: block;
}

.newsthemes-related-content-wrap {
    padding: 10px 0;
}

.newsthemes-related-cat {
    display: none;
}

.newsthemes-related-cat a {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #ff4d4d; /* Warna sesuaikan brand Bos */
    text-decoration: none;
    font-weight: 600;
}

.newsthemes-related-title {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsthemes-related-title a {
    color: #333;
    text-decoration: none;
}

.newsthemes-related-title a:hover {
    color: #0073aa;
}

.newsthemes-related-date {
    display: none;
    font-size: 0.8rem;
    color: #888;
}

/* Tablet: Jadi 2 Kolom */
@media (max-width: 768px) {
    .newsthemes-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .newsthemes-related-grid {
        gap: 10px;
    }
}


/* 8. Mobile Responsive */
@media screen and (max-width: 992px) {
    .newsthemes-container {
        flex-direction: column;
    }
    
    #newsthemes-primary, 
    .newsthemes-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .newsthemes-entry-title {
        font-size: x-large;
    }
}

/* version 1.2.1 - Popular Articles List */

.newsthemes-popular-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsthemes-popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.newsthemes-popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.newsthemes-popular-thumb {
    flex-shrink: 0;
}

.newsthemes-popular-thumb img {
    width: 90px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    display: block;
}

.newsthemes-popular-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 1;
}

.newsthemes-popular-cat a {
    font-size: small;
    color: var(--nt-primary);
    text-transform: capitalize;
    text-decoration: none;
}

.newsthemes-popular-title {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsthemes-popular-title a:hover {
    color: #0073aa;
}

/* Menggunakan class filmtime sesuai instruksi */
.newsthemes-popular-meta.filmtime {
    font-size: 0.75rem;
    color: #999;
}

/* version 1.2.4 - Specific Latest Posts Row Style */

.newsthemes-row-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.newsthemes-row-item:last-child {
    border-bottom: none;
}

.newsthemes-row-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Gambar Samping */
.newsthemes-row-thumb {
    flex: 0 0 253px; /* Lebar gambar */
}

.newsthemes-row-thumb img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: block;
}

/* Konten Samping */
.newsthemes-row-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    line-height: 1;
}

.newsthemes-row-meta-cat a {
    font-size: small;
    color: var(--nt-primary);
    text-transform: capitalize;
    text-decoration: none;
}

.newsthemes-row-title {
    font-size: large;
    line-height: 1.3;
}

.newsthemes-row-title a:hover {
    color: #0073aa;
}

.newsthemes-row-meta-date {
    font-size: x-small;
    color: #999;
}

.newsthemes-row-excerpt {
    font-size: small;
    color: #333;
    line-height: 1.5;
}

/* Responsive HP */
@media (max-width: 480px) {
    .newsthemes-row-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .newsthemes-row-thumb {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* v1.0.5 - Single Post Native Share Styles */
.newsthemes-single-share-native {
    display: flex;
    justify-content: flex-start;
}

.newsthemes-btn-share-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.newsthemes-btn-share-outline .material-icons-outlined {
    font-size: 18px;
    color: #64748b;
    transition: color 0.2s ease;
}

.newsthemes-btn-share-outline:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.newsthemes-btn-share-outline:hover .material-icons-outlined {
    color: #3b82f6;
}