/* --- 1. DESIGN TOKENS & VARIABLES --- */
:root {
    /* Palette */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-glow: rgba(37, 99, 235, 0.15);
    
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.15);
    
    --bg-body: #f1f5f9;
    --bg-surface: #ffffff;
    
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;

    /* Spacing & Radius */
    --container-width: 1200px;
    --read-width: 740px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-overlay: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Animation */
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s var(--ease-smooth);
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Pola halus pada background */
    background-image: radial-gradient(var(--text-muted) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    background-blend-mode: overlay;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,0.05) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.05) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.05) 0, transparent 50%),
        linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}

a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button, input { font-family: inherit; }

/* --- 3. SCROLL PROGRESS --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: width 0.1s linear;
}

/* --- 4. HEADER & NAVIGATION --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

/* Header saat discroll */
.site-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Wrapper Styling */
.logo-wrapper {
    display: flex;
    align-items: center;
}
.logo-wrapper a { display: block; line-height: 0; }
.logo-wrapper img {
    max-width: 220px; /* Lebar di desktop */
    height: auto;
    transition: transform 0.3s ease;
}
.logo-wrapper a:hover img { transform: scale(1.02); }

.desktop-nav { display: flex; align-items: center; }
.desktop-nav ul { display: flex; gap: 0.25rem; align-items: center; }

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
    background: var(--glass-overlay);
    backdrop-filter: blur(5px);
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Dropdown Styles */
.nav-item { position: relative; }

.dropdown-toggle { cursor: pointer; gap: 0.25rem; }
.dropdown-toggle i { font-size: 0.75em; transition: transform 0.3s; }
.nav-item:hover .dropdown-toggle i { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s var(--ease-elastic);
    z-index: 101;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    background: var(--glass-overlay);
    backdrop-filter: blur(5px);
}
.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary);
    transform: translateX(4px);
}
.dropdown-item i { width: 20px; text-align: center; color: var(--text-muted); transition: color 0.2s; }
.dropdown-item:hover i { color: var(--primary); }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.mobile-menu-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

.mobile-nav-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-nav-container {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 85%; max-width: 320px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav-container.open { transform: translateX(0); }

.mobile-nav-title {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
    margin: 1.5rem 0 0.75rem 0.25rem; font-weight: 700;
}

.mobile-nav-links li { margin-bottom: 0.25rem; }
.mobile-nav-links a {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1rem; font-weight: 600; padding: 0.75rem 1rem;
    border-radius: var(--radius-md); color: var(--text-main);
}
.mobile-nav-links a.active { background: var(--primary-light); color: var(--primary); }
.mobile-nav-links i { width: 20px; color: var(--text-muted); }

/* --- 5. ARTICLE LAYOUT --- */
.article-wrapper {
    padding: 4rem 0;
    max-width: var(--read-width);
    margin: 0 auto;
    position: relative;
}

/* --- 5.1. BREADCRUMBS (SPECIFIC TO PHP STRUCTURE) --- */
.breadcrumbs-wrapper { 
    background: var(--glass-bg); 
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0; 
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.article-breadcrumbs { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    flex-wrap: wrap; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-family: 'JetBrains Mono', monospace;
}

.crumb-item { display: flex; align-items: center; }

.crumb-link { 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 600; 
    padding: 4px 8px; 
    border-radius: 4px; 
    display: flex; 
    align-items: center; 
    white-space: nowrap;
    background: var(--glass-overlay);
    transition: all 0.2s;
}

.crumb-link:hover { 
    background: var(--primary-light); 
    box-shadow: var(--shadow-sm);
}

.crumb-sep { color: var(--text-muted); font-size: 0.75rem; }

.crumb-current { 
    color: var(--text-main); 
    font-weight: 700; 
    padding: 4px 8px; 
    background: var(--bg-body);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

/* Back Button */
.cta-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.25rem; background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}
.cta-back:hover {
    border-color: var(--primary); color: var(--primary);
    box-shadow: var(--shadow-md); transform: translateY(-1px);
}

/* Main Article Card */
.article-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.article-header {
    padding: 2.5rem 3rem 0;
    text-align: left;
}

.category-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.article-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, var(--text-main), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-meta {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}
.meta-item { display: flex; align-items: center; gap: 0.5rem; background: var(--glass-overlay); padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); }
.meta-item i { color: var(--primary); }

/* --- 5.2. SHARE BUTTONS (MODERN) --- */
.share-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.share-btn:active {
    transform: translateY(0);
}

.share-btn i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.share-btn.wa { background-color: #25D366; }
.share-btn.fb { background-color: #1877F2; }
.share-btn.x  { background-color: #000000; }
.share-btn.copy { background-color: #6c757d; }

/* Hero Image */
.hero-image-container {
    padding: 2rem 3rem 0;
}
.hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s var(--ease-smooth);
}

/* --- 5.3. VIDEO WRAPPER --- */
.video-wrapper { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    background: #000; 
    border-radius: var(--radius-md); 
    margin: 2rem 0; 
    box-shadow: var(--shadow-lg); 
}

.video-wrapper video, .video-wrapper iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 0; 
}

.video-caption { 
    text-align: center; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin-top: -1rem; 
    margin-bottom: 2rem; 
    font-style: italic;
}

/* Content Styling */
.article-content {
    padding: 2.5rem 3rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin: 3rem 0 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 1rem;
}
.article-content h2::before {
    content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px;
    background: var(--primary); border-radius: var(--radius-full);
}

.article-content p { margin-bottom: 1.5rem; line-height: 1.8; text-align: justify; }

.article-content ul, .article-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; color: var(--text-main); }
.article-content li { margin-bottom: 0.6rem; position: relative; }
.article-content li::marker { color: var(--primary); font-weight: bold; }

.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: linear-gradient(to right, var(--primary-light), #ffffff);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-main);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.1rem;
}

.article-content img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s;
}
.article-content img:hover { transform: scale(1.01); }

/* Auto Internal Link Style */
.auto-internal-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0 2px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 3px;
}
.auto-internal-link:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

/* Strategic Banner */
.strategic-banner {
    margin: 2.5rem 0;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}
.ad-frame {
    position: relative;
    max-width: 100%;
    border: 1px dashed var(--border-hover);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}
.ad-label {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: white; border: 1px solid var(--border-light);
    padding: 0 0.5rem; font-size: 0.7rem; color: var(--text-muted);
    text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}
.ad-frame img {
    display: block; 
    width: 100%; 
    max-width: 220px; 
    height: auto; 
    border-radius: var(--radius-sm); 
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    margin: 0; 
}
.ad-frame:hover img { transform: scale(1.02); }

/* --- 5.4. FAQ SECTION --- */
.faq-section { 
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: 2rem; 
    margin: 3rem 0; 
    box-shadow: var(--glass-shadow); 
    border: 1px solid var(--glass-border); 
}

.faq-section h2 { 
    font-size: 1.5rem; 
    margin-bottom: 1.5rem; 
    color: var(--text-main); 
    border-bottom: 2px solid var(--primary); 
    display: inline-block; 
    padding-bottom: 0.5rem; 
}

.faq-item { border-bottom: 1px solid var(--border-light); }

.faq-question { 
    width: 100%; 
    text-align: left; 
    background: none; 
    border: none; 
    padding: 1.2rem 0; 
    font-size: 1.05rem; 
    font-weight: 600; 
    color: var(--text-main); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
}

.faq-answer { 
    padding-bottom: 1.2rem; 
    color: var(--text-secondary); 
    line-height: 1.6; 
    font-size: 0.95rem; 
}

/* --- 5.5. REVIEWS SECTION --- */
.reviews-section { margin: 3rem 0; }

.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.5rem; 
    margin-top: 1.5rem; 
}

.review-card { 
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border); 
}

.review-header { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    margin-bottom: 1rem; 
}

.review-avatar { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    background: #eee; 
    object-fit: cover; 
}

.reviewer-name { 
    font-weight: 700; 
    font-size: 0.95rem; 
    color: var(--text-main); 
}

.review-stars { 
    color: #f59e0b; 
    font-size: 0.8rem; 
    margin-top: 2px; 
}

.review-text { 
    font-size: 0.9rem; 
    color: var(--text-secondary); 
    font-style: italic; 
    line-height: 1.5; 
}

/* --- 5.6. TAGS --- */
.article-tags {
    padding: 0 3rem 2.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
    padding-top: 2rem;
}
.tag-pill {
    background: var(--glass-overlay);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(5px);
}
.tag-pill:hover {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* --- 5.7. AUTHOR BOX --- */
.author-box {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(to right, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
}
.author-avatar {
    width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
    border: 3px solid white; box-shadow: var(--shadow-md); flex-shrink: 0;
}
.author-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.author-role { font-size: 0.75rem; text-transform: uppercase; color: var(--primary); font-weight: 700; letter-spacing: 0.05em; background: var(--primary-light); padding: 2px 8px; border-radius: 4px; }
.author-bio { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.5; }

/* --- 5.8. GALLERY --- */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 0 3rem;
}
.gallery-img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md);
    cursor: pointer; transition: all 0.3s var(--ease-elastic);
}
.gallery-img:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); z-index: 2; }

/* --- 5.9. RELATED POSTS SECTION --- */
.related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.related-title i { color: var(--primary); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.related-img-wrap {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-img-wrap img {
    transform: scale(1.05);
}

.related-content { padding: 1rem; flex: 1; display: flex; flex-direction: column; }

.related-h4 {
    font-size: 1rem; font-weight: 600; color: var(--text-main);
    margin-bottom: 0.5rem; line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    font-size: 0.8rem; color: var(--text-muted);
    display: flex; justify-content: space-between; margin-top: auto;
}

/* --- FOOTER (IMPROVED) --- */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 0;
    margin-top: 6rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: left;
    margin-bottom: 4rem;
}

.footer-brand-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    max-width: 90%;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.05);
    color: white;
    transition: var(--transition-base);
    border: 1px solid rgba(255,255,255,0.05);
}
.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--primary-glow);
    border-color: var(--primary);
}

.footer-col-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 24px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s;
}
.footer-col:hover .footer-col-title::after {
    width: 40px;
}

.footer-links li { margin-bottom: 0.85rem; }

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}
.footer-link i {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 5px; 
}
.footer-link:hover i {
    color: var(--primary);
}

.newsletter-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}
.newsletter-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }

.newsletter-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15, 23, 42, 0.5); 
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-base);
}
.newsletter-input::placeholder { color: #64748b; }
.newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-btn {
    padding: 0.85rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.newsletter-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px var(--primary-glow);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 1.5rem;
    background: #0b1120;
}
.footer-bottom-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.legal-links {
    display: flex;
    gap: 1.5rem;
}
.legal-links a {
    color: #64748b;
    transition: color 0.2s;
}
.legal-links a:hover { color: var(--primary); }

/* Back To Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-elastic);
    z-index: 90;
    border: 1px solid var(--glass-border);
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTop:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

/* --- UTILITY: LOADING STATE (JS) --- */
#subscribeBtn.loading { 
    opacity: 0.7; 
    pointer-events: none; 
    cursor: wait; 
    transform: scale(0.98); 
    transition: all 0.2s; 
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand-desc { margin: 0 auto 1.5rem auto; }
    .footer-socials { justify-content: center; }
    .footer-col-title::after { left: 50%; transform: translateX(-50%); }
    .footer-links { text-align: left; }
    .newsletter-box { margin-top: 1rem; }
    .article-title { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    
    /* Article Padding Mobile */
    .article-header, .hero-image-container, .article-content, .article-tags, .article-gallery, .author-box { padding-left: 1.5rem; padding-right: 1.5rem; }
    .article-title { font-size: 1.85rem; }
    
    .strategic-banner { padding: 0 1.5rem; }
    .hero-image { max-height: 350px; }
    
    .logo-wrapper img { max-width: 160px; } /* Logo HP Lebih Kecil */
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-links { text-align: left; padding-left: 1rem; }
    .footer-link { justify-content: flex-start; }
    .footer-bottom-content { flex-direction: column; gap: 1rem; }
    .legal-links { gap: 1rem; font-size: 0.8rem; }
    #backToTop { bottom: 20px; right: 20px; width: 40px; height: 40px; }

    /* Share Button Mobile Tweak (Hide text) */
    .share-btn span { display: none; }
    .share-btn i { margin-right: 0; }
    .share-container { gap: 8px; }
}