/** [2026-01-11] VERSION: 11.0.0 - STRICT 5-2 GRID ONLY */

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

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

.site-logo img {
    filter: none;
}

/* --- 1. AREA CONTAINER & ANTI-FULLSCREEN --- */
.author-scroll-container {
    height: 100vh;
	height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.author-scroll-container::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
}

.v2-author-fullscreen {
    display: block;
    height: auto;
    min-height: 100vh;
}

/* --- 2. HEADER & AVATAR --- */
.v2-author-header {
    padding: 100px 20px 40px;
    text-align: center;
}

.v2-author-info {
    max-width: 800px;
    margin: 0 auto;
}

.v2-author-avatar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.v2-author-avatar img {
    width: 100px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.v2-author-name {
    text-transform: capitalize;
    font-size: large;
    font-weight: 700;
    margin: 0 0 10px;
}

.v2-author-stats {
    font-size: small;
    color: #999;
    text-transform: capitalize;
}

/* --- 3. SISTEM GRID (STRICT 5 & 2) --- */

#v2-ajax-content.v2-author-grid {
    background-color: #fff;
}

.v2-author-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px ;
    padding: 10px;
}



/* --- 4. AJAX WRAPPER LOCK --- */
.v2-grid-item-locked {
    display: contents !important;
}

/* --- 5. RESPONSIVE (HANYA UNTUK MOBILE) --- */
@media (max-width: 768px) {
    .v2-author-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

/** [2026-01-11] VERSION: 1.2.0 - SINGLE CARD CSS ONLY */

/* 1. WRAPPER KARTU UTAMA */
.v2-grid-card-inner {
    all: unset;
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #111;
    height: auto;
}

/* 2. MEDIA / THUMBNAIL */
.v2-grid-thumb {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.v2-thumb-link {
    display: block !important;
    width: 100%;
    height: 100%;
}

.v2-grid-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3. CONTENT OVERLAY (TEKS) */
.v2-grid-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 80%, transparent 100%);
    z-index: 10;
}

/* 4. TYPOGRAPHY DETAIL */
.v2-grid-meta-top {
    line-height: 1;
}

.v2-grid-cat {
    display: inline-block;
    font-size: x-small;
    color: deepskyblue;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.v2-grid-title a {
    font-size: initial;
    color: #fff;
    font-weight: bold;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-grid-date .story-date-time {
    font-size: x-small;
    color: #999;
    padding: 0;
    border: none;
    line-height: 1;
}

@media (max-width: 480px) {
    .v2-grid-title a {
        font-size: small;
    }
}

/* 5. MOBILE ADJUSTMENT */
@media (max-width: 768px) {
    .v2-grid-content {
        padding: 10px !important;
    }
}

/* ----- lOAD MORE ----- */

#v2-load-more-indicator {
    background-color: #fff !important;
}

/* ----- DARK MODE ----- */

html.dark-mode .header-v2,
html.dark-mode #v2-ajax-content.v2-author-grid,
html.dark-mode #v2-load-more-indicator {
    background-color: #1a1a1a !important;
}

html.dark-mode .header-col-center img {
    filter: brightness(0) invert(1);
}

html.dark-mode .v2-author-avatar img {
    border-color: #333;
}