/*
 Theme Name:   Norgefordeg Theme
 Theme URI:    https://generatepress.com
 Description:  Tema kustom ultra-cepat meniru Norgefordeg.com. Dioptimalkan penuh untuk SEO & Pagespeed.
 Author:       Kurisu
 Author URI:   https://generatepress.com
 Template:     generatepress
 Version:      1.0.0
*/

/* ==========================================================================
   1. GLOBAL VARIABLES & RESET (Fokus Performa & Kemiripan)
   ========================================================================== */
:root {
    --bg-color: #ffffff; /* Norgefordeg sangat putih/bersih */
    --text-color: #333333;
    --text-light: #777777;
    --link-color: #000000;
    --link-hover: #555555;
    --border-color: #eeeeee;
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.main-title {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.main-navigation .main-nav ul li a {
    color: var(--link-color);
    font-weight: 500;
    font-size: 15px;
    padding: 15px 20px;
}

.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li.current-menu-item > a {
    background: transparent;
    color: var(--link-hover);
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ==========================================================================
   3. TRENDING NOW SECTION
   ========================================================================== */
.kurisu-trending-wrapper {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.trending-header {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 5px;
}

.trending-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-widget li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.trending-widget li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   4. ARTICLE FEED (Archive & Homepage)
   ========================================================================== */
.inside-article {
    background: #fff;
    padding: 0 0 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-image {
    margin-bottom: 20px;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.entry-header .entry-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
}

.entry-content p {
    margin-bottom: 15px;
    color: #444;
}

/* Footer Meta Custom (Posted by & Read More sejajar) */
.post-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}

.post-meta-author {
    color: var(--text-light);
}

.kurisu-read-more {
    color: var(--link-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.kurisu-read-more::after {
    content: " \2192"; /* Tanda panah kanan */
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.kurisu-read-more:hover::after {
    transform: translateX(5px);
}

/* ==========================================================================
   5. SINGLE POST & PAGE
   ========================================================================== */
.single .inside-article, .page .inside-article {
    padding: 20px 0;
    border-bottom: none;
}

.single .entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.single .entry-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Breadcrumbs Styling */
.kurisu-breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.kurisu-breadcrumbs a {
    color: var(--link-color);
}

/* ==========================================================================
   6. PAGINATION & FOOTER
   ========================================================================== */
.nav-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-numbers {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--link-color);
    font-weight: bold;
}

.page-numbers.current, .page-numbers:hover {
    background: var(--link-color);
    color: #fff;
    border-color: var(--link-color);
}

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================================================
   7. RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .entry-header .entry-title {
        font-size: 1.3rem;
    }

    .single .entry-title {
        font-size: 1.8rem;
    }
    
    .post-footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}