/*
Theme Name: TemaLoker New
Theme URI: https://github.com/temaloker/temaloker-theme
Author: TemaLoker Team
Author URI: https://temaloker.id
Description: Tema WordPress profesional untuk portal lowongan kerja dengan desain modern, responsif, Bootstrap 5, optimasi SEO, dan aksesibilitas WCAG AA compliant.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: temaloker
Domain Path: /languages
Tags: job-board, recruitment, responsive, bootstrap, seo-friendly, accessibility-ready, translation-ready, custom-logo, custom-header, custom-background, featured-images, threaded-comments

GitHub Theme URI: temaloker/temaloker-theme
GitHub Branch: main
Update URI: https://raw.githubusercontent.com/temaloker/temaloker-theme/main/style.css

TemaLoker - Professional Job Board WordPress Theme
==================================================

Fitur Utama:
- Desain responsif dengan Bootstrap 5.3.3
- Sistem lowongan kerja lengkap dengan filtering
- Optimasi SEO dengan Schema.org JobPosting
- Aksesibilitas WCAG 2.1 Level AA compliant
- Performance optimized dengan lazy loading
- Security hardened dengan CSP headers
- Template hierarchy yang modular
- Customizer integration untuk branding

Stage Implementation:
- Stage 0: Baseline Structure
- Stage 1: Adapter Functions
- Stage 2: Template Parts System
- Stage 3: Visual System & Design Tokens
- Stage 4: Job Listing System
- Stage 5: Archive & Search Enhancement
- Stage 6: Filtering & Sorting
- Stage 7: Single Job Page
- Stage 8: Page Templates & Static Blocks
- Stage 9: Navigation & Footer Polish
- Stage 10: Performance Optimization
- Stage 11: Accessibility Audit
- Stage 12: Security Hardening
- Stage 13: Final Polish (Current)
*/

/* ==========================================================================
   DESIGN TOKENS — CSS Custom Properties
   ========================================================================== */
:root {
    --tl-primary: #0d6efd;
    --tl-primary-dark: #0a58ca;
    --tl-accent: #6610f2;
    --tl-teal: #20c997;
    --tl-gold: #f59e0b;
    --tl-green: #10b981;
    --tl-purple: #6f42c1;
    --tl-card-radius: 0.75rem;
    --tl-transition: 0.22s ease;
    --tl-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --tl-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --tl-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
    --tl-hero-start: #0d6efd;
    --tl-hero-end: #6610f2;
}

/* ==========================================================================
   HERO SECTION — Animated Gradient + Floating Blobs
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--tl-hero-start) 0%, var(--tl-hero-end) 100%);
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
}

.hero-section--light {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    animation: none;
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.35;
    pointer-events: none;
    will-change: transform;
}

.hero-blob--1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #7c3aed, transparent 70%);
    top: -120px;
    left: -80px;
    animation: floatBlob1 9s ease-in-out infinite;
}

.hero-blob--2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #06b6d4, transparent 70%);
    bottom: -80px;
    right: -60px;
    animation: floatBlob2 11s ease-in-out infinite;
}

.hero-blob--3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #f59e0b, transparent 70%);
    top: 40%;
    left: 55%;
    animation: floatBlob3 7s ease-in-out infinite;
}

@keyframes floatBlob1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, 30px) scale(1.07);
    }
}

@keyframes floatBlob2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1.05);
    }

    50% {
        transform: translate(-30px, -20px) scale(1);
    }
}

@keyframes floatBlob3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -25px) scale(1.1);
    }
}

/* Mesh grid overlay */
.hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* ==========================================================================
   SECTION BADGE VARIANTS
   ========================================================================== */
.tl-badge-unggulan {
    background-color: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.tl-badge-terbaru {
    background-color: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.tl-badge-blog {
    background-color: rgba(111, 66, 193, 0.12);
    color: #5b21b6;
}

.tl-badge-lokasi {
    background-color: rgba(6, 182, 212, 0.12);
    color: #0e7490;
}

/* ==========================================================================
   LOCATION CARD
   ========================================================================== */
.tl-location-card {
    transition: transform var(--tl-transition), box-shadow var(--tl-transition);
    color: inherit;
}

.tl-location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tl-shadow-md) !important;
    color: inherit;
}

.tl-location-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ==========================================================================
   RECRUITER SECTION
   ========================================================================== */
.tl-recruiter-section {
    background: linear-gradient(135deg, var(--tl-primary) 0%, var(--tl-accent) 100%);
}

/* ==========================================================================
   FLOATING BACK-TO-TOP BUTTON
   ========================================================================== */
.btn-back-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--tl-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--tl-shadow-md);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    pointer-events: none;
    cursor: pointer;
}

.btn-back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btn-back-top:hover {
    background: var(--tl-primary-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION FADE-IN ANIMATION
   ========================================================================== */
.tl-section-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.tl-section-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   NAVBAR SCROLLED STATE
   ========================================================================== */
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10) !important;
}

/* ==========================================================================
   TemaLoker Visual System - Tahap 3
   ========================================================================== */

/* Custom Color Utilities */
.bg-purple {
    background-color: #6f42c1 !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.border-purple {
    border-color: #6f42c1 !important;
}

.bg-purple-subtle {
    background-color: rgba(111, 66, 193, 0.1) !important;
}

.bg-teal {
    background-color: #20c997 !important;
}

.text-teal {
    color: #20c997 !important;
}

.border-teal {
    border-color: #20c997 !important;
}

.bg-teal-subtle {
    background-color: rgba(32, 201, 151, 0.1) !important;
}

.bg-indigo {
    background-color: #6610f2 !important;
}

.text-indigo {
    color: #6610f2 !important;
}

.border-indigo {
    border-color: #6610f2 !important;
}

.bg-indigo-subtle {
    background-color: rgba(102, 16, 242, 0.1) !important;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

.text-orange {
    color: #fd7e14 !important;
}

.border-orange {
    border-color: #fd7e14 !important;
}

.bg-orange-subtle {
    background-color: rgba(253, 126, 20, 0.1) !important;
}

/* text-white-75 uses 0.9 opacity for a11y contrast — see below */

/* Section Spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.p-lg-6 {
    padding: 4rem !important;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ring Utilities (for featured cards) */
.ring-2 {
    box-shadow: 0 0 0 2px var(--bs-primary) !important;
}

.ring-primary {
    --bs-ring-color: var(--bs-primary);
}

.ring-opacity-50 {
    --bs-ring-opacity: 0.5;
}

/* Hover States */
.hover-white:hover,
.hover-white:focus {
    color: #fff !important;
}

/* Navbar Enhancements */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Card Hover Effect */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Button Enhancements */
.btn {
    font-weight: 500;
    letter-spacing: 0.01em;
}

.btn-primary {
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* Focus States */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Responsive Typography */
@media (max-width: 575.98px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}

/* Min Width Utilities */
.min-w-0 {
    min-width: 0;
}

/* Border Responsive */
@media (min-width: 992px) {
    .border-lg-0 {
        border: 0 !important;
    }
}

/* Hover Lift Effect for Cards */
.hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-border-color), transparent);
}

/* Hover Background Utility */
.hover-bg-light:hover {
    background-color: var(--bs-light) !important;
}

/* Sidebar Filters */
.sidebar-filters {
    font-size: 0.9375rem;
}

.sidebar-filters .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Offcanvas Filter */
.offcanvas {
    max-width: 320px;
}

/* Active Filter Badge */
.sidebar-filters a.bg-primary.bg-opacity-10 {
    font-weight: 500;
}

/* Archive & Search Page Enhancements */
.archive .page-hero,
.search .page-hero {
    background: linear-gradient(135deg, var(--bs-light) 0%, #fff 100%);
}

/* Result Count Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.archive .text-secondary,
.search .text-secondary {
    animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   TemaLoker Job Card System - Tahap 5
   ========================================================================== */

/* Base Job Card */
.job-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
}

/* Featured Card Indicator */
.job-card__featured-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), #0d6efd, #6610f2);
}

/* Logo Container */
.job-card__logo {
    width: 56px;
    height: 56px;
}

/* Card Title */
.job-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.job-card__title a {
    transition: color 0.15s ease;
}

.job-card__title a:hover {
    color: var(--bs-primary) !important;
}

/* Company Name */
.job-card__company {
    font-size: 0.875rem;
}

/* Meta Badges */
.job-card__meta {
    font-size: 0.8125rem;
    row-gap: 0.5rem;
}

.job-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 0.375rem;
    white-space: nowrap;
}

.job-card__meta-item i {
    font-size: 0.875rem;
}

.job-card__meta .badge {
    font-weight: 400;
}

/* Company Name */
.job-card__company {
    font-size: 0.9375rem;
    font-weight: 500;
}

.job-card__company i {
    font-size: 1rem;
}

/* Excerpt */
.job-card__excerpt {
    line-height: 1.5;
}

/* Footer */
.job-card__footer {
    min-height: 40px;
}

.job-card__footer .btn {
    transition: all 0.2s ease;
}

.job-card__footer .btn:hover {
    transform: translateY(-1px);
}

.job-card__footer .temaloker-bookmark-btn {
    white-space: nowrap;
}

.job-card__link {
    transition: transform 0.15s ease;
}

.job-card:hover .job-card__link {
    transform: translateX(4px);
}

.job-card__button {
    transition: all 0.15s ease;
}

.job-card:hover .job-card__button {
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

/* Blog Carousel Styles */
.blog-carousel {
    position: relative;
    overflow: hidden;
}

.blog-carousel-track {
    will-change: transform;
    display: flex;
    gap: 1rem;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 calc(25% - 0.75rem);
    /* Desktop: 4 kolom */
    min-width: 0;
    /* Prevent flex item overflow */
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__image img {
    object-fit: cover;
}

/* Blog Carousel Dot Indicators */
.blog-carousel-dot {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

/* Blog Card Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__image img {
    object-fit: cover;
}

/* line-clamp-2 defined above, removed duplicate */

/* Responsive carousel */
@media (max-width: 767.98px) {
    .blog-card {
        flex: 0 0 calc(50% - 0.5rem);
        /* Mobile: 2 kolom */
    }
}

/* Extra Small Badge */
.badge-xs {
    font-size: 0.625rem;
    padding: 0.25em 0.5em;
}

/* Compact Card Variant */
.job-card--compact .job-card__logo {
    width: 44px;
    height: 44px;
}

.job-card--compact .job-card__title {
    font-size: 0.9375rem;
}

.job-card--compact .job-card__company {
    font-size: 0.8125rem;
}

.job-card--compact .job-card__meta {
    font-size: 0.75rem;
}

.job-card--compact .job-card__footer {
    min-height: 32px;
    padding-top: 0.75rem !important;
}

.job-card--compact .job-card__button {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

/* Featured Card Variant */
.job-card--featured {
    box-shadow: 0 0.25rem 1rem rgba(13, 110, 253, 0.1) !important;
}

.job-card--featured:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(13, 110, 253, 0.15) !important;
}

/* ==========================================================================
   Mobile Optimizations (2 Column Grid)
   ========================================================================== */

@media (max-width: 767.98px) {

    /* When 2 columns on mobile, auto-switch to compact mode */
    .row-cols-2 .job-card:not(.job-card--compact),
    .row .col-6 .job-card:not(.job-card--compact) {
        /* Hide excerpt */
    }

    .row-cols-2 .job-card:not(.job-card--compact) .job-card__excerpt,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__excerpt {
        display: none !important;
    }

    /* Smaller logo */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__logo,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__logo {
        width: 40px;
        height: 40px;
    }

    /* Smaller title */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__title,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__title {
        font-size: 0.875rem;
    }

    /* Smaller company */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__company,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__company {
        font-size: 0.75rem;
    }

    /* Hide workplace badge */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__badges .badge:not(.bg-primary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-secondary):not(.bg-purple):not(.bg-teal):not(.bg-indigo):not(.bg-orange),
    .row .col-6 .job-card:not(.job-card--compact) .job-card__badges .badge:not(.bg-primary):not(.bg-success):not(.bg-info):not(.bg-warning):not(.bg-secondary):not(.bg-purple):not(.bg-teal):not(.bg-indigo):not(.bg-orange) {
        /* Keep employment type badge, hide others if needed */
    }

    /* Smaller meta */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__meta,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__meta {
        font-size: 0.6875rem;
        gap: 0.25rem;
    }

    .row-cols-2 .job-card:not(.job-card--compact) .job-card__meta-item,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__meta-item {
        padding: 0.125rem 0.375rem;
    }

    .row-cols-2 .job-card:not(.job-card--compact) .job-card__meta-item i,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__meta-item i {
        font-size: 0.75rem;
    }

    /* Hide salary on mobile 2-col */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__salary,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__salary {
        display: none !important;
    }

    /* Smaller footer */
    .row-cols-2 .job-card:not(.job-card--compact) .job-card__footer,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__footer {
        min-height: auto;
        padding-top: 0.75rem !important;
    }

    .row-cols-2 .job-card:not(.job-card--compact) .job-card__link,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__link {
        font-size: 0.75rem;
    }

    .row-cols-2 .job-card:not(.job-card--compact) .job-card__button,
    .row .col-6 .job-card:not(.job-card--compact) .job-card__button {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991.98px) {
    .job-card__title {
        font-size: 1rem;
    }

    .job-card__logo {
        width: 48px;
        height: 48px;
    }
}

/* Grid Scanability - Visual Rhythm */
.job-card {
    position: relative;
}

.job-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--bs-border-radius-xl);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.1);
}

.job-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   TemaLoker Single Job Page - Tahap 7
   ========================================================================== */

/* Job Hero */
.job-hero {
    background: linear-gradient(135deg, var(--bs-light) 0%, #fff 100%);
}

.job-hero__logo {
    width: 100px;
    height: 100px;
}

.job-hero__title {
    line-height: 1.3;
}

.job-hero__company {
    line-height: 1.4;
}

/* Job CTA */
.job-cta {
    position: relative;
}

.job-cta .btn-lg {
    padding: 0.75rem 1.5rem;
}

/* Job Overview Sidebar */
.job-overview__icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.job-overview__icon i {
    font-size: 1rem;
}

/* Job Content */
.job-content {
    overflow: hidden;
}

.job-content__body {
    font-size: 1rem;
    line-height: 1.8;
}

.job-content__body h2,
.job-content__body h3,
.job-content__body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.job-content__body p {
    margin-bottom: 1.25rem;
}

.job-content__body ul,
.job-content__body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.job-content__body li {
    margin-bottom: 0.5rem;
}

/* Job Meta Table */
.job-content__meta .table td {
    padding: 0.75rem 0;
    vertical-align: middle;
}

/* Job Share */
.job-share .btn-sm {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Sticky CTA */
.job-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0;
}

.job-mobile-cta .card {
    border-radius: 1rem 1rem 0 0 !important;
}

/* Add padding to body when mobile CTA is present */
@media (max-width: 991.98px) {
    body.single {
        padding-bottom: 80px;
    }
}

/* Job Sidebar Sticky */
.job-sidebar .sticky-top {
    top: 2rem;
}

/* Responsive Hero */
@media (max-width: 575.98px) {
    .job-hero__logo {
        width: 60px;
        height: 60px;
    }

    .job-hero__title {
        font-size: 1.5rem;
    }

    .job-hero__company {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .job-hero {
        background: none !important;
        border-bottom: 1px solid #ddd;
    }

    .job-mobile-cta,
    .job-sidebar .job-quick-search,
    .job-sidebar .job-share {
        display: none !important;
    }

    .job-content {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ==========================================================================
   TemaLoker Page Template - Tahap 8
   ========================================================================== */

/* Page Content */
.page-content {
    overflow: hidden;
}

.page-content__body {
    font-size: 1rem;
    line-height: 1.8;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    scroll-margin-top: 2rem;
}

.page-content__body h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.page-content__body h3 {
    font-size: 1.25rem;
}

.page-content__body p {
    margin-bottom: 1.25rem;
}

.page-content__body ul,
.page-content__body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content__body li {
    margin-bottom: 0.5rem;
}

.page-content__body blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--bs-secondary);
}

.page-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bs-border-radius);
}

.page-content__body table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.page-content__body th,
.page-content__body td {
    padding: 0.75rem;
    border: 1px solid var(--bs-border-color);
}

.page-content__body th {
    background-color: var(--bs-light);
    font-weight: 600;
}

/* Page Thumbnail */
.page-content__thumbnail img {
    transition: transform 0.3s ease;
}

.page-content__thumbnail:hover img {
    transform: scale(1.02);
}

/* Page Sidebar */
.page-sidebar .sticky-top {
    top: 2rem;
}

/* Table of Contents */
.page-toc__nav .nav-link {
    color: var(--bs-secondary);
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
}

.page-toc__nav .nav-link:hover {
    color: var(--bs-primary);
    border-left-color: var(--bs-primary);
    padding-left: 0.5rem;
}

/* Page Navigation */
.page-nav .list-group-item {
    transition: background-color 0.15s ease;
}

.page-nav .list-group-item:hover {
    background-color: var(--bs-light);
}

/* Page Children */
.page-children .list-group-item {
    border-radius: var(--bs-border-radius) !important;
    margin-bottom: 0.25rem;
    transition: all 0.15s ease;
}

.page-children .list-group-item:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* Page CTA */
.page-sidebar .page-cta {
    position: relative;
    overflow: hidden;
}

.page-sidebar .page-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Print Styles */
@media print {
    .page-sidebar {
        display: none !important;
    }

    .page-content {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .page-content__share,
    .page-content__meta button {
        display: none !important;
    }

    .page-children {
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   TemaLoker Navigation & Footer - Tahap 9
   ========================================================================== */

/* Skip Link */
.skip-link {
    z-index: 9999;
}

/* Site Navigation */
.site-nav__logo {
    width: 2.25rem;
    height: 2.25rem;
}

.site-nav__title {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-nav__tagline {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Navbar Enhancements */
.site-header .navbar-toggler {
    transition: all 0.2s ease;
}

.site-header .navbar-toggler:hover {
    background-color: var(--bs-light);
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Nav Link Hover Effect */
.site-header .nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.site-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    width: calc(100% - 1.5rem);
}

/* Dropdown Menu */
.site-header .dropdown-menu {
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header .dropdown-item {
    transition: all 0.15s ease;
}

.site-header .dropdown-item:hover {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

/* Site Footer */
.site-footer {
    position: relative;
}

.site-footer__logo {
    width: 2.75rem;
    height: 2.75rem;
}

.site-footer__heading {
    letter-spacing: 0.05em;
}

/* Footer Navigation */
.site-footer .nav-link {
    transition: all 0.2s ease;
}

.site-footer .nav-link:hover {
    color: #fff !important;
    transform: translateX(4px);
}

/* Footer Social Icons */
.site-footer__social .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.site-footer__social .btn:hover {
    background-color: #fff;
    color: var(--bs-dark);
    transform: translateY(-2px);
}

/* Footer Bottom */
.site-footer__bottom {
    background-color: rgba(0, 0, 0, 0.2);
}

/* text-white-75 / hover-white defined below in a11y section, removed duplicates here */
.text-white-25 {
    color: rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================================================
   SCROLL REVEAL (Animation)
   ========================================================================== */
.tl-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: opacity, transform;
}

.tl-reveal--active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   JOB CARD — Responsive Layout
   ========================================================================== */
.job-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

/* Desktop: Box Layout */
@media (min-width: 768px) {
    .job-card__logo-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 0.5rem;
    }

    .job-card__title {
        font-size: 1.15rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 3.2em;
    }
}

/* Mobile: Flat Layout (Handled by Bootstrap flex-row in PHP) */
@media (max-width: 767.98px) {
    .job-card__logo-wrapper {
        width: 70px;
        height: 70px;
    }

    .job-card__title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .job-card__meta-item {
        font-size: 0.75rem;
        padding: 0.4rem !important;
    }
}

.job-card__footer .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* Compact navbar height */
.site-header .navbar {
    min-height: unset;
}


/* Site Header (Navigation) */
.site-header {
    z-index: 1040 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.site-header.nav-hidden {
    transform: translateY(-110%);
    box-shadow: none !important;
}

.site-header .nav-link {
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .site-header .nav-link::after {
        display: none;
    }

    .site-header .navbar-collapse {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }
}

/* Print Styles */
@media print {

    .site-header,
    .site-footer {
        display: none !important;
    }

    .skip-link {
        display: none !important;
    }
}

/* ==========================================================================
   TemaLoker Accessibility (A11y) Enhancements - Tahap 11
   ========================================================================== */

/* Focus Visible Styles */
:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Skip Link Enhancements */
.skip-link:focus {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 9999;
}

/* Screen Reader Only Text */
.visually-hidden,
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden:focus,
.screen-reader-text:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: inherit !important;
    margin: inherit !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }

    .card {
        border: 2px solid var(--bs-border-color);
    }

    .nav-link:focus-visible {
        outline: 3px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Color Contrast Improvements */
.text-secondary {
    color: #595959 !important;
    /* Darker than Bootstrap's default for better contrast */
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
    /* Increased from 50% to 85% */
}

/* text-white-75 consolidated — uses 0.9 opacity for better contrast */
.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Link Underlines for Better Visibility */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover {
    text-decoration-thickness: 2px;
}

/* Form Accessibility */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

/* Error States */
.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5);
}

/* Keyboard Navigation Indicators */
[tabindex]:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}

/* ARIA Live Regions */
[aria-live="polite"] {
    position: relative;
}

[aria-live="assertive"] {
    position: relative;
}

/* Alert/Status Messages */
.alert[role="alert"] {
    position: relative;
}

.alert[role="alert"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: currentColor;
    opacity: 0.5;
}

/* Print Accessibility */
@media print {
    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        opacity: 0.8;
    }

    abbr[title]::after {
        content: ' (' attr(title) ')';
    }
}

/* ==========================================================================
   ADVERTISEMENT STYLES
   ========================================================================== */

.ad-slot {
    margin: 1.5rem 0;
    text-align: center;
    overflow: hidden;
}

.ad-slot__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.ad-slot__content {
    display: inline-block;
    max-width: 100%;
}

.ad-slot--ad-01 {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.ad-slot--ad-02 {
    margin: 1.5rem 0;
}

.ad-slot--ad-03 {
    margin: 1rem 0;
    position: sticky;
    top: 100px;
}

.ad-slot--ad-04 {
    margin: 2rem 0 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

.ad-slot--ad-06 {
    margin: 0 0 1.5rem;
}

/* Sticky Mobile Ad */
.ad-sticky-mobile {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.ad-sticky-mobile iframe,
.ad-sticky-mobile ins,
.ad-sticky-mobile div {
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Responsive Ad Adjustments */
@media (max-width: 768px) {

    .ad-slot--ad-01,
    .ad-slot--ad-04 {
        padding: 0.5rem;
        margin: 1rem 0;
    }

    .ad-slot iframe,
    .ad-slot ins {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ==========================================================================
   JOB CARD - MOBILE COMPACT (consolidated from DESAIN GABUNGAN)
   Base styles, hover, logo, title, meta, footer all defined in Tahap 5 above.
   ========================================================================== */

/* Mobile 2-column grid — detailed compact overrides */
@media (max-width: 767.98px) {
    .job-card {
        border-radius: 0.75rem !important;
    }

    .job-card .card-body {
        padding: 0.625rem !important;
    }

    .job-card__logo {
        width: 40px !important;
        height: 40px !important;
        border-radius: 0.375rem !important;
    }

    .job-card__title {
        font-size: 0.8125rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        margin-bottom: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .job-card__badges {
        margin-bottom: 0.25rem !important;
        gap: 0.25rem !important;
    }

    .job-card__badges .badge {
        font-size: 0.625rem !important;
        padding: 0.125rem 0.375rem !important;
    }

    .job-card__company {
        font-size: 0.6875rem !important;
        margin-bottom: 0.375rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .job-card__company i {
        font-size: 0.6875rem !important;
    }

    .job-card__meta {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem !important;
        margin-bottom: 0.375rem !important;
        font-size: 0.6875rem !important;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .job-card__meta::-webkit-scrollbar {
        display: none;
    }

    .job-card__meta-item {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .job-card__meta-item i {
        font-size: 0.75rem !important;
    }

    .job-card__footer {
        padding-top: 0.375rem !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .job-card__footer .btn-sm {
        padding: 0.25rem 0.625rem !important;
        font-size: 0.6875rem !important;
    }

    .temaloker-bookmark-btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.6875rem !important;
    }

    .temaloker-bookmark-btn i {
        font-size: 0.75rem !important;
    }
}

/* ==========================================================================
   BOOKMARK SYSTEM
   ========================================================================== */

.temaloker-bookmark-btn {
    transition: all 0.2s ease;
}

.temaloker-bookmark-btn:hover {
    transform: scale(1.05);
}

.temaloker-bookmark-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.temaloker-bookmark-btn i {
    transition: transform 0.2s ease;
}

.temaloker-bookmark-btn:hover i {
    transform: scale(1.1);
}

/* Notification Toast */
.temaloker-notification {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================================================
   SEARCH AUTOCOMPLETE
   ========================================================================== */

.search-suggestions {
    animation: fadeIn 0.2s ease;
}

/* @keyframes fadeIn — second definition removed; canonical one defined above (uses translateY(-4px)) */

.search-suggestions ul li:last-child a {
    border-bottom: none;
}

.search-suggestions mark {
    background: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* Ensure search container has relative positioning */
.job-search-form,
.search-form {
    position: relative;
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Card */
.blog-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.blog-card__image img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__title a {
    transition: color 0.2s ease;
}

.blog-card__title a:hover {
    color: #0d6efd;
}

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.blog-hero__meta img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Blog Content */
.blog-content__body {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.blog-content__body h2,
.blog-content__body h3,
.blog-content__body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content__body p {
    margin-bottom: 1.25rem;
}

.blog-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.blog-content__body blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #495057;
}

.blog-content__body ul,
.blog-content__body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-content__body li {
    margin-bottom: 0.5rem;
}

/* Blog Sidebar */
.blog-sidebar .card {
    transition: box-shadow 0.2s ease;
}

.blog-sidebar .card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08) !important;
}

/* Featured Image */
.blog-featured-image {
    margin-top: -2rem;
    padding-bottom: 2rem;
}

.blog-featured-image img {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Author Box */
.blog-content__author img {
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-content__body {
        font-size: 1rem;
    }

    .blog-featured-image {
        margin-top: 0;
    }
}

/* ==========================================================================
   BREADCRUMB — Modern Pill Design
   ========================================================================== */
.tl-breadcrumb {
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.tl-breadcrumb::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tl-breadcrumb__list {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0.3rem 0.75rem;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    animation: bcSlideIn 0.35s ease both;
    white-space: nowrap;
    min-width: max-content;
}

@keyframes bcSlideIn {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tl-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    gap: 0.3rem;
    white-space: nowrap;
}

.tl-breadcrumb__home-icon {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.75;
}

.tl-breadcrumb__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--tl-primary);
    text-decoration: none !important;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease;
    font-weight: 500;
    white-space: nowrap;
}

.tl-breadcrumb__link:hover,
.tl-breadcrumb__link:focus,
.tl-breadcrumb__link:visited {
    background: rgba(13, 110, 253, 0.12);
    color: var(--tl-primary-dark);
    text-decoration: none !important;
}

.tl-breadcrumb__sep {
    display: inline-flex;
    align-items: center;
    color: rgba(13, 110, 253, 0.35);
    margin: 0 0.1rem;
    flex-shrink: 0;
}

.tl-breadcrumb__current {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #495057;
    padding: 0.1rem 0.4rem;
    font-weight: 600;
    white-space: nowrap;
}

.tl-breadcrumb__label {
    display: inline;
}

@media (max-width: 575.98px) {
    .tl-breadcrumb__list {
        padding: 0.25rem 0.6rem;
    }

    .tl-breadcrumb__item {
        font-size: 0.75rem;
    }
}