/*
Theme Name: ruparagliders-editorial
Theme URI: https://ruparagliders.ru/
Description: Светлая редакционная тема в духе Niviuk. Дочерняя тема Blocksy: панорамные фотографии, крупная типографика, адаптивное меню и удобное чтение.
Author: RuParagliders
Template: blocksy
Version: 2.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ruparagliders-air
WPVibe: yes
*/

:root { --rpair-ink:#242424; --rpair-muted:#666963; --rpair-paper:#fff; --rpair-soft:#f3f4f0; --rpair-line:#dedfd9; --rpair-accent:#d5ec89; --rpair-gutter:clamp(20px,3.5vw,64px); --rpair-menu-top:116px; }
html { scroll-behavior:smooth; scroll-padding-top:140px; }
*,*::before,*::after { box-sizing:border-box; }
body.rpair-site { margin:0; padding:0; background:var(--rpair-paper); color:var(--rpair-ink); font-family:Manrope,"Segoe UI",sans-serif; font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased; }
.rpair-site ::selection { background:var(--rpair-accent); color:var(--rpair-ink); }
.rpair-site h1,.rpair-site h2,.rpair-site h3,.rpair-site p,.rpair-site figure { margin:0; }
.rpair-site h1,.rpair-site h2,.rpair-site h3 { font-family:inherit; color:inherit; font-weight:500; line-height:1.15; letter-spacing:-.04em; overflow-wrap:break-word; }
.rpair-site a { color:inherit; text-decoration:none; text-underline-offset:5px; }
.rpair-site a:hover { color:inherit; }
.rpair-site button,.rpair-site input,.rpair-site textarea { font:inherit; }
.rpair-site img { max-width:100%; height:auto; vertical-align:middle; }
.rpair-site svg { display:block; width:24px; height:24px; flex-shrink:0; }
.rpair-site :focus-visible { outline:2px solid #577035; outline-offset:5px; }
.rpair-site button,.rpair-site summary { -webkit-tap-highlight-color:transparent; }
.rpair-site .rpgff-header { display:none!important; }
.rpair-site>.skip-link { display:none; }
.rpair-site { padding-bottom:var(--rpair-preview-height,0px)!important; }
.rpair-container { width:100%; max-width:1600px; margin-inline:auto; padding-inline:var(--rpair-gutter); }
.rpair-skip { position:fixed; left:16px; top:10px; z-index:99999; padding:12px 18px; background:#242424; color:white!important; transform:translateY(-160%); }
.rpair-skip:focus { transform:translateY(0); }

/* A compact header, with every section accessible without horizontal swiping. */
.rpair-header { position:sticky; top:0; z-index:1000; width:100%; background:#fff; border-bottom:1px solid var(--rpair-line); }
.admin-bar .rpair-header { top:32px; }
.rpair-utility { min-height:32px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:5px var(--rpair-gutter); background:#f5f5f3; font-size:11px; line-height:1.4; color:#62645f; }
.rpair-utility a { display:inline-flex; align-items:center; gap:8px; }
.rpair-utility svg { width:15px; height:15px; }
.rpair-header-row { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:88px; padding-inline:var(--rpair-gutter); }
.rpair-brand { display:flex; align-items:center; gap:13px; min-width:0; flex-shrink:1; font-size:19px; line-height:1.1; font-weight:700; letter-spacing:-.045em; }
.rpair-brand .rpair-brand-mark { width:45px; height:38px; }
.rpair-brand-second { display:block; margin-top:2px; }
.rpair-desktop-nav { display:flex; justify-content:center; align-items:center; gap:clamp(18px,2vw,34px); margin-left:auto; }
.rpair-desktop-nav a { white-space:nowrap; padding-block:20px; font-size:12px; font-weight:600; letter-spacing:.025em; text-transform:uppercase; }
.rpair-desktop-nav a:hover { text-decoration:underline; }
.rpair-menu { flex:0 0 auto; }
.rpair-menu summary { min-height:48px; display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; font-size:13px; line-height:1; font-weight:600; padding:8px 0 8px 10px; }
.rpair-menu summary::-webkit-details-marker { display:none; }
.rpair-menu summary::marker { content:""; }
.rpair-menu summary svg { fill:none; stroke:currentColor; stroke-width:1.5; }
.rpair-menu-close-label { display:none; }
.rpair-menu[open] .rpair-menu-close-label { display:inline; }
.rpair-menu[open] .rpair-menu-open-label { display:none; }
.rpair-menu[open] summary svg { transform:rotate(90deg); }
.rpair-menu-panel { position:fixed; top:var(--rpair-menu-top); left:0; right:0; bottom:0; background:#fff; overflow-y:auto; overscroll-behavior:contain; padding-bottom:env(safe-area-inset-bottom); border-top:1px solid var(--rpair-line); }
.rpair-menu-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:clamp(40px,8vw,150px); max-width:1600px; margin:auto; padding:60px var(--rpair-gutter) 80px; }
.rpair-menu-intro h2 { font-size:clamp(36px,4vw,64px); margin:20px 0 35px; }
.rpair-menu-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:38px; list-style:none; padding:0; margin:0; }
.rpair-menu-list li { margin:0; padding:0; }
.rpair-menu-list a { display:block; padding:15px 0; border-bottom:1px solid var(--rpair-line); font-size:21px; line-height:1.4; letter-spacing:-.025em; overflow-wrap:anywhere; }
.rpair-menu-list a:hover { padding-left:6px; }
.rpair-menu-is-open { overflow:hidden; }
.rpair-menu-panel { padding-bottom:calc(env(safe-area-inset-bottom) + var(--rpair-preview-height,0px)); }

/* Large, restrained typography and edge-to-edge photography. */
.rpair-intro { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr); gap:60px; align-items:center; padding-top:74px; padding-bottom:84px; }
.rpair-intro h1 { font-size:clamp(72px,9.2vw,150px); font-weight:400; line-height:1.03; letter-spacing:-.058em; text-transform:uppercase; }
.rpair-kicker { font-size:11px; line-height:1.4; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
.rpair-intro-copy { font-size:clamp(18px,1.65vw,24px); line-height:1.55; max-width:440px; margin:22px 0 28px!important; letter-spacing:-.018em; }
.rpair-text-link { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; min-height:44px; font-size:14px; border-bottom:1px solid currentColor; line-height:1.4; }
.rpair-text-link svg { width:21px; transition:transform .2s; }
.rpair-text-link:hover svg { transform:translateX(4px); }
.rpair-cover { position:relative; isolation:isolate; display:flex; align-items:flex-end; min-height:540px; height:min(46vw,750px); width:100%; color:#fff; background:#303e31; }
.rpair-cover-photo { position:absolute; inset:0; width:100%; height:100%!important; object-fit:cover; object-position:center 48%; z-index:-2; }
.rpair-cover-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(0,0,0,.38),transparent 75%),linear-gradient(0deg,rgba(0,0,0,.58),transparent 70%); }
.rpair-cover-content { padding:60px var(--rpair-gutter); max-width:900px; }
.rpair-cover h2 { font-size:clamp(42px,5.3vw,88px); font-weight:400; margin:14px 0 18px; }
.rpair-cover-content>p:not(.rpair-kicker) { max-width:500px; font-size:16px; line-height:1.6; margin-bottom:26px; }
.rpair-cover-credit { position:absolute; bottom:20px; right:var(--rpair-gutter); font-size:10px; opacity:.8; }
.rpair-button { display:inline-flex; align-items:center; justify-content:space-between; gap:42px; min-height:52px; padding:13px 22px; border:1px solid var(--rpair-ink); border-radius:0; background:var(--rpair-ink); color:#fff!important; font-size:13px; line-height:1.4; font-weight:500; box-shadow:none; }
.rpair-button-light { border-color:#fff; background:#fff; color:#242424!important; }
.rpair-button:hover { background:var(--rpair-accent); border-color:var(--rpair-accent); color:#242424!important; }
.rpair-section { padding-top:96px; padding-bottom:96px; }
.rpair-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:42px; }
.rpair-section-heading h2 { font-size:clamp(34px,4vw,60px); font-weight:400; margin-top:14px; }
.rpair-section-heading .rpair-text-link { flex-shrink:0; }
.rpair-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:54px 28px; }
.rpair-card-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.rpair-card { min-width:0; }
.rpair-card-image { display:block; aspect-ratio:1.48; overflow:hidden; margin-bottom:24px; background:#eef0e9; }
.rpair-card-image img { width:100%; height:100%!important; object-fit:cover; transition:transform .45s ease; }
.rpair-card:hover .rpair-card-image img { transform:scale(1.025); }
.rpair-image-placeholder { display:flex; align-items:center; justify-content:center; height:100%; font-size:18px; letter-spacing:.06em; color:#52594b; }
.rpair-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; font-size:10px; line-height:1.5; font-weight:500; letter-spacing:.07em; text-transform:uppercase; color:var(--rpair-muted); }
.rpair-meta a:hover { text-decoration:underline; }
.rpair-meta time { white-space:nowrap; }
.rpair-card h3 { font-size:24px; line-height:1.35; margin:13px 0; font-weight:500; letter-spacing:-.035em; }
.rpair-card h3 a:hover { text-decoration:underline; text-decoration-thickness:1px; }
.rpair-card>p { font-size:14px; line-height:1.7; color:#62655e; }
.rpair-card-large .rpair-card-image { aspect-ratio:1.6; }
.rpair-card-large h3 { font-size:30px; max-width:650px; }
.rpair-gear-section { background:var(--rpair-soft); }
.rpair-explore { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:80px; }
.rpair-explore h2 { font-size:clamp(40px,4.4vw,72px); line-height:1.15; font-weight:400; margin-top:24px; }
.rpair-explore-links>a { display:flex; align-items:center; gap:22px; padding:27px 0; border-bottom:1px solid var(--rpair-line); }
.rpair-explore-links>a:first-child { padding-top:0; }
.rpair-explore-links>a>span { font-size:11px; align-self:flex-start; margin-top:7px; color:var(--rpair-muted); }
.rpair-explore-links>a>div { flex:1; min-width:0; }
.rpair-explore-links h3 { font-size:28px; }
.rpair-explore-links p { font-size:13px; margin-top:9px; color:var(--rpair-muted); }

/* Article and archive templates. */
.rpair-article-heading { max-width:1300px; padding-top:75px; padding-bottom:50px; }
.rpair-article-heading h1 { font-size:clamp(36px,4.6vw,72px); font-weight:400; line-height:1.17; margin:25px 0; }
.rpair-deck { max-width:900px; font-size:clamp(18px,1.65vw,22px); line-height:1.65; color:#60635d; }
.rpair-article-cover { max-width:1500px; padding-bottom:54px; }
.rpair-article-cover img { display:block; width:100%; max-height:680px; object-fit:contain; background:#f4f5f1; }
.rpair-article-cover figcaption { font-size:12px; color:var(--rpair-muted); margin-top:12px; }
.rpair-reading { width:100%; max-width:860px; padding:0 var(--rpair-gutter) 65px; margin-inline:auto; min-width:0; }
.rpair-prose { font-size:18px; line-height:1.85; letter-spacing:-.008em; overflow-wrap:anywhere; min-width:0; }
.rpair-prose>* { max-width:100%; min-width:0; }
.rpair-prose>*+* { margin-top:1.3em; }
.rpair-prose h2 { font-size:clamp(28px,2.7vw,38px); margin:1.9em 0 .65em; }
.rpair-prose h3 { font-size:26px; margin:1.7em 0 .6em; }
.rpair-prose h4 { font-size:21px; margin:1.5em 0 .6em; }
.rpair-prose p { margin:0 0 1.2em; }
.rpair-prose a { text-decoration:underline; text-decoration-thickness:1px; color:#3c5729; }
.rpair-prose ul,.rpair-prose ol { padding-left:1.3em; }
.rpair-prose li { margin:.35em 0; }
.rpair-prose blockquote { border-left:3px solid #9eb37c; padding:12px 0 12px 25px; margin:1.6em 0; font-size:1.1em; }
.rpair-prose figure { margin:1.7em 0; width:auto; }
.rpair-prose img { display:block; max-width:100%; height:auto; }
.rpair-prose figcaption { margin-top:10px; font-size:12px; line-height:1.6; color:var(--rpair-muted); }
.rpair-prose iframe,.rpair-prose video { max-width:100%; }
.rpair-prose pre { white-space:pre-wrap; word-break:break-word; }
.rpair-prose .wp-block-table,.rpair-table-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; margin:24px 0; }
.rpair-prose table { width:100%; border-collapse:collapse; font-size:14px; line-height:1.6; }
.rpair-prose th,.rpair-prose td { padding:13px 15px!important; border:1px solid #dedfd9!important; text-align:left; vertical-align:top; }
.rpair-prose th { font-weight:600; color:#242424!important; background:#f1f3ec!important; }
.rpair-prose tbody tr:nth-child(even) { background:#fafbf8; }
.rpair-tags { margin-top:40px; padding-top:20px; border-top:1px solid var(--rpair-line); font-size:12px; }
.rpair-related { border-top:1px solid var(--rpair-line); }
.rpair-list-heading { max-width:1000px; margin-bottom:55px; }
.rpair-list-heading h1 { font-size:clamp(42px,5.8vw,86px); font-weight:400; margin:16px 0 25px; }
.rpair-list-heading .rpair-search { margin-top:30px; max-width:500px; }
.rpair-site .pagination { margin-top:60px; }
.rpair-site .pagination .nav-links { display:flex; flex-wrap:wrap; gap:10px; }
.rpair-site .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:8px 14px; border:1px solid var(--rpair-line); }
.rpair-site .page-numbers.current { background:#242424; color:#fff; }
.rpair-empty { padding:40px 0 90px; }
.rpair-empty p { margin:20px 0; }
.rpair-not-found h1 { font-size:clamp(48px,7vw,100px); margin:20px 0 30px; font-weight:400; }
.rpair-not-found p { margin-bottom:30px; }
.rpair-not-found .rpair-search { margin-top:35px; max-width:450px; }
.rpair-search { display:flex; align-items:stretch; width:100%; min-width:0; border-bottom:1px solid #242424; }
.rpair-search input[type=search] { min-width:0; width:100%; border:0; border-radius:0; padding:14px 0; font-size:16px; height:auto; background:transparent; color:#242424; box-shadow:none; }
.rpair-search button { display:flex; align-items:center; justify-content:center; flex:0 0 48px; min-height:50px; border:0; padding:0; border-radius:0; background:transparent; color:#242424; box-shadow:none; cursor:pointer; }
.rpair-comments { margin-top:65px; border-top:1px solid var(--rpair-line); padding-top:35px; }
.rpair-comments h2,.rpair-comments h3 { font-size:26px; margin:0 0 25px; }
.rpair-comments label { display:block; margin-bottom:6px; font-size:13px; }
.rpair-comments input:not([type=checkbox]),.rpair-comments textarea { width:100%; min-height:44px; border:1px solid #d8dcd3; border-radius:0; padding:12px; background:#fff; }
.rpair-comments p { margin:18px 0; }
.rpair-comments .submit { background:#242424!important; color:#fff; width:auto!important; padding:14px 24px!important; cursor:pointer; }
.rpair-comments .comment-list { padding-left:0; list-style:none; }
.rpair-comments .comment-body { margin:25px 0; }
.rpair-comments .comment-meta { font-size:13px; }
.rpair-comments .children { padding-left:20px; }
.rpair-comments .comment-form-cookies-consent label { display:inline; }

.rpair-footer { background:#242424; color:#fff; padding-top:70px; }
.rpair-footer-top { display:flex; align-items:flex-end; justify-content:space-between; gap:50px; padding-bottom:65px; }
.rpair-footer-title { font-size:clamp(48px,5.5vw,90px); font-weight:400; line-height:1.1; letter-spacing:-.055em; margin-top:22px!important; }
.rpair-footer nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 50px; font-size:14px; }
.rpair-footer nav a { min-height:30px; }
.rpair-footer nav a:hover { text-decoration:underline; }
.rpair-footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:82px; border-top:1px solid #4b4b47; font-size:11px; color:#c9cbc5; }

@media(max-width:1199px) {
  .rpair-desktop-nav { display:none; }
  .rpair-header-row { min-height:78px; }
  .rpair-intro { gap:35px; padding-top:60px; padding-bottom:64px; }
  .rpair-intro h1 { font-size:9.2vw; }
  .rpair-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rpair-section { padding-block:72px; }
  .rpair-menu-inner { gap:50px; }
  .rpair-menu-list { column-gap:24px; }
  .rpair-menu-list a { font-size:18px; }
  .rpair-explore { gap:45px; }
}
@media(max-width:782px) { .admin-bar .rpair-header { top:46px; } }
@media(max-width:700px) {
  .rpair-site #wpvibe-preview-banner { flex-wrap:wrap; gap:6px 12px; padding:10px 16px; }
  .rpair-site #wpvibe-preview-banner .wpvibe-badge { flex-basis:100%; }
  .rpair-site #wpvibe-preview-banner .wpvibe-info { flex-basis:100%; font-size:10px; }
  .rpair-site #wpvibe-preview-banner .wpvibe-btn { font-size:10px; }

  :root { --rpair-gutter:22px; --rpair-menu-top:77px; }
  html { scroll-padding-top:96px; }
  .rpair-utility { display:none; }
  .rpair-header-row { min-height:76px; gap:12px; }
  .rpair-brand { gap:9px; font-size:16px; }
  .rpair-brand .rpair-brand-mark { width:34px; height:31px; }
  .rpair-menu summary { gap:9px; font-size:12px; padding-left:5px; min-height:48px; }
  .rpair-menu summary svg { width:23px; }
  .rpair-intro { grid-template-columns:minmax(0,1fr); gap:30px; padding-top:43px; padding-bottom:45px; }
  .rpair-intro h1 { font-size:clamp(44px,12.2vw,84px); line-height:1.06; letter-spacing:-.055em; }
  .rpair-intro .rpair-kicker { font-size:10px; }
  .rpair-intro-copy { font-size:17px; max-width:440px; margin:13px 0 16px!important; }
  .rpair-text-link { font-size:13px; min-height:42px; gap:22px; }
  .rpair-cover { height:610px; min-height:0; max-height:88svh; }
  .rpair-cover-photo { object-position:57% 46%; }
  .rpair-cover-content { padding:34px var(--rpair-gutter) 44px; max-width:100%; }
  .rpair-cover h2 { font-size:42px; margin-top:14px; }
  .rpair-cover-content>p:not(.rpair-kicker) { font-size:14px; max-width:400px; }
  .rpair-cover-shade { background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,0) 90%); }
  .rpair-cover-credit { bottom:13px; font-size:9px; }
  .rpair-section { padding-block:55px; }
  .rpair-section-heading { display:block; margin-bottom:30px; }
  .rpair-section-heading h2 { font-size:34px; margin-top:10px; }
  .rpair-section-heading .rpair-text-link { margin-top:16px; }
  .rpair-card-grid,.rpair-card-grid-two { grid-template-columns:minmax(0,1fr); gap:38px; }
  .rpair-card-image { aspect-ratio:1.5; margin-bottom:19px; }
  .rpair-card h3,.rpair-card-large h3 { font-size:24px; margin:11px 0; }
  .rpair-card>p { font-size:14px; }
  .rpair-explore { grid-template-columns:minmax(0,1fr); gap:38px; }
  .rpair-explore h2 { font-size:42px; margin-top:15px; }
  .rpair-explore-links h3 { font-size:24px; }
  .rpair-explore-links>a { gap:15px; padding-block:22px; }
  .rpair-menu-inner { grid-template-columns:minmax(0,1fr); gap:35px; padding:30px var(--rpair-gutter) 55px; }
  .rpair-menu-intro h2 { font-size:36px; margin:12px 0 20px; }
  .rpair-menu-list { grid-template-columns:minmax(0,1fr); }
  .rpair-menu-list a { font-size:22px; padding:15px 0; }
  .rpair-article-heading { padding-top:40px; padding-bottom:28px; }
  .rpair-article-heading h1 { font-size:34px; line-height:1.2; margin:18px 0; letter-spacing:-.035em; }
  .rpair-deck { font-size:17px; }
  .rpair-article-cover { padding-inline:0; padding-bottom:30px; }
  .rpair-article-cover figcaption { padding-inline:var(--rpair-gutter); }
  .rpair-reading { padding-bottom:40px; }
  .rpair-prose { font-size:17px; line-height:1.85; }
  .rpair-prose h2 { font-size:28px; }
  .rpair-prose h3 { font-size:23px; }
  .rpair-prose table { font-size:13px; }
  .rpair-prose th,.rpair-prose td { padding:10px 12px!important; }
  .rpair-list-heading { margin-bottom:35px; }
  .rpair-list-heading h1 { font-size:42px; }
  .rpair-footer { padding-top:45px; }
  .rpair-footer-top { display:block; padding-bottom:38px; }
  .rpair-footer-title { font-size:56px; }
  .rpair-footer nav { margin-top:35px; gap:16px 24px; }
  .rpair-footer-bottom { flex-direction:column; align-items:flex-start; gap:10px; padding-top:23px; padding-bottom:25px; min-height:0; }
}
@media(max-width:600px) { .admin-bar .rpair-header { top:0; } }
@media(max-width:359px) {
  :root { --rpair-gutter:16px; }
  .rpair-brand { font-size:14px; gap:7px; }
  .rpair-brand .rpair-brand-mark { width:29px; }
  .rpair-menu summary { gap:7px; font-size:11px; }
  .rpair-cover h2 { font-size:36px; }
  .rpair-article-heading h1 { font-size:30px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .rpair-site * { transition:none!important; animation:none!important; }
}
