/* DayZavr · «ЭКСПЕДИЦИЯ» · страница carlocks.html — гайд по иммобилайзеру (кодовый замок на транспорт).
   Подключается после pages/guides_b.css. Только для этой страницы: всё под body.pg-cl, свои классы — с префиксом .cl- */

/* ---------- hero: машина на фоне не прячется под текстом ---------- */
.pg-cl .pg-hero .pg-bg img { object-position: 30% 62%; opacity: .58; }
.pg-cl .pg-head .sv-stats .ro { min-width: 130px; }
.pg-cl .pg-head .sv-stats .num { font-weight: 300; }

/* ---------- «Коротко»: три шага ---------- */
.pg-cl .prose .cl-quick { margin: 34px 0 6px; }
.pg-cl .prose .st3 h3 { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.25; }
.pg-cl .prose .st3 p { margin: 10px 0 0; font-size: 15.5px; color: var(--m); }

/* ---------- возможности: сетка карточек ---------- */
.cl-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 10px; }
.cl-fe { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px 22px 22px; border: 1px solid var(--l);
  background: rgba(17,16,15,.64); --tc: rgba(255,122,47,0); --ts: 10px; transition: border-color .3s, background-color .3s; }
.cl-fe:hover { border-color: rgba(255,122,47,.45); background: rgba(22,20,18,.8); --tc: var(--o); }
.cl-fh { display: flex; align-items: center; gap: 12px; }
.cl-fh .ic { width: 24px; height: 24px; color: var(--o); }
.cl-fh .cl-n { margin-left: auto; font-size: 11px; letter-spacing: .24em; font-weight: 700; color: var(--d); }
.prose .cl-fe h3 { margin: 4px 0 0; font-size: 13.5px; letter-spacing: .14em; line-height: 1.4; }
.prose .cl-fe p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t2); }

/* ---------- текст + вертикальный скриншот окна ---------- */
.cl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 30px 46px; align-items: start; margin: 24px 0 8px; }
.cl-row > div > :first-child { margin-top: 0; }
.cl-row > div > :last-child { margin-bottom: 0; }

/* ---------- скриншоты с подписью ---------- */
.prose .cl-fig { margin: 0; min-width: 0; }
.prose .cl-fig > a { display: block; border-bottom: 0; }
.prose .cl-fig img { display: block; width: 100%; height: auto; margin: 0; border: 0; }
.prose .cl-fig figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--m); }
.prose .cl-fig figcaption b { color: var(--t2); font-weight: 600; }
.prose .cl-fig.cl-land { margin: 26px 0 8px; }

/* ---------- окно кода: три состояния в ряд (на телефоне — лента с прокруткой) ---------- */
.cl-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 10px; }
.cl-wins .cl-fig .shot2 { --tc: rgba(255,255,255,.5); }
.cl-wins .cl-fig figcaption { display: flex; align-items: baseline; gap: 10px; }
.cl-wins .cl-fig figcaption .cl-n { flex: none; font-size: 11px; letter-spacing: .24em; font-weight: 700; color: var(--o); }

/* ---------- таблицы ---------- */
.tbl.cl-tbl td { line-height: 1.5; }
.tbl.cl-tbl td:first-child { color: var(--t); }
.tbl.cl-tbl th.cl-c, .tbl.cl-tbl td.cl-c { width: 26%; }
.tbl.cl-tbl .cl-m { display: inline-block; width: 8px; height: 8px; margin-right: 10px; transform: rotate(45deg); vertical-align: 1px; background: var(--g); }
.tbl.cl-tbl .cl-no .cl-m { background: var(--r); }
.tbl.cl-tbl .cl-no b { color: #ff8a80; }
.tbl.cl-tbl .cl-ok b { color: #8eeaa8; }
.tbl.cl-tbl td small { display: block; margin-top: 3px; padding-left: 18px; font-size: 13px; line-height: 1.45; color: var(--m); }
.tbl.cl-msg td:first-child { width: 42%; font-family: var(--mono); font-size: 13.5px; line-height: 1.5; }
.tbl.cl-msg td.cl-s-ok { color: var(--g); }
.tbl.cl-msg td.cl-s-er { color: #ff7a70; }
.tbl.cl-msg td.cl-s-wa { color: var(--w); }
.tbl.cl-msg td.cl-s-mu { color: var(--m); }

/* ---------- автоматическая защита: 2×2 ---------- */
.cl-auto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0 10px; }
.cl-au { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px 22px 22px;
  border: 1px solid var(--l); background: rgba(17,16,15,.64); --tc: rgba(255,255,255,.4); --ts: 10px; }
.cl-au .cl-ib { grid-row: span 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,122,47,.4); background: rgba(255,122,47,.07); }
.cl-au .cl-ib .ic { width: 22px; height: 22px; color: var(--o); }
.prose .cl-au h3 { margin: 2px 0 6px; font-size: 13.5px; letter-spacing: .14em; line-height: 1.4; }
.prose .cl-au p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t2); }
.prose .cl-au p + p { margin-top: 8px; }
.cl-au .cl-if { display: inline-block; margin-bottom: 8px; font-size: 10.5px; letter-spacing: .2em; font-weight: 700; color: var(--m); text-transform: uppercase; }

@media (max-width: 1280px) {
  .cl-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pg-cl .pg-hero .pg-bg img { object-position: 22% 60%; }
  .cl-feat, .cl-auto { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cl-fe, .cl-au { padding: 16px 16px 18px; }
  .cl-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cl-row > .cl-fig { max-width: 340px; }
  .cl-wins { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .cl-wins > .cl-fig { flex: 0 0 74%; max-width: 300px; scroll-snap-align: start; }
  .tbl.cl-tbl th.cl-c, .tbl.cl-tbl td.cl-c { width: auto; }
  .tbl.cl-tbl .cl-m { margin-right: 7px; }
  .tbl.cl-tbl td small { padding-left: 15px; }
  .tbl.cl-msg td:first-child { width: 46%; font-size: 12.5px; }
  .pg-cl .prose .st3 h3 { font-size: 20px; }
}
