@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f0f0f0;
  --fg: #000000;
  --muted: #555555;
  --accent: #c40000;
  --accent-fg: #ffffff;
  --radius: 0px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как permrun.ru: Tilda в Roboto, чёрная шапка с логотипом-полосами, первый экран «Тёмных ночей», приветствие на медалях, карточки событий с красной и контурной кнопками, «О нас» с фото, история в картинках с миниатюрами, «Будьте в курсе» и серый подвал. */
html { overflow-x: clip; }
body { background: #fff; color: #000; font: 400 16px/1.55 Roboto, Arial, sans-serif; }
a { color: #c40000; }
h1, h2, h3 { font-family: Roboto, Arial, sans-serif; }
.dev-bar { padding: 6px 16px; background: #111; color: #bdbdbd; text-align: center; font: 400 13px/1.4 Roboto, Arial, sans-serif; }
.dev-bar a { color: #ffc400; }

/* Шапка: чёрная, логотип ППБ, меню белым */
.site-header { background: #000; border: 0; padding: 6px 16px; }
.site-name { color: #fff; font: 700 15px/1.2 Roboto, Arial, sans-serif; }
.site-name > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-logo img { width: auto; height: 44px; max-width: 128px; object-fit: contain; }
.site-nav a { color: #fff; border: 0; font: 600 14px/1.4 Roboto, Arial, sans-serif; }
.site-nav a:hover, .site-nav a[aria-current] { color: #ff8a00; border: 0; }
.site-city summary, .site-langs a { color: #fff; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: #fff; }

/* Страницы */
.site-main { max-width: 1160px; padding: 40px 16px 60px; }
.site-main h1 { font: 700 40px/1.2 Roboto, Arial, sans-serif; }
.rich h2, .rich h3 { font-weight: 700; }
.rich img { max-width: 100%; height: auto; }
.button, button.button { background: #f00; color: #fff; border-radius: 30px; font-weight: 700; }
.button:hover { background: #c40000; color: #fff; }
.site-footer { background: #ededed; color: #333; }
.site-footer a { color: #000; }

/* Главная: блоки во всю ширину */
.page-home .site-main { padding-top: 0; padding-bottom: 0; }
.page-home .layout-row { margin-bottom: 0; }
.pr-full { width: 100vw; margin-left: calc(50% - 50vw); }
.pr-bg { position: absolute; inset: 0; margin: 0; }
.pr-bg picture, .pr-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-white, .pr-red, .pr-out, .pr-coral { display: inline-block; text-decoration: none; font: 700 12px/1 Roboto, Arial, sans-serif; }

/* Первый экран */
.pr-hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a1450; }
.pr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 40, .55), rgba(20, 10, 40, 0) 70%); }
.pr-hero-in { position: relative; z-index: 1; max-width: 1160px; width: 100%; margin: 0 auto; padding: 130px 16px 80px; box-sizing: border-box; }
.site-main .pr-hero h1 { color: #fff; font: 700 48px/1.25 Roboto, Arial, sans-serif; margin: 0 0 30px; max-width: 620px; }
.pr-hero p { font: 700 18px/1.6 Roboto, Arial, sans-serif; margin: 0 0 40px; max-width: 740px; }
.pr-white { background: #fff; color: #000; padding: 22px 60px; border-radius: 30px; font-size: 14px; }
.pr-white:hover { background: #ff8a00; color: #000; }

/* Добро пожаловать */
.pr-welcome { position: relative; min-height: 900px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #0b1a3a; }
.pr-welcome::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.pr-welcome-in { position: relative; z-index: 1; padding: 60px 16px; }
.site-main .pr-welcome h2 { color: #fff; font: 700 60px/1.2 Roboto, Arial, sans-serif; margin: 0 0 40px; }
.pr-welcome p { font: 300 22px/1.55 Roboto, Arial, sans-serif; margin: 0; }
.pr-down { display: block; width: 26px; height: 26px; margin: 160px auto 0; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }

/* События */
.pr-events { max-width: 1160px; margin: 0 auto; padding: 50px 16px 60px; }
.site-main .pr-events h2 { text-align: center; font: 700 42px/1.2 Roboto, Arial, sans-serif; margin: 0 0 60px; color: #000; }
.pr-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; }
.pr-cards li { min-width: 0; }
.pr-ph { display: block; aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 26px; }
.pr-ph picture, .pr-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pr-ph:hover img { transform: scale(1.04); }
.site-main .pr-cards h3 { font: 700 20px/1.3 Roboto, Arial, sans-serif; margin: 0 0 4px; color: #000; }
.pr-cards .pr-date { font: italic 700 20px/1.3 Roboto, Arial, sans-serif; margin: 0 0 12px; }
.pr-cards p { font: 300 14px/1.55 Roboto, Arial, sans-serif; margin: 0 0 16px; }
.pr-cards .pr-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.pr-red { background: #f00; color: #fff; padding: 11px 18px; border: 1px solid #f00; border-radius: 4px; }
.pr-red:hover { background: #c40000; border-color: #c40000; color: #fff; }
.pr-out { background: #fff; color: #000; padding: 11px 18px; border: 1px solid #000; border-radius: 4px; }
.pr-out:hover { background: #000; color: #fff; }
.pr-past { text-align: center; font: 300 22px/1.4 Roboto, Arial, sans-serif; margin: 70px 0 70px; }

/* О нас */
.pr-about { max-width: 1160px; margin: 0 auto; padding: 60px 16px 120px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.pr-about-ph picture, .pr-about-ph img { width: 100%; aspect-ratio: 760 / 560; object-fit: cover; display: block; }
.pr-about-tx { text-align: center; }
.site-main .pr-about h2 { font: 700 38px/1.2 Roboto, Arial, sans-serif; margin: 0 0 20px; color: #000; }
.pr-lead { color: #6b6b6b; font: 300 16px/1.5 Roboto, Arial, sans-serif; margin: 0; }
.pr-about hr { width: 50px; border: 0; border-top: 2px solid #1d7a7a; margin: 26px auto; }
.pr-about-tx p { font: 300 17px/1.6 Roboto, Arial, sans-serif; }

/* История в картинках */
.pr-history { max-width: 1160px; margin: 0 auto; padding: 0 16px 100px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.pr-big picture, .pr-big img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pr-hist-ph ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pr-hist-ph li { width: 60px; height: 60px; overflow: hidden; }
.pr-hist-ph li picture, .pr-hist-ph li img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-main .pr-history h2 { font: 700 24px/1.3 Roboto, Arial, sans-serif; margin: 0 0 20px; color: #000; }
.pr-hist-tx p { font: 300 16px/1.55 Roboto, Arial, sans-serif; margin: 0 0 24px; }
.pr-coral { background: #ff4d4d; color: #fff; padding: 18px 30px; border-radius: 30px; font-size: 14px; }
.pr-coral:hover { background: #f00; color: #fff; }

/* Будьте в курсе */
.pr-news { max-width: 760px; margin: 0 auto; padding: 40px 16px 90px; text-align: center; }
.site-main .pr-news h2 { font: 700 54px/1.2 Roboto, Arial, sans-serif; margin: 0 0 40px; color: #000; }
.pr-news p { font: 300 22px/1.55 Roboto, Arial, sans-serif; margin: 0 0 40px; }
.pr-news .pr-sub { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pr-big-btn { padding: 22px 60px; border-radius: 0; font-size: 15px; }
.pr-soc { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: #000; color: #fff; text-decoration: none; font: 700 14px/1 Roboto, Arial, sans-serif; }
.pr-soc:hover { background: #c40000; color: #fff; }
.pr-news .pr-more { font-size: 16px; margin: 0; }
.pr-more a { color: #000; }

@media (max-width: 960px) {
  .pr-cards { grid-template-columns: repeat(2, 1fr); }
  .pr-about, .pr-history { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pr-hero { min-height: 560px; }
  .pr-hero-in { padding: 90px 16px 60px; }
  .site-main .pr-hero h1 { font-size: 32px; }
  .pr-hero p { font-size: 15px; }
  .pr-welcome { min-height: 620px; }
  .site-main .pr-welcome h2 { font-size: 36px; }
  .pr-welcome p { font-size: 17px; }
  .pr-down { margin-top: 90px; }
  .site-main .pr-events h2 { font-size: 30px; margin-bottom: 40px; }
  .pr-cards { grid-template-columns: 1fr; gap: 50px; }
  .pr-past { margin: 50px 0; }
  .site-main .pr-news h2 { font-size: 34px; }
  .pr-news p { font-size: 18px; }
  .pr-big-btn { padding: 20px 30px; }
}
