@charset "UTF-8";
/* Общие уточнения: навигация, карточки, статьи, адаптив (были inline на всех страницах) */
/* Shared refinements: navigation, responsive rhythm and accessible controls. */
html { scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
.rm-home, .rm-blog {
  --rm-muted: #626975;
  --rm-accent: #b83923;
  --rm-accent-2: #c64126;
  --rm-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --rm-display: var(--rm-font);
}
.rm-home__shell, .rm-blog__page { width: min(1188px, calc(100% - 64px)); }
.rm-home__header, .rm-blog__header { height: auto; min-height: 96px; gap: 24px; }
.rm-home__wordmark, .rm-blog__wordmark { width: 178px; flex-shrink: 0; min-height: 44px; }
.rm-home__nav, .rm-blog__nav { gap: 28px; font-size: 15px; }
.rm-home__nav > a, .rm-blog__nav-link,
.rm-home__nav-contact, .rm-blog__nav-contact { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
.rm-blog__nav-link--active::after { bottom: 3px; background: var(--rm-accent); }
.rm-home__intro { padding: 54px 0 40px; }
.rm-blog__main { padding-top: 54px; }
.rm-home__intro h1, .rm-blog__intro h1 { font-size: clamp(38px, 5.2vw, 69px); font-weight: 430; line-height: 1.06; letter-spacing: -.045em; overflow-wrap: anywhere; }
.rm-home__intro-text, .rm-blog__lead { max-width: 860px; font-size: clamp(18px, 1.62vw, 22px); line-height: 1.5; }
.rm-home__destinations { grid-template-columns: 1.15fr 1fr; gap: 16px; }
.rm-home__destination { min-height: 0; padding: 30px; }
.rm-home a.rm-home__destination--blog { color: #fff; grid-row: span 2; min-height: 360px; }
.rm-home__destination--blog .rm-home__destination-copy h2 { font-size: clamp(40px, 4vw, 52px); }
.rm-home__destination--blog .rm-home__destination-copy p { color: #fff; }
.rm-home__destination--upcoming, .rm-home__destination--upcoming:hover { background: transparent; border-color: var(--rm-line); }
.rm-home__destination--upcoming { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.rm-home__destination--upcoming .rm-home__destination-copy h2 { font-size: 28px; margin-bottom: 12px; }
.rm-home__destination--upcoming .rm-home__destination-copy p { font-size: 17px; }
.rm-home__upcoming-status { margin: 0; font-size: 13px; padding: 7px 10px; border: 1px solid var(--rm-line); border-radius: 30px; white-space: nowrap; }
.rm-home__lock-icon { display: none; }
.rm-home__destination:last-child { grid-column: auto; min-height: 0; }
.rm-home__text-link, .rm-home__dialog-link, .rm-blog__text-link { min-height: 44px; }
.rm-blog__featured { border-radius: 7px; }
.rm-blog__featured .rm-blog__category, .rm-blog__featured .rm-blog__excerpt { color: #fff; }
.rm-blog__demo-note { color: var(--rm-muted); font-size: 13px; }
.rm-blog__other { padding-top: 48px; }
.rm-home__footer, .rm-blog__footer { min-height: 76px; font-size: 14px; }
.rm-home__dialog, .rm-blog__dialog { background: #fafaf8; border: 1px solid #d6d6d2; border-radius: 12px; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
.rm-home__dialog-close, .rm-blog__dialog-close { width: 44px; height: 44px; background: #f1f0ec; }
.rm-blog__dialog { padding-top: 24px; }
.rm-blog__dialog-close { float: none; margin: 0 -10px 16px auto; }
.rm-home :focus-visible, .rm-blog :focus-visible, .rm-skip:focus-visible { outline: 2px solid #111214; outline-offset: 5px; }
.rm-home__destination--blog:focus-visible { outline-offset: 4px; }
.rm-blog__featured-copy :focus-visible { outline-color: #fff; }
.rm-skip { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 18px; background: #111214; color: #fff; font: 16px Arial, sans-serif; transform: translateY(-160%); }
.rm-skip:focus { transform: translateY(0); }
#about { scroll-margin-top: 24px; }
@media (max-width: 1040px) {
  .rm-home__shell, .rm-blog__page { width: calc(100% - 48px); }
  .rm-home__destination { padding: 26px; }
  .rm-home__destination--upcoming { display: flex; gap: 18px; }
  .rm-home__upcoming-status { align-self: flex-start; }
  .rm-home a.rm-home__destination--blog { min-height: 360px; }
}
@media (max-width: 900px) {
  .rm-blog__featured-quote { display: none; }
  .rm-blog__featured-copy { min-height: 340px; padding: 32px; }
}
@media (max-width: 680px) {
  .rm-home__shell, .rm-blog__page { width: calc(100% - 32px); }
  .rm-home__header, .rm-blog__header { min-height: 80px; gap: 12px; flex-wrap: wrap; padding: 14px 0; }
  .rm-home__wordmark, .rm-blog__wordmark { width: 132px; }
  .rm-home__nav, .rm-blog__nav { gap: 16px; font-size: 14px; }
  .rm-home__nav > a, .rm-blog__nav-link:not(.rm-blog__nav-link--active) { display: inline-flex; }
  .rm-home__nav-contact span, .rm-blog__nav-contact span { display: inline; }
  .rm-home__nav-contact svg, .rm-blog__nav-contact svg { width: 15px; height: 15px; }
  .rm-home__intro { padding: 36px 0 28px; }
  .rm-blog__main { padding-top: 36px; }
  .rm-home__intro h1, .rm-blog__intro h1 { font-size: clamp(34px, 8.8vw, 52px); }
  .rm-home__destinations { grid-template-columns: 1fr; gap: 12px; }
  .rm-home a.rm-home__destination--blog { grid-row: auto; min-height: 260px; }
  .rm-home__destination--upcoming { display: grid; padding: 24px; }
  .rm-home__destination--upcoming .rm-home__destination-copy h2 { font-size: 26px; }
  .rm-home__upcoming-status { font-size: 12px; padding: 6px 8px; }
  .rm-home__secondary-item h2 { font-size: 28px; }
  .rm-blog__featured-copy { padding: 28px 24px; min-height: 0; }
  .rm-blog__featured h2 { font-size: 34px; margin-top: 28px; }
  .rm-blog__featured .rm-blog__text-link { padding-top: 24px; }
  .rm-blog__card { min-height: 0; }
  .rm-blog__card h3 { margin-top: 24px; }
  .rm-home__dialog, .rm-blog__dialog { width: calc(100% - 24px); padding: 58px 24px 32px; }
  .rm-home__dialog h2, .rm-blog__dialog > h2, .rm-blog__reader h2 { font-size: 32px; }
  .rm-blog__dialog { padding-top: 16px; }
}
@media (max-width: 440px) {
  .rm-home__header, .rm-blog__header { gap: 0; }
  .rm-home__nav, .rm-blog__nav { width: 100%; justify-content: space-between; }
  .rm-home__destination--upcoming { grid-template-columns: 1fr; gap: 14px; }
  .rm-home__upcoming-status { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }


.rm-stories { padding-bottom: 32px; }
.rm-stories__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rm-line); padding: 24px 0 14px; }
.rm-stories__head h2 { margin: 0; font-size: 28px; font-weight: 450; letter-spacing: -.035em; }
.rm-stories__head > a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 15px; text-decoration: none; }
.rm-stories__head > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.rm-stories__note { margin: 0 0 20px; color: var(--rm-muted); font-size: 13px; }
.rm-stories__feature, .rm-stories__card { display: flex; flex-direction: column; text-decoration: none; border-radius: 7px; }
.rm-home a.rm-stories__feature { padding: 36px 40px; background: linear-gradient(125deg,var(--rm-accent),var(--rm-accent-2)); color: white; }
.rm-stories__category { font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em; }
.rm-stories__feature h3 { max-width: 880px; font-size: clamp(32px, 3.6vw, 49px); font-weight: 450; line-height: 1.08; letter-spacing: -.035em; margin: 30px 0 18px; text-wrap: pretty; }
.rm-stories__feature p { max-width: 680px; font-size: 19px; line-height: 1.5; margin: 0; }
.rm-stories__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-top: 32px; font-size: 14px; }
.rm-stories__foot > span:last-child { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.rm-stories__foot > span:last-child > span { font-size: 24px; }
.rm-stories__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rm-stories__card { padding: 30px 32px 22px; border: 1px solid var(--rm-line); }
.rm-stories__card h3 { font-size: 29px; font-weight: 450; line-height: 1.15; letter-spacing: -.025em; margin: 22px 0 14px; }
.rm-stories__card p { color: var(--rm-muted); font-size: 17px; line-height: 1.5; margin: 0; }
.rm-stories__card .rm-stories__category { color: var(--rm-muted); }
.rm-stories__feature:hover h3, .rm-stories__card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.rm-upcoming { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--rm-line); padding: 22px 0; }
.rm-upcoming h2 { font-size: 14px; font-weight: 500; margin: 0; }
.rm-upcoming p { display: flex; flex-wrap: wrap; gap: 16px; color: var(--rm-muted); font-size: 15px; margin: 0; }
.rm-upcoming__status { margin-left: auto; padding: 5px 10px; border: 1px solid var(--rm-line); border-radius: 24px; font-size: 12px; color: var(--rm-muted); }
.rm-blog a.rm-blog__title-button { text-decoration: none; }
.rm-blog a.rm-blog__title-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.rm-article__crumbs { display: flex; flex-wrap: wrap; gap: 12px; color: var(--rm-muted); font-size: 14px; margin-bottom: 36px; }
.rm-article__crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.rm-article__crumbs span { align-self: center; }
.rm-article__crumbs a:hover { text-decoration: underline; }
.rm-article .rm-blog__reader { max-width: 740px; }
.rm-article .rm-blog__reader h1 { margin: 22px 0 26px; font-size: clamp(36px, 4.5vw, 60px); font-weight: 450; line-height: 1.08; letter-spacing: -.045em; text-wrap: pretty; }
.rm-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 0; margin-bottom: 32px; border-block: 1px solid var(--rm-line); color: var(--rm-muted); font-size: 14px; }
.rm-article__share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rm-article__share button { border: 0; background: transparent; padding: 8px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.rm-article__share-status { color: var(--rm-muted); font-size: 13px; }
.rm-article .rm-blog__reader h2 { margin: 40px 0 16px; font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.rm-article .rm-blog__reader > p:not(.rm-blog__category):not(.rm-blog__reader-lead) { font-size: 18px; line-height: 1.75; }
.rm-article .rm-blog__reader-lead { font-size: 22px; line-height: 1.5; }
.rm-article__related { max-width: 960px; margin: 64px auto 48px; padding-top: 28px; border-top: 1px solid var(--rm-line); }
.rm-article__related > h2 { font-size: 28px; font-weight: 450; letter-spacing: -.025em; margin: 0 0 24px; }
.rm-article__related .rm-stories__card h3 { font-size: 26px; }
.rm-article__back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rm-line); }
.rm-article__back a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
@media (max-width: 680px) {
  .rm-stories__head { padding-top: 16px; gap: 12px; }
  .rm-stories__head h2 { font-size: 26px; }
  .rm-home a.rm-stories__feature { padding: 26px 24px 18px; }
  .rm-stories__feature h3 { font-size: 32px; margin-top: 24px; }
  .rm-stories__feature p { font-size: 17px; }
  .rm-stories__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .rm-stories__card { padding: 24px 24px 16px; }
  .rm-stories__card h3 { font-size: 26px; }
  .rm-stories__foot { font-size: 13px; gap: 8px; padding-top: 20px; flex-wrap: wrap; }
  .rm-upcoming { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .rm-upcoming p { grid-row: 2; grid-column: 1 / -1; font-size: 14px; gap: 10px; }
  .rm-upcoming__status { grid-column: 2; grid-row: 1; }
  .rm-article__crumbs { margin-bottom: 24px; }
  .rm-article .rm-blog__reader h1 { font-size: 36px; }
  .rm-article .rm-blog__reader h2 { font-size: 26px; }
  .rm-article .rm-blog__reader-lead { font-size: 20px; }
  .rm-article .rm-blog__reader > p:not(.rm-blog__category):not(.rm-blog__reader-lead) { font-size: 17px; }
  .rm-article__related { margin-top: 48px; }
}
