/* iLook.by — inner pages theme (not hero on home) */

body:not(.page-home),
body.page-home .rp-section,
body.page-home .section-cta,
body.page-home .site-footer,
body.page-home .rp-footer {
  --rp-bg: #edeae3;
  --rp-bg-2: #ffffff;
  --rp-elev: #ffffff;
  --rp-card: #ffffff;
  --rp-line: #ddd8cf;
  --rp-text: #111111;
  --rp-muted: #6b6560;
  --rp-dim: #8a847c;
  --rp-accent: #1a5c4b;
  --rp-accent-2: #c2410c;
  --rp-grad: linear-gradient(135deg, #1a5c4b 0%, #2d7a66 100%);
  --rp-radius: 12px;
  --rp-radius-sm: 8px;
  --rp-font: var(--font-body);
  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

body:not(.page-home) {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--rp-text);
  background: var(--rp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:not(.page-home) a {
  color: var(--rp-accent);
}
body:not(.page-home) a:hover {
  color: #134838;
}

/* Headings — Plus Jakarta Sans */
body:not(.page-home) h1,
body:not(.page-home) h2,
body:not(.page-home) h3,
body:not(.page-home) h4,
body:not(.page-home) .rp-hero h1,
body:not(.page-home) .hero h1,
body:not(.page-home) .rp-section__head h2,
body:not(.page-home) .section-header h2,
body:not(.page-home) .rp-card h2,
body:not(.page-home) .rp-card h3,
body:not(.page-home) .term-card h2,
body:not(.page-home) .term-card h3,
body:not(.page-home) .article-card h2,
body:not(.page-home) .article-card h3,
body:not(.page-home) .page-header h1,
body:not(.page-home) .article-header h1,
body:not(.page-home) .prose h2,
body:not(.page-home) .prose h3,
body:not(.page-home) .related-materials-title,
body:not(.page-home) .related-cta h2,
body:not(.page-home) .cta-band__title,
body:not(.page-home) .footer-request-head h3 {
  font-family: var(--font-heading) !important;
  font-weight: 600;
  letter-spacing: -0.03em;
}

body:not(.page-home) h1,
body:not(.page-home) .page-header h1,
body:not(.page-home) .article-header h1 {
  font-size: clamp(1.625rem, 3.5vw, 2rem);
  line-height: 1.15;
  font-weight: 600;
}

body:not(.page-home) h2,
body:not(.page-home) .rp-section__head h2,
body:not(.page-home) .section-header h2,
body:not(.page-home) .prose h2 {
  font-size: 1.25rem;
  line-height: 1.25;
}

body:not(.page-home) h3,
body:not(.page-home) .rp-card h3,
body:not(.page-home) .term-card h3,
body:not(.page-home) .article-card h3 {
  font-size: 1rem;
  line-height: 1.35;
}

body:not(.page-home) .article-lead,
body:not(.page-home) .page-meta,
body:not(.page-home) .article-card-excerpt,
body:not(.page-home) .term-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* Header */
body:not(.page-home) .rp-topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rp-line);
}

body:not(.page-home) .rp-brand,
body:not(.page-home) .rp-nav a,
body:not(.page-home) .rp-nav-dropdown summary,
body:not(.page-home) .mobile-menu-toggle {
  color: var(--rp-text);
  font-size: 13px;
  font-weight: 500;
}

body:not(.page-home) .rp-nav a,
body:not(.page-home) .rp-nav-dropdown summary {
  color: var(--rp-muted);
}

body:not(.page-home) .rp-nav a:hover,
body:not(.page-home) .rp-nav a.active,
body:not(.page-home) .rp-nav-dropdown summary.active {
  color: var(--rp-text);
}

body:not(.page-home) .rp-brand__mark {
  color: var(--rp-accent);
}

body:not(.page-home) .rp-nav-dropdown__content {
  background: #fff;
  border-color: var(--rp-line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Article header */
body:not(.page-home) .article-header .container.container-narrow {
  background: #fff;
  border: 1px solid var(--rp-line);
  border-left: 3px solid var(--rp-accent);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body:not(.page-home) .article-category-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-accent);
}

/* Cards */
body:not(.page-home) .rp-card,
body:not(.page-home) .term-card,
body:not(.page-home) .article-card,
body:not(.page-home) .service-card,
body:not(.page-home) .contact-card {
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body:not(.page-home) .rp-card:hover,
body:not(.page-home) .term-card:hover,
body:not(.page-home) .article-card:hover {
  border-color: #c9c3b8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

body:not(.page-home) .rp-section--alt,
body:not(.page-home) .section-alt {
  background: #e5e1d9;
}

/* Buttons */
body:not(.page-home) .rp-btn--solid,
body:not(.page-home) .btn-primary {
  background: var(--rp-accent);
  color: #fff;
  border-color: var(--rp-accent);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  padding: 10px 20px;
}

body:not(.page-home) .rp-btn--solid:hover,
body:not(.page-home) .btn-primary:hover {
  background: #134838;
  color: #fff;
}

body:not(.page-home) .rp-btn--ghost,
body:not(.page-home) .btn-ghost {
  background: transparent;
  color: var(--rp-text);
  border: 1px solid var(--rp-line);
  font-size: 14px;
  border-radius: 8px;
}

body:not(.page-home) .rp-btn--ghost:hover,
body:not(.page-home) .btn-ghost:hover {
  background: #fff;
  border-color: #bbb5aa;
}

/* CTA blocks */
body:not(.page-home) .cta-band,
body:not(.page-home) .related-cta,
body.page-home .cta-band,
body.page-home .related-cta {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 36px 40px;
}

body:not(.page-home) .cta-band::before,
body:not(.page-home) .related-cta::before,
body.page-home .cta-band::before,
body.page-home .related-cta::before {
  background: var(--rp-accent-2);
  width: 3px;
}

body:not(.page-home) .cta-band__eyebrow,
body.page-home .cta-band__eyebrow {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
}

body:not(.page-home) .cta-band__title,
body:not(.page-home) .cta-band h2,
body:not(.page-home) .related-cta h2,
body.page-home .cta-band__title,
body.page-home .related-cta h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: none;
}

body:not(.page-home) .cta-band__text,
body:not(.page-home) .related-cta p,
body.page-home .cta-band__text,
body.page-home .related-cta p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  max-width: 48ch;
}

body:not(.page-home) .cta-band .rp-btn--solid,
body:not(.page-home) .related-cta .rp-btn--solid,
body.page-home .cta-band .rp-btn--solid,
body.page-home .related-cta .rp-btn--solid {
  background: #fff;
  color: #111;
  border-color: #fff;
}

body:not(.page-home) .cta-band .rp-btn--solid:hover,
body.page-home .cta-band .rp-btn--solid:hover {
  background: #f0f0f0;
  color: #111;
}

body:not(.page-home) .cta-band__ghost,
body.page-home .cta-band__ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

body:not(.page-home) .cta-band__ghost:hover,
body.page-home .cta-band__ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Footer */
body:not(.page-home) .rp-footer,
body:not(.page-home) .site-footer,
body.page-home .site-footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 48px;
}

body:not(.page-home) .footer-request-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

body:not(.page-home) .footer-request-head h3 {
  font-size: 1.375rem;
  max-width: none;
  color: #fff;
}

body:not(.page-home) .footer-request-hint {
  font-size: 14px;
  max-width: 42ch;
}

/* Prose content */
body:not(.page-home) .prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--rp-text);
}

body:not(.page-home) .prose p {
  margin-bottom: 1em;
}

/* Home sections below hero */
body.page-home .rp-section,
body.page-home .section {
  background: var(--rp-bg);
  color: var(--rp-text);
  font-family: var(--font-body);
  font-size: 15px;
}

body.page-home .rp-section h2,
body.page-home .section-header h2 {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem;
  font-weight: 600;
}

body.page-home .rp-card,
body.page-home .term-card,
body.page-home .article-card {
  background: #fff;
  border: 1px solid #ddd8cf;
  border-radius: 12px;
}

body.page-home .section-cta {
  background: var(--rp-bg);
}

/* Breadcrumbs, catalog pages */
body:not(.page-home) .breadcrumbs {
  font-size: 13px;
  color: var(--rp-muted);
}

body:not(.page-home) .catalog-hero h1,
body:not(.page-home) .terms-hero h1 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

body:not(.page-home) .section-link {
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 640px) {
  body:not(.page-home) {
    font-size: 14px;
  }

  body:not(.page-home) .article-header .container.container-narrow {
    padding: 20px 18px;
    border-radius: 12px;
  }

  body:not(.page-home) .cta-band,
  body:not(.page-home) .related-cta {
    padding: 24px 20px;
  }
}
