/*
Theme Name: ixeJobs
Theme URI: https://ixejobs.com/
Author: ixeJobs
Author URI: https://ixejobs.com/
Description: A fast, clean, SEO-optimised and AdSense-ready job board theme built for the gemini_job post type (Job Categories & Job Types). Modern homepage with search, category grid and latest jobs; filterable archives; rich single-job pages with JobPosting schema; built-in AdSense slots, ads.txt, cookie notice and auto-generated legal pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ixejobs
Tags: blog, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--ixe-primary: #4f46e5;
	--ixe-primary-dark: #4338ca;
	--ixe-primary-soft: #eef2ff;
	--ixe-hero: #eef2ff;
	--ixe-bg: #f8fafc;
	--ixe-surface: #ffffff;
	--ixe-text: #0f172a;
	--ixe-muted: #64748b;
	--ixe-border: #e2e8f0;
	--ixe-success: #059669;
	--ixe-warn: #d97706;
	--ixe-danger: #dc2626;
	--ixe-radius: 14px;
	--ixe-radius-sm: 8px;
	--ixe-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px -4px rgba(15, 23, 42, .08);
	--ixe-shadow-lg: 0 10px 30px -10px rgba(79, 70, 229, .25);
	--ixe-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--ixe-container: 1200px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ixe-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ixe-text);
	background: var(--ixe-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ixe-primary); text-decoration: none; }
a:hover { color: var(--ixe-primary-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(100% - 2rem, var(--ixe-container)); margin-inline: auto; }
.container.narrow { max-width: 800px; }
.text-center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; padding: .75rem 1rem; background: var(--ixe-text); color: #fff; z-index: 1000; border-radius: var(--ixe-radius-sm); }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
:focus-visible { outline: 3px solid var(--ixe-primary); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   3. Buttons, chips, badges
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .7rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
	border: 1px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
	transition: background .15s, color .15s, box-shadow .15s, transform .1s;
}
.btn--primary { background: var(--ixe-primary); color: #fff; box-shadow: var(--ixe-shadow-lg); }
.btn--primary:hover { background: var(--ixe-primary-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--ixe-border); background: var(--ixe-surface); color: var(--ixe-text); }
.btn--outline:hover { border-color: var(--ixe-primary); color: var(--ixe-primary); }
.btn--ghost { background: transparent; color: var(--ixe-text); }
.btn--ghost:hover { background: var(--ixe-border); }
.btn--disabled { background: var(--ixe-border); color: var(--ixe-muted); cursor: not-allowed; }
.btn--sm { padding: .5rem .9rem; font-size: .875rem; }
.btn--lg { padding: .9rem 1.6rem; font-size: 1.05rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
	display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px;
	background: var(--ixe-surface); border: 1px solid var(--ixe-border); color: var(--ixe-text); font-size: .85rem; font-weight: 500;
}
.chip:hover { border-color: var(--ixe-primary); color: var(--ixe-primary); }
.chip span { color: var(--ixe-muted); font-size: .75rem; }

.job-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.badge--type { background: var(--ixe-primary-soft); color: var(--ixe-primary-dark); }
.badge--remote { background: #ecfdf5; color: var(--ixe-success); }
.badge--new { background: #fff7ed; color: var(--ixe-warn); }
.badge--expired { background: #fef2f2; color: var(--ixe-danger); }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header { background: var(--ixe-surface); border-bottom: 1px solid var(--ixe-border); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.site-branding .custom-logo { max-height: 44px; width: auto; }
.site-logo-text { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.3rem; color: var(--ixe-text); letter-spacing: -.02em; }
.site-logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ixe-primary); color: #fff; }
.site-logo-mark .icon { width: 20px; height: 20px; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--ixe-text); font-weight: 500; font-size: .95rem; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a { background: var(--ixe-primary-soft); color: var(--ixe-primary-dark); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius-sm); box-shadow: var(--ixe-shadow); display: none; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ixe-border); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ixe-surface); border-bottom: 1px solid var(--ixe-border); padding: .75rem 1rem 1rem; box-shadow: var(--ixe-shadow); }
	.nav-open .main-nav { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav .menu a { padding: .75rem .9rem; }
	.main-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding-left: 1rem; }
}

/* ==========================================================================
   5. Hero & homepage
   ========================================================================== */
.hero { background: radial-gradient(1200px 400px at 50% -50%, #c7d2fe 0%, var(--ixe-hero) 55%, var(--ixe-bg) 100%); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); text-align: center; }
.hero__title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .5rem; }
.hero__sub { color: var(--ixe-muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 640px; margin: 0 auto 1.75rem; }
.hero-search {
	display: grid; grid-template-columns: 1.6fr 1fr auto; gap: .5rem; max-width: 860px; margin: 0 auto;
	padding: .5rem; background: var(--ixe-surface); border-radius: 16px; box-shadow: var(--ixe-shadow-lg); border: 1px solid var(--ixe-border);
}
.hero-search__field { display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; border-radius: 10px; background: var(--ixe-bg); color: var(--ixe-muted); }
.hero-search__field input, .hero-search__field select { flex: 1; border: 0; background: transparent; padding: .9rem 0; min-width: 0; outline: none; color: var(--ixe-text); }
.hero-search__field select { cursor: pointer; appearance: none; -webkit-appearance: none; }
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.25rem; color: var(--ixe-muted); font-size: .9rem; }
@media (max-width: 760px) {
	.hero-search { grid-template-columns: 1fr; }
	.hero-search .btn { width: 100%; }
}

.stats { background: var(--ixe-surface); border-block: 1px solid var(--ixe-border); }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 1.25rem .5rem; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--ixe-primary); letter-spacing: -.02em; }
.stat span { color: var(--ixe-muted); font-size: .9rem; }
.stat + .stat { border-left: 1px solid var(--ixe-border); }
@media (max-width: 640px) { .stats__inner { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--ixe-border); } }

.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section__head h2 { margin: 0; }
.section__more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .95rem; }
.section__cta { text-align: center; margin-top: 2rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.cat-card {
	display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem; background: var(--ixe-surface); border: 1px solid var(--ixe-border);
	border-radius: var(--ixe-radius); color: var(--ixe-text); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--ixe-shadow-lg); border-color: #c7d2fe; color: var(--ixe-text); }
.cat-card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ixe-primary-soft); color: var(--ixe-primary); margin-bottom: .35rem; }
.cat-card__icon svg { width: 22px; height: 22px; }
.cat-card__name { font-weight: 700; }
.cat-card__count { color: var(--ixe-muted); font-size: .85rem; }

.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.how-card { background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); padding: 1.5rem; }
.how-card__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ixe-primary); color: #fff; font-weight: 700; margin-bottom: .75rem; }
.how-card p { color: var(--ixe-muted); margin: 0; }
.about-strip { background: var(--ixe-surface); border-top: 1px solid var(--ixe-border); }

/* ==========================================================================
   6. Layout, page heads
   ========================================================================== */
.page-head { background: var(--ixe-surface); border-bottom: 1px solid var(--ixe-border); padding: 1.5rem 0 1.75rem; }
.page-title { margin: .25rem 0 0; }
.page-head__desc { color: var(--ixe-muted); margin: .5rem 0 0; max-width: 760px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--ixe-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--ixe-border); }
.breadcrumbs a { color: var(--ixe-muted); }
.breadcrumbs a:hover { color: var(--ixe-primary); }
.breadcrumbs span { color: var(--ixe-text); font-weight: 500; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.layout--full, .no-sidebar .layout { grid-template-columns: minmax(0, 1fr); }
.layout--full .layout__main { max-width: 860px; }
.layout__side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } .layout__side { position: static; } }

/* ==========================================================================
   7. Filter bar & job lists
   ========================================================================== */
.filter-bar {
	display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr auto auto; gap: .5rem; align-items: center;
	padding: .75rem; background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); margin-bottom: 1rem;
}
.filter-bar__field { display: flex; align-items: center; gap: .5rem; padding: 0 .75rem; background: var(--ixe-bg); border-radius: 10px; color: var(--ixe-muted); min-width: 0; }
.filter-bar__field input, .filter-bar__field select { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 0; outline: none; color: var(--ixe-text); }
.filter-bar__reset { font-size: .85rem; color: var(--ixe-muted); }
@media (max-width: 900px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-bar__search { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filter-bar { grid-template-columns: 1fr; } }
.results-count { color: var(--ixe-muted); font-size: .9rem; margin: 0 0 1rem; }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.jobs-grid--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.jobs-list { display: flex; flex-direction: column; gap: .75rem; }

.job-card {
	position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; background: var(--ixe-surface);
	border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--ixe-shadow-lg); border-color: #c7d2fe; }
.job-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.job-card a:not(.job-card__link), .job-card .badge { position: relative; z-index: 2; }
.job-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.job-card__logo img, .job-card__logo .company-avatar, .job-row__logo img, .job-row__logo .company-avatar, .job-head__logo img, .job-head__logo .company-avatar { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--ixe-border); background: #fff; }
.company-avatar { display: inline-grid; place-items: center; font-weight: 700; font-size: 1.1rem; color: hsl(var(--h, 240) 60% 35%); background: hsl(var(--h, 240) 80% 94%) !important; }
.job-card__title { font-size: 1.05rem; margin: .25rem 0 0; }
.job-card__title a { color: var(--ixe-text); }
.job-card__title a:hover { color: var(--ixe-primary); }
.job-card__company { color: var(--ixe-muted); margin: 0; font-size: .92rem; font-weight: 500; }
.job-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; color: var(--ixe-muted); font-size: .88rem; }
.job-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.job-meta .icon { color: var(--ixe-primary); opacity: .8; }
.job-card__footer { margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--ixe-border); display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ixe-muted); }
.job-card__cta { display: inline-flex; align-items: center; gap: .25rem; color: var(--ixe-primary); font-weight: 600; }
.job-card--expired, .job-row--expired { opacity: .7; }
.post-card__thumb img { border-radius: 10px; aspect-ratio: 3/2; object-fit: cover; margin-bottom: .5rem; }

.job-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); }
.job-row:hover { border-color: #c7d2fe; box-shadow: var(--ixe-shadow); }
.job-row__title { margin: 0 0 .25rem; font-size: 1.05rem; }
.job-row__title a { color: var(--ixe-text); }
.job-row__body { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.job-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; font-size: .82rem; color: var(--ixe-muted); }
@media (max-width: 600px) { .job-row { grid-template-columns: auto 1fr; } .job-row__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

.pagination, .navigation.pagination { margin: 2rem 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.nav-links .page-numbers { display: inline-flex; align-items: center; min-width: 40px; height: 40px; padding: 0 .8rem; justify-content: center; border-radius: 10px; border: 1px solid var(--ixe-border); background: var(--ixe-surface); color: var(--ixe-text); font-weight: 500; }
.nav-links .page-numbers.current { background: var(--ixe-primary); border-color: var(--ixe-primary); color: #fff; }
.nav-links .page-numbers:hover:not(.current):not(.dots) { border-color: var(--ixe-primary); color: var(--ixe-primary); }
.nav-links .dots { border: 0; background: none; }

.no-results { text-align: center; padding: 3rem 1rem; background: var(--ixe-surface); border: 1px dashed var(--ixe-border); border-radius: var(--ixe-radius); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.no-results__icon { width: 48px; height: 48px; color: var(--ixe-muted); }
.no-results p { color: var(--ixe-muted); margin: 0; }
.no-results .chips { justify-content: center; }
.seo-text { margin-top: 2.5rem; padding: 1.5rem; background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); color: var(--ixe-muted); }
.seo-text h2 { font-size: 1.15rem; color: var(--ixe-text); }
.seo-text p { margin: 0; }

/* ==========================================================================
   8. Single job
   ========================================================================== */
.page-head--job { padding-bottom: 2rem; }
.job-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; margin-top: 1rem; }
.job-head__logo img, .job-head__logo .company-avatar { width: 72px; height: 72px; border-radius: 16px; font-size: 1.5rem; }
.job-head__title { margin: .35rem 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.job-head__date { display: inline-flex; align-items: center; gap: .4rem; color: var(--ixe-muted); font-size: .88rem; margin: .5rem 0 0; }
.job-head__date .icon { color: var(--ixe-primary); }
@media (max-width: 760px) { .job-head { grid-template-columns: auto 1fr; } .job-head__cta { grid-column: 1 / -1; } .job-head__cta .btn { width: 100%; } }

.job-single { display: flex; flex-direction: column; gap: 1.5rem; }
.quick-facts { background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); padding: 1.25rem 1.5rem; }
.quick-facts__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ixe-muted); margin-bottom: 1rem; }
.quick-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.quick-facts dt { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ixe-muted); font-weight: 500; }
.quick-facts dt .icon { color: var(--ixe-primary); }
.quick-facts dd { margin: .2rem 0 0; font-weight: 600; }

.entry-content { background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); padding: clamp(1.25rem, 3vw, 2.25rem); font-size: 1.04rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.75em; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.35rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content img { border-radius: var(--ixe-radius-sm); }
.entry-content .gajp-intro { font-size: 1.1rem; color: var(--ixe-muted); border-left: 4px solid var(--ixe-primary); padding-left: 1rem; }
.entry-content blockquote { border-left: 4px solid var(--ixe-primary); margin: 1.5rem 0; padding: .5rem 1.25rem; color: var(--ixe-muted); background: var(--ixe-bg); border-radius: 0 var(--ixe-radius-sm) var(--ixe-radius-sm) 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--ixe-border); padding: .6rem .8rem; text-align: left; }
.entry-content .alignwide { margin-inline: -1rem; max-width: none; width: auto; }
.wp-block-image figcaption { color: var(--ixe-muted); font-size: .85rem; text-align: center; }

.apply-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem; background: linear-gradient(135deg, var(--ixe-primary-soft), #fff); border: 1px solid #c7d2fe; border-radius: var(--ixe-radius); }
.apply-box h2 { font-size: 1.2rem; margin-bottom: .25rem; }
.apply-box p { margin: 0; color: var(--ixe-muted); font-size: .92rem; }
@media (max-width: 640px) { .apply-box { flex-direction: column; align-items: stretch; text-align: center; } }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.share__label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; margin-right: .25rem; }
.share__btn { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .8rem; border-radius: 8px; border: 1px solid var(--ixe-border); background: var(--ixe-surface); color: var(--ixe-text); font-size: .85rem; cursor: pointer; }
.share__btn:hover { border-color: var(--ixe-primary); color: var(--ixe-primary); }
.job-disclaimer { font-size: .82rem; color: var(--ixe-muted); margin: 0; }
.related h2 { margin-bottom: 1rem; }

.sticky-apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ixe-surface); border-top: 1px solid var(--ixe-border); box-shadow: 0 -4px 20px rgba(15, 23, 42, .08); transform: translateY(100%); transition: transform .25s; }
.sticky-apply.is-visible { transform: none; }
.sticky-apply .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; }
.sticky-apply__title { font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.has-sticky-apply { padding-bottom: 64px; }

/* ==========================================================================
   9. Sidebar & widgets
   ========================================================================== */
.widget { background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); padding: 1.25rem; }
.widget-title { font-size: 1rem; margin-bottom: .9rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.cat-list li + li { border-top: 1px solid var(--ixe-border); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; color: var(--ixe-text); font-size: .93rem; }
.cat-list a:hover { color: var(--ixe-primary); }
.cat-list .count { background: var(--ixe-bg); border-radius: 999px; padding: .1rem .55rem; font-size: .75rem; color: var(--ixe-muted); }
.widget-more { display: inline-block; margin-top: .75rem; font-weight: 600; font-size: .9rem; }
.recent-jobs li + li { border-top: 1px solid var(--ixe-border); }
.recent-jobs a { display: block; padding: .6rem 0; color: var(--ixe-text); }
.recent-jobs strong { display: block; font-size: .93rem; }
.recent-jobs small { color: var(--ixe-muted); }
.recent-jobs a:hover strong { color: var(--ixe-primary); }
.search-form { display: flex; gap: .5rem; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: .7rem .9rem; border: 1px solid var(--ixe-border); border-radius: 10px; background: var(--ixe-surface); }
.search-submit { display: inline-grid; place-items: center; width: 44px; border-radius: 10px; border: 0; background: var(--ixe-primary); color: #fff; cursor: pointer; }

/* ==========================================================================
   10. Ads
   ========================================================================== */
.ad-slot { margin: 1.25rem auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-slot__label { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ixe-muted); margin-bottom: .25rem; }
.ad-slot__placeholder { background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 10px, #e2e8f0 10px, #e2e8f0 20px); color: var(--ixe-muted); font-size: .8rem; padding: 2.5rem 1rem; border-radius: var(--ixe-radius-sm); border: 1px dashed var(--ixe-border); }
.ad-slot--header, .ad-slot--footer { padding: 0 1rem; max-width: var(--ixe-container); }
.ad-slot--in_feed { grid-column: 1 / -1; }
.ad-slot--sidebar { margin: 0; }
.ad-slot .adsbygoogle { min-height: 90px; }

/* ==========================================================================
   11. Cookie notice, back to top, notices, forms
   ========================================================================== */
.cookie-notice {
	position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 640px; margin-inline: auto;
	background: var(--ixe-text); color: #e2e8f0; border-radius: var(--ixe-radius); padding: 1rem 1.25rem; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .4);
	display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: .9rem;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; flex: 1 1 320px; }
.cookie-notice a { color: #a5b4fc; text-decoration: underline; }
.cookie-notice__actions { display: flex; gap: .5rem; }
.cookie-notice .btn--ghost { color: #e2e8f0; }
.cookie-notice .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.back-to-top { position: fixed; right: 1rem; bottom: 5rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ixe-surface); color: var(--ixe-primary); box-shadow: var(--ixe-shadow); cursor: pointer; font-size: 1.2rem; z-index: 80; }
.back-to-top[hidden] { display: none; }

.notice-box { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--ixe-radius-sm); font-size: .93rem; }
.notice-box .icon { flex: none; margin-top: .15rem; }
.notice-box--warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.notice-box--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice-box--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.contact-form form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .92rem; }
.contact-form input, .contact-form textarea { padding: .75rem .9rem; border: 1px solid var(--ixe-border); border-radius: 10px; background: var(--ixe-surface); font-weight: 400; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { align-self: flex-start; }
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. Pages, posts, comments, 404
   ========================================================================== */
.page-single .page-thumb img { border-radius: var(--ixe-radius); margin-bottom: 1.5rem; }
.post-meta { color: var(--ixe-muted); font-size: .9rem; margin: .5rem 0 0; }
.comments-area { margin-top: 2rem; background: var(--ixe-surface); border: 1px solid var(--ixe-border); border-radius: var(--ixe-radius); padding: 1.5rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.comment-list .comment { padding: 1rem 0; border-bottom: 1px solid var(--ixe-border); }
.comment-list .children { list-style: none; padding-left: 2rem; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--ixe-border); border-radius: 10px; }
.comment-form .submit { background: var(--ixe-primary); color: #fff; border: 0; padding: .7rem 1.25rem; border-radius: 10px; font-weight: 600; cursor: pointer; }
.error-404 { text-align: center; padding: 4rem 1rem; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.error-404__code { font-size: 6rem; font-weight: 800; line-height: 1; color: var(--ixe-primary-soft); margin: 0; -webkit-text-stroke: 2px var(--ixe-primary); }
.error-404 .search-form { width: 100%; max-width: 420px; }
.error-404 .chips { justify-content: center; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer { background: var(--ixe-surface); border-top: 1px solid var(--ixe-border); margin-top: 2rem; padding: 3rem 0 1.5rem; color: var(--ixe-muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col .widget { border: 0; padding: 0; background: none; }
.footer-col .custom-logo { max-height: 40px; width: auto; margin-bottom: .75rem; }
.footer-col .site-logo-text { margin-bottom: .75rem; }
.footer-col .widget-title { color: var(--ixe-text); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: var(--ixe-muted); }
.footer-links a:hover { color: var(--ixe-primary); }
.footer-contact { display: flex; align-items: center; gap: .4rem; }
.social-links { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.social-links a { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--ixe-border); border-radius: 999px; color: var(--ixe-text); font-size: .82rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ixe-border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom .copyright { margin: 0; }
.menu--legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.menu--legal a { color: var(--ixe-muted); }
.menu--legal a:hover { color: var(--ixe-primary); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   14. Utilities / WP core
   ========================================================================== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky {}
.bypostauthor {}
.gallery-caption {}
@media print { .site-header, .site-footer, .ad-slot, .cookie-notice, .sticky-apply, .back-to-top, .share, .layout__side { display: none !important; } .layout { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
