/*
Theme Name: Полоса — Ready 2 HR-Tech
Description: Блог и каталог вакансий Ready 2 HR-Tech в оформлении «Фотолаборатория» с дневным и ночным режимами.
Version: 2.1.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: ready-polosa
License: GNU General Public License v2 or later
*/
@font-face{font-family:Inter;src:url(assets/fonts/Inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"PT Serif";src:url(assets/fonts/PT_Serif-Web-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"PT Serif";src:url(assets/fonts/PT_Serif-Web-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(assets/fonts/IBMPlexMono-Medium.woff2) format("woff2");font-weight:500;font-display:swap}
:root {
	--paper:#14191c; --ink:#f7f4ea; --muted:#b6c1bc; --line:#47524f; --accent:#ffa264;
	--panel:#222a2d; --green:var(--accent); --footer:#191f22; --community:#273135; --community-ink:#f7f4ea;
	--serif:"PT Serif",Georgia,serif; --sans:Inter,Arial,sans-serif; --mono:"IBM Plex Mono",Consolas,monospace;
	color-scheme:dark;
}
:root[data-theme="light"] {
	--paper:#f8f7f2; --ink:#202726; --muted:#505e59; --line:#c8cfca; --accent:#904217;
	--panel:#eaece7; --footer:#eeefea; --community:#e2ecec; --community-ink:#193435;
	color-scheme:light;
}
* {box-sizing:border-box}
body {margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.5 var(--sans);overflow-wrap:break-word}
a {color:var(--accent);text-underline-offset:.17em}
a:hover {text-decoration:underline}
button,input,select,textarea {font:inherit}
button {cursor:pointer}
button:disabled {cursor:default}
img,video {max-width:100%;height:auto}
iframe {max-width:100%}
figure {max-width:100%}
h1,h2,h3 {line-height:1.08;text-wrap:pretty}
:focus-visible {outline:2px solid var(--accent);outline-offset:4px}
.wrap {width:100%;max-width:1280px;padding-inline:clamp(16px,2.5vw,32px);margin-inline:auto}
.screen-reader-text {position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link:focus {clip-path:none;width:auto;height:auto;top:12px;left:12px;padding:10px;background:var(--paper);z-index:99999}
#polosa-content:focus {outline:none}
.masthead-inner {min-height:80px;display:flex;align-items:center;gap:clamp(18px,3vw,40px);border-bottom:1px solid var(--line)}
.masthead-brand {width:116px;flex:none;line-height:0;margin-right:auto}
.masthead-brand img {width:100%}
.masthead-nav {display:flex;align-items:center;gap:clamp(20px,3.5vw,48px);font-size:clamp(15px,1.45vw,18px);font-weight:550}
.masthead-link,.footer-channels a,.footer-meta a {color:inherit;text-decoration:none}
.masthead-link {position:relative;display:flex;align-items:center;min-height:44px}
.masthead-link:hover,.footer-meta a:hover {text-decoration:underline}
.masthead-link.is-current::after {content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--accent)}
.community-link {display:inline-flex;align-items:center;gap:10px;padding:9px 18px 9px 12px;min-height:44px;border-radius:30px;background:var(--community);color:var(--community-ink);font-size:.95em;text-decoration:none}
.community-link svg {flex:none}
.community-link:hover,.footer-channels a:hover strong {text-decoration:underline}
.theme-toggle {width:44px;height:44px;padding:9px;display:grid;place-items:center;flex:none;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--ink)}
.theme-toggle[hidden] {display:none}
.theme-toggle:hover {border-color:var(--ink)}
.theme-toggle svg {overflow:visible}
.theme-moon,.theme-sun {transform-origin:12px 12px;transition:transform .28s ease,opacity .22s ease}
.theme-sun,:root[data-theme="dark"] .theme-moon {opacity:0;transform:rotate(-32deg) scale(.62)}
:root[data-theme="dark"] .theme-sun,.theme-moon {opacity:1;transform:rotate(0) scale(1)}
@media(prefers-reduced-motion:reduce){.theme-sun,.theme-moon {transition:none}}
.site-footer {background:var(--footer);padding-bottom:20px}
.site-footer h2 {margin:0;padding:20px 0 10px;border-top:1px solid var(--line);font:600 clamp(28px,3.5vw,48px)/1.1 var(--sans);letter-spacing:-.04em;text-wrap:balance}
.site-footer h2 span {white-space:nowrap}
.footer-channels {display:grid;grid-template-columns:1fr 1fr 1.08fr;gap:20px;padding-block:12px 22px}
.footer-channels a {display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;line-height:1.25}
.footer-channels a img {width:56px;height:56px;object-fit:cover;border-radius:50%;flex:none}
.footer-channels strong,.footer-channels small {display:block}
.footer-channels small {color:var(--green);margin-top:4px;font-size:14px}
.footer-meta {border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding-top:15px;font-size:15px}
.footer-meta span {color:var(--muted)}
.polosa-listing,.polosa-page {padding-block:clamp(30px,6vw,75px)}
.polosa-listing h1,.polosa-page h1 {margin:.1em 0 .7em;font:650 clamp(38px,6vw,76px)/1.04 var(--sans);letter-spacing:-.045em}
.polosa-page article {max-width:790px;margin:auto}
.polosa-page .entry-content {font-size:1.12rem;line-height:1.7}
.polosa-page .entry-content :where(img,figure) {margin-inline:0}
.polosa-blog {padding-block-start:clamp(22px,3.2vw,44px)}
.polosa-blog h1 {margin:0 0 .45em}
.polosa-index-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-block:32px}
.polosa-index-card {display:flex;gap:clamp(20px,3vw,40px);border-top:1px solid var(--line);padding:24px 0;overflow-wrap:anywhere}
.polosa-index-cover {display:block;min-width:0;flex:0 0 32%;aspect-ratio:16/10;overflow:hidden;background:var(--panel)}
.polosa-index-cover img {display:block;width:100%;height:100%;object-fit:cover}
.polosa-index-content {min-width:0;flex:1}
.polosa-index-card time {font:500 13px var(--mono);color:var(--muted)}
.polosa-index-card h2 {font:650 clamp(23px,2.3vw,34px)/1.13 var(--sans);letter-spacing:-.03em;margin:10px 0}
.polosa-index-card h2 a {color:inherit;text-decoration:none}
.polosa-index-card h2 a:hover {text-decoration:underline}
.polosa-index-card p {margin:0;color:var(--muted)}
.nav-links {display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.polosa-listing .nav-links a,.polosa-listing .nav-links span {padding:8px 5px}
.search-form {display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.search-form input {border:1px solid var(--line);color:var(--ink);background:var(--paper);border-radius:4px;padding:8px;max-width:100%}
.search-form .search-submit {cursor:pointer;border-color:var(--ink)}
.aligncenter {display:block;margin-inline:auto}
.wp-caption,.wp-block-image {max-width:100%}
.wp-caption-text,figcaption {font-size:.88em;color:var(--muted)}
.comment-list {padding-left:1.3em}
.comment-form input,.comment-form textarea {max-width:100%}
@media(max-width:760px) {
	.masthead {padding-top:8px}
	.masthead-inner {display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:12px 0 9px}
	.masthead-brand {width:104px}
	.theme-toggle {grid-column:2;grid-row:1}
	.masthead-nav {grid-column:1/-1;grid-row:2;flex-wrap:wrap;gap:4px clamp(12px,3vw,24px);font-size:15px}
	.community-link {padding:6px 10px;gap:6px;font-size:14px}
	.masthead-nav .community-link {margin-left:auto}
	.community-link svg {width:20px;height:20px}
	.footer-channels {grid-template-columns:1fr;gap:16px}
	.polosa-index-card {flex-direction:column;gap:16px}
	.polosa-index-cover {width:100%;flex:auto}
}
@media(max-width:430px) {
	.masthead-nav {gap:2px 22px}
	.masthead-nav .community-link {margin-left:0}
}
