@font-face{font-family:Vazirmatn;src:url("/static/vazirmatn.woff2") format("woff2");font-display:swap}

    :root {
      --navy: #10243a;
      --navy-2: #193650;
      --green: #16766d;
      --green-dark: #105b55;
      --gold: #d7b574;
      --gold-light: #f1dfb8;
      --paper: #f7f8f5;
      --white: #ffffff;
      --ink: #1b2b3b;
      --muted: #71808b;
      --line: #e5eae7;
      --shadow: 0 18px 50px rgba(16, 36, 58, .09);
      --radius: 22px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Vazirmatn", Tahoma, sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.8;
    }
    button, input, textarea, select { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; text-decoration: none; }
    button { cursor: pointer; }
    [hidden] { display: none !important; }

    .announcement {
      background: var(--navy);
      color: #eaf0f1;
      text-align: center;
      padding: 8px 16px;
      font-size: 12px;
      letter-spacing: .1px;
    }
    .announcement span { color: var(--gold-light); }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(247, 248, 245, .92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(16, 36, 58, .07);
    }
    .nav-wrap {
      max-width: 1160px;
      margin: auto;
      padding: 13px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 11px;
      flex-shrink: 0;
    }
    .brand-mark {
      width: 47px;
      height: 47px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      color: var(--navy);
      background: linear-gradient(145deg, #f4e5c5, var(--gold));
      font-size: 27px;
      font-weight: 800;
      box-shadow: 0 7px 18px rgba(215, 181, 116, .25);
    }
    .brand-name { color: var(--navy); font-weight: 800; font-size: 17px; line-height: 1.35; }
    .brand-sub { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 2px; }
    .nav-links { display: flex; align-items: center; gap: 27px; color: #52616c; font-size: 13px; }
    .nav-links a { transition: color .2s ease; }
    .nav-links a:hover { color: var(--green); }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .btn {
      border: 0;
      border-radius: 13px;
      padding: 11px 19px;
      font-weight: 700;
      font-size: 12px;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--green); color: white; box-shadow: 0 9px 20px rgba(22, 118, 109, .18); }
    .btn-primary:hover { background: var(--green-dark); }
    .btn-outline { color: var(--navy); border: 1px solid #d9e0dc; background: rgba(255,255,255,.7); }
    .btn-gold { color: var(--navy); background: var(--gold); }
    .menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; color: var(--navy); }

    .container { width: min(1160px, calc(100% - 48px)); margin: auto; }
    .hero {
      position: relative;
      overflow: hidden;
      padding: 76px 0 68px;
      background:
        radial-gradient(circle at 12% 22%, rgba(215,181,116,.15), transparent 23%),
        radial-gradient(circle at 88% 75%, rgba(22,118,109,.10), transparent 25%),
        var(--paper);
    }
    .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--green);
      background: #e8f1ed;
      border: 1px solid #dcebe5;
      padding: 6px 13px;
      border-radius: 30px;
      font-size: 11px;
      font-weight: 700;
    }
    .eyebrow i { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
    h1 {
      color: var(--navy);
      font-size: clamp(31px, 4.3vw, 53px);
      line-height: 1.55;
      margin: 18px 0 13px;
      font-weight: 800;
      letter-spacing: -.8px;
    }
    h1 em { color: var(--green); font-style: normal; position: relative; white-space: nowrap; }
    .hero-copy { color: #667580; max-width: 510px; font-size: 15px; line-height: 2.1; margin: 0 0 27px; }
    .hero-buttons { display: flex; gap: 11px; flex-wrap: wrap; }
    .hero-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: #849099; font-size: 11px; }
    .hero-note b { color: var(--green); font-weight: 700; }

    .hero-art {
      min-height: 405px;
      position: relative;
      display: grid;
      place-items: center;
    }
    .art-orbit {
      position: absolute;
      width: 350px;
      height: 350px;
      border: 1px solid rgba(22,118,109,.15);
      border-radius: 50%;
    }
    .art-orbit::before, .art-orbit::after {
      content: "";
      position: absolute;
      border: 1px dashed rgba(215,181,116,.45);
      border-radius: 50%;
    }
    .art-orbit::before { inset: 23px; }
    .art-orbit::after { inset: 54px; }
    .art-card {
      position: relative;
      z-index: 1;
      width: min(340px, 85%);
      padding: 30px;
      border-radius: 30px;
      background: linear-gradient(145deg, #183650, #10243a);
      color: white;
      box-shadow: 0 30px 70px rgba(16,36,58,.22);
      text-align: center;
      overflow: hidden;
    }
    .art-card::before {
      content: "";
      position: absolute;
      width: 210px;
      height: 210px;
      border-radius: 50%;
      background: rgba(215,181,116,.11);
      top: -105px;
      left: -65px;
    }
    .cap-icon { position: relative; z-index: 1; width: 130px; height: 112px; margin: 4px auto 16px; }
    .art-card h3 { position: relative; margin: 0; font-size: 21px; font-weight: 700; }
    .art-card p { position: relative; color: #c5d1d6; font-size: 11px; margin: 8px 0 0; }
    .floating-note {
      position: absolute;
      z-index: 2;
      background: white;
      border: 1px solid rgba(16,36,58,.06);
      box-shadow: var(--shadow);
      border-radius: 15px;
      padding: 12px 15px;
      color: var(--navy);
      font-size: 11px;
      font-weight: 700;
    }
    .floating-note small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; }
    .note-one { top: 45px; right: 0; }
    .note-two { bottom: 35px; left: 0; }
    .note-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-left: 5px; }

    .features { padding: 0 0 70px; }
    .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .feature {
      display: flex; align-items: center; gap: 15px;
      padding: 22px 21px;
      background: white;
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: 0 8px 25px rgba(16,36,58,.035);
    }
    .feature-icon {
      width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center;
      border-radius: 14px; background: #eaf2ee; color: var(--green); font-size: 20px;
    }
    .feature h3 { margin: 0; color: var(--navy); font-size: 13px; }
    .feature p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }

    section.content-section { padding: 76px 0; }
    .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
    .section-kicker { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .3px; }
    .section-heading h2 { margin: 5px 0 0; color: var(--navy); font-size: clamp(23px, 3vw, 32px); line-height: 1.5; }
    .section-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
    .consultants-section { background: #fff; }
    .consultant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .consultant-card {
      overflow: hidden; background: #fff; border: 1px solid var(--line);
      border-radius: 21px; transition: transform .25s ease, box-shadow .25s ease;
    }
    .consultant-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .portrait {
      height: 220px; display: grid; place-items: center; position: relative; overflow: hidden;
      background: linear-gradient(145deg, #e8efeb, #d8e4de);
    }
    .consultant-card:nth-child(2) .portrait { background: linear-gradient(145deg, #f1e8d9, #e8d8bd); }
    .consultant-card:nth-child(3) .portrait { background: linear-gradient(145deg, #e3e8ef, #cdd8e4); }
    .portrait::before {
      content: ""; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.65);
      border-radius: 50%; top: 25px; left: calc(50% - 105px);
    }
    .portrait svg { width: 145px; height: 170px; position: relative; z-index: 1; }
    .portrait-label {
      position: absolute; bottom: 13px; right: 14px; z-index: 2;
      background: rgba(255,255,255,.78); color: var(--navy); border-radius: 20px;
      padding: 5px 10px; font-size: 9px; backdrop-filter: blur(8px);
    }
    .consultant-info { padding: 19px 20px 21px; }
    .consultant-info h3 { color: var(--navy); font-size: 15px; margin: 0 0 4px; }
    .consultant-info p { color: var(--muted); font-size: 11px; margin: 0; }
    .specialty { display: inline-block; margin-top: 13px; color: var(--green); background: #edf5f1; padding: 5px 10px; border-radius: 20px; font-size: 9px; }

    .portal-section { background: var(--navy); color: white; position: relative; overflow: hidden; }
    .portal-section::before, .portal-section::after {
      content: ""; position: absolute; border: 1px solid rgba(215,181,116,.18); border-radius: 50%;
    }
    .portal-section::before { width: 410px; height: 410px; top: -230px; left: -100px; }
    .portal-section::after { width: 280px; height: 280px; bottom: -190px; right: 8%; }
    .portal-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
    .portal-copy { max-width: 620px; }
    .portal-copy .section-kicker { color: var(--gold); }
    .portal-copy h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.5; margin: 7px 0; }
    .portal-copy p { color: #c4d0d7; font-size: 12px; margin: 0; }
    .portal-button { min-width: 190px; padding: 15px 22px; font-size: 13px; }

    .news-section { background: var(--paper); }
    .news-tools { display: flex; align-items: center; gap: 10px; }
    .search-box {
      display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line);
      border-radius: 12px; padding: 0 12px; min-width: 220px;
    }
    .search-box span { color: #98a3a8; }
    .search-box input { border: 0; outline: 0; width: 100%; min-width: 0; padding: 11px 0; background: transparent; color: var(--ink); font-size: 11px; }
    .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .news-card {
      background: white; border: 1px solid var(--line); border-radius: 19px; overflow: hidden;
      box-shadow: 0 8px 25px rgba(16,36,58,.025); display: flex; flex-direction: column;
    }
    .news-image { height: 155px; overflow: hidden; background: linear-gradient(135deg, #173650, #237b70); display: grid; place-items: center; color: rgba(255,255,255,.8); font-size: 35px; }
    .news-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .news-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
    .news-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #8b989e; font-size: 9px; }
    .news-category { color: var(--green); background: #edf5f1; border-radius: 20px; padding: 4px 9px; }
    .news-body h3 { color: var(--navy); font-size: 14px; line-height: 1.7; margin: 11px 0 7px; }
    .news-summary { color: var(--muted); font-size: 10px; line-height: 2; margin: 0 0 12px; }
    .news-details { color: #60717b; font-size: 10px; line-height: 2; margin-bottom: 12px; }
    .news-details summary { color: var(--green); cursor: pointer; font-weight: 700; }
    .news-actions { display: flex; gap: 7px; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f2ef; }
    .mini-btn { border: 1px solid var(--line); background: white; color: var(--navy); border-radius: 9px; padding: 6px 10px; font-size: 9px; }
    .mini-btn.danger { color: #b84d4d; }
    .empty-state {
      grid-column: 1 / -1; text-align: center; padding: 42px 20px; background: white;
      border: 1px dashed #d5dfda; border-radius: 18px; color: var(--muted); font-size: 12px;
    }
    .empty-state strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 5px; }

    .admin-panel {
      margin-top: 25px; padding: 23px; background: white; border: 1px solid var(--line);
      border-radius: 19px; box-shadow: var(--shadow);
    }
    .admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
    .admin-top h3 { margin: 0; color: var(--navy); font-size: 16px; }
    .admin-top p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
    .admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
    .field { display: flex; flex-direction: column; gap: 6px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: #52616c; font-size: 10px; font-weight: 700; }
    .field input, .field textarea, .field select {
      width: 100%; border: 1px solid #e1e8e4; border-radius: 10px; background: #fbfcfa;
      outline: 0; padding: 11px 12px; color: var(--ink); font-size: 11px;
    }
    .field input:focus, .field textarea:focus, .field select:focus { border-color: #82b4a5; box-shadow: 0 0 0 3px rgba(22,118,109,.08); }
    .field textarea { min-height: 86px; resize: vertical; }
    .form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
    .admin-hint { color: #8b969b; font-size: 9px; margin: 13px 0 0; line-height: 1.9; }
    .login-box { max-width: 420px; margin: 8px auto 0; }
    .login-box h4 { color: var(--navy); margin: 0 0 5px; font-size: 14px; }
    .login-box p { color: var(--muted); font-size: 10px; margin: 0 0 13px; }
    .login-row { display: flex; gap: 8px; }
    .login-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: 0; font-size: 11px; }

    .footer { background: #0b1b2b; color: #d5dfe2; padding: 36px 0 22px; }
    .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
    .footer .brand-name { color: white; }
    .footer .brand-sub { color: #93a4ad; }
    .footer-note { color: #91a1a9; font-size: 10px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 25px; padding-top: 15px; color: #7f929c; font-size: 9px; text-align: center; }

    .toast {
      position: fixed; bottom: 22px; left: 22px; z-index: 50; background: var(--navy); color: white;
      border-radius: 12px; padding: 12px 17px; font-size: 11px; box-shadow: var(--shadow);
      opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease;
    }
    .toast.show { opacity: 1; transform: translateY(0); }

    @media (max-width: 850px) {
      .nav-links { gap: 15px; }
      .hero-grid { gap: 20px; }
      .hero-art { min-height: 350px; }
      .art-orbit { width: 300px; height: 300px; }
      .consultant-grid, .news-grid { gap: 13px; }
    }
    @media (max-width: 680px) {
      .nav-wrap { padding: 11px 18px; flex-wrap: wrap; }
      .menu-toggle { display: inline-flex; }
      .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 0 3px; }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 10px 4px; border-top: 1px solid var(--line); }
      .nav-actions .btn { padding: 9px 12px; font-size: 10px; }
      .container { width: min(100% - 34px, 520px); }
      .hero { padding: 48px 0 42px; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-copy { font-size: 13px; }
      .hero-art { min-height: 325px; margin-top: 5px; }
      .art-orbit { width: 275px; height: 275px; }
      .art-card { width: 270px; padding: 22px; }
      .note-one { right: 0; top: 24px; }
      .note-two { left: 0; bottom: 15px; }
      .features { padding-bottom: 45px; }
      .feature-grid { grid-template-columns: 1fr; gap: 10px; }
      .feature { padding: 15px; }
      section.content-section { padding: 54px 0; }
      .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
      .consultant-grid { grid-template-columns: 1fr; }
      .consultant-card { display: grid; grid-template-columns: 120px 1fr; align-items: stretch; }
      .portrait { height: 100%; min-height: 155px; }
      .portrait svg { width: 105px; height: 135px; }
      .portrait::before { width: 130px; height: 130px; left: calc(50% - 65px); top: 13px; }
      .portrait-label { bottom: 7px; right: 5px; font-size: 7px; padding: 3px 6px; }
      .consultant-info { align-self: center; padding: 15px 13px; }
      .portal-inner { align-items: flex-start; flex-direction: column; }
      .portal-button { width: 100%; }
      .news-tools { width: 100%; }
      .search-box { min-width: 0; flex: 1; }
      .news-grid { grid-template-columns: 1fr; }
      .news-image { height: 175px; }
      .admin-panel { padding: 16px; }
      .admin-form { grid-template-columns: 1fr; }
      .field.full, .form-actions { grid-column: auto; }
      .login-row { flex-direction: column; }
      .footer-inner { align-items: flex-start; flex-direction: column; }
    }
  
/* Production integration: server-backed content, accessible controls, local font. */
html{scroll-padding-top:104px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--green);outline-offset:4px}.skip{position:absolute;top:-100px;right:16px;z-index:100;background:var(--navy);color:white;padding:10px 16px}.skip:focus{top:8px}.portrait img{width:100%;height:100%;object-fit:cover;object-position:top;position:relative;z-index:1}.portrait-initial{font-size:72px;color:var(--green)}.consultant-info p{white-space:pre-line;overflow-wrap:anywhere}.consultant-card .portrait-label{font-size:10px}.news-summary{font-size:12px}.news-meta{font-size:11px}.news-body h3{font-size:17px}.news-details{font-size:12px;white-space:pre-wrap}.news-more{margin-top:auto;font-size:12px;font-weight:600;color:var(--green)}.news-image.no-image{background:var(--navy);color:var(--gold);font-size:40px}.no-results{grid-column:1/-1}.footer-note a{display:inline-block;margin-inline:8px;color:#d5dfe2}.footer-contact{margin-top:18px;font-size:12px;white-space:pre-line;color:#c0cdd3}.footer-contact a{display:inline-block;margin-inline-end:20px}.site-credit{font-size:10px;color:#9baeb7;direction:ltr;text-align:center;padding-top:10px}.article-page{max-width:820px;padding-block:64px;min-height:60vh}.article-meta{display:flex;gap:24px;font-size:12px;color:var(--muted);margin-top:32px}.article-page h1{font-size:36px;letter-spacing:0}.article-lead{font-size:18px;color:#60717b;border-bottom:1px solid var(--line);padding-bottom:24px}.article-image{max-width:100%;max-height:480px;display:block;margin:24px auto;object-fit:contain;border-radius:18px}.article-body{font-size:16px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere;margin-block:32px}.btn:disabled{cursor:not-allowed;opacity:.78}.btn:disabled:hover{transform:none}.notices{padding-top:16px}.notice{border:1px solid #dcebe5;background:#e8f1ed;padding:12px 16px;border-radius:12px}.about-extra{font-size:13px;color:#71808b;line-height:2;margin-top:24px}.about-extra summary{cursor:pointer;color:var(--green);font-size:12px}.about-extra p{white-space:pre-line;margin-block:12px}.hero-note{flex-wrap:wrap}.news-tools .btn{white-space:nowrap}.search-box input:focus-visible{outline-offset:0}.section-kicker{letter-spacing:0}.feature-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;fill:none}.menu-toggle{min-width:44px;min-height:44px}.hero h1{overflow-wrap:anywhere}.hero h1 em{white-space:normal}@media(max-width:680px){.brand-name{font-size:15px}.nav-wrap{gap:12px}.nav-actions{gap:6px}.news-tools{flex-wrap:wrap}.news-tools .search-box{min-width:160px}.news-tools .btn{min-height:44px}.portrait img{position:absolute;inset:0}.article-page{padding-block:36px}.article-page h1{font-size:28px}.hero-art{max-width:100%}.news-summary{font-size:13px}.news-details{font-size:13px}.feature p{font-size:12px}.consultant-info p{font-size:12px}.footer-note{font-size:12px}}@media(max-width:370px){.nav-actions>.btn{display:none}.brand-sub{font-size:9px}.hero h1{font-size:30px}.floating-note{font-size:10px;padding:9px 10px}.art-card{width:245px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
