/*
Theme Name: Job Schema Theme
Theme URI: https://sejakkemarin.com
Author: RJI
Author URI: https://sejakkemarin.com
Description: Job Schema Theme adalah tema ultra-light khusus untuk menampilkan lowongan kerja dengan integrasi schema.org JobPosting. Dirancang untuk kecepatan tinggi, hasil skor PageSpeed 100/100/100/100. Tema ini mengutamakan struktur SEO, mobile-first design, dan bebas dari bloatware, sehingga fokus hanya pada konten lowongan. Cocok digunakan untuk portal loker, situs rekrutmen, atau blog informasi kerja. 
Version: 2.2
Text Domain: job-schema-theme
License: GNU GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: job, schema, minimal, lightweight, seo, responsive, microdata, json-ld
*/

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    font-size: 16px; 
    scroll-behavior: smooth; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; 
}
body { line-height: 1.7; color: #222; background: #fafafa; }

/* HEADER & MAIN CONTENT */
header, main, footer { max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem; }
header {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    border-bottom: 1px solid #eee; background: #fff;
}
header h1 { font-size: 1.8rem; font-weight: 600; color: #0d2e63; }
header h1 a, .job-list h2 a, .lowongan-archive .entry-title a { text-decoration: none; color: inherit; }
.header-logo { max-height: 48px; object-fit: contain; margin-right: 1rem; }
header nav ul { display: flex; gap: 1.5rem; list-style: none; margin-top: 0.5rem; }
header nav a { color: #374151; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; font-weight: 500; }
header nav a:hover, header nav a:focus, .job-list h2 a:hover, .job-list h2 a:focus,
.lowongan-archive .entry-title a:hover, .lowongan-archive .entry-title a:focus {
    color: #1e40af; text-decoration: underline; outline: none;
}

/* JOB LISTINGS */
main { margin: 2rem auto; }
.job-list, .lowongan-archive { list-style: none; padding-left: 0; margin: 0 0 2rem; }
.job-list li, .lowongan-archive article, .no-jobs { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 1.8rem; }
.job-list li { padding: 1.5rem; border-bottom: 1px dashed #e2e8f0; }
.job-list h2, .lowongan-archive .entry-title { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 600; color: #0d2e63; }
.job-list small { color: #4b5563; font-size: 0.9rem; }
.job-list .job-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }
.job-list .meta-item { display: flex; align-items: center; font-size: 0.9rem; color: #374151; }
.job-list .meta-item i { margin-right: 0.3rem; }

/* CONTENT READABILITY ENHANCEMENT */
.entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2.wp-block-heading {
    font-size: 1.8rem;
    color: #0d2e63;
    margin: 2.5rem 0 1.2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 700;
}

.entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content strong.privacy-policy-tutorial {
    color: #2b8a3e;
    font-weight: 600;
}

.entry-content p:has(> strong.privacy-policy-tutorial) {
    background-color: rgba(43, 138, 62, 0.05);
    padding: 1rem 1.2rem;
    border-left: 4px solid #2b8a3e;
    border-radius: 0 4px 4px 0;
}

/* Spacing untuk meningkatkan keterbacaan */
.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

/* BUTTON STYLES */
.btn-more, .option-btn, .lamar-btn {
    display: inline-block; background-color: #2563eb; color: white; padding: 0.6rem 1.2rem;
    text-decoration: none; border-radius: 4px; font-weight: 500; transition: background-color 0.2s;
    border: none; cursor: pointer;
}
.btn-more:hover, .btn-more:focus, .option-btn:hover, .option-btn:focus, .lamar-btn:hover, .lamar-btn:focus {
    background-color: #1d4ed8; color: white; outline: 2px solid #3b82f6; outline-offset: 2px;
}

/* PAGINATION */
.pagination { text-align: center; margin: 2rem 0; }
.pagination ul { display: inline-flex; list-style: none; gap: 0.5rem; }
.pagination li { display: inline; }
.pagination a, .pagination span {
    display: inline-block; padding: 0.5rem 0.8rem; border: 1px solid #e5e7eb; border-radius: 4px;
    text-decoration: none; color: #374151; font-weight: 500;
}
.pagination a:hover, .pagination a:focus { background-color: #f3f4f6; border-color: #d1d5db; outline: 2px solid #3b82f6; outline-offset: 2px; }
.pagination .current { background-color: #2563eb; color: white; border-color: #2563eb; }

/* FOOTER */
footer { margin: 4rem auto 0; text-align: center; color: #222; font-size: 0.9rem; border-top: 1px solid #eee; }

/* ARCHIVE STYLES */
.lowongan-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; }
.lowongan-archive article { padding: 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.lowongan-archive article:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.lowongan-archive .entry-content { color: #374151; }

/* NO JOBS MESSAGE */
.no-jobs { text-align: center; padding: 2rem; color: #374151; font-size: 1.1rem; }

/* PAGE TITLE */
.page-title {
    text-align: center; margin: 2rem auto; padding: 1.5rem; background-color: rgba(13, 46, 99, 0.05);
    border-radius: 8px; width: 90%; max-width: 800px; display: block; box-sizing: border-box; border-left: 4px solid #0d2e63;
}

/* LAMAR KERJA SECTION */
.lamar-section { margin: 3rem 0; padding: 0 1rem; display: flex; justify-content: center; }
.lamar-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 16px; padding: 2.5rem;
    text-align: center; border: 1px solid #e9ecef; box-shadow: 0 10px 30px rgba(0,0,0,0.08); max-width: 500px; width: 100%;
}
.lamar-card-title { font-size: 1.5rem; color: #2b8a3e; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.3; }
.lamar-card-desc { color: #6c757d; font-size: 1rem; margin: 0 0 2rem; line-height: 1.5; }
.lamar-form { margin: 0; padding: 0; }
.lamar-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: white; padding: 1rem 2rem; border: none;
    border-radius: 12px; cursor: pointer; font-size: 1.1rem; font-weight: 600; transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}
.lamar-btn:hover { background: linear-gradient(135deg, #218838 0%, #199d75 100%); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4); }
.lamar-btn:active { transform: translateY(0); }
.lamar-btn-icon { font-size: 1.4em; }
.lamar-btn-text { font-weight: 600; }
.lamar-btn-arrow { font-size: 1.2em; transition: transform 0.3s ease; }
.lamar-btn:hover .lamar-btn-arrow { transform: translateX(4px); }
.lamar-info { color: #6c757d; font-size: 0.9rem; margin: 1rem 0 0; font-style: italic; }

/* LAMAR PAGE STYLES */
.lamar-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.lamar-page-container { background: white; border-radius: 20px; padding: 3rem; box-shadow: 0 15px 35px rgba(0,0,0,0.1); max-width: 800px; width: 100%; text-align: center; }
.lamar-header { margin-bottom: 3rem; }
.lamar-header-icon { font-size: 4rem; margin-bottom: 1rem; }
.lamar-header h1 { color: #2b8a3e; font-size: 2.2rem; margin: 0 0 0.5rem; font-weight: 700; }
.lamar-subtitle { color: #6c757d; font-size: 1.1rem; margin: 0; }

/* Countdown Section */
.countdown-section { margin: 2rem 0; }
.countdown-card { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 2.5rem; border-radius: 16px; border: 2px dashed #dee2e6; }
.countdown-card .countdown-icon { font-size: 3rem; margin-bottom: 1rem; }
.countdown-card h2 { color: #2b8a3e; font-size: 1.5rem; margin: 0 0 1rem; }
.countdown-card p { color: #6c757d; margin: 0 0 2rem; }
.countdown-timer { display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.countdown-number { font-size: 3.5rem; font-weight: 800; color: #28a745; line-height: 1; }
.countdown-label { font-size: 1.2rem; color: #6c757d; font-weight: 500; }
.progress-container { width: 100%; height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin: 0 auto; max-width: 300px; }
.progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #28a745, #20c997); transition: width 1s linear; border-radius: 4px; }

/* Options Section */
.lamar-options-section { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid #f1f3f4; }
.lamar-options-section h3 { color: #2b8a3e; font-size: 1.5rem; margin: 0 0 0.5rem; }
.lamar-options-section > p { color: #6c757d; margin: 0 0 2rem; }
.lamar-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.lamar-option-card {
    background: white; padding: 2rem; border-radius: 16px; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.lamar-option-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.email-option, .whatsapp-option, .form-option, .address-option { border-color: #d6d8db; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); }
.option-icon { font-size: 3rem; margin-bottom: 1rem; }
.option-content { flex: 1; margin-bottom: 1.5rem; }
.option-content h4 { color: #2b8a3e; font-size: 1.2rem; margin: 0 0 0.5rem; font-weight: 600; }
.option-content p { color: #6c757d; margin: 0; font-size: 0.95rem; }
.option-btn { background: #2b8a3e; color: white; padding: 12px 24px; border: none; border-radius: 8px; text-decoration: none; font-weight: 500; transition: all 0.2s ease; cursor: pointer; display: inline-block; width: 100%; text-align: center; }
.option-btn:hover { background: #218838; transform: translateY(-1px); }

/* ACCESSIBILITY */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a:focus, button:focus, input:focus, textarea:focus, select:focus { outline: 2px solid #3b82f6; outline-offset: 2px; }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; gap: 1rem; }
    .header-logo { margin-right: 0; margin-bottom: 0.5rem; }
    header nav ul { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 1rem; }
    header h1, .job-list h2, .lowongan-archive .entry-title { font-size: 1.5rem; }
    main, footer { padding: 1rem; }
    .job-list li, .lowongan-archive article { padding: 1rem; }
    .page-title { margin: 1.5rem auto; padding: 1.2rem; width: 95%; }
    .lamar-card, .lamar-page-container, .countdown-card { padding: 2rem 1.5rem; }
    .lamar-btn { padding: 0.9rem 1.5rem; font-size: 1rem; }
    .countdown-number { font-size: 2.5rem; }
    .lamar-options-grid { grid-template-columns: 1fr; }
    .lamar-option-card { padding: 1.5rem; }
    
    /* Responsive untuk konten */
    .entry-content {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 0.5rem;
    }
    
    .entry-content h2.wp-block-heading {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .entry-content p:has(> strong.privacy-policy-tutorial) {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .page-title { margin: 1rem auto; padding: 1rem; width: 100%; text-align: center; }
    .lamar-card { padding: 1.5rem 1rem; }
    .lamar-card-title { font-size: 1.3rem; }
    .lamar-btn { padding: 0.8rem 1.2rem; flex-direction: column; gap: 8px; }
    .lamar-btn-icon, .lamar-btn-arrow { font-size: 1.1em; }
    .lamar-page-container { padding: 1.5rem 1rem; }
    .lamar-header h1 { font-size: 1.8rem; }
    .lamar-header-icon { font-size: 3rem; }
    .countdown-number { font-size: 2rem; }
    
    /* Responsive untuk konten */
    .entry-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .entry-content h2.wp-block-heading {
        font-size: 1.3rem;
    }
}



/* BREADCRUMB STYLES - SIMPLE & CLEAN */
.breadcrumb {
    font-size: 0.9rem;
    margin: 1.5rem 0 2rem;
    padding: 0.8rem 1.2rem;
    color: #6b7280;
    background-color: #f2f2f5;
    border-radius: 2px;
    border-left: 3px solid #2563eb;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

.breadcrumb span[property="name"] {
    color: #374151;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        margin: 1rem 0 1.5rem;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        margin: 0.8rem 0 1.2rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .breadcrumb .separator {
        margin: 0 0.3rem;
    }
}



.lowongan-sitemap {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.lowongan-sitemap h3 {
    margin: 0 0 1rem 0;
    color: #0d2e63;
    font-size: 1.4rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.sitemap-list li {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.sitemap-list a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.sitemap-list a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.sitemap-date {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

.sitemap-links {
    margin: 1rem 0 0 0;
    font-size: 0.9rem;
}

.sitemap-links a {
    color: #2563eb;
    text-decoration: none;
}

.sitemap-links a:hover {
    text-decoration: underline;
}

