@font-face { font-family: "PT Sans"; src: url("/files/9cc831490532009bae2b3ce0d39c62adfc889060beb421593bfd9d2396d0f10a") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url("/files/3128bd5ecf01816e59a23d54c57a7a6b14615b07db53ff277c77376010265b05") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/files/c29556a2719bf613ef3d5e070e40d903a8965d9c081beca1375dc1e6e0f93c23") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/files/cbc1842cbed8c1d1146ba7c9db97d8f28c9bedfd25f41c5b0e1259ca48622328") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  --bg: #e8e8e8;
  --surface: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --accent: #0055aa;
  --accent-fg: #ffffff;
  --radius: 4px;
  --font: "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как rodina-sk.ru: серый фон #e8e8e8, белая шапка, синий #05a, заголовки PF BeauSans → Fira Sans, текст PT Sans, плитки с подписями на фото. */
html { overflow-x: clip; }
body { background: #e8e8e8; color: #111; font: 400 17px/1.5 "PT Sans", Arial, sans-serif; }
a { color: #05a; }
h1, h2, h3 { font-family: "Fira Sans", Arial, sans-serif; font-weight: 500; }
.dev-bar { padding: 6px 16px; background: #003a75; color: #c9d8ec; text-align: center; font: 400 13px/1.4 "PT Sans", Arial, sans-serif; }
.dev-bar a { color: #fff; }
.site-header { background: linear-gradient(0deg, #f9f9f9, #d9d9d9); border: 0; border-bottom: 4px solid #05a; padding: 8px 16px; }
.site-name { color: #05a; font: 500 17px/1.2 "Fira Sans", Arial, sans-serif; }
.site-logo img { height: 52px; width: auto; max-width: 160px; object-fit: contain; background: transparent; border-radius: 0; }
.site-nav a { color: #222; border: 0; font: 400 16px/1.4 "Fira Sans", Arial, sans-serif; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { color: #05a; border-bottom: 3px solid #05a; }
.site-main { max-width: 1140px; padding: 36px 16px 60px; }
.site-main h1 { font: 500 34px/1.2 "Fira Sans", Arial, sans-serif; color: #111; }
.rich h2 { color: #05a; }
.rich img { border-radius: 2px; }
.button, button.button { background: #05a; color: #fff; border-radius: 14px; font-family: "Fira Sans", Arial, sans-serif; }
.button:hover { background: #16b; color: #fff; }
.site-footer { background: #c7c7c7; color: #222; border-top: 10px solid #05a; }
.site-footer a { color: #05a; }

.page-home .site-main { padding-top: 0; padding-bottom: 0; }
.page-home .layout-row { margin-bottom: 0; }
.rd-full { width: 100vw; margin-left: calc(50% - 50vw); }
.site-main .rd-btn { display: inline-block; padding: 7px 34px 7px 22px; border: 2px solid #222; border-radius: 16px; color: #111; background: transparent;
  font: 500 15px/1.2 "Fira Sans", Arial, sans-serif; text-decoration: none; position: relative; }
.site-main .rd-btn::after { content: "›"; position: absolute; right: 14px; top: 4px; font-size: 18px; }
.site-main .rd-btn:hover { background: #05a; border-color: #05a; color: #fff; }
.site-main .rd-btn-w { border-color: #fff; color: #fff; }

/* первый экран: пять фото подряд, синяя плашка, цифры */
.rd-hero { position: relative; background: #111; margin-bottom: 0; }
.rd-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; height: 400px; }
.rd-strip li { overflow: hidden; }
.rd-strip picture, .rd-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-slogan { position: absolute; top: 0; left: 50%; transform: translateX(-50%); margin: 0; background: #1f4fbf; color: #fff; padding: 6px 80px;
  font: 400 24px/1.3 "Fira Sans", Arial, sans-serif; text-transform: uppercase; white-space: nowrap; }
.rd-facts { list-style: none; margin: 0; padding: 0; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 70px; }
.rd-facts li { background: #1f4fbf; color: #fff; padding: 8px 22px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rd-facts small { font: 400 13px/1 "Fira Sans", Arial, sans-serif; text-transform: uppercase; }
.rd-facts b { font: 500 26px/1 "Fira Sans", Arial, sans-serif; }
.rd-phone { position: absolute; top: 12px; right: 18px; margin: 0; text-align: right; background: rgba(255, 255, 255, .9); padding: 6px 12px; }
.rd-phone a { color: #111; text-decoration: none; font: 400 22px/1.2 "Fira Sans", Arial, sans-serif; display: block; }
.rd-phone span { font-size: 14px; color: #333; }

/* кому */
.rd-trends { display: flex; justify-content: center; gap: 120px; margin: 34px 0 40px; }
.site-main .rd-trends a { width: 290px; min-height: 90px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 14px 20px; color: #111; text-decoration: none; font: 400 14px/1.3 "Fira Sans", Arial, sans-serif; text-transform: uppercase; }
.rd-trends i { display: block; width: 12px; height: 12px; border-right: 3px solid #05a; border-bottom: 3px solid #05a; transform: rotate(45deg); margin-top: 12px; }
.site-main .rd-trends a:hover { color: #05a; }

/* синий блок */
.rd-intro { background: #05a; color: #fff; display: flex; gap: 40px; align-items: center; padding: 30px 40px 30px 20px; margin: 0 0 30px; }
.rd-intro figure { margin: 0; flex: 0 0 130px; }
.rd-intro img { width: 130px; height: auto; display: block; }
.rd-intro p { margin: 0; font: 400 18px/1.55 "PT Sans", Arial, sans-serif; }

.rd-icons ul { list-style: none; margin: 0 0 50px; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.rd-icons li { width: 110px; text-align: center; font: 400 13px/1.3 "Fira Sans", Arial, sans-serif; color: #05a; }
.rd-icons img { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto 8px; }

/* события и новости */
.site-main .rd-news h2, .site-main .rd-sports h2 { font: 500 32px/1.2 "Fira Sans", Arial, sans-serif; color: #111; margin: 0 0 22px; }
.rd-news { margin-bottom: 70px; }
.rd-ev { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-main .rd-ev a { display: block; background: #7a8693; color: #fff; text-decoration: none; padding: 8px 8px 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); height: 100%; }
.rd-past { display: block; text-align: center; font: 500 20px/1.3 "Fira Sans", Arial, sans-serif; margin-bottom: 6px; }
.rd-past small { font-size: 11px; background: #fff; color: #111; padding: 1px 5px; vertical-align: middle; }
.rd-ev picture, .rd-ev img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rd-ev b { display: block; text-align: center; font: 400 14px/1.35 "Fira Sans", Arial, sans-serif; margin-top: 10px; }
.rd-nw { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.site-main .rd-nw a { display: block; background: #16b; color: #fff; text-decoration: none; height: 100%; }
.rd-nw picture, .rd-nw img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rd-nw span { display: block; padding: 8px; font: 400 13px/1.3 "Fira Sans", Arial, sans-serif; }

/* плитки секций, мероприятий, услуг */
.rd-sports { margin-bottom: 70px; }
.rd-sports > p { margin: 0 0 18px; }
.rd-tiles { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rd-3 { grid-template-columns: repeat(3, 1fr); }
.rd-tiles a, .rd-mosaic a { position: relative; display: block; overflow: hidden; text-decoration: none; height: 100%; }
.rd-tiles picture, .rd-tiles img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .3s; }
.rd-3 picture, .rd-3 img { aspect-ratio: 3 / 2; }
.rd-tiles span, .rd-mosaic span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px;
  background: rgba(0, 25, 60, .35); color: #fff; font: 500 18px/1.25 "Fira Sans", Arial, sans-serif; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.rd-tiles a:hover img, .rd-mosaic a:hover img { transform: scale(1.05); }
.rd-mosaic { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 10px; }
.rd-mosaic li:first-child { grid-row: span 2; }
.rd-mosaic li:last-child { grid-column: span 2; }
.rd-mosaic picture, .rd-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.rd-hello { margin: 0; }

/* контакты */
.rd-contacts { background: #05a; color: #fff; }
.rd-contacts > div { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.rd-contacts figure { margin: 0; }
.rd-contacts picture, .rd-contacts img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-ct { padding: 40px 40px; }
.site-main .rd-ct h2 { color: #fff; font: 500 30px/1.2 "Fira Sans", Arial, sans-serif; margin: 0 0 18px; }
.rd-ct p { margin: 0 0 14px; }
.site-main .rd-ct a { color: #fff; }

@media (max-width: 760px) {
  .rd-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .rd-strip li { height: 170px; }
  .rd-strip li:nth-child(n+5) { display: none; }
  .rd-slogan { padding: 6px 20px; font-size: 18px; }
  .rd-facts { position: static; transform: none; flex-direction: column; gap: 3px; margin-top: 3px; }
  .rd-facts li { justify-content: center; }
  .rd-phone { position: static; text-align: center; background: #fff; }
  .rd-trends { flex-direction: column; gap: 14px; align-items: stretch; margin: 20px 0; }
  .site-main .rd-trends a { width: auto; }
  .rd-intro { flex-direction: column; padding: 24px 16px; gap: 16px; text-align: center; }
  .rd-icons ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
  .rd-icons li { width: auto; }
  .rd-ev { grid-template-columns: 1fr; gap: 18px; }
  .rd-nw, .rd-tiles, .rd-3 { grid-template-columns: repeat(2, 1fr); }
  .rd-3 li:last-child { grid-column: span 2; }
  .rd-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .rd-mosaic li:first-child { grid-row: auto; grid-column: span 2; }
  .rd-mosaic li:last-child { grid-column: span 2; }
  .rd-contacts > div { grid-template-columns: 1fr; }
  .rd-ct { padding: 28px 16px; }
  .site-main .rd-news h2, .site-main .rd-sports h2 { font-size: 26px; }
}
