:root {
  --bg: #ffffff;
  --surface: #f0f0f0;
  --fg: #111111;
  --muted: #555555;
  --accent: #a3120c;
  --accent-fg: #ffffff;
  --radius: 0px;
  --font: Georgia, "Times New Roman", "PT Serif", serif;
  --font-headings: var(--font);
}

/* theme stylesheet */
/* Как aikido-rostov.ru: белая страница, Georgia, серые полосы #e8e8e8, жёлтая полоса #ffff80, меню курсивом с подчёркиванием, «Набор» красным, заголовки додзё вразрядку на сером. */
html { overflow-x: clip; }
body { background: #fff; color: #000; font: 400 16px/1.55 Georgia, "Times New Roman", "PT Serif", serif; }
a { color: #1a0dab; }
a:hover { color: #a3120c; }
h1, h2, h3, .site-main h1, .site-main h2 { font-family: Georgia, "Times New Roman", serif; color: #000; font-weight: 400; }
.dev-bar { padding: 6px 16px; background: #e8e8e8; color: #333; text-align: center; font: italic 400 13px/1.4 Georgia, serif; }
.dev-bar a { color: #1a0dab; }

/* Шапка: серая полоса меню курсивом, как у них */
.site-header { background: #e8e8e8; border: 0; padding: 0 16px; }
.site-header-row, .site-nav { max-width: 1100px; }
.site-name { color: #000; font: 400 18px/1.2 Georgia, serif; }
.site-logo img { width: 44px; height: 44px; object-fit: contain; }
.site-nav ul { gap: 4px 26px; justify-content: center; }
.site-nav a { color: #000; border: 0; font: italic 400 18px/1.4 Georgia, serif; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.site-nav li:first-child a { color: #c00; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: #a3120c; border: 0; box-shadow: none; }
.site-city summary, .site-langs a { color: #000; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: #000; }
.ar-menu { display: none; }
@media (min-width: 1000px) {
  .page-home .site-header { display: none; }
  .ar-menu { display: flex; justify-content: center; gap: 26px; padding: 7px 16px; background: #e8e8e8; }
  .ar-menu a { color: #000; font: italic 400 18px/1.4 Georgia, serif; text-underline-offset: 3px; }
  .ar-menu a.ar-menu-red { color: #c00; text-decoration: none; }
  .ar-menu a:hover { color: #a3120c; }
}

/* Страницы */
.site-main { max-width: 1000px; padding: 32px 16px 56px; }
.site-main h1 { font-size: 34px; line-height: 1.2; }
.site-main h2 { font-size: 24px; line-height: 1.3; }
.rich h2 { margin-top: 1.6em; padding: 4px 10px; background: #e8e8e8; font-size: 18px; font-weight: 700; letter-spacing: .12em; }
.rich h3 { font-size: 18px; font-style: italic; }
.rich blockquote { margin-left: 0; padding: 12px 18px; background: #ffff80; font-style: italic; border: 0; }
.rich table { font-size: 14px; }
.rich img { border: 1px solid #555; }
.card { border-radius: 0; border: 1px solid #999; }
.card a { color: #1a0dab; }
.button, button.button { background: #a3120c; color: #fff; border-radius: 0; font-family: Georgia, serif; }
.button:hover { background: #7a0d08; color: #fff; }
.muted, small { color: #555; }
.site-footer { background: #fff; color: #000; border-top: 1px solid #ccc; }
.site-footer a { color: #1a0dab; }

/* Главная */
.page-home .site-main { padding-top: 0; padding-bottom: 32px; }
.page-home .layout-row { margin-bottom: 0; }
.ar-full { width: 100vw; margin-left: calc(50% - 50vw); }
.ar-head { background: #fff; }
.ar-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1366px; margin: 0 auto; padding: 14px 16px; }
.ar-head-logo img, .ar-head-gerb img { display: block; width: 150px; height: auto; }
.ar-head-mid { flex: 1; text-align: center; }
.ar-badges { display: flex; justify-content: center; gap: 70px; }
.ar-badges img { width: 60px; height: 60px; }
.ar-title { margin: 6px 0 4px; font: 400 43px/1.15 Georgia, serif; }
.ar-phone { margin: 0; font-size: 16px; }
.ar-intro { background: #e8e8e8; }
.ar-intro-in { display: flex; align-items: stretch; max-width: 1366px; margin: 0 auto; }
.ar-osensei { flex: 0 0 auto; padding: 22px 60px 22px 20px; }
.ar-osensei img { display: block; width: 94px; height: 113px; object-fit: cover; border: 1px solid #fff; box-shadow: 0 0 0 1px #999; }
.ar-invite { flex: 0 0 200px; align-self: center; margin-right: 40px; padding: 10px 14px; background: #fff; border: 1px solid #555; text-align: center; font-size: 15px; line-height: 1.3; }
.ar-invite p { margin: 0; }
.ar-invite-btn { margin-top: 10px !important; }
.ar-btn { display: inline-block; padding: 5px 16px; background: #c00; color: #fff; font: italic 400 16px/1.2 Georgia, serif; text-decoration: none; }
.ar-btn:hover { background: #8f0000; color: #fff; }
.ar-intro-photo { flex: 0 0 420px; }
.ar-intro-photo img { display: block; width: 420px; height: 200px; object-fit: cover; }
.ar-zitata { background: #ffff80; }
.ar-zitata-in { display: flex; align-items: center; gap: 24px; max-width: 1306px; margin: 0 auto; padding: 8px 30px; }
.ar-zitata p { flex: 1; margin: 0; font-size: 15px; line-height: 1.4; }
.ar-z-left { text-align: right; }
.ar-z-right a { color: #c00; }
.ar-z-emblem img { display: block; width: 150px; height: 150px; }
.ar-dojo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; max-width: 964px; margin: 18px auto 0; }
.ar-dojo-video { grid-row: span 1; text-align: right; }
.ar-cap { margin: 8px 0; font-size: 15px; }
.ar-cap a { color: #000; text-decoration: none; }
.ar-still img { display: block; width: 100%; max-width: 460px; height: auto; margin-left: auto; }
.ar-dojo-list h2 { margin: 16px 0 8px; font-size: 16px; font-weight: 700; }
.ar-dojo-list ul { margin: 0; padding-left: 28px; }
.ar-dojo-list small { display: block; font-size: 12px; color: #000; }
.ar-dojo-text { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-size: 15px; text-align: justify; }
.ar-halls { max-width: 964px; margin: 10px auto 0; }
.ar-card { margin: 18px 0 0; }
.ar-card h2 { margin: 0 0 8px; padding: 2px 6px; background: #e8e8e8; text-align: center; font: 700 15px/1.6 Georgia, serif; letter-spacing: .32em; text-transform: uppercase; }
.ar-card h2 a { color: #000; text-decoration: none; }
.ar-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-card-info { position: relative; display: block; min-height: 300px; border: 1px solid #555; overflow: hidden; color: #fff; text-decoration: none; }
.ar-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-card-info img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-mapheader { position: relative; z-index: 1; display: block; padding: 6px 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; line-height: 1.3; }
.ar-card-info:hover .ar-mapheader { background: rgba(163, 18, 12, .8); }
.ar-card-photo img { display: block; width: 100%; height: 300px; object-fit: cover; border: 1px solid #555; }

@media (max-width: 999px) {
  .ar-title { font-size: 30px; }
  .ar-badges { gap: 24px; }
  .ar-head-logo img, .ar-head-gerb img { width: 100px; }
  .ar-intro-photo { flex: 1 1 auto; }
  .ar-intro-photo img { width: 100%; }
}
@media (max-width: 700px) {
  .ar-head-in { flex-wrap: wrap; justify-content: center; padding: 10px 16px; }
  .ar-head-logo img, .ar-head-gerb img { width: 64px; }
  .ar-head-mid { order: 3; flex-basis: 100%; }
  .ar-badges { gap: 12px; }
  .ar-badges img { width: 44px; height: 44px; }
  .ar-title { font-size: 25px; }
  .ar-intro-in { flex-wrap: wrap; justify-content: center; }
  .ar-osensei { padding: 16px 16px 16px 0; }
  .ar-invite { flex: 1 1 160px; margin: 16px 16px 16px 0; }
  .ar-intro-photo { flex-basis: 100%; }
  .ar-intro-photo img { height: auto; aspect-ratio: 21 / 10; }
  .ar-zitata-in { flex-direction: column; padding: 16px; gap: 12px; }
  .ar-z-left, .ar-z-right { text-align: center; }
  .ar-z-emblem img { width: 110px; height: 110px; }
  .ar-dojo { grid-template-columns: 1fr; }
  .ar-dojo-text { grid-column: 1; grid-row: auto; }
  .ar-dojo-video { text-align: left; }
  .ar-card h2 { letter-spacing: .12em; font-size: 14px; }
  .ar-card-row { grid-template-columns: 1fr; }
  .ar-card-info { min-height: 220px; }
  .ar-card-photo img { height: auto; }
}
