:root{--rules-navy:#071d35;--rules-blue:#0b4d83;--rules-gold:#cfa75d;--rules-red:#e81930;--rules-ink:#17253a;--rules-muted:#66768b;--rules-line:#e1e7ee;--rules-paper:#f6f8fb}
.idepoo-rules{padding-bottom:84px;background:linear-gradient(180deg,#f3f6fa 0,#fff 640px);color:var(--rules-ink)}
.idepoo-rules-hero{position:relative;overflow:hidden;padding:68px 0 76px;background:linear-gradient(125deg,#06182d,#0a3156 58%,#0b4d83);color:#fff}.idepoo-rules-hero::before{content:"";position:absolute;width:540px;height:540px;inset:-340px auto auto -130px;border:1px solid rgb(255 255 255/.09);border-radius:50%;box-shadow:0 0 0 75px rgb(255 255 255/.025),0 0 0 150px rgb(255 255 255/.018)}.idepoo-rules-hero::after{content:"قوانین";position:absolute;inset:auto 3% -65px auto;color:rgb(255 255 255/.025);font-size:13rem;font-weight:950;line-height:1;pointer-events:none}.idepoo-rules-hero__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:70px;align-items:center}.idepoo-rules-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:27px;color:#9eb5ca;font-size:.78rem}.idepoo-rules-breadcrumb a{color:#d9e7f3}.idepoo-rules-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:11px;color:#e4c88f;font-size:.82rem;font-weight:850}.idepoo-rules-kicker::before{content:"";width:24px;height:1px;background:var(--rules-gold)}.idepoo-rules-hero h1{max-width:760px;margin:0 0 15px;color:#fff;font-size:clamp(1.978rem,3.864vw,3.91rem);line-height:1.35;letter-spacing:-.04em}.idepoo-rules-hero__copy>p{max-width:740px;margin:0;color:#ccdae7;font-size:1.02rem;line-height:2}.idepoo-rules-meta{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:26px}.idepoo-rules-meta span{display:flex;gap:7px;align-items:center;color:#dbe7f1;font-size:.8rem;font-weight:750}.idepoo-rules-meta svg{width:19px;height:19px;fill:none;stroke:var(--rules-gold);stroke-width:1.8}.idepoo-rules-hero__mark{display:grid;justify-items:center;padding:32px 20px;border:1px solid rgb(255 255 255/.13);border-radius:28px;background:rgb(255 255 255/.055);box-shadow:0 28px 70px rgb(0 0 0/.19);backdrop-filter:blur(12px)}.idepoo-rules-hero__mark>div{display:grid;place-items:center;width:105px;height:105px;margin-bottom:19px;border:1px solid rgb(207 167 93/.4);border-radius:50%;background:rgb(207 167 93/.1)}.idepoo-rules-hero__mark svg{width:52px;height:52px;fill:none;stroke:#e8cc94;stroke-width:1.7}.idepoo-rules-hero__mark span{color:#d0dce7;font-size:.77rem}.idepoo-rules-hero__mark strong{margin-top:5px;color:#fff;font-family:serif;font-size:1.1rem;letter-spacing:.16em}
.idepoo-rules-summary{position:relative;z-index:2;margin-top:-28px}.idepoo-rules-summary__grid{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;padding:0;border:1px solid var(--rules-line);border-radius:22px;background:#fff;box-shadow:0 18px 50px rgb(9 38 68/.1)}.idepoo-rules-summary article{display:flex;gap:13px;align-items:center;min-height:92px;padding:17px 21px;border-left:1px solid var(--rules-line)}.idepoo-rules-summary article:last-child{border-left:0}.idepoo-rules-summary article>span{color:var(--rules-gold);font-family:serif;font-size:1.25rem}.idepoo-rules-summary article div{display:grid;gap:4px}.idepoo-rules-summary strong{font-size:.86rem}.idepoo-rules-summary small{color:var(--rules-muted);font-size:.7rem;line-height:1.7}
.idepoo-rules-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:34px;align-items:start;padding-top:56px}.idepoo-rules-nav{position:sticky;top:22px;overflow:hidden;border:1px solid var(--rules-line);border-radius:22px;background:#fff;box-shadow:0 15px 42px rgb(12 43 76/.07)}.idepoo-rules-nav__head{padding:20px;border-bottom:1px solid var(--rules-line);background:linear-gradient(145deg,#f8fafc,#fff)}.idepoo-rules-nav__head span{display:block;margin-bottom:4px;color:var(--rules-red);font-size:.68rem;font-weight:850}.idepoo-rules-nav__head strong{font-size:1rem}.idepoo-rules-nav nav{padding:10px}.idepoo-rules-nav nav a{display:flex;gap:10px;align-items:center;padding:11px 10px;border-radius:10px;color:#526176;font-size:.76rem;transition:.2s ease}.idepoo-rules-nav nav a:hover,.idepoo-rules-nav nav a:focus{background:#eef5fb;color:var(--rules-blue);transform:translateX(-3px)}.idepoo-rules-nav nav i{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#f3f6f9;color:#8c99a9;font-size:.65rem;font-style:normal}.idepoo-rules-nav__help{display:grid;gap:4px;margin:10px;padding:15px;border-radius:14px;background:var(--rules-navy);color:#fff}.idepoo-rules-nav__help span{color:#aebfd0;font-size:.67rem}.idepoo-rules-nav__help strong{font-size:.75rem}.idepoo-rules-nav__help a{margin-top:6px;color:#e8cc94;font-size:.92rem;font-weight:900;direction:ltr;text-align:right}
.idepoo-rules-document{min-width:0}.idepoo-rules-notice{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px;padding:20px 22px;border:1px solid #eddcb8;border-radius:18px;background:#fffaf0}.idepoo-rules-notice svg{width:25px;min-width:25px;fill:none;stroke:#b8872e;stroke-width:1.8}.idepoo-rules-notice strong{display:block;margin-bottom:4px;font-size:.85rem}.idepoo-rules-notice p{margin:0;color:#73664d;font-size:.77rem;line-height:1.9}.idepoo-rule-section{scroll-margin-top:25px;margin-bottom:18px;padding:30px 32px;border:1px solid var(--rules-line);border-radius:22px;background:#fff;box-shadow:0 12px 38px rgb(14 44 76/.055)}.idepoo-rule-section>header{display:flex;gap:16px;align-items:center;margin-bottom:20px}.idepoo-rule-section>header>span{display:grid;place-items:center;width:47px;height:47px;border:1px solid #d7e2ed;border-radius:14px;background:#f3f7fb;color:var(--rules-blue);font-family:serif;font-size:1rem}.idepoo-rule-section>header small{display:block;margin-bottom:3px;color:#ad8a4d;font-size:.58rem;letter-spacing:.13em}.idepoo-rule-section h2{margin:0;color:var(--rules-ink);font-size:1.15rem}.idepoo-rule-section>p{margin:0 0 14px;color:#526176;font-size:.88rem;line-height:2.15}.idepoo-rule-section>p:last-child{margin-bottom:0}.idepoo-rule-section ul{display:grid;gap:9px;margin:16px 0 0;padding:0;list-style:none}.idepoo-rule-section li{position:relative;padding-right:20px;color:#4d5d71;font-size:.82rem;line-height:2}.idepoo-rule-section li::before{content:"";position:absolute;top:.83em;right:2px;width:6px;height:6px;border-radius:50%;background:var(--rules-red);box-shadow:0 0 0 4px #feecef}.idepoo-rule-section a{color:var(--rules-blue);font-weight:850}.idepoo-rule-highlight{display:flex;gap:13px;align-items:center;margin-top:17px;padding:16px 18px;border-right:3px solid var(--rules-gold);border-radius:12px;background:#faf6ed}.idepoo-rule-highlight strong{white-space:nowrap;font-size:.8rem}.idepoo-rule-highlight span{color:#6f6654;font-size:.77rem;line-height:1.8}.idepoo-rule-highlight--dark{border-right-color:var(--rules-red);background:#f1f5f9}.idepoo-rule-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.idepoo-rule-columns>div{display:grid;gap:5px;padding:16px;border:1px solid var(--rules-line);border-radius:14px;background:#fafbfd}.idepoo-rule-columns strong{font-size:.8rem}.idepoo-rule-columns span{color:var(--rules-muted);font-size:.72rem}.idepoo-rule-section--important{border-color:#e7d6b5;background:linear-gradient(145deg,#fff,#fffdf8)}.idepoo-deadline-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.idepoo-deadline-grid>div{display:grid;grid-template-columns:auto 1fr;gap:1px 12px;padding:20px;border:1px solid #e3e8ef;border-radius:17px;background:#fff}.idepoo-deadline-grid b{grid-row:1/3;color:var(--rules-red);font-family:serif;font-size:2.4rem;line-height:1}.idepoo-deadline-grid span{align-self:end;color:#9a7b44;font-size:.64rem}.idepoo-deadline-grid strong{font-size:.84rem}.idepoo-deadline-grid p{grid-column:1/3;margin:13px 0 0;padding-top:12px;border-top:1px solid #edf0f4;color:var(--rules-muted);font-size:.72rem;line-height:1.9}.idepoo-rule-contact-line{padding:15px 17px;border-radius:13px;background:#f2f6fa}.idepoo-rule-contact-line a{display:inline-block;direction:ltr}
.idepoo-rules-cta{display:flex;gap:30px;align-items:center;justify-content:space-between;margin-top:28px;padding:31px 34px;border-radius:24px;background:linear-gradient(125deg,var(--rules-navy),#0c477b);color:#fff;box-shadow:0 20px 55px rgb(7 39 70/.18)}.idepoo-rules-cta span{color:#e6c991;font-size:.7rem;font-weight:850}.idepoo-rules-cta h2{margin:5px 0 7px;color:#fff;font-size:1.242rem}.idepoo-rules-cta p{max-width:610px;margin:0;color:#bfcede;font-size:.76rem;line-height:1.9}.idepoo-rules-cta__actions{display:flex;gap:8px;min-width:max-content}.idepoo-rules-cta__actions a{padding:12px 16px;border:1px solid rgb(255 255 255/.2);border-radius:11px;color:#fff;font-size:.75rem;font-weight:850}.idepoo-rules-cta__actions a.is-primary{border-color:var(--rules-red);background:var(--rules-red)}
@media(max-width:980px){.idepoo-rules-hero__inner{grid-template-columns:1fr 220px;gap:35px}.idepoo-rules-summary__grid{grid-template-columns:1fr 1fr}.idepoo-rules-summary article:nth-child(2){border-left:0}.idepoo-rules-summary article:nth-child(-n+2){border-bottom:1px solid var(--rules-line)}.idepoo-rules-layout{grid-template-columns:230px minmax(0,1fr)}.idepoo-rules-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.idepoo-rules{padding-bottom:95px}.idepoo-rules-hero{padding:44px 0 55px}.idepoo-rules-hero__inner{grid-template-columns:1fr}.idepoo-rules-hero__mark{display:none}.idepoo-rules-hero h1{font-size:1.84rem}.idepoo-rules-hero__copy>p{font-size:.88rem}.idepoo-rules-summary{margin-top:-18px}.idepoo-rules-layout{display:block;padding-top:32px}.idepoo-rules-nav{position:relative;top:auto;margin-bottom:18px}.idepoo-rules-nav nav{display:flex;overflow-x:auto;gap:5px;padding:10px;scrollbar-width:none}.idepoo-rules-nav nav::-webkit-scrollbar{display:none}.idepoo-rules-nav nav a{min-width:max-content;border:1px solid var(--rules-line)}.idepoo-rules-nav__help{display:none}.idepoo-rule-section{padding:23px 20px}.idepoo-rules-cta{padding:25px 22px}.idepoo-rules-cta__actions{width:100%}.idepoo-rules-cta__actions a{flex:1;text-align:center}}
@media(max-width:480px){.idepoo-rules-breadcrumb{margin-bottom:20px}.idepoo-rules-hero h1{font-size:1.564rem}.idepoo-rules-meta{gap:9px;margin-top:19px}.idepoo-rules-meta span{font-size:.68rem}.idepoo-rules-summary__grid{grid-template-columns:1fr}.idepoo-rules-summary article{min-height:75px;padding:13px 17px;border:0;border-bottom:1px solid var(--rules-line)!important}.idepoo-rules-summary article:last-child{border-bottom:0!important}.idepoo-rules-nav__head{padding:16px}.idepoo-rule-section>header{gap:11px}.idepoo-rule-section>header>span{width:41px;height:41px}.idepoo-rule-section h2{font-size:0.994rem}.idepoo-rule-section>p{font-size:.8rem}.idepoo-rule-highlight{align-items:flex-start;flex-direction:column}.idepoo-rule-columns,.idepoo-deadline-grid{grid-template-columns:1fr}.idepoo-rules-cta__actions{flex-direction:column}.idepoo-rules-cta__actions a{width:100%;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.idepoo-rules-nav nav a{transition:none}}
