/* AgahiCity — bulletin board | enterprise shell */
html { direction: rtl; font-size: 16px; }

:root {
  --cm-accent: #2e7d32;
  --cm-bg: #eef3ee;
  --cm-surface: #ffffff;
  --cm-text: #1b2a1c;
  --cm-muted: #5a6b5c;
  --cm-radius: 4px;
  --cm-gap: 0.75rem;
  --cm-font: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
  --cm-shadow: none;
}

html, body, .rn-enterprise,
body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cm-font) !important;
}

body {
  background: var(--cm-bg);
  color: var(--cm-text);
  direction: rtl;
  text-align: right;
}

/* Bulletin: full-width hero, grid sections, notice-board feel */
body.rooyesh-agahicity .rn-header {
  border-bottom: 3px solid var(--cm-accent);
  box-shadow: none;
}
body.rooyesh-agahicity .rn-top-row {
  margin-bottom: 1.25rem;
}
body.rooyesh-agahicity .rn-hero-slider {
  border-radius: var(--cm-radius);
  border: 1px solid color-mix(in srgb, var(--cm-accent) 25%, transparent);
}
body.rooyesh-agahicity .rn-card,
body.rooyesh-agahicity .rn-top2-link,
body.rooyesh-agahicity .rn-sidebar .rn-widget {
  border: 1px solid color-mix(in srgb, var(--cm-text) 10%, transparent);
  box-shadow: none;
  border-radius: var(--cm-radius);
}
body.rooyesh-agahicity .rn-section-head {
  border-bottom: 2px solid var(--cm-accent);
}
body.rooyesh-agahicity .rn-mosaic {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

body.rooyesh-agahicity .cm-header,
body.rooyesh-agahicity .cm-main-header,
body.rooyesh-agahicity #cm-masthead,
body.rooyesh-agahicity .cm-footer-colophon,
body.rooyesh-agahicity #colormag-footer,
body.rooyesh-agahicity .footer-socket-wrapper {
  display: none !important;
}

body.rooyesh-agahicity #page,
body.rooyesh-agahicity .cm-content {
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* rn-brand-polish: base rem + transparent nav */

body.rooyesh-agahicity .rn-footer-title,
body.rooyesh-agahicity .rn-footer h2 {
  color: #ffffff !important;
}
