/* Neps 2026 visual upgrade: warm editorial/product layer. Reversible by removing this file + rioModernHero include. */
:root {
  --rio-red: #ef2b35;
  --rio-red-dark: #c91722;
  --rio-ink: #15110f;
  --rio-espresso: #2a1712;
  --rio-muted: #746860;
  --rio-cream: #fff8ef;
  --rio-paper: #fffdf8;
  --rio-olive: #607044;
  --rio-saffron: #f6b648;
  --rio-line: rgba(42, 23, 18, .12);
  --rio-shadow: 0 24px 70px rgba(42, 23, 18, .12);
  --rio-radius-xl: 34px;
  --rio-radius: 22px;
}

html { scroll-behavior: smooth; }
body {
  background: linear-gradient(180deg, #fffaf2 0, #fff 30%, #f6f1eb 100%) !important;
  color: var(--rio-ink);
  font-family: Inter, Arimo, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body p,
.post-content p,
.entry-content p { font-family: Inter, Arimo, Arial, sans-serif !important; color: #594f48; line-height: 1.72; }
h1, h2, h3, h4, h5, h6,
.post-title,
.widget-title {
  font-family: Fraunces, Inter, Georgia, serif !important;
  letter-spacing: -.035em;
  color: #160f0c;
}
a { color: inherit; }
a:hover { color: var(--rio-red); }
.container { max-width: 1168px; }

/* Header */
.main-header.header-style-2 { position: relative; z-index: 20; }
.header-bottom.header-sticky {
  border-bottom: 1px solid rgba(42, 23, 18, .08);
  box-shadow: 0 8px 30px rgba(42, 23, 18, .05);
  backdrop-filter: blur(18px);
}
.header-bottom .container { max-width: 1220px; }
.header-logo { width: 88px !important; margin: 8px 0 8px 18px !important; }
.header-logo img { width: 88px; height: auto; display: block; }
.main-menu ul li a {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: .04em;
  font-weight: 800 !important;
  color: #1e242e !important;
  padding: 28px 15px !important;
}
.main-menu ul li a:hover,
.main-menu ul li.current-menu-item > a { color: var(--rio-red) !important; }
button.search-icon,
#off-canvas-toggle { color: #2c2a26; }
.scroll-progress.primary-bg { background: linear-gradient(90deg, var(--rio-red), var(--rio-saffron)) !important; }

/* Homepage hero */
.rio-neps-hero {
  padding: 34px 20px 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 43, 53, .10), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(246, 182, 72, .18), transparent 28%),
    linear-gradient(135deg, #fff7ed 0%, #fffdf8 54%, #f8efe5 100%);
  border-bottom: 1px solid var(--rio-line);
}
.rio-neps-hero__wrap {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 28px;
  align-items: stretch;
}
.rio-neps-hero__copy,
.rio-neps-hero__feature {
  background: rgba(255, 253, 248, .82);
  border: 1px solid rgba(42, 23, 18, .10);
  border-radius: var(--rio-radius-xl);
  box-shadow: var(--rio-shadow);
  overflow: hidden;
}
.rio-neps-hero__copy {
  padding: clamp(30px, 5vw, 60px);
  position: relative;
}
.rio-neps-hero__copy:after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,43,53,.16), transparent 68%);
  pointer-events: none;
}
.rio-neps-kicker,
.rio-neps-pill,
.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 900;
}
.rio-neps-kicker {
  color: var(--rio-red-dark);
  font-size: 12px;
  margin: 0 0 16px;
}
.rio-neps-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .91;
  margin: 0 0 22px;
}
.rio-neps-lede {
  max-width: 670px;
  font-size: clamp(17px, 2vw, 20px);
  color: #5c4d43 !important;
  margin: 0 0 28px;
}
.rio-neps-actions,
.rio-neps-intents { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.rio-neps-actions { margin-bottom: 18px; }
.rio-neps-btn,
.rio-neps-intents a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 850;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.rio-neps-btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(42,23,18,.14);
  background: #fff;
  color: #211713;
  box-shadow: 0 8px 20px rgba(42,23,18,.06);
}
.rio-neps-btn--primary {
  background: var(--rio-red);
  border-color: var(--rio-red);
  color: #fff !important;
}
.rio-neps-btn:hover,
.rio-neps-intents a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42,23,18,.14); }
.rio-neps-intents a {
  padding: 9px 13px;
  background: rgba(96, 112, 68, .10);
  color: #3d4d28;
  font-size: 13px;
}
.rio-neps-hero__feature { display: grid; grid-template-rows: minmax(310px, 1fr) auto; background: #17100d; }
.rio-neps-hero__image {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: block;
  position: relative;
}
.rio-neps-hero__image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(16, 10, 7, .78));
}
.rio-neps-hero__card {
  margin: -130px 22px 22px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 253, 248, .95);
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.rio-neps-pill,
.post-cat {
  background: var(--rio-red) !important;
  color: #fff !important;
  font-size: 11px !important;
  padding: 7px 10px !important;
}
.rio-neps-hero__card h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1; margin: 14px 0 10px; }
.rio-neps-hero__card p { margin: 0 0 14px; }
.rio-neps-meta { display: flex; gap: 16px; color: #887970; font-size: 12px; font-weight: 700; }

.rio-neps-smart-strip {
  max-width: 1168px;
  margin: 22px auto 8px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rio-neps-smart-strip a {
  background: #fff;
  border: 1px solid var(--rio-line);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 14px 36px rgba(42,23,18,.06);
  text-decoration: none !important;
}
.rio-neps-smart-strip strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 20px; letter-spacing: -.03em; margin-bottom: 4px; }
.rio-neps-smart-strip span { color: var(--rio-muted); }

/* Modernize legacy modules without breaking their PHP */
.background-white,
.background12 { background: transparent !important; }
.recent-area { padding-top: 42px !important; }
.widget-header .letter-background { color: rgba(239,43,53,.07); font-family: Fraunces, Georgia, serif; }
.widget-title,
#latest-posts h5,
.sidebar-widget > .widget-header h5 {
  color: var(--rio-red) !important;
  font-size: clamp(24px, 3vw, 38px) !important;
  line-height: 1 !important;
}
.loop-grid .col-lg-4.col-md-6.col-sm-12.mb-30 {
  margin-bottom: 42px !important;
}
.loop-grid .post-thumb {
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(42,23,18,.08);
}
.loop-grid .img-hover-slide,
.post-module-1 .img-hover-slide {
  border-radius: 22px !important;
  min-height: 300px;
}
.loop-grid .post-title,
.post-content .post-title {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.06 !important;
  margin-top: 12px !important;
}
.entry-meta { color: #91877f !important; font-family: Inter, Arial, sans-serif !important; font-weight: 650; }
.hover-box-shadow-2:hover,
.hover-box-shadow:hover { box-shadow: 0 24px 60px rgba(42,23,18,.14) !important; transform: translateY(-2px); }

/* Dark diet section becomes more premium */
.background11,
.footer-area,
.footer-bottom-area {
  background: #071421 !important;
}
.section-padding,
.recent-area { position: relative; }

/* Chef card / newsletter / sidebar */
.kuzhinieret,
.sidebar-widget,
.widget-area,
.post-module-3,
.footer-area .container { border-radius: var(--rio-radius); }
.newsletter,
.sidebar-widget.widget_newsletterwidget,
.widget_newsletterwidget,
.widget_mc4wp_form_widget { background: #fff !important; border-radius: 22px; box-shadow: 0 16px 42px rgba(42,23,18,.08); padding: 22px; }
input[type="text"], input[type="email"], input[type="search"], textarea {
  border-radius: 14px !important;
  border: 1px solid rgba(42,23,18,.16) !important;
  padding: 12px 14px !important;
}
button, input[type="submit"], .btn {
  border-radius: 999px !important;
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 850 !important;
}

/* Footer: less legal dump, more media brand */
.footer-area { padding-top: 64px !important; }
.footer-area h3 { font-size: 24px !important; letter-spacing: -.03em; color: #fff !important; }
.footer-area p,
.footer-area li,
.footer-copy-right p { color: rgba(255,255,255,.78) !important; font-size: 15px; line-height: 1.7; }
.footer-area a { color: #fff !important; text-decoration-color: rgba(255,255,255,.35); }
.footer-border { border-color: rgba(255,255,255,.10) !important; }

/* Hide outdated UI noise */
#preloader-active,
.preloader,
.wp-dark-mode-floating-switch,
.wp-dark-mode-switcher,
.wp-dark-mode-side-toggle-wrap,
.wp-dark-mode-ignore.wp-dark-mode-floating-switch {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 991px) {
  .rio-neps-hero { padding: 18px 14px; }
  .rio-neps-hero__wrap { grid-template-columns: 1fr; gap: 16px; }
  .rio-neps-hero__copy { padding: 30px 22px; }
  .rio-neps-hero__feature { grid-template-rows: auto auto; }
  .rio-neps-hero__image { min-height: 310px; }
  .rio-neps-smart-strip { grid-template-columns: 1fr; margin-top: 14px; }
  .header-logo { margin-left: 0 !important; width: 78px !important; }
  .loop-grid .img-hover-slide { min-height: 240px; }
}
@media (max-width: 575px) {
  .rio-neps-hero__copy { border-radius: 24px; }
  .rio-neps-hero h1 { font-size: 52px; }
  .rio-neps-actions { display: grid; }
  .rio-neps-btn { width: 100%; }
  .rio-neps-hero__card { margin: -86px 12px 14px; padding: 18px; border-radius: 20px; }
  .rio-neps-hero__card h2 { font-size: 28px; }
  .footer-area .col-md-3 { margin-bottom: 28px; }
}
