/** CandleStan v0.71.4 — Search / 404 / generic archives */
.candlestan-edge-surface .primary-site-content { background: #fff; }
.cse {
    --cse-navy:#06285d; --cse-teal:#08b8aa; --cse-teal-dark:#008f86;
    --cse-text:#102c55; --cse-muted:#687b96; --cse-line:#dfe8f1; --cse-soft:#f7fafc;
    direction:rtl; color:var(--cse-text); font-family:Vazirmatn,Tahoma,Arial,sans-serif; overflow:hidden;
}
.cse *, .cse *::before, .cse *::after { box-sizing:border-box; }
.cse a { color:inherit; text-decoration:none; }
.cse-shell { width:min(1180px,calc(100% - 42px)); margin-inline:auto; }
.cse-hero { padding:70px 0 60px; border-bottom:1px solid #e6edf4; background:radial-gradient(circle at 14% 24%,rgba(8,184,170,.12),transparent 28%),linear-gradient(118deg,#f8fbff 0%,#effaf9 55%,#fff 100%); }
.cse-hero--archive { background:radial-gradient(circle at 16% 28%,rgba(59,104,212,.10),transparent 28%),linear-gradient(118deg,#f9fbff,#f2f7ff 55%,#f7fbfb); }
.cse-hero--404 { background:radial-gradient(circle at 16% 25%,rgba(8,184,170,.13),transparent 29%),linear-gradient(118deg,#f8fbff,#eefaf9 56%,#fff); }
.cse-breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:23px; color:#7b8aa0; font-size:12px; font-weight:700; }
.cse-kicker { display:inline-flex; align-items:center; gap:8px; color:var(--cse-teal-dark); font-size:12px; font-weight:900; }
.cse-kicker::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--cse-teal); box-shadow:0 0 0 6px rgba(8,184,170,.1); }
.cse-hero h1 { margin:10px 0 17px; max-width:850px; color:var(--cse-navy); font-size:clamp(38px,5.4vw,64px); line-height:1.24; letter-spacing:-.03em; }
.cse-hero p { max-width:760px; margin:0; color:#61758f; font-size:16px; line-height:2; }
.cse-search-form { display:flex; width:min(720px,100%); gap:10px; margin-top:28px; padding:7px; border:1px solid #dce7ef; border-radius:17px; background:#fff; box-shadow:0 15px 38px rgba(7,42,84,.07); }
.cse-search-form input { flex:1; min-width:0; padding:10px 13px; border:0!important; outline:0!important; background:transparent!important; color:var(--cse-navy); font:700 14px/1.8 Vazirmatn,Tahoma,sans-serif; }
.cse-search-form button { min-width:110px; border:0; border-radius:12px; background:var(--cse-navy); color:#fff; font:900 13px Vazirmatn,Tahoma,sans-serif; cursor:pointer; }
.cse-body { padding:62px 0 82px; }
.cse-heading { display:flex; align-items:end; justify-content:space-between; gap:34px; margin-bottom:26px; }
.cse-heading--compact { margin-top:52px; }
.cse-heading span { display:block; margin-bottom:5px; color:var(--cse-teal-dark); font-size:11px; font-weight:900; }
.cse-heading h2 { margin:0; color:var(--cse-navy); font-size:clamp(25px,3vw,34px); line-height:1.45; }
.cse-heading p { max-width:520px; margin:0; color:#7a8ba1; font-size:12.5px; line-height:1.9; }
.cse-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cse-card { min-width:0; border:1px solid var(--cse-line); border-radius:20px; background:#fff; box-shadow:0 12px 34px rgba(7,42,84,.06); overflow:hidden; transition:transform .18s ease,box-shadow .18s ease; }
.cse-card:hover { transform:translateY(-3px); box-shadow:0 18px 42px rgba(7,42,84,.1); }
.cse-card__media { display:block; aspect-ratio:16/9; background:#eef7f7; overflow:hidden; }
.cse-card__media img { width:100%; height:100%; object-fit:cover; }
.cse-card__placeholder { position:relative; display:block; width:100%; height:100%; background:linear-gradient(135deg,#eef7fb,#e8f9f7); }
.cse-card__placeholder::before,.cse-card__placeholder::after { content:""; position:absolute; border-radius:50%; background:rgba(8,184,170,.12); }
.cse-card__placeholder::before { width:120px; height:120px; right:18%; top:18%; }
.cse-card__placeholder::after { width:68px; height:68px; right:48%; top:42%; }
.cse-card__body { padding:19px 20px 21px; }
.cse-card__meta { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#8997aa; font-size:10.5px; font-weight:700; }
.cse-card__meta span { color:var(--cse-teal-dark); }
.cse-card h2 { margin:11px 0 9px; color:var(--cse-navy); font-size:17px; line-height:1.75; }
.cse-card p { margin:0; color:#71839b; font-size:12px; line-height:1.95; }
.cse-card__link { display:inline-block; margin-top:15px; color:var(--cse-navy); font-size:11.5px; font-weight:900; }
.cse-empty { padding:42px; border:1px solid #dce7ef; border-radius:24px; background:linear-gradient(135deg,#f9fcfe,#f2fbfa); text-align:center; }
.cse-empty > span { color:var(--cse-teal-dark); font-size:11px; font-weight:900; }
.cse-empty h2 { margin:8px 0 10px; color:var(--cse-navy); font-size:29px; }
.cse-empty p { margin:0; color:#71839b; font-size:13px; line-height:1.9; }
.cse-quick-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.cse-quick { position:relative; min-height:132px; padding:20px; border:1px solid var(--cse-line); border-radius:19px; background:#fff; box-shadow:0 10px 30px rgba(7,42,84,.05); }
.cse-quick strong { display:block; color:var(--cse-navy); font-size:16px; }
.cse-quick span { display:block; margin-top:7px; color:#7a8ba1; font-size:11.5px; line-height:1.8; }
.cse-quick b { position:absolute; left:18px; bottom:16px; color:var(--cse-teal-dark); font-size:18px; }
.cse-404-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr); align-items:center; gap:70px; }
.cse-error-mark { display:grid; min-height:270px; place-items:center; align-content:center; border:1px solid rgba(177,197,216,.72); border-radius:28px; background:rgba(255,255,255,.84); box-shadow:0 18px 50px rgba(7,42,84,.08); }
.cse-error-mark strong { color:var(--cse-navy); font-size:82px; line-height:1; letter-spacing:-.06em; }
.cse-error-mark span { margin-top:14px; color:#6f8097; font-size:13px; font-weight:800; }
.cse-pagination { margin-top:34px; }
.cse-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:7px; margin:0; padding:0; list-style:none; }
.cse-pagination a,.cse-pagination span { display:grid; min-width:38px; height:38px; place-items:center; padding:0 10px; border:1px solid #dce6ef; border-radius:10px; background:#fff; color:var(--cse-navy); font-size:11px; font-weight:800; }
.cse-pagination .current { border-color:var(--cse-navy); background:var(--cse-navy); color:#fff; }
@media (max-width:980px) { .cse-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.cse-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.cse-404-grid{grid-template-columns:1fr;gap:28px;} }
@media (max-width:640px) { .cse-shell{width:min(100% - 28px,1180px);}.cse-hero{padding:48px 0 44px;}.cse-body{padding:44px 0 62px;}.cse-grid,.cse-quick-grid{grid-template-columns:1fr;}.cse-heading{display:block;}.cse-heading p{margin-top:10px;}.cse-search-form{display:grid;grid-template-columns:1fr;}.cse-search-form button{min-height:44px;}.cse-error-mark{min-height:210px;}.cse-error-mark strong{font-size:66px;} }

/* =========================================================
   CandleStan v0.71.5 | Purpose-built 404 experience
   Pure CSS candle visual + six high-value recovery routes.
   No external image or script dependency.
   ========================================================= */
.cse--404 .cse-hero--404 {
    background:
        radial-gradient(circle at 12% 22%,rgba(8,184,170,.16),transparent 28%),
        radial-gradient(circle at 82% 68%,rgba(55,105,206,.08),transparent 26%),
        linear-gradient(118deg,#f8fbff,#eefaf9 56%,#fff);
}

.cse--404 .cse-404-grid {
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    gap:64px;
}

.cse--404 .cse-404-copy h1 {
    max-width:none;
    font-size:clamp(38px,4.2vw,58px);
}

.cse--404 .cse-404-copy > p {
    max-width:690px;
    text-align:justify;
    text-align-last:right;
    text-justify:inter-word;
}

.cse--404 .cse-error-mark {
    position:relative;
    isolation:isolate;
    min-height:330px;
    padding:28px;
    overflow:hidden;
    border-color:rgba(154,185,211,.72);
    background:
        radial-gradient(circle at 88% 8%,rgba(8,184,170,.13),transparent 26%),
        linear-gradient(145deg,rgba(255,255,255,.96),rgba(247,251,255,.9));
}

.cse--404 .cse-error-mark::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background-image:
        linear-gradient(rgba(10,64,104,.045) 1px,transparent 1px),
        linear-gradient(90deg,rgba(10,64,104,.045) 1px,transparent 1px);
    background-size:38px 38px;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 88%);
}

.cse--404 .cse-error-mark::after {
    content:"";
    position:absolute;
    width:150px;
    height:150px;
    left:-72px;
    bottom:-74px;
    z-index:-1;
    border-radius:50%;
    border:24px solid rgba(8,184,170,.07);
}

.cse-error-code {
    position:absolute;
    top:20px;
    left:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:66px;
    height:34px;
    padding:0 13px;
    border:1px solid rgba(6,40,93,.10);
    border-radius:999px;
    background:#fff;
    color:var(--cse-navy);
    box-shadow:0 8px 22px rgba(7,42,84,.07);
    font-size:17px;
    font-weight:950;
    letter-spacing:.03em;
}

.cse-error-chart {
    position:relative;
    width:min(100%,330px);
    height:148px;
    margin:18px auto 15px;
}

.cse-error-trend {
    position:absolute;
    display:block;
    height:3px;
    border-radius:99px;
    background:linear-gradient(90deg,#14bbaa,#e94f72);
    transform-origin:right center;
    opacity:.72;
}

.cse-error-trend--1 { width:112px; right:52px; top:43px; transform:rotate(14deg); }
.cse-error-trend--2 { width:116px; right:150px; top:80px; transform:rotate(29deg); }

.cse-error-candle {
    --candle:#12ad99;
    position:absolute;
    display:block;
    width:16px;
    border-radius:4px;
    background:var(--candle);
    box-shadow:0 5px 14px color-mix(in srgb,var(--candle) 18%,transparent);
}

.cse-error-candle::before {
    content:"";
    position:absolute;
    top:-14px;
    bottom:-14px;
    left:50%;
    width:2px;
    border-radius:3px;
    background:var(--candle);
    transform:translateX(-50%);
    opacity:.75;
    z-index:-1;
}

.cse-error-candle--1 { right:34px; top:28px; height:42px; }
.cse-error-candle--2 { right:78px; top:46px; height:32px; }
.cse-error-candle--3 { --candle:#d74363; right:124px; top:61px; height:44px; }
.cse-error-candle--4 { --candle:#d74363; right:170px; top:79px; height:36px; }
.cse-error-candle--5 { --candle:#d74363; right:216px; top:94px; height:31px; }
.cse-error-candle--broken {
    --candle:#b92d50;
    right:270px;
    top:107px;
    height:35px;
    transform:rotate(29deg) translateY(6px);
    opacity:.85;
}

.cse--404 .cse-error-mark > strong {
    display:block;
    margin-top:2px;
    color:var(--cse-navy);
    font-size:18px;
    line-height:1.55;
    text-align:center;
}

.cse--404 .cse-error-mark > span {
    display:block;
    margin-top:6px;
    color:#74849a;
    font-size:12px;
    line-height:1.7;
    font-weight:750;
    text-align:center;
}

.cse--404 .cse-404-heading p {
    text-align:justify;
    text-align-last:right;
    text-justify:inter-word;
}

.cse--404 .cse-404-quick-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;
}

.cse--404 .cse-404-quick {
    --quick-accent:#08b8aa;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:154px;
    padding:19px 16px 26px;
    overflow:hidden;
    text-align:center;
    border-color:color-mix(in srgb,var(--quick-accent) 18%,var(--cse-line));
    background:
        radial-gradient(circle at 12% 100%,color-mix(in srgb,var(--quick-accent) 9%,transparent),transparent 34%),
        linear-gradient(145deg,#fff,color-mix(in srgb,var(--quick-accent) 3%,#fff));
}

.cse--404 .cse-404-quick::before {
    content:"";
    position:absolute;
    top:0;
    inset-inline:0;
    height:3px;
    background:linear-gradient(90deg,var(--quick-accent),color-mix(in srgb,var(--quick-accent) 25%,#fff));
}

.cse--404 .cse-404-quick--2 { --quick-accent:#3d72d5; }
.cse--404 .cse-404-quick--3 { --quick-accent:#7659cb; }
.cse--404 .cse-404-quick--4 { --quick-accent:#d49a16; }
.cse--404 .cse-404-quick--5 { --quick-accent:#d34c68; }
.cse--404 .cse-404-quick--6 { --quick-accent:#169978; }

.cse-404-quick__icon {
    display:inline-grid;
    width:36px;
    height:36px;
    place-items:center;
    margin-bottom:10px;
    border-radius:12px;
    background:color-mix(in srgb,var(--quick-accent) 10%,#fff);
    color:var(--quick-accent);
    font-style:normal;
    font-size:18px;
    font-weight:950;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--quick-accent) 15%,transparent);
}

.cse--404 .cse-404-quick strong {
    font-size:16px;
    line-height:1.45;
}

.cse--404 .cse-404-quick span {
    margin-top:5px;
    font-size:11px;
    line-height:1.7;
}

.cse--404 .cse-404-quick b {
    left:50%;
    bottom:8px;
    color:var(--quick-accent);
    font-size:15px;
    transform:translateX(-50%);
}

.cse--404 .cse-404-quick:hover,
.cse--404 .cse-404-quick:focus-visible {
    border-color:color-mix(in srgb,var(--quick-accent) 38%,var(--cse-line));
    box-shadow:0 16px 38px rgba(7,42,84,.09);
}

@media (max-width:980px) {
    .cse--404 .cse-404-grid {
        grid-template-columns:1fr;
        gap:28px;
    }

    .cse--404 .cse-error-mark {
        width:min(620px,100%);
        margin-inline:auto;
    }

    .cse--404 .cse-404-quick-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media (max-width:640px) {
    .cse--404 .cse-hero--404 {
        padding:42px 0 38px;
    }

    .cse--404 .cse-404-grid {
        gap:22px;
    }

    .cse--404 .cse-404-copy h1 {
        margin-top:9px;
        margin-bottom:13px;
        font-size:clamp(24px,6.8vw,28px);
        line-height:1.35;
        letter-spacing:-.025em;
        white-space:nowrap;
    }

    .cse--404 .cse-404-copy > p {
        font-size:13px;
        line-height:1.95;
    }

    .cse--404 .cse-search-form {
        margin-top:20px;
    }

    .cse--404 .cse-error-mark {
        min-height:238px;
        padding:20px 16px 18px;
        border-radius:24px;
    }

    .cse-error-code {
        top:14px;
        left:15px;
        min-width:56px;
        height:30px;
        font-size:15px;
    }

    .cse-error-chart {
        width:min(100%,300px);
        height:124px;
        margin:13px auto 8px;
        transform:scale(.9);
        transform-origin:center bottom;
    }

    .cse--404 .cse-error-mark > strong {
        font-size:15px;
    }

    .cse--404 .cse-error-mark > span {
        font-size:10.5px;
    }

    .cse--404 .cse-body {
        padding:38px 0 58px;
    }

    .cse--404 .cse-404-heading {
        margin-bottom:18px;
        text-align:center;
    }

    .cse--404 .cse-404-heading p {
        max-width:330px;
        margin:8px auto 0;
        text-align:center;
        text-align-last:center;
    }

    .cse--404 .cse-404-quick-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
    }

    .cse--404 .cse-404-quick {
        min-height:128px;
        padding:12px 7px 21px;
        border-radius:16px;
    }

    .cse-404-quick__icon {
        width:31px;
        height:31px;
        margin-bottom:7px;
        border-radius:10px;
        font-size:15px;
    }

    .cse--404 .cse-404-quick strong {
        font-size:11.5px;
        line-height:1.45;
    }

    .cse--404 .cse-404-quick span {
        margin-top:4px;
        font-size:8.5px;
        line-height:1.55;
    }

    .cse--404 .cse-404-quick b {
        bottom:5px;
        font-size:12px;
    }
}

@media (max-width:370px) {
    .cse--404 .cse-404-copy h1 {
        font-size:23px;
    }

    .cse--404 .cse-404-quick strong {
        font-size:10.5px;
    }

    .cse--404 .cse-404-quick span {
        font-size:8px;
    }
}
