/*
Theme Name: trijaya-blog-theme
Theme URI: https://trijayagraha.com
Author: PT Trijaya Graha Wilaka
Description: Premium dark WordPress blog theme. Sidebar left + content right. Orange + Blue + Black.
Version: 3.0
License: GNU GPL v2
Text Domain: trijaya-blog
*/

:root {
    --orange: #F97316;
    --orange-dark: #EA580C;
    --orange-light: #FB923C;
    --orange-glow: rgba(249, 115, 22, 0.15);
    --orange-soft: rgba(249, 115, 22, 0.08);
    --blue: #3B82F6;
    --blue-dark: #2563EB;
    --blue-light: #60A5FA;
    --blue-glow: rgba(59, 130, 246, 0.15);
    --black: #0A0A0A;
    --black-light: #111111;
    --black-card: #1A1A1A;
    --black-elevated: #222222;
    --black-border: #2A2A2A;
    --black-border-hover: #3A3A3A;
    --white: #FAFAFA;
    --gray: #9CA3AF;
    --gray-dark: #6B7280;
    --green-wa: #25D366;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 1400px;
    --nav-h: 80px;
    --sidebar-w: 320px;
    --radius: 16px;
    --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--black); color: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAVIGATION */
.nav-premium { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: transparent; border-bottom: 1px solid transparent; }
.nav-premium.scrolled { background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); border-bottom: 1px solid var(--black-border); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-premium-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav-premium-logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: var(--font); }
.logo-trijaya { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.logo-graha { font-size: 22px; font-weight: 300; color: var(--gray); letter-spacing: -0.03em; }
.logo-wilaka { font-size: 22px; font-weight: 800; color: var(--orange); letter-spacing: -0.03em; }

.nav-premium-menu { display: flex; align-items: center; gap: 8px; }
.nav-premium-link { font-size: 15px; font-weight: 500; color: var(--gray); transition: all 0.3s ease; text-decoration: none; padding: 10px 16px; border-radius: 10px; position: relative; }
.nav-premium-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-premium-link.active { color: var(--orange); background: var(--orange-soft); font-weight: 600; }
.nav-premium-link.active::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: var(--orange); border-radius: 2px; }

.nav-premium-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border-radius: 12px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3); }
.nav-premium-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4); }

.mobile-toggle-premium { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.mobile-toggle-premium span { display: block; width: 26px; height: 2.5px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
.mobile-toggle-premium.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle-premium.active span:nth-child(2) { opacity: 0; }
.mobile-toggle-premium.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu-premium { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: rgba(10,10,10,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 0; z-index: 999; padding: 40px; }
.mobile-menu-premium.active { display: flex; }
.mobile-premium-link { font-size: 24px; font-weight: 500; color: var(--white); padding: 16px 0; opacity: 0; transform: translateY(20px); animation: fadeUp 0.4s forwards; text-decoration: none; }
.mobile-premium-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-premium-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-premium-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-premium-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-premium-link:nth-child(5) { animation-delay: 0.25s; }
.mobile-premium-link:nth-child(6) { animation-delay: 0.3s; }
.mobile-premium-link.active { color: var(--orange); font-weight: 700; }
.mobile-premium-cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border-radius: 14px; font-size: 16px; font-weight: 600; opacity: 0; animation: fadeUp 0.4s 0.35s forwards; text-decoration: none; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* HERO */
.blog-hero-premium { min-height: auto; padding: calc(var(--nav-h) + 60px) 40px 60px; background: radial-gradient(ellipse 80% 50% at 20% 50%, rgba(249,115,22,0.10) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 30%, rgba(59,130,246,0.08) 0%, transparent 50%), var(--black); text-align: center; position: relative; overflow: hidden; }
.blog-hero-premium::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(42,42,42,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(42,42,42,0.15) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%); pointer-events: none; }
.blog-hero-premium-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: 100px; font-size: 13px; color: var(--gray); margin-bottom: 28px; backdrop-filter: blur(10px); }
.live-pulse { width: 8px; height: 8px; background: #EF4444; border-radius: 50%; animation: pulse 2s infinite; box-shadow: 0 0 8px #EF4444; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
.blog-hero-premium h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 20px; }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
.hero-desc { font-size: clamp(15px, 1.3vw, 18px); color: var(--gray); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; font-weight: 400; }

.hero-search { max-width: 600px; margin: 0 auto 28px; }
.hero-search-box { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 20px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: 16px; transition: all 0.3s; }
.hero-search-box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }
.hero-search-box svg { color: var(--gray); flex-shrink: 0; }
.hero-search-box input { flex: 1; background: none; border: none; color: var(--white); font-size: 15px; font-family: var(--font); outline: none; }
.hero-search-box input::placeholder { color: var(--gray-dark); }
.hero-search-box button { padding: 12px 24px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border: none; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.hero-search-box button:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(249,115,22,0.3); }

.filter-pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.pill { padding: 8px 20px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--gray); transition: all 0.3s; text-decoration: none; }
.pill:hover { border-color: var(--orange); color: var(--white); background: var(--orange-soft); }
.pill.active { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border-color: transparent; font-weight: 600; box-shadow: 0 4px 15px rgba(249,115,22,0.25); }

.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.stat-num { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--orange); line-height: 1; display: block; }
.stat-num.blue { color: var(--blue); }
.stat-label { font-size: 12px; color: var(--gray-dark); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

/* MAIN LAYOUT */
.blog-main-layout { max-width: var(--max-w); margin: 0 auto; padding: 40px; display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: 40px; align-items: start; }
.blog-main-layout.single-layout { padding-top: 20px; }

/* SIDEBAR */
.blog-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius); padding: 24px; transition: all 0.3s; }
.sidebar-widget:hover { border-color: var(--black-border-hover); }
.sidebar-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.sidebar-title svg { color: var(--orange); }

.search-box { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; background: var(--black); border: 1px solid var(--black-border); border-radius: 12px; transition: all 0.3s; }
.search-box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.search-box input { flex: 1; background: none; border: none; color: var(--white); font-size: 13px; font-family: var(--font); outline: none; }
.search-box input::placeholder { color: var(--gray-dark); }
.search-box button { padding: 8px 12px; background: var(--orange); color: var(--white); border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; }
.search-box button:hover { background: var(--orange-dark); }

.category-list { list-style: none; }
.category-list li { margin-bottom: 4px; }
.category-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--gray); transition: all 0.3s; text-decoration: none; }
.category-item:hover { background: var(--orange-soft); color: var(--orange); }
.category-item.active { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); font-weight: 600; }
.cat-count { padding: 2px 10px; background: var(--black); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--gray-dark); }
.category-item.active .cat-count { background: rgba(255,255,255,0.2); color: var(--white); }

.trending-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--black-border); transition: all 0.3s; text-decoration: none; }
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { padding-left: 4px; }
.trending-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.trending-thumb-placeholder { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.trending-info h5 { font-size: 13px; font-weight: 500; color: var(--white); line-height: 1.4; margin-bottom: 4px; }
.trending-views { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gray-dark); }
.trending-views svg { color: var(--orange); }

.badge-verified, .badge-update { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--black); border-radius: var(--radius-sm); margin-bottom: 10px; }
.badge-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.badge-icon.pulse { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); animation: iconPulse 2s infinite; }
@keyframes iconPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); } 50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); } }
.badge-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.badge-text span { font-size: 12px; color: var(--gray); line-height: 1.4; }
.badge-live { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--black); border-radius: var(--radius-sm); margin-bottom: 10px; }
.live-dot { width: 8px; height: 8px; background: #EF4444; border-radius: 50%; animation: pulse 2s infinite; }
.live-text { font-size: 13px; font-weight: 600; color: #EF4444; }
.live-views { font-size: 12px; color: var(--gray); margin-left: auto; }
.badge-month { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--black); border-radius: var(--radius-sm); font-size: 12px; color: var(--gray); }
.badge-month svg { color: var(--orange); }

.sidebar-wa-btn { display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(135deg, var(--green-wa), #128C7E); border-radius: var(--radius-sm); color: var(--white); text-decoration: none; transition: all 0.3s; }
.sidebar-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.3); }
.wa-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.wa-text span { font-size: 12px; opacity: 0.9; }
.wa-caption { margin-top: 10px; font-size: 11px; color: var(--gray); text-align: center; font-style: italic; line-height: 1.4; }

/* FEATURED POST */
.featured-section-premium { margin-bottom: 48px; }
.section-label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.section-label::before { content: ''; width: 32px; height: 2px; background: var(--orange); }
.section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.featured-card-premium { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius); overflow: hidden; transition: all 0.4s; }
.featured-card-premium:hover { border-color: var(--black-border-hover); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.featured-image-premium { position: relative; overflow: hidden; aspect-ratio: 1000 / 800; }
.featured-image-premium img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.featured-card-premium:hover .featured-image-premium img { transform: scale(1.05); }
.featured-badge-premium { position: absolute; top: 24px; left: 24px; padding: 8px 18px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border-radius: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2; box-shadow: 0 4px 15px rgba(249,115,22,0.3); }
.featured-content-premium { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-meta-premium { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 13px; color: var(--gray-dark); flex-wrap: wrap; }
.featured-meta-premium .cat { color: var(--orange); font-weight: 600; }
.featured-meta-premium .dot { width: 4px; height: 4px; background: var(--gray-dark); border-radius: 50%; }
.featured-content-premium h2 { font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.01em; }
.featured-content-premium h2 a { color: var(--white); transition: color 0.3s; }
.featured-content-premium h2 a:hover { color: var(--orange); }
.featured-content-premium p { color: var(--gray); line-height: 1.8; margin-bottom: 28px; font-size: 15px; }
.read-more-premium { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; font-size: 14px; transition: gap 0.3s; text-decoration: none; }
.read-more-premium:hover { gap: 14px; }

/* POST GRID */
.posts-section-premium { margin-bottom: 40px; }
.posts-header-premium { margin-bottom: 32px; }
.posts-grid-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card-premium { background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius); overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.post-card-premium:hover { transform: translateY(-6px); border-color: var(--black-border-hover); box-shadow: 0 16px 50px rgba(0,0,0,0.5); }
.post-card-image-premium { position: relative; overflow: hidden; aspect-ratio: 1000 / 800; }
.post-card-image-premium img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card-premium:hover .post-card-image-premium img { transform: scale(1.06); }
.post-card-cat-premium { position: absolute; top: 16px; left: 16px; padding: 6px 14px; background: rgba(10,10,10,0.85); backdrop-filter: blur(10px); border: 1px solid var(--black-border); border-radius: 8px; font-size: 11px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em; z-index: 2; }
.post-card-overlay-premium { position: absolute; inset: 0; background: rgba(10,10,10,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.post-card-premium:hover .post-card-overlay-premium { opacity: 1; }
.read-hint { padding: 12px 24px; background: var(--orange); color: var(--white); border-radius: 10px; font-size: 13px; font-weight: 600; transform: translateY(10px); transition: transform 0.3s; }
.post-card-premium:hover .read-hint { transform: translateY(0); }
.post-card-body-premium { padding: 22px; }
.post-card-meta-premium { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; color: var(--gray-dark); }
.update-badge { display: flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--orange-soft); border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--orange); }
.post-card-meta-premium .dot { width: 3px; height: 3px; background: var(--gray-dark); border-radius: 50%; }
.post-card-premium h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.post-card-premium h3 a { color: var(--white); transition: color 0.3s; }
.post-card-premium h3 a:hover { color: var(--orange); }
.post-card-premium p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 14px; }
.post-card-footer-premium { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--black-border); }
.author-premium { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray); }
.author-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--white); }
.views-count { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gray-dark); }
.views-count svg { color: var(--orange); }

.load-more-wrap { text-align: center; margin-top: 40px; }
.load-more-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: 12px; color: var(--white); font-size: 14px; font-weight: 600; font-family: var(--font); cursor: pointer; transition: all 0.3s; }
.load-more-btn:hover { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.load-more-btn.loading { pointer-events: none; opacity: 0.7; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--orange); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state-premium { text-align: center; padding: 80px 40px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius); }
.empty-icon { width: 80px; height: 80px; border-radius: 20px; background: var(--black); border: 1px solid var(--black-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--orange); }
.empty-state-premium h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.empty-state-premium p { color: var(--gray); font-size: 15px; max-width: 400px; margin: 0 auto; }

/* SINGLE POST */
.single-hero-premium { padding: calc(var(--nav-h) + 40px) 40px 40px; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(249,115,22,0.08) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 30%, rgba(59,130,246,0.06) 0%, transparent 50%), var(--black); text-align: center; }
.single-hero-inner { max-width: 800px; margin: 0 auto; }
.single-hero-meta { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 13px; color: var(--gray); flex-wrap: wrap; }
.cat-badge { padding: 6px 16px; background: var(--orange-soft); border: 1px solid rgba(249,115,22,0.3); border-radius: 8px; color: var(--orange); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.update-badge-hero { display: flex; align-items: center; gap: 4px; padding: 6px 14px; background: var(--blue-glow); border: 1px solid rgba(59,130,246,0.3); border-radius: 8px; color: var(--blue); font-weight: 600; font-size: 12px; }
.single-hero-premium h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px; }
.single-hero-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.author-avatar-large { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--white); }
.author-info { text-align: left; }
.author-info strong { display: block; font-size: 15px; font-weight: 600; color: var(--white); }
.author-info span { font-size: 13px; color: var(--gray); }

.single-featured-premium { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--black-border); aspect-ratio: 1000 / 800; }
.single-featured-premium img { width: 100%; height: 100%; object-fit: cover; }

.single-body-premium { font-size: 16px; line-height: 1.9; color: var(--gray); font-weight: 400; }
.single-body-premium h2 { color: var(--white); font-weight: 700; margin-top: 48px; margin-bottom: 20px; font-size: 28px; letter-spacing: -0.01em; }
.single-body-premium h3 { color: var(--white); font-weight: 700; margin-top: 40px; margin-bottom: 16px; font-size: 22px; }
.single-body-premium p { margin-bottom: 24px; }
.single-body-premium a { color: var(--orange); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.single-body-premium a:hover { border-bottom-color: var(--orange); }
.single-body-premium img { width: 100%; aspect-ratio: 1000 / 800; object-fit: cover; border-radius: var(--radius); margin: 32px 0; border: 1px solid var(--black-border); }
.single-body-premium ul, .single-body-premium ol { margin-bottom: 24px; padding-left: 28px; }
.single-body-premium li { margin-bottom: 10px; padding-left: 8px; }
.single-body-premium ul li::marker { color: var(--orange); }
.single-body-premium blockquote { border-left: 4px solid var(--orange); padding: 20px 28px; margin: 32px 0; background: var(--black-card); border-radius: 0 12px 12px 0; font-style: italic; }
.single-body-premium blockquote p { margin: 0; color: var(--white); }

.single-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 32px 0; padding: 20px 0; border-top: 1px solid var(--black-border); }
.tags-label { font-size: 13px; font-weight: 600; color: var(--gray); }
.single-tags a { padding: 6px 14px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: 8px; font-size: 12px; color: var(--gray); transition: all 0.3s; }
.single-tags a:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }

.author-box-premium { display: flex; gap: 24px; align-items: flex-start; padding: 32px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius); margin-top: 48px; }
.author-box-avatar-large { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.author-box-info h4 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.author-box-info p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.author-box-meta { display: flex; align-items: center; gap: 16px; }
.verified-badge { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--orange-soft); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--orange); }
.articles-count { font-size: 12px; color: var(--gray-dark); }

.post-nav-premium { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--black-border); }
.post-nav-premium a { padding: 24px; background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius-sm); transition: all 0.3s; text-decoration: none; }
.post-nav-premium a:hover { border-color: var(--orange); }
.post-nav-premium .nav-prev { text-align: left; }
.post-nav-premium .nav-next { text-align: right; }
.post-nav-premium span { font-size: 12px; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.post-nav-premium h4 { font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.4; }

.back-to-blog-premium { text-align: center; margin-top: 32px; }
.back-to-blog-premium a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border: 1px solid var(--black-border); border-radius: 12px; font-size: 15px; color: var(--white); font-weight: 500; transition: all 0.3s; }
.back-to-blog-premium a:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }

.related-posts { margin-top: 48px; }
.related-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.related-title svg { color: var(--orange); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: block; background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius-sm); overflow: hidden; transition: all 0.3s; text-decoration: none; }
.related-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.related-card img, .related-thumb-placeholder { width: 100%; aspect-ratio: 1000 / 800; object-fit: cover; }
.related-thumb-placeholder { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; color: var(--white); }
.related-card h5 { padding: 16px; font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.4; }
.related-card span { display: block; padding: 0 16px 16px; font-size: 12px; color: var(--gray-dark); }

/* FOOTER */
.footer-premium { background: var(--black); border-top: 1px solid var(--black-border); padding: 80px 40px 0; position: relative; margin-top: 60px; }
.footer-premium::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange), var(--blue), transparent); }
.footer-premium-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; padding-bottom: 60px; }
.footer-brand a { display: flex; align-items: baseline; gap: 4px; font-weight: 800; font-size: 20px; text-decoration: none; margin-bottom: 12px; }
.footer-logo-text { color: var(--white); }
.footer-logo-accent { color: var(--orange); }
.footer-tagline { font-size: 14px; color: var(--gray); margin-bottom: 24px; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--black-border); display: flex; align-items: center; justify-content: center; color: var(--gray); transition: all 0.3s; }
.footer-social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); background: var(--orange-soft); }
.footer-links h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a { display: block; font-size: 14px; color: var(--gray); padding: 8px 0; transition: all 0.3s; text-decoration: none; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-contact p { font-size: 14px; color: var(--gray); margin-bottom: 16px; line-height: 1.7; }
.footer-contact strong { color: var(--white); display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid var(--black-border); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--gray-dark); }

/* CHAT WIDGET */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-bubble { background: var(--black-card); border: 1px solid var(--black-border); border-radius: 16px 16px 4px 16px; padding: 16px 20px; max-width: 280px; color: var(--white); font-size: 14px; font-weight: 400; line-height: 1.6; box-shadow: 0 8px 32px rgba(0,0,0,0.4); animation: chatPop 0.4s ease 1s both; position: relative; }
.chat-bubble::after { content: '|'; animation: blink 0.7s infinite; color: var(--orange); }
@keyframes chatPop { from { opacity: 0; transform: translateY(10px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.chat-btn { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 20px rgba(37,211,102,0.4); animation: chatPulse 2s infinite, chatPop 0.4s ease 0.5s both; cursor: pointer; border: none; position: relative; }
.chat-btn svg { width: 28px; height: 28px; }
@keyframes chatPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); } }
.chat-badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; background: #EF4444; border-radius: 50%; border: 2px solid var(--black); animation: blink 1.5s infinite; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .blog-main-layout { grid-template-columns: 280px 1fr; gap: 30px; padding: 30px; }
}

@media (max-width: 1024px) {
    .blog-main-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: relative; top: 0; order: -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .posts-grid-premium { grid-template-columns: repeat(2, 1fr); }
    .featured-card-premium { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-premium-inner { grid-template-columns: repeat(2, 1fr); }
    .post-nav-premium { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 70px; }
    .nav-premium-inner { padding: 0 20px; }
    .nav-premium-menu, .nav-premium-cta { display: none; }
    .mobile-toggle-premium { display: flex !important; }
    .blog-hero-premium { padding: calc(var(--nav-h) + 30px) 20px 40px; }
    .hero-search-box { flex-direction: column; }
    .hero-search-box button { width: 100%; justify-content: center; }
    .filter-pills { gap: 6px; }
    .pill { padding: 6px 14px; font-size: 12px; }
    .blog-main-layout { padding: 20px; gap: 20px; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .posts-grid-premium { grid-template-columns: 1fr; }
    .featured-content-premium { padding: 24px; }
    .single-hero-premium { padding: calc(var(--nav-h) + 20px) 20px 30px; }
    .single-hero-premium h1 { font-size: 28px; }
    .author-box-premium { flex-direction: column; text-align: center; align-items: center; }
    .footer-premium { padding: 60px 20px 0; }
    .footer-premium-inner { grid-template-columns: 1fr; gap: 40px; }
    .related-grid { grid-template-columns: 1fr; }
    .chat-widget { bottom: 16px; right: 16px; }
    .chat-bubble { max-width: 220px; font-size: 13px; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--black-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-dark); }
::selection { background: var(--orange); color: var(--white); }
