@font-face { font-family: "Ubuntu"; src: url("/files/3128df86a31805618436d0ae5651ba4285d0c9de0a39057d025f64ee33bceb64") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("/files/679b5c1e09cab3156bb8ef529735f9382bf31ca7ac737382ab959297f8d82ad4") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("/files/4ab857e72f781a8967a6e4a9ac8858fbd6b3a9f9782db349d4b62b78ed02860b") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #eeeaea;
  --fg: #000000;
  --muted: #454545;
  --accent: #e11400;
  --accent-fg: #ffffff;
  --radius: 16px;
  --font: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Федерация айкидо Ёшинкан — по дизайну aikido-don.ru */
:root { --dojo-red: #e11400; --dojo-grey: #eeeaea; --dojo-sand: #ebd7b4; --dojo-cream: #faf5dc; --dojo-text: #454545; }
html, body { overflow-x: clip; }

/* The red sun behind the titles of sections. */
.home-block > h2, .block-page > h2, .site-main h1:not(.dojo-hero h1) {
  position: relative; z-index: 0; text-align: center; font-weight: 700; font-size: clamp(1.7rem, 6.5vw, 2.2rem); margin: 34px 0 24px;
}
.home-block > h2::before, .block-page > h2::before, .site-main h1:not(.dojo-hero h1)::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  border-radius: 50%; background: var(--dojo-red);
}
.block-page > h2 a { color: inherit; text-decoration: none; }

/* The header: white, the red sun in the middle, the menu button on the left. */
.site-header { background: #fff; border-bottom: 0; box-shadow: none; }
/* The sun rises above the menu, never over it. */
.site-header { padding-top: 34px; }
.site-header::after { content: ""; position: absolute; left: 50%; top: -70px; width: 104px; height: 104px; margin-left: -52px;
  border-radius: 50%; background: var(--dojo-red); pointer-events: none; }
.site-header-row { position: relative; z-index: 1; }
.site-nav a { color: #000; text-transform: uppercase; font-weight: 500; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--dojo-red); }
.js-menu .menu-toggle { order: -1; }
.js-menu .site-name { flex: 0 1 auto; }
.page-home .site-name { display: none; }
@media (min-width: 900px) { .site-nav a { font-size: .9rem; letter-spacing: 0; } .site-nav ul { gap: 4px 16px; } }

/* The hero: the photo of the dojo to the edges, the logo, the quote, the name. */
.dojo-hero { position: relative; width: 100vw; margin: calc(var(--space) * -1.5) 0 0 calc(50% - 50vw); min-height: 780px;
  display: flex; overflow: hidden; text-align: center; color: #000; }
.dojo-hero-bg { position: absolute; inset: 0; }
.dojo-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.dojo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.15) 45%, rgba(255,255,255,.4)); }
.dojo-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px var(--space) 44px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dojo-hero-phone { color: var(--dojo-red); font-weight: 700; font-size: 1.55rem; text-decoration: none; margin-top: 30px; }
.dojo-hero-top { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.dojo-hero-logo img { width: min(86vw, 430px); height: auto; }
.dojo-hero-quote { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.6); font-style: italic; text-align: right; font-size: 1.05rem; max-width: 560px; }
.dojo-hero-quote p { margin: 0 0 6px; }
.dojo-hero-quote cite { font-style: italic; }
.dojo-hero h1 { margin: auto 0 0; font-size: clamp(2.1rem, 8.5vw, 3.1rem); text-transform: uppercase; line-height: 1.15; text-shadow: 0 3px 6px rgba(0,0,0,.35); }
.dojo-hero-tagline { margin: 10px 0 0; font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.35; text-shadow: 0 2px 5px rgba(0,0,0,.3); }
.dojo-hero-actions { margin: 18px 0 0; }
.dojo-hero-actions .button { background: var(--dojo-red); color: #fff; border-radius: 30px; padding: 12px 26px; font-size: 1.1rem; }
@media (min-width: 900px) {
  .dojo-hero { min-height: 760px; }
  .dojo-hero-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .dojo-hero-phone { align-self: flex-end; margin-top: 0; }
  .dojo-hero-quote { background: none; }
  .dojo-hero h1 { font-size: 3rem; }
}

/* The page and the news: rounded panels. */
.page-home .block-page { background: var(--dojo-grey); border-radius: 25px; padding: 6px 18px 18px; margin-top: 36px; }
.page-home .layout-row > .w-4 .block-page { background: var(--dojo-sand); font-style: italic; text-align: center; }
.page-home .block-page .rich > figure:first-child { float: left; width: 28%; max-width: 150px; margin: 8px 14px 8px 0; }
.page-home .block-page .rich img { border-radius: 14px; }
.page-home .block-page .rich { font-size: 1.02rem; }

/* Strips instead of the sliders. */
.dojo-strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 0; list-style: none; }
.dojo-strip > * { flex: 0 0 82%; scroll-snap-align: center; }
.dojo-person { text-align: center; }
.dojo-person-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 2px solid #000; border-radius: 20px; }
.dojo-person h3 { margin: 16px 0 4px; font-size: 1.35rem; line-height: 1.25; }
.dojo-person h3 a { color: #000; text-decoration: none; }
.dojo-person p { margin: 0; font-size: 1.25rem; }
@media (min-width: 900px) {
  .dojo-instructors .dojo-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .dojo-strip > * { flex-basis: 32%; }
}

/* Classes: sand cards. */
.page-home .classes-list > li { background: var(--dojo-cream); border: 1px solid var(--dojo-sand); border-radius: 20px; }

/* About aikido: pictures with italic titles on a grey panel. */
.dojo-about { background: var(--dojo-grey); border-radius: 25px; padding: 4px 18px 24px; }
.dojo-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.dojo-tiles a { display: block; text-align: center; color: #000; text-decoration: none; }
.dojo-tiles img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid #000; border-radius: 20px; }
.dojo-tiles span { display: block; margin-top: 12px; font-size: 1.6rem; font-weight: 700; font-style: italic; line-height: 1.2; }
@media (min-width: 760px) { .dojo-tiles { grid-template-columns: repeat(3, 1fr); } }

/* Photos. */
.dojo-photos figure { margin: 0; }
.dojo-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid #000; border-radius: 20px; }
.dojo-more { text-align: center; margin: 10px 0 0; }
.dojo-more a { color: #000; font-size: 1.7rem; font-weight: 700; font-style: italic; text-decoration: none; }

/* Contacts over the map. */
.dojo-contacts { position: relative; width: 100vw; margin-left: calc(50% - 50vw); padding: 0 var(--space) 44px;
  background: #fff url("/files/e7ea2868e4ff7a163597cdf4089d0e8f23d5197c2eb100a7e0eed0fde3dc2dfd") center 120px / cover no-repeat; }
.dojo-contacts-lead { margin: 0 calc(var(--space) * -1); padding: 0 var(--space) 18px; background: #fff; text-align: center;
  font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 700; font-style: italic; line-height: 1.15; }
.dojo-contact-cards { display: grid; gap: 28px; max-width: 300px; margin: 0 auto; }
.dojo-card { background: rgba(232,232,232,.96); border: 1px solid #000; border-radius: 22px; padding: 18px 16px; text-align: center; font-style: italic; }
.dojo-card h3 { margin: 0 0 12px; font-size: 1.75rem; }
.dojo-card p { margin: 0 0 4px; font-size: 1.3rem; }
.dojo-card a { color: #000; text-decoration: none; }
@media (min-width: 900px) { .dojo-contact-cards { grid-template-columns: repeat(4, 1fr); max-width: 1120px; } }

/* The footer. */
.site-footer { background: #fff; border-top: 1px solid #000; }

/* Section pages: faces of instructors not cut; long hall names fit the filter. */
.page-instructors .card-media img, .page-instructors-item .card-media img { aspect-ratio: 3 / 4; object-position: top; }
