/* =====================================================================
   Ikigai Jobs Placement — public site
   Colours come from CSS variables injected by partials/theme-vars.
   Body classes .layout-classic | .layout-modern | .layout-minimal | .layout-bold
   switch the overall look; [data-bs-theme=dark] provides dark mode.
   ===================================================================== */

:root {
    --ik-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --ik-shadow-lg: 0 25px 50px -20px rgba(15, 23, 42, .28);
    --ik-border: #e8ecf2;
    --ik-surface: #ffffff;
    --ik-muted-bg: var(--ik-light);
    --ik-gradient: linear-gradient(135deg, var(--ik-primary) 0%, var(--ik-secondary) 100%);
}

[data-bs-theme="dark"] {
    --ik-light: #111827;
    --ik-text: #cbd5e1;
    --ik-heading: #f1f5f9;
    --ik-border: #253047;
    --ik-surface: #172033;
    --ik-muted-bg: #0f172a;
    --bs-body-bg: #0b1220;
    --bs-body-color: #cbd5e1;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--ik-font-body);
    color: var(--ik-text);
    background: var(--bs-body-bg, #fff);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-brand, .btn { font-family: var(--ik-font-heading); }
h1, h2, h3, h4, h5, h6 { color: var(--ik-heading); font-weight: 700; }
a { color: var(--ik-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ik-secondary); }
img { max-width: 100%; }
.lang-ja body, .lang-ja { line-height: 1.8; }

/* ---------- Bootstrap overrides ---------- */
.btn { border-radius: var(--ik-radius); font-weight: 600; padding: .6rem 1.3rem; transition: all .25s ease; }
.btn-sm { padding: .35rem .85rem; }
.btn-lg { padding: .85rem 1.8rem; }
.btn-primary { background: var(--ik-primary); border-color: var(--ik-primary); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--ik-secondary) !important; border-color: var(--ik-secondary) !important; transform: translateY(-1px); }
.btn-outline-primary { color: var(--ik-primary); border-color: var(--ik-primary); }
.btn-outline-primary:hover { background: var(--ik-primary); border-color: var(--ik-primary); color: #fff; }
.btn-secondary { background: var(--ik-secondary); border-color: var(--ik-secondary); }
.btn-accent { background: var(--ik-accent); color: #111; border: 0; }
.btn-accent:hover { filter: brightness(.95); color: #111; }
.text-primary { color: var(--ik-primary) !important; }
.bg-primary { background-color: var(--ik-primary) !important; }
.bg-primary-soft { background: rgba(var(--ik-primary-rgb), .08) !important; }
.bg-secondary-soft { background: rgba(var(--ik-secondary-rgb), .08) !important; }
.text-secondary-ik { color: var(--ik-secondary) !important; }
.form-control, .form-select { border-radius: calc(var(--ik-radius) * .75); border-color: var(--ik-border); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--ik-primary); box-shadow: 0 0 0 .2rem rgba(var(--ik-primary-rgb), .15); }
.form-check-input:checked { background-color: var(--ik-primary); border-color: var(--ik-primary); }
.card { border-radius: var(--ik-radius); border-color: var(--ik-border); background: var(--ik-surface); }
.dropdown-menu { border-radius: var(--ik-radius); }
.dropdown-item.active, .dropdown-item:active { background: var(--ik-primary); }
.page-link { color: var(--ik-primary); }
.active > .page-link, .page-link.active { background: var(--ik-primary); border-color: var(--ik-primary); }
.badge-soft { background: rgba(var(--ik-primary-rgb), .1); color: var(--ik-primary); font-weight: 600; }
.badge-soft-secondary { background: rgba(var(--ik-secondary-rgb), .1); color: var(--ik-secondary); font-weight: 600; }
[data-bs-theme="dark"] .badge-soft-secondary { color: #93c5fd; }

/* ---------- Skip link / announcement / top bar ---------- */
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: var(--ik-surface); color: var(--ik-primary); padding: .6rem 1rem; border-radius: var(--ik-radius); box-shadow: var(--ik-shadow); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
#main:focus { outline: none; }
.announce-bar { background: var(--ik-accent); color: #111; font-weight: 500; }
.topbar { background: var(--ik-dark); color: rgba(255,255,255,.72); font-size: .8rem; position: relative; z-index: 1031; /* above sticky .site-header (1030) so the language dropdown isn't hidden behind it */ }
.topbar-list { list-style: none; display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: .5rem 0; }
.topbar-list i { color: var(--ik-accent); margin-right: .25rem; }
.topbar a, .topbar-lang { color: rgba(255,255,255,.78); }
.topbar a:hover, .topbar-lang:hover { color: #fff; }
.topbar-social { display: flex; gap: .85rem; }
.topbar-social i { color: inherit; margin: 0; }
.topbar-lang { background: none; border: 0; padding: 0; font-size: inherit; }
.topbar .dropdown-menu { font-size: .88rem; border: 1px solid var(--ik-border); box-shadow: var(--ik-shadow-lg); padding: .35rem; min-width: 160px; }
/* .topbar a is white for the dark bar; language links sit on a white menu, so give them readable colours */
.topbar .dropdown-menu .dropdown-item { color: var(--ik-heading); border-radius: calc(var(--ik-radius) * .6); padding: .45rem .8rem; font-weight: 500; }
.topbar .dropdown-menu .dropdown-item:hover, .topbar .dropdown-menu .dropdown-item:focus { background: rgba(var(--ik-primary-rgb), .07); color: var(--ik-primary); }
.topbar .dropdown-menu .dropdown-item.active, .topbar .dropdown-menu .dropdown-item:active { background: var(--ik-primary); color: #fff; }
[data-bs-theme="dark"] .topbar .dropdown-menu .dropdown-item:not(.active) { color: #e2e8f0; }

/* ---------- Header ---------- */
.site-header { background: var(--ik-surface); border-bottom: 1px solid var(--ik-border); transition: box-shadow .25s, background .25s; z-index: 1030; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(15,23,42,.35); }
.site-header .navbar { padding: .7rem 0; }
.brand-logo { max-height: 44px; width: auto; }
.main-nav { gap: .15rem; }
.main-nav .dropdown-menu { border: 1px solid var(--ik-border); box-shadow: var(--ik-shadow-lg); padding: .45rem; min-width: 220px; margin-top: .4rem; }
.main-nav .dropdown-item { border-radius: calc(var(--ik-radius) * .6); padding: .5rem .8rem; font-weight: 500; }
.main-nav .dropdown-item:hover { background: rgba(var(--ik-primary-rgb), .07); color: var(--ik-primary); }
.main-nav .dropdown-item.active { background: rgba(var(--ik-primary-rgb), .1); color: var(--ik-primary); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn { padding: .5rem 1rem; font-size: .9rem; }
.btn-ghost { color: var(--ik-heading); background: transparent; border: 1px solid transparent; }
.btn-ghost:hover { color: var(--ik-primary); background: rgba(var(--ik-primary-rgb), .07); }
.btn-employer { color: var(--ik-secondary); border: 1px solid var(--ik-border); background: var(--ik-surface); }
.btn-employer:hover { border-color: var(--ik-secondary); color: var(--ik-secondary); }
[data-bs-theme="dark"] .btn-employer { color: #e2e8f0; }
.btn-user { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--ik-border); background: var(--ik-surface); color: var(--ik-heading); padding: .3rem .8rem .3rem .3rem !important; border-radius: 50px; }
.avatar-xs { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ik-gradient); color: #fff; font-weight: 700; font-size: .85rem; }
.nav-burger { width: 42px; height: 42px; border: 1px solid var(--ik-border); border-radius: calc(var(--ik-radius) * .8); background: var(--ik-surface); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ik-heading); }
.mobile-langs, .mobile-contact { display: none; }
@media (min-width: 992px) {
    .site-header .offcanvas-body { display: flex; align-items: center; }
    .main-nav .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; }
    .main-nav .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas { max-width: 86vw; }
    .site-header .offcanvas-header { border-bottom: 1px solid var(--ik-border); }
    .site-header .offcanvas-body { display: flex; flex-direction: column; gap: 1.2rem; padding: 1rem 1.1rem 1.5rem; }
    .main-nav .nav-link { padding: .8rem .9rem !important; border-radius: calc(var(--ik-radius) * .7); font-size: 1rem; }
    .main-nav .dropdown-menu { box-shadow: none; border: 0; background: var(--ik-muted-bg); margin: .2rem 0 .4rem .6rem; }
    .header-actions { flex-direction: column; align-items: stretch; padding-top: 1rem; border-top: 1px solid var(--ik-border); }
    .header-actions .btn { padding: .7rem 1rem; font-size: .95rem; }
    .header-actions .dropdown .btn-user { width: 100%; }
    .mobile-langs { display: flex; gap: .4rem; flex-wrap: wrap; }
    .mobile-langs a { flex: 1; text-align: center; padding: .45rem .6rem; border: 1px solid var(--ik-border); border-radius: 50px; color: var(--ik-heading); font-size: .88rem; font-weight: 500; }
    .mobile-langs a.active { background: var(--ik-primary); border-color: var(--ik-primary); color: #fff; }
    .mobile-contact { display: block; list-style: none; padding: 1rem 0 0; margin: auto 0 0; border-top: 1px solid var(--ik-border); font-size: .9rem; }
    .mobile-contact li { padding: .35rem 0; }
    .mobile-contact a { color: var(--ik-text); }
    .mobile-contact i { color: var(--ik-primary); margin-right: .5rem; }
}
.brand-mark {
    width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--ik-gradient); color: #fff; font-weight: 800; font-size: 1.3rem; font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 6px 16px -6px rgba(var(--ik-primary-rgb), .6);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; color: var(--ik-heading); font-size: 1.15rem; }
.brand-text small { font-weight: 500; font-size: .7rem; color: var(--ik-text); letter-spacing: .02em; }
.site-header .nav-link { font-weight: 600; color: var(--ik-heading); padding: .5rem .85rem !important; border-radius: calc(var(--ik-radius) * .6); font-family: var(--ik-font-heading); font-size: .95rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--ik-primary); background: rgba(var(--ik-primary-rgb), .07); }
.btn-lang { border: 1px solid var(--ik-border); color: var(--ik-heading); background: transparent; }
@media (max-width: 991.98px) {
    .offcanvas .navbar-nav .nav-link { padding: .75rem 1rem !important; }
}

/* ---------- Hero / slider ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-slide { min-height: 640px; padding: 80px 0 210px; display: flex; align-items: center; background-size: cover; background-position: center; position: relative; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(var(--ik-secondary-rgb), .92) 0%, rgba(var(--ik-secondary-rgb), .65) 45%, rgba(var(--ik-primary-rgb), .25) 100%); }
.hero-slide .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.15; }
.hero p.lead { color: rgba(255,255,255,.88); max-width: 620px; }
.hero-kicker { display: inline-flex; gap: .5rem; align-items: center; padding: .4rem 1rem; border-radius: 50px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); font-weight: 600; font-size: .85rem; margin-bottom: 1rem; }
.hero-search { background: var(--ik-surface); border-radius: calc(var(--ik-radius) * 1.3); padding: .6rem; box-shadow: var(--ik-shadow-lg); max-width: 860px; }
.hero-search .form-control, .hero-search .form-select { border: 0; background: transparent; }
.hero-search .divider { width: 1px; background: var(--ik-border); }
.hero-fuji { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-fuji path { fill: var(--bs-body-bg, #fff); }
.carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-muted { background: var(--ik-muted-bg); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title .eyebrow { color: var(--ik-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; display: inline-flex; align-items: center; gap: .5rem; }
.section-title .eyebrow::before, .section-title .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--ik-primary); }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .5rem 0 .75rem; }
.page-header { color: #fff; padding: 56px 0 52px; position: relative; overflow: hidden;
    background: radial-gradient(700px 300px at 90% 0%, rgba(var(--ik-primary-rgb), .38), transparent 60%), linear-gradient(160deg, var(--ik-secondary) 0%, var(--ik-dark) 100%); }
.page-header::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.page-header h1 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
.page-header p { color: rgba(255,255,255,.78); }
.page-header .breadcrumb { margin: 0; font-size: .85rem; }
.page-header .breadcrumb a, .page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.75); }
.page-header .breadcrumb a:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats-strip { margin-top: -60px; position: relative; z-index: 5; }
.stat-card { background: var(--ik-surface); border-radius: var(--ik-radius); padding: 1.6rem; box-shadow: var(--ik-shadow); text-align: center; height: 100%; border: 1px solid var(--ik-border); }
.stat-card .num { font-size: 2.3rem; font-weight: 800; color: var(--ik-primary); font-family: var(--ik-font-heading); line-height: 1; }
.stat-card .label { font-size: .9rem; margin-top: .4rem; }

/* ---------- Category cards ---------- */
.cat-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: var(--ik-radius); background: var(--ik-surface); border: 1px solid var(--ik-border); transition: all .3s; height: 100%; color: var(--ik-heading); }
.cat-card:hover { border-color: var(--ik-primary); transform: translateY(-4px); box-shadow: var(--ik-shadow); color: var(--ik-heading); }
.cat-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: calc(var(--ik-radius) * .9); display: grid; place-items: center; font-size: 1.5rem; background: rgba(var(--ik-primary-rgb), .1); color: var(--ik-primary); transition: all .3s; }
.cat-card:hover .cat-icon { background: var(--ik-primary); color: #fff; }

/* ---------- Job cards ---------- */
.job-card { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); padding: 1.4rem; transition: all .3s; height: 100%; position: relative; display: flex; flex-direction: column; }
.job-card:hover { box-shadow: var(--ik-shadow); border-color: rgba(var(--ik-primary-rgb), .4); transform: translateY(-3px); }
.job-card.featured { border-left: 4px solid var(--ik-primary); }
.job-card h3 { font-size: 1.1rem; margin: 0; }
.job-card h3 a { color: var(--ik-heading); }
.job-card h3 a:hover { color: var(--ik-primary); }
.job-logo { width: 54px; height: 54px; border-radius: calc(var(--ik-radius) * .8); object-fit: contain; background: #fff; border: 1px solid var(--ik-border); padding: 4px; flex: 0 0 54px; display: grid; place-items: center; font-weight: 800; color: var(--ik-primary); }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; }
.job-meta i { color: var(--ik-primary); }
.job-salary { font-weight: 700; color: var(--ik-secondary); }
[data-bs-theme="dark"] .job-salary { color: #93c5fd; }
.ribbon { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 50px; }
.ribbon-urgent { background: #fee2e2; color: #b91c1c; }
.ribbon-featured { background: rgba(var(--ik-accent-rgb), .25); color: #7c2d12; }

/* ---------- Filters sidebar ---------- */
.filter-card { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); padding: 1.4rem; position: sticky; top: 100px; }
.filter-card h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ik-text); margin-top: 1rem; }

/* ---------- Generic content cards ---------- */
.content-card { background: var(--ik-surface); border-radius: var(--ik-radius); overflow: hidden; border: 1px solid var(--ik-border); height: 100%; transition: all .3s; display: flex; flex-direction: column; }
.content-card:hover { box-shadow: var(--ik-shadow); transform: translateY(-4px); }
.content-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: rgba(var(--ik-primary-rgb), .08); display: grid; place-items: center; }
.content-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.content-card:hover .thumb img { transform: scale(1.06); }
.content-card .thumb .placeholder-icon { font-size: 3rem; color: var(--ik-primary); opacity: .5; }
.content-card .body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.content-card h3 { font-size: 1.12rem; }
.content-card h3 a { color: var(--ik-heading); }

.service-card { padding: 2rem; border-radius: var(--ik-radius); background: var(--ik-surface); border: 1px solid var(--ik-border); height: 100%; transition: all .35s; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--ik-gradient); transition: width .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--ik-shadow-lg); }
.service-card:hover::after { width: 100%; }
.service-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: var(--ik-gradient); color: #fff; margin-bottom: 1.2rem; box-shadow: 0 10px 20px -8px rgba(var(--ik-primary-rgb), .6); }

/* ---------- About / steps ---------- */
.about-img { border-radius: calc(var(--ik-radius) * 1.5); box-shadow: var(--ik-shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.about-badge { position: absolute; bottom: -20px; right: -10px; background: var(--ik-primary); color: #fff; padding: 1.2rem 1.4rem; border-radius: var(--ik-radius); box-shadow: var(--ik-shadow-lg); }
.check-list li { padding: .35rem 0 .35rem 1.9rem; position: relative; }
.check-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--ik-primary); font-size: 1.1rem; }
.step { text-align: center; padding: 1rem; }
.step-num { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.6rem; font-weight: 800; border: 2px dashed var(--ik-primary); color: var(--ik-primary); background: var(--ik-surface); }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--ik-surface); border-radius: var(--ik-radius); padding: 2rem; border: 1px solid var(--ik-border); height: 100%; position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: -10px; right: 20px; font-size: 6rem; color: rgba(var(--ik-primary-rgb), .15); font-family: Georgia, serif; line-height: 1; }
.testimonial img, .avatar-ph { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.avatar-ph { display: grid; place-items: center; background: var(--ik-gradient); color: #fff; font-weight: 700; }
.stars { color: #f59e0b; }

/* ---------- CTA ---------- */
.cta-band { background: var(--ik-gradient); border-radius: calc(var(--ik-radius) * 1.6); padding: 3.5rem; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.08); right: -100px; top: -120px; }
.cta-band h2 { color: #fff; }

/* ---------- Notice ticker ---------- */
.notice-ticker { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); display: flex; align-items: center; overflow: hidden; }
.notice-ticker .label { background: var(--ik-primary); color: #fff; padding: .7rem 1.1rem; font-weight: 700; white-space: nowrap; }
.notice-ticker .track { overflow: hidden; flex: 1; }
.notice-ticker .track-inner { display: inline-flex; gap: 3rem; white-space: nowrap; padding-left: 100%; animation: ticker 30s linear infinite; }
.notice-ticker:hover .track-inner { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- Logos ---------- */
.logo-tile { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); padding: 1.2rem; display: grid; place-items: center; height: 100px; transition: all .3s; filter: grayscale(1); opacity: .75; }
.logo-tile:hover { filter: none; opacity: 1; box-shadow: var(--ik-shadow); }
.logo-tile img { max-height: 60px; object-fit: contain; }

/* ---------- Rich content ---------- */
.rich-content { line-height: 1.85; }
.rich-content img { border-radius: var(--ik-radius); height: auto; }
.rich-content h2, .rich-content h3 { margin-top: 1.6rem; }
.rich-content ul li { margin-bottom: .35rem; }
.rich-content table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.rich-content table td, .rich-content table th { border: 1px solid var(--ik-border); padding: .5rem .75rem; }
.sidebar-card { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h5 { font-size: 1.05rem; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 2px solid rgba(var(--ik-primary-rgb), .15); }
.info-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--ik-border); font-size: .92rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list li span:first-child { color: var(--ik-text); }
.info-list li span:last-child { font-weight: 600; color: var(--ik-heading); text-align: right; }

/* ---------- Timeline (tracking) ---------- */
.timeline { list-style: none; padding-left: 1.5rem; border-left: 2px solid var(--ik-border); }
.timeline li { position: relative; padding: 0 0 1.4rem 1rem; }
.timeline li::before { content: ""; position: absolute; left: -1.95rem; top: .25rem; width: 14px; height: 14px; border-radius: 50%; background: var(--ik-primary); box-shadow: 0 0 0 4px rgba(var(--ik-primary-rgb), .2); }

/* ---------- Gallery ---------- */
.gallery-grid a { display: block; border-radius: var(--ik-radius); overflow: hidden; position: relative; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.08); }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 50px 0; background: radial-gradient(circle at 10% 20%, rgba(var(--ik-primary-rgb), .08), transparent 40%), radial-gradient(circle at 90% 80%, rgba(var(--ik-secondary-rgb), .1), transparent 40%); }
.auth-card { background: var(--ik-surface); border-radius: calc(var(--ik-radius) * 1.4); box-shadow: var(--ik-shadow-lg); padding: 2.5rem; width: 100%; max-width: 480px; border: 1px solid var(--ik-border); }
.auth-card.wide { max-width: 620px; }
.type-toggle .btn-check:checked + .btn { background: var(--ik-primary); color: #fff; border-color: var(--ik-primary); }

/* ---------- Portal ---------- */
.portal-nav .list-group-item { border: 0; border-radius: calc(var(--ik-radius) * .7) !important; margin-bottom: .2rem; font-weight: 500; color: var(--ik-heading); background: transparent; }
.portal-nav .list-group-item.active { background: var(--ik-primary); color: #fff; }
.portal-nav .list-group-item:hover:not(.active) { background: rgba(var(--ik-primary-rgb), .07); }
.mini-stat { border-radius: var(--ik-radius); padding: 1.2rem; background: var(--ik-surface); border: 1px solid var(--ik-border); }
.mini-stat .n { font-size: 1.8rem; font-weight: 800; color: var(--ik-heading); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ik-footer); color: rgba(255,255,255,.68); margin-top: 40px; padding-top: 1px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; background: var(--ik-gradient); border-radius: calc(var(--ik-radius) * 1.3); padding: 1.8rem 2.2rem; margin-top: -40px; box-shadow: var(--ik-shadow-lg); }
.footer-main { padding-top: 3.5rem; padding-bottom: 3rem; }
.footer-about { line-height: 1.75; max-width: 360px; }
.footer-license i { color: var(--ik-accent); }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-bottom a, .footer-contact a { color: rgba(255,255,255,.7); font-size: .92rem; transition: color .2s; }
.footer-links a:hover, .footer-bottom a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .9rem; line-height: 1.6; }
.footer-contact strong { display: block; color: #fff; font-weight: 600; font-size: .82rem; }
.footer-contact i { color: var(--ik-accent); font-size: 1.05rem; }
.footer-langs { display: flex; gap: 1rem; }
.footer-langs a.active { color: #fff; font-weight: 600; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .3s; }
.social-icons a:hover { background: var(--ik-primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; }

/* ---------- Floating buttons & palette switcher ---------- */
.float-btn { position: fixed; right: 20px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; font-size: 1.35rem; z-index: 1020; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4); transition: transform .25s; }
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-whatsapp { bottom: 150px; background: #25d366; }
.float-palette { background: var(--ik-gradient); }
.float-top { bottom: 20px; background: var(--ik-secondary); opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-top.show { opacity: 1; pointer-events: auto; }
.palette-switcher { position: fixed; right: 20px; bottom: 85px; z-index: 1021; }
.palette-switcher .float-btn { position: static; }
.palette-panel { position: absolute; right: 60px; bottom: 0; width: 220px; background: var(--ik-surface); border-radius: var(--ik-radius); padding: 1rem; border: 1px solid var(--ik-border); opacity: 0; transform: translateX(10px); pointer-events: none; transition: all .25s; color: var(--ik-heading); }
.palette-switcher.open .palette-panel { opacity: 1; transform: none; pointer-events: auto; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ik-surface); box-shadow: 0 0 0 1px var(--ik-border); cursor: pointer; padding: 0; }
.swatch:hover, .swatch.active { box-shadow: 0 0 0 2px var(--ik-primary); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .notice-ticker .track-inner { animation: none; padding-left: 0; } }

/* =====================================================================
   LAYOUT VARIANTS
   ===================================================================== */

/* Modern Glass: translucent header, larger radius, gradient accents */
.layout-modern .topbar { background: var(--ik-dark); }
.layout-modern .site-header { background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
[data-bs-theme="dark"] .layout-modern .site-header { background: rgba(15,23,42,.8); }
.layout-modern .btn-primary { background: var(--ik-gradient); border: 0; }
.layout-modern .job-card, .layout-modern .content-card, .layout-modern .service-card, .layout-modern .cat-card { border-color: transparent; box-shadow: var(--ik-shadow); }
.layout-modern .hero-slide::before { background: linear-gradient(120deg, rgba(var(--ik-primary-rgb), .88), rgba(var(--ik-secondary-rgb), .85)); }
.layout-modern .section-muted { background: linear-gradient(180deg, rgba(var(--ik-primary-rgb), .04), rgba(var(--ik-secondary-rgb), .05)); }

/* Minimal Clean: flat, borders, underline nav, no gradients */
.layout-minimal { --ik-shadow: none; --ik-shadow-lg: 0 1px 0 var(--ik-border); --ik-gradient: var(--ik-primary); }
.layout-minimal .topbar { background: var(--ik-surface); color: var(--ik-text); border-bottom: 1px solid var(--ik-border); }
.layout-minimal .topbar a { color: var(--ik-text); }
.layout-minimal .site-header { box-shadow: none; border-bottom: 1px solid var(--ik-border); }
.layout-minimal .site-header .nav-link:hover, .layout-minimal .site-header .nav-link.active { background: none; box-shadow: inset 0 -2px 0 var(--ik-primary); border-radius: 0; }
.layout-minimal .page-header { background: var(--ik-muted-bg); color: var(--ik-heading); border-bottom: 1px solid var(--ik-border); }
.layout-minimal .page-header h1, .layout-minimal .page-header .breadcrumb a, .layout-minimal .page-header .breadcrumb-item.active { color: var(--ik-heading); }
.layout-minimal .page-header::after { color: rgba(var(--ik-primary-rgb), .06); }
.layout-minimal .hero-slide::before { background: linear-gradient(90deg, rgba(15,23,42,.85), rgba(15,23,42,.35)); }
.layout-minimal .job-card:hover, .layout-minimal .content-card:hover, .layout-minimal .service-card:hover, .layout-minimal .cat-card:hover { transform: none; }
.layout-minimal .cta-band { background: var(--ik-secondary); }

/* Bold Gradient: dark header, uppercase headings, chunky buttons */
.layout-bold .topbar { background: var(--ik-primary); }
.layout-bold .site-header { background: var(--ik-dark); }
.layout-bold .site-header .nav-link, .layout-bold .brand-text, .layout-bold .btn-lang { color: #fff; }
.layout-bold .brand-text small { color: rgba(255,255,255,.65); }
.layout-bold .site-header .nav-link:hover, .layout-bold .site-header .nav-link.active { background: rgba(255,255,255,.1); color: #fff; }
.layout-bold .navbar-toggler { color: #fff; }
.layout-bold .section-title h2, .layout-bold .page-header h1, .layout-bold .hero h1 { text-transform: uppercase; letter-spacing: .02em; }
.layout-bold .btn { text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.layout-bold .hero-slide::before { background: linear-gradient(135deg, rgba(var(--ik-primary-rgb), .9) 0%, rgba(15,23,42,.9) 70%); }
.layout-bold .section-muted { background: var(--ik-dark); }
.layout-bold .section-muted h2, .layout-bold .section-muted h3, .layout-bold .section-muted .section-title p { color: #fff; }
.layout-bold .section-muted .section-title p { opacity: .75; }
.layout-bold .stat-card { background: var(--ik-gradient); border: 0; }
.layout-bold .stat-card .num, .layout-bold .stat-card .label { color: #fff; }
@media (max-width: 991.98px) { .layout-bold .offcanvas .nav-link { color: var(--ik-heading); } }

/* Dark-mode adjustments */
[data-bs-theme="dark"] .site-header { background: #0f172a; }
[data-bs-theme="dark"] .brand-text, [data-bs-theme="dark"] .site-header .nav-link, [data-bs-theme="dark"] .btn-lang { color: #e2e8f0; }
[data-bs-theme="dark"] .hero-search { background: #172033; }
[data-bs-theme="dark"] .ribbon-featured { color: #fed7aa; }

/* Responsive */
@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .hero-slide { min-height: 680px; padding: 50px 0 340px; }
    .hero-search .divider { display: none; }
    .cta-band { padding: 2rem; }
    .stats-strip { margin-top: -40px; }
    .float-btn { width: 44px; height: 44px; right: 14px; font-size: 1.15rem; }
    .palette-switcher { right: 14px; }
    .float-whatsapp { right: 14px; }
}

@media print {
    .site-header, .topbar, .site-footer, .float-btn, .palette-switcher { display: none !important; }
}

/* Team members */
.team-card { background: var(--ik-surface); border-radius: var(--ik-radius); padding: 1.6rem 1.3rem; border: 1px solid var(--ik-border); box-shadow: var(--ik-shadow); text-align: center; height: 100%; }
.team-card img, .team-ph { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; }
.team-ph { display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 700; color: var(--ik-primary); background: rgba(var(--ik-primary-rgb), .1); }
.team-role { color: var(--ik-primary); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.team-contact li { display: flex; gap: .45rem; align-items: flex-start; justify-content: center; text-align: left; margin-bottom: .3rem; }
.team-contact i { color: var(--ik-primary); margin-top: .15rem; }

/* =====================================================================
   HOME — job portal layout
   ===================================================================== */
.eyebrow-left { color: var(--ik-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; display: block; margin-bottom: .35rem; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.list-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }

/* Hero */
.portal-hero { position: relative; color: #fff; padding: 72px 0 120px; overflow: hidden;
    background: radial-gradient(900px 420px at 85% 10%, rgba(var(--ik-primary-rgb), .35), transparent 60%), linear-gradient(160deg, var(--ik-secondary) 0%, var(--ik-dark) 100%); }
.portal-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img, none); background-size: cover; background-position: center; opacity: .12; mix-blend-mode: luminosity; }
.portal-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.portal-hero .container { z-index: 2; }
.portal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 1rem 0; }
.portal-hero .lead { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 600px; margin-bottom: 1.8rem; }
.portal-kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; border-radius: 50px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); font-size: .82rem; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; flex: 0 0 8px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.portal-search { display: flex; align-items: stretch; background: var(--ik-surface); border-radius: calc(var(--ik-radius) * 1.1); padding: .45rem; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); gap: .25rem; }
.ps-field { display: flex; align-items: center; gap: .35rem; padding: 0 .6rem; margin: 0; border-right: 1px solid var(--ik-border); min-width: 0; flex: 0 0 200px; color: var(--ik-primary); }
.ps-field.ps-grow { flex: 1 1 auto; min-width: 220px; }
.ps-field .form-select { padding-right: 1.8rem; background-position: right .3rem center; text-overflow: ellipsis; }
.ps-field .form-control, .ps-field .form-select { border: 0; background-color: transparent; box-shadow: none; padding-left: .3rem; color: var(--ik-heading); min-width: 0; }
.ps-btn { white-space: nowrap; padding-inline: 1.5rem; }
.portal-popular { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.1rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.portal-popular a { color: #fff; padding: .25rem .75rem; border-radius: 50px; border: 1px solid rgba(255,255,255,.22); transition: all .2s; }
.portal-popular a:hover { background: #fff; color: var(--ik-secondary); }
.portal-trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.portal-trust i { color: var(--ik-accent); margin-right: .35rem; }

.min-w-0 { min-width: 0; }

/* Stats band */
.portal-stats-wrap { margin-top: -56px; position: relative; z-index: 5; }
.portal-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: calc(var(--ik-radius) * 1.1); box-shadow: var(--ik-shadow-lg); }
.portal-stat { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.5rem; }
.portal-stat + .portal-stat { border-left: 1px solid var(--ik-border); }
.portal-stat > i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; background: rgba(var(--ik-primary-rgb), .09); color: var(--ik-primary); }
.portal-stat .num { font-family: var(--ik-font-heading); font-weight: 800; font-size: 1.6rem; color: var(--ik-heading); line-height: 1.1; }
.portal-stat .label { font-size: .82rem; }

/* Tabs + job rows */
.portal-tabs { gap: .3rem; background: var(--ik-muted-bg); padding: .3rem; border-radius: 50px; border: 1px solid var(--ik-border); }
.portal-tabs .nav-link { border-radius: 50px; color: var(--ik-text); font-weight: 600; font-size: .88rem; padding: .4rem 1rem; border: 0; background: none; }
.portal-tabs .nav-link.active { background: var(--ik-surface); color: var(--ik-primary); box-shadow: 0 2px 8px -3px rgba(15,23,42,.25); }
.portal-tabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50px; background: #fee2e2; color: #b91c1c; font-size: .7rem; margin-left: .2rem; }
.job-list { display: flex; flex-direction: column; gap: .75rem; }
.job-row { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.25rem; background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); transition: border-color .2s, box-shadow .2s; }
.job-row:hover { border-color: rgba(var(--ik-primary-rgb), .45); box-shadow: var(--ik-shadow); }
.job-row.is-featured { box-shadow: inset 3px 0 0 var(--ik-primary); }
.job-row-logo { width: 52px; height: 52px; flex: 0 0 52px; border-radius: calc(var(--ik-radius) * .75); object-fit: contain; border: 1px solid var(--ik-border); background: #fff; display: grid; place-items: center; color: var(--ik-primary); font-size: 1.3rem; padding: 4px; }
.job-row-main { flex: 1; min-width: 0; }
.job-row-title { font-size: 1.04rem; margin: 0; }
.job-row-title a { color: var(--ik-heading); }
.job-row-title a:hover { color: var(--ik-primary); }
.job-row-company { font-size: .88rem; margin-bottom: .4rem; }
.job-row-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .82rem; }
.job-row-meta i { color: var(--ik-primary); opacity: .85; }
.job-row-side { text-align: right; flex: 0 0 auto; }
.job-row-salary { font-weight: 700; color: var(--ik-heading); font-size: .92rem; white-space: nowrap; }
.job-row-date { font-size: .8rem; margin-top: .25rem; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 50px; position: relative; z-index: 2; }
.tag-urgent { background: #fee2e2; color: #b91c1c; }
.tag-featured { background: rgba(var(--ik-accent-rgb), .22); color: #9a3412; }

/* Sidebar */
.side-box { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); padding: 1.3rem; margin-bottom: 1.2rem; }
.side-box h3 { font-size: 1rem; margin-bottom: 1rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: .55rem .2rem; border-bottom: 1px dashed var(--ik-border); color: var(--ik-heading); font-weight: 500; font-size: .92rem; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--ik-primary); }
.side-links i { color: var(--ik-primary); margin-right: .3rem; }
.side-links .count, .city-chips span { background: var(--ik-muted-bg); border: 1px solid var(--ik-border); color: var(--ik-text); font-size: .74rem; font-weight: 700; border-radius: 50px; padding: .05rem .55rem; }
.city-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.city-chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .5rem .35rem .8rem; border: 1px solid var(--ik-border); border-radius: 50px; color: var(--ik-heading); font-size: .86rem; font-weight: 500; }
.city-chips a:hover { border-color: var(--ik-primary); color: var(--ik-primary); }
.side-notices { list-style: none; padding: 0; margin: 0 0 .8rem; }
.side-notices a { display: flex; gap: .55rem; padding: .45rem 0; color: var(--ik-heading); font-size: .9rem; }
.side-notices i { color: var(--ik-primary); }
.side-employer { background: linear-gradient(150deg, var(--ik-secondary), var(--ik-dark)); color: rgba(255,255,255,.8); border: 0; }
.side-employer > i { font-size: 1.8rem; color: var(--ik-accent); }
.side-employer h3 { color: #fff; margin: .6rem 0 .4rem; font-size: 1.15rem; }
.side-employer p { font-size: .9rem; }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1.25rem; border-radius: var(--ik-radius); background: var(--ik-surface); border: 1px solid var(--ik-border); color: var(--ik-heading); transition: all .25s; }
.cat-tile:hover { border-color: var(--ik-primary); box-shadow: var(--ik-shadow); color: var(--ik-heading); }
.cat-tile .cat-icon { width: 48px; height: 48px; flex-basis: 48px; font-size: 1.3rem; }
.cat-tile:hover .cat-icon { background: var(--ik-primary); color: #fff; }
.cat-name { font-weight: 700; font-family: var(--ik-font-heading); line-height: 1.3; }
.cat-count { margin-top: auto; font-size: .84rem; color: var(--ik-text); display: flex; justify-content: space-between; align-items: center; }
.cat-tile:hover .cat-count i { color: var(--ik-primary); transform: translateX(3px); }
.cat-count i { transition: transform .2s; }

/* Why us + steps */
.steps-card { background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: calc(var(--ik-radius) * 1.2); padding: 2rem; box-shadow: var(--ik-shadow); }
.steps-card h3 { font-size: 1.2rem; margin-bottom: 1.4rem; }
.steps-list { list-style: none; padding: 0; margin: 0 0 1.6rem; position: relative; }
.steps-list li { display: flex; gap: 1rem; padding-bottom: 1.2rem; position: relative; }
.steps-list li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--ik-border); }
.steps-list strong { color: var(--ik-heading); font-family: var(--ik-font-heading); }
.steps-list p { margin: .15rem 0 0; font-size: .9rem; }
.step-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--ik-primary-rgb), .1); color: var(--ik-primary); font-size: 1.1rem; }

/* Services list */
.svc-item { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.2rem; background: var(--ik-surface); border: 1px solid var(--ik-border); border-radius: var(--ik-radius); color: var(--ik-text); transition: all .25s; }
.svc-item:hover { border-color: var(--ik-primary); box-shadow: var(--ik-shadow); color: var(--ik-text); }
.svc-item strong { display: block; color: var(--ik-heading); font-family: var(--ik-font-heading); margin-bottom: .25rem; }
.svc-item small { display: block; line-height: 1.5; }
.svc-ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: calc(var(--ik-radius) * .75); display: grid; place-items: center; background: var(--ik-gradient); color: #fff; font-size: 1.2rem; }
.testimonial blockquote { font-size: .98rem; }
.logos-title { letter-spacing: .1em; color: var(--ik-text); font-size: .8rem; }

/* Dual CTA */
.dual-cta { height: 100%; border-radius: calc(var(--ik-radius) * 1.3); padding: 2.4rem; color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.dual-cta.seeker { background: var(--ik-gradient); }
.dual-cta.employer { background: linear-gradient(150deg, var(--ik-dark), var(--ik-secondary)); }
.dual-cta h2 { color: #fff; font-size: 1.5rem; margin: 1rem 0 .5rem; }
.dual-cta p { max-width: 440px; margin-bottom: 1.4rem; }
.dual-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: 1.4rem; color: #fff; }
.dual-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }

/* Layout variants & dark mode for the portal home */
.layout-minimal .portal-hero { background: var(--ik-secondary); }
.layout-bold .list-head h2 { text-transform: uppercase; }
[data-bs-theme="dark"] .job-row-logo { background: #0f172a; }
[data-bs-theme="dark"] .tag-featured { color: #fed7aa; }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

@media (max-width: 991.98px) {
    .portal-hero { padding: 48px 0 100px; }
    .portal-stats { grid-template-columns: repeat(2, 1fr); }
    .portal-stat:nth-child(3) { border-left: 0; }
    .portal-stat:nth-child(n+3) { border-top: 1px solid var(--ik-border); }
}
@media (max-width: 767.98px) {
    .portal-search { flex-direction: column; padding: .6rem; }
    .ps-field { flex: 1 1 auto; border-right: 0; border-bottom: 1px solid var(--ik-border); padding: .2rem .5rem; }
    .job-row { flex-wrap: wrap; }
    .job-row-side { width: 100%; text-align: left; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .8rem; padding-top: .6rem; border-top: 1px solid var(--ik-border); }
    .job-row-salary, .job-row-date { white-space: normal; }
    .job-row-date { margin-top: 0; }
    .portal-stat { padding: 1rem; gap: .6rem; }
    .portal-stat > i { display: none; }
    .dual-cta { padding: 1.8rem; }
}

/* Bold layout: header is dark, so header buttons need light text */
.layout-bold .btn-ghost, .layout-bold .btn-user { color: #fff; }
.layout-bold .btn-employer { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.layout-bold .nav-burger { background: transparent; border-color: rgba(255,255,255,.3); }
.layout-bold .nav-burger span { background: #fff; }
@media (max-width: 991.98px) { .layout-bold .offcanvas .btn-ghost, .layout-bold .offcanvas .btn-employer, .layout-bold .offcanvas .btn-user { color: var(--ik-heading); border-color: var(--ik-border); } }
.main-nav .nav-link:focus:not(:focus-visible) { box-shadow: none; }

/* Rich content from the CKEditor (pages, posts, jobs, services…) */
.rich-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.rich-content h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.rich-content h4 { font-size: 1.08rem; }
.rich-content blockquote { border-left: 4px solid var(--ik-primary); background: rgba(var(--ik-primary-rgb), .04); padding: .9rem 1.2rem; margin: 1.4rem 0; border-radius: 0 var(--ik-radius) var(--ik-radius) 0; font-style: italic; }
.rich-content blockquote p:last-child { margin-bottom: 0; }
.rich-content hr { margin: 2rem 0; opacity: .15; }
.rich-content figure { margin: 1.4rem 0; }
.rich-content figure.image { display: table; margin-inline: auto; }
.rich-content figure.image img { display: block; width: 100%; height: auto; }
.rich-content figure.image_resized { max-width: 100%; }
.rich-content figure.image-style-side { float: right; max-width: 50%; margin: .3rem 0 1rem 1.5rem; }
.rich-content figcaption { display: table-caption; caption-side: bottom; text-align: center; font-size: .85rem; color: var(--ik-text); opacity: .8; padding-top: .5rem; }
.rich-content figure.table { overflow-x: auto; display: block; }
.rich-content figure.table table { min-width: 480px; }
.rich-content table th { background: var(--ik-muted-bg); font-weight: 600; color: var(--ik-heading); }
.rich-content::after { content: ""; display: table; clear: both; }
.rich-embed { border-radius: var(--ik-radius); overflow: hidden; background: #000; }
@media (max-width: 575.98px) { .rich-content figure.image-style-side { float: none; max-width: 100%; margin: 1rem 0; } }
