/* REKLABA 2026 — единственный визуальный эталон: жёлтый HERO */
:root,:root[data-theme="dark"]{
  --bg:#F2F2EF;--surface:#FFFFFF;--sunk:#E6E6E1;--ink:#151515;
  --muted:#62625C;--line:#D6D6CF;--accent:#E53225;--accent-ink:#FFFFFF;
  --poster:#FFD84D;--poster-ink:#151515;
  --display:'Inter Tight','Arial Black',Arial,sans-serif;
  --body:'Golos Text',Arial,sans-serif;
  color-scheme:light;
}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#F2F2EF;--surface:#FFFFFF;--sunk:#E6E6E1;--ink:#151515;
  --muted:#62625C;--line:#D6D6CF;--accent:#E53225;--poster:#FFD84D;
  --display:'Inter Tight','Arial Black',Arial,sans-serif;
  --body:'Golos Text',Arial,sans-serif;color-scheme:light;
}}
body{font-family:var(--body)!important;font-weight:400;letter-spacing:normal;background:#F2F2EF;color:#151515}
button,input,textarea,select{font-family:var(--body)}
h1,h2,h3,h4,.rk-news-title,.rk-news-card h3,.rk-exhibition h2,.rk-thoughts h2,.rk-vikt h2,
.rb-brand,.farm-logo{font-family:var(--display)!important;font-weight:900!important;letter-spacing:-.025em;overflow-wrap:anywhere;hyphens:auto}
p,.sub,.rk-news-card p,.rk-exhibition p,.rk-thoughts p{font-family:var(--body)!important;font-weight:400}
/* Меню: единое начертание, без прыгающей ширины при наведении */
.farm-nav,.farm-nav a,.rb-nav,.rb-nav a,.rb-news-nav nav,.rb-news-nav nav a,
header nav a,.topbar nav a{font-family:var(--body)!important;font-weight:500!important;
  letter-spacing:0!important;text-transform:none;white-space:nowrap;font-size:clamp(12px,1.1vw,15px)!important;line-height:1.35!important}
.farm-top{gap:18px;min-width:0}
.farm-nav{gap:clamp(8px,1.6vw,23px)!important;min-width:0;flex-wrap:wrap;justify-content:flex-end}
.farm-logo{flex-shrink:0}
/* Палитра без фуксии и фиолетового: контраст и тёплый жёлтый */
.rk-exhibition{background:#151515!important;color:white!important;border-radius:12px!important;
  padding:clamp(20px,3vw,34px)!important;margin-top:24px!important;align-items:start!important}
.rk-exhibition h2{color:#FFD84D!important}
.rk-exhibition .rk-ex-photos img{object-fit:contain}
.rk-thoughts{background:#FFD84D!important;color:#151515!important;border-color:#151515!important;
  margin-top:20px!important;min-height:0!important;padding:clamp(16px,2.3vw,25px)!important}
.rk-vikt{background:#fff!important;color:#151515!important;border:2px solid #151515!important;
  margin:20px 0!important;padding:16px 22px!important;min-height:0!important}
.rk-news-card,.rk-news-featured,.rk-news-small article{background:#fff;color:#151515}
.rk-news-layout{align-items:start!important}
.rk-news-card{height:100%;min-width:0}
.rk-news-card h3,.rk-news-card h2{font-size:clamp(16px,1.45vw,24px)!important;line-height:1.16!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.rk-news-card img{max-width:100%;display:block}
/* Красная черта вместо конфетти, карандашей и снежинок */
.rk-news-card:hover{box-shadow:0 4px 0 #E53225}
.rk-thoughts:before{content:"";display:block;width:52px;height:5px;background:#E53225;
  position:absolute;top:10px;right:18px;transform:rotate(-5deg)}
.rk-thoughts{position:relative}
/* Внутренние страницы */
.rb-header,.rb-news-nav{background:#FFD84D!important;color:#151515!important;border-color:#151515!important}
.rb-brand span{color:#E53225!important}
.rb-nav a:last-child{background:#151515!important;color:#FFD84D!important}
.hero{background:#FFD84D!important;color:#151515!important;border-color:#151515!important;
  margin-top:0!important;padding:clamp(20px,3vw,38px)!important}
.hero:before,.hero:after{display:none!important}
.tag{background:#151515!important;color:#FFD84D!important}
.tile{box-shadow:none!important;border:1px solid #d6d6cf!important}
.tile:hover{box-shadow:0 4px 0 #E53225!important}
/* На мобильном не создаём горизонтальный скролл меню и карточек */
@media(max-width:850px){.farm-top{align-items:flex-start;flex-wrap:wrap}.farm-nav{justify-content:flex-start;width:100%}
.rk-news-layout{grid-template-columns:1fr!important}.rk-exhibition{grid-template-columns:1fr!important}}
@media(max-width:480px){.farm-nav{gap:7px 14px!important}.farm-nav a{font-size:12px!important}
.rk-news-card h3,.rk-news-card h2{font-size:17px!important}}
@media(prefers-reduced-motion:reduce){.rk-news-card,.tile{transition:none!important}}

/* Photo exhibition: one photo at a time, no layout shift */
.rk-ex-photos .rk-slide-photo{transition:opacity .28s ease;position:relative;min-width:0}
.rk-ex-photos .rk-slide-photo.rk-photo-changing{opacity:.12}
.rk-ex-photos .rk-slide-photo img{display:block;width:100%;height:100%;object-fit:contain;background:#f5f5f0}
@media(prefers-reduced-motion:reduce){.rk-ex-photos .rk-slide-photo{transition:none}}
