.news-detail-section {
    padding: calc(var(--header-h) + 32px) 0 80px;
    background-color: #fcfcfc;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 4px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: var(--muted);
    min-width: 0;
}

.breadcrumb span {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4b5563;
}

.breadcrumb a {
    color: var(--tni-blue);
    font-weight: 500;
}

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

.breadcrumb i {
    margin: 0 10px;
    font-size: 0.7rem;
    color: #ccc;
}

.news-read-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
    align-items: start;
}

.news-article {
    min-width: 0;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: #111;
    overflow-wrap: anywhere;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    margin-bottom: 25px;
    font-size: 0.92rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.article-meta i {
    margin-right: 6px;
    color: var(--tni-sky);
}

.detail-media-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
}

.detail-media-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.detail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.detail-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.detail-nav.prev {
    left: 12px;
}

.detail-nav.next {
    right: 12px;
}

.detail-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 6;
}

.detail-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.detail-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.detail-media-slider.single .detail-nav,
.detail-media-slider.single .detail-dots {
    display: none;
}

.article-hero-img {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.article-hero-img:has(.detail-media-slider.empty) {
    display: none;
}

.article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #333;
    text-align: justify;
}

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

.article-body a,
.article-link {
    color: var(--tni-sky);
    text-decoration: underline;
    word-break: break-word;
}

.article-body a:hover {
    color: var(--tni-blue);
}

.share-box {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.share-box > span {
    font-weight: 600;
    color: #444;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: transform 0.2s ease;
}

.share-btn i {
    margin: 0;
}

.share-btn.fb {
    background: #3b5998;
}

.share-btn.wa {
    background: #25d366;
}

.share-btn.tw {
    background: #1da1f2;
}

.news-sidebar {
    width: 100%;
}

.sidebar-widget {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--tni-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--tni-blue);
}

.mini-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-news-list:empty::after {
    content: "Belum ada berita lainnya.";
    color: var(--muted);
    font-size: 0.9rem;
}

.mini-news-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.mini-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-frame {
    width: 112px;
    flex-shrink: 0;
    border-radius: 8px;
}

.mini-frame .img-fallback::after {
    display: none;
}

.mini-body {
    flex: 1;
    min-width: 0;
}

.mini-link {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #1f2937;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.mini-link:hover {
    color: var(--tni-blue);
}

.mini-date {
    font-size: 0.78rem;
    color: #888;
    margin-top: 6px;
    display: block;
}

@media (max-width: 992px) {
    .news-read-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .news-detail-section {
        padding: calc(var(--header-h) + 20px) 0 60px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .detail-nav {
        width: 36px;
        height: 36px;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .article-meta {
        gap: 10px;
        font-size: 0.85rem;
    }

    .article-body {
        font-size: 1rem;
    }
}

.detail-media-viewport > .detail-slide {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.detail-media-viewport > .detail-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.share-btn.copy {
    width: auto;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 19px;
    background: var(--tni-blue);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.share-btn.copy:hover {
    background: var(--tni-navy-deep);
}
