/* Dohaj.com — new frontend design. Mobile first, no framework. */

:root {
    --brand: #008cc9;
    --brand-600: #0077ab;
    --brand-700: #005f89;
    --brand-50: #e8f6fc;
    --brand-100: #cdeaf7;
    --accent: #ff8a3d;
    --ink: #0f1d2b;
    --ink-2: #33475b;
    --muted: #6b7c8f;
    --line: #e3e9ef;
    --bg: #ffffff;
    --bg-soft: #f4f8fb;
    --success: #12805c;
    --danger: #d23f3f;
    --warning: #b85f00;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 29, 43, .06), 0 1px 3px rgba(15, 29, 43, .05);
    --shadow: 0 6px 24px -8px rgba(15, 29, 43, .16);
    --shadow-lg: 0 18px 50px -18px rgba(0, 95, 137, .35);
    --container: 1200px;
    --gutter: 16px;
    --header-h: 64px;
    --font: "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }
.visually-hidden {
    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 {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 46px; padding: .6em 1.15em; border-radius: 999px;
    font-weight: 600; font-size: .98rem; line-height: 1.2; border: 1.5px solid transparent;
    transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn-outline { background: #fff; color: var(--brand-700); border-color: var(--brand-100); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-700); }

.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: transparent; border-radius: 12px; color: var(--ink);
    transition: background-color .2s;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn.round { border: 1px solid var(--line); background: #fff; border-radius: 999px; width: 40px; height: 40px; }
.icon-btn.round .icon { width: 20px; height: 20px; }

/* Top announcement bar */
.topbar {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .5rem var(--gutter); background: linear-gradient(90deg, #0a3d57, var(--brand-700));
    color: #e9f7fd; font-size: .9rem; text-align: center;
}
.topbar > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.topbar-cta { display: none; align-items: center; gap: .3rem; font-weight: 600; color: #fff; white-space: nowrap; }
.topbar:hover .topbar-cta .icon { transform: translateX(3px); }
.topbar .icon { transition: transform .2s var(--ease); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50; isolation: isolate;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would trap the fixed mobile drawer inside it. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.brand-mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), #00b3e6); color: #fff; font-size: 1.15rem;
    box-shadow: 0 6px 14px -6px var(--brand);
}
.brand-name { font-size: 1.35rem; letter-spacing: -.01em; color: var(--ink); }
.brand-name span { color: var(--brand); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name span { color: #7fd3f5; }

.main-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(86vw, 340px);
    background: #fff; padding: 1rem; overflow-y: auto;
    clip-path: inset(0 0 0 100%); transition: clip-path .32s var(--ease), visibility .32s; visibility: hidden;
    box-shadow: -20px 0 60px -20px rgba(15, 29, 43, .35);
}
.main-nav.is-open { clip-path: inset(0 0 0 -60px); visibility: visible; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.nav-list { display: flex; flex-direction: column; gap: .25rem; }
.nav-link {
    display: flex; align-items: center; justify-content: space-between; gap: .4rem; width: 100%;
    padding: .75rem .9rem; border: 0; background: none; border-radius: 10px;
    font-weight: 600; font-size: 1rem; text-align: left; color: var(--ink-2);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--brand-50); color: var(--brand-700); }
.nav-link .chevron { transition: transform .2s; }
.nav-link[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.dropdown { display: none; padding: .25rem 0 .5rem .5rem; }
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a { display: block; padding: .5rem .9rem; border-radius: 8px; color: var(--ink-2); font-size: .95rem; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand-700); }
.nav-backdrop { position: fixed; inset: 0; z-index: 48; background: rgba(9, 22, 33, .45); opacity: 0; transition: opacity .3s; }
.nav-backdrop.is-visible { opacity: 1; }

/* Hero */
.hero {
    /* Only sideways clipping: the search suggestions must be able to hang below the hero. */
    position: relative; overflow-x: clip; color: #fff;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(0, 179, 230, .55), transparent 60%),
        radial-gradient(800px 400px at -10% 110%, rgba(255, 138, 61, .25), transparent 60%),
        linear-gradient(160deg, #063a55 0%, var(--brand-700) 45%, var(--brand) 100%);
    padding: 2.5rem 0 2.75rem;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
    background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 2rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .8rem; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: .85rem;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5cf2a5; box-shadow: 0 0 0 0 rgba(92, 242, 165, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92, 242, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 242, 165, 0); } }
.hero h1 { margin-top: 1rem; font-size: clamp(1.75rem, 6.2vw, 3.1rem); letter-spacing: -.01em; }
.highlight { background: linear-gradient(90deg, #ffd27a, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: .85rem; font-size: clamp(1rem, 2.6vw, 1.15rem); color: #d6eef9; max-width: 46ch; }

.hero-search {
    position: relative; display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem;
    background: #fff; color: var(--ink); border-radius: 16px; padding: .35rem .5rem .35rem 1rem;
    box-shadow: var(--shadow-lg); max-width: 620px;
}
.hero-search > .icon { color: var(--muted); width: 22px; height: 22px; }
.hero-search input {
    flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 1rem; color: var(--ink);
}
.hero-search input::placeholder { color: #8a99a8; }
.hero-search input::-webkit-search-cancel-button { display: none; }
.hero-search:focus-within { box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 255, 255, .35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.hero-actions .btn { flex: 1 1 auto; }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; align-self: end; }
.hero-stats li {
    padding: .7rem .5rem; border-radius: var(--radius); text-align: center;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-stats strong { display: block; font-size: clamp(1.25rem, 5vw, 2rem); line-height: 1.1; }
.hero-stats span { display: block; margin-top: .2rem; color: #cde9f6; font-size: .78rem; line-height: 1.3; }

/* Sections */
.section { padding: 2.75rem 0; }
.section-tint { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head.compact { margin-bottom: .75rem; align-items: center; }
.section-head h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); }
.section-head.compact h2 { font-size: 1.25rem; }
.section-kicker { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.section-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--brand-700); font-weight: 600; font-size: .95rem; }
.section-link .icon { transition: transform .2s var(--ease); }
.section-link:hover .icon { transform: translateX(3px); }
.empty-note { margin-top: 1rem; padding: 1rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Government office chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
    display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .55rem .5rem .95rem;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; color: var(--ink-2);
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), color .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-700); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
/* Office chips start with the government logo. */
.chip.has-logo { padding-left: .45rem; }
.chip-logo { flex: none; width: 22px; height: 22px; border-radius: 50%; object-fit: contain; }
.chip-count { min-width: 28px; padding: .05rem .5rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .88rem; line-height: 1.5; text-align: center; }
/* Counts stand out a little from the words around them. */
.num { font-size: 1.08em; font-weight: 700; line-height: 1; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.category-card {
    position: relative; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto;
    column-gap: .85rem; align-items: center; height: 100%;
    padding: .8rem .85rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.category-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.category-icon { display: none; grid-row: span 2; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); transition: background-color .2s, color .2s; }
.category-card:hover .category-icon { background: var(--brand); color: #fff; }
.category-name { font-weight: 600; font-size: .95rem; line-height: 1.35; overflow-wrap: break-word; }
.category-count { color: var(--muted); font-size: .85rem; }
.category-arrow { display: none; grid-row: 1 / span 2; grid-column: 3; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.category-card:hover .category-arrow { color: var(--brand); transform: translateX(3px); }
[data-expandable]:not(.is-expanded) .is-extra { display: none; }
[hidden] { display: none !important; }
[data-expandable] .center { margin-top: 1.25rem; }

/* Ads */
.ad-slot { padding-block: 1rem; min-height: 120px; }

/* Tabs + job lists */
.tabs {
    position: sticky; top: calc(var(--header-h) + 8px); z-index: 5;
    display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .3rem; margin-bottom: 1rem;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
}
.tab { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.tab.is-active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.js .job-panel:not(.is-active) { display: none; }
.job-columns { display: grid; gap: 1.5rem; }
.job-list { display: grid; gap: .65rem; }

.job-card-link {
    display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start;
    padding: .95rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.job-card-link:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card-link:hover .job-card-title { color: var(--brand-700); }
.job-card-logo {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--brand);
}
.job-card-logo.is-image { background: #fff; border: 1px solid var(--line); padding: 4px; object-fit: contain; }
.tint-0 { background: linear-gradient(135deg, #008cc9, #00b3e6); }
.tint-1 { background: linear-gradient(135deg, #7c4dff, #b388ff); }
.tint-2 { background: linear-gradient(135deg, #12805c, #34c38f); }
.tint-3 { background: linear-gradient(135deg, #e8590c, #ff922b); }
.tint-4 { background: linear-gradient(135deg, #c2255c, #f06595); }
.tint-5 { background: linear-gradient(135deg, #1c4e80, #4c8ac9); }
.job-card-body { min-width: 0; }
.job-card-title { font-size: 1.02rem; font-weight: 600; line-height: 1.4; transition: color .2s; overflow-wrap: break-word; }
.job-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin-top: .35rem; color: var(--muted); font-size: .88rem; }
.job-meta > span { display: inline-flex; align-items: center; gap: .3rem; min-width: 0; }
.job-card-link .badge { grid-column: 2; justify-self: start; }

.badge {
    display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600; white-space: nowrap; background: var(--bg-soft); color: var(--ink-2);
}
.badge.small { font-size: .76rem; padding: .1rem .5rem; }
.badge-normal { background: var(--brand-50); color: var(--brand-700); }
.badge-urgent { background: #fff1e6; color: var(--warning); }
.badge-today { background: #fdecec; color: var(--danger); }
.badge-closed { background: #eef1f4; color: var(--muted); }

/* Companies: cards in rows, all visible (1 / 2 / 3 per row) */
.company-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; align-items: start; }
.company-card {
    display: flex; flex-direction: column;
    padding: 1.1rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.company-card-head { display: flex; align-items: center; gap: .8rem; padding-bottom: .85rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.company-card-head h3 { font-size: 1.05rem; line-height: 1.35; }
.company-card-head h3 a:hover { color: var(--brand-700); }
.company-jobs li + li { border-top: 1px dashed var(--line); }
.company-jobs a { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .6rem 0; }
.company-jobs a:hover .company-job-title { color: var(--brand-700); }
.company-job-title { font-size: .95rem; line-height: 1.4; color: var(--ink-2); overflow-wrap: break-word; }
.company-jobs { overflow: hidden; }
.js [data-collapsible]:not(.is-open) .is-extra-job { display: none; }
[data-collapsible].is-open .is-extra-job { animation: job-in .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes job-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
[data-collapsible] { overflow: hidden; }
[data-collapsible].is-animating { transition: height .35s var(--ease); }
.company-more {
    display: none; align-items: center; justify-content: center; gap: .45rem; width: 100%; margin-top: auto;
    padding: .65rem .9rem; border: 1px solid var(--brand-100); border-radius: 12px;
    background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: .93rem;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.js .company-more { display: flex; }
.company-more:hover { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px var(--brand); }
.company-more .chevron { transition: transform .3s var(--ease); }
.company-more[aria-expanded="true"] { background: #fff; border-color: var(--line); color: var(--ink-2); }
.company-more[aria-expanded="true"]:hover { background: var(--bg-soft); color: var(--brand-700); box-shadow: none; }
.company-more[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.company-jobs + .company-more { margin-top: .6rem; }
/* "সব X টি চাকরি দেখুন" on a home company card: a link to the company page, shown without JavaScript too */
a.company-more { display: flex; }
.company-load-more { display: flex; flex-direction: column; align-items: center; gap: .65rem; margin-top: 1.5rem; text-align: center; }
.company-load-more .btn { min-width: min(100%, 260px); }
.company-load-more .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.company-load-more .btn .icon { transition: transform .3s var(--ease); }
.company-load-more .btn.is-done .icon { transform: rotate(-90deg); }

/* Divisions */
.division-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.division-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; background: var(--brand-700); }
.division-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.division-card:hover img { transform: scale(1.06); }
.division-overlay {
    position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: .15rem;
    padding: 2.5rem 1rem 1rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(5, 25, 38, .88));
}
.division-overlay h3 { font-size: 1.25rem; }
.division-overlay span { font-size: .92rem; color: #d9eef8; }

/* Telegram call to action */
.telegram-cta {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
    margin: 1rem 0 2.5rem; padding: 1.25rem; border-radius: var(--radius-lg); color: #fff;
    background: linear-gradient(120deg, #1d8fd6, #26a5e4 55%, #4cc3f2);
    box-shadow: var(--shadow-lg); transition: transform .25s var(--ease);
}
.telegram-cta:hover { transform: translateY(-2px); }
.telegram-cta-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .2); }
.telegram-cta-icon .icon { width: 28px; height: 28px; }
.telegram-cta-text { display: flex; flex-direction: column; gap: .15rem; }
.telegram-cta-text strong { font-size: 1.02rem; line-height: 1.4; }
.telegram-cta-text span { color: #e6f6ff; font-size: .92rem; }
.telegram-cta .btn { grid-column: 1 / -1; }

/* Footer */
.site-footer { background: #0b2231; color: #b8c9d6; }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.75rem; }
.footer-about p { margin-top: .85rem; max-width: 36ch; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--brand); transform: translateY(-2px); }
.footer-links h2 { font-size: 1rem; color: #fff; margin-bottom: .75rem; }
.footer-links li + li { margin-top: .45rem; }
.footer-links a:hover { color: #fff; }
.footer-youtube { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s; }
.footer-youtube:hover { background: rgba(255, 255, 255, .1); }
.footer-youtube-head { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; }
.footer-youtube-head .icon { color: #ff4e45; width: 26px; height: 26px; }
.footer-bottom { padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-right: 4.25rem; }
@media (min-width: 768px) { .footer-bottom-inner { padding-right: 0; } }
.page-timer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #b9d3e3; font-size: .82rem; font-variant-numeric: tabular-nums; }
.page-timer .icon { width: 15px; height: 15px; }
.page-timer strong { color: #fff; }
.page-timer-part { white-space: nowrap; }

/* Job details */
.job-top { background: linear-gradient(180deg, var(--brand-50), #fff 85%); padding: 1rem 0 1.5rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .88rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: "›"; color: #a8b6c3; }
.breadcrumb a { display: inline-flex; align-items: center; gap: .3rem; color: var(--brand-700); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.job-hero {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 1rem;
    padding: 1.25rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.job-hero-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; font-weight: 700; font-size: 1.5rem; }
.job-hero h1 { font-size: clamp(1.35rem, 4.6vw, 2rem); overflow-wrap: break-word; }
.job-hero-company { margin-top: .35rem; font-weight: 600; color: var(--ink-2); }
.job-hero-company a, .job-hero-company span { display: inline-flex; align-items: center; gap: .35rem; }
.job-hero-company a:hover { color: var(--brand-700); }
.job-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .45rem; }
.job-chips li { max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: .88rem; }
.job-chips li.badge { font-weight: 600; }
.job-chips .badge-normal { background: var(--brand-50); color: var(--brand-700); }
.job-chips .badge-urgent { background: #fff1e6; color: var(--warning); }
.job-chips .badge-today { background: #fdecec; color: var(--danger); }
.job-chips .badge-closed { background: #eef1f4; color: var(--muted); }
.job-hero-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .85rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.btn-lg { min-height: 52px; font-size: 1.05rem; padding-inline: 1.5rem; }
.job-hero-deadline { color: var(--muted); font-size: .92rem; }
.job-hero-deadline strong { color: var(--ink); }
.expired-note { display: flex; gap: .75rem; padding: .9rem 1rem; border-radius: var(--radius); background: #fdf1f1; color: #8a2b2b; border: 1px solid #f6d3d3; }
.expired-note .icon { width: 22px; height: 22px; margin-top: .15rem; }
.expired-note div { display: flex; flex-direction: column; gap: .15rem; }
.expired-note span { font-size: .9rem; }
.expired-note a { font-weight: 600; color: var(--brand-700); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.share-label { font-size: .9rem; color: var(--muted); margin-right: .2rem; }
.share-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.share-btn:hover { transform: translateY(-2px); border-color: transparent; color: #fff; background: var(--brand); }
.share-btn.is-facebook:hover { background: #1877f2; }
.share-btn.is-whatsapp:hover { background: #25d366; }
.share-btn.is-telegram:hover { background: #26a5e4; }
.share-btn .when-done { display: none; }
.share-btn.is-done { background: var(--success); color: #fff; border-color: transparent; }
.share-btn.is-done .when-idle { display: none; }
.share-btn.is-done .when-done { display: block; }
.share-feedback { font-size: .85rem; color: var(--success); font-weight: 600; }

.job-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 1.5rem 2.5rem; }
.job-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; align-content: start; }
.job-desc { min-width: 0; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: clip; }
.toc {
    position: sticky; top: var(--header-h); z-index: 4;
    background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.toc ul { display: flex; gap: .4rem; padding: .6rem 1rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.toc ul::-webkit-scrollbar { display: none; }
.toc a {
    display: inline-block; white-space: nowrap; padding: .3rem .8rem; border-radius: 999px;
    background: var(--bg-soft); color: var(--ink-2); font-size: .86rem; font-weight: 600; transition: background-color .2s, color .2s;
}
.toc a:hover { color: var(--brand-700); background: var(--brand-50); }
.toc a.is-active { background: var(--brand); color: #fff; }
.job-section { padding: 1rem 1.1rem; scroll-margin-top: calc(var(--header-h) + 64px); }
.job-section + .job-section { border-top: 1px dashed var(--line); }
.job-section h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.02rem; margin-bottom: .5rem; }
.job-section h2::before { content: ""; width: 4px; height: 1em; border-radius: 4px; background: var(--brand); }
.prose { color: var(--ink-2); font-size: .97rem; line-height: 1.7; overflow-wrap: break-word; }
.prose > * + * { margin-top: .5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .25rem; }
.prose li::marker { color: var(--brand); }
.prose li p { margin: 0; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; }
.job-apply-end {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.25rem; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100);
}
.job-apply-end div { display: flex; flex-direction: column; }
.job-apply-end span { color: var(--muted); font-size: .9rem; }

.job-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; min-width: 0; }
.side-card { padding: 1.2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.side-card h2 { font-size: 1.05rem; margin-bottom: .75rem; }
.side-card h2 a { color: var(--brand-700); }
.summary-list > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .75rem; padding: .6rem 0; border-top: 1px dashed var(--line); }
.summary-list > div:first-child { border-top: 0; padding-top: 0; }
.summary-list dt { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; }
.summary-list dd { margin: 0; min-width: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.summary-list dd a { color: var(--brand-700); }
.d-block { display: block; }
.text-danger { color: var(--danger) !important; }
.contact-list li { display: flex; gap: .55rem; padding: .35rem 0; color: var(--ink-2); font-size: .94rem; overflow-wrap: anywhere; }
.contact-list .icon { margin-top: .2rem; color: var(--brand); }
.contact-list a { color: var(--brand-700); }
.side-social { margin: .75rem 0; }
.side-social a { background: var(--bg-soft); color: var(--ink-2); }
.side-card .section-link { margin-top: .5rem; }
.side-ad { min-height: 250px; }
.job-list-grid { display: grid; gap: .65rem; }
.similar-more { margin-top: 1rem; }

.apply-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(15, 29, 43, .25);
    transform: translateY(110%); transition: transform .3s var(--ease);
}
.apply-bar.is-visible { transform: none; }
.apply-bar .btn { min-height: 44px; }
body.has-apply-bar .back-to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* Job lists */
.list-top { background: linear-gradient(180deg, var(--brand-50), #fff 90%); padding: 1rem 0 1.25rem; }
.list-head { margin-top: .75rem; }
.list-head h1 { font-size: clamp(1.4rem, 4.8vw, 2.1rem); }
.list-count { margin-top: .3rem; color: var(--muted); }
.list-count strong { color: var(--ink); }
.list-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.list-chips-title { font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.list-chips ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.list-chips .chip { font: inherit; font-size: .9rem; cursor: pointer; }
.list-chips .chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.list-chips .chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, .25); color: #fff; }
.section.list-section { padding-top: 1rem; }
.list-toolbar {
    display: grid; gap: .6rem; padding: .6rem; margin-bottom: .5rem;
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.list-search { display: flex; align-items: center; gap: .5rem; padding: 0 .75rem; border-radius: 12px; background: var(--bg-soft); }
.list-search .icon { color: var(--muted); }
.list-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.list-search:focus-within { box-shadow: 0 0 0 3px var(--brand-100); background: #fff; }
.list-controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.segmented { display: inline-flex; padding: .2rem; border-radius: 12px; background: var(--bg-soft); }
.segmented button {
    display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; padding: 0 .85rem; border: 0; border-radius: 9px;
    background: transparent; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s;
}
.segmented button .icon { width: 16px; height: 16px; }
.segmented button:hover:not(:disabled):not(.is-active) { color: var(--ink); background: rgba(255, 255, 255, .6); }
.segmented button.is-active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.segmented.is-disabled { opacity: .5; }
.segmented button:disabled { cursor: not-allowed; }
/* Filter chips (Material style): a count of what they would leave, a check mark when on, greyed out at zero. */
.toggle-chip {
    display: inline-flex; align-items: center; gap: .35rem; min-height: 42px; padding: 0 .75rem 0 .8rem;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink-2);
    transition: background-color .2s, border-color .2s, color .2s, opacity .2s, box-shadow .2s;
}
.toggle-chip .icon { width: 17px; height: 17px; }
.toggle-chip .when-on { display: none; }
.toggle-chip[aria-pressed="true"] .when-on { display: inline-block; }
.toggle-chip[aria-pressed="true"] .when-off { display: none; }
.toggle-chip:hover:not(:disabled) { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.toggle-chip[aria-pressed="true"] { background: #fff1e6; border-color: #ffd2ad; color: var(--warning); }
.toggle-chip.is-open-filter[aria-pressed="true"] { background: #e7f7ef; border-color: #b8e6cf; color: var(--success); }
.toggle-chip:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.toggle-count { min-width: 24px; padding: 0 .4rem; border-radius: 999px; background: var(--bg-soft); font-size: .85rem; font-weight: 700; line-height: 1.5; text-align: center; }
.toggle-count:empty { display: none; }
.toggle-chip[aria-pressed="true"] .toggle-count { background: rgba(255, 255, 255, .75); }
/* Phones: the two sort buttons share one full row, the filter chips sit side by side below. */
.list-controls .segmented { flex: 1 1 100%; }
.list-controls .segmented button { flex: 1; justify-content: center; padding: 0 .4rem; white-space: nowrap; }
.list-controls .toggle-chip { flex: 1 1 0; justify-content: center; gap: .25rem; min-width: 0; padding: 0 .4rem; font-size: .86rem; white-space: nowrap; }
@media (max-width: 359px) {
    .list-controls .segmented button, .list-controls .toggle-chip { font-size: .8rem; }
    .list-controls .segmented button .icon { display: none; }
}
.hide-sm { display: none; }
.list-status-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; min-height: 1.6em; margin: .25rem 0 .6rem; }
.list-status-bar .list-status { margin: 0; min-height: 0; }
.list-status-bar .link-btn { display: inline-flex; align-items: center; gap: .25rem; font-size: .9rem; }
.list-status-bar .link-btn .icon { width: 15px; height: 15px; }
.list-status { min-height: 1.4em; margin: .25rem 0 .6rem; color: var(--muted); font-size: .9rem; }
.list-empty { display: grid; justify-items: center; gap: .65rem; padding: 1.5rem 1rem; }
.list-empty p { color: var(--ink-2); }
.list-chunk + .list-chunk, .list-ad + .list-chunk { margin-top: .65rem; }
.list-chunk:empty { display: none; }
.list-ad { margin: 1rem 0; min-height: 120px; }
.link-btn { border: 0; background: none; color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.badge-new { background: #e7f7ef; color: var(--success); }
.empty-state { display: grid; justify-items: center; gap: .6rem; padding: 3rem 1rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state > .icon { width: 44px; height: 44px; color: var(--brand); }
.empty-state h2 { font-size: 1.2rem; }
.empty-state p { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.pager ul { display: flex; flex-wrap: wrap; gap: .35rem; }
.pager-page, .pager-step, .pager-gap {
    display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem;
    border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2);
    transition: border-color .2s, color .2s, background-color .2s;
}
.pager-step { display: inline-flex; gap: .3rem; }
.pager a:hover { border-color: var(--brand); color: var(--brand-700); }
.pager-page.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-gap { border: 0; background: none; min-width: 20px; padding: 0; }
.pager-step.is-disabled { opacity: .45; }

/* Government / corporate job details */
.job-hero-logo.is-image { background: #fff; border: 1px solid var(--line); padding: 6px; object-fit: contain; }
.job-thumb { margin: 0; padding: 1rem 1.1rem 0; }
.job-thumb img { width: 100%; max-height: 320px; object-fit: contain; border-radius: var(--radius); background: var(--bg-soft); }
.circular .muted { margin-bottom: .75rem; }
.gallery { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.gallery-item {
    position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: var(--bg-soft); cursor: zoom-in;
}
.gallery-item img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.02); }
.gallery-zoom {
    position: absolute; right: .6rem; bottom: .6rem; display: inline-flex; align-items: center; gap: .35rem;
    padding: .35rem .7rem; border-radius: 999px; background: rgba(9, 22, 33, .75); color: #fff; font-size: .85rem; font-weight: 600;
}
.side-youtube { color: #b8c9d6; background: #0b2231; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 14, 22, .94); color: #fff; }
.lightbox::backdrop { background: rgba(5, 14, 22, .94); }
.lightbox-stage { position: absolute; inset: 56px 0 56px; display: grid; place-items: center; overflow: auto; touch-action: pan-y pinch-zoom; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.lightbox-stage.is-zoomed { place-items: start center; }
.lightbox-stage.is-zoomed img { max-width: none; max-height: none; width: min(1400px, 200%); cursor: zoom-out; }
.lightbox-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; height: 56px; padding: 0 .75rem; }
.lightbox-count { font-weight: 600; }
.lightbox-actions { display: flex; gap: .4rem; }
.lightbox-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: .75rem; }
.lightbox-next { right: .75rem; }
.lightbox-hint { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; display: grid; place-items: center; font-size: .85rem; color: #b8c9d6; }

/* Back to top */
.back-to-top {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 16px;
    background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: none; }

/* Reveal on scroll (only with JavaScript and without reduced motion) */
.js [data-reveal], .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal].is-visible, .js .reveal.is-visible { opacity: 1; transform: none; }

/* >= 560px */
/* Business pages (/business, /business/{slug}) */
.biz-toolbar { max-width: 560px; }
.biz-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.biz-card-link {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .85rem; align-items: center; height: 100%;
    padding: 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.biz-card-link:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.biz-card-link:hover .biz-name { color: var(--brand-700); }
.biz-card-link:hover .biz-arrow { background: var(--brand); color: #fff; transform: translateX(2px); }
.biz-logo {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    font-weight: 700; font-size: 1.25rem; color: #fff; background: var(--brand);
}
.biz-logo.is-image { background: #fff; border: 1px solid var(--line); padding: 4px; object-fit: contain; }
.biz-body { display: grid; gap: .2rem; min-width: 0; }
.biz-name { font-size: 1rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; transition: color .2s; }
.biz-place { display: inline-flex; align-items: flex-start; gap: .3rem; color: var(--muted); font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; }
.biz-place .icon { flex: none; margin-top: .1rem; }
.biz-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .55rem; padding-top: .65rem; border-top: 1px dashed var(--line); }
.biz-arrow { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 999px; background: var(--bg-soft); color: var(--brand-700); transition: background-color .2s, color .2s, transform .25s var(--ease); }
.biz-hero-buttons { display: flex; flex-wrap: wrap; gap: .5rem; width: 100%; }
.biz-hero-buttons .btn { flex: 1 1 auto; justify-content: center; padding-inline: .8rem; }
.biz-hero .job-hero-company span { align-items: flex-start; }
.biz-positions { scroll-margin-top: calc(var(--header-h) + 12px); }
.biz-positions-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.biz-positions-head .list-count { margin: 0; font-size: .92rem; }
.biz-chips { margin: .25rem 0 .9rem; }
.chip-more { font: inherit; font-size: .9rem; cursor: pointer; border-style: dashed; color: var(--brand-700); }
.chip-more[aria-expanded="true"] { border-style: solid; color: var(--ink-2); }
.biz-positions .list-toolbar { box-shadow: none; grid-template-columns: minmax(0, 1fr); }
.biz-positions .job-section h2 { margin-bottom: .5rem; }
.biz-empty h3 { font-size: 1.1rem; }
.biz-empty > .icon { width: 40px; height: 40px; color: var(--brand); }
.js .readmore { max-height: 18rem; overflow: hidden; position: relative; transition: max-height .4s var(--ease); }
.js .readmore.is-short { max-height: none; }
.js .readmore:not(.is-open):not(.is-short)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.readmore-toggle { margin-top: .75rem; }
.biz-map { width: 100%; justify-content: center; margin-top: .5rem; }
.biz-browse { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; color: var(--ink-2); font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
.biz-browse strong { display: block; color: var(--ink); font-size: 1rem; }
.biz-browse > .icon:first-child { width: 28px; height: 28px; color: var(--brand); }
.biz-browse:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }

/* Static pages (/about-us, /contact-us, /privacy-and-policy, /terms-and-conditions) and 404 */
.static-top .section-kicker { margin-bottom: .2rem; }
.static-top .list-count { display: inline-flex; align-items: center; gap: .35rem; font-size: .92rem; }
.static-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 1.25rem 2.5rem; }
.static-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-width: 0; align-content: start; }
.static-aside { min-width: 0; }
.static-nav ul { display: grid; gap: .35rem; }
.static-nav a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: center; padding: .6rem .7rem; border-radius: 12px; color: var(--ink-2); font-size: .88rem; transition: background-color .2s, color .2s; }
.static-nav a strong { display: block; color: var(--ink); font-size: .95rem; }
.static-nav a .icon { color: var(--brand); }
.static-nav a:hover { background: var(--bg-soft); }
.static-nav a[aria-current="page"] { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand); }
.static-lead { font-size: 1.05rem; }
.static-lead p { color: var(--ink); line-height: 1.8; }
.static-block-title { font-size: 1.1rem; margin-bottom: .7rem; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
.feature-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: center; height: 100%;
    padding: 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .9rem;
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.feature-card strong { display: block; color: var(--ink); font-size: 1rem; }
.feature-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.feature-arrow { color: var(--brand); transition: transform .25s var(--ease); }
.feature-card:hover .feature-arrow { transform: translateX(3px); }
.social-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
.social-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: center; height: 100%;
    padding: .9rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .9rem;
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.social-card strong { display: block; color: var(--ink); }
.social-card > .icon { width: 28px; height: 28px; }
.social-card.is-telegram > .icon { color: #229ed9; }
.social-card.is-youtube > .icon { color: #e62117; }
.social-card.is-facebook > .icon { color: #1877f2; }
.social-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-100); }
.static-cta {
    display: grid; gap: .85rem; align-items: center; padding: 1.2rem; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); color: var(--ink-2);
}
.static-cta strong { display: block; color: var(--ink); font-size: 1.05rem; }
.static-cta .btn { justify-self: start; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.contact-card { display: grid; gap: .5rem; align-content: start; padding: 1.25rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.contact-card h2 { font-size: 1.05rem; }
.contact-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); }
.contact-card-value { font-size: 1.1rem; font-weight: 600; color: var(--brand-700); overflow-wrap: anywhere; }
.contact-card-text { color: var(--ink-2); overflow-wrap: anywhere; }
.contact-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .35rem; }
.contact-card-actions .share { margin: 0; }
.legal-prose { padding: 1.1rem 1.1rem 1.6rem; }
.legal-intro > * + *, .legal-section > * + * { margin-top: .5rem; }
.legal-section { padding-top: 1.4rem; scroll-margin-top: calc(var(--header-h) + 52px); }
.legal-section h2 { font-size: 1.12rem; color: var(--ink); }
.legal-prose a { overflow-wrap: anywhere; }
.not-found { padding-top: 2rem; }
.not-found-card { display: grid; justify-items: center; gap: .6rem; padding: 2rem 1.25rem; text-align: center; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); }
.not-found-code { font-size: clamp(3.5rem, 16vw, 6rem); font-weight: 700; line-height: 1; color: var(--brand); letter-spacing: .04em; }
.not-found-card h1 { font-size: clamp(1.35rem, 4.6vw, 2rem); }
.not-found-text { max-width: 34rem; color: var(--ink-2); }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }
.not-found-categories { display: grid; gap: .6rem; max-width: 760px; margin: 2rem auto 0; }
.not-found-categories h2 { font-size: 1.1rem; }
.not-found-categories .list-search { background: #fff; border: 1px solid var(--line); }
.not-found-categories .list-status { margin: 0; min-height: 0; }

/* Site search: search box, suggestions, header panel, results page */
.search-form .search-submit { flex: none; min-height: 44px; padding: 0 1.1rem; border-radius: 12px; box-shadow: none; }
.search-form input:invalid { box-shadow: none; }
.search-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
    max-height: min(70vh, 460px); overflow-y: auto; padding: .4rem;
    background: #fff; color: var(--ink); text-align: left;
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.suggest-head { margin: .45rem .6rem .2rem; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.suggest-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: center; padding: .55rem .6rem; border-radius: 10px; color: var(--ink-2); }
.suggest-item:hover, .suggest-item.is-active { background: var(--brand-50); }
.suggest-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--bg-soft); color: var(--brand-700); }
.suggest-icon .icon { width: 18px; height: 18px; }
.suggest-text { display: grid; min-width: 0; }
.suggest-text strong { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-text small { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item.is-all { margin-top: .3rem; border-top: 1px dashed var(--line); border-radius: 0 0 10px 10px; }
.suggest-item.is-all strong { color: var(--brand-700); }
.suggest-empty { padding: .6rem; color: var(--muted); font-size: .9rem; }
mark { padding: 0 .1em; border-radius: 3px; background: #fff3b0; color: inherit; }
.header-actions { display: flex; align-items: center; gap: .35rem; }
.search-toggle[aria-expanded="true"] { background: var(--brand-50); color: var(--brand-700); }
.site-search { padding: .7rem 0 .9rem; border-top: 1px solid var(--line); }
.site-search .search-form, .search-page-form { margin-top: 0; max-width: none; border: 1px solid var(--line); box-shadow: var(--shadow); }
.search-page-form { margin-top: 1rem; max-width: 760px; }
.search-tabs { margin-top: 1rem; }
.search-tabs .chip[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.search-tabs .chip[aria-current="page"] .chip-count { background: rgba(255, 255, 255, .25); color: #fff; }
.search-empty h2 { font-size: 1.15rem; }
.search-empty p { max-width: 36rem; color: var(--ink-2); }
.search-tips { display: grid; gap: .3rem; color: var(--ink-2); text-align: left; list-style: disc; padding-left: 1.2rem; }
.search-popular { justify-content: center; margin-top: .5rem; }

@media (min-width: 560px) {
    .topbar-cta { display: inline-flex; }
    .hero-actions .btn { flex: 0 0 auto; }
    .hero-stats { gap: .75rem; }
    .hero-stats li { padding: 1rem; text-align: left; }
    .hero-stats span { font-size: .9rem; }
    .telegram-cta { grid-template-columns: auto 1fr auto; padding: 1.4rem 1.6rem; }
    .telegram-cta .btn { grid-column: auto; }
    .job-card-link { grid-template-columns: auto 1fr auto; align-items: center; }
    .job-card-link .badge { grid-column: auto; justify-self: end; }
    .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .list-controls .segmented { flex: none; }
    .list-controls .segmented button { flex: none; padding: 0 .85rem; }
    .list-controls .toggle-chip { flex: none; gap: .35rem; padding: 0 .75rem 0 .8rem; font-size: .9rem; }
    .hide-sm { display: inline; }
    .feature-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .social-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .static-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 1.4rem 1.6rem; }
}

/* >= 768px */
@media (min-width: 768px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery li:only-child { grid-column: 1 / -1; }
    .list-toolbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 6; }
    .job-hero { grid-template-columns: auto 1fr; padding: 1.75rem; }
    .job-hero-logo { width: 68px; height: 68px; font-size: 1.8rem; }
    .job-hero { column-gap: 1.25rem; }
    .job-chips { grid-column: 2; }
    .job-hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .job-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .biz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .biz-hero-buttons { width: auto; }
    .biz-hero-buttons .btn { flex: 0 0 auto; padding-inline: 1.2rem; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
    .category-card { grid-template-columns: auto 1fr auto; padding: .95rem 1rem; }
    .category-icon { display: grid; }
    .category-count { grid-column: 2; }
    .category-arrow { display: block; }
    .category-name { font-size: 1rem; }
    :root { --gutter: 24px; }
    .section { padding: 3.5rem 0; }
    .hero { padding: 3.5rem 0 4rem; }
    .division-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
}

/* >= 1024px: desktop navigation, two job columns */
@media (min-width: 1024px) {
    :root { --header-h: 72px; }
    .nav-toggle, .nav-drawer-head, .nav-backdrop { display: none !important; }
    .main-nav { margin-left: auto; }
    .list-toolbar { grid-template-columns: minmax(220px, 1fr) auto; align-items: center; }
    .main-nav { position: static; width: auto; padding: 0; overflow: visible; clip-path: none; visibility: visible; box-shadow: none; background: transparent; }
    .nav-list { flex-direction: row; align-items: center; gap: .15rem; }
    .nav-link { width: auto; padding: .55rem .8rem; font-size: .97rem; }
    .has-dropdown { position: relative; }
    .dropdown {
        position: absolute; top: calc(100% + 10px); left: 0; z-index: 10; width: 560px;
        display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; padding: .6rem;
        background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
    }
    .has-dropdown.is-open .dropdown { display: grid; opacity: 1; visibility: visible; transform: none; }
    .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
    .static-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 1.75rem; align-items: start; }
    .static-aside { position: sticky; top: calc(var(--header-h) + 16px); }
    .legal-prose { padding-inline: 1.75rem; }
}

@media (min-width: 1024px) and (hover: hover) {
    .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
    .has-dropdown:hover .nav-link .chevron { transform: rotate(180deg); }
    .hero-inner { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 3rem; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stats li { padding: 1.35rem; }
    .hero-stats span { font-size: .92rem; }
    .tabs { display: none; }
    .js .job-panel:not(.is-active) { display: block; }
    .job-columns { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
    .company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
    .biz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
    .job-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 1.75rem; align-items: start; }
    .job-aside { position: sticky; top: calc(var(--header-h) + 16px); }
    .apply-bar { display: none !important; }
    .job-section { padding: 1.15rem 1.5rem; }
    .toc ul { padding-inline: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .hero-search, .ad-slot, .telegram-cta, .back-to-top, .site-footer { display: none !important; }
}
