/*
Theme Name: Стойка Контакт
Theme URI: https://tripscan-80at.us/
Author: trip80 at
Description: Лавка сетевых переходников. Спецификация на листе, жёлтая марка, синие рамки.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: kontakt
*/

:root {
  --paper: #eef3f6;
  --ink: #14202b;
  --blue: #0f3d5e;
  --blue-2: #1d5c86;
  --yellow: #e2b100;
  --line: #c5d0d6;
  --card: #ffffff;
  --muted: #4d6270;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 28px,
    var(--paper);
  font: 17px/1.6 "Segoe UI", Candara, sans-serif;
}
a { color: var(--blue); }
a:hover { color: var(--blue-2); }
.skip { position: absolute; left: -999px; }
.bench { max-width: 980px; margin: 0 auto; padding: 18px 16px 40px; }
.mast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 18px;
  align-items: center;
  background: var(--blue);
  color: #f4f8fb;
  padding: 14px 16px;
  border-bottom: 6px solid var(--yellow);
}
.mark {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.mark i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--yellow);
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.mark b { display: block; font-size: 18px; }
.mark small { color: #d5e4ee; }
.phone { color: #fff; font-weight: 700; text-decoration: none; }
.tabs { grid-column: 1 / -1; }
.tabs ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tabs a {
  display: block;
  color: #f4f8fb;
  text-decoration: none;
  border: 1px solid #7ea4bf;
  padding: 4px 8px;
  font-size: 14px;
}
.tabs a[aria-current="page"], .tabs a:hover { background: var(--yellow); color: var(--blue); border-color: var(--yellow); }
.spec {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--yellow);
  padding: 22px 22px 28px;
  margin-top: 14px;
}
.kicker { margin: 0 0 6px; color: var(--blue-2); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2 { font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: 32px; margin: 0 0 12px; }
.spec h2 { font-size: 24px; margin: 26px 0 8px; }
.spec p { margin: 0 0 14px; }
.spec ul, .spec ol { margin: 0 0 16px; padding-left: 1.25em; }
.spec li { margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); }
.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.cell {
  display: block;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  background: #f8fbfc;
}
.cell span { display: block; color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 32%; color: var(--muted); font-weight: 600; }
.faq details { border: 1px solid var(--line); padding: 8px 12px; margin: 8px 0; background: #f8fbfc; }
.base {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
  color: #243844;
  font-size: 15px;
}
.base a { color: var(--blue); }
.base strong { display: block; color: var(--blue); }
@media (max-width: 800px) {
  .mast, .row, .base { grid-template-columns: 1fr; }
  .phone { justify-self: start; }
}
