/* ==========================================================================
   DetikPress - Main Theme Stylesheet (news.detik.com style)
   ========================================================================== */

:root {
    --dt-primary: #004899;
    --dt-primary-dark: #002D66;
    --dt-accent: #FA6400;
    --dt-accent-hover: #D95300;
    --dt-red: #E50914;
    --dt-dark: #121824;
    --dt-bg: #F4F6F8;
    --dt-card-bg: #FFFFFF;
    --dt-text: #1C232E;
    --dt-text-secondary: #5A6578;
    --dt-text-muted: #8C98A9;
    --dt-border: #E2E8F0;
    --dt-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --dt-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
    --dt-radius: 6px;
    --dt-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--dt-font);
    background-color: var(--dt-bg);
    color: var(--dt-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--dt-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--dt-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.dt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   1. TOP BAR
   ========================================================================== */
.dt-topbar {
    background-color: #0B1320;
    color: #A0AEC0;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dt-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.dt-topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dt-date-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dt-trending-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.dt-trending-label {
    background: var(--dt-accent);
    color: #FFF;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.dt-trending-tags {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.dt-trending-tags a {
    color: #CBD5E0;
}

.dt-trending-tags a:hover {
    color: #FFF;
}

.dt-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dt-social-links {
    display: flex;
    gap: 10px;
}

.dt-social-links a {
    color: #A0AEC0;
    font-size: 13px;
}

.dt-social-links a:hover {
    color: var(--dt-accent);
}

/* ==========================================================================
   2. MAIN HEADER (LOGO AREA)
   ========================================================================== */
.dt-header {
    background: #FFF;
    padding: 16px 0;
    border-bottom: 1px solid var(--dt-border);
}

.dt-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dt-logo {
    display: block;
    max-height: 50px;
}

.dt-logo img {
    max-height: 48px;
    width: auto;
}

.dt-site-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--dt-primary);
    letter-spacing: -0.5px;
    margin: 0;
    text-transform: uppercase;
}

.dt-site-title span {
    color: var(--dt-accent);
}

.dt-site-description {
    font-size: 12px;
    color: var(--dt-text-muted);
    margin: 0;
}

.dt-header-banner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ==========================================================================
   3. PRIMARY NAVIGATION MENU
   ========================================================================== */
.dt-navbar {
    background-color: var(--dt-primary);
    color: #FFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dt-navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.dt-nav-menu > li {
    position: relative;
}

.dt-nav-menu > li > a {
    display: block;
    padding: 14px 18px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dt-nav-menu > li:hover > a,
.dt-nav-menu > li.current-menu-item > a {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFF;
    border-bottom: 3px solid var(--dt-accent);
    padding-bottom: 11px;
}

/* Submenu / Dropdown */
.dt-nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFF;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    box-shadow: var(--dt-shadow-hover);
    border-radius: 0 0 6px 6px;
    display: none;
    z-index: 1001;
}

.dt-nav-menu li:hover > ul {
    display: block;
}

.dt-nav-menu li ul li a {
    display: block;
    padding: 10px 16px;
    color: var(--dt-text);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
}

.dt-nav-menu li ul li a:hover {
    background-color: var(--dt-bg);
    color: var(--dt-primary);
}

/* Header Actions */
.dt-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dt-search-btn, .dt-menu-toggle {
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 18px;
    padding: 10px 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.dt-search-btn:hover, .dt-menu-toggle:hover {
    opacity: 0.8;
}

.dt-menu-toggle {
    display: none;
}

/* Search Dropdown / Overlay */
.dt-search-overlay {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;
    background: #FFF;
    padding: 12px;
    box-shadow: var(--dt-shadow-hover);
    border-radius: 0 0 8px 8px;
    z-index: 1002;
    width: 320px;
}

.dt-search-overlay.active {
    display: block;
}

.dt-search-form {
    display: flex;
    gap: 8px;
}

.dt-search-form input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--dt-border);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.dt-search-form button[type="submit"] {
    background: var(--dt-accent);
    color: #FFF;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* ==========================================================================
   4. BREAKING NEWS TICKER
   ========================================================================== */
.dt-breaking-news {
    background: #FFF;
    border-bottom: 1px solid var(--dt-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.dt-breaking-inner {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 42px;
}

.dt-breaking-badge {
    background: var(--dt-red);
    color: #FFF;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.dt-breaking-badge::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 10px solid var(--dt-red);
}

.dt-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding-left: 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.dt-ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: dt-ticker-slide 30s linear infinite;
}

.dt-ticker-wrapper:hover .dt-ticker-content {
    animation-play-state: paused;
}

.dt-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dt-text);
}

.dt-ticker-item .dt-ticker-time {
    color: var(--dt-accent);
    font-weight: 700;
    font-size: 11px;
}

@keyframes dt-ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   5. HOME SPOTLIGHT (SLIDER & SUB-GRID)
   ========================================================================== */
.dt-spotlight-section {
    margin-bottom: 24px;
}

.dt-spotlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

/* Slider Main */
.dt-slider-container {
    position: relative;
    border-radius: var(--dt-radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: var(--dt-shadow);
}

.dt-slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.dt-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.dt-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.dt-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease;
}

.dt-slide-item.active .dt-slide-img {
    transform: scale(1.05);
}

.dt-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.85) 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 2;
}

.dt-cat-badge {
    display: inline-block;
    background: var(--dt-accent);
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.dt-slide-title {
    color: #FFF;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.dt-slide-title a {
    color: #FFF;
}

.dt-slide-title a:hover {
    color: var(--dt-accent);
}

.dt-slide-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 12px;
}

/* Slider Controls */
.dt-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s ease;
}

.dt-slider-btn:hover {
    background: var(--dt-accent);
}

.dt-slider-prev { left: 16px; }
.dt-slider-next { right: 16px; }

.dt-slider-dots {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dt-dot.active {
    background: var(--dt-accent);
    transform: scale(1.2);
}

/* Sub-spotlight Grid */
.dt-spotlight-sub {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-sub-card {
    background: #FFF;
    border-radius: var(--dt-radius);
    overflow: hidden;
    box-shadow: var(--dt-shadow);
    display: flex;
    flex: 1;
    gap: 12px;
    padding: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dt-sub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--dt-shadow-hover);
}

.dt-sub-thumb {
    width: 110px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.dt-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dt-sub-card:hover .dt-sub-thumb img {
    transform: scale(1.08);
}

.dt-sub-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.dt-sub-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
}

.dt-sub-title a {
    color: var(--dt-text);
}

.dt-sub-title a:hover {
    color: var(--dt-primary);
}

.dt-sub-meta {
    font-size: 11px;
    color: var(--dt-text-muted);
}

/* ==========================================================================
   6. MAIN LAYOUT (FEED + SIDEBAR)
   ========================================================================== */
.dt-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-bottom: 40px;
}

/* Section Header Styling */
.dt-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dt-primary-dark);
    margin: 0 0 16px 0;
    padding-left: 12px;
    border-left: 4px solid var(--dt-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

.dt-section-title a.dt-view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--dt-accent);
    text-transform: none;
}

/* Latest Feed Items */
.dt-feed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dt-feed-card {
    background: #FFF;
    border-radius: var(--dt-radius);
    padding: 16px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    box-shadow: var(--dt-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dt-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--dt-shadow-hover);
}

.dt-feed-thumb {
    width: 100%;
    height: 130px;
    border-radius: 4px;
    overflow: hidden;
}

.dt-feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dt-feed-card:hover .dt-feed-thumb img {
    transform: scale(1.06);
}

.dt-feed-content {
    display: flex;
    flex-direction: column;
}

.dt-feed-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0 8px 0;
}

.dt-feed-title a {
    color: var(--dt-text);
}

.dt-feed-title a:hover {
    color: var(--dt-primary);
}

.dt-feed-excerpt {
    font-size: 13px;
    color: var(--dt-text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dt-feed-meta {
    font-size: 12px;
    color: var(--dt-text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* Pagination */
.dt-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dt-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #FFF;
    border: 1px solid var(--dt-border);
    border-radius: 4px;
    color: var(--dt-text);
    font-weight: 600;
    font-size: 13px;
}

.dt-pagination .page-numbers.current,
.dt-pagination .page-numbers:hover {
    background: var(--dt-primary);
    color: #FFF;
    border-color: var(--dt-primary);
}

/* ==========================================================================
   7. SIDEBAR WIDGETS (POPULAR, LATEST, RANDOM)
   ========================================================================== */
.dt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dt-widget {
    background: #FFF;
    border-radius: var(--dt-radius);
    padding: 16px;
    box-shadow: var(--dt-shadow);
    margin-bottom: 15px;
}

.dt-widget-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dt-primary-dark);
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--dt-border);
    position: relative;
    text-transform: uppercase;
}

.dt-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--dt-accent);
}

/* Popular News Widget (Numbered list like Detik) */
.dt-popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--dt-border);
}

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

.dt-popular-rank {
    width: 32px;
    height: 32px;
    background: var(--dt-bg);
    color: var(--dt-text-secondary);
    font-weight: 900;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dt-popular-item:nth-child(1) .dt-popular-rank {
    background: var(--dt-accent);
    color: #FFF;
}

.dt-popular-item:nth-child(2) .dt-popular-rank {
    background: var(--dt-primary);
    color: #FFF;
}

.dt-popular-item:nth-child(3) .dt-popular-rank {
    background: var(--dt-primary-dark);
    color: #FFF;
}

.dt-popular-thumb {
    width: 70px;
    height: 52px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.dt-popular-info {
    flex: 1;
}

.dt-popular-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px 0;
}

.dt-popular-title a {
    color: var(--dt-text);
}

.dt-popular-title a:hover {
    color: var(--dt-primary);
}

.dt-popular-meta {
    font-size: 11px;
    color: var(--dt-text-muted);
}

/* Latest & Random News Sidebar List */
.dt-widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-widget-item {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dt-border);
}

.dt-widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dt-widget-thumb {
    width: 75px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.dt-widget-info {
    flex: 1;
}

.dt-widget-item-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.dt-widget-item-title a {
    color: var(--dt-text);
}

.dt-widget-item-title a:hover {
    color: var(--dt-primary);
}

.dt-widget-meta {
    font-size: 11px;
    color: var(--dt-text-muted);
}

/* ==========================================================================
   8. SINGLE POST TEMPLATE
   ========================================================================== */
.dt-single-post {
    background: #FFF;
    border-radius: var(--dt-radius);
    padding: 24px;
    box-shadow: var(--dt-shadow);
    margin-bottom: 24px;
}

.dt-breadcrumbs {
    font-size: 12px;
    color: var(--dt-text-muted);
    margin-bottom: 12px;
}

.dt-breadcrumbs a {
    color: var(--dt-text-secondary);
}

.dt-single-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
    color: var(--dt-text);
    margin: 8px 0 12px 0;
}

.dt-single-excerpt {
    font-size: 16px;
    font-weight: 500;
    color: var(--dt-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--dt-accent);
}

.dt-single-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--dt-border);
    border-bottom: 1px solid var(--dt-border);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.dt-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dt-author-avatar img {
    border-radius: 50%;
    width: 38px;
    height: 38px;
}

.dt-author-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--dt-primary);
}

.dt-post-date {
    font-size: 12px;
    color: var(--dt-text-muted);
}

/* Social Share Bar */
.dt-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 4px;
    color: #FFF;
    font-size: 12px;
    font-weight: 600;
}

.dt-share-fb { background: #1877F2; }
.dt-share-tw { background: #000000; }
.dt-share-wa { background: #25D366; }
.dt-share-tg { background: #0088CC; }

.dt-single-featured-img {
    margin-bottom: 20px;
    border-radius: var(--dt-radius);
    overflow: hidden;
}

.dt-single-featured-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.dt-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2D3748;
}

.dt-post-content p {
    margin-bottom: 18px;
}

.dt-post-tags {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--dt-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dt-tag-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--dt-text);
}

.dt-tag-item {
    background: var(--dt-bg);
    color: var(--dt-text-secondary);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.dt-tag-item:hover {
    background: var(--dt-primary);
    color: #FFF;
}

/* Related Posts Section */
.dt-related-posts {
    margin-top: 32px;
}

.dt-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dt-related-card {
    background: #FFF;
    border-radius: var(--dt-radius);
    overflow: hidden;
    box-shadow: var(--dt-shadow);
}

.dt-related-thumb {
    height: 120px;
    overflow: hidden;
}

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

.dt-related-info {
    padding: 10px;
}

.dt-related-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.dt-footer {
    background: #0B1320;
    color: #A0AEC0;
    padding-top: 40px;
    margin-top: auto;
}

.dt-footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dt-footer-about h3 {
    color: #FFF;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.dt-footer-about h3 span {
    color: var(--dt-accent);
}

.dt-footer-col h4 {
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.dt-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-footer-menu li {
    margin-bottom: 8px;
}

.dt-footer-menu li a {
    color: #A0AEC0;
    font-size: 13px;
}

.dt-footer-menu li a:hover {
    color: #FFF;
}

.dt-footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.dt-scroll-top {
    background: var(--dt-accent);
    color: #FFF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
    .dt-spotlight-grid {
        grid-template-columns: 1fr;
    }
    .dt-main-layout {
        grid-template-columns: 1fr;
    }
    .dt-footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .dt-topbar-left, .dt-header-banner {
        display: none;
    }
    .dt-nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--dt-primary-dark);
        padding: 10px 0;
    }
    .dt-nav-menu.active {
        display: flex;
    }
    .dt-menu-toggle {
        display: block;
    }
    .dt-feed-card {
        grid-template-columns: 1fr;
    }
    .dt-feed-thumb {
        height: 180px;
    }
    .dt-related-grid {
        grid-template-columns: 1fr;
    }
    .dt-footer-widgets {
        grid-template-columns: 1fr;
    }
    .dt-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   11. SCROLLABLE ARTIKEL PILIHAN STRIP
   ========================================================================== */
.dt-article-strip-section {
    background: var(--dt-dark);
    padding: 24px 0 28px;
    margin-bottom: 0;
    position: relative;
    width: 100%;
}

.dt-article-strip-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dt-article-strip-title {
    font-size: 17px;
    font-weight: 800;
    color: #FFF;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dt-article-strip-title svg {
    color: var(--dt-accent);
}

.dt-strip-scroll-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #FFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.dt-strip-scroll-btn:hover {
    background: var(--dt-accent);
    border-color: var(--dt-accent);
    transform: scale(1.1);
}

.dt-article-strip-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 16px 8px;
    max-width: 1200px;
    margin: 0 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dt-article-strip-track::-webkit-scrollbar {
    display: none;
}

.dt-strip-card {
    flex: 0 0 220px;
    width: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, background 0.2s ease;
}

.dt-strip-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.dt-strip-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.dt-strip-thumb {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.dt-strip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dt-strip-card:hover .dt-strip-thumb img {
    transform: scale(1.08);
}

.dt-strip-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2740 0%, #2a3a58 100%);
}

.dt-strip-cat {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: var(--dt-accent);
    color: #FFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 3px;
}

.dt-strip-info {
    padding: 12px;
}

.dt-strip-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #EEF2FF;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dt-strip-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   12. BACA JUGA / READ ALSO
   ========================================================================== */
.dt-read-also {
    background: linear-gradient(135deg, #EBF4FF 0%, #F0F7FF 100%);
    border: 1px solid #BFDBFE;
    border-left: 4px solid var(--dt-primary);
    border-radius: var(--dt-radius);
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.dt-read-also-label {
    background: var(--dt-primary);
    color: #FFF;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.dt-read-also-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.dt-read-also-list li {
    padding: 0;
    margin: 0;
}

.dt-read-also-list li::before {
    content: '›';
    color: var(--dt-accent);
    font-weight: 900;
    margin-right: 6px;
}

.dt-read-also-list li a {
    color: var(--dt-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.dt-read-also-list li a:hover {
    color: var(--dt-accent);
    text-decoration: underline;
}

/* ==========================================================================
   13. MODERN COMMENTS SECTION (DETIK STYLE)
   ========================================================================== */
.dt-comments-section {
    background: #FFF;
    border-radius: var(--dt-radius);
    padding: 28px;
    box-shadow: var(--dt-shadow);
    margin-top: 28px;
}

.dt-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--dt-border);
    margin-bottom: 24px;
}

.dt-comments-count-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dt-primary-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.dt-comments-count-title svg {
    color: var(--dt-accent);
}

.dt-comments-info {
    font-size: 12px;
    color: var(--dt-text-muted);
}

/* Comment list */
.dt-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-comment-list .children {
    list-style: none;
    padding-left: 60px;
    margin-top: 0;
    border-left: 2px solid var(--dt-border);
}

.dt-comment-item {
    padding: 0;
    margin-bottom: 24px;
}

.dt-comment-body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dt-comment-avatar {
    flex-shrink: 0;
}

.dt-comment-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dt-border);
}

.dt-comment-content-wrap {
    flex: 1;
    background: var(--dt-bg);
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 0;
    position: relative;
}

.dt-comment-content-wrap::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 16px;
    border: 7px solid transparent;
    border-right-color: var(--dt-bg);
    border-left: 0;
}

.dt-comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.dt-comment-author {
    font-weight: 700;
    font-size: 14px;
    color: var(--dt-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dt-comment-author a {
    color: inherit;
}

.dt-comment-author-badge {
    background: var(--dt-accent);
    color: #FFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dt-comment-date {
    font-size: 12px;
    color: var(--dt-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.dt-comment-pending {
    font-size: 11px;
    background: #FEF3C7;
    color: #92400E;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.dt-comment-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--dt-text);
}

.dt-comment-text p {
    margin: 0 0 10px 0;
}

.dt-comment-text p:last-child {
    margin: 0;
}

.dt-comment-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--dt-border);
}

.dt-reply-link a,
.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dt-text-secondary);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 72, 153, 0.06);
    transition: all 0.2s ease;
}

.dt-reply-link a:hover,
.comment-reply-link:hover {
    background: var(--dt-primary);
    color: #FFF;
}

.dt-comment-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dt-text-muted);
    text-decoration: none;
}

.dt-comment-edit-link:hover {
    color: var(--dt-accent);
}

/* Comments navigation */
.dt-comments-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0;
    border-top: 1px solid var(--dt-border);
    margin-top: 20px;
}

.dt-comments-nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--dt-primary);
    padding: 8px 16px;
    border: 1px solid var(--dt-primary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dt-comments-nav a:hover {
    background: var(--dt-primary);
    color: #FFF;
}

/* Empty states */
.dt-no-comments,
.dt-comments-closed {
    text-align: center;
    padding: 40px 20px;
    color: var(--dt-text-muted);
}

.dt-no-comments svg,
.dt-comments-closed svg {
    margin: 0 auto 12px;
    opacity: 0.4;
}

.dt-no-comments p,
.dt-comments-closed p {
    font-size: 15px;
    margin: 0;
}

/* Comment Form */
.dt-comment-form-wrap {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid var(--dt-border);
}

.dt-comment-form-header {
    margin-bottom: 22px;
}

.dt-comment-user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dt-bg);
    padding: 10px 14px;
    border-radius: var(--dt-radius);
    margin-bottom: 16px;
}

.dt-comment-user-badge img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--dt-border);
}

.dt-comment-user-badge strong {
    display: block;
    font-size: 14px;
    color: var(--dt-text);
}

.dt-comment-user-badge span {
    font-size: 12px;
}

.dt-comment-user-badge span a {
    color: var(--dt-text-muted);
}

.dt-comment-form-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dt-text);
    margin: 0 0 4px 0;
}

.dt-comment-form-desc {
    font-size: 12px;
    color: var(--dt-text-muted);
    margin: 0;
}

.dt-comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dt-form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dt-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dt-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dt-text);
}

.dt-form-row input[type="text"],
.dt-form-row input[type="email"],
.dt-form-row input[type="url"],
.dt-form-row textarea,
.dt-comment-form input[type="text"],
.dt-comment-form input[type="email"],
.dt-comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--dt-border);
    border-radius: var(--dt-radius);
    font-family: var(--dt-font);
    font-size: 14px;
    color: var(--dt-text);
    background: #FAFBFC;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.dt-form-row input:focus,
.dt-form-row textarea:focus,
.dt-comment-form input:focus,
.dt-comment-form textarea:focus {
    border-color: var(--dt-primary);
    box-shadow: 0 0 0 3px rgba(0, 72, 153, 0.08);
    background: #FFF;
}

.dt-required {
    color: var(--dt-red);
    font-weight: 700;
}

.dt-form-cookies {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-form-cookies input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--dt-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.dt-form-cookies label {
    font-size: 12px;
    color: var(--dt-text-muted);
    cursor: pointer;
}

.dt-form-submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dt-comment-submit-btn,
button.dt-comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--dt-primary);
    color: #FFF;
    font-family: var(--dt-font);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--dt-radius);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.dt-comment-submit-btn:hover {
    background: var(--dt-primary-dark);
    transform: translateY(-1px);
}

.dt-comment-login-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: var(--dt-radius);
    padding: 14px 18px;
    font-size: 14px;
    color: #92400E;
    margin-top: 24px;
}

/* Responsive comments */
@media (max-width: 768px) {
    .dt-comment-list .children {
        padding-left: 24px;
    }
    .dt-comment-body {
        gap: 10px;
    }
    .dt-comment-avatar img {
        width: 36px;
        height: 36px;
    }
    .dt-form-row-group {
        grid-template-columns: 1fr;
    }
    .dt-article-strip-track {
        gap: 12px;
    }
    .dt-strip-card {
        flex: 0 0 180px;
        width: 180px;
    }
    .dt-strip-thumb {
        height: 115px;
    }
}

/* ==========================================================================
   8. DETIK NETWORK CHANNELS BAR & DETIK.COM STYLING ENHANCEMENTS
   ========================================================================== */
.dt-network-bar {
    background: #002D66;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dt-network-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dt-network-inner::-webkit-scrollbar {
    display: none;
}

.dt-network-title {
    font-size: 11px;
    font-weight: 800;
    color: #FA6400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.dt-network-channels {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.dt-chan-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.dt-chan-pill:hover {
    background: #FA6400;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.dt-chan-news { border-left: 3px solid #0056B3; }
.dt-chan-finance { border-left: 3px solid #28A745; }
.dt-chan-hot { border-left: 3px solid #E83E8C; }
.dt-chan-sport { border-left: 3px solid #FD7E14; }
.dt-chan-inet { border-left: 3px solid #17A2B8; }
.dt-chan-oto { border-left: 3px solid #DC3545; }
.dt-chan-food { border-left: 3px solid #FFC107; }
.dt-chan-health { border-left: 3px solid #20C997; }
.dt-chan-edu { border-left: 3px solid #6610F2; }
.dt-chan-travel { border-left: 3px solid #00B4D8; }

.dt-header-ad-placeholder {
    font-size: 12px;
    color: #5A6578;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #EDF2F7;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px dashed #CBD5E0;
    display: inline-block;
}

/* ==========================================================================
   9. POPULAR POSTS WIDGET (DETIK RANKING 1-5 CIRCLES)
   ========================================================================== */
.dt-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dt-popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dt-border);
    position: relative;
}

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

.dt-popular-rank {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--dt-primary);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 72, 153, 0.25);
}

.dt-popular-item:nth-child(1) .dt-popular-rank {
    background: var(--dt-red);
    box-shadow: 0 2px 6px rgba(229, 9, 20, 0.35);
}

.dt-popular-item:nth-child(2) .dt-popular-rank {
    background: var(--dt-accent);
    box-shadow: 0 2px 6px rgba(250, 100, 0, 0.35);
}

.dt-popular-item:nth-child(3) .dt-popular-rank {
    background: #28A745;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.35);
}

.dt-popular-thumb {
    width: 75px;
    height: 55px;
    min-width: 75px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.dt-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dt-popular-item:hover .dt-popular-thumb img {
    transform: scale(1.08);
}

.dt-popular-info {
    flex: 1;
    min-width: 0;
}

.dt-popular-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px 0;
}

.dt-popular-title a {
    color: var(--dt-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dt-popular-title a:hover {
    color: var(--dt-accent);
}

.dt-popular-meta {
    font-size: 11px;
    color: var(--dt-text-muted);
}

/* ==========================================================================
   10. SINGLE POST FONT RESIZER & META ACTIONS
   ========================================================================== */
.dt-meta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dt-font-resizer {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #F8FAFC;
    border: 1px solid var(--dt-border);
    padding: 3px 8px;
    border-radius: 20px;
}

.dt-resizer-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dt-text-secondary);
    margin-right: 4px;
}

.dt-resizer-btn {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--dt-text);
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dt-resizer-btn:hover,
.dt-resizer-btn.active {
    background: var(--dt-primary);
    color: #FFFFFF;
}

.dt-share-copy {
    background: #64748B !important;
    color: #FFFFFF !important;
    border: none;
    cursor: pointer;
}

.dt-share-copy:hover {
    background: #475569 !important;
}

.dt-share-copy.copied {
    background: #16A34A !important;
}

/* ==========================================================================
   11. KANAL GRID & TAG CLOUD WIDGETS STYLING
   ========================================================================== */
.dt-kanal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.dt-kanal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #F8FAFC;
    border: 1px solid var(--dt-border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dt-dark);
    transition: all 0.2s ease;
}

.dt-kanal-item:hover {
    background: var(--dt-primary);
    color: #FFFFFF;
    border-color: var(--dt-primary);
}

.dt-kanal-item:hover .dt-kanal-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.dt-kanal-count {
    font-size: 11px;
    background: #E2E8F0;
    color: var(--dt-text-secondary);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.dt-popular-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dt-tag-pill {
    display: inline-block;
    padding: 4px 10px;
    background: #EDF2F7;
    color: var(--dt-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.15s ease;
}

.dt-tag-pill:hover {
    background: var(--dt-primary);
    color: #FFFFFF;
}

