/*
Theme Name: Погрузчик
Description: Классическая тема с общими настройками ACF Free, сохраняющая верстку сайта «Погрузчик».
Version: 1.8.2
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: pogruzchik
*/

/* Только поправки для панели администратора; исходные стили находятся в assets/css. */
body.admin-bar .site-header.is-fixed { top: 32px; }
body.admin-bar .vacancy-layout__intro { top: calc(var(--header-height) + 56px); }
@media (max-width: 782px) { body.admin-bar .site-header.is-fixed { top: 46px; } }

.not-found { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 48px; min-height: 620px; padding-block: 88px 100px; }
.not-found__eyebrow { display: inline-block; margin-bottom: 12px; color: var(--color-accent); font: 900 13px/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.not-found__number { color: var(--color-text); font: 900 clamp(112px, 16vw, 240px)/.85 var(--font-heading); letter-spacing: -.075em; }
.not-found__number span { color: var(--color-accent); }
.not-found h1 { max-width: 700px; margin: 28px 0 18px; font-size: clamp(34px, 4vw, 58px); }
.not-found__message { max-width: 570px; color: #4b4b4b; font-size: 18px; line-height: 1.55; }
.not-found__categories { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.not-found__categories a { display: inline-flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; text-decoration: none; font-weight: 800; transition: border-color .15s ease, color .15s ease, transform .15s ease; }
.not-found__categories a:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.not-found__categories span { color: var(--color-accent); }
.not-found__home { display: inline-block; margin-top: 4px; color: var(--color-accent); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.not-found__visual { position: relative; display: grid; place-items: center; min-height: 390px; overflow: hidden; border-radius: 12px; background: #e1e1e1; }
.not-found__visual::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(110deg, transparent 0 22px, rgb(232 68 39 / 16%) 22px 30px, transparent 30px 52px); clip-path: polygon(0 58%, 100% 29%, 100% 60%, 0 89%); }
.not-found__visual::after { content: ''; position: absolute; right: 22px; bottom: 22px; width: 72px; height: 72px; border-right: 8px solid var(--color-accent); border-bottom: 8px solid var(--color-accent); }
.not-found__visual img { position: relative; width: min(100%, 560px); padding: 24px; filter: drop-shadow(0 20px 20px rgb(0 0 0 / 15%)); }
@media (max-width: 850px) { .not-found { grid-template-columns: 1fr; min-height: auto; padding-block: 56px 72px; } .not-found__visual { min-height: 290px; } }
@media (max-width: 500px) { .not-found { gap: 32px; } .not-found__visual { min-height: 220px; } .not-found__message { font-size: 16px; } }

.thanks-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: center; gap: 50px; min-height: 640px; padding-block: 96px; }
.thanks-page__eyebrow { color: var(--color-accent); font: 900 13px/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.thanks-page__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 24px 0; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 44px; font-weight: 900; }
.thanks-page h1 { max-width: 640px; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.05; }
.thanks-page p { max-width: 580px; margin-top: 24px; color: #4b4b4b; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; }
.thanks-page__extra { margin-top: 18px; }
.thanks-page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 38px; }
.thanks-page__primary, .thanks-page__secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 15px 28px; border-radius: 7px; font-weight: 900; text-decoration: none; }
.thanks-page__primary { background: var(--color-accent); color: #fff; }
.thanks-page__primary:hover { background: #c8301d; color: #fff; }
.thanks-page__secondary { border: 1px solid #cfcfcf; background: #fff; }
.thanks-page__secondary span { margin-left: 8px; color: var(--color-accent); }
.thanks-page__secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }
.thanks-page__visual { display: grid; place-items: center; min-height: 410px; overflow: hidden; border-radius: 12px; background: #e8e8e8; }
.thanks-page__visual img { width: min(100%, 590px); padding: 24px; object-fit: contain; filter: drop-shadow(0 22px 22px rgb(0 0 0 / 16%)); }
@media (max-width: 850px) { .thanks-page { grid-template-columns: 1fr; min-height: auto; gap: 30px; padding-block: 60px 72px; } .thanks-page__visual { min-height: 300px; } }
@media (max-width: 500px) { .thanks-page__visual { min-height: 220px; } .thanks-page__actions { align-items: stretch; flex-direction: column; } }
