/*
Theme Name: GerbangBerita
Theme URI: https://gerbangberita.com
Author: GerbangBerita Team
Author URI: https://gerbangberita.com
Description: Ultra-lightweight Indonesian news theme. Elegant, modern, minimalist design with dark blue and golden yellow color scheme. Mobile-first, optimized for speed.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gerbangberita
Tags: news, blog, one-column, two-columns, custom-menu, featured-images, translation-ready, rtl-language-support

GerbangBerita - Portal Berita Indonesia
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Colors - Red & Golden Yellow */
    --gb-blue-900: #5a0514;
    --gb-blue-800: #7d071b;
    --gb-blue-700: #a00822;
    --gb-blue-600: #b8172d;
    --gb-blue-500: #d02838;
    --gb-blue-400: #e54852;
    --gb-blue-300: #ef6f7a;
    --gb-blue-200: #f5919a;
    --gb-blue-100: #fcb5bf;
    --gb-blue-50: #fef9fa;

    --gb-gold-600: #a67c15;
    --gb-gold-500: #d4a500;
    --gb-gold-400: #e6b800;
    --gb-gold-300: #f0c800;
    --gb-gold-200: #f5d840;
    --gb-gold-100: #fae5a0;
    --gb-gold-50: #fdf9e8;

    /* Neutral */
    --gb-gray-900: #111827;
    --gb-gray-800: #1f2937;
    --gb-gray-700: #374151;
    --gb-gray-600: #4b5563;
    --gb-gray-500: #6b7280;
    --gb-gray-400: #9ca3af;
    --gb-gray-300: #d1d5db;
    --gb-gray-200: #e5e7eb;
    --gb-gray-100: #f3f4f6;
    --gb-gray-50: #f9fafb;
    --gb-white: #ffffff;

    /* Semantic */
    --gb-primary: var(--gb-blue-700);
    --gb-primary-dark: var(--gb-blue-800);
    --gb-primary-light: var(--gb-blue-100);
    --gb-accent: var(--gb-gold-500);
    --gb-accent-dark: var(--gb-gold-600);
    --gb-accent-light: var(--gb-gold-100);
    --gb-text: var(--gb-gray-800);
    --gb-text-light: var(--gb-gray-500);
    --gb-text-inverse: var(--gb-white);
    --gb-bg: var(--gb-blue-50);
    --gb-bg-card: var(--gb-white);
    --gb-border: var(--gb-gray-200);
    --gb-shadow: 0 2px 8px rgba(160, 8, 34, 0.08);
    --gb-shadow-lg: 0 8px 24px rgba(160, 8, 34, 0.12);

    /* Spacing */
    --gb-radius: 12px;
    --gb-radius-sm: 8px;
    --gb-radius-lg: 16px;
    --gb-radius-xl: 20px;
    --gb-radius-full: 9999px;

    /* Typography - System Fonts */
    --gb-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --gb-font-mono: 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;

    /* Transitions */
    --gb-transition: 0.2s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--gb-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gb-text);
    background: var(--gb-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--gb-radius-sm);
}

picture {
    display: block;
}

picture img {
    width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gb-primary);
    text-decoration: none;
    transition: color var(--gb-transition);
}

a:hover,
a:focus {
    color: var(--gb-accent);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--gb-gray-900);
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.gb-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--gb-accent);
    color: var(--gb-blue-900);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    border-radius: 0 0 var(--gb-radius) 0;
    font-weight: 600;
}

.gb-skip-link:focus {
    top: 0;
}

/* ============================================
   LAYOUT
   ============================================ */
.gb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gb-main-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Index Grid - Hero/Content beside Sidebar */
.gb-index-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ============================================
   HEADER BANNER
   ============================================ */
.gb-header-banner {
    width: 100%;
    overflow: hidden;
    background: var(--gb-gray-200);
}

.gb-header-banner a {
    display: block;
}

.gb-header-banner img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform var(--gb-transition);
}

.gb-header-banner a:hover img {
    transform: scale(1.02);
}

/* ============================================
   HEADER
   ============================================ */
.gb-header {
    /* background: linear-gradient(135deg, var(--gb-blue-700), var(--gb-blue-600)); */
    background-color: white;
    color: var(--gb-text);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(160, 8, 34, 0.15);
}

.gb-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    min-height: 60px;
}

.gb-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gb-header__logo {
    max-height: 60px;
    width: auto;
}

.gb-header__site-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gb-primary);
    letter-spacing: -0.02em;
}

.gb-header__site-name span {
    color: var(--gb-accent);
}

.gb-header__desc {
    display: none;
    font-size: 0.75rem;
    color: var(--gb-primary-light);
    margin-top: 0.125rem;
}

.gb-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Search Toggle */
.gb-search-toggle {
    background: rgba(160, 8, 34, 0.1);
    border: none;
    color: var(--gb-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--gb-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: background var(--gb-transition);
}

.gb-search-toggle:hover {
    background: rgba(160, 8, 34, 0.2);
}

/* Mobile Menu Toggle */
.gb-menu-toggle {
    background: rgba(160, 8, 34, 0.1);
    border: none;
    color: var(--gb-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--gb-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background var(--gb-transition);
}

.gb-menu-toggle:hover {
    background: rgba(160, 8, 34, 0.2);
}

.gb-menu-toggle .gb-icon-close {
    display: none;
}

body.menu-open .gb-menu-toggle .gb-icon-menu {
    display: none;
}

body.menu-open .gb-menu-toggle .gb-icon-close {
    display: block;
}

/* Search Overlay */
.gb-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(37, 53, 80, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gb-search-overlay.active {
    display: flex;
}

.gb-search-overlay__form {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.gb-search-overlay__input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    font-size: 1.125rem;
    border: 2px solid var(--gb-gold-400);
    border-radius: var(--gb-radius-lg);
    background: var(--gb-white);
    color: var(--gb-text);
    outline: none;
    font-family: var(--gb-font);
}

.gb-search-overlay__input:focus {
    border-color: var(--gb-gold-300);
    box-shadow: 0 0 0 4px rgba(212, 160, 18, 0.2);
}

.gb-search-overlay__submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gb-gold-500);
    border: none;
    color: var(--gb-blue-900);
    width: 44px;
    height: 44px;
    border-radius: var(--gb-radius);
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 700;
}

.gb-search-overlay__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--gb-white);
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.gb-nav {
    background: var(--gb-blue-700);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 999;
}

body.menu-open .gb-nav {
    display: block;
}

.gb-nav__menu {
    padding: 0.5rem 0;
}

.gb-nav__menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gb-nav__menu a {
    display: block;
    padding: 0.875rem 1.25rem;
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: all var(--gb-transition);
}

.gb-nav__menu a:hover,
.gb-nav__menu .current-menu-item > a {
    color: var(--gb-gold-400);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

/* Breaking News Ticker */
.gb-ticker {
    background: var(--gb-gold-500);
    color: var(--gb-blue-700);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    font-weight: 600;
    overflow: hidden;
}

.gb-ticker__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gb-ticker__label {
    background: var(--gb-blue-700);
    color: var(--gb-gold-400);
    padding: 0.25rem 0.75rem;
    border-radius: var(--gb-radius-full);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.gb-ticker__scroll {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.gb-ticker__list {
    display: flex;
    animation: gb-scroll 30s linear infinite;
    gap: 3rem;
    white-space: nowrap;
}

.gb-ticker__list a {
    color: var(--gb-blue-900);
    white-space: nowrap;
}

.gb-ticker__list a:hover {
    color: var(--gb-blue-700);
    text-decoration: underline;
}

@keyframes gb-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HERO / FEATURED SECTION
   ============================================ */
.gb-hero {
    padding: 1.5rem 0;
    margin-bottom: 0;
}

.gb-hero-section {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.gb-hero__grid {
    display: grid;
    gap: 0;
}

.gb-hero__main {
    position: relative;
    border-radius: var(--gb-radius-lg);
    overflow: hidden;
    min-height: 280px;
    background: var(--gb-gray-200);
}

.gb-hero__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.gb-hero__main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(55, 90, 139, 0.95), transparent);
    color: var(--gb-white);
}

.gb-hero__cat {
    display: inline-block;
    background: var(--gb-gold-500);
    color: var(--gb-blue-900);
    padding: 0.25rem 0.75rem;
    border-radius: var(--gb-radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.gb-hero__title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    color: var(--gb-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.gb-hero__title a {
    color: inherit;
}

.gb-hero__title a:hover {
    color: var(--gb-gold-300);
}

.gb-hero__meta {
    font-size: 0.75rem;
    color: var(--gb-blue-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gb-hero__side {
    display: grid;
    gap: 1rem;
}

.gb-hero__side-item {
    display: flex;
    gap: 0.75rem;
    background: var(--gb-bg-card);
    border-radius: var(--gb-radius);
    overflow: hidden;
    box-shadow: var(--gb-shadow);
    transition: transform var(--gb-transition), box-shadow var(--gb-transition);
}

.gb-hero__side-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--gb-shadow-lg);
}

.gb-hero__side-thumb {
    width: 110px;
    min-height: 90px;
    flex-shrink: 0;
    overflow: hidden;
}

.gb-hero__side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gb-hero__side-content {
    padding: 0.75rem 0.75rem 0.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gb-hero__side-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gb-gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-hero__side-title a {
    color: inherit;
}

.gb-hero__side-title a:hover {
    color: var(--gb-primary);
}

.gb-hero__side-meta {
    font-size: 0.6875rem;
    color: var(--gb-text-light);
    margin-top: 0.375rem;
}

/* ============================================
   NEWS CARDS (List/Grid)
   ============================================ */
.gb-section {
    padding: 1.5rem 0;
}

.gb-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gb-gold-500);
}

.gb-section__title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--gb-blue-800);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gb-section__title::before {
    content: '';
    width: 4px;
    height: 1.25em;
    background: var(--gb-gold-500);
    border-radius: 2px;
    flex-shrink: 0;
}

.gb-section__more {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gb-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.gb-section__more:hover {
    color: var(--gb-accent);
}

/* Article Card */
.gb-card {
    background: var(--gb-bg-card);
    border-radius: var(--gb-radius);
    overflow: hidden;
    box-shadow: var(--gb-shadow);
    transition: transform var(--gb-transition), box-shadow var(--gb-transition);
}

.gb-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gb-shadow-lg);
}

.gb-card--horizontal {
    display: flex;
    gap: 0;
}

.gb-card__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--gb-gray-200);
}

.gb-card--horizontal .gb-card__thumb {
    width: 130px;
    min-height: 100px;
    flex-shrink: 0;
    aspect-ratio: auto;
}

.gb-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.gb-card:hover .gb-card__thumb img {
    transform: scale(1.03);
}

.gb-card__cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--gb-gold-500);
    color: var(--gb-blue-900);
    padding: 0.1875rem 0.625rem;
    border-radius: var(--gb-radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 1;
}

.gb-card__body {
    padding: 1rem;
}

.gb-card--horizontal .gb-card__body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.gb-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-card--horizontal .gb-card__title {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
    margin-bottom: 0.375rem;
}

.gb-card__title a {
    color: var(--gb-gray-900);
}

.gb-card__title a:hover {
    color: var(--gb-primary);
}

.gb-card__excerpt {
    font-size: 0.8125rem;
    color: var(--gb-text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.gb-card--horizontal .gb-card__excerpt {
    display: none;
}

.gb-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    color: var(--gb-text-light);
    flex-wrap: wrap;
}

.gb-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.gb-card__meta-author {
    font-weight: 600;
    color: var(--gb-primary);
}

/* Post List */
.gb-post-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gb-post-grid {
    display: grid;
    gap: 1rem;
}

/* ============================================
   INTERSTITIAL BLOCKS (Every 5 Posts)
   ============================================ */
.gb-interstitial {
    border-radius: var(--gb-radius-lg);
    padding: 1.25rem;
    margin: 0.5rem 0;
}

/* Category Block */
.gb-interstitial--category {
    background: linear-gradient(135deg, var(--gb-blue-50), var(--gb-blue-100));
    border: 1px solid var(--gb-blue-200);
}

/* Tags Block */
.gb-interstitial--tags {
    background: linear-gradient(135deg, var(--gb-gold-50), var(--gb-gold-100));
    border: 1px solid var(--gb-gold-200);
}

/* Popular Block */
.gb-interstitial--popular {
    background: linear-gradient(135deg, var(--gb-blue-600), var(--gb-blue-700));
    color: var(--gb-white);
}

.gb-interstitial--popular .gb-interstitial__title {
    color: var(--gb-gold-400);
}

.gb-interstitial--popular .gb-interstitial__title::before {
    background: var(--gb-gold-400);
}

/* Featured Block */
.gb-interstitial--featured {
    background: linear-gradient(135deg, var(--gb-gold-500), var(--gb-gold-600));
    color: var(--gb-blue-700);
}

.gb-interstitial--featured .gb-interstitial__title {
    color: var(--gb-blue-900);
}

.gb-interstitial--featured .gb-interstitial__title::before {
    background: var(--gb-blue-900);
}

/* Banner Block */
.gb-interstitial--banner {
    background: linear-gradient(135deg, var(--gb-blue-500), var(--gb-blue-600));
    text-align: center;
    color: var(--gb-white);
    padding: 2rem 1.25rem;
}

.gb-interstitial__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gb-blue-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gb-interstitial__title::before {
    content: '';
    width: 4px;
    height: 1.125em;
    background: var(--gb-gold-500);
    border-radius: 2px;
    flex-shrink: 0;
}

.gb-interstitial__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gb-interstitial__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.gb-interstitial__num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gb-gold-500);
    line-height: 1;
    flex-shrink: 0;
    min-width: 1.75rem;
    opacity: 0.6;
}

.gb-interstitial--popular .gb-interstitial__num {
    color: var(--gb-gold-400);
    opacity: 0.8;
}

.gb-interstitial__item-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--gb-radius-sm);
    overflow: hidden;
}

.gb-interstitial__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gb-interstitial__item-content {
    flex: 1;
    min-width: 0;
}

.gb-interstitial__item-title {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-interstitial__item-title a {
    color: inherit;
}

.gb-interstitial--popular .gb-interstitial__item-title a {
    color: var(--gb-white);
}

.gb-interstitial--popular .gb-interstitial__item-title a:hover {
    color: var(--gb-gold-300);
}

.gb-interstitial--featured .gb-interstitial__item-title a {
    color: var(--gb-blue-900);
}

.gb-interstitial__item-meta {
    font-size: 0.6875rem;
    color: var(--gb-text-light);
    margin-top: 0.25rem;
}

.gb-interstitial--popular .gb-interstitial__item-meta {
    color: var(--gb-blue-300);
}

.gb-interstitial--featured .gb-interstitial__item-meta {
    color: rgba(10, 22, 40, 0.6);
}

/* Tag Cloud */
.gb-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gb-tag-cloud a {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gb-white);
    color: var(--gb-blue-700);
    border-radius: var(--gb-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--gb-blue-200);
    transition: all var(--gb-transition);
}

.gb-tag-cloud a:hover {
    background: var(--gb-blue-700);
    color: var(--gb-white);
    border-color: var(--gb-blue-700);
}

/* Banner CTA */
.gb-banner__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gb-gold-400);
    margin-bottom: 0.5rem;
}

.gb-banner__text {
    font-size: 0.875rem;
    color: var(--gb-blue-200);
    margin-bottom: 1rem;
}

.gb-banner__btn {
    display: inline-block;
    background: var(--gb-gold-500);
    color: var(--gb-blue-900);
    padding: 0.75rem 1.5rem;
    border-radius: var(--gb-radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    min-height: 44px;
    transition: all var(--gb-transition);
}

.gb-banner__btn:hover {
    background: var(--gb-gold-400);
    color: var(--gb-blue-900);
    transform: translateY(-1px);
}

/* ============================================
   SIDEBAR
   ============================================ */
.gb-sidebar-wrapper {
    padding: 1.5rem 0;
}
.gb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gb-widget {
    background: var(--gb-bg-card);
    border-radius: var(--gb-radius);
    padding: 1.25rem;
    box-shadow: var(--gb-shadow);
}

.gb-widget__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gb-blue-800);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gb-gold-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gb-widget__title::before {
    content: '';
    width: 4px;
    height: 1.125em;
    background: var(--gb-gold-500);
    border-radius: 2px;
    flex-shrink: 0;
}

.gb-widget__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gb-widget__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gb-gray-100);
}

.gb-widget__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.gb-widget__item-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--gb-gold-500);
    min-width: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.gb-widget__item-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--gb-radius-sm);
    overflow: hidden;
}

.gb-widget__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gb-widget__item-content {
    flex: 1;
    min-width: 0;
}

.gb-widget__item-title {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-widget__item-title a {
    color: var(--gb-gray-900);
}

.gb-widget__item-title a:hover {
    color: var(--gb-primary);
}

.gb-widget__item-meta {
    font-size: 0.6875rem;
    color: var(--gb-text-light);
    margin-top: 0.25rem;
}

/* Category List Widget */
.gb-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gb-gray-100);
    color: var(--gb-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 44px;
}

.gb-cat-list a:last-child {
    border-bottom: none;
}

.gb-cat-list a:hover {
    color: var(--gb-primary);
}

.gb-cat-list__count {
    background: var(--gb-blue-100);
    color: var(--gb-blue-700);
    padding: 0.125rem 0.5rem;
    border-radius: var(--gb-radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
}

/* ============================================
   SINGLE POST
   ============================================ */
.gb-single {
    padding: 1.5rem 0;
}

.gb-single__header {
    margin-bottom: 1.5rem;
}

.gb-single__cat {
    display: inline-block;
    background: var(--gb-gold-100);
    color: var(--gb-gold-600);
    padding: 0.25rem 0.75rem;
    border-radius: var(--gb-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.gb-single__title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--gb-gray-900);
}

.gb-single__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gb-text-light);
    flex-wrap: wrap;
}

.gb-single__meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.gb-single__author-name {
    font-weight: 600;
    color: var(--gb-primary);
}

.gb-single__featured-img {
    border-radius: var(--gb-radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--gb-gray-200);
}

.gb-single__featured-img img {
    width: 100%;
    border-radius: 0;
}

/* Article Content */
.gb-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gb-gray-800);
}

.gb-content p {
    margin-bottom: 1.25rem;
}

.gb-content h2 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    color: var(--gb-blue-800);
}

.gb-content h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--gb-blue-700);
}

.gb-content ul,
.gb-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.gb-content ul {
    list-style: disc;
}

.gb-content ol {
    list-style: decimal;
}

.gb-content li {
    margin-bottom: 0.375rem;
}

.gb-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gb-gold-500);
    background: var(--gb-gold-50);
    border-radius: 0 var(--gb-radius) var(--gb-radius) 0;
    font-style: italic;
    color: var(--gb-gray-700);
}

.gb-content img {
    border-radius: var(--gb-radius);
    margin: 1.5rem 0;
}

.gb-content a {
    color: var(--gb-primary);
    text-decoration: underline;
    text-decoration-color: var(--gb-gold-400);
    text-underline-offset: 2px;
}

.gb-content a:hover {
    color: var(--gb-accent);
}

.gb-content figure {
    margin: 1.5rem 0;
}

.gb-content figcaption {
    font-size: 0.8125rem;
    color: var(--gb-text-light);
    text-align: center;
    margin-top: 0.5rem;
}

/* Tags */
.gb-single__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--gb-border);
    margin-top: 2rem;
}

.gb-single__tags-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gb-gray-700);
}

.gb-single__tags a {
    display: inline-block;
    padding: 0.3125rem 0.75rem;
    background: var(--gb-blue-50);
    color: var(--gb-blue-700);
    border-radius: var(--gb-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--gb-transition);
}

.gb-single__tags a:hover {
    background: var(--gb-blue-700);
    color: var(--gb-white);
}

/* Author Box */
.gb-author-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gb-blue-50);
    border-radius: var(--gb-radius-lg);
    margin: 1.5rem 0;
}

.gb-author-box__avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--gb-radius-full);
    overflow: hidden;
}

.gb-author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gb-author-box__info {
    flex: 1;
    min-width: 0;
}

.gb-author-box__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gb-blue-800);
    margin-bottom: 0.25rem;
}

.gb-author-box__bio {
    font-size: 0.8125rem;
    color: var(--gb-text-light);
    line-height: 1.5;
}

/* Share Buttons */
.gb-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.gb-share__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gb-gray-700);
}

.gb-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--gb-radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    transition: all var(--gb-transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.gb-share__btn--fb {
    background: #1877f2;
    color: var(--gb-white);
}

.gb-share__btn--tw {
    background: #1da1f2;
    color: var(--gb-white);
}

.gb-share__btn--wa {
    background: #25d366;
    color: var(--gb-white);
}

.gb-share__btn--tg {
    background: #0088cc;
    color: var(--gb-white);
}

.gb-share__btn--copy {
    background: var(--gb-gray-200);
    color: var(--gb-gray-700);
}

.gb-share__btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Related Posts */
.gb-related {
    margin: 2rem 0;
}

.gb-related__grid {
    display: grid;
    gap: 1rem;
}

/* Latest Posts */
.gb-latest {
    margin: 2rem 0;
}

.gb-latest__grid {
    display: grid;
    gap: 1rem;
}

/* Inline "Baca Juga" (Read Also) Block */
.gb-baca-juga {
    background: linear-gradient(135deg, var(--gb-blue-50) 0%, var(--gb-gold-50) 100%);
    border-left: 4px solid var(--gb-accent);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: var(--gb-radius);
    box-shadow: var(--gb-shadow);
}

.gb-baca-juga__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gb-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gb-baca-juga__content {
    display: flex;
    gap: 1rem;
}

.gb-baca-juga__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--gb-radius-sm);
    overflow: hidden;
}

.gb-baca-juga__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-baca-juga__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gb-baca-juga__post-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gb-text);
    line-height: 1.3;
    margin: 0;
}

.gb-baca-juga__post-title a {
    color: var(--gb-primary);
    text-decoration: none;
    transition: color var(--gb-transition);
}

.gb-baca-juga__post-title a:hover {
    color: var(--gb-accent);
}

/* ============================================
   COMMENTS
   ============================================ */
.gb-comments {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gb-border);
}

.gb-comments__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gb-blue-800);
    margin-bottom: 1.5rem;
}

.gb-comment {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gb-gray-100);
}

.gb-comment__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.gb-comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--gb-radius-full);
    overflow: hidden;
    flex-shrink: 0;
}

.gb-comment__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gb-comment__author {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gb-gray-900);
}

.gb-comment__date {
    font-size: 0.75rem;
    color: var(--gb-text-light);
}

.gb-comment__body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gb-gray-700);
}

.gb-comment__reply {
    margin-top: 0.5rem;
}

.gb-comment__reply a {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gb-primary);
}

.gb-comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gb-gray-700);
    margin-bottom: 0.375rem;
}

.gb-comment-form input[type="text"],
.gb-comment-form input[type="email"],
.gb-comment-form input[type="url"],
.gb-comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius);
    font-family: var(--gb-font);
    font-size: 0.875rem;
    color: var(--gb-text);
    background: var(--gb-white);
    transition: border-color var(--gb-transition);
    margin-bottom: 1rem;
}

.gb-comment-form input:focus,
.gb-comment-form textarea:focus {
    outline: none;
    border-color: var(--gb-blue-400);
    box-shadow: 0 0 0 3px rgba(30, 77, 143, 0.1);
}

.gb-comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.gb-comment-form .submit {
    background: var(--gb-primary);
    color: var(--gb-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--gb-radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
    font-family: var(--gb-font);
    transition: all var(--gb-transition);
}

.gb-comment-form .submit:hover {
    background: var(--gb-blue-600);
}

/* Children comments */
.children {
    margin-left: 1.5rem;
}

/* ============================================
   PAGINATION
   ============================================ */
.gb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.gb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--gb-radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gb-gray-700);
    background: var(--gb-bg-card);
    box-shadow: var(--gb-shadow);
    transition: all var(--gb-transition);
}

.gb-pagination .page-numbers:hover {
    background: var(--gb-blue-100);
    color: var(--gb-primary);
}

.gb-pagination .page-numbers.current {
    background: var(--gb-primary);
    color: var(--gb-white);
}

.gb-pagination .page-numbers.dots {
    box-shadow: none;
    background: transparent;
}

/* ============================================
   FOOTER
   ============================================ */
.gb-footer {
    background: linear-gradient(to bottom, var(--gb-blue-600), var(--gb-blue-700));
    color: var(--gb-blue-200);
    padding: 2.5rem 0 0;
    margin-top: 2rem;
}

.gb-footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
}

.gb-footer__col-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gb-gold-400);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 160, 18, 0.3);
}

.gb-footer__about p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--gb-blue-200);
}

.gb-footer__about img {
    max-height: 60px;
    width: auto;
    display: block;
}

.gb-footer__links a {
    display: block;
    padding: 0.375rem 0;
    color: var(--gb-blue-200);
    font-size: 0.8125rem;
    transition: all var(--gb-transition);
    min-height: 36px;
    display: flex;
    align-items: center;
}

.gb-footer__links a:hover {
    color: var(--gb-gold-400);
    padding-left: 0.5rem;
}

.gb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gb-blue-300);
}

.gb-footer__bottom a {
    color: var(--gb-gold-400);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.gb-breadcrumb {
    padding: 1rem 0;
    font-size: 0.75rem;
    color: var(--gb-text-light);
}

.gb-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.gb-breadcrumb__list li::after {
    content: '›';
    margin-left: 0.375rem;
    color: var(--gb-gray-400);
}

.gb-breadcrumb__list li:last-child::after {
    display: none;
}

.gb-breadcrumb a {
    color: var(--gb-primary);
}

.gb-breadcrumb a:hover {
    color: var(--gb-accent);
}

/* ============================================
   ARCHIVE HEADER
   ============================================ */
.gb-archive-header {
    background: linear-gradient(135deg, var(--gb-blue-600), var(--gb-blue-700));
    color: var(--gb-white);
    padding: 1.5rem 0;
    border-radius: 0 0 var(--gb-radius-xl) var(--gb-radius-xl);
    margin-bottom: 1.5rem;
}

.gb-archive-header__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gb-gold-400);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gb-archive-header__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gb-white);
}

.gb-archive-header__desc {
    font-size: 0.875rem;
    color: var(--gb-blue-200);
    margin-top: 0.375rem;
}

/* ============================================
   404 PAGE
   ============================================ */
.gb-404 {
    text-align: center;
    padding: 3rem 1rem;
}

.gb-404__code {
    font-size: 5rem;
    font-weight: 900;
    color: var(--gb-gold-500);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gb-404__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gb-blue-800);
}

.gb-404__text {
    font-size: 0.9375rem;
    color: var(--gb-text-light);
    margin-bottom: 2rem;
}

.gb-404__btn {
    display: inline-block;
    background: var(--gb-primary);
    color: var(--gb-white);
    padding: 0.75rem 2rem;
    border-radius: var(--gb-radius-full);
    font-weight: 700;
    min-height: 44px;
    transition: all var(--gb-transition);
}

.gb-404__btn:hover {
    background: var(--gb-blue-600);
    color: var(--gb-white);
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.gb-search-header {
    padding: 1.5rem 0;
}

.gb-search-header__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gb-blue-800);
}

.gb-search-header__query {
    color: var(--gb-gold-500);
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.gb-page {
    padding: 1.5rem 0;
}

.gb-page__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    color: var(--gb-blue-800);
    margin-bottom: 1.5rem;
}

/* ============================================
   SCREEN READER
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background: var(--gb-bg-card);
    clip: auto;
    clip-path: none;
    color: var(--gb-text);
    display: block;
    font-size: 0.875rem;
    height: auto;
    left: 5px;
    padding: 0.75rem 1.25rem;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   ALIGNMENTS (WordPress)
   ============================================ */
.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 1rem auto;
}

.alignwide {
    margin-left: -1rem;
    margin-right: -1rem;
    max-width: calc(100% + 2rem);
}

/* ============================================
   RESPONSIVE - TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .gb-container {
        padding: 0 2rem;
    }

    .gb-hero-section {
        flex: 1;
    }

    .gb-header__desc {
        display: block;
    }

    .gb-menu-toggle {
        display: none;
    }

    .gb-nav {
        display: block;
        position: static;
        max-height: none;
        overflow: visible;
    }

    .gb-nav__menu {
        display: flex;
        padding: 0;
        gap: 0;
    }

    .gb-nav__menu li {
        border-bottom: none;
    }

    .gb-nav__menu a {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
        border-bottom: 2px solid transparent;
        min-height: auto;
    }

    .gb-nav__menu a:hover,
    .gb-nav__menu .current-menu-item > a {
        border-bottom-color: var(--gb-gold-400);
        padding-left: 1rem;
        background: transparent;
    }

    .gb-hero__grid {
        /* grid-template-columns: 1.5fr 1fr; */
    }

    .gb-hero__main {
        min-height: 360px;
    }

    .gb-main-grid {
        flex-direction: row;
    }

    .gb-index-grid {
        flex-direction: row;
    }

    .gb-main-content {
        flex: 1;
        min-width: 0;
    }

    .gb-sidebar {
        width: 300px;
        flex-shrink: 0;
    }

    .gb-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-latest__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-baca-juga__content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gb-baca-juga__image {
        width: 100%;
        height: 120px;
    }

    .gb-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-card--horizontal .gb-card__thumb {
        width: 160px;
        min-height: 110px;
    }

    .children {
        margin-left: 3rem;
    }
}

/* ============================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .gb-hero__main {
        min-height: 420px;
    }

    .gb-hero__grid {
        /* grid-template-columns: 2fr 1fr; */
    }

    .gb-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gb-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gb-latest__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gb-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .gb-sidebar {
        width: 320px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .gb-header,
    .gb-footer,
    .gb-sidebar,
    .gb-share,
    .gb-related,
    .gb-latest,
    .gb-baca-juga,
    .gb-ticker,
    .gb-interstitial,
    .gb-pagination {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .gb-content a {
        text-decoration: underline;
    }
}
