/*
Theme Name: GNA Job-Engine
Author: Chaosgamingid
Description: Tema Khusus Lowongan Kerja
Version: 22.1
*/

/* --- 0. GLOBAL RESET & FIX --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { 
    width: 100%; 
    max-width: 100%; 
    overflow-x: hidden; /* Mencegah scroll horizontal pada body */
    -webkit-text-size-adjust: 100%; 
    background: var(--bg); 
    color: var(--text); 
}

/* --- 1. VARIABEL WARNA (ASTRA BLUE) --- */
:root {
    --bg: #f8fafc; --card: #ffffff; --text: #0f172a; --mute: #64748b;
    --primary: #0037b6; --primary-hover: #002a8c; --border: #e2e8f0; 
    --nav: #ffffff; --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --wa: #25D366; --fb: #1877F2; --li: #0a66c2; --x: #000000;
}
[data-theme="dark"] {
    --bg: #020617; --card: #1e293b; --text: #f1f5f9; --mute: #94a3b8;
    --border: #334155; --nav: #0f172a; --primary: #3b82f6; --primary-hover: #2563eb;
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --x: #ffffff;
}

/* --- 2. DASAR --- */
body { font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.site-main-padding { padding: 40px 0; }

/* --- 3. HEADER & NAVIGASI --- */
.site-header {
    background: var(--nav); border-bottom: 1px solid var(--border); padding: 0;
    position: sticky; top: 0; z-index: 9999; transition: all 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* Layout Header */
.header-main { padding: 15px 0; transition: all 0.3s ease; }
.site-header.is-scrolled .header-main { padding: 10px 0; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo img { max-height: 40px; width: auto; display: block; }
.text-logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 20px; }
.desktop-menu ul { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }
.desktop-nav-list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.desktop-nav-list a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.desktop-nav-list a:hover { color: var(--primary); }

.action-group { display: flex; align-items: center; gap: 10px; }

.btn-post-job {
    background: var(--primary); color: #fff; padding: 8px 18px; border-radius: 50px; 
    text-decoration: none; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 6px;
    transition: 0.2s;
}
.btn-post-job:hover { background: var(--primary-hover); transform: translateY(-1px); }

.search-header-trigger {
    background: transparent; border: 1px solid var(--border); width: 35px; height: 35px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
    transition: 0.2s;
}
.search-header-trigger:hover { background: var(--bg); color: var(--primary); border-color: var(--primary); }

.hamburger-btn { display: none; background: transparent; border: none; font-size: 1.8rem; color: var(--text); cursor: pointer; padding: 0; line-height: 1; }

.mobile-menu-panel { 
    display: block; 
    background: var(--nav); 
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 9999;
    transform: translateX(-100%); transition: transform 0.3s ease-in-out; padding: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}
.mobile-menu-panel.active { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.mobile-menu-list { list-style: none; padding: 0; margin: 0; }
.mobile-menu-list li { border-bottom: 1px solid var(--border); }
.mobile-menu-list a { display: block; padding: 12px 0; text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.1rem; }

/* Dark Mode Toggle */
#dark-toggle { background: var(--bg); border: 1px solid var(--border); border-radius: 30px; padding: 5px; cursor: pointer; display: flex; align-items: center; position: relative; height: 32px; width: 60px; flex-shrink: 0; }
#dark-toggle span { font-size: 14px; position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; }
.icon-sun { left: 8px; } .icon-moon { right: 8px; }
#dark-toggle::after { content: ''; position: absolute; width: 24px; height: 24px; background: var(--primary); border-radius: 50%; left: 4px; transition: 0.3s; z-index: 2; }
[data-theme="dark"] #dark-toggle::after { transform: translateX(28px); }

/* --- 4. SLIDER LOKASI (UPDATED & SYNCED) --- */
.location-bar { background: #f8fafc; border-bottom: 1px solid #cbd5e1; padding: 15px 0; position: relative; z-index: 90; }
.location-wrapper { display: flex; align-items: center; gap: 15px; position: relative; padding: 0 5px; }

/* Arrow Style (Flexbox - Bukan Absolute) */
.scroll-indicator {
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff; border: 1px solid #cbd5e1; color: #64748b;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; z-index: 2;
    opacity: 1; visibility: visible;
}
.scroll-indicator:hover {
    border-color: var(--primary); color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); transform: translateY(-1px);
}

/* Hidden State (Opacity based for Stability) */
.scroll-indicator.hidden {
    opacity: 0; pointer-events: none; cursor: default; visibility: hidden;
}

.location-scroll {
    display: flex; gap: 10px; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; -ms-overflow-style: none; padding: 2px 5px;
    scroll-behavior: smooth; align-items: center; flex: 1;
}
.location-scroll::-webkit-scrollbar { display: none; }

/* Item Style */
.loc-item {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; color: #475569;
    text-decoration: none; transition: all 0.2s ease;
    white-space: nowrap; flex: 0 0 auto;
}
.loc-item i { color: var(--primary); font-size: 1.1rem; transition: 0.2s; }

/* Hover: White Text */
.loc-item:hover {
    background: var(--primary); border-color: var(--primary);
    color: #ffffff !important; transform: translateY(-2px);
    box-shadow: 0 6px 15px -3px rgba(var(--primary-rgb), 0.3);
}
.loc-item:hover i { color: #ffffff !important; }

/* --- 5. BREADCRUMBS --- */
.breadcrumb-nav {
    margin: 0; padding: 15px 0; background: var(--card); border-radius: 0; border: none;
    border-bottom: 1px solid var(--border); font-size: 0.85rem !important; 
    color: var(--mute); box-shadow: none; display: block; width: 100%;
}
.breadcrumb-nav .container { display: flex; flex-wrap: wrap; align-items: center; padding: 0 20px; gap: 8px; }
.breadcrumb-nav a { color: var(--primary); text-decoration: none; font-weight: 500; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav .sep { margin: 0 5px; opacity: 0.5; font-size: 0.8rem; }
.breadcrumb-nav .current { color: var(--text); font-weight: 600; }

/* --- 6. HERO SECTION --- */
.hero { background: linear-gradient(135deg, #0037b6 0%, #002275 100%); color: white; padding: 60px 0; text-align: left; }
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 25px; max-width: 600px; }
.hero-search-form { width: 100%; display: flex; gap: 10px; }
.search-input-wrapper { flex: 1; background: #ffffff; border-radius: 8px; padding: 5px 15px; display: flex; align-items: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.search-input-wrapper input { width: 100%; padding: 10px 0; border: none; outline: none; font-size: 1rem; background: transparent; color: #0f172a; }
.btn-search-hero { background: var(--primary);; color: white; border: none; padding: 0 30px; border-radius: 8px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* --- 7. CARDS & GRID LAYOUT --- */
.content-wrapper { 
    display: grid; 
    grid-template-columns: minmax(0, 1fr) 300px; 
    gap: 30px; 
    margin-top: 30px; 
}

.main-loop { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.job-details-panel { grid-column: 2; grid-row: 1; min-width: 0; }
.sidebar-widgets { grid-column: 2; grid-row: 2; min-width: 0; }
.sidebar-area { min-width: 0; }

.section-title { margin-bottom: 25px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.title-decor { width: 6px; height: 24px; background: var(--primary); border-radius: 4px; display: inline-block; }

.job-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; transition: 0.3s; position: relative; }
.job-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-3px); }
.job-card-header { display: flex; justify-content: space-between; width: 100%; margin-bottom: 15px; }
.company-logo-placeholder { width: 50px; height: 50px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); border: 1px solid var(--border); flex-shrink: 0; }
.job-title-link { text-decoration: none; color: var(--text); font-size: 1.1rem; font-weight: 700; display: block; margin-bottom: 5px; line-height: 1.3; }
.company-link { font-size: 0.9rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.card-meta-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; font-size: 0.85rem; color: var(--mute); }
.card-meta-grid span { display: flex; align-items: center; gap: 6px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: auto; padding-top: 15px; border-top: 1px dashed var(--border); }
.btn-card { padding: 10px; text-align: center; border-radius: 6px; font-weight: 600; font-size: 0.9rem; text-decoration: none; display: block; cursor: pointer; border: none; font-family: inherit; }
.btn-card.outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-card.solid { background: var(--primary); color: white; border: 1px solid var(--primary); }
.btn-card:hover { opacity: 0.9; }

.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { padding: 10px 18px; background: var(--card); border: 1px solid var(--border); color: var(--text); text-decoration: none; border-radius: 8px; font-weight: 600; }
.pagination .page-numbers.current { background: var(--primary); color: white; border-color: var(--primary); }

/* --- 8. SINGLE POST --- */
.job-single-card { 
    background: var(--card); border: 1px solid var(--border); border-radius: 16px; 
    padding: 35px; margin-bottom: 0; display: block; overflow: hidden; max-width: 100%; 
}
.single-post-header h1 { 
    font-size: 1.8rem; line-height: 1.35; font-weight: 800; color: var(--text); margin-bottom: 20px; 
    word-break: break-word; overflow-wrap: break-word;
}
.post-meta-modern { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; align-items: center; max-width: 100%; }
.meta-item { 
    display: inline-flex; align-items: center; gap: 6px; background: var(--bg); padding: 6px 12px; border-radius: 50px; border: 1px solid var(--border); 
    font-size: 0.8rem; color: var(--mute); font-weight: 500; white-space: normal; max-width: 100%; box-sizing: border-box;
}
.meta-item.category-list { display: inline-block; border-radius: 12px; line-height: 1.6; }
.meta-item.category-list a { color: var(--primary); text-decoration: none; display: inline-block; }

.job-info-box { background: var(--card); padding: 25px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 30px; position: sticky; top: 90px; }
.job-info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.job-info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon { width: 36px; height: 36px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.info-details { display: flex; flex-direction: column; min-width: 0; width: 100%; }
.info-label { font-size: 0.75rem; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.info-value { font-size: 0.95rem; font-weight: 600; color: var(--text); word-break: break-word; overflow-wrap: anywhere; }

.btn-apply-full { background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 10px; font-weight: 700; text-decoration: none; margin-top: 10px; transition: 0.2s; }
.btn-apply-full:hover { filter: brightness(1.1); transform: translateY(-2px); }
.apply-buttons-group a { transition: 0.2s; }
.apply-buttons-group a:hover { transform: translateY(-2px); opacity: 0.9; }

/* --- 9. SIDEBAR & FOOTER --- */
.widget { background: var(--card); border: 1px solid var(--border); padding: 25px; border-radius: 16px; margin-bottom: 25px; }
.widget-title { margin-top: 0; font-size: 1.1rem; padding-left: 15px; margin-bottom: 20px; font-weight: 800; position: relative; }

.site-footer { background: var(--card); color: var(--text); padding: 50px 0 0 0; margin-top: 60px; border-top: 1px solid var(--border); }
.footer-top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); text-align: left; }

.footer-logo img { max-height: 60px; width: auto; display: block; }
.footer-menu-list { list-style: none; padding: 0; margin: 0; }
.footer-menu-list li { margin-bottom: 10px; }
.footer-menu-list li a { text-decoration: none; color: var(--mute); font-size: 0.9rem; transition: 0.2s; display:flex; align-items:center; gap:5px; }
.footer-menu-list li a:before { content: '\203A'; font-size: 1.2rem; line-height:0; position:relative; top:-1px; }
.footer-menu-list li a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; flex-wrap: wrap; gap: 15px; font-size: 0.9rem; }
.footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { margin-bottom: 5px; }

/* --- 10. SOCIAL SHARE & NAV --- */
.social-share-area { margin-top: 40px; margin-bottom: 30px; padding: 25px; background: var(--bg); border-radius: 12px; border: 1px dashed var(--border); text-align: center; }
.share-title { font-weight: 700; font-size: 0.9rem; color: var(--text); margin-bottom: 15px; display: block; }
.share-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-share { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white; text-decoration: none; transition: transform 0.2s; }
.btn-share:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-share.wa { background: var(--wa); } .btn-share.fb { background: var(--fb); } .btn-share.li { background: var(--li); } .btn-share.x { background: var(--x); } .btn-share.cp { background: var(--mute); cursor: pointer; border: none; }
.post-navigation { display: flex; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); width: 100%; }
.nav-previous, .nav-next { flex: 1; min-width: 0; }
.nav-previous a, .nav-next a { display: flex; flex-direction: column; padding: 15px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem; transition: 0.2s; line-height: 1.4; height: 100%; justify-content: center; }
.nav-previous a:hover, .nav-next a:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.nav-label { font-size: 0.75rem; color: var(--mute); text-transform: uppercase; margin-bottom: 5px; font-weight: 700; }
.nav-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

i.ph { vertical-align: middle; position: relative; top: -1px; display: inline-block; }

/* --- 12. TYPOGRAPHY CONTENT --- */
.entry-content {
    font-size: 1.05rem; line-height: 1.8; color: var(--text); text-align: left; 
    word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; 
}
.entry-content h2, .entry-content h3, .entry-content h4 {
    margin-top: 40px; margin-bottom: 15px; font-weight: 800; color: var(--text); line-height: 1.3;
    word-break: break-word;
}
.entry-content h2 { font-size: 1.4rem; border-left: 4px solid var(--primary); padding-left: 15px; }
.entry-content h3 { font-size: 1.25rem; color: var(--primary); }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin-bottom: 25px; padding-left: 20px; }
.entry-content li { margin-bottom: 10px; padding-left: 5px; }
.entry-content ul li { list-style-type: disc; }
.entry-content ul li::marker { color: var(--primary); font-size: 1.2em; }
.entry-content img, .entry-content iframe, .entry-content video, .entry-content embed, .entry-content object {
    max-width: 100% !important; height: auto; border-radius: 12px; margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.entry-content table {
    display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-collapse: collapse; margin-bottom: 25px; border-spacing: 0; background-color: transparent !important; 
}
.entry-content th, .entry-content td {
    padding: 12px 15px; border: 1px solid var(--border); text-align: left;
    color: var(--text) !important; background-color: var(--card) !important; 
    white-space: normal; min-width: 120px; 
}
.entry-content th { font-weight: 700; background-color: var(--bg) !important; }

/* --- 13. RESPONSIVE --- */
@media (max-width: 992px) { 
    .content-wrapper { display: flex; flex-direction: column; } 
    .job-details-panel { order: 1; margin-bottom: 20px; }
    .main-loop { order: 2; margin-bottom: 30px; }
    .sidebar-widgets { order: 3; }
    .sidebar-area { order: 3; }
    .desktop-menu, .desktop-only { display: none !important; }
    .hamburger-btn { display: block; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; } 
    .hero-search-form { flex-direction: column; } 
    .btn-search-hero { width: 100%; padding: 12px; }
    .card-actions { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; text-align: center; }
    .job-single-card { padding: 20px !important; overflow: hidden; }
    .single-post-header h1 { font-size: 1.5rem; }
    .post-navigation { flex-direction: column; }
    .nav-title { white-space: normal; }
    body { padding-bottom: 70px; }
    .mobile-bottom-nav { display: flex !important; justify-content: space-around; align-items: center; height: 60px; }
}

/* --- 14. ADS CONTAINER --- */
.gna-ad-box {
    width: 100%; margin: 30px 0; padding: 20px;
    background: var(--bg); border: 1px dashed var(--border); border-radius: 12px;
    text-align: center; position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gna-ad-label {
    font-size: 0.65rem; font-weight: 700; color: var(--mute);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; opacity: 0.7;
}
.gna-ad-box img, .gna-ad-box iframe, .gna-ad-box ins { max-width: 100%; height: auto; display: inline-block; }

/* --- 15. GENERAL CARD --- */
.general-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; height: 100%;
}
.general-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.general-card .card-thumb { position: relative; padding-top: 60%; background: #f1f5f9; overflow: hidden; display: block; }
.general-card .card-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.general-card:hover .card-thumb img { transform: scale(1.1); }
.general-card .card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.general-card .card-meta { font-size: 0.8rem; color: var(--mute); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.general-card h3 { margin: 0 0 12px 0; font-size: 1.15rem; line-height: 1.4; font-weight: 700; }
.general-card h3 a { text-decoration: none; color: var(--text); transition: color 0.2s; }
.general-card h3 a:hover { color: var(--primary); }
.general-card .btn-read-more { margin-top: auto; color: var(--primary); font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.general-card .btn-read-more:hover { text-decoration: underline; }
.card-cat-badge {
    position: absolute; top: 15px; left: 15px;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    color: #fff; padding: 6px 12px; border-radius: 6px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; z-index: 2;
}
.general-article-card { background: var(--card); padding: 40px; border-radius: 16px; border: 1px solid var(--border); }
.article-body { font-size: 1.1rem; line-height: 1.85; color: #334155; }
.post-tags a { display: inline-block; background: var(--bg); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; color: var(--mute); text-decoration: none; border: 1px solid var(--border); margin-right: 5px; margin-bottom: 5px; transition:0.2s; }
.post-tags a:hover { color: var(--primary); border-color: var(--primary); }

/* --- 16. PORTAL FEATURES --- */
.gna-ticker-wrap { background: #1e293b; color: #fff; border-bottom: 1px solid #334155; font-size: 0.9rem; overflow: hidden; }
.ticker-container { display: flex; align-items: center; height: 40px; }
.ticker-label { background: #ef4444; height: 100%; padding: 0 15px; display: flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; z-index: 2; flex-shrink: 0; }
.ticker-content { flex: 1; overflow: hidden; position: relative; white-space: nowrap; }
.ticker-move { display: inline-block; padding-left: 100%; animation: ticker 30s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-item { display: inline-block; margin-right: 40px; }
.ticker-item a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.ticker-thumb { width: 30px !important; height: 30px !important; min-width: 30px; border-radius: 4px; object-fit: cover; display: inline-block; vertical-align: middle; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

.hero-portal { background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%); color: #fff; padding: 40px 0; text-align: center; margin-bottom: 30px; }
.hero-portal h1 { font-size: 1.8rem; margin: 0 0 10px 0; }
.hero-portal p { opacity: 0.8; margin: 0 0 20px 0; font-size: 0.95rem; }
.portal-search-form { max-width: 600px; margin: 0 auto; display: flex; background: #fff; padding: 5px; border-radius: 50px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.portal-search-form .input-group { flex: 1; position: relative; }
.portal-search-form i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.portal-search-form input { width: 100%; border: none; padding: 12px 15px 12px 40px; border-radius: 50px; outline: none; }
.portal-search-form button { background: #ef4444; color: #fff; border: none; padding: 0 25px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.portal-search-form button:hover { background: #dc2626; }

/* --- 17. SLIDERS & GRID --- */
.job-slider-container { position: relative; margin: 0 -15px; }
.job-slider-wrapper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding: 10px 15px 30px 15px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.job-slider-wrapper::-webkit-scrollbar { display: none; }
.slider-item { flex: 0 0 300px; scroll-snap-align: start; }
.slider-item .job-card { height: 100%; border: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.see-all-link { font-size: 0.9rem; color: var(--primary); text-decoration: none; font-weight: 600; }
.gna-archive-grid { display: grid; gap: 25px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .gna-archive-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
    .gna-archive-grid:has(.job-card) { grid-template-columns: 1fr; }
}
.gna-archive-grid.force-list { grid-template-columns: 1fr !important; }

/* --- 18. UX & SIDEBAR STICKY --- */
@media (min-width: 992px) {
    .sidebar-area { position: sticky; top: 20px; height: fit-content; align-self: start; }
}
.widget-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 70%; background: var(--primary); border-radius: 4px; }
.pagination-area { display: flex; justify-content: center; gap: 8px; margin: 40px 0; }
.pagination-area .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 5px; border-radius: 8px; background: #fff; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; transition: 0.3s; }
.pagination-area .page-numbers:hover { border-color: var(--primary); color: var(--primary); background: #f0f7ff; }
.pagination-area .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- 19. MOBILE BOTTOM NAV --- */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: #ffffff; border-top: 1px solid #e2e8f0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05); z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #64748b; font-size: 0.7rem; gap: 4px; height: 100%; transition: 0.2s; }
.nav-item i { font-size: 1.4rem; margin-bottom: 2px; }
.nav-item.active, .nav-item:hover { color: var(--primary); font-weight: 600; }
.search-trigger-btn { position: relative; }
.search-circle { width: 45px; height: 45px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 5px 10px rgba(0,0,0,0.2); transform: translateY(-15px); border: 4px solid #fff; }
.search-circle i { font-size: 1.5rem; margin:0; }

/* --- 20. MODAL --- */
.gna-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.gna-modal-content { background-color: #fff; margin: 10% auto; padding: 0; border-radius: 12px; width: 90%; max-width: 500px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); animation: gnaSlideIn 0.3s ease-out; }
@keyframes gnaSlideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.gna-modal-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.gna-modal-header h3 { margin: 0; font-size: 1.2rem; color: #1e293b; line-height: 1.4; }
.gna-close { color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; }
.gna-close:hover { color: #ef4444; }
.gna-close-search { color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.gna-close-search:hover { color: var(--primary); }
.gna-modal-body { padding: 20px; }
.gna-modal-job-summary { margin-bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-info-item { font-size: 0.85rem; display: flex; align-items: center; gap: 8px; color: #64748b; }
.gna-instruction-box { background: #f8fafc; padding: 15px; border-radius: 8px; border-left: 4px solid var(--primary); margin-bottom: 20px; }
.gna-instruction-box strong { display: block; margin-bottom: 5px; font-size: 0.9rem; }
.gna-instruction-box p { font-size: 0.85rem; color: #475569; margin: 0; line-height: 1.5; }
.gna-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.m-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; text-align: center; transition: all 0.2s; }
.m-online { background: #0284c7; color: #fff; }
.m-wa { background: #16a34a; color: #fff; }
.m-email { background: #4f46e5; color: #fff; }
.m-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* --- 21. RELATED POSTS --- */
.gna-related-box { margin-top:40px; border-top:1px solid var(--border); padding-top:30px; }
.related-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:20px; }
.related-card { text-decoration:none; display: block; }
.related-card:hover h4 { color: var(--primary); }
.related-card:hover img { transform: scale(1.05); }

/* --- 22. 404 PAGE --- */
.btn-rescue { transition: transform 0.2s; }
.btn-rescue:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- SCROLL HINT ANIMATION --- */
.scroll-hint {
    text-align: center; margin-top: 15px; font-size: 0.85rem; color: var(--primary);
    font-weight: 600; display: none; align-items: center; justify-content: center;
    gap: 8px; opacity: 0.8; animation: pulseHint 2s infinite ease-in-out;
}
@media (max-width: 992px) { .scroll-hint { display: flex; } }
@keyframes pulseHint { 0% { transform: translateX(0); opacity: 0.8; } 50% { transform: translateX(5px); opacity: 1; } 100% { transform: translateX(0); opacity: 0.8; } }

/* --- ACCESSIBILITY --- */
.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 !important;
}
.screen-reader-text:focus {
    background-color: #fff; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important; clip-path: none; color: #2271b1; display: block;
    font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal;
    padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}