@font-face { font-family: "PT Sans Narrow"; src: url("/files/4102edda03059163771869d258df54ac8563c408fa6e9ef75b2ddc85eabea6f4") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PT Sans Narrow"; src: url("/files/e69d83bcf5bd647892b4e2b22f5098dabd55c989413513197722fc156fb9f00e") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --fg: #333333;
  --muted: #666666;
  --accent: #c50000;
  --accent-fg: #ffffff;
  --radius: 0px;
  --font: "PT Sans Narrow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "PT Sans Narrow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как ipsc59.ru: светлая коробка 950px на сером узоре из силуэтов оружия, PT Sans Narrow, тёмная полоса меню, крупный серый телефон, щиты IPSC в подвале. */
html { overflow-x: clip; }
body { background: #8a8d86 url(/files/0d25e4774500be5022103b78c69c39fd8c7ddc7f9c7fd2b7ffeb3f68768ae160) repeat; color: #333; font: 400 17px/1.45 "PT Sans Narrow", Arial, sans-serif; }
a { color: #551a8b; }
a:hover { color: #c50000; }
h1, h2, h3, .site-main h1, .site-main h2 { font-family: "PT Sans Narrow", Arial, sans-serif; color: #333; font-weight: 400; }
.dev-bar { padding: 6px 16px; background: #242424; color: #ccc; text-align: center; font: 400 14px/1.4 "PT Sans Narrow", Arial, sans-serif; }
.dev-bar a { color: #fff; }

/* Коробка: шапка, содержимое и подвал одной колонкой 950px */
.site-header, .site-main, .site-footer { width: 100%; max-width: 950px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.site-header-row { max-width: none; }
.site-header { background: #f5f5f5 url(/files/69746a38e33ad7748d0b46dacd36684a43b75f3d444a3ccef8de661df9fec5f8) no-repeat right top / 950px auto; border: 0; padding: 0; position: relative; }
.site-header-row { min-height: 175px; padding: 10px 24px; align-items: flex-start; }
.site-name { color: #333; gap: 0; }
.site-name span { font-size: 0; }
.site-logo img { width: 150px; height: 150px; object-fit: contain; }
.site-name::after { content: "+7 908 258 89 99"; position: absolute; left: 200px; top: 8px; font: 400 30px/1.3 "PT Sans Narrow", Arial, sans-serif; color: #666; white-space: nowrap; }
.site-tools::before { content: "E-mail: aziatcheg@yandex.ru"; position: absolute; left: 196px; top: 60px; font: 400 16px/1.3 "PT Sans Narrow", Arial, sans-serif; color: #333; }
.site-nav { background: #242424; max-width: none; padding: 0; }
.site-nav ul { gap: 0; justify-content: space-between; padding: 0 6px; }
.site-nav li + li { border-left: 1px solid #aaa; }
.site-nav li { flex: 1 1 auto; text-align: center; margin: 14px 0; }
.site-nav a { color: #fff; border: 0; font: 400 21px/1.15 "PT Sans Narrow", Arial, sans-serif; padding: 4px 12px; display: block; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; text-decoration: underline; border: 0; background: none; }
.site-city summary, .site-langs a { color: #333; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: #333; }

/* Страницы */
.site-main { background: #fafafa; padding: 24px 24px 40px; }
.site-main h1 { font-size: 34px; line-height: 1.2; }
.site-main h2 { font-size: 28px; line-height: 1.25; }
.rich p, .rich li { color: #333; }
.rich img { max-width: 100%; height: auto; }
.card { background: #fff; border: 1px solid #ddd; border-radius: 0; }
.button, button.button { background: #c50000; color: #fff; border-radius: 0; }
.button:hover { background: #242424; color: #fff; }
.muted, small { color: #666; }
.site-footer { background: #f5f5f5 url(/files/4a78f3b065d1b4eff70f60c9a3bf801130393f8165e10a7a193889f3856b6bbf) no-repeat right 10px bottom 6px / auto 92px; color: #333; border-top: 1px solid #ddd; padding: 18px 220px 18px 24px; font-size: 15px; min-height: 120px; }
.site-footer a { color: #551a8b; }
.footer-name { font-size: 16px; }

/* Главная */
.page-home .site-main { padding: 0; background: #fafafa; }
.page-home .layout-row { margin-bottom: 0; }
.ip-banner picture, .ip-banner img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center 35%; }
.ip-cols { display: flex; gap: 22px; padding: 8px 14px 20px; background: #f2f2f2; }
.ip-col { flex: 0 0 300px; min-width: 0; }
.ip-wide { flex: 1 1 auto; }
.ip-block { padding: 6px 4px 10px; }
.ip-grey { background: #e4e4e4; padding: 6px 10px 10px; }
.ip-h, .site-main .ip-h { font: 400 28px/1.2 "PT Sans Narrow", Arial, sans-serif; color: #333; margin: 10px 0 8px; }
.ip-h a { color: #333; text-decoration: none; }
.ip-h a:hover { color: #c50000; }
.ip-block p { margin: 0 0 10px; font-size: 16px; line-height: 1.35; }
.ip-block img { display: block; max-width: 100%; height: auto; }
.ip-col:first-child .ip-block img { width: 260px; }
.ip-doc img { width: 300px; border: 1px solid #ccc; }
.ip-cards { display: flex; gap: 6px; flex-wrap: wrap; }
.ip-cards picture { flex: 1 1 30%; }
.ip-cards img { width: 100%; height: 160px; object-fit: cover; }
.ip-video { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; width: 100%; max-width: 500px; aspect-ratio: 10 / 7; background: #111; color: #fff; text-decoration: none; }
.ip-video b { font-size: 54px; line-height: 1; color: #fff; }
.ip-video span { font-size: 18px; }
.ip-video:hover { background: #242424; color: #fff; }
.ip-gallery { padding: 10px 14px 24px; background: #fafafa; }
.ip-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 259px); gap: 30px 26px; }
.ip-gallery li a { display: block; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.ip-gallery img { display: block; width: 259px; height: 175px; object-fit: cover; }

@media (max-width: 980px) {
  .site-header { background-size: 620px auto; }
}
@media (max-width: 760px) {
  .site-header { background: #f5f5f5; }
  .site-header-row { min-height: 0; padding: 10px 16px; align-items: center; }
  .site-logo img { width: 72px; height: 72px; }
  .site-name::after { left: 100px; top: 18px; font-size: 22px; }
  .site-tools::before { left: 100px; top: 50px; font-size: 14px; }
  .site-nav { background: #242424; }
  .site-nav ul { flex-direction: column; }
  .site-nav li + li { border-left: 0; border-top: 1px solid #444; }
  .site-nav li { margin: 0; text-align: left; }
  .site-nav a { padding: 10px 16px; font-size: 19px; }
  .site-main { padding: 18px 16px 32px; }
  .ip-banner picture, .ip-banner img { height: 200px; }
  .ip-cols { flex-direction: column; padding: 6px 16px 16px; }
  .ip-col { flex: 1 1 auto; }
  .ip-col:first-child .ip-block img, .ip-doc img { width: 100%; }
  .ip-gallery { padding: 8px 16px 20px; }
  .ip-gallery ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ip-gallery img { width: 100%; height: 120px; }
  .site-footer { padding: 18px 16px 110px; }
  .site-header-row { min-height: 92px; }
}
