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

/* theme stylesheet */
/* Как tomikiaikido.ru: белая страница, Verdana (свободная родственница — DejaVu Sans), синяя шапка #0072bb с баннером «Одержать победу без боя», белая и голубая полосы меню, красная линия #ea1e29; ссылки #039, заголовки событий на голубом #cde, таблица расписания #8fbee8/#ecf1f8. */
html { overflow-x: clip; }
body { background: #fff; color: #000; font: 400 14px/1.55 Verdana, "DejaVu Sans", Arial, sans-serif; }
a { color: #003399; }
a:visited { color: #555; }
a:hover { color: #555; }
h1, h2, h3, .site-main h1, .site-main h2 { font-family: Verdana, "DejaVu Sans", Arial, sans-serif; color: #000; }
.dev-bar { padding: 5px 16px; background: #0072bb; color: #fff; text-align: center; font: 400 12px/1.4 Verdana, "DejaVu Sans", sans-serif; }
.dev-bar a { color: #fff; }

/* Шапка: синяя полоса с баннером слева, белая и голубая полосы меню, красная линия снизу */
.site-header { position: relative; border: 0; padding: 0 16px;
  background: linear-gradient(#0072bb 0 80px, #f8ffff 80px 86px, #8fd8f9 86px calc(100% - 4px), #ea1e29 calc(100% - 4px)); }
.site-header-row, .site-nav { max-width: 1240px; }
.site-header-row { min-height: 80px; padding: 0; }
.site-name { color: #fff; gap: 18px; font: 700 18px/1.3 Verdana, "DejaVu Sans", Arial, sans-serif; }
.site-name:hover, .site-name:visited { color: #fff; }
.site-logo img { width: 221px; height: 80px; object-fit: cover; object-position: left top; }
.site-tools a, .site-city summary, .site-langs a { color: #fff; }
.site-nav ul { gap: 0; padding: 0; }
.site-nav li + li::before { content: "|"; color: #003399; padding: 0 6px; }
.site-nav a { color: #003399; text-decoration: underline; border: 0; padding: 2px 0 6px; font-size: 14px; }
.site-nav a:hover { color: #555; border: 0; }
.site-nav a[aria-current] { color: #ff0000; font-weight: 700; border: 0; }
.menu-toggle { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: #fff; }
@media (min-width: 760px) {
  .site-header { padding-left: max(16px, calc(50% - 620px)); padding-right: max(16px, calc(50% - 620px)); }
  .site-header-row { margin: 0; max-width: none; height: 80px; flex-wrap: nowrap; }
  .site-logo { position: absolute; top: 0; left: max(16px, calc(50% - 620px)); z-index: 2; }
  .site-logo img { width: 304px; height: 110px; object-fit: fill; }
  .site-name { padding-left: 304px; }
  .site-header-row::after { content: "itaf@tomikiaikido.ru\A+7 (4712) 50-00-52\A+7 (960) 697-51-97"; white-space: pre; text-align: right; color: #bbbbff; font: 700 13px/1.45 Verdana, "DejaVu Sans", sans-serif; margin-left: auto; }
  .site-header { height: 110px; background: linear-gradient(#0072bb 0 80px, #f8ffff 80px 86px, #8fd8f9 86px 106px, #ea1e29 106px); }
  .site-nav { margin: 0; max-width: none; height: 30px; padding: 6px 0 0 316px; }
  .site-nav a { padding: 0; line-height: 20px; }
}
@media (max-width: 759px) {
  .site-header { background: linear-gradient(#0072bb 0 64px, #f8ffff 64px 66px, #8fd8f9 66px calc(100% - 4px), #ea1e29 calc(100% - 4px)); padding-bottom: 4px; }
  .site-header-row { min-height: 64px; }
  .site-logo img { width: 177px; height: 64px; object-fit: fill; }
  .site-name span { font-size: 0; }
  .js-menu .site-nav li + li { border-top: 1px solid rgba(0, 51, 153, .2); }
  .site-nav li + li::before { content: none; }
  .js-menu .site-nav a { padding: 10px 0; }
}

/* Страницы */
.site-main { max-width: 1240px; padding: 24px 16px 56px; }
.site-main h1 { font-size: 28px; line-height: 1.25; font-weight: 700; }
.site-main h2 { font-size: 20px; }
.rich h3 { font-size: 16px; }
.rich blockquote { font-weight: 700; font-style: italic; color: #6666aa; border-left: 2px solid #8fbee8; }
.rich img { margin: 8px auto; }
.button, .btn, button.primary { border-radius: 0; }

/* Главная */
.page-home .site-main { padding-top: 0; }
.tk-top { text-align: center; border-bottom: 1px solid #999; padding: 6px 0 10px; margin-bottom: 18px; }
.tk-motto { font-size: 12px; font-style: italic; margin: 0 0 8px; }
.tk-call { margin: 0 0 4px; font-size: 13px; }
.tk-call span { font-weight: 700; }
.tk-call a { font-weight: 700; white-space: nowrap; margin: 0 6px; }
.tk-links { margin: 0; font-size: 13px; }
.tk-imp, .tk-imp:visited { color: #ff0000; font-weight: 700; }
.tk-h { font-size: 28px; margin: 18px 0 16px; }
.tk-news { margin: 0 0 22px; }
.tk-news h3 { display: flex; justify-content: space-between; gap: 12px; background: #ccddee; margin: 0 0 12px; padding: 5px 8px; font-size: 13px; line-height: 1.4; }
.tk-news h3 a, .tk-news h3 a:visited { color: #000; text-decoration: none; }
.tk-news h3 a:hover { text-decoration: underline; }
.tk-news h3 span { font-weight: 400; white-space: nowrap; color: #333; }
.tk-news-body { padding: 0 8px; }
.tk-news-body p { margin: 0 0 8px; }
.tk-has-img { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.tk-news-img { display: block; }
.tk-news-img img { width: 220px; height: 150px; object-fit: cover; border: 1px solid #ccddee; }
.tk-more { font-weight: 700; }
.tk-archive { text-align: right; font-weight: 700; }
.tk-club { border-top: 1px solid #999; margin-top: 24px; }
.tk-club > p { max-width: 900px; }
.tk-club h3 { font-size: 16px; margin: 18px 0 8px; }
.tk-table { overflow-x: auto; }
.tk-schedule { border-collapse: collapse; border: 1px solid #000; margin: 6px 0 16px; min-width: 70%; }
.tk-schedule th { background: #8fbee8; padding: 4px 10px; border: 1px solid #000; }
.tk-schedule td { background: #ecf1f8; padding: 4px 10px; text-align: center; border: 1px solid #000; }
.tk-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-btn, .tk-btn:visited { display: inline-block; padding: 8px 16px; background: #0072bb; color: #fff; font-weight: 700; text-decoration: none; border: 2px solid #0072bb; }
.tk-btn:hover { background: #005a94; color: #fff; }
.tk-btn-o, .tk-btn-o:visited { background: #fff; color: #003399; }
.tk-btn-o:hover { background: #ecf1f8; color: #003399; }
.tk-gallery { border-top: 1px solid #999; margin-top: 24px; }
.tk-gallery ul, .tk-masters ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tk-gallery a, .tk-masters a { display: block; text-align: center; font-size: 13px; }
.tk-gal-img { display: block; margin-bottom: 6px; }
.tk-gal-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #ccddee; }
.tk-masters { border-top: 1px solid #999; margin-top: 24px; }
.tk-masters ul { grid-template-columns: repeat(3, 1fr); }
.tk-m-img { display: block; margin: 0 auto 8px; width: 160px; }
.tk-m-img img { width: 160px; height: 200px; object-fit: cover; object-position: top; filter: grayscale(1); }
.tk-masters b, .tk-masters a > span { display: block; }
.tk-gallery a, .tk-masters a { text-decoration: none; }
.tk-gallery a span, .tk-masters b { text-decoration: underline; }
.tk-masters span { color: #555; font-size: 12px; }
@media (max-width: 699px) {
  .tk-h { font-size: 22px; }
  .tk-has-img { grid-template-columns: 1fr; gap: 10px; }
  .tk-news-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .tk-news h3 { flex-direction: column; gap: 2px; }
  .tk-gallery ul { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tk-masters ul { grid-template-columns: 1fr; }
  .tk-schedule { min-width: 0; width: 100%; font-size: 12px; }
  .tk-schedule th, .tk-schedule td { padding: 4px 4px; }
}
