
.rs-page-head { padding: 8px 0 0; }
.rs-page-head h1 { margin-top: 4px; font-size: clamp(40px, 5vw, 64px); font-weight: 300; line-height: 1.04; }
.rs-page-head h1 em { font-style: normal; color: var(--accent); }
.rs-crumbs { padding-top: 28px; margin-bottom: 28px; }
.rs-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 24px 48px; align-items: end; }
.rs-kaima { height: 20px; max-width: 400px; margin-top: 24px; background: url("/images/v3/ru-m/kaima.svg") repeat-x left center; }
.rs-page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.rs-page-meta b { color: var(--ink); font-weight: 600; }
/* W20 illb: the section illustration in the right column of the head (v3.russia.partials.head-art), above the search when there is one */
.rs-page-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rs-head-art { display: block; width: 100%; max-width: 400px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; margin-left: auto; }
/* a head without a search beside the text: the picture centred on the text, not on its last line */
.rs-page-grid:has(> .rs-page-aside > .rs-head-art:only-child) { align-items: center; }
@media (max-width: 900px) {
  .rs-page-grid { grid-template-columns: 1fr; }
  .rs-head-art { display: none; }
}
@media (max-width: 760px) {
  .rs-crumbs { padding-top: 20px; margin-bottom: 20px; }
}
.rs-page-sec { padding-top: 56px; }

/* about: text column + numbers, links to the four sections */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.about-heading { margin: 40px 0 16px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; }
.about-heading:first-child, .about-cta .about-heading { margin-top: 0; }
.about-text { max-width: 640px; margin-bottom: 16px; color: var(--text); font-size: 17px; line-height: 1.7; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-stats { position: sticky; top: 24px; display: grid; gap: 12px; }
.about-stat { padding: 22px 24px; border-radius: var(--r); background: var(--paper); }
.about-stat__number { display: block; margin-bottom: 6px; font: 300 40px/1 var(--serif); color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.about-stat__label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.about-cta { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.about-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.about-cat { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s; }
.about-cat:hover { color: var(--ink); transform: translateY(-2px); border-color: transparent; box-shadow: 0 18px 36px -24px rgba(20,20,40,.4); }
.about-cat__ico { display: inline-flex; color: var(--accent); }
.about-cat__num { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.about-cat__name { flex: 1; font-weight: 600; font-size: 16px; }
.about-cat svg { flex: none; color: var(--accent); transition: transform .2s; }
.about-cat:hover svg { transform: translateX(3px); }

/* forms: contact, submit, password reset (fields of the auth modals, plus select and textarea) */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.contact-form-wrap, .submit-wrap { max-width: 640px; }
.rs-form-card { padding: 36px; border-radius: var(--r); background: var(--paper); }
.rs-form-card .auth-form__field input:not([type="radio"]):not([type="checkbox"]) { border-color: #c9ccd4; }
.contact-form select, .contact-form textarea, .submit-form select, .submit-form textarea { width: 100%; padding: 12px 16px; border: 1px solid #c9ccd4; border-radius: 12px; background: #fff; color: var(--ink); font: 15px/1.6 var(--sans); transition: border-color .15s, box-shadow .15s; resize: vertical; }
.contact-form select, .submit-form select { height: 48px; padding: 0 12px 0 16px; cursor: pointer; }
.contact-form textarea { min-height: 140px; }
.submit-form textarea { min-height: 110px; }
.contact-form select:focus, .contact-form textarea:focus, .submit-form select:focus, .submit-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.rs-form-card .auth-form__submit { width: auto; min-width: 220px; padding: 0 32px; }
.form-success, .form-error { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 16px 20px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; }
.form-success { background: var(--accent-soft); }
.form-success svg { flex: none; color: var(--accent-dark); }
.form-error { display: block; background: #fdecea; font-weight: 400; }
.form-error p { margin-bottom: 4px; }
.form-error p:last-child { margin-bottom: 0; }
.submit-note { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* contact: other channels (links) */
.contact-sidebar__title { margin-bottom: 16px; font: 600 17px/1.3 var(--sans); letter-spacing: 0; }
.contact-channel { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s; }
.contact-channel:hover { color: var(--ink); transform: translateY(-2px); border-color: transparent; box-shadow: 0 18px 36px -24px rgba(20,20,40,.4); }
.contact-channel__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); }
.contact-channel__name { display: block; margin-bottom: 2px; font-weight: 600; font-size: 15px; }
.contact-channel__handle { color: var(--muted); font-size: 14px; }

/* privacy, terms: contents column + the text */
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc__nav { position: sticky; top: 24px; }
.legal-toc__title { margin-bottom: 12px; font: 600 13px/1.3 var(--sans); letter-spacing: .08em; color: var(--muted); }
.legal-toc__list { margin: 0; padding: 0; list-style: none; }
.legal-toc__list li { margin-bottom: 4px; }
.legal-toc__list a { display: block; padding: 4px 0; color: var(--text); font-size: 14px; line-height: 1.4; }
.legal-toc__list a:hover { color: var(--accent-dark); }
.legal-content { max-width: 720px; color: var(--text); font-size: 16px; line-height: 1.7; }
.legal-content p { margin-bottom: 14px; }
.legal-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--accent); }
.legal-intro { margin-bottom: 32px !important; padding: 22px 26px; border-radius: var(--r); background: var(--paper); color: var(--ink); }
.legal-heading { display: flex; align-items: baseline; gap: 14px; margin: 44px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(24px, 2.4vw, 30px); font-weight: 300; scroll-margin-top: 24px; }
.legal-heading__num { flex: none; color: var(--accent); font: 600 14px/1 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.legal-list { margin: 0 0 16px; padding-left: 22px; }
.legal-list li { margin-bottom: 6px; }
.legal-list li::marker { color: var(--accent); }
.legal-updated { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* subscription status, password reset, email verification: one card */
.rs-page-head.rs-status { padding-top: 64px; }
.rs-status-text { max-width: 640px; margin-top: 20px; color: var(--text); font-size: 18px; line-height: 1.55; }
.rs-status-go { margin-top: 28px; }
.pw-reset-card, .verify-card { max-width: 460px; }
.verify-card { padding: 40px; border-radius: var(--r); background: var(--paper); }
.verify-icon { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: #fff; color: var(--accent-dark); }
.verify-title { margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 300; }
.verify-text { margin-bottom: 24px; color: var(--text); font-size: 16px; line-height: 1.65; }
.verify-actions { margin-bottom: 18px; }
.verify-resend { padding: 12px 24px; border: 1px solid var(--accent); border-radius: 999px; background: #fff; color: var(--accent-dark); font: 600 15px var(--sans); cursor: pointer; transition: background .15s, color .15s; }
.verify-resend:hover { background: var(--accent); color: #fff; }
.verify-hint { color: var(--muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 1100px) {
  .about-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .about-grid, .contact-grid, .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { position: static; grid-template-columns: 1fr 1fr; }
  .legal-toc__nav { position: static; }
}
@media (max-width: 760px) {
  .rs-page-sec { padding-top: 36px; }
  .about-categories { grid-template-columns: 1fr; }
  /* «1 200+» on one line in the half-width stat cards at 390px */
  .about-stat__number { font-size: 32px; white-space: nowrap; }
  .about-cta { margin-top: 48px; padding-top: 36px; }
  .rs-form-card, .verify-card { padding: 24px 20px; }
  .rs-form-card .auth-form__submit { width: 100%; }
  .legal-heading { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-cat:hover, .contact-channel:hover { transform: none; }
  .about-cat:hover svg { transform: none; }
}
