/*
Theme Name: Jobhub Board
Description: Русскоязычная тема WordPress с главной страницей JobHub и каталогом вакансий.
Version: 1.3.30
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: jobhub-board
*/
@font-face { font-family: Geist; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/geist-700.woff2") format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/geist-900.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-700.woff2") format("woff2"); }
:root {
    color-scheme: dark;
    --page: #121212;
    --surface: #222;
    --line: #2a2a2a;
    --text: #e0e0e0;
    --muted: #aaa;
    --pink: #e6368c;
    --blue: #60a5fa;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--muted); font: 400 16px/1.6 Geist, Arial, sans-serif; letter-spacing: -.02em; }
h1,h2,h3,p,ul,fieldset { margin: 0; }
h1,h2,h3 { color: var(--text); }
a { color: inherit; text-decoration: none; }
button,input,summary { font: inherit; color: inherit; letter-spacing: inherit; }
button,summary { cursor: pointer; }
a,button,summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(100%,1200px); margin-inline: auto; }
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/noise.avif") center/128px repeat; opacity: .1; pointer-events: none; }
.skip-link,.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: fixed; width: auto; height: auto; clip-path: none; z-index: 99; background: var(--surface); padding: 12px; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; background: rgba(18,18,18,.99); backdrop-filter: blur(5px); padding-inline: 20px; }
.admin-bar .site-header { top: 32px; }
.nav-wrap { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { color: var(--text); font: 900 28px/1 Geist,sans-serif; letter-spacing: -.04em; }
.brand span { color: var(--pink); }
.main-nav,.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav { font-size: 18px; line-height: 1.7; }
.main-nav ul { padding: 0; list-style: none; }
.main-nav a,.browse-links a,.footer-col a,.legal a { transition: color .2s ease; }
.main-nav a:hover,.browse-links a:hover,.browse-links a[aria-current],.footer-col a:hover,.legal a:hover { color: var(--pink); }
.nav-browse { position: relative; }
.nav-browse summary { display: flex; gap: 8px; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
.chevron { display: block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
details[open] .chevron { transform: translateY(2px) rotate(225deg); }
.dropdown { position: absolute; min-width: 145px; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px #0004; animation: appear .2s ease both; }
.dropdown a { padding: 4px 10px; }
.menu-toggle,.phone-copy,.mobile-news { display: none; }
.hero { padding: 200px 20px 60px; }
.hero h1,.detail h1 { font-size: 96px; font-weight: 700; line-height: 1.1; letter-spacing: -.05em; }
.lead { font-size: 22px; line-height: 1.4; letter-spacing: -.02em; margin-top: 24px; }
.catalog { background: linear-gradient(var(--page),#1a1a1a); padding: 40px 20px 60px; }
.browse-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; font-size: 18px; line-height: 1.7; margin-bottom: 40px; }
.job-layout { display: grid; grid-template-columns: minmax(220px,1fr) minmax(0,2.933fr); gap: 20px; align-items: start; }
.filters,.filter-groups,fieldset,.cards,.newsletter form { display: grid; }
.filters { gap: 40px; }
.search { background: var(--surface); border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; height: 44px; display: flex; align-items: center; gap: 8px; }
.search:focus-within { border-color: #777; }
.search svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; }
input::placeholder { opacity: 1; color: var(--muted); }
.filter-groups { gap: 24px; }
fieldset { padding: 0; border: 0; min-width: 0; gap: 10px; }
legend { padding: 0; margin-bottom: 12px; color: var(--text); font-size: 18px; line-height: 1.7; }
fieldset label { display: flex; gap: 10px; align-items: center; line-height: 1.6; cursor: pointer; width: fit-content; }
input[type=checkbox] { appearance: none; width: 16px; height: 16px; flex: none; margin: 0; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; display: grid; place-content: center; }
input[type=checkbox]:checked { background: #333; border-color: #3a3a3a; }
input[type=checkbox]:checked::after { content: ""; width: 7px; height: 4px; border: solid var(--pink); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.cards { gap: 20px; }
.job-card,.newsletter,.directory-item { background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 .5px #3a3a3a; }
.job-card { position: relative; display: grid; gap: 16px; padding: 20px; transition: background-color .22s ease, box-shadow .22s ease; }
.job-card:is(:hover,:focus-visible) { background: #2a2a2a; box-shadow: inset 0 0 0 1px #414141; }
.card-head { display: flex; gap: 16px; align-items: center; position: relative; }
.company-logo { display: block; object-fit: cover; width: 67px; height: 67px; border-radius: 10px; flex: none; }
.monogram { display: grid; place-items: center; background: #333; font-size: 28px; }
.card-heading { display: grid; gap: 6px; min-width: 0; }
.card-heading h2 { font: 700 22px/1.4 Inter,Arial,sans-serif; letter-spacing: -.04em; }
.card-heading p { font-size: 18px; line-height: 1.7; }
.job-summary { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.featured { color: var(--blue); font-size: 16px; align-self: flex-start; margin-left: auto; }
.card-foot,.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card-foot { justify-content: space-between; }
.tags span:not(:last-child)::after { content: "|"; margin-left: 10px; }
.card-action { position: relative; color: #6e6e6e; text-align: right; margin-left: auto; }
.card-action time,.view-job { transition: opacity .2s, transform .2s; }
.card-action time { display: block; }
.view-job { position: absolute; inset: 0 0 auto auto; color: var(--text); white-space: nowrap; opacity: 0; transform: translateX(-6px); }
.view-job b { font-weight: 400; }
@media (hover:hover) {
    .job-card:hover .card-action time { opacity: 0; transform: translateX(5px); }
    .job-card:hover .view-job { opacity: 1; transform: none; }
}
.job-card:focus-visible .card-action time { opacity: 0; }
.job-card:focus-visible .view-job { opacity: 1; transform: none; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 10px 18px; border-radius: 10px; color: white; background: var(--pink); font: 600 14px/20px Inter,sans-serif; cursor: pointer; transition: background .2s ease; }
.button:hover { background: #c0266b; }
.load { width: max-content; display: flex; margin: 20px auto 0; background: #444; }
.load:hover { background: #555; }
.empty { text-align: center; padding: 40px 20px; }
.empty a,.back,.prose a { color: var(--pink); }
.newsletter { margin-top: 40px; padding: 20px; scroll-margin-top: 80px; }
.newsletter h2,.footer-col h2 { font: 500 20px/1.6 Geist,sans-serif; letter-spacing: -.02em; }
.newsletter p,.newsletter form { margin-top: 20px; }
.newsletter form { gap: 10px; }
.newsletter input[type=email] { width: 100%; padding: 12px; border: 1px solid #444; border-radius: 8px; background: transparent; }
.newsletter .button { background: #333; padding: 15px; font: 400 16px/1 Inter,sans-serif; border-radius: 12px; }
.newsletter .button:hover { background: #444; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.directory-item { padding: 20px; display: flex; justify-content: space-between; color: var(--text); }
.directory-item:hover { background: #333; }
.site-footer { padding: 20px; background: #1a1a1a; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(4,1fr); gap: 30px; padding: 30px 0 20px; }
.footer-brand p { margin: 16px 0; }
.socials { display: flex; align-items: center; gap: 10px; }
.socials a { font-weight: 700; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-col h2 { margin-bottom: 6px; }
.legal,.legal div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.legal { border-top: 1px solid var(--line); margin-top: 20px; padding: 20px 0; justify-content: space-between; font-size: 14px; }
.legal i { font-style: normal; }
.detail { padding: 145px 20px 90px; min-height: 60vh; }
.detail .wrap { max-width: 940px; }
.detail-head,.detail-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 30px 0 18px; }
.detail h1 { font-size: clamp(40px,6vw,80px); }
.detail-facts span { background: var(--surface); border-radius: 8px; padding: 6px 14px; }
.prose { margin: 24px 0; }
.prose p { margin-block: 1em; }
.prose img { max-width: 100%; height: auto; }
.reveal,.enter,.in-view { animation: appear .48s cubic-bezier(.2,.65,.3,1) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.reveal,.in-view { animation-name: fade; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width:810px) and (max-width:1199px) {
    .hero h1 { font-size: 64px; }
    .lead { font-size: 20px; }
    .brand { font-size: 24px; }
    .main-nav,.browse-links,legend { font-size: 17px; }
    .job-layout { grid-template-columns: minmax(0,880px); gap: 40px; }
    .filter-groups { grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; }
    .side-news { display: none; }
    .mobile-news { display: block; max-width: 880px; }
    .card-heading h2 { font-size: 21px; }
    .footer-grid { gap: 20px; }
}
@media (max-width:809px) {
    .site-header { padding-inline: 16px; }
    .nav-wrap { min-height: 66px; flex-wrap: wrap; gap: 0; }
    .brand { font-size: 22px; }
    .menu-toggle { display: grid; gap: 5px; border: 0; padding: 8px; background: transparent; }
    .menu-toggle i { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .2s,opacity .2s; }
    .menu-toggle[aria-expanded=true] i:first-child { transform: translateY(6.5px) rotate(45deg); }
    .menu-toggle[aria-expanded=true] i:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded=true] i:last-child { transform: translateY(-6.5px) rotate(-45deg); }
    .main-nav { display: none; width: 100%; padding: 5px 0 20px; }
    .main-nav.is-open,.main-nav ul { display: grid; gap: 12px; }
    .dropdown { position: static; margin-top: 8px; }
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 40px; }
    .lead { font-size: 18px; line-height: 1.35; }
    .phone-copy { display: inline; }
    .desktop-copy,.side-news { display: none; }
    .mobile-news { display: block; }
    .browse-links { gap: 10px 20px; font-size: 16px; }
    .browse-links > span { flex-basis: 100%; }
    .job-layout { grid-template-columns: 1fr; gap: 40px; }
    .card-head { align-items: flex-start; flex-direction: column; }
    .company-logo { width: 60px; height: 60px; }
    .featured { position: absolute; top: 0; right: 0; font-size: 14px; }
    .card-heading p,legend { font-size: 16px; }
    .card-foot { align-items: flex-start; flex-direction: column; font-size: 14px; }
    .card-action { margin: 0; text-align: left; }
    .view-job { left: 0; right: auto; }
    fieldset label { font-size: 14px; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-brand { grid-column: 1/-1; }
    .legal { padding-bottom: 170px; }
}
@media (max-width:782px) { .admin-bar .site-header { top: 46px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.company-logo.worker-icon { padding: 14px; background: #f63c9114; border: 1px solid #f63c9133; }
.company-logo.worker-portrait { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; background: #191919; }
@media (max-width:809px) { .company-logo.worker-portrait { width: 88px; height: 88px; } }
.demo-note { color: var(--muted); }


.card-labels { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-left: auto; align-self: flex-start; }
.card-labels .featured { margin-left: 0; }
.example-label { font-size: 12px; padding: 2px 7px; border: 1px solid #555; border-radius: 6px; color: #bbb; }
.job-fact--salary { font-weight: 600; color: var(--text); }
.job-fact--salary,.job-fact--schedule { white-space: nowrap; }
@media (max-width:809px) { .card-labels { position: absolute; top: 0; right: 0; flex-direction: column; align-items: flex-end; gap: 4px; } .card-labels .featured { position: static; font-size: 12px; } }

