/* --- LAYOUT SINGLE POST --- */

.header-v2 {
    background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 20%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.1) 80%,
            rgba(0, 0, 0, 0) 100%);
    transition: all 0.6s ease-in-out;
}

.header-v2.is-scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-v2.is-scrolled .material-icons-outlined {
    color: initial;
}

.header-v2.is-scrolled .site-logo img {
    filter: none;
}

html.dark-mode .header-v2.is-scrolled {
    background-color: #1a1a1a;
    box-shadow: none;
}

html.dark-mode .header-v2.is-scrolled .material-icons-outlined {
    color: #fff;
}

html.dark-mode .header-v2.is-scrolled img {
    filter: brightness(0) invert(1);
}

.header-v2 .material-icons-outlined {
    color: #fff;
}

.entry-header-hero-wrapper {
    contain: paint;
}

.hero-overlay-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

body.paku-ready .hero-overlay-container {
    opacity: 1;
    transform: translateY(0);
}

.hero-overlay-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradasi dari transparan di atas ke hitam di bawah */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    pointer-events: none; /* Supaya link di bawahnya tetap bisa diklik */
}

.single-hero-wrapper {
    height: 100%;
}


@media (max-width: 768px) {
	.hero-overlay-container {
		height: 100svh;
	}
    .site-wrapper {
        padding: 0 20px;
    }
}


.single-two-columns-layout {
    display: flex;
}

.side-navigation-area {
    flex: 0 0 260px;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 25px;
    overflow-y: auto;
    scrollbar-width: none;
    border-right: 1px solid #ccc;
}

.main-content-stream {
    flex: 1;
    min-width: 0;
    padding: 0 30px 30px;
}

.breadcrumb {
    line-height: 1;
}

.breadcrumb a {
    text-transform: uppercase;
    font-size: small;
    color: deepskyblue;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.entry-header-single {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.header-single-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
}

.post-thumbnail-figure-top {
    position: relative;
    margin: 0;
    height: 100%;
}

.post-thumbnail-figure-top img {
    height: 100%;
    object-position: center;
}

.entry-header-hero-wrapper .wp-caption-text {
    font-size: x-small;
    line-height: 1.3;
    color: #999;
    margin-top: 5px;
    padding: 0 20px;
}

.entry-header-single h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);;
    line-height: 1.3;
    color: #fff;
}

.entry-summary-single p {
    margin: 0;
    font-size: small;
    line-height: 1.5;
    color: #eee;
}

.author-and-meta-wrap {
    display: flex;
    align-items: center;
    line-height: 1;
}

.author-and-meta-wrap img {
    width: 32px;
}

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

.interaction-side {
    flex: 1;
}

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

.author-details .byline a {
    text-transform: capitalize;
    font-size: small;
    color: #ccc;
}

/* --- ARROW SCROLL CONTENT --- */

.hero-scroll-wrapper {
    text-align: center;
}

.scroll-to-content {
    background: none;
    border: none;
}

.hero-scroll-wrapper .material-icons {
    color: #ccc;
    cursor: pointer;
}

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

.post-meta-details {
    font-size: x-small;
    color: #999;
}

/* ----- CONTENT AREA ----- */

.entry-content {
    padding-top: 60px;
}

.entry-content p,
.entry-footer,
#single-comments-wrapper {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.post-thumbnail-figure img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.entry-content p {
    font-size: 16px;
    line-height: 1.6;
}

.entry-content p:first-child {
    margin-top: 0;
}

.entry-content figure {
    max-width: 750px;
    width: 100%!important;
    margin: 30px auto;
}

.entry-content .wp-caption-text {
    font-size: x-small;
    line-height: 1.3;
    color: #999;
    margin-top: 5px;
}

.entry-content p img {
    margin: 30px 0;
}

.entry-content iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* --------- RELATED ARTICLE ---------- */

.mp-related-repeat {
    max-width: 750px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mp-related-repeat span {
    font-weight: bold;
}

.mp-related-repeat a {
    font-size: 15px;
    font-weight: bold;
    color: steelblue ;
    line-height: 1.5;
}

html.dark-mode .mp-related-repeat a {
    color: steelblue;
}

/* ---------- SLOT ADS IN ARTICLE ---------- */

.mp-in-article-ad {
    display: block;
    margin: 30px auto;
    text-align: center;
    clear: both;
}

.mp-in-article-ad figure {
    max-width: 970px;
    margin: 0 auto;
}

.mp-in-article-ad figure img {
    vertical-align: middle;
	width: auto;
}

.mp-in-article-ad::before {
    content: "ADVERTISEMENT";
    display: block;
    font-size: x-small;
    letter-spacing: 2px;
    color: #ccc;
    margin-bottom: 5px;
}

/* --- PAGE LINK --- */

.page-links {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 50px;
    font-weight: bold;
    line-height: 1;
}

.page-links .post-page-numbers,
.page-links .post-page-numbers.current {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: normal;
}

.page-links .post-page-numbers.current {
    background-color: orangered;
    color: #fff;
}

/* --- TAGS LINK --- */

.entry-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.tags-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-links a {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    line-height: 1;
    transition: color 0.3s ease;
}

.tags-links a::before {
    content: '#';
}

.tags-links a:hover {
    color: #333;
}

/* --- TOMBOL SHARE ARTIKEL --- */

.share-container {
    text-align: center;
}

.social-share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.social-share-buttons span {
    font-size: small;
    color: #999;
}

.social-share-buttons a,
.system-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #666;
    cursor: pointer;
}

.system-share .material-icons-outlined {
    font-size: x-large;
    color: #666;
}

.system-share {
    background: none;
    border: none;
}

/* --- COMMENTS SINGLE --- */

h4.comments-title {
    padding-bottom: 20px;
}

/* --- KOLOM BAWAH ARTIKEL --- */

.single-extra-sections {
    padding-top: 50px;
    padding-bottom: 50px;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
}

/* ---------- LOAD MORE POST SINGLE ---------- */
/* [2026-01-14] VERSION: 2.8.0 - DUAL NAV + HERO PUSH-UP FINAL */

.entry-header-hero-wrapper, 
.site-wrapper,
.next-post-paku-bridge { 
    opacity: 0;
    transform: translateY(100px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

body.paku-ready .entry-header-hero-wrapper, 
body.paku-ready .site-wrapper,
body.paku-ready .next-post-paku-bridge {
    opacity: 1;
    transform: translateY(0);
}

#paku-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    z-index: 999999;
    /* Tambahkan ini biar lebih pasti center */
    align-items: center;
    justify-content: center;
}

.paku-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Translate awal */
    transform: translate(-50%, -50%); 
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #111;
    border-radius: 50%;
    /* Tambahkan 'both' biar smooth */
    animation: paku-spin 0.8s linear infinite;
}

@keyframes paku-spin {
    /* WAJIB bawa translate-nya di tiap step biar gak geser */
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.next-post-paku-bridge {
    padding: 60px 0 100px;
    background: #fff;
    display: flex;
    justify-content: center;
}

.paku-container { 
    max-width: 768px; 
}

@media (max-width: 768px) {
    .paku-container {
        padding: 0 20px;
    }
}

.paku-divider {
    text-align: center; 
    margin-bottom: 25px;
    border-bottom: 1px solid #eee; 
    line-height: 0.1em;
}

.paku-divider span {
    background: #fff; 
    padding: 0 15px; 
    color: #999;
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.paku-dual-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 480px) {
    .paku-dual-nav {
        flex-direction: column;
    }
}

.paku-btn-nav {
    flex: 1;
    min-height: 85px;
    width: 100%;
    background: #111; 
    font-family: inherit;
    color: #fff; 
    border: none;
    padding: 15px; 
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    gap: 10px;
    cursor: pointer; 
    border-radius: 6px;
    transition: background 0.3s ease;
}

.paku-btn-nav:hover { 
    background: #333; 
}

.btn-text-side small { 
    display: block; 
    font-size: x-small; 
    color: #999; 
    text-align: left; 
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.paku-nav-title { 
    font-size: 13px; 
    font-weight: bold;
    line-height: 1.3;
    display: block; 
    text-align: left; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-icon-side .material-icons {
    vertical-align: middle;
}