@font-face{
  font-family:"Vazirmatn";
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url("fonts/vazirmatn-arabic-variable.woff2") format("woff2-variations");
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
@font-face{
  font-family:"Vazirmatn";
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url("fonts/vazirmatn-latin-variable.woff2") format("woff2-variations");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  --red:#e32c5b;
  --red-dark:#b8183d;
  --olive:#34412f;
  --ink:#29282b;
  --muted:#6f6c71;
  --line:#e9e7e8;
  --paper:#fff;
  --soft:#f7f7f5;
  --blush:#fff5f7;
  --shadow:0 12px 34px rgba(34,32,36,.07);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  width:100%;
  margin:0;
  overflow-x:hidden;
  direction:rtl;
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 7%,rgba(227,44,91,.04),transparent 24%),
    linear-gradient(180deg,#fbfbfa,#f7f7f4);
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif;
  font-size:15px;
  line-height:2.05;
  font-weight:400;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  height:62px;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.97);
  box-shadow:0 3px 13px rgba(34,32,36,.035);
  backdrop-filter:blur(12px);
}
.header-inner{
  width:min(1060px,100%);
  height:100%;
  margin:0 auto;
  padding:0 14px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--olive);
  font-size:18px;
  font-weight:720;
}
.brand img{width:39px;height:39px;object-fit:contain}
.home-link{
  margin-right:auto;
  color:#706d72;
  font-size:11px;
  font-weight:550;
}
.home-link:hover{color:var(--red-dark)}
.mini-cta{
  min-height:38px;
  padding:7px 14px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(145deg,var(--red),var(--red-dark));
  box-shadow:0 7px 17px rgba(227,44,91,.19);
  font-size:11px;
  font-weight:650;
}

.topic-nav-shell{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.topic-nav{
  width:min(880px,100%);
  margin:0 auto;
  padding:9px 14px;
  display:flex;
  justify-content:center;
  gap:7px;
  overflow-x:auto;
  scrollbar-width:none;
}
.topic-nav::-webkit-scrollbar{display:none}
.topic-nav a{
  min-height:32px;
  padding:5px 12px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border:1px solid #e7e5e3;
  border-radius:999px;
  color:#656267;
  background:#fafaf9;
  font-size:9.5px;
  font-weight:560;
  white-space:nowrap;
}
.topic-nav a:hover,.topic-nav a[aria-current="page"]{
  color:var(--red-dark);
  border-color:#f0bdca;
  background:var(--blush);
}

.wrap{
  width:min(880px,100%);
  margin:0 auto;
  padding:24px 18px 34px;
}
.hero{
  position:relative;
  margin:0 0 17px;
  padding:28px 30px 26px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--paper);
  box-shadow:var(--shadow);
}
.hero::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,transparent,var(--red),transparent);
  opacity:.78;
}
.eyebrow{
  width:max-content;
  max-width:100%;
  margin-bottom:10px;
  padding:3px 10px;
  border:1px solid #eee7e8;
  border-radius:999px;
  color:#8a777d;
  background:#fdfafb;
  font-size:10px;
  font-weight:570;
}
.breadcrumb{
  color:#8a878b;
  font-size:11px;
  line-height:1.8;
}
.breadcrumb a{color:var(--olive);font-weight:630}
h1{
  margin:8px 0 8px;
  color:#302e32;
  font-size:34px;
  line-height:1.5;
  letter-spacing:-.35px;
  font-weight:740;
}
.lead{
  max-width:740px;
  margin:0;
  color:#646166;
  font-size:16px;
  line-height:2;
}

.box{
  margin:12px 0;
  padding:22px 24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 20px rgba(34,32,36,.035);
}
.box h2{
  position:relative;
  margin:0 0 11px;
  padding-right:17px;
  color:#343137;
  font-size:21px;
  line-height:1.65;
  font-weight:700;
}
.box h2::before{
  content:"";
  position:absolute;
  top:.73em;
  right:0;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 5px rgba(227,44,91,.085);
}
.box p{margin:0 0 10px;color:#5e5b60}
.box p:last-child{margin-bottom:0}
.grid{
  margin:16px 0 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.card{
  min-width:0;
  padding:15px;
  border:1px solid #ebe8e6;
  border-radius:14px;
  color:#666267;
  background:linear-gradient(145deg,#fff,#faf9f7);
  font-size:13px;
  line-height:1.9;
}
.card strong{
  margin-bottom:5px;
  display:block;
  color:var(--olive);
  font-size:14px;
  font-weight:680;
}
.box ul{margin:8px 0;padding-right:22px}
.box li{margin:5px 0}

.cta{
  margin:18px 0 14px;
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid #f0d7dd;
  border-radius:19px;
  color:#504b50;
  background:linear-gradient(135deg,#fff7f9,#fff);
}
.cta strong{color:#343137;font-size:17px;font-weight:700}
.cta a{
  min-height:45px;
  padding:8px 20px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#fff;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  box-shadow:0 9px 20px rgba(227,44,91,.19);
  font-size:13px;
  font-weight:660;
}
.note{
  padding:13px 15px;
  border:1px dashed #d8d4d0;
  border-radius:14px;
  color:#7b777b;
  background:#f8f7f4;
  font-size:11px;
  line-height:1.9;
}
.article-footer{
  padding:24px 0 0;
  text-align:center;
  color:#969297;
  font-size:11px;
}
.article-footer a{color:var(--olive);font-weight:630}

a:focus-visible{
  outline:3px solid rgba(227,44,91,.28);
  outline-offset:3px;
}

@media(max-width:760px){
  body{font-size:13.5px;line-height:2}
  .home-link{display:none}
  .mini-cta{margin-right:auto}
  .topic-nav{justify-content:flex-start}
  .wrap{padding:15px 13px 25px}
  .hero{padding:21px 18px 20px;border-radius:18px}
  h1{font-size:26px;line-height:1.55}
  .lead{font-size:14px;line-height:2}
  .box{padding:18px 16px;border-radius:16px}
  .box h2{font-size:18px}
  .grid{grid-template-columns:1fr;gap:8px}
  .card{padding:13px;font-size:12px}
  .cta{display:block;padding:17px}
  .cta strong{font-size:15px}
  .cta a{width:100%;margin-top:12px}
}

@media(max-width:350px){
  .brand span{font-size:16px}
  .brand img{width:36px;height:36px}
  .mini-cta{padding-inline:11px;font-size:10px}
  h1{font-size:23px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}
