:root{--ink:#101b35;--ink2:#1b2a4d;--muted:#6f7a90;--paper:#f7f8fc;--line:#e5e9f2;--white:#fff;--gold:#c79a55;--gold-light:#f8eedf;--success:#198754;--warning:#c77d14;--danger:#ba3648;--blue:#3b62aa;--shadow:0 16px 50px rgba(20,35,70,.08);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:"Vazirmatn",Tahoma,sans-serif;font-size:14px;line-height:1.85}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.hidden{display:none!important}.muted{color:var(--muted)}.text-gold{color:var(--gold)}.mt-20{margin-top:20px}
/* reusable */
.btn{border:0;border-radius:11px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:700;transition:.2s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--ink);color:#fff;box-shadow:0 8px 18px rgba(16,27,53,.16)}.btn-primary:hover{background:#1c2d53}.btn-gold{background:var(--gold);color:#fff}.btn-outline{border:1px solid #d5dbea;background:transparent;color:var(--ink)}.btn-danger{background:#fff1f3;color:var(--danger);border:1px solid #ffdce0}.btn-success{background:#e7f6ed;color:var(--success);border:1px solid #bbe6ca}.btn.small{padding:8px 13px;border-radius:9px;font-size:12px}.btn.full{width:100%}.btn[disabled]{opacity:.55;pointer-events:none}.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:42px 0 18px}.section-title h2{font-size:22px;margin:0;letter-spacing:-.7px}.section-title p{margin:0;color:var(--muted)}.link-arrow{font-weight:700;color:var(--blue)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 15px rgba(20,35,70,.03)}.empty-state{text-align:center;padding:45px 20px;color:var(--muted)}.empty-state .empty-icon{font-size:34px;color:var(--gold);margin-bottom:5px}.empty-state h3{color:var(--ink);margin:7px 0;font-size:17px}.alert{padding:13px 16px;border-radius:12px;margin-bottom:18px;font-weight:600}.alert-success{background:#e9f8ee;color:#13663d;border:1px solid #c3eed3}.alert-error{background:#fff0f2;color:#a52439;border:1px solid #ffd0d7}.alert-info{background:#edf4ff;color:#2556a4;border:1px solid #d8e6ff}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:var(--gold);font-weight:800;margin:0}
/* public header */
.public-header{height:74px;background:rgba(255,255,255,.93);position:sticky;top:0;z-index:50;backdrop-filter:blur(12px);border-bottom:1px solid #edf0f6}.nav-wrap{height:100%;display:flex;align-items:center;gap:34px}.brand{display:inline-flex;gap:9px;align-items:center;font-size:18px;font-weight:800;white-space:nowrap}.brand-mark{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,var(--gold),#a67232);color:#fff;font-family:"Yeseva One",serif;font-size:21px;box-shadow:0 5px 13px rgba(175,124,58,.3)}.public-nav{display:flex;gap:26px;align-items:center;margin-right:auto}.public-nav a{color:#536078;font-weight:600;padding:24px 0 21px;border-bottom:2px solid transparent}.public-nav a.active,.public-nav a:hover{color:var(--ink);border-bottom-color:var(--gold)}.nav-actions{display:flex;align-items:center;gap:9px}.avatar-mini{width:34px;height:34px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 2px 8px #d6dbe6}.avatar-mini img{width:100%;height:100%;object-fit:cover}.mobile-menu-toggle{display:none;background:transparent;border:0;font-size:22px}.public-footer{background:#101a31;color:#c7d0e1;margin-top:70px;padding-top:48px}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:50px}.public-footer .brand{color:#fff}.public-footer p{margin:12px 0 0;color:#9dacbf;line-height:2}.public-footer h4{color:#fff;margin:0 0 12px}.public-footer a:not(.brand){display:block;margin:7px 0;color:#aeb9cd}.footer-bottom{border-top:1px solid rgba(255,255,255,.11);margin-top:38px;padding:18px 0;color:#8794aa;font-size:12px}
/* home */
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 81% 30%,rgba(199,154,85,.25),transparent 22%),linear-gradient(125deg,#101b35,#1e3159);color:#fff;min-height:480px;display:flex;align-items:center}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,15,35,.1),rgba(6,15,35,.55))}.hero-content{position:relative;z-index:1;width:min(730px,100%);padding:55px 0}.hero .eyebrow{color:#f0c579}.hero h1{margin:12px 0 16px;font-size:42px;line-height:1.45;letter-spacing:-1px}.hero p{font-size:16px;color:#d4ddec;max-width:650px;line-height:2.1;margin:0}.hero-actions{display:flex;gap:10px;margin-top:27px}.hero-stat-list{display:flex;gap:13px;flex-wrap:wrap;margin-top:38px}.hero-stat{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);border-radius:13px;padding:10px 14px;min-width:130px}.hero-stat b{display:block;font-size:18px;color:#fff}.hero-stat span{font-size:11px;color:#bdc8dc}.topics-strip{display:flex;gap:10px;flex-wrap:wrap;padding:22px 0}.topic-pill{border:1px solid #e1e6f0;background:#fff;border-radius:30px;padding:8px 13px;color:#4d5b73;transition:.2s}.topic-pill:hover{border-color:var(--gold);color:#906527}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.story-card{padding:19px;display:flex;flex-direction:column;min-height:280px;transition:.2s}.story-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.story-card .story-meta{display:flex;align-items:center;justify-content:space-between;color:#7d8799;font-size:11px}.topic-badge{display:inline-flex;background:#f2f5fb;color:#425b8d;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:700}.story-card h3{font-size:18px;line-height:1.8;margin:17px 0 8px;letter-spacing:-.5px}.story-card .excerpt{color:#69758a;margin:0;line-height:2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-card .card-footer{border-top:1px solid #edf0f5;padding-top:13px;margin-top:auto;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.author-avatar{width:27px;height:27px;object-fit:cover;border-radius:50%;border:1px solid #e6eaf0}.featured-story{display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden}.featured-story-copy{padding:34px}.featured-story-copy h2{font-size:25px;line-height:1.8;margin:13px 0}.featured-story-copy p{color:#647087;line-height:2.1}.featured-story-art{background:linear-gradient(145deg,#d6e1f4,#f7ecd7);min-height:260px;display:flex;align-items:center;justify-content:center;font-size:120px;color:#bf9251}.writer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.writer-card{padding:18px;text-align:center}.writer-card img{width:72px;height:72px;border-radius:50%;object-fit:cover;margin:auto;border:4px solid #f1f4f9}.writer-card h3{font-size:15px;margin:9px 0 0}.writer-card p{font-size:12px;color:var(--muted);margin:3px 0}.writer-card .writer-count{font-size:11px;color:#9a753f;margin-top:9px}
/* public story / writer */
.page-hero{background:linear-gradient(135deg,#f2f5fb,#fff);border-bottom:1px solid #e8ecf4;padding:55px 0}.page-hero h1{margin:10px 0 6px;font-size:31px}.page-hero p{color:var(--muted);margin:0}.story-reading{width:min(760px,calc(100% - 32px));margin:45px auto}.story-reading-head{padding-bottom:22px;border-bottom:1px solid var(--line)}.story-reading-head .topic-badge{margin-bottom:14px}.story-reading-head h1{font-size:31px;line-height:1.8;margin:0}.reading-byline{margin-top:15px;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.reading-byline img{width:34px;height:34px;border-radius:50%;object-fit:cover}.story-body{font-size:17px;line-height:2.55;color:#263650;padding:30px 2px;white-space:pre-line}.author-banner{display:flex;align-items:center;gap:15px;padding:18px;margin-top:15px}.author-banner img{width:58px;height:58px;object-fit:cover;border-radius:50%}.author-banner h3{margin:0;font-size:16px}.author-banner p{margin:2px 0 0;color:var(--muted);font-size:12px}.writer-profile-hero{padding:50px 0;background:linear-gradient(125deg,#182849,#21345c);color:#fff}.writer-profile-inner{display:flex;align-items:center;gap:23px}.writer-profile-inner img{width:110px;height:110px;object-fit:cover;border-radius:50%;border:5px solid rgba(255,255,255,.13)}.writer-profile-inner h1{font-size:28px;margin:0}.writer-profile-inner .username{color:#d8c08f;margin:4px 0}.writer-profile-inner .bio{max-width:650px;color:#dbe1ed;margin:11px 0 0}.writer-stats{display:flex;gap:20px;margin-top:12px}.writer-stats span{font-size:12px;color:#c2ccdc}.writer-stats b{color:#fff;margin-left:4px}.writer-content{padding-top:30px}.writer-info{padding:20px;margin-bottom:18px}.writer-info h3{margin:0 0 10px}.writer-info p{color:#657188;margin:0;line-height:2}
/* forms */
.form-card{padding:24px}.form-section{padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--line)}.form-section:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.form-section h3{font-size:16px;margin:0 0 4px}.form-section p{color:var(--muted);font-size:12px;margin:0 0 16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group.full{grid-column:1/-1}.form-group label{font-size:12px;font-weight:800;color:#3b4960}.form-group small{color:#8b96a8;font-size:10px}.input,select.input,textarea.input{width:100%;padding:11px 12px;border:1px solid #dbe1eb;border-radius:10px;background:#fff;color:var(--ink);outline:0;transition:.2s}.input:focus{border-color:#8194bb;box-shadow:0 0 0 4px rgba(72,103,165,.09)}textarea.input{min-height:112px;resize:vertical;line-height:2}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:16px}.profile-avatar-edit{display:flex;align-items:center;gap:15px;padding:13px;background:#f8f9fc;border:1px solid #edf0f5;border-radius:12px;margin-bottom:18px}.profile-avatar-edit img{width:68px;height:68px;border-radius:50%;object-fit:cover}.profile-avatar-edit input{max-width:250px}.help-box{background:#fbf7ef;border:1px solid #f0dfbe;border-radius:12px;color:#805e2d;padding:12px;font-size:12px;line-height:2}
/* login */
.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 80% 15%,#f1dfbf,transparent 26%),linear-gradient(135deg,#f1f4fa,#e9eef8);padding:20px}.login-layout{width:min(980px,100%);display:grid;grid-template-columns:1fr .94fr;border-radius:25px;overflow:hidden;background:#fff;box-shadow:0 25px 70px rgba(18,34,66,.15)}.login-aside{padding:48px;background:linear-gradient(145deg,#101b35,#1e3158);color:#fff;min-height:520px;display:flex;flex-direction:column;justify-content:space-between}.login-aside h1{font-size:31px;line-height:1.65;margin:20px 0 10px}.login-aside p{color:#cbd5e6;max-width:360px;line-height:2}.login-feature{display:flex;gap:9px;color:#c4cedf;font-size:12px;margin:7px 0}.login-feature i{font-style:normal;color:#e4b367}.login-form-side{padding:52px 45px;display:flex;align-items:center}.login-form{width:100%}.login-form h2{font-size:25px;margin:0 0 6px}.login-form>p{color:var(--muted);font-size:12px;margin:0 0 25px}.phone-input{direction:ltr;text-align:right;font-size:19px;letter-spacing:1px}.otp-row{display:flex;gap:8px;direction:ltr}.otp-row input{width:100%;text-align:center;font-size:22px;letter-spacing:5px}.login-note{font-size:11px;color:#8994a5;line-height:1.9;text-align:center;margin-top:16px}.back-link{display:inline-block;color:#67748b;font-size:12px;margin-top:18px}.login-loader{display:none;text-align:center;color:var(--muted);font-size:12px;margin-top:11px}
/* panel */
.panel-body{background:#f5f7fb;min-height:100vh}.panel-sidebar{position:fixed;right:0;top:0;bottom:0;width:252px;background:linear-gradient(180deg,#111e39,#142448);color:#ced8ea;z-index:30;display:flex;flex-direction:column}.panel-brand{height:75px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}.panel-brand .brand{color:#fff;font-size:16px}.panel-brand button{display:none;background:transparent;border:0;color:#fff;font-size:25px}.sidebar-user{display:flex;align-items:center;gap:10px;padding:17px 18px;border-bottom:1px solid rgba(255,255,255,.07)}.sidebar-user img{width:38px;height:38px;border-radius:50%;object-fit:cover}.sidebar-user strong{display:block;color:#fff;font-size:12px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{color:#9daac0;font-size:10px}.sidebar-nav{padding:14px 11px;overflow:auto}.sidebar-nav a{display:flex;align-items:center;gap:11px;border-radius:10px;padding:10px 11px;color:#aebbd0;margin-bottom:3px;font-size:12px;font-weight:600}.sidebar-nav a:hover,.sidebar-nav a.active{background:rgba(255,255,255,.1);color:#fff}.sidebar-nav a.active{box-shadow:inset -3px 0 0 var(--gold)}.sidebar-nav a span{font-size:16px;width:18px;text-align:center;color:#d9b77b}.sidebar-label{font-size:10px;color:#71809a;padding:17px 11px 5px}.sidebar-bottom{margin-top:auto;padding:14px 11px;border-top:1px solid rgba(255,255,255,.08)}.sidebar-bottom a{display:flex;align-items:center;gap:11px;color:#b8c3d4;font-size:12px;padding:9px}.panel-main{margin-right:252px;min-height:100vh}.panel-header{height:82px;background:rgba(255,255,255,.92);border-bottom:1px solid #e9edf4;position:sticky;top:0;z-index:20;backdrop-filter:blur(10px)}.panel-header-inner{max-width:1400px;margin:auto;height:100%;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.panel-header h1{font-size:19px;margin:0;line-height:1.45}.sidebar-toggle{display:none}.header-tools{display:flex;align-items:center;gap:14px}.notification-bell{position:relative;font-size:21px;color:#57677f}.notification-bell b{position:absolute;background:var(--danger);color:#fff;border-radius:20px;min-width:15px;height:15px;text-align:center;line-height:15px;font-size:8px;top:-3px;left:-9px}.header-user{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.header-user img{width:34px;height:34px;border-radius:50%;object-fit:cover}.panel-content{max-width:1400px;margin:auto;padding:28px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card{padding:18px;position:relative;overflow:hidden}.stat-card:after{content:"";width:70px;height:70px;background:var(--accent-bg,#eef3fc);position:absolute;left:-18px;bottom:-25px;border-radius:50%}.stat-card .stat-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--accent-bg,#eef3fc);color:var(--accent,#5070ad);font-size:18px}.stat-card p{color:#7c889b;margin:12px 0 2px;font-size:12px}.stat-card b{font-size:23px}.stat-card .stat-caption{font-size:10px;color:#a0aabc}.dashboard-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px;margin-top:18px}.dashboard-card{padding:20px}.dashboard-card h2{font-size:16px;margin:0 0 14px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-action{padding:13px;border:1px solid #e4e9f2;border-radius:12px;font-weight:700;font-size:12px;background:#fbfcfe}.quick-action:hover{border-color:#b5c2db;background:#fff}.quick-action span{color:var(--gold);margin-left:5px;font-size:17px}.progress-wrap{padding:14px;background:#f8f9fd;border-radius:12px}.progress-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700}.progress{height:8px;background:#e5eaf2;border-radius:99px;overflow:hidden;margin-top:9px}.progress i{height:100%;display:block;background:linear-gradient(90deg,#c79a55,#e0bd80);border-radius:99px}.activity-list{padding:0;margin:0;list-style:none}.activity-list li{position:relative;padding:0 16px 14px 0;margin-right:6px;border-right:1px solid #e5eaf1;color:#607087;font-size:12px}.activity-list li:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold);position:absolute;right:-4.5px;top:6px}.activity-list b{color:var(--ink);font-weight:700}.story-table-wrap{overflow:auto}.story-table{width:100%;border-collapse:collapse;min-width:760px}.story-table th{background:#f8f9fc;color:#7a869a;text-align:right;padding:11px 13px;font-size:11px;white-space:nowrap;border-bottom:1px solid #e7ebf2}.story-table td{padding:13px;border-bottom:1px solid #edf0f5;font-size:12px;vertical-align:middle}.story-table tr:last-child td{border-bottom:0}.story-table .title-cell strong{display:block;font-size:13px;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-table .title-cell small{color:#8c97a9}.status{font-size:10px;padding:4px 8px;border-radius:20px;display:inline-flex;font-weight:800;white-space:nowrap}.status-draft{background:#eef1f5;color:#667084}.status-submitted,.status-resubmitted{background:#eaf2ff;color:#2f64b1}.status-in_review{background:#f5ecff;color:#7d49a8}.status-revision_required{background:#fff3df;color:#a76606}.status-published{background:#e8f8ee;color:#17834d}.status-rejected{background:#fff0f2;color:#b03949}.status-archived{background:#eeeef3;color:#737080}.table-actions{display:flex;gap:6px;align-items:center}.filter-bar{padding:14px;display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.filter-bar .form-group{min-width:150px;flex:1}.filter-bar .search-group{min-width:220px;flex:2}.story-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.story-side-card{padding:18px;height:max-content}.story-side-card h3{font-size:14px;margin:0 0 10px}.story-side-card p{font-size:12px;color:var(--muted);margin:0;line-height:2}.story-meta-list{list-style:none;padding:0;margin:14px 0 0}.story-meta-list li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf0f5;font-size:11px}.story-meta-list li:last-child{border:0}.story-meta-list b{color:#77849a;font-weight:500}.note-box{background:#fff7e8;border:1px solid #f1dfb9;border-radius:12px;padding:12px;color:#795b28;font-size:12px;line-height:2;margin-bottom:15px}.timeline{list-style:none;padding:0;margin:0}.timeline li{font-size:11px;padding:10px 0;border-bottom:1px solid #edf0f5}.timeline li:last-child{border-bottom:0}.timeline b{display:block;color:var(--ink);font-size:12px}.admin-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.story-preview{padding:25px}.story-preview h2{margin:0;font-size:23px;line-height:1.9}.story-preview .preview-body{white-space:pre-line;font-size:15px;line-height:2.5;color:#2c3b52;margin-top:20px}.review-controls{padding:20px}.review-controls h3{margin:0 0 12px}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.writer-row{display:flex;align-items:center;gap:9px}.writer-row img{width:33px;height:33px;border-radius:50%;object-fit:cover}.writer-row b{display:block;font-size:12px}.writer-row small{color:var(--muted);font-size:10px}.topic-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.topic-admin-card{padding:16px}.topic-admin-card h3{margin:0;font-size:15px}.topic-admin-card p{font-size:11px;color:var(--muted);margin:5px 0 10px}.topic-admin-card footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#748198;border-top:1px solid #edf0f5;padding-top:9px}.inline-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.inline-form .form-group{flex:1;min-width:160px}
@media(max-width:1024px){.story-grid{grid-template-columns:repeat(2,1fr)}.writer-grid{grid-template-columns:repeat(3,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.story-editor-layout,.admin-review-grid{grid-template-columns:1fr}.topic-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.public-header{height:64px}.nav-wrap{gap:12px}.mobile-menu-toggle{display:block;order:1}.brand{font-size:16px}.public-nav{position:absolute;top:64px;right:0;left:0;display:none;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line);padding:7px 16px;box-shadow:0 10px 25px rgba(20,30,55,.08)}.public-nav.open{display:flex}.public-nav a{padding:10px 0;border-bottom:0}.nav-actions{margin-right:auto}.nav-actions .btn{font-size:11px;padding:7px 10px}.hero{min-height:auto}.hero-content{padding:48px 0}.hero h1{font-size:30px}.hero p{font-size:14px}.story-grid{grid-template-columns:1fr}.writer-grid{grid-template-columns:repeat(2,1fr)}.featured-story{grid-template-columns:1fr}.featured-story-art{min-height:130px;font-size:70px;order:-1}.footer-grid{grid-template-columns:1fr;gap:22px}.login-layout{grid-template-columns:1fr}.login-aside{min-height:auto;padding:30px}.login-aside .login-feature-list{display:none}.login-aside h1{font-size:24px}.login-form-side{padding:34px 24px}.panel-sidebar{transform:translateX(110%);transition:.25s;box-shadow:-10px 0 30px rgba(0,0,0,.2)}.panel-sidebar.open{transform:none}.panel-brand button{display:block}.panel-main{margin-right:0}.sidebar-toggle{display:block;background:transparent;border:0;font-size:22px;color:#34445c}.panel-header-inner{padding:0 17px;gap:12px;justify-content:initial}.header-tools{margin-right:auto}.header-user span{display:none}.panel-content{padding:18px}.panel-header h1{font-size:16px}.dashboard-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.story-reading{margin:28px auto}.story-reading-head h1{font-size:25px}.story-body{font-size:15px}.writer-profile-inner{align-items:flex-start}.writer-profile-inner img{width:80px;height:80px}.writer-profile-inner h1{font-size:22px}.writer-stats{flex-wrap:wrap;gap:9px}.page-hero{padding:34px 0}.page-hero h1{font-size:25px}.topic-list{grid-template-columns:1fr}}
@media(max-width:430px){.hero-actions{flex-direction:column;align-items:stretch}.hero-stat-list{gap:7px}.hero-stat{min-width:calc(50% - 4px)}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:14px}.stat-card b{font-size:20px}.quick-actions{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions .btn{width:100%}}


/* ===== v1.3.0 | Mobile-first navigation & responsive refinement ===== */
.ui-icon{width:1em;height:1em;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.ui-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.desktop-contact-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#5e6e85;white-space:nowrap}.desktop-contact-link .ui-icon{font-size:16px;color:var(--gold)}
.mobile-contact-button,.mobile-nav-head,.mobile-bottom-nav,.mobile-compose-backdrop,.mobile-compose-sheet,.panel-mobile-brand,.panel-mobile-contact{display:none}
.public-nav .ui-icon{display:none}
.brand-logo-wrap{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px}.brand-logo{max-width:100%;max-height:100%;object-fit:contain}.public-header .brand-logo-wrap{width:38px;height:38px;flex-basis:38px}.public-header .brand-logo{width:100%;height:100%;object-fit:contain}
/* safer menu sizing: labels do not fall to the next line */
@media(min-width:801px){.panel-sidebar{width:280px}.panel-main{margin-right:280px}.panel-brand{padding:0 19px}.sidebar-nav{padding:14px 12px}.sidebar-nav a{min-height:45px;padding:10px 12px;gap:12px;white-space:nowrap}.sidebar-nav a .ui-icon{font-size:17px;width:19px;color:#d9b77b}.sidebar-nav a>span:last-child{width:auto;flex:1;min-width:0;color:inherit;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-bottom a{white-space:nowrap}.sidebar-bottom a .ui-icon{font-size:16px}.panel-title-copy .panel-kicker{font-size:10px;color:#8b98aa;margin:0 0 2px}.header-user-menu{position:relative}.header-user{background:#f8fafc;border:1px solid #e7edf5;border-radius:13px;padding:5px 7px 5px 10px;border:1px solid #e7edf5}.header-user-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.5}.header-user-copy small{color:#8190a4;font-size:10px;font-weight:600}.header-user-chevron{color:#8290a3;font-size:14px}.user-dropdown{display:none;position:absolute;top:calc(100% + 9px);left:0;width:235px;background:#fff;border:1px solid #e4eaf2;border-radius:14px;padding:8px;box-shadow:0 18px 45px rgba(17,31,58,.14);z-index:60}.header-user-menu.open .user-dropdown{display:block}.dropdown-user-summary{display:flex;align-items:center;gap:9px;padding:8px 8px 11px}.dropdown-user-summary img{width:38px;height:38px;border-radius:50%;object-fit:cover}.dropdown-user-summary strong,.dropdown-user-summary span{display:block}.dropdown-user-summary span{font-size:10px;color:#8491a4}.user-dropdown>a{display:flex;align-items:center;gap:9px;padding:9px 8px;border-radius:9px;font-size:12px;color:#516079}.user-dropdown>a:hover{background:#f4f7fb;color:var(--ink)}.user-dropdown .ui-icon{font-size:16px;color:#9a7641}.user-dropdown hr{border:0;border-top:1px solid #edf0f5;margin:5px 0}.user-dropdown .dropdown-logout{color:#b43b4d}.panel-backdrop{display:none}}
/* About & contact */
.about-page,.contact-page{padding-top:30px}.about-story{padding:35px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:26px;align-items:start}.about-mark{width:92px;height:92px;border-radius:26px;display:grid;place-items:center;background:linear-gradient(145deg,#132440,#274772);color:#e7c889;font-size:48px;font-family:"Yeseva One",serif;box-shadow:0 16px 28px rgba(17,35,65,.16)}.about-story h2{font-size:25px;line-height:1.8;margin:8px 0 11px}.about-story p:not(.eyebrow){margin:0;color:#67758a;line-height:2.25}.about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.about-values article{padding:23px}.about-values article>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f6ecdf;color:#b27f3f;font-size:22px}.about-values h3{margin:14px 0 4px;font-size:16px}.about-values p{color:#758198;font-size:12px;margin:0;line-height:2}.about-cta{margin:25px 0 60px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(135deg,#172946,#223f69);color:#fff;border:0}.about-cta .eyebrow{color:#e8c37f}.about-cta h2{font-size:21px;margin:6px 0}.about-cta p:not(.eyebrow){margin:0;color:#c4d0e2;font-size:13px}.about-cta .btn{background:#e0b66c;color:#14213b}
.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding-bottom:60px}.contact-form-card{padding:28px}.contact-form-head{display:flex;align-items:center;gap:13px;margin-bottom:22px}.contact-head-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#eef3fb;color:#4e6ea8;font-size:21px}.contact-form-head h2{font-size:20px;margin:0}.contact-form-head p{font-size:12px;color:#77849a;margin:2px 0 0}.contact-side{display:flex;flex-direction:column;gap:12px}.contact-note,.contact-address{padding:21px}.contact-note h3{margin:5px 0 13px;font-size:16px}.contact-channel{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0f5;padding:12px 0}.contact-channel .ui-icon{width:34px;height:34px;display:grid;place-items:center;background:#f2f6fb;color:#5575aa;border-radius:10px;font-size:16px}.contact-channel b,.contact-channel small{display:block}.contact-channel b{font-size:12px}.contact-channel small{font-size:11px;color:#8793a6;margin-top:1px;direction:ltr;text-align:right}.contact-empty{font-size:12px;color:#7a8798;line-height:2;margin:0}.contact-address{display:flex;gap:10px}.contact-address>.ui-icon{color:#a97c40;font-size:19px}.contact-address b{font-size:12px}.contact-address p{font-size:12px;color:#718096;margin:3px 0 0;line-height:2}.contact-tip{border:1px solid #efe0be;background:#fff9ee;border-radius:13px;padding:13px 15px;color:#745b30;font-size:12px}.contact-tip p{margin:3px 0 0;line-height:2}
/* Admin contact messages */
.admin-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.admin-page-head h2{font-size:21px;margin:4px 0}.admin-page-head p{margin:0}.admin-filter-links{display:flex;gap:7px;flex-wrap:wrap}.admin-filter-links a{padding:7px 11px;border:1px solid #dfe6f0;border-radius:9px;font-size:11px;color:#63728a;background:#fff}.admin-filter-links a.active{border-color:#b99050;background:#fbf5ea;color:#856033}.message-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.message-card{padding:18px}.message-card.unread{border-right:3px solid #c89a55}.message-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.message-type{font-size:10px;border-radius:20px;padding:4px 8px;background:#f0f4fa;color:#607190}.type-idea{background:#f6edff;color:#8056a1}.type-feedback{background:#e9f6f1;color:#237e59}.message-card time{font-size:10px;color:#99a3b1}.message-card h3{font-size:14px;margin:13px 0 2px}.message-card h3 small{font-size:10px;color:#8490a1;font-weight:500}.message-contact-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:10px;color:#8c98aa;direction:ltr;text-align:right}.message-card p{color:#5e6d83;font-size:12px;line-height:2.1;margin:12px 0}.message-card form{margin-top:12px}
/* Settings refinements */
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.settings-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.settings-intro h2{font-size:21px;margin:3px 0}.settings-intro p{margin:0}.settings-form{padding:27px}.settings-section-head{display:flex;align-items:center;gap:11px;margin-bottom:16px}.settings-icon{width:36px;height:36px;display:grid;place-items:center;background:#f6eddf;border-radius:11px;color:#ae7d3c;font-size:18px}.settings-section-head h3{margin:0;font-size:16px}.settings-section-head p{margin:2px 0 0;font-size:11px;color:#8591a4}.settings-divider{height:1px;background:#edf0f5;margin:28px 0}.asset-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.asset-upload-card{border:1px solid #e5eaf1;border-radius:14px;padding:15px;display:flex;gap:12px;align-items:center}.asset-preview{flex:0 0 62px;width:62px;height:62px;display:grid;place-items:center;border-radius:14px;background:#f5f7fb;overflow:hidden}.asset-preview img{width:100%;height:100%;object-fit:contain}.favicon-preview{border-radius:18px}.asset-copy h4{font-size:13px;margin:0}.asset-copy p{font-size:10px;color:#8491a4;line-height:1.8;margin:3px 0 7px}.asset-copy small{font-size:9px;color:#96a0ae;display:block;margin-top:5px}.upload-button{display:inline-flex;padding:6px 9px;background:#eef3fb;color:#355a93;border-radius:8px;font-size:10px;font-weight:700;cursor:pointer}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.settings-preview-card{padding:18px}.mock-browser{border:1px solid #dfe6f0;border-radius:11px;overflow:hidden;margin-top:10px}.mock-browser-top{height:24px;background:#f4f6fa;display:flex;align-items:center;gap:4px;padding:0 8px;font-size:8px;color:#8491a4}.mock-browser-top i{width:5px;height:5px;border-radius:50%;background:#ccd5e3}.mock-browser-top span{margin-right:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mock-browser-body{padding:13px}.mock-browser-body .brand{font-size:12px}.mock-browser-body .brand-logo-wrap{width:25px;height:25px;flex-basis:25px}.mock-browser-body .brand-mark{width:25px;height:25px;border-radius:8px;font-size:15px}.mock-browser-body p{font-size:10px;color:#7e8a9e;line-height:1.9}.mock-line{height:5px;background:#edf1f6;border-radius:10px;width:60%;margin-top:7px}.mock-line.long{width:90%}.settings-preview-note{font-size:10px;line-height:2;margin:11px 0 0}.settings-tip{margin-top:12px;border:1px solid #f0dfbe;background:#fff9ed;border-radius:13px;padding:14px;font-size:11px;color:#745a2f}.settings-tip p{margin:3px 0 0;line-height:2}
@media(max-width:1024px){.settings-layout{grid-template-columns:1fr}.settings-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-tip{margin-top:0}.contact-layout{grid-template-columns:1fr}.contact-side{display:grid;grid-template-columns:1fr 1fr}.message-list{grid-template-columns:1fr}.about-values{grid-template-columns:1fr 1fr}}
@media(max-width:800px){
 body.public-body{padding-bottom:calc(80px + env(safe-area-inset-bottom));}.public-footer{display:none}.public-header{height:66px;position:sticky;background:rgba(255,255,255,.97)}.nav-wrap{width:100%;height:66px;position:relative;display:block}.public-header .brand{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;gap:0}.public-header .brand-text{display:none}.public-header .brand-logo-wrap{width:42px;height:42px;flex-basis:42px}.public-header .brand-mark{width:39px;height:39px;border-radius:13px;font-size:24px}.mobile-contact-button{display:grid;place-items:center;position:absolute;right:2px;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:13px;color:#5a6c86;background:#f4f7fb;z-index:6}.mobile-contact-button .ui-icon{font-size:19px}.mobile-menu-toggle{display:grid;place-items:center;position:absolute;left:2px;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:13px;color:#40556f;background:#f4f7fb;z-index:6}.mobile-menu-toggle .ui-icon{font-size:21px}.nav-actions{display:none}.desktop-contact-link{display:none}.public-nav{position:fixed;z-index:101;top:0;bottom:0;left:0;right:auto;width:min(292px,82vw);padding:18px 13px;background:#fff;border:0;box-shadow:12px 0 35px rgba(15,28,52,.18);transform:translateX(-110%);transition:transform .25s ease;display:flex!important;flex-direction:column;align-items:stretch;gap:4px}.public-nav.open{transform:translateX(0)}.public-nav a{display:flex;align-items:center;gap:12px;padding:12px 11px!important;border:0!important;border-radius:11px;color:#52627a;font-size:13px;white-space:nowrap}.public-nav a.active{background:#f7eedf;color:#8a6130}.public-nav .ui-icon{display:inline-flex;font-size:18px;color:#a77c43}.mobile-nav-head{display:flex;align-items:center;justify-content:space-between;padding:2px 8px 16px;color:#172845;font-weight:800;border-bottom:1px solid #edf0f5;margin-bottom:7px}.mobile-nav-head button{background:#f4f7fb;border:0;color:#4f637d;width:34px;height:34px;border-radius:10px;font-size:19px}.mobile-nav-backdrop{display:block;position:fixed;z-index:100;inset:0;border:0;background:rgba(10,23,44,.38);opacity:0;visibility:hidden;transition:.2s}.mobile-nav-backdrop.open{opacity:1;visibility:visible}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:90;height:76px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;background:rgba(255,255,255,.98);border-top:1px solid #e8edf4;box-shadow:0 -10px 30px rgba(17,34,62,.09);backdrop-filter:blur(15px)}.mobile-tab,.mobile-compose-trigger{height:61px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;color:#7b899d;font-size:10px;font-weight:700}.mobile-tab .ui-icon{font-size:20px}.mobile-tab>span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}.mobile-tab.active{color:#9d7139}.mobile-tab.active .ui-icon{color:#b98a48}.mobile-tab img{width:25px;height:25px;border-radius:50%;object-fit:cover;border:1.5px solid #dbe3ef}.mobile-tab.active img{border-color:#c99a56}.mobile-compose-trigger{position:relative;transform:translateY(-16px);color:#465872}.compose-orb{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#cda264,#9d6f37);color:#fff;box-shadow:0 10px 20px rgba(153,105,50,.3);border:4px solid #fff;transition:transform .2s}.compose-orb .ui-icon{font-size:25px}.mobile-compose-trigger[aria-expanded="true"] .compose-orb{transform:rotate(45deg);background:linear-gradient(145deg,#243e67,#132440)}.mobile-compose-trigger>span:last-child{margin-top:1px}.mobile-compose-backdrop{display:block;position:fixed;z-index:110;inset:0;background:rgba(10,22,42,.48);opacity:0;visibility:hidden;transition:.2s}.mobile-compose-backdrop.open{opacity:1;visibility:visible}.mobile-compose-sheet{display:block;position:fixed;z-index:111;bottom:0;right:0;left:0;padding:10px 18px calc(22px + env(safe-area-inset-bottom));background:#fff;border-radius:25px 25px 0 0;box-shadow:0 -18px 48px rgba(12,25,47,.2);transform:translateY(110%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}.mobile-compose-sheet.open{transform:translateY(0)}.mobile-sheet-handle{height:4px;width:44px;border-radius:20px;background:#dce3ed;margin:0 auto 16px}.sheet-close{position:absolute;left:16px;top:15px;width:32px;height:32px;border:0;border-radius:10px;color:#617088;background:#f3f6fa;font-size:17px}.mobile-sheet-heading{display:flex;align-items:center;gap:10px;padding:0 4px 15px}.sheet-heading-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#f7eddf;color:#a87435;font-size:20px}.mobile-sheet-heading h3,.guest-compose-message h3{font-size:16px;margin:0}.mobile-sheet-heading p{font-size:11px;color:#8290a3;margin:2px 0 0}.mobile-compose-actions{display:grid;gap:8px}.mobile-compose-actions>a{display:flex;align-items:center;gap:11px;padding:12px;background:#f8fafc;border:1px solid #e7edf4;border-radius:14px}.compose-action-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:19px}.compose-action-icon.story{background:#eaf2ff;color:#4772b8}.compose-action-icon.idea{background:#f6edff;color:#8258a1}.compose-action-icon.note{background:#e9f7f0;color:#29815f}.mobile-compose-actions b,.mobile-compose-actions small{display:block}.mobile-compose-actions b{font-size:12px}.mobile-compose-actions small{font-size:10px;color:#8a96a8;margin-top:1px}.mobile-compose-actions em{font-style:normal;margin-right:auto;color:#9ba6b5;font-size:18px}.guest-compose-message{text-align:center;padding:8px 5px 2px}.guest-compose-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 12px;border-radius:18px;background:#f6eddf;color:#a8783b;font-size:26px}.guest-compose-message p{font-size:12px;color:#7c899b;line-height:2;margin:7px auto 16px;max-width:280px}.guest-compose-message>div{display:flex;gap:8px;justify-content:center}.guest-compose-message .btn{font-size:11px;padding:9px 12px}.panel-header{height:66px}.panel-header-inner{padding:0 13px;position:relative;justify-content:space-between}.panel-title-copy{display:none}.panel-mobile-brand{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.panel-mobile-brand .brand-text{display:none}.panel-mobile-brand .brand-logo-wrap{width:39px;height:39px;flex-basis:39px}.panel-mobile-brand .brand-mark{width:37px;height:37px;border-radius:12px;font-size:22px}.sidebar-toggle{display:grid!important;place-items:center;background:#f3f6fa!important;border-radius:11px!important;width:40px;height:40px;font-size:20px!important}.panel-mobile-contact{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f3f6fa;color:#536984;font-size:18px}.header-tools{margin-right:auto;gap:7px}.notification-bell{display:none}.header-user{padding:0;background:transparent;border:0}.header-user img{width:36px;height:36px;border:2px solid #e5ebf3}.header-user-chevron{display:none}.header-user-menu{position:static}.user-dropdown{display:none;position:fixed;top:75px;left:13px;width:235px;background:#fff;border:1px solid #e4eaf2;border-radius:14px;padding:8px;box-shadow:0 18px 45px rgba(17,31,58,.14);z-index:80}.header-user-menu.open .user-dropdown{display:block}.dropdown-user-summary{display:flex;align-items:center;gap:9px;padding:8px 8px 11px}.dropdown-user-summary img{width:38px;height:38px;border-radius:50%;object-fit:cover}.dropdown-user-summary strong,.dropdown-user-summary span{display:block}.dropdown-user-summary span{font-size:10px;color:#8491a4}.user-dropdown>a{display:flex;align-items:center;gap:9px;padding:9px 8px;border-radius:9px;font-size:12px;color:#516079}.user-dropdown .ui-icon{font-size:16px;color:#9a7641}.user-dropdown hr{border:0;border-top:1px solid #edf0f5;margin:5px 0}.user-dropdown .dropdown-logout{color:#b43b4d}.panel-backdrop{position:fixed;z-index:29;inset:0;border:0;background:rgba(10,22,42,.38);opacity:0;visibility:hidden;transition:.2s}.panel-backdrop.open{opacity:1;visibility:visible}.panel-sidebar{width:min(286px,86vw)}.panel-content{padding:16px}.settings-side{display:block}.settings-side>*+*{margin-top:12px}.asset-upload-grid{grid-template-columns:1fr}.about-page,.contact-page{padding-top:18px}.about-story{grid-template-columns:1fr;padding:23px;gap:16px}.about-mark{width:64px;height:64px;border-radius:18px;font-size:33px}.about-story h2{font-size:21px}.about-values{grid-template-columns:1fr;gap:10px;margin:12px 0}.about-values article{padding:18px}.about-cta{margin:15px 0 28px;padding:22px;align-items:flex-start;flex-direction:column}.contact-form-card{padding:20px}.contact-side{display:block}.contact-side>*+*{margin-top:10px}.admin-page-head{flex-direction:column}.message-card{padding:15px}.page-hero{padding:28px 0}.contact-hero h1,.about-hero h1{font-size:26px}.public-nav a span{flex:1}.form-actions .btn{width:100%}
}
@media(max-width:430px){.mobile-bottom-nav{height:74px}.mobile-tab{font-size:9px}.mobile-tab .ui-icon{font-size:19px}.mobile-tab img{width:24px;height:24px}.compose-orb{width:48px;height:48px;border-radius:16px}.mobile-compose-trigger{transform:translateY(-15px)}.guest-compose-message>div{flex-direction:column}.guest-compose-message .btn{width:100%}.contact-form-head h2{font-size:18px}.about-story{padding:19px}.asset-upload-card{align-items:flex-start}.asset-preview{flex-basis:54px;width:54px;height:54px}}


/* ===== v1.3.2 | ثابت‌سازی هدر موبایل، تلگرام و هدر حرفه‌ای دسکتاپ ===== */
body.public-body{padding-top:74px}
.public-header{position:fixed;top:0;right:0;left:0;width:100%;z-index:100;box-shadow:0 4px 18px rgba(21,39,72,.045)}
.mobile-telegram-button,.telegram-modal{display:none}
.public-header .nav-actions{margin-right:auto}
.public-header .header-tools,.public-header .nav-actions{display:flex;align-items:center;gap:10px}
.public-header .header-user-menu{position:relative}
.public-header .header-user{border:1px solid #e5ebf3;background:#fff;border-radius:14px;padding:5px 7px 5px 10px;box-shadow:0 3px 12px rgba(22,39,68,.04)}
.public-header .header-user:hover{background:#f9fbfe;border-color:#d8e0ec}
.public-header .header-user-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.5;min-width:0;max-width:140px}
.public-header .header-user-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.public-header .header-user-copy small{font-size:10px;color:#8190a4;font-weight:600}
.public-header .header-user img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #edf1f6}
.public-header .header-user-chevron{font-size:14px;color:#8996a8;display:inline-flex}
.public-header .public-notification-bell{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid #e5ebf3;background:#fff;border-radius:12px;color:#5a6b84;font-size:19px;box-shadow:0 3px 12px rgba(22,39,68,.035)}
.public-header .public-notification-bell:hover{background:#f9fbfe;color:#213a63}
.public-header .public-notification-bell b{position:absolute;top:-4px;left:-4px;min-width:16px;height:16px;display:grid;place-items:center;border-radius:20px;background:#ba3648;color:#fff;font-size:8px;border:2px solid #fff}
.public-header .user-dropdown{z-index:160}
.public-header .public-login-button{min-height:38px;padding-inline:15px}
.telegram-modal{position:fixed;z-index:260;inset:0;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.telegram-modal.open{display:flex;opacity:1;visibility:visible}
.telegram-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(8,22,45,.55);backdrop-filter:blur(3px)}
.telegram-modal-card{position:relative;z-index:1;width:min(360px,100%);padding:27px 24px 24px;background:#fff;border:1px solid #e9edf4;border-radius:24px;box-shadow:0 25px 65px rgba(7,21,45,.27);text-align:center;transform:translateY(12px) scale(.98);transition:transform .22s ease}
.telegram-modal.open .telegram-modal-card{transform:translateY(0) scale(1)}
.telegram-modal-close{position:absolute;left:13px;top:13px;width:34px;height:34px;border:0;border-radius:11px;background:#f3f6fa;color:#65748a;display:grid;place-items:center;font-size:17px}
.telegram-modal-icon{width:58px;height:58px;border-radius:18px;margin:0 auto 13px;display:grid;place-items:center;background:linear-gradient(145deg,#37aee2,#1685c5);color:#fff;font-size:28px;box-shadow:0 10px 23px rgba(22,133,197,.26)}
.telegram-modal-card .eyebrow{margin:0 0 5px;color:#218ec9}.telegram-modal-card h3{font-size:18px;line-height:1.9;margin:0}.telegram-modal-card>p:not(.eyebrow){font-size:12px;line-height:2.1;color:#728096;margin:9px auto 17px;max-width:290px}.telegram-join-button{background:#229ed9;font-size:12px;min-height:43px}.telegram-join-button:hover{background:#168bc3}.telegram-join-button .ui-icon{font-size:16px}

@media(max-width:800px){
  body.public-body{padding-top:66px!important;padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  .public-header{height:66px!important;position:fixed!important;top:0!important;right:0!important;left:0!important;z-index:180!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px)}
  .nav-wrap{height:66px!important;width:100%!important;position:relative!important;display:block!important}
  .public-header .brand{position:absolute!important;z-index:5;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;gap:0!important}
  .public-header .brand-text{display:none!important}.public-header .brand-logo-wrap{width:42px!important;height:42px!important;flex-basis:42px!important}.public-header .brand-mark{width:39px!important;height:39px!important;border-radius:13px!important;font-size:24px!important}
  .mobile-contact-button,.mobile-telegram-button{display:grid!important;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #e6ebf3;border-radius:13px;z-index:7;box-shadow:0 3px 12px rgba(26,42,67,.035)}
  .mobile-contact-button{right:12px!important;color:#4e6886!important;background:#f5f8fc!important}.mobile-contact-button .ui-icon{font-size:19px}
  .mobile-telegram-button{left:12px!important;color:#168bc3!important;background:#eff8fc!important}.mobile-telegram-button .ui-icon{font-size:20px}
  .mobile-menu-toggle,.mobile-nav-backdrop,.mobile-nav-head{display:none!important}.public-nav{display:none!important}.public-header .nav-actions{display:none!important}
  .mobile-bottom-nav{z-index:180!important;height:78px!important;padding:7px 6px calc(7px + env(safe-area-inset-bottom))!important;border-top-color:#e7ecf4!important;box-shadow:0 -9px 30px rgba(13,30,55,.10)!important}
  .mobile-tab,.mobile-compose-trigger{height:62px!important;font-size:10px!important}.mobile-tab .ui-icon{font-size:20px!important}.mobile-tab img{width:27px!important;height:27px!important}.mobile-tab>span{padding:0!important;line-height:1.35!important}
  .mobile-compose-trigger{transform:translateY(-18px)!important}.compose-orb{width:52px!important;height:52px!important;border-radius:18px!important;box-shadow:0 11px 22px rgba(153,105,50,.3)!important}.compose-orb .ui-icon{font-size:26px!important}
  .telegram-modal{z-index:300}.telegram-modal-card{padding:25px 21px 22px;border-radius:23px}
}
@media(max-width:430px){.mobile-contact-button,.mobile-telegram-button{width:40px;height:40px;top:50%}.mobile-contact-button{right:9px!important}.mobile-telegram-button{left:9px!important}.mobile-bottom-nav{height:76px!important}.mobile-tab{font-size:9px!important}.mobile-tab .ui-icon{font-size:19px!important}.mobile-tab img{width:25px!important;height:25px!important}.compose-orb{width:49px!important;height:49px!important;border-radius:16px!important}}

/* ===== v1.3.3 | ناوبری شناور و فشرده موبایل ===== */
@media (max-width:800px){
  body.public-body{
    padding-bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }
  .mobile-bottom-nav{
    position:fixed!important;
    z-index:180!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    height:60px!important;
    min-height:60px!important;
    padding:3px 4px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    overflow:visible!important;
    border:1px solid rgba(226,233,242,.98)!important;
    border-radius:19px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 11px 28px rgba(14,30,55,.14),0 2px 7px rgba(14,30,55,.04)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .mobile-tab,
  .mobile-compose-trigger{
    height:51px!important;
    min-width:0!important;
    padding:0!important;
    gap:1px!important;
    font-size:9px!important;
    line-height:1.15!important;
  }
  .mobile-tab .ui-icon{font-size:19px!important}
  .mobile-tab img{width:24px!important;height:24px!important}
  .mobile-tab>span{line-height:1.15!important;padding:0 1px!important}
  .mobile-compose-trigger{
    position:relative!important;
    align-self:center!important;
    justify-self:center!important;
    transform:translateY(-10px)!important;
    width:56px!important;
    height:60px!important;
  }
  .mobile-compose-trigger>span:not(.compose-orb){display:none!important}
  .compose-orb{
    width:48px!important;
    height:48px!important;
    border:3px solid #fff!important;
    border-radius:16px!important;
    box-shadow:0 9px 19px rgba(153,105,50,.28)!important;
  }
  .compose-orb .ui-icon{font-size:24px!important}
  .mobile-compose-trigger[aria-expanded="true"] .compose-orb{box-shadow:0 9px 22px rgba(19,36,64,.25)!important}

  .mobile-compose-sheet{
    --sheet-drag-y:0px;
    z-index:241!important;
    padding:10px 18px calc(18px + env(safe-area-inset-bottom))!important;
    border-radius:25px 25px 0 0!important;
    will-change:transform;
    touch-action:pan-y;
  }
  .mobile-compose-sheet.open{transform:translateY(var(--sheet-drag-y))!important}
  .mobile-compose-sheet.dragging{transition:none!important}
  .mobile-sheet-handle{
    height:4px!important;
    width:42px!important;
    margin:1px auto 13px!important;
    cursor:grab;
    touch-action:none;
  }
  .mobile-sheet-handle:active{cursor:grabbing}
  .mobile-sheet-heading[data-compose-drag-handle]{cursor:grab;touch-action:none}
  .mobile-sheet-heading[data-compose-drag-handle]:active{cursor:grabbing}
  .mobile-compose-backdrop{z-index:240!important}
}

@media (max-width:430px){
  body.public-body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
  .mobile-bottom-nav{
    left:9px!important;
    right:9px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    height:58px!important;
    min-height:58px!important;
    padding:2px 3px!important;
    border-radius:18px!important;
  }
  .mobile-tab,.mobile-compose-trigger{height:49px!important;font-size:8.5px!important}
  .mobile-tab .ui-icon{font-size:18px!important}
  .mobile-tab img{width:23px!important;height:23px!important}
  .mobile-compose-trigger{height:58px!important;width:54px!important;transform:translateY(-9px)!important}
  .compose-orb{width:46px!important;height:46px!important;border-radius:15px!important}
  .compose-orb .ui-icon{font-size:23px!important}
}


/* ===== v1.3.4 | هدر شناور و فشرده موبایل ===== */
.mobile-notification-button{display:none}

@media (max-width:800px){
  /* هدر در موبایل مثل ناوبری پایین، با فاصله از لبه‌ها شناور است. */
  body.public-body{
    padding-top:calc(78px + env(safe-area-inset-top))!important;
  }
  .public-header{
    height:calc(70px + env(safe-area-inset-top))!important;
    padding-top:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    pointer-events:none!important;
  }
  .public-header .nav-wrap{
    position:absolute!important;
    top:calc(8px + env(safe-area-inset-top))!important;
    right:12px!important;
    left:12px!important;
    width:auto!important;
    height:56px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    background:rgba(255,255,255,.985)!important;
    border:1px solid #e7ecf4!important;
    border-radius:18px!important;
    box-shadow:0 8px 18px rgba(34,47,67,.13),0 2px 5px rgba(34,47,67,.05)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    pointer-events:auto!important;
  }
  .public-header .brand{
    left:50%!important;
    top:50%!important;
  }
  .public-header .brand-logo-wrap{
    width:46px!important;
    height:46px!important;
    flex-basis:46px!important;
  }
  .public-header .brand-mark{
    width:44px!important;
    height:44px!important;
    border-radius:14px!important;
    font-size:26px!important;
  }
  .mobile-contact-button{display:none!important}
  .mobile-telegram-button,
  .mobile-notification-button{
    display:grid!important;
    place-items:center;
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:38px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #e5eaf2!important;
    border-radius:12px!important;
    z-index:8!important;
    box-shadow:none!important;
  }
  .mobile-telegram-button{
    left:8px!important;
    color:#168bc3!important;
    background:#eff8fc!important;
  }
  .mobile-telegram-button .ui-icon{font-size:19px!important}
  .mobile-notification-button{
    right:8px!important;
    color:#526782!important;
    background:#f5f7fb!important;
  }
  .mobile-notification-button .ui-icon{font-size:19px!important}
  .mobile-notification-button b{
    position:absolute;
    top:-5px;
    right:-5px;
    min-width:17px;
    height:17px;
    padding:0 3px;
    display:grid;
    place-items:center;
    border:2px solid #fff;
    border-radius:20px;
    background:#ba3648;
    color:#fff;
    font-size:8px;
    font-weight:800;
    line-height:1;
  }
}

@media (max-width:430px){
  body.public-body{padding-top:calc(72px + env(safe-area-inset-top))!important}
  .public-header{height:calc(64px + env(safe-area-inset-top))!important}
  .public-header .nav-wrap{
    top:calc(6px + env(safe-area-inset-top))!important;
    right:9px!important;
    left:9px!important;
    height:52px!important;
    border-radius:17px!important;
  }
  .public-header .brand-logo-wrap{width:44px!important;height:44px!important;flex-basis:44px!important}
  .public-header .brand-mark{width:42px!important;height:42px!important;font-size:25px!important}
  .mobile-telegram-button,.mobile-notification-button{width:36px!important;height:36px!important;border-radius:11px!important}
  .mobile-telegram-button{left:7px!important}.mobile-notification-button{right:7px!important}
}

/* ===== v1.3.5 | محتوای صفحه زیر هدر شناور موبایل ===== */
@media (max-width:800px){
  /* خود هدر هیچ نوار یا سطح سفید تمام‌عرضی ایجاد نمی‌کند؛ فقط کارت ناوبری شناور است. */
  body.public-body{
    padding-top:0!important;
  }
  .public-header{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    height:0!important;
    min-height:0!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .public-header .nav-wrap{
    position:fixed!important;
    top:calc(8px + env(safe-area-inset-top))!important;
    right:12px!important;
    left:12px!important;
    width:auto!important;
    height:56px!important;
    margin:0!important;
    background:rgba(255,255,255,.985)!important;
  }

  /* پس‌زمینهٔ اولین بخش از ابتدای صفحه شروع می‌شود و از پشت کارت هدر دیده خواهد شد. */
  .public-header + .hero{
    margin-top:0!important;
  }
  .public-header + .hero .hero-content{
    padding-top:calc(122px + env(safe-area-inset-top))!important;
    padding-bottom:55px!important;
  }
  .public-header + .page-hero{
    margin-top:0!important;
    padding-top:calc(118px + env(safe-area-inset-top))!important;
  }
  .public-header + .writer-profile-hero{
    margin-top:0!important;
    padding-top:calc(118px + env(safe-area-inset-top))!important;
  }
  .public-header + .story-reading{
    margin-top:calc(98px + env(safe-area-inset-top))!important;
  }
  .public-header + .container{
    position:relative;
    z-index:1;
  }
}

@media (max-width:430px){
  body.public-body{padding-top:0!important}
  .public-header{height:0!important;min-height:0!important}
  .public-header .nav-wrap{
    top:calc(6px + env(safe-area-inset-top))!important;
    right:9px!important;
    left:9px!important;
    height:52px!important;
  }
  .public-header + .hero .hero-content{
    padding-top:calc(108px + env(safe-area-inset-top))!important;
    padding-bottom:46px!important;
  }
  .public-header + .page-hero,
  .public-header + .writer-profile-hero{
    padding-top:calc(103px + env(safe-area-inset-top))!important;
  }
  .public-header + .story-reading{
    margin-top:calc(86px + env(safe-area-inset-top))!important;
  }
}

/* ===== v1.3.7 | ناوبری موبایل: آیکون بزرگ‌تر، دکمه + مرکزی و شیت بالای نوار ===== */
@media (max-width:800px){
  /* نوار پایین شناور، با ابعاد خواناتر و فضای داخلی متعادل */
  body.public-body{
    padding-bottom:calc(94px + env(safe-area-inset-bottom))!important;
  }
  .mobile-bottom-nav{
    left:10px!important;
    right:10px!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    height:66px!important;
    min-height:66px!important;
    padding:4px 5px!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    border-radius:20px!important;
  }
  .mobile-tab,
  .mobile-compose-trigger{
    height:58px!important;
    min-width:0!important;
    padding:0!important;
    gap:3px!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    font-weight:800!important;
  }
  .mobile-tab .ui-icon{
    font-size:23px!important;
    line-height:1!important;
  }
  .mobile-tab img{
    width:29px!important;
    height:29px!important;
    border-width:2px!important;
  }
  .mobile-tab>span{
    max-width:100%!important;
    padding:0 2px!important;
    line-height:1.2!important;
  }

  /* دکمه افزودن در مرکز واقعی نوار قرار دارد؛ نه بالاتر از آن. */
  .mobile-compose-trigger{
    position:relative!important;
    width:58px!important;
    height:58px!important;
    transform:none!important;
    align-self:center!important;
    justify-self:center!important;
    display:grid!important;
    place-items:center!important;
  }
  .compose-orb{
    width:50px!important;
    height:50px!important;
    border:2px solid #fff!important;
    border-radius:16px!important;
    box-shadow:0 8px 18px rgba(153,105,50,.25)!important;
    transform:rotate(0deg);
    transition:transform .25s ease,background .25s ease,box-shadow .25s ease!important;
  }
  .compose-orb .ui-icon{font-size:27px!important}
  .mobile-compose-trigger[aria-expanded="true"] .compose-orb{
    transform:rotate(45deg)!important;
    background:linear-gradient(145deg,#243e67,#132440)!important;
    box-shadow:0 9px 22px rgba(19,36,64,.28)!important;
  }

  /* پنجره از خط بالای ناوبری شروع می‌شود؛ نوار پایین همیشه جدا و قابل لمس می‌ماند. */
  .mobile-compose-backdrop{
    z-index:240!important;
  }
  .mobile-compose-sheet{
    --sheet-drag-y:0px;
    z-index:241!important;
    right:10px!important;
    left:10px!important;
    bottom:calc(86px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-height:min(68vh,560px)!important;
    overflow:auto!important;
    padding:11px 17px 18px!important;
    border:1px solid rgba(226,233,242,.98)!important;
    border-radius:23px!important;
    box-shadow:0 16px 46px rgba(12,25,47,.22)!important;
    transform:translateY(calc(100% + 96px))!important;
    transition:transform .3s cubic-bezier(.2,.8,.2,1)!important;
    will-change:transform;
    touch-action:pan-y;
  }
  .mobile-compose-sheet.open{
    transform:translateY(var(--sheet-drag-y))!important;
  }
  .mobile-compose-sheet.dragging{transition:none!important}
  .mobile-sheet-handle{margin:0 auto 12px!important}

  /* در حالت باز، فقط دکمه + قابل تعامل است تا با کلیک مجدد شیت را ببندد. */
  body.sheet-open .mobile-bottom-nav{
    z-index:242!important;
  }
  body.sheet-open .mobile-bottom-nav .mobile-tab{
    pointer-events:none!important;
    opacity:.55!important;
  }
  body.sheet-open .mobile-compose-trigger{
    pointer-events:auto!important;
  }
}

@media (max-width:430px){
  body.public-body{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
  .mobile-bottom-nav{
    left:9px!important;
    right:9px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    height:62px!important;
    min-height:62px!important;
    padding:3px 4px!important;
    border-radius:19px!important;
  }
  .mobile-tab,
  .mobile-compose-trigger{
    height:55px!important;
    font-size:9.5px!important;
  }
  .mobile-tab .ui-icon{font-size:21px!important}
  .mobile-tab img{width:27px!important;height:27px!important}
  .mobile-compose-trigger{width:55px!important;height:55px!important}
  .compose-orb{width:47px!important;height:47px!important;border-radius:15px!important}
  .compose-orb .ui-icon{font-size:25px!important}
  .mobile-compose-sheet{
    right:9px!important;
    left:9px!important;
    bottom:calc(78px + env(safe-area-inset-bottom))!important;
    max-height:65vh!important;
    border-radius:21px!important;
    transform:translateY(calc(100% + 88px))!important;
  }
}

/* ===== v1.3.8 | اصلاح لایه‌بندی شیت ارسال و خوانایی ناوبری موبایل ===== */
@media (max-width:800px){
  /* ناوبری همیشه بالاتر از backdrop و شیت می‌ماند؛ حتی در لحظه بسته‌شدن. */
  .mobile-bottom-nav{
    z-index:520!important;
  }

  /* کل صفحه مات می‌شود، اما نوار ناوبری با z-index بالاتر کاملاً روشن و قابل لمس است. */
  .mobile-compose-backdrop{
    z-index:500!important;
    background:rgba(10,22,42,.50)!important;
  }

  /* شیت از بالای ناوبری شروع می‌شود و هنگام بسته شدن، پشت نوار پایین می‌رود. */
  .mobile-compose-sheet{
    z-index:510!important;
    bottom:calc(86px + env(safe-area-inset-bottom))!important;
    transform:translateY(calc(100% + 142px))!important;
  }
  .mobile-compose-sheet.open{
    transform:translateY(var(--sheet-drag-y, 0px))!important;
  }

  /* بزرگ‌تر و خواناتر: آیکون، نوشته و آواتار. */
  .mobile-tab,
  .mobile-compose-trigger{
    font-size:11.5px!important;
  }
  .mobile-tab .ui-icon{
    font-size:25px!important;
  }
  .mobile-tab img{
    width:32px!important;
    height:32px!important;
    border-width:2px!important;
  }
  .compose-orb{
    width:52px!important;
    height:52px!important;
    border-radius:17px!important;
  }
  .compose-orb .ui-icon{font-size:29px!important}

  /* هنگام بازبودن، آیتم‌ها کم‌رنگ می‌شوند اما خود نوار و + کاملاً در دسترس می‌مانند. */
  body.sheet-open .mobile-bottom-nav{
    z-index:520!important;
  }
  body.sheet-open .mobile-compose-trigger{
    position:relative!important;
    z-index:521!important;
  }
}

@media (max-width:430px){
  .mobile-bottom-nav{z-index:520!important}
  .mobile-compose-backdrop{z-index:500!important}
  .mobile-compose-sheet{
    z-index:510!important;
    bottom:calc(78px + env(safe-area-inset-bottom))!important;
    transform:translateY(calc(100% + 134px))!important;
  }
  .mobile-compose-sheet.open{transform:translateY(var(--sheet-drag-y, 0px))!important}
  .mobile-tab,.mobile-compose-trigger{font-size:10.25px!important}
  .mobile-tab .ui-icon{font-size:23px!important}
  .mobile-tab img{width:30px!important;height:30px!important}
  .compose-orb{width:49px!important;height:49px!important}
  .compose-orb .ui-icon{font-size:27px!important}
}


/* ===== v1.3.9 | بازطراحی صفحه اصلی ===== */
.home-main{overflow:hidden;background:linear-gradient(180deg,#f7f9fd 0%,#fff 38%,#f6f8fc 100%)}
.home-hero-v2{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:linear-gradient(125deg,#0e1d38 0%,#18315c 57%,#314d80 100%)}
.home-hero-v2:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,17,35,.2),rgba(8,17,35,.04));pointer-events:none}
.home-orb{position:absolute;z-index:-1;border-radius:999px;pointer-events:none;filter:blur(.2px)}
.home-orb-one{width:380px;height:380px;left:-110px;bottom:-205px;background:radial-gradient(circle,rgba(212,171,96,.32),transparent 67%)}
.home-orb-two{width:480px;height:480px;right:-130px;top:-255px;background:radial-gradient(circle,rgba(130,169,233,.24),transparent 67%)}
.home-hero-inner{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(300px,.84fr);align-items:center;gap:64px;padding:84px 0 34px;min-height:500px}
.home-hero-copy{max-width:660px}.home-kicker{display:flex;align-items:center;gap:8px;margin:0;color:#d9b579;font-weight:800;font-size:11px;letter-spacing:.2px}.home-kicker span{width:7px;height:7px;border-radius:50%;background:#d9b579;box-shadow:0 0 0 5px rgba(217,181,121,.12)}
.home-hero-copy h1{font-size:clamp(36px,4.3vw,58px);line-height:1.33;letter-spacing:-1.7px;margin:14px 0 14px;font-weight:800}.home-hero-copy h1 em,.home-section-head h2 em{font-style:normal;color:#ddb978}.home-lead{max-width:550px;margin:0;color:#d5deed;font-size:15px;line-height:2.15}
.home-hero-actions{display:flex;align-items:center;gap:12px;margin-top:25px}.home-primary-action,.home-secondary-action{min-height:47px;border-radius:14px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800;transition:transform .2s ease,background .2s ease}.home-primary-action{color:#fff;background:#c79a55;box-shadow:0 12px 25px rgba(0,0,0,.19)}.home-primary-action:hover{transform:translateY(-2px);background:#d0a864}.home-primary-action span{font-size:16px}.home-secondary-action{color:#f3f6fc;border:1px solid rgba(255,255,255,.23);background:rgba(255,255,255,.06)}.home-secondary-action:hover{background:rgba(255,255,255,.12)}.home-secondary-action b,.home-section-head>a b,.home-read-link b{font-size:15px;line-height:1}
.hero-featured-mini{position:relative;border:1px solid rgba(255,255,255,.14);border-radius:25px;padding:25px 25px 20px;background:linear-gradient(160deg,rgba(255,255,255,.13),rgba(255,255,255,.05));box-shadow:0 23px 50px rgba(4,14,35,.23);backdrop-filter:blur(10px)}.hero-featured-mini:after{content:"";position:absolute;left:20px;bottom:18px;width:70px;height:1px;background:linear-gradient(90deg,transparent,rgba(221,185,120,.8));transform:rotate(-18deg)}
.hero-featured-top{display:flex;align-items:center;gap:8px;color:#becae0;font-size:11px;font-weight:700}.hero-mini-spark{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:rgba(223,187,121,.16);color:#dfbb79}.hero-mini-topic{display:inline-flex;margin-top:28px;padding:4px 9px;background:rgba(221,185,120,.13);border:1px solid rgba(221,185,120,.2);border-radius:20px;color:#edcb8c;font-size:10px;font-weight:800}.hero-featured-mini h2{font-size:21px;line-height:1.75;margin:12px 0 8px;letter-spacing:-.7px}.hero-featured-mini p{font-size:12px;line-height:2.05;color:#d1dbea;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hero-mini-author{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.11);margin-top:19px;padding-top:13px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800}.hero-mini-author img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.3)}.hero-mini-author b{margin-right:auto;color:#e3bf7e;font-size:10px}.mini-placeholder{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.13);color:#e3bf7e}
.home-stat-row{display:flex;align-items:stretch;gap:22px;padding:0 0 28px}.home-stat-row>div{min-width:128px;display:flex;flex-direction:column;gap:2px}.home-stat-row b{font-size:21px;letter-spacing:-.5px}.home-stat-row span{font-size:11px;color:#bfcde0}.home-stat-row i{width:1px;align-self:center;height:29px;background:rgba(255,255,255,.17)}
.home-discover-section{position:relative;margin-top:-1px;padding:46px 0 24px;background:#fff}.home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.home-section-head h2{margin:2px 0 0;font-size:27px;line-height:1.6;letter-spacing:-1px}.home-section-kicker{margin:0;color:#b17c37;font-size:11px;font-weight:800;letter-spacing:.25px}.home-section-head>a{display:inline-flex;align-items:center;gap:6px;color:#3e5e99;font-size:12px;font-weight:800;white-space:nowrap;padding-bottom:7px}.home-topic-scroller{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.home-topic-card{position:relative;min-height:104px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border:1px solid #e7ebf2;border-radius:17px;background:#fff;box-shadow:0 7px 18px rgba(20,35,70,.03);transition:transform .2s ease,box-shadow .2s ease}.home-topic-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(20,35,70,.09)}.home-topic-card:after{content:"";position:absolute;width:90px;height:90px;left:-33px;top:-34px;border-radius:50%;opacity:.68}.topic-tone-0:after{background:#f1e0c2}.topic-tone-1:after{background:#dbe8fa}.topic-tone-2:after{background:#e4efe7}.topic-tone-3:after{background:#eee0f0}.topic-tone-4:after{background:#f6e2df}.home-topic-index{position:relative;z-index:1;font-size:10px;color:#728098;font-weight:700}.home-topic-card strong{position:relative;z-index:1;font-size:14px;line-height:1.7}.home-topic-card>b{position:relative;z-index:1;color:#405d94;font-size:17px;line-height:1;align-self:flex-end}.home-empty-topic{padding:20px;border:1px dashed #d5ddea;border-radius:16px;color:#79869a;font-size:12px}
.home-feature-section{padding-top:38px}.home-feature-layout{display:grid;grid-template-columns:.76fr 1.24fr;min-height:317px;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 16px 38px rgba(19,35,68,.07);border:1px solid #e7ebf2}.home-feature-art{position:relative;overflow:hidden;background:linear-gradient(145deg,#dbc18f,#a87842 54%,#5f3c2c)}.home-feature-art:before{content:"";position:absolute;inset:13px;border:1px solid rgba(255,255,255,.28);border-radius:17px}.home-feature-quote{position:absolute;right:44px;top:4px;color:rgba(255,255,255,.75);font-family:Georgia,serif;font-size:175px;line-height:1}.home-feature-star{position:absolute;color:#fff}.star-a{left:38px;top:56px;font-size:22px}.star-b{bottom:45px;right:40px;font-size:30px;color:#f7e2bd}.home-feature-lines{position:absolute;left:-45px;bottom:30px;width:240px;height:130px;border:1px solid rgba(255,255,255,.23);border-radius:50%;transform:rotate(-28deg)}.home-feature-copy{padding:40px 45px 29px}.home-feature-topic{display:inline-flex;margin-top:10px;color:#916329;font-weight:800;font-size:11px}.home-feature-copy h2{font-size:28px;margin:7px 0 8px;line-height:1.65;letter-spacing:-1px}.home-feature-copy>p{color:#657287;line-height:2.15;margin:0;max-width:670px}.home-feature-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px}.home-author-chip{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800}.home-author-chip img{width:35px;height:35px;border-radius:50%;object-fit:cover;border:2px solid #edf0f5}.home-author-chip span{display:flex;flex-direction:column;line-height:1.5}.home-author-chip small{font-size:10px;color:#8995a6;font-weight:600}.home-read-link{display:inline-flex;align-items:center;gap:7px;color:#395a96;font-size:12px;font-weight:800}
.home-latest-section{padding-top:42px}.home-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.home-story-card{min-height:254px;display:flex;flex-direction:column;padding:19px;border:1px solid #e5eaf2;border-radius:20px;background:#fff;box-shadow:0 5px 17px rgba(20,35,70,.035);transition:.2s}.home-story-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(20,35,70,.09);border-color:#dae2ef}.home-story-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#8793a5}.home-story-meta span{display:inline-flex;padding:4px 8px;border-radius:20px;background:#f0f4fb;color:#4e6693;font-weight:800}.home-story-card h3{font-size:18px;line-height:1.75;letter-spacing:-.5px;margin:15px 0 6px}.home-story-card h3 a:hover{color:#3d5c96}.home-story-card>p{margin:0;color:#6e7a8e;font-size:12px;line-height:2.05;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-story-footer{border-top:1px solid #edf0f5;margin-top:auto;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.home-story-writer{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800}.home-story-writer img{width:27px;height:27px;border-radius:50%;object-fit:cover}.home-story-footer>a:last-child{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#eff3fa;color:#405f97;font-size:16px;transition:.2s}.home-story-footer>a:last-child:hover{background:#dfe9fa}.home-empty-story{text-align:center;border:1px dashed #d8dfeb;border-radius:20px;padding:35px 20px;background:#fff}.home-empty-story>span{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#fbf1df;color:#b7833a;font-size:22px}.home-empty-story h3{margin:12px 0 4px;font-size:18px}.home-empty-story p{margin:0;color:#748196;font-size:12px}.home-empty-story a{display:inline-block;margin-top:15px;color:#395a96;font-weight:800;font-size:12px}
.home-writers-section{padding-top:44px}.home-writer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-writer-card{position:relative;min-height:100px;display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #e6eaf1;border-radius:18px;background:#fff;transition:.2s}.home-writer-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(20,35,70,.08)}.home-writer-card>img{width:49px;height:49px;border-radius:50%;object-fit:cover;border:3px solid #f0f3f8}.home-writer-copy{min-width:0;display:flex;flex-direction:column;line-height:1.65}.home-writer-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.home-writer-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8793a6;font-size:10px}.home-writer-count{position:absolute;left:12px;bottom:10px;color:#a37537;font-size:9px;font-weight:800}
.home-join-banner{margin-top:54px;margin-bottom:6px;padding:31px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative;border-radius:23px;background:linear-gradient(125deg,#17294b,#263e70);color:#fff}.home-join-banner:after{content:"✦";position:absolute;left:34px;top:-41px;color:rgba(255,255,255,.11);font-size:165px}.home-join-banner p{color:#dcb97d;margin:0;font-size:11px;font-weight:800}.home-join-banner h2{position:relative;margin:6px 0 0;font-size:25px;line-height:1.65;letter-spacing:-.8px}.home-join-banner>a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:12px 16px;border-radius:13px;background:#c79a55;color:#fff;font-weight:800;font-size:12px;box-shadow:0 10px 20px rgba(2,11,29,.18)}

@media(max-width:800px){
  .home-hero-v2{min-height:0}.home-hero-inner{grid-template-columns:1fr;gap:24px;min-height:0;padding:calc(104px + env(safe-area-inset-top)) 0 20px}.home-hero-copy{max-width:none}.home-kicker{font-size:10px}.home-hero-copy h1{font-size:34px;line-height:1.42;letter-spacing:-1.2px;margin:10px 0}.home-lead{font-size:12px;line-height:2.05;max-width:350px}.home-hero-actions{margin-top:18px;gap:8px}.home-primary-action,.home-secondary-action{min-height:43px;padding:0 13px;border-radius:12px;font-size:11px}.hero-featured-mini{border-radius:20px;padding:18px 18px 15px}.hero-featured-top{font-size:10px}.hero-mini-topic{margin-top:17px}.hero-featured-mini h2{font-size:17px;margin:8px 0 5px}.hero-featured-mini p{font-size:11px;-webkit-line-clamp:2}.hero-mini-author{margin-top:12px;padding-top:11px}.home-stat-row{justify-content:space-between;gap:8px;padding:0 0 18px}.home-stat-row>div{min-width:0;flex:1;gap:0}.home-stat-row b{font-size:16px}.home-stat-row span{font-size:9px;line-height:1.6}.home-stat-row i{height:25px}.home-discover-section{padding:27px 0 17px}.home-section-head{align-items:flex-end;margin-bottom:13px}.home-section-head h2{font-size:20px;line-height:1.7;letter-spacing:-.6px}.home-section-kicker{font-size:9px}.home-section-head>a{padding-bottom:2px;font-size:10px}.home-topic-scroller{display:flex;gap:9px;overflow-x:auto;overflow-y:visible;margin:0 -16px;padding:0 16px 10px;scrollbar-width:none}.home-topic-scroller::-webkit-scrollbar{display:none}.home-topic-card{flex:0 0 118px;min-height:86px;padding:12px;border-radius:15px}.home-topic-card strong{font-size:12px}.home-topic-index{font-size:9px}.home-feature-section{padding-top:18px}.home-feature-layout{grid-template-columns:1fr;border-radius:20px}.home-feature-art{height:120px}.home-feature-art:before{inset:9px;border-radius:13px}.home-feature-quote{right:22px;top:-13px;font-size:126px}.star-a{top:27px;left:25px}.star-b{right:23px;bottom:16px}.home-feature-copy{padding:22px 19px 18px}.home-feature-copy h2{font-size:21px;margin:4px 0 6px}.home-feature-copy>p{font-size:12px;line-height:2}.home-feature-footer{margin-top:16px}.home-latest-section{padding-top:30px}.home-story-grid{display:flex;gap:11px;overflow-x:auto;margin:0 -16px;padding:0 16px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.home-story-grid::-webkit-scrollbar{display:none}.home-story-card{flex:0 0 min(80vw,290px);min-height:235px;padding:16px;border-radius:17px;scroll-snap-align:start}.home-story-card h3{font-size:16px;margin:12px 0 5px}.home-story-card>p{font-size:11px;line-height:2}.home-writers-section{padding-top:29px}.home-writer-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.home-writer-card{min-height:82px;padding:10px;gap:8px;border-radius:15px}.home-writer-card>img{width:38px;height:38px;border-width:2px}.home-writer-copy strong{font-size:11px}.home-writer-copy small{font-size:9px}.home-writer-count{left:10px;bottom:8px;font-size:8px}.home-join-banner{margin-top:33px;margin-bottom:0;padding:23px 20px;border-radius:19px;align-items:flex-end}.home-join-banner p{font-size:9px}.home-join-banner h2{font-size:18px;line-height:1.7;margin-top:3px}.home-join-banner>a{padding:10px 11px;border-radius:11px;font-size:10px}.home-orb-one{width:290px;height:290px;left:-145px;bottom:-160px}.home-orb-two{width:310px;height:310px;right:-170px;top:-160px}
}
@media(max-width:390px){.home-hero-copy h1{font-size:31px}.home-primary-action,.home-secondary-action{padding:0 10px;font-size:10px}.home-stat-row span{font-size:8px}.home-section-head h2{font-size:18px}.home-join-banner h2{font-size:16px}.home-join-banner{padding:20px 16px}}


/* ===== v1.4.0 نقش‌ها، کاربران و پنل منعطف ===== */
.admin-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.admin-page-head h2{margin:4px 0 5px;font-size:22px;letter-spacing:-.5px}.admin-page-head .btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.admin-page-head .ui-icon{font-size:17px}
.sidebar-nav a{min-width:0!important;display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:center!important}.sidebar-nav a .ui-icon{width:20px!important;font-size:17px!important}.sidebar-nav a span:last-child{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.35!important}.sidebar-account-mini{display:flex;align-items:center;gap:9px;padding:0 6px 12px;margin-bottom:9px;border-bottom:1px solid rgba(255,255,255,.09)}.sidebar-account-mini img{width:34px;height:34px;border-radius:12px;object-fit:cover;border:1px solid rgba(255,255,255,.18)}.sidebar-account-mini span{min-width:0}.sidebar-account-mini strong,.sidebar-account-mini small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-account-mini strong{font-size:11px;color:#fff}.sidebar-account-mini small{font-size:9px;color:#a6b4cb;margin-top:2px}
.admin-users-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.65fr);gap:16px;margin-bottom:16px}.admin-create-card,.role-guide-card{padding:21px}.card-section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:18px}.card-section-title>span,.role-guide-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#eaf0fb;color:#3e639f;font-size:20px;flex:0 0 auto}.card-section-title h3,.role-guide-card h3{margin:0;font-size:16px}.card-section-title p,.role-guide-card p{margin:4px 0 0;color:#77859a;line-height:1.9;font-size:11px}.role-guide-card{background:linear-gradient(145deg,#172b50,#263f72);color:#fff;position:relative;overflow:hidden}.role-guide-card:after{content:'✦';position:absolute;left:18px;bottom:-36px;font-size:130px;color:rgba(255,255,255,.08)}.role-guide-icon{background:rgba(255,255,255,.13);color:#e5bf81}.role-guide-card p{color:#d5ddec;position:relative;z-index:1}.role-guide-card .link-arrow{position:relative;z-index:1;display:inline-block;color:#f0ce90;font-size:12px;font-weight:800;margin-top:14px}.form-grid .full{grid-column:1/-1}.table-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.table-section-head h3{margin:0;font-size:16px}.table-section-head p{margin:3px 0 0;color:#8390a4;font-size:11px}.role-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:20px;background:#eff3f9;color:#405b8b;font-size:10px;font-weight:800}.text-success{color:#23845a!important}.text-danger{color:#c1414e!important}.user-inline-editor{display:flex;align-items:center;gap:6px;min-width:250px}.user-inline-editor select{min-width:90px;padding:7px;font-size:10px}.switch-control{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#6a778c;font-size:10px;font-weight:700}.switch-control input{accent-color:#2c8a61}.dn-progress-cell{min-width:100px}.dn-progress-cell .progress{margin-top:5px}.roles-layout{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(290px,.64fr);gap:16px}.role-editor-card{padding:23px}.permissions-title{display:flex;align-items:flex-start;gap:10px;margin:22px 0 13px;padding-top:19px;border-top:1px solid #edf0f5}.permissions-title>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#886031;background:#fbf0dc;font-size:18px}.permissions-title h3{margin:0;font-size:15px}.permissions-title p{margin:3px 0 0;color:#7c899b;font-size:11px;line-height:1.8}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.permission-group{border:1px solid #e7ecf3;border-radius:15px;padding:12px}.permission-group h4{margin:0 0 8px;color:#4d5f79;font-size:11px}.permission-check{display:flex;align-items:center;gap:7px;padding:7px 4px;cursor:pointer;color:#536176;font-size:11px;line-height:1.7}.permission-check input{position:absolute;opacity:0;pointer-events:none}.permission-box{width:18px;height:18px;border:1px solid #cbd5e2;border-radius:6px;display:grid;place-items:center;color:transparent;font-size:11px;flex:0 0 18px;background:#fff}.permission-check input:checked + .permission-box{background:#365a96;border-color:#365a96;color:#fff}.permission-check.locked{opacity:.72;cursor:default}.roles-list-card{padding:14px}.roles-list-head{display:flex;justify-content:space-between;align-items:center;padding:5px 6px 12px}.roles-list-head h3{margin:0;font-size:15px}.roles-list-head span{color:#77859b;font-size:10px}.role-list{display:grid;gap:8px}.role-list-item{position:relative;border:1px solid #e8edf3;border-radius:14px;padding:12px;background:#fbfcfe}.role-list-item.selected{border-color:#9ab0d7;background:#f2f6fd}.role-list-item>div:first-child{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center}.role-list-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#44649c;background:#eaf0fa;font-size:15px}.role-list-item strong,.role-list-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-list-item strong{font-size:11px}.role-list-item small{color:#7c899b;font-size:9px;margin-top:2px}.role-member-count{position:absolute;left:12px;top:13px;color:#a47638;font-size:9px;font-weight:800}.role-list-actions{display:flex;gap:5px;margin-top:10px}.role-list-actions form{display:inline}.role-list-actions .btn{font-size:9px;padding:6px 8px}.role-list-item>p{margin:8px 0 0;color:#8995a7;font-size:9px}.users-table .writer-row{min-width:170px}
@media(max-width:800px){.panel-sidebar{width:min(334px,92vw)!important}.panel-sidebar .sidebar-nav{padding:12px 10px!important}.panel-sidebar .sidebar-nav a{min-height:46px!important;padding:11px 12px!important;font-size:13px!important}.panel-sidebar .sidebar-nav a .ui-icon{font-size:19px!important}.panel-content{padding:15px 12px calc(100px + env(safe-area-inset-bottom))!important}.admin-page-head{gap:11px;align-items:flex-start;margin-bottom:15px}.admin-page-head h2{font-size:18px;line-height:1.65}.admin-page-head p{font-size:11px;line-height:1.9}.admin-page-head .btn{padding:9px 10px;font-size:10px}.admin-users-layout,.roles-layout{grid-template-columns:1fr;gap:11px}.admin-create-card,.role-guide-card,.role-editor-card{padding:16px}.permission-groups{grid-template-columns:1fr}.permission-group{padding:10px}.permission-check{font-size:11px;padding:8px 3px}.users-table .writer-row{min-width:145px}.user-inline-editor{min-width:220px}.user-inline-editor select{max-width:92px}.story-table-wrap{margin-left:-1px;margin-right:-1px}.role-list-actions .btn{padding:7px 9px}.sidebar-account-mini{padding:2px 7px 13px}.panel-header{box-shadow:0 2px 12px rgba(21,36,66,.055)} }
@media(max-width:430px){.panel-sidebar{width:min(338px,94vw)!important}.sidebar-nav a{font-size:13px!important}.admin-page-head{flex-direction:column}.admin-page-head .btn{width:100%;justify-content:center}.user-inline-editor{flex-wrap:wrap;min-width:190px}.user-inline-editor .btn{width:100%}.permission-check{font-size:10px}.role-member-count{position:static;display:inline-block;margin:7px 0 0}.role-list-item>div:first-child{grid-template-columns:30px minmax(0,1fr)} }

/* ===== v1.4.5 | ساختار حرفه‌ای سایدبار پنل ===== */
.panel-sidebar{width:300px!important;background:linear-gradient(180deg,#0c1932 0%,#14294e 58%,#11223f 100%)!important;box-shadow:-7px 0 28px rgba(8,18,39,.11)!important}
.panel-main{margin-right:300px!important}.panel-brand{height:86px!important;padding:0 18px!important;border-bottom:1px solid rgba(255,255,255,.10)!important;background:linear-gradient(120deg,rgba(255,255,255,.035),rgba(255,255,255,0))!important}.panel-brand .brand{gap:11px!important;color:#fff!important;font-size:17px!important;min-width:0!important}.panel-brand .brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-brand .brand-logo-wrap{width:47px!important;height:47px!important;flex:0 0 47px!important;border-radius:16px!important;overflow:hidden!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.16)!important;padding:3px!important;box-shadow:0 8px 17px rgba(0,0,0,.18)!important}.panel-brand .brand-logo{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:13px!important}.panel-brand .brand-mark{width:47px!important;height:47px!important;border-radius:16px!important;font-size:27px!important;border:1px solid rgba(255,255,255,.15)!important}.sidebar-scroll{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:10px 0 16px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}.sidebar-scroll::-webkit-scrollbar{width:4px}.sidebar-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.23);border-radius:10px}.sidebar-nav{width:100%!important;min-width:0!important;padding:0 10px!important;overflow:visible!important;text-align:right!important}.sidebar-main-link,.sidebar-group-toggle,.sidebar-submenu>a{width:100%!important;min-width:0!important;text-align:right!important;direction:rtl!important}.sidebar-main-link{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:11px!important;align-items:center!important;min-height:48px!important;padding:11px 13px!important;margin:2px 0 8px!important;border-radius:14px!important;color:#d3dced!important;font-weight:700!important;font-size:13px!important;line-height:1.65!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.sidebar-main-link:hover,.sidebar-main-link.active{background:linear-gradient(90deg,rgba(255,255,255,.07),rgba(255,255,255,.15))!important;color:#fff!important}.sidebar-main-link.active{box-shadow:inset -3px 0 0 #e2b976,0 7px 18px rgba(0,0,0,.11)!important}.sidebar-main-link .ui-icon{width:22px!important;font-size:19px!important;color:#e3bd7d!important}.sidebar-main-link>span:last-child{min-width:0!important;width:auto!important;font-size:13px!important;color:inherit!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.sidebar-group{margin:0 0 8px!important;border:1px solid transparent;border-radius:15px!important;overflow:hidden}.sidebar-group.is-open{background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.065)!important}.sidebar-group-toggle{appearance:none;border:0;background:transparent;color:#cfd9ea;display:grid!important;grid-template-columns:22px minmax(0,1fr) 18px!important;gap:10px;align-items:center;min-height:48px;padding:11px 12px!important;border-radius:14px;font-weight:800;font-size:12px;transition:background .2s,color .2s}.sidebar-group-toggle:hover,.sidebar-group.is-open .sidebar-group-toggle{background:rgba(255,255,255,.07);color:#fff}.sidebar-group-toggle>.ui-icon{width:22px!important;font-size:18px!important;color:#d9b77b!important}.sidebar-group-title{min-width:0;line-height:1.6;white-space:normal;overflow:visible}.sidebar-group-chevron{display:grid;place-items:center;color:#8fa0ba;transition:transform .24s ease}.sidebar-group-chevron .ui-icon{font-size:15px!important}.sidebar-group.is-open .sidebar-group-chevron{transform:rotate(180deg);color:#f0c986}.sidebar-submenu{max-height:0;opacity:0;overflow:hidden;padding:0 7px;transition:max-height .28s ease,opacity .2s ease,padding .25s ease}.sidebar-group.is-open .sidebar-submenu{max-height:300px;opacity:1;padding:6px 7px 8px}.sidebar-submenu>a{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;min-height:42px!important;padding:9px 10px!important;margin:2px 0!important;border-radius:11px!important;color:#b7c4d9!important;font-size:12px!important;font-weight:600!important;line-height:1.7!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.sidebar-submenu>a:hover,.sidebar-submenu>a.active{background:rgba(255,255,255,.095)!important;color:#fff!important}.sidebar-submenu>a.active{box-shadow:inset -2px 0 0 #e2b976!important}.sidebar-submenu>a .ui-icon{width:20px!important;font-size:16px!important;color:#cfaa6c!important}.sidebar-submenu>a>span:last-child{min-width:0!important;width:auto!important;color:inherit!important;font-size:12px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.sidebar-submenu>a.sidebar-emphasis{background:rgba(203,159,90,.16)!important;color:#fff!important;border:1px solid rgba(235,196,128,.18)!important}.sidebar-submenu>a.sidebar-emphasis .ui-icon{color:#f1c87e!important}.sidebar-nav-separator{height:1px;background:rgba(255,255,255,.10);margin:14px 8px!important}.sidebar-label,.sidebar-account-mini{display:none!important}.sidebar-bottom{padding:12px 13px calc(14px + env(safe-area-inset-bottom))!important;border-top:1px solid rgba(255,255,255,.09)!important;background:rgba(3,12,27,.12)!important}.sidebar-bottom a{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:9px 8px!important;margin:1px 0!important;border-radius:10px!important;text-align:right!important;direction:rtl!important;color:#bdc9dc!important;font-size:11px!important;line-height:1.55!important}.sidebar-bottom a:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}.sidebar-bottom a .ui-icon{font-size:16px!important;color:#d6b574!important}.sidebar-bottom .sidebar-logout{color:#f0b5bd!important}.sidebar-bottom .sidebar-logout .ui-icon{color:#e88995!important}
.panel-header{height:78px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 4px 18px rgba(17,32,58,.035)!important}.panel-header-inner{padding:0 28px!important}.panel-title-area{display:flex;align-items:center;min-width:0}.panel-title-copy h1{font-size:20px!important;letter-spacing:-.55px!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-title-copy .panel-kicker{display:none!important}.header-tools{gap:10px!important}.notification-bell{position:relative!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;padding:0!important;border:1px solid #e3eaf3!important;border-radius:13px!important;background:#f7f9fc!important;color:#4c637f!important;font-size:20px!important;line-height:1!important}.notification-bell:hover{background:#eef3fb!important;color:#254875!important}.notification-bell b{top:-5px!important;left:-5px!important;min-width:18px!important;height:18px!important;line-height:15px!important;border:2px solid #fff!important;font-size:8px!important}.header-user{border-radius:14px!important}.panel-mobile-contact{display:none!important}
@media(max-width:1100px) and (min-width:801px){.panel-sidebar{width:282px!important}.panel-main{margin-right:282px!important}.panel-brand{padding:0 15px!important}.panel-header-inner{padding:0 20px!important}.panel-title-copy h1{font-size:18px!important}}
@media(max-width:800px){.panel-sidebar{z-index:110!important;right:0!important;width:min(350px,calc(100vw - 14px))!important;max-width:calc(100vw - 14px)!important;min-width:0!important;transform:translateX(calc(100% + 16px))!important;border-radius:0 22px 22px 0!important;box-shadow:-15px 0 42px rgba(8,18,39,.28)!important}.panel-sidebar.open{transform:translateX(0)!important}.panel-brand{height:78px!important;padding:0 15px!important}.panel-brand .brand{font-size:16px!important}.panel-brand .brand-logo-wrap,.panel-brand .brand-mark{width:43px!important;height:43px!important;flex-basis:43px!important;border-radius:14px!important}.panel-brand .brand-logo{border-radius:11px!important}.panel-brand button.sidebar-close{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;padding:0!important;border-radius:12px!important;color:#dce5f2!important;background:rgba(255,255,255,.08)!important;font-size:20px!important}.sidebar-scroll{padding:10px 0 14px!important}.sidebar-nav{padding:0 9px!important}.sidebar-main-link{min-height:50px!important;padding:12px!important;font-size:13px!important}.sidebar-group{margin-bottom:8px!important}.sidebar-group-toggle{min-height:50px!important;padding:12px!important;font-size:13px!important}.sidebar-submenu>a{min-height:45px!important;padding:10px!important;font-size:12px!important}.sidebar-main-link>span:last-child,.sidebar-group-title{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.sidebar-submenu>a>span:last-child{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.sidebar-bottom{padding:11px 12px calc(12px + env(safe-area-inset-bottom))!important}.panel-backdrop{z-index:109!important}.panel-header{height:66px!important}.panel-header-inner{padding:0 12px!important;gap:8px!important}.panel-title-copy{display:none!important}.panel-mobile-brand{display:block!important}.panel-mobile-brand .brand-logo-wrap{width:41px!important;height:41px!important;flex-basis:41px!important;border-radius:13px!important;overflow:hidden!important;background:#f4f6fa!important;padding:2px!important}.panel-mobile-brand .brand-logo{border-radius:10px!important}.panel-mobile-brand .brand-mark{width:40px!important;height:40px!important;border-radius:13px!important}.sidebar-toggle{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;padding:0!important;border:1px solid #e2e9f2!important;background:#f7f9fc!important;border-radius:12px!important;color:#405978!important;font-size:20px!important}.header-tools{margin-right:auto!important;gap:7px!important}.panel-mobile-contact{display:none!important}.notification-bell{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:12px!important;font-size:19px!important}.notification-bell b{top:-5px!important;left:-5px!important}.header-user{display:flex!important;width:38px!important;height:38px!important;padding:0!important;border:0!important;background:transparent!important}.header-user img{width:38px!important;height:38px!important;border:2px solid #e4eaf3!important;border-radius:12px!important}.header-user-copy,.header-user-chevron{display:none!important}.user-dropdown{top:74px!important;left:10px!important;width:min(248px,calc(100vw - 20px))!important;border-radius:16px!important}.panel-content{padding:16px 12px calc(100px + env(safe-area-inset-bottom))!important}}
@media(max-width:390px){.panel-sidebar{width:calc(100vw - 10px)!important;max-width:calc(100vw - 10px)!important}.panel-brand{padding:0 12px!important}.panel-brand .brand{font-size:15px!important}.sidebar-nav{padding:0 7px!important}.sidebar-main-link,.sidebar-group-toggle{font-size:12px!important}.sidebar-submenu>a{font-size:11px!important}.panel-mobile-brand .brand-logo-wrap,.panel-mobile-brand .brand-mark{width:38px!important;height:38px!important;flex-basis:38px!important}.sidebar-toggle,.notification-bell,.header-user,.header-user img{width:36px!important;height:36px!important}.header-tools{gap:5px!important}}


/* ===== v1.4.7 | اصلاح قطعی سایدبار موبایل ===== */
/* این بخش عمداً با selectorهای دقیق و !important نوشته شده تا هیچ CSS قدیمی نتواند سایدبار را در حالت بسته نمایش دهد. */
@media (max-width:800px){
  html,body.panel-body{overflow-x:hidden!important;}
  body.panel-body .panel-shell{display:block!important;min-width:0!important;overflow-x:clip!important;}
  body.panel-body .panel-main{margin-right:0!important;min-width:0!important;width:100%!important;}

  /* وضعیت پیش‌فرض: منو کاملاً خارج از صفحه و غیرقابل لمس است. */
  body.panel-body .panel-sidebar,
  body.panel-body .panel-sidebar:not(.open){
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    display:flex!important;
    width:min(336px,calc(100vw - 18px))!important;
    max-width:calc(100vw - 18px)!important;
    min-width:0!important;
    height:100dvh!important;
    min-height:100dvh!important;
    margin:0!important;
    transform:translate3d(calc(100% + 24px),0,0)!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .28s cubic-bezier(.22,.75,.24,1),opacity .2s ease,visibility 0s linear .28s!important;
    border-radius:22px 0 0 22px!important;
    overflow:hidden!important;
    z-index:1001!important;
    text-align:right!important;
    direction:rtl!important;
  }
  body.panel-body .panel-sidebar.open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transition:transform .28s cubic-bezier(.22,.75,.24,1),opacity .18s ease!important;
  }
  body.panel-body .panel-backdrop{
    position:fixed!important;
    inset:0!important;
    display:block!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:rgba(7,15,30,.42)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .2s ease,visibility 0s linear .2s!important;
    z-index:1000!important;
  }
  body.panel-body .panel-backdrop.open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:opacity .2s ease!important;
  }
  body.panel-menu-open{overflow:hidden!important;touch-action:none!important;}

  /* تمام متن‌های منو راست‌چین؛ آیکون در لبه راست و متن بلافاصله کنار آن. */
  body.panel-body .panel-sidebar .panel-brand,
  body.panel-body .panel-sidebar .sidebar-scroll,
  body.panel-body .panel-sidebar .sidebar-nav,
  body.panel-body .panel-sidebar .sidebar-bottom,
  body.panel-body .panel-sidebar .sidebar-main-link,
  body.panel-body .panel-sidebar .sidebar-group-toggle,
  body.panel-body .panel-sidebar .sidebar-submenu>a,
  body.panel-body .panel-sidebar .sidebar-main-link>span:last-child,
  body.panel-body .panel-sidebar .sidebar-group-title,
  body.panel-body .panel-sidebar .sidebar-submenu>a>span:last-child,
  body.panel-body .panel-sidebar .sidebar-bottom a>span:last-child{
    text-align:right!important;
    direction:rtl!important;
  }
  body.panel-body .panel-sidebar .sidebar-nav{padding:0 10px!important;}
  body.panel-body .panel-sidebar .sidebar-main-link,
  body.panel-body .panel-sidebar .sidebar-group-toggle,
  body.panel-body .panel-sidebar .sidebar-submenu>a,
  body.panel-body .panel-sidebar .sidebar-bottom a{
    justify-content:stretch!important;
    justify-items:stretch!important;
    align-items:center!important;
  }
  body.panel-body .panel-sidebar .sidebar-main-link>span:last-child,
  body.panel-body .panel-sidebar .sidebar-group-title,
  body.panel-body .panel-sidebar .sidebar-submenu>a>span:last-child,
  body.panel-body .panel-sidebar .sidebar-bottom a>span:last-child{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
    margin:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.panel-body .panel-sidebar .sidebar-main-link>.ui-icon,
  body.panel-body .panel-sidebar .sidebar-group-toggle>.ui-icon,
  body.panel-body .panel-sidebar .sidebar-submenu>a>.ui-icon,
  body.panel-body .panel-sidebar .sidebar-bottom a>.ui-icon{
    justify-self:center!important;
    text-align:center!important;
  }
  /* فقط زیرمنوها از راست تورفتگی دارند تا سطح‌شان مشخص باشد. */
  body.panel-body .panel-sidebar .sidebar-submenu{padding:5px 7px 8px 7px!important;}
  body.panel-body .panel-sidebar .sidebar-group.is-open .sidebar-submenu{padding-right:24px!important;padding-left:7px!important;}
  body.panel-body .panel-sidebar .sidebar-submenu>a{margin:2px 0!important;}
  body.panel-body .panel-sidebar .sidebar-group-toggle{grid-template-columns:22px minmax(0,1fr) 18px!important;}
  body.panel-body .panel-sidebar .sidebar-group-chevron{justify-self:end!important;}
}
@media (max-width:390px){
  body.panel-body .panel-sidebar,
  body.panel-body .panel-sidebar:not(.open){width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;}
}


/* ===== v1.4.7 | بازشدن درست منو و راست‌چین قطعی آیتم‌های سایدبار ===== */
/* همه آیتم‌ها flex و RTL هستند: آیکون در راست، متن از همان سمت شروع می‌شود؛
   فقط زیرمنو با تورفتگی کوچک سمت راست مشخص می‌شود. */
.panel-sidebar .sidebar-nav,
.panel-sidebar .sidebar-bottom,
.panel-sidebar .sidebar-main-link,
.panel-sidebar .sidebar-group-toggle,
.panel-sidebar .sidebar-submenu > a,
.panel-sidebar .sidebar-bottom > a{
  direction:rtl!important;
  text-align:right!important;
}
.panel-sidebar .sidebar-main-link,
.panel-sidebar .sidebar-group-toggle,
.panel-sidebar .sidebar-submenu > a,
.panel-sidebar .sidebar-bottom > a{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-width:0!important;
  text-align:right!important;
}
.panel-sidebar .sidebar-main-link > .ui-icon,
.panel-sidebar .sidebar-group-toggle > .ui-icon,
.panel-sidebar .sidebar-submenu > a > .ui-icon,
.panel-sidebar .sidebar-bottom > a > .ui-icon{
  order:0!important;
  flex:0 0 22px!important;
  width:22px!important;
  margin:0!important;
  text-align:center!important;
}
.panel-sidebar .sidebar-main-link > span:last-child,
.panel-sidebar .sidebar-group-title,
.panel-sidebar .sidebar-submenu > a > span:last-child,
.panel-sidebar .sidebar-bottom > a > span:last-child{
  order:1!important;
  display:block!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  text-align:right!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.panel-sidebar .sidebar-group-toggle{
  gap:10px!important;
  grid-template-columns:none!important;
}
.panel-sidebar .sidebar-group-chevron{
  order:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 18px!important;
  width:18px!important;
  margin:0!important;
  transform-origin:center!important;
}
.panel-sidebar .sidebar-group-chevron .ui-icon{
  width:18px!important;
  margin:0!important;
}
.panel-sidebar .sidebar-submenu{padding:5px 8px 8px!important;}
.panel-sidebar .sidebar-group.is-open .sidebar-submenu{
  padding-right:26px!important;
  padding-left:8px!important;
}
.panel-sidebar .sidebar-submenu > a{
  padding-right:11px!important;
  padding-left:10px!important;
}
.panel-sidebar .sidebar-bottom > a{
  padding-right:10px!important;
  padding-left:10px!important;
}

@media (max-width:800px){
  /* در موبایل، تنها وضعیت قابل مشاهده .open است و همبرگری همان وضعیت را toggle می‌کند. */
  body.panel-body .panel-sidebar,
  body.panel-body .panel-sidebar:not(.open){
    transform:translate3d(calc(100% + 24px),0,0)!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  body.panel-body .panel-sidebar.open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  body.panel-body .panel-sidebar .sidebar-main-link,
  body.panel-body .panel-sidebar .sidebar-group-toggle,
  body.panel-body .panel-sidebar .sidebar-submenu > a,
  body.panel-body .panel-sidebar .sidebar-bottom > a{
    text-align:right!important;
    justify-content:flex-start!important;
  }
  body.panel-body .panel-sidebar .sidebar-group.is-open .sidebar-submenu{
    padding-right:26px!important;
    padding-left:8px!important;
  }
}


/* ===== v1.4.8 | سایدبار سریع‌تر، ۷۰٪ عرض و هدر ثابت پنل در موبایل ===== */
@media (max-width:800px){
  /* عرض منوی بازشونده دقیقاً هفتاد درصد عرض نمایشگر است. */
  body.panel-body .panel-sidebar,
  body.panel-body .panel-sidebar:not(.open),
  body.panel-body .panel-sidebar.open{
    width:70vw!important;
    max-width:70vw!important;
    min-width:0!important;
    will-change:transform,opacity;
  }

  /* باز و بسته‌شدن کوتاه، سریع و بدون مکث اضافه. */
  body.panel-body .panel-sidebar,
  body.panel-body .panel-sidebar:not(.open){
    transform:translate3d(calc(100% + 12px),0,0)!important;
    transition:transform .14s cubic-bezier(.2,.75,.3,1),opacity .10s ease,visibility 0s linear .14s!important;
  }
  body.panel-body .panel-sidebar.open{
    transform:translate3d(0,0,0)!important;
    transition:transform .14s cubic-bezier(.2,.75,.3,1),opacity .10s ease!important;
  }
  body.panel-body .panel-backdrop{
    transition:opacity .12s ease,visibility 0s linear .12s!important;
  }
  body.panel-body .panel-backdrop.open{
    transition:opacity .12s ease!important;
  }

  /* هدر موبایل به‌صورت ثابت بالا می‌ماند؛ محتوا هم با فاصله امن از آن شروع می‌شود. */
  body.panel-body .panel-header{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    height:66px!important;
    z-index:900!important;
    box-shadow:0 3px 15px rgba(16,31,57,.10)!important;
  }
  body.panel-body .panel-main{
    margin-right:0!important;
    width:100%!important;
    min-width:0!important;
  }
  body.panel-body .panel-content{
    padding-top:82px!important;
  }
}

/* ===== v1.4.9 | فشرده‌سازی متعادل فاصله‌های سایدبار ===== */
/* آیتم‌ها همچنان فضای لمس مناسب دارند، اما برای اضافه‌شدن منوهای بعدی جمع‌وجورتر شده‌اند. */
.panel-sidebar .sidebar-scroll{padding:8px 0 11px!important}
.panel-sidebar .sidebar-nav{padding:0 9px!important}
.panel-sidebar .sidebar-main-link{min-height:44px!important;padding:9px 11px!important;margin:1px 0 5px!important;border-radius:12px!important}
.panel-sidebar .sidebar-group{margin:0 0 5px!important;border-radius:13px!important}
.panel-sidebar .sidebar-group-toggle{min-height:44px!important;padding:9px 11px!important;border-radius:12px!important}
.panel-sidebar .sidebar-submenu{padding:3px 7px 5px!important}
.panel-sidebar .sidebar-group.is-open .sidebar-submenu{padding:4px 7px 6px!important}
.panel-sidebar .sidebar-submenu>a{min-height:39px!important;padding:8px 9px!important;margin:1px 0!important;border-radius:10px!important}
.panel-sidebar .sidebar-nav-separator{margin:9px 8px!important}
.panel-sidebar .sidebar-bottom{padding:9px 11px calc(10px + env(safe-area-inset-bottom))!important}
.panel-sidebar .sidebar-bottom>a{padding:8px!important;margin:0!important}

@media (max-width:800px){
  body.panel-body .panel-sidebar .sidebar-scroll{padding:7px 0 9px!important}
  body.panel-body .panel-sidebar .sidebar-nav{padding:0 8px!important}
  body.panel-body .panel-sidebar .sidebar-main-link,
  body.panel-body .panel-sidebar .sidebar-group-toggle{min-height:44px!important;padding:9px 10px!important;margin:1px 0 4px!important}
  body.panel-body .panel-sidebar .sidebar-group{margin-bottom:4px!important}
  body.panel-body .panel-sidebar .sidebar-submenu{padding:3px 6px 5px!important}
  body.panel-body .panel-sidebar .sidebar-group.is-open .sidebar-submenu{padding:4px 6px 6px 21px!important;padding-right:21px!important}
  body.panel-body .panel-sidebar .sidebar-submenu>a{min-height:39px!important;padding:8px 9px!important;margin:1px 0!important}
  body.panel-body .panel-sidebar .sidebar-nav-separator{margin:8px 7px!important}
  body.panel-body .panel-sidebar .sidebar-bottom{padding:8px 10px calc(9px + env(safe-area-inset-bottom))!important}
  body.panel-body .panel-sidebar .sidebar-bottom>a{padding:8px!important}
}


/* ===== v1.5.0 | ورود مدیر به نمای کاربر در تب مستقل ===== */
.users-table .user-view-head,.users-table .user-view-cell{text-align:center!important;white-space:nowrap}
.user-impersonate-form{display:inline-flex;margin:0}
.user-impersonate-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 9px;border:1px solid #dce8f6;border-radius:10px;background:#f5f9ff;color:#32629a;font:inherit;font-size:11px;font-weight:700;cursor:pointer;transition:background .16s ease,transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.user-impersonate-button .ui-icon{font-size:17px;line-height:1}.user-impersonate-button:hover{background:#eaf3ff;border-color:#b8d2f0;box-shadow:0 5px 12px rgba(41,92,146,.12);transform:translateY(-1px)}.user-impersonate-button:active{transform:translateY(0)}
.user-view-muted{display:inline-block;color:#9aa8ba;font-size:11px}
.impersonation-notice{display:flex;align-items:center;gap:10px;margin:0 0 17px;padding:11px 13px;border:1px solid #bcd8fa;border-radius:14px;background:linear-gradient(90deg,#f5faff,#edf5ff);color:#27496f;box-shadow:0 6px 18px rgba(49,100,153,.07)}
.impersonation-notice-icon{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:10px;background:#dcecff;color:#306aa4}.impersonation-notice-icon .ui-icon{font-size:18px}.impersonation-notice>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.impersonation-notice b{font-size:12px}.impersonation-notice small{color:#5d7794;font-size:11px;line-height:1.7}.impersonation-notice a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:7px 10px;border-radius:9px;background:#fff;color:#285c98;border:1px solid #cbddf1;font-size:11px;font-weight:700;white-space:nowrap}.impersonation-notice a:hover{background:#f6faff}
@media(max-width:800px){.users-table .user-view-head,.users-table .user-view-cell{min-width:84px}.user-impersonate-button{min-height:32px;padding:7px 8px;font-size:10px;gap:5px}.user-impersonate-button .ui-icon{font-size:16px}.impersonation-notice{align-items:flex-start;gap:8px;margin-bottom:13px;padding:10px}.impersonation-notice-icon{width:29px;height:29px;flex-basis:29px;border-radius:9px}.impersonation-notice b{font-size:11px}.impersonation-notice small{font-size:10px;line-height:1.6}.impersonation-notice a{padding:7px 8px;font-size:10px}}


/* ===== v1.5.2 | پولیش هدر عمومی سایت بدون افزایش ارتفاع ===== */
@media (min-width:801px){
  .public-header{
    height:74px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,252,255,.94))!important;
    border-bottom:1px solid rgba(226,232,242,.92)!important;
    box-shadow:0 10px 30px rgba(18,33,60,.055)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .public-header .nav-wrap{
    height:74px!important;
    gap:30px!important;
  }
  .public-header .brand{
    gap:12px!important;
    padding:5px 7px 5px 11px!important;
    border-radius:18px!important;
    transition:background .18s ease,transform .18s ease!important;
  }
  .public-header .brand:hover{
    background:rgba(246,248,252,.75)!important;
    transform:translateY(-1px)!important;
  }
  .public-header .brand-logo-wrap{
    width:54px!important;
    height:54px!important;
    flex:0 0 54px!important;
    border-radius:17px!important;
    overflow:hidden!important;
    background:linear-gradient(145deg,#fff,#f4f7fb)!important;
    border:1px solid rgba(221,228,239,.95)!important;
    padding:3px!important;
    box-shadow:0 8px 22px rgba(22,38,67,.10)!important;
  }
  .public-header .brand-logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    border-radius:14px!important;
  }
  .public-header .brand-mark{
    width:54px!important;
    height:54px!important;
    border-radius:17px!important;
    font-size:30px!important;
    box-shadow:0 8px 22px rgba(175,124,58,.18)!important;
  }
  .public-header .brand-text{
    font-size:18px!important;
    letter-spacing:-.35px!important;
    color:#11213c!important;
  }
  .public-nav{
    gap:18px!important;
  }
  .public-nav a{
    padding:25px 5px 20px!important;
    border-radius:0!important;
    font-size:13px!important;
    transition:color .18s ease,border-color .18s ease!important;
  }
  .public-nav a.active,
  .public-nav a:hover{
    border-bottom-color:#c79a55!important;
  }
  .nav-actions{
    gap:8px!important;
  }
  .public-header .header-icon-button,
  .public-header .header-user{
    box-shadow:0 5px 15px rgba(28,45,77,.055)!important;
  }
}

@media (max-width:800px){
  .public-header .nav-wrap{
    height:56px!important;
    border-radius:19px!important;
    box-shadow:0 10px 24px rgba(18,34,62,.14),0 2px 7px rgba(18,34,62,.05)!important;
  }
  .public-header .brand{
    overflow:visible!important;
  }
  .public-header .brand-logo-wrap{
    width:54px!important;
    height:54px!important;
    flex:0 0 54px!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:linear-gradient(145deg,#fff,#f6f8fc)!important;
    border:1px solid rgba(221,228,239,.98)!important;
    padding:3px!important;
    box-shadow:0 8px 19px rgba(21,37,66,.13)!important;
  }
  .public-header .brand-logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    border-radius:15px!important;
  }
  .public-header .brand-mark{
    width:52px!important;
    height:52px!important;
    border-radius:18px!important;
    font-size:30px!important;
  }
  .mobile-telegram-button,
  .mobile-notification-button{
    width:38px!important;
    height:38px!important;
    border-radius:13px!important;
  }
}

@media (max-width:430px){
  .public-header .nav-wrap{
    height:52px!important;
    border-radius:18px!important;
  }
  .public-header .brand-logo-wrap{
    width:51px!important;
    height:51px!important;
    flex-basis:51px!important;
    border-radius:17px!important;
    padding:3px!important;
  }
  .public-header .brand-logo{border-radius:14px!important}
  .public-header .brand-mark{
    width:49px!important;
    height:49px!important;
    border-radius:17px!important;
    font-size:28px!important;
  }
  .mobile-telegram-button,
  .mobile-notification-button{
    width:36px!important;
    height:36px!important;
  }
}

/* ===== v1.5.3 | هدر عمومی: آیکون منوها، لینک ارتباط و صفحه داستان شروع ما ===== */
@media (min-width:801px){
  .public-nav{
    gap:8px!important;
    align-items:center!important;
  }
  .public-nav a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    min-height:42px!important;
    padding:14px 6px 12px!important;
    border-bottom:0!important;
    border-radius:14px!important;
    color:#526078!important;
    font-size:12.5px!important;
    line-height:1!important;
    transition:color .18s ease,background .18s ease,transform .18s ease!important;
  }
  .public-nav a::after{
    content:"";
    position:absolute;
    right:12px;
    left:12px;
    bottom:5px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,#d9ad68,#b9823c);
    transform:scaleX(0);
    transform-origin:center;
    opacity:0;
    transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .18s ease!important;
  }
  .public-nav a:hover,
  .public-nav a.active{
    color:#14243e!important;
    background:rgba(248,244,237,.62)!important;
    transform:translateY(-1px)!important;
  }
  .public-nav a:hover::after,
  .public-nav a.active::after{
    opacity:1;
    transform:scaleX(1);
  }
  .public-nav .ui-icon{
    display:inline-flex!important;
    width:17px!important;
    height:17px!important;
    flex:0 0 17px!important;
    color:#a77b42!important;
    font-size:17px!important;
    transition:color .18s ease,transform .18s ease!important;
  }
  .public-nav a:hover .ui-icon,
  .public-nav a.active .ui-icon{
    color:#b27a34!important;
    transform:translateY(-1px)!important;
  }
}

.origin-hero{
  background:
    radial-gradient(circle at 12% 20%,rgba(200,151,82,.18),transparent 30%),
    linear-gradient(135deg,#fffaf2 0%,#f6f8fc 55%,#eef3fb 100%)!important;
}
.origin-page{padding:34px 0 10px}.origin-intro{display:grid;grid-template-columns:82px minmax(0,1fr);gap:22px;align-items:center;padding:30px!important}.origin-mark{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#f3dfbd,#b98742);color:#fff;font-size:34px;box-shadow:0 12px 30px rgba(179,126,63,.22)}.origin-intro h2,.origin-values h2{font-size:26px;line-height:1.65;margin:5px 0 10px;color:#152642}.origin-intro p,.origin-values p,.origin-step p{line-height:2;color:#66738a;margin:0}.origin-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0}.origin-step{padding:22px!important}.origin-step span{width:35px;height:35px;border-radius:13px;display:grid;place-items:center;background:#f7ecd9;color:#9a6b32;font-weight:900;margin-bottom:13px}.origin-step h3{margin:0 0 8px;font-size:16px;color:#172845}.origin-values{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px!important;margin-top:18px}.origin-values>div{max-width:760px}.origin-values .btn{white-space:nowrap}
@media(max-width:800px){
  .origin-page{padding:22px 0 0}.origin-intro{grid-template-columns:1fr;gap:14px;padding:20px!important;text-align:right}.origin-mark{width:56px;height:56px;border-radius:18px;font-size:27px}.origin-intro h2,.origin-values h2{font-size:20px;line-height:1.75}.origin-timeline{grid-template-columns:1fr;gap:10px;margin:12px 0}.origin-step{padding:17px!important}.origin-values{display:block;padding:20px!important}.origin-values .btn{width:100%;margin-top:16px}.origin-hero .container{text-align:center}.origin-hero h1{font-size:28px!important}.origin-hero p{font-size:13px!important;line-height:2!important}
}

/* ===== v1.5.4 | حذف قاب، بوردر و سایه لوگوی هدر موبایل ===== */
@media (max-width:800px){
  .public-header .brand{
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
    transform:none!important;
  }
  .public-header .brand:hover{
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .public-header .brand-logo-wrap{
    width:54px!important;
    height:54px!important;
    flex:0 0 54px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    outline:0!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  .public-header .brand-logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    border-radius:0!important;
  }
  .public-header .brand-mark{
    box-shadow:none!important;
    border:0!important;
  }
}
@media (max-width:430px){
  .public-header .brand-logo-wrap{
    width:51px!important;
    height:51px!important;
    flex-basis:51px!important;
    padding:0!important;
    border-radius:0!important;
  }
  .public-header .brand-logo{border-radius:0!important}
}


/* ===== v1.5.5 | اصلاح دقیق استایل لوگوی هدر موبایل طبق درخواست ===== */
@media (max-width:800px){
  .public-header .brand{
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
  }
  .public-header .brand:hover{
    background:transparent!important;
    box-shadow:none!important;
    transform:translate(-50%,-50%)!important;
  }
  .public-header .brand-logo-wrap{
    width:54px!important;
    height:54px!important;
    flex:0 0 54px!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:linear-gradient(145deg,#fff,#f6f8fc)!important;
    border:0!important;
    padding:0!important;
    box-shadow:none!important;
    outline:0!important;
    margin:0!important;
  }
  .public-header .brand-logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    border-radius:15px!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .public-header .brand-mark{
    width:54px!important;
    height:54px!important;
    border-radius:18px!important;
    box-shadow:none!important;
    border:0!important;
  }
}
@media (max-width:430px){
  .public-header .brand-logo-wrap{
    width:54px!important;
    height:54px!important;
    flex:0 0 54px!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:linear-gradient(145deg,#fff,#f6f8fc)!important;
    border:0!important;
    padding:0!important;
    box-shadow:none!important;
  }
  .public-header .brand-logo{border-radius:15px!important}
  .public-header .brand-mark{
    width:54px!important;
    height:54px!important;
    border-radius:18px!important;
  }
}


/* ===== v1.5.6 | کاهش بسیار جزئی اندازه لوگوی هدر موبایل ===== */
@media (max-width:800px){
  .public-header .brand-logo-wrap{
    width:52px!important;
    height:52px!important;
    flex:0 0 52px!important;
    border-radius:17px!important;
  }
  .public-header .brand-logo{
    border-radius:14px!important;
  }
  .public-header .brand-mark{
    width:52px!important;
    height:52px!important;
    border-radius:17px!important;
    font-size:29px!important;
  }
}
@media (max-width:430px){
  .public-header .brand-logo-wrap{
    width:51px!important;
    height:51px!important;
    flex:0 0 51px!important;
    border-radius:17px!important;
  }
  .public-header .brand-logo{
    border-radius:14px!important;
  }
  .public-header .brand-mark{
    width:51px!important;
    height:51px!important;
    border-radius:17px!important;
    font-size:28px!important;
  }
}


/* ===== v1.5.7 | هدر فعال و اصلاح صفحه اصلی ===== */
@media (min-width:801px){
  .public-nav a{
    transition:color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease!important;
  }
  .public-nav a::after{
    bottom:8px!important;
    height:2px!important;
    right:13px!important;
    left:13px!important;
  }
  .public-nav a:hover{
    color:#162842!important;
    background:rgba(248,244,237,.58)!important;
    box-shadow:none!important;
  }
  .public-nav a:hover .ui-icon{color:#ad7835!important;}
  .public-nav a.active{
    color:#10213c!important;
    background:rgba(242,229,205,.92)!important;
    box-shadow:0 7px 16px rgba(169,119,56,.10)!important;
    font-weight:800!important;
  }
  .public-nav a.active::after{
    opacity:1!important;
    transform:scaleX(1)!important;
    background:linear-gradient(90deg,#c19049,#99652a)!important;
  }
  .public-nav a.active .ui-icon{
    color:#8e5c22!important;
    transform:translateY(-1px) scale(1.04)!important;
  }
  .home-hero-inner{
    min-height:424px!important;
    padding:52px 0 30px!important;
    gap:50px!important;
  }
  .home-hero-copy h1{margin-top:10px!important;margin-bottom:11px!important;}
  .home-lead{line-height:2.05!important;}
  .home-hero-actions{margin-top:21px!important;}
}
.home-hero-image-panel{
  position:relative;
  min-height:318px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.05));
  box-shadow:0 24px 52px rgba(4,14,35,.25);
  isolation:isolate;
}
.home-hero-image-panel:before{
  content:"";
  position:absolute;
  inset:12px;
  z-index:2;
  border:1px solid rgba(255,255,255,.22);
  border-radius:20px;
  pointer-events:none;
}
.home-hero-image-panel:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(9,18,38,.02),rgba(9,18,38,.22));
  pointer-events:none;
}
.home-hero-image-panel img{
  width:100%;
  height:100%;
  min-height:318px;
  display:block;
  object-fit:cover;
  transform:scale(1.015);
}
.home-feature-section{padding-top:34px!important;}
.home-feature-layout{
  position:relative;
  border:1px solid rgba(224,229,238,.96)!important;
  background:linear-gradient(145deg,#fff 0%,#fbfcff 62%,#f5f8fc 100%)!important;
  box-shadow:0 18px 42px rgba(19,35,68,.075)!important;
}
.home-feature-layout:before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:18px;
  border:1px solid rgba(201,154,86,.14);
  pointer-events:none;
}
.home-feature-art{
  background:
    radial-gradient(circle at 28% 24%,rgba(255,255,255,.35),transparent 22%),
    linear-gradient(145deg,#e7cf9e,#be8640 56%,#4f342b)!important;
}
.home-feature-copy{position:relative;z-index:1;}
.home-feature-copy .home-section-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:5px 10px;
  border-radius:999px;
  background:#f7ecd9;
  color:#8e5d23;
}
.home-feature-copy .home-section-kicker:before{content:"✦";font-size:10px;}
.home-feature-topic{
  background:#f2f5fa;
  border:1px solid #e5ebf4;
  color:#5e7090!important;
  border-radius:999px;
  padding:4px 10px;
}
.home-read-link{
  min-height:38px;
  padding:0 13px;
  border-radius:12px;
  background:#eef4ff;
  color:#2f5592!important;
  transition:.2s ease;
}
.home-read-link:hover{background:#dfeafe;transform:translateY(-1px);}
@media (max-width:800px){
  .home-hero-inner{padding-top:calc(92px + env(safe-area-inset-top))!important;gap:18px!important;}
  .home-hero-image-panel{min-height:196px;border-radius:21px;}
  .home-hero-image-panel:before{inset:9px;border-radius:16px;}
  .home-hero-image-panel img{min-height:196px;}
  .home-feature-section{padding-top:20px!important;}
  .home-feature-layout:before{inset:9px;border-radius:15px;}
  .home-feature-copy .home-section-kicker{font-size:9px;padding:4px 8px;}
}
@media (max-width:430px){
  .home-hero-image-panel{min-height:176px;}
  .home-hero-image-panel img{min-height:176px;}
}


/* ===== v1.5.8 | تنظیمات هیرو، تصویر ساده و CTA دوگانه صفحه اصلی ===== */
@media (min-width:801px){
  .home-hero-inner{
    padding-top:34px!important;
    padding-bottom:34px!important;
    min-height:402px!important;
    grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;
    gap:54px!important;
  }
}
.home-hero-image-panel{
  min-height:390px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  isolation:auto!important;
}
.home-hero-image-panel:before,
.home-hero-image-panel:after{display:none!important;content:none!important;}
.home-hero-image-panel img{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:430px!important;
  object-fit:contain!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.home-feature-layout{
  overflow:hidden!important;
  border-color:rgba(218,226,239,.95)!important;
  box-shadow:0 16px 40px rgba(17,33,64,.07)!important;
}
.home-feature-copy h2{letter-spacing:-.55px;}
.home-feature-copy>p{font-size:13.5px;}
.home-cta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:40px;
  margin-bottom:0;
}
.home-cta-grid .home-join-banner{
  margin:0!important;
  min-height:180px;
}
.home-cta-card{
  position:relative;
  overflow:hidden;
}
.home-cta-write:after,
.home-cta-feedback:after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  border-radius:999px;
  left:-90px;
  top:-90px;
  background:rgba(255,255,255,.08);
  pointer-events:none;
}
.home-cta-feedback{
  background:linear-gradient(135deg,#10233f,#1d3a67 58%,#33598e)!important;
}
.home-cta-feedback small{
  display:block;
  max-width:390px;
  margin-top:8px;
  color:#d8e3f5;
  font-size:12px;
  line-height:2;
}
.home-feedback-actions{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  justify-content:flex-end;
  position:relative;
  z-index:1;
}
.home-feedback-actions a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:13px;
  padding:0 13px;
  color:#10233f;
  background:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:0 10px 20px rgba(4,13,28,.14);
  transition:transform .18s ease,background .18s ease;
}
.home-feedback-actions a:hover{transform:translateY(-2px);background:#f7ecd9;}
.home-feedback-actions .ui-icon{width:18px;height:18px;color:#b9823a;}
.ltr-input{direction:ltr;text-align:left;font-family:Tahoma,Arial,sans-serif;}
.field-hint{display:block;margin-top:6px;color:#7a879a;font-size:11px;line-height:1.8;}
@media (max-width:800px){
  .home-hero-image-panel{
    min-height:230px!important;
    margin-top:2px!important;
  }
  .home-hero-image-panel img{max-height:250px!important;}
  .home-cta-grid{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:32px;
  }
  .home-cta-grid .home-join-banner{
    min-height:auto!important;
    align-items:flex-start!important;
  }
  .home-cta-feedback small{font-size:11px;line-height:1.9;}
  .home-feedback-actions{justify-content:flex-start;width:100%;margin-top:13px;}
  .home-feedback-actions a{min-height:39px;font-size:11px;border-radius:12px;padding:0 11px;}
}
@media (max-width:430px){
  .home-hero-image-panel{min-height:204px!important;}
  .home-hero-image-panel img{max-height:222px!important;}
  .home-cta-grid{margin-top:26px;}
  .home-feedback-actions{display:grid;grid-template-columns:1fr;width:100%;}
  .home-feedback-actions a{width:100%;}
}


/* ===== v1.5.9 | اصلاح قطعی هیروی صفحه اصلی، تصویر خام و CTA دوگانه ===== */
.home-hero-v2 .home-orb,
.home-hero-v2 .home-orb-one,
.home-hero-v2 .home-orb-two{display:none!important;opacity:0!important;visibility:hidden!important;}
.home-hero-v2{
  overflow:hidden!important;
}
.home-hero-v2:before{
  background:linear-gradient(90deg,rgba(8,17,35,.18),rgba(8,17,35,.03))!important;
}
@media (min-width:801px){
  .home-hero-v2 .home-hero-inner{
    padding-top:24px!important;
    padding-bottom:24px!important;
    min-height:382px!important;
    grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr)!important;
    gap:46px!important;
  }
  .home-hero-v2 .home-hero-copy h1{
    margin-top:9px!important;
    margin-bottom:10px!important;
  }
  .home-hero-v2 .home-lead{max-width:570px!important;}
}
.home-hero-v2 .home-hero-image-panel,
.home-hero-image-panel{
  position:relative!important;
  min-height:0!important;
  width:100%!important;
  border:0!important;
  outline:0!important;
  background:none!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  isolation:auto!important;
  padding:0!important;
  margin:0!important;
}
.home-hero-v2 .home-hero-image-panel:before,
.home-hero-v2 .home-hero-image-panel:after,
.home-hero-image-panel:before,
.home-hero-image-panel:after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}
.home-hero-v2 .home-hero-image-panel img,
.home-hero-image-panel img{
  display:block!important;
  width:min(112%, 620px)!important;
  max-width:112%!important;
  height:auto!important;
  min-height:0!important;
  max-height:520px!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:none!important;
  background-color:transparent!important;
  padding:0!important;
  margin:0!important;
}
.home-cta-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:16px!important;
  margin-top:40px!important;
  margin-bottom:0!important;
}
.home-cta-grid .home-join-banner{
  margin:0!important;
  min-height:176px!important;
}
.home-cta-card{position:relative!important;overflow:hidden!important;}
.home-cta-write:after,
.home-cta-feedback:after{
  content:""!important;
  position:absolute!important;
  width:170px!important;
  height:170px!important;
  border-radius:999px!important;
  left:-90px!important;
  top:-90px!important;
  background:rgba(255,255,255,.08)!important;
  pointer-events:none!important;
}
.home-cta-feedback{background:linear-gradient(135deg,#10233f,#1d3a67 58%,#33598e)!important;}
.home-cta-feedback small{display:block!important;max-width:390px!important;margin-top:8px!important;color:#d8e3f5!important;font-size:12px!important;line-height:2!important;}
.home-feedback-actions{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;justify-content:flex-end!important;position:relative!important;z-index:1!important;}
.home-feedback-actions a{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:13px!important;padding:0 13px!important;color:#10233f!important;background:#fff!important;font-size:12px!important;font-weight:800!important;box-shadow:0 10px 20px rgba(4,13,28,.14)!important;transition:transform .18s ease,background .18s ease!important;}
.home-feedback-actions a:hover{transform:translateY(-2px)!important;background:#f7ecd9!important;}
.home-feedback-actions .ui-icon{width:18px!important;height:18px!important;color:#b9823a!important;}
@media (max-width:800px){
  .home-hero-v2 .home-hero-inner{
    padding-top:calc(88px + env(safe-area-inset-top))!important;
    padding-bottom:18px!important;
    gap:12px!important;
  }
  .home-hero-v2 .home-hero-image-panel,
  .home-hero-image-panel{
    min-height:0!important;
    margin-top:0!important;
  }
  .home-hero-v2 .home-hero-image-panel img,
  .home-hero-image-panel img{
    width:min(108%, 410px)!important;
    max-width:108%!important;
    max-height:260px!important;
  }
  .home-cta-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:30px!important;
  }
  .home-cta-grid .home-join-banner{
    min-height:auto!important;
    align-items:flex-start!important;
  }
  .home-cta-feedback small{font-size:11px!important;line-height:1.9!important;}
  .home-feedback-actions{justify-content:flex-start!important;width:100%!important;margin-top:13px!important;}
  .home-feedback-actions a{min-height:39px!important;font-size:11px!important;border-radius:12px!important;padding:0 11px!important;}
}
@media (max-width:430px){
  .home-hero-v2 .home-hero-image-panel img,
  .home-hero-image-panel img{
    width:min(110%, 360px)!important;
    max-width:110%!important;
    max-height:232px!important;
  }
  .home-cta-grid{margin-top:24px!important;}
  .home-feedback-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  .home-feedback-actions a{width:100%!important;}
}


/* ===== v1.6.1 | متن تایپی زیر عنوان سایت در هدر ===== */
@media (min-width:801px){
  .public-header .brand-with-typewriter{
    align-items:center!important;
    gap:11px!important;
  }
  .public-header .brand-copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:1px!important;
    min-width:0!important;
    max-width:150px!important;
  }
  .public-header .brand-with-typewriter .brand-text{
    display:block!important;
    width:max-content!important;
    max-width:150px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  .public-header .brand-typewriter{
    display:block!important;
    width:var(--brand-title-width, 116px)!important;
    max-width:var(--brand-title-width, 116px)!important;
    min-height:14px!important;
    height:14px!important;
    line-height:14px!important;
    margin-top:1px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    color:#7b6954!important;
    font-size:9.5px!important;
    font-weight:600!important;
    letter-spacing:-.15px!important;
    opacity:.96!important;
    text-align:right!important;
    direction:rtl!important;
  }
  .public-header .brand-typewriter [data-typewriter-text]{
    display:inline-block!important;
    max-width:100%!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    vertical-align:top!important;
  }
  .public-header .brand-typewriter i{
    display:inline-block!important;
    width:1px!important;
    height:10px!important;
    margin-right:3px!important;
    vertical-align:-1px!important;
    background:#b98742!important;
    border-radius:999px!important;
    animation:dnHeaderCaret 1s steps(1,end) infinite;
  }
  @keyframes dnHeaderCaret{50%{opacity:0}}
}
@media (max-width:800px){
  .public-header .brand-copy{display:block!important;line-height:0!important;}
  .public-header .brand-typewriter{display:none!important;}
}


/* ===== v1.6.1 | اصلاح قطعی نمایش متن تایپی هدر و بخش تنظیمات ===== */
.public-header .brand-with-typewriter{
  min-width:0!important;
}
.public-header .brand-with-typewriter .brand-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:1px!important;
  min-width:0!important;
  max-width:154px!important;
}
.public-header .brand-with-typewriter .brand-text{
  display:block!important;
  width:max-content!important;
  max-width:154px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.public-header .brand-with-typewriter .brand-typewriter{
  display:block!important;
  width:var(--brand-title-width, 118px)!important;
  max-width:var(--brand-title-width, 118px)!important;
  min-height:14px!important;
  height:14px!important;
  line-height:14px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  color:#7b6040!important;
  font-size:9.5px!important;
  font-weight:700!important;
  letter-spacing:-.25px!important;
  opacity:1!important;
  visibility:visible!important;
  text-align:right!important;
  direction:rtl!important;
}
.public-header .brand-with-typewriter .brand-typewriter [data-typewriter-text]{
  display:inline-block!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  vertical-align:top!important;
}
.public-header .brand-with-typewriter .brand-typewriter i{
  display:inline-block!important;
  width:1px!important;
  height:10px!important;
  margin-right:3px!important;
  vertical-align:-1px!important;
  background:#b98742!important;
  border-radius:999px!important;
  animation:dnHeaderCaret 1s steps(1,end) infinite!important;
}
.header-typewriter-settings-head{
  background:linear-gradient(135deg,rgba(191,139,66,.10),rgba(255,255,255,0))!important;
  border:1px solid rgba(191,139,66,.18)!important;
  border-radius:18px!important;
  padding:15px!important;
  margin-bottom:14px!important;
}
.header-typewriter-settings-grid{
  background:#fffaf3!important;
  border:1px solid rgba(191,139,66,.18)!important;
  border-radius:18px!important;
  padding:16px!important;
}
@media(max-width:800px){
  .public-header .brand-with-typewriter .brand-copy{
    display:none!important;
  }
  .public-header .brand-with-typewriter .brand-typewriter{
    display:none!important;
  }
}


/* ===== v1.6.2 | متن تایپی کامل + تب‌بندی تنظیمات ===== */
@media (min-width:801px){
  .public-header .brand-with-typewriter .brand-copy{
    max-width:none!important;
    min-width:var(--brand-typewriter-width, auto)!important;
    overflow:visible!important;
  }
  .public-header .brand-with-typewriter .brand-text{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .public-header .brand-with-typewriter .brand-typewriter{
    width:var(--brand-typewriter-width, auto)!important;
    max-width:none!important;
    min-width:var(--brand-typewriter-width, auto)!important;
    overflow:visible!important;
    white-space:nowrap!important;
    text-overflow:clip!important;
    color:var(--header-typewriter-color, #7b6040)!important;
  }
  .public-header .brand-with-typewriter .brand-typewriter [data-typewriter-text]{
    max-width:none!important;
    overflow:visible!important;
    white-space:nowrap!important;
    text-overflow:clip!important;
  }
  .public-header .brand-with-typewriter .brand-typewriter i{
    background:var(--header-typewriter-color, #b98742)!important;
  }
}
.settings-tabs-form{position:relative!important;overflow:visible!important;}
.settings-tabs{
  position:sticky!important;top:76px!important;z-index:9!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;
  padding:10px!important;margin:-4px -4px 20px!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(224,230,241,.95)!important;border-radius:20px!important;backdrop-filter:blur(14px)!important;
  box-shadow:0 16px 36px rgba(28,43,70,.08)!important;
}
.settings-tabs button{
  border:0!important;background:#f6f8fc!important;color:#53647d!important;border-radius:14px!important;padding:10px 14px!important;font-family:inherit!important;font-weight:800!important;font-size:12px!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;gap:7px!important;transition:.2s ease!important;
}
.settings-tabs button:hover{background:#fff7ec!important;color:#8b642d!important;transform:translateY(-1px)!important;}
.settings-tabs button.active{background:linear-gradient(135deg,#f1dfc4,#fff8ee)!important;color:#7a531f!important;box-shadow:inset 0 0 0 1px rgba(181,127,58,.18),0 10px 24px rgba(181,127,58,.13)!important;}
.settings-tab-panel{display:none!important;animation:dnSettingsTabIn .22s ease both!important;}
.settings-tab-panel.active{display:block!important;}
.settings-tab-panel[hidden]{display:none!important;}
@keyframes dnSettingsTabIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.settings-tab-title{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:0 0 18px!important;padding:15px!important;border-radius:18px!important;background:linear-gradient(135deg,#fbfcff,#fff9ef)!important;border:1px solid rgba(224,230,241,.9)!important;}
.settings-tab-title .settings-icon{width:38px!important;height:38px!important;border-radius:13px!important;background:#fff2dd!important;display:grid!important;place-items:center!important;color:#9b6828!important;font-weight:900!important;flex:0 0 38px!important;}
.settings-tab-title h3{margin:0 0 4px!important;font-size:16px!important;color:#172845!important;}
.settings-tab-title p{margin:0!important;color:#7a8496!important;font-size:12px!important;line-height:1.9!important;}
.settings-subsection{margin-top:22px!important;padding-top:18px!important;border-top:1px solid #edf1f7!important;}
.settings-floating-save{
  position:fixed!important;left:24px!important;bottom:24px!important;z-index:70!important;min-width:154px!important;min-height:46px!important;border-radius:999px!important;
  box-shadow:0 18px 42px rgba(168,110,38,.28)!important;
}
.settings-control-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.input[type="color"].settings-color-input{height:44px!important;padding:4px!important;cursor:pointer!important;}
@media(max-width:1000px){.settings-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.settings-tabs{top:64px!important}.settings-floating-save{left:16px!important;bottom:16px!important;}}
@media(max-width:640px){.settings-tabs{position:relative!important;top:auto!important}.settings-tabs button{flex:1 1 calc(50% - 8px)!important;justify-content:center!important}.settings-control-grid{grid-template-columns:1fr!important}.settings-floating-save{left:12px!important;right:12px!important;width:auto!important}.settings-form .form-actions{padding-bottom:74px!important;}}


/* ===== v1.6.3 | ویرایش صفحات + داستان شروع ما + active بدون زیرخط ===== */
@media (min-width:801px){
  .public-nav a.active:not(:hover)::after{
    opacity:0!important;
    transform:scaleX(0)!important;
  }
  .public-nav a:hover::after{
    opacity:1!important;
    transform:scaleX(1)!important;
  }
}
.pages-editor-head .btn .ui-icon{width:17px;height:17px;}
.pages-editor-shell{padding:22px!important;overflow:visible!important;}
.pages-tabs{top:76px!important;margin:0 0 22px!important;}
.pages-tab-title{margin-bottom:18px!important;}
.pages-story-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start;}
.pages-story-fields{min-width:0;}
.pages-story-textarea{min-height:440px!important;line-height:2.15!important;font-size:13px!important;resize:vertical;}
.pages-story-image-card{position:sticky;top:148px;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid #e7edf5;border-radius:24px;padding:16px;box-shadow:0 18px 46px rgba(25,40,68,.08);}
.pages-story-image-preview{border-radius:20px;overflow:hidden;background:#f6f8fc;aspect-ratio:3/4;margin-bottom:14px;}
.pages-story-image-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.pages-story-image-card h4{margin:0 0 6px;color:#172842;font-size:15px;}
.pages-story-image-card p{margin:0 0 12px;color:#718098;font-size:12px;line-height:2;}
.pages-story-image-card small{display:block;margin-top:10px;color:#8b98aa;font-size:11px;line-height:1.8;}
.pages-placeholder{min-height:300px;border:1px dashed #dce4ef;border-radius:24px;background:linear-gradient(135deg,#fbfcff,#fffaf3);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;}
.pages-placeholder>span{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;background:#f7eddf;color:#a16f32;font-size:27px;margin-bottom:12px;}
.pages-placeholder h3{margin:0 0 8px;color:#172842;}
.pages-placeholder p{max-width:520px;margin:0 0 18px;color:#728096;line-height:2;}
.our-story-page-v2{position:relative;padding:42px 0 8px;background:linear-gradient(180deg,#fff 0%,#fbfcff 62%,#fff 100%);}
.our-story-hero-v2{padding-top:6px;}
.our-story-title-block{max-width:760px;margin:0 auto 30px;text-align:center;}
.our-story-title-block .eyebrow{color:#9a6a30;font-weight:900;letter-spacing:-.2px;}
.our-story-title-block h1{font-size:clamp(34px,4vw,54px);line-height:1.25;margin:10px 0 12px;color:#132440;letter-spacing:-1.8px;}
.our-story-title-block p:not(.eyebrow){margin:0 auto;color:#63728b;font-size:15px;line-height:2;max-width:620px;}
.our-story-layout-v2{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:34px;align-items:start;}
.our-story-text-card{position:relative;background:rgba(255,255,255,.92);border:1px solid #e8edf5;border-radius:32px;padding:38px 40px;box-shadow:0 24px 70px rgba(23,36,64,.08);overflow:hidden;}
.our-story-text-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#d8aa64,#a36f31);opacity:.85;}
.our-story-prose-mark{position:absolute;left:28px;top:24px;width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#f8eddd;color:#a36e31;font-size:22px;}
.our-story-prose{font-size:15.5px;line-height:2.55;color:#25344f;}
.our-story-prose p{margin:0 0 13px;}
.our-story-prose p:nth-child(14),.our-story-prose p:nth-child(15),.our-story-prose p:nth-child(16),.our-story-prose p:nth-child(17),.our-story-prose p:nth-child(18),.our-story-prose p:nth-child(19){color:#7f5524;font-weight:800;background:#fff8ee;border-right:3px solid #c5914d;border-radius:14px;padding:5px 13px;margin-bottom:8px;}
.our-story-signature{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:30px;padding-top:18px;border-top:1px solid #edf1f7;color:#63728b;}
.our-story-signature span{font-size:12px;font-weight:800;color:#9b6d35;}
.our-story-signature strong{font-size:15px;color:#132440;}
.our-story-visual-sidebar{min-width:0;}
.our-story-sticky-image{position:sticky;top:104px;border-radius:34px;overflow:hidden;background:#fff;box-shadow:0 25px 72px rgba(20,33,58,.13);min-height:520px;}
.our-story-sticky-image img{width:100%;height:520px;object-fit:cover;display:block;}
.our-story-image-caption{position:absolute;right:18px;left:18px;bottom:18px;border:1px solid rgba(255,255,255,.36);background:rgba(19,36,64,.72);backdrop-filter:blur(14px);border-radius:22px;padding:14px 16px;color:#fff;}
.our-story-image-caption span,.our-story-image-caption b{display:block;}
.our-story-image-caption span{font-size:11px;color:#e6c795;font-weight:800;margin-bottom:3px;}
.our-story-image-caption b{font-size:14px;line-height:1.7;}
@media(max-width:980px){
  .pages-story-editor-grid,.our-story-layout-v2{grid-template-columns:1fr;}
  .pages-story-image-card,.our-story-sticky-image{position:relative;top:auto;}
  .our-story-sticky-image,.our-story-sticky-image img{min-height:auto;height:auto;}
}
@media(max-width:800px){
  .pages-editor-shell{padding:15px!important;}
  .pages-tabs{position:relative!important;top:auto!important;overflow:auto;flex-wrap:nowrap!important;}
  .pages-story-textarea{min-height:360px!important;}
  .our-story-page-v2{padding-top:24px;}
  .our-story-title-block{text-align:right;margin-bottom:18px;}
  .our-story-title-block h1{font-size:30px;letter-spacing:-1px;}
  .our-story-layout-v2{gap:16px;}
  .our-story-visual-sidebar{order:-1;}
  .our-story-text-card{border-radius:24px;padding:28px 22px;}
  .our-story-prose-mark{display:none;}
  .our-story-prose{font-size:14px;line-height:2.35;}
  .our-story-sticky-image{border-radius:24px;}
  .our-story-sticky-image img{max-height:360px;object-fit:cover;}
}


/* ===== v1.6.4 | اصلاح نسبت صفحه داستان شروع ما ===== */
.pages-story-editor-grid{grid-template-columns:minmax(0,1fr) 390px!important;}
.pages-story-textarea{line-height:1.75!important;}
.pages-story-image-preview{aspect-ratio:16/9!important;border-radius:18px!important;}
.pages-author-avatar-admin{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #edf1f7;}
.pages-author-avatar-admin img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#f2f5fa;border:1px solid #e1e8f2;}
.pages-author-avatar-admin b{display:block;margin-bottom:8px;color:#172842;font-size:12px;}
.upload-button.small{display:inline-flex!important;min-height:34px;padding:0 12px!important;border-radius:11px!important;font-size:10px!important;}
.our-story-layout-v2{grid-template-columns:minmax(360px,.78fr) minmax(520px,1.22fr)!important;gap:28px!important;}
.our-story-text-card{padding:32px 34px!important;border-radius:28px!important;}
.our-story-prose{font-size:15px!important;line-height:1.75!important;color:#26344d!important;}
.our-story-prose p{margin:0 0 6px!important;}
.our-story-prose p:nth-child(14),.our-story-prose p:nth-child(15),.our-story-prose p:nth-child(16),.our-story-prose p:nth-child(17),.our-story-prose p:nth-child(18),.our-story-prose p:nth-child(19){line-height:1.75!important;padding:4px 12px!important;margin-bottom:5px!important;}
.our-story-visual-sidebar{position:sticky!important;top:92px!important;align-self:start!important;min-width:0!important;}
.our-story-sticky-image{position:relative!important;top:auto!important;aspect-ratio:16/9!important;min-height:0!important;height:auto!important;border-radius:32px!important;overflow:hidden!important;}
.our-story-sticky-image img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;display:block!important;}
.our-story-author-card{display:flex;align-items:center;justify-content:flex-start;gap:12px;direction:rtl;text-align:right;margin-top:24px;padding-top:17px;border-top:1px solid #edf1f7;color:#63728b;}
.our-story-author-card img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#f2f5fa;border:1px solid #e2e9f4;box-shadow:0 10px 28px rgba(25,40,68,.08);flex:0 0 52px;}
.our-story-author-card strong,.our-story-author-card span{display:block;}
.our-story-author-card strong{font-size:15px;color:#132440;line-height:1.6;}
.our-story-author-card span{font-size:12px;color:#8a6837;font-weight:900;margin-top:1px;}
@media(max-width:1160px){
  .our-story-layout-v2{grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr)!important;}
}
@media(max-width:980px){
  .pages-story-editor-grid,.our-story-layout-v2{grid-template-columns:1fr!important;}
  .our-story-visual-sidebar{position:relative!important;top:auto!important;}
  .our-story-sticky-image{aspect-ratio:16/9!important;}
}
@media(max-width:800px){
  .our-story-text-card{padding:24px 20px!important;}
  .our-story-prose{font-size:14px!important;line-height:1.85!important;}
  .our-story-prose p{margin-bottom:5px!important;}
  .our-story-sticky-image{border-radius:22px!important;}
  .our-story-author-card{margin-top:18px;}
}

/* ===== v1.6.5 | جابه‌جایی عرض ستون‌ها و عمودی شدن تصویر داستان شروع ما ===== */
@media (min-width: 981px){
  .our-story-layout-v2{
    grid-template-columns:minmax(520px,1.22fr) minmax(360px,.78fr)!important;
    gap:28px!important;
  }
  .our-story-visual-sidebar{
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    min-width:0!important;
  }
  .our-story-sticky-image{
    position:relative!important;
    top:auto!important;
    aspect-ratio:4/5!important;
    min-height:0!important;
    height:auto!important;
    border-radius:32px!important;
    overflow:hidden!important;
  }
  .our-story-sticky-image img{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
    display:block!important;
  }
}
@media (max-width:1160px) and (min-width:981px){
  .our-story-layout-v2{
    grid-template-columns:minmax(470px,1.16fr) minmax(320px,.84fr)!important;
  }
}
.pages-story-editor-grid{grid-template-columns:minmax(0,1.22fr) 340px!important;}
.pages-story-image-preview{aspect-ratio:4/5!important;}
@media(max-width:980px){
  .pages-story-editor-grid,.our-story-layout-v2{grid-template-columns:1fr!important;}
  .our-story-sticky-image{aspect-ratio:4/5!important;}
}

/* ===== v1.6.6 | ریسپانسیو داستان شروع ما + تصویر مستقل موبایل ===== */
.our-story-sticky-image picture{display:block;width:100%;height:100%;}
.our-story-sticky-image picture img{width:100%;height:100%;object-fit:cover;display:block;}
.our-story-prose p,
.our-story-prose p:nth-child(14),
.our-story-prose p:nth-child(15),
.our-story-prose p:nth-child(16),
.our-story-prose p:nth-child(17),
.our-story-prose p:nth-child(18),
.our-story-prose p:nth-child(19){
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  font-weight:inherit!important;
  color:#26344d!important;
  line-height:1.75!important;
  margin:0 0 6px!important;
}
.our-story-prose p.our-story-poem-line{color:#7f5524!important;}
.pages-mobile-image-admin{margin-top:18px;padding-top:16px;border-top:1px solid #edf1f7;}
.pages-story-mobile-preview{width:100%;border-radius:16px;overflow:hidden;background:#f6f8fc;aspect-ratio:16/9;margin-bottom:12px;border:1px solid #edf1f7;}
.pages-story-mobile-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.pages-mobile-image-admin h4{margin:0 0 5px;color:#172842;font-size:14px;}
.pages-mobile-image-admin p{margin:0 0 10px;color:#718098;font-size:12px;line-height:1.9;}
@media (min-width:981px){
  .our-story-layout-v2{grid-template-columns:minmax(520px,1.22fr) minmax(360px,.78fr)!important;}
  .our-story-sticky-image{aspect-ratio:4/5!important;}
}
@media (max-width:980px){
  .our-story-layout-v2{display:flex!important;flex-direction:column!important;gap:18px!important;}
  .our-story-visual-sidebar{order:1!important;position:relative!important;top:auto!important;}
  .our-story-text-card{order:2!important;}
  .our-story-title-block{margin-bottom:18px!important;}
}
@media (max-width:800px){
  .our-story-page-v2{padding-top:18px!important;}
  .our-story-title-block{text-align:right!important;margin-bottom:16px!important;}
  .our-story-title-block h1{font-size:29px!important;line-height:1.35!important;}
  .our-story-title-block p:not(.eyebrow){font-size:13px!important;line-height:1.9!important;}
  .our-story-layout-v2{gap:15px!important;}
  .our-story-sticky-image{aspect-ratio:16/9!important;border-radius:22px!important;min-height:0!important;height:auto!important;}
  .our-story-sticky-image picture,.our-story-sticky-image img{height:100%!important;min-height:0!important;max-height:none!important;}
  .our-story-image-caption{right:12px!important;left:12px!important;bottom:12px!important;border-radius:17px!important;padding:10px 12px!important;}
  .our-story-image-caption b{font-size:12px!important;}
  .our-story-text-card{padding:22px 18px!important;border-radius:22px!important;}
  .our-story-prose{font-size:14px!important;line-height:1.78!important;}
  .our-story-prose p,
  .our-story-prose p:nth-child(14),
  .our-story-prose p:nth-child(15),
  .our-story-prose p:nth-child(16),
  .our-story-prose p:nth-child(17),
  .our-story-prose p:nth-child(18),
  .our-story-prose p:nth-child(19){line-height:1.78!important;margin-bottom:5px!important;}
}

/* ===== v1.6.7 | جمع‌وجور کردن عناوین صفحه داستان شروع ما ===== */
.our-story-page-v2{
  padding-top:26px!important;
}
.our-story-hero-v2{
  padding-top:0!important;
}
.our-story-title-block{
  max-width:680px!important;
  margin:0 auto 18px!important;
}
.our-story-title-block .eyebrow{
  margin:0 0 4px!important;
  font-size:12px!important;
  line-height:1.6!important;
}
.our-story-title-block h1{
  font-size:clamp(30px,3.2vw,44px)!important;
  line-height:1.2!important;
  margin:4px 0 7px!important;
  letter-spacing:-1.2px!important;
}
.our-story-title-block p:not(.eyebrow){
  max-width:560px!important;
  font-size:13.5px!important;
  line-height:1.75!important;
}
.our-story-layout-v2{
  margin-top:0!important;
}

@media (min-width:981px){
  .our-story-layout-v2{
    gap:24px!important;
  }
}

@media (max-width:800px){
  .our-story-page-v2{
    padding-top:10px!important;
  }
  .our-story-title-block{
    margin-bottom:10px!important;
  }
  .our-story-title-block .eyebrow{
    font-size:11px!important;
    line-height:1.45!important;
    margin-bottom:2px!important;
  }
  .our-story-title-block h1{
    font-size:25px!important;
    line-height:1.22!important;
    margin:2px 0 5px!important;
    letter-spacing:-.6px!important;
  }
  .our-story-title-block p:not(.eyebrow){
    font-size:12px!important;
    line-height:1.65!important;
  }
  .our-story-layout-v2{
    gap:10px!important;
  }
}


/* ===== v1.6.8 | هدر دسکتاپ: برند به اندازه محتوا + منوی همیشه وسط ===== */
@media (min-width:801px){
  .public-header .nav-wrap{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:16px!important;
  }
  .public-header .brand{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:max-content!important;
    margin:0!important;
    padding-left:8px!important;
    padding-right:7px!important;
    z-index:3!important;
  }
  .public-header .brand-with-typewriter{
    width:auto!important;
    min-width:0!important;
    max-width:max-content!important;
  }
  .public-header .brand-with-typewriter .brand-copy{
    width:max-content!important;
    min-width:0!important;
    max-width:132px!important;
    overflow:visible!important;
  }
  .public-header .brand-with-typewriter .brand-text{
    width:max-content!important;
    max-width:132px!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .public-header .brand-with-typewriter .brand-typewriter{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  .public-header .brand-with-typewriter .brand-typewriter [data-typewriter-text]{
    max-width:none!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  .public-header .public-nav,
  .public-nav{
    position:absolute!important;
    right:50%!important;
    left:auto!important;
    top:50%!important;
    transform:translate(50%,-50%)!important;
    margin:0!important;
    width:max-content!important;
    max-width:calc(100% - 420px)!important;
    justify-content:center!important;
    z-index:2!important;
  }
  .public-header .nav-actions{
    flex:0 0 auto!important;
    margin:0!important;
    margin-right:auto!important;
    z-index:3!important;
  }
}
@media (min-width:801px) and (max-width:1120px){
  .public-header .public-nav,
  .public-nav{
    max-width:calc(100% - 330px)!important;
    gap:5px!important;
  }
  .public-nav a{
    padding-right:5px!important;
    padding-left:5px!important;
    font-size:12px!important;
    gap:5px!important;
  }
  .public-nav .ui-icon{
    width:15px!important;
    height:15px!important;
    flex-basis:15px!important;
    font-size:15px!important;
  }
}


/* ===== v1.6.9 | صفحه درباره ما + ویرایشگر درباره ما ===== */
.about-page-v2{padding-top:28px;padding-bottom:72px;background:linear-gradient(180deg,#fff 0%,#fbf7f0 48%,#fff 100%);overflow:hidden;}
.about-hero-v2{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);align-items:center;gap:26px;padding-top:10px;padding-bottom:34px;}
.about-hero-copy{max-width:650px;}
.about-kicker,.about-section-kicker{margin:0 0 7px;color:#9a6a2e;font-weight:800;font-size:12px;letter-spacing:.02em;}
.about-hero-copy h1{margin:0;color:#14233b;font-size:clamp(30px,3.35vw,48px);line-height:1.22;letter-spacing:-1.35px;}
.about-hero-copy p:not(.about-kicker){margin:12px 0 0;color:#536175;font-size:15px;line-height:2;max-width:620px;}
.about-hero-image{margin:0;border-radius:28px;overflow:hidden;aspect-ratio:16/8.8;background:#f3eadc;box-shadow:0 22px 52px rgba(37,33,25,.10);}
.about-hero-image img{width:100%;height:100%;object-fit:cover;display:block;}
.about-why-v2{display:grid;grid-template-columns:132px minmax(0,1fr);gap:22px;align-items:center;margin-top:0;padding:28px;border:1px solid rgba(225,214,199,.78);border-radius:32px;background:rgba(255,255,255,.86);box-shadow:0 20px 55px rgba(34,44,63,.07);}
.about-mark-logo{width:112px;height:112px;border-radius:30px;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#f7efe2);border:1px solid rgba(220,207,188,.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 14px 35px rgba(125,90,45,.12);}
.about-mark-logo img{width:76px;height:76px;object-fit:contain;display:block;}.about-mark-logo span{font-size:42px;font-weight:900;color:#8b5f2e;}
.about-why-v2 h2,.about-section-head h2{margin:0;color:#14233b;font-size:clamp(24px,2.3vw,34px);line-height:1.35;letter-spacing:-.7px;}
.about-why-v2 p:last-child{margin:10px 0 0;color:#4f5f73;line-height:2;font-size:15px;}
.about-values-section,.about-timeline-section{padding-top:52px;}.about-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px;}.about-section-head h2{max-width:680px;}
.about-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.about-value-card{position:relative;overflow:hidden;padding:24px 22px 22px;border-radius:28px;background:rgba(255,255,255,.92);border:1px solid rgba(226,216,202,.82);box-shadow:0 18px 44px rgba(27,39,60,.07);min-height:236px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.about-value-card:before{content:"";position:absolute;inset:auto -22% -36% auto;width:190px;height:190px;border-radius:999px;background:radial-gradient(circle,rgba(191,143,74,.13),transparent 68%);pointer-events:none;}.about-value-card:hover{transform:translateY(-4px);box-shadow:0 24px 58px rgba(27,39,60,.10);border-color:rgba(199,169,128,.9);}
.about-card-media{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;margin-bottom:18px;background:linear-gradient(145deg,#fbf2e5,#fff);border:1px solid rgba(218,199,172,.84);color:#9a6a2e;box-shadow:0 10px 26px rgba(128,91,42,.11);}.about-card-media .ui-icon{width:25px;height:25px}.about-card-media.image{overflow:hidden;padding:0}.about-card-media.image img{width:100%;height:100%;object-fit:cover;display:block;}
.about-value-card h3{margin:0 0 10px;color:#172842;font-size:18px;line-height:1.45;}.about-value-card p{margin:0;color:#5a687b;line-height:1.95;font-size:14px;}
.about-timeline-section{padding-bottom:42px;}.about-timeline-wrap{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,1fr);gap:16px;overflow-x:auto;padding:24px 2px 12px;scroll-snap-type:x proximity;}
.about-timeline-wrap:before{content:"";position:absolute;top:42px;right:18px;left:18px;height:2px;background:linear-gradient(90deg,rgba(169,116,51,.15),rgba(169,116,51,.52),rgba(169,116,51,.15));border-radius:99px;}
.about-timeline-item{position:relative;scroll-snap-align:start;padding-top:36px;}.timeline-dot{position:absolute;top:11px;right:18px;width:18px;height:18px;border-radius:999px;background:#fff;border:5px solid #a97737;box-shadow:0 0 0 7px rgba(169,119,55,.10);z-index:1;}.about-timeline-item time{position:absolute;top:0;right:45px;color:#8d5d25;font-weight:900;font-size:18px;line-height:1;}
.timeline-card{height:100%;padding:20px 18px;border-radius:24px;background:rgba(255,255,255,.94);border:1px solid rgba(224,211,194,.86);box-shadow:0 18px 40px rgba(32,43,62,.07);}.timeline-card ul{margin:0;padding:0;list-style:none;}.timeline-card li{position:relative;margin:0 0 10px;padding-right:15px;color:#526174;font-size:13.5px;line-height:1.85;}.timeline-card li:before{content:"";position:absolute;right:0;top:.82em;width:6px;height:6px;border-radius:999px;background:#b68544;}.timeline-card li:last-child{margin-bottom:0;}
.about-final-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:30px;border-radius:32px;background:linear-gradient(135deg,#172842,#263b5f);color:#fff;box-shadow:0 24px 62px rgba(23,40,66,.18);}.about-final-cta p{margin:0 0 6px;color:#f1c98c;font-weight:800;font-size:13px;}.about-final-cta h2{margin:0;color:#fff;font-size:28px;line-height:1.35}.about-final-cta span{display:block;margin-top:8px;color:rgba(255,255,255,.76);line-height:1.9}.about-final-cta .btn{white-space:nowrap;}
.pages-editor-subcard{margin-top:18px;padding:20px;border:1px solid #e8edf5;border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(25,40,70,.04);}.pages-editor-subcard h4{margin:0 0 14px;color:#172842;font-size:16px;}.pages-subhead-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;}.pages-subhead-row h4{margin:0}.pages-subhead-row small{color:#718098;line-height:1.8}.about-card-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.about-card-admin-item{padding:14px;border:1px solid #edf1f7;border-radius:20px;background:#fbfcfe;}.about-card-admin-item b{display:block;margin-bottom:10px;color:#172842}.about-card-admin-item label,.about-timeline-admin-item label{display:block;margin:10px 0 6px;color:#526174;font-size:12px;font-weight:800}.about-card-admin-item textarea{min-height:98px}.about-timeline-admin-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.about-timeline-admin-item{position:relative;padding:14px;border:1px solid #edf1f7;border-radius:20px;background:#fbfcfe}.about-remove-row{position:absolute;top:10px;left:10px;width:28px;height:28px;border:0;border-radius:999px;background:#fff1f1;color:#b33131;font-size:18px;cursor:pointer}.about-timeline-admin-item textarea{min-height:125px}
@media(max-width:1100px){.about-hero-v2{grid-template-columns:1fr;}.about-hero-copy{max-width:100%;}.about-values-grid,.about-card-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.about-timeline-wrap{grid-auto-columns:minmax(260px,48%);}}
@media(max-width:800px){.about-page-v2{padding-top:12px;padding-bottom:96px}.about-hero-v2{gap:14px;padding-bottom:24px}.about-hero-copy h1{font-size:27px;line-height:1.32}.about-hero-copy p:not(.about-kicker){font-size:13px;line-height:1.85;margin-top:8px}.about-hero-image{border-radius:22px;aspect-ratio:16/9}.about-why-v2{grid-template-columns:1fr;padding:22px;border-radius:24px;gap:14px}.about-mark-logo{width:76px;height:76px;border-radius:22px}.about-mark-logo img{width:54px;height:54px}.about-why-v2 h2,.about-section-head h2{font-size:23px}.about-values-section,.about-timeline-section{padding-top:34px}.about-section-head{display:block;margin-bottom:14px}.about-values-grid,.about-card-admin-grid,.about-timeline-admin-list{grid-template-columns:1fr}.about-value-card{min-height:0;padding:20px;border-radius:24px}.about-timeline-wrap{display:block;overflow:visible;padding:0 18px 0 0}.about-timeline-wrap:before{top:0;bottom:0;right:8px;left:auto;width:2px;height:auto;background:linear-gradient(180deg,rgba(169,116,51,.15),rgba(169,116,51,.52),rgba(169,116,51,.15))}.about-timeline-item{padding:0 22px 18px 0}.timeline-dot{top:2px;right:-1px;width:17px;height:17px;border-width:5px}.about-timeline-item time{position:static;display:block;margin-bottom:10px;font-size:18px}.timeline-card{border-radius:22px;padding:17px}.about-final-cta{display:block;padding:24px;border-radius:26px}.about-final-cta .btn{margin-top:18px;width:100%;justify-content:center}.about-final-cta h2{font-size:23px}.pages-editor-subcard{padding:16px;border-radius:20px}.pages-subhead-row{display:block}.pages-subhead-row .btn{margin-top:10px;width:100%;}}

/* v1.7.0 | Contact page redesign + editor */
.contact-page-v2{padding-top:24px;padding-bottom:74px;}
.contact-hero-v2{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,500px);align-items:center;gap:24px;padding-top:10px;padding-bottom:28px;}
.contact-hero-copy{max-width:720px;}
.contact-kicker,.contact-section-kicker{display:inline-flex;align-items:center;gap:7px;margin:0 0 8px;color:#a97739;font-size:12px;font-weight:900;letter-spacing:-.01em;}
.contact-kicker:before,.contact-section-kicker:before{content:'✦';font-size:13px;color:#d3a55d;}
.contact-hero-copy h1{margin:0;font-size:clamp(28px,3.1vw,43px);line-height:1.34;letter-spacing:-.045em;color:#172842;}
.contact-hero-copy p:not(.contact-kicker){margin:10px 0 0;color:#66758b;font-size:14px;line-height:2.05;max-width:640px;}
.contact-hero-image{margin:0;border-radius:28px;overflow:hidden;aspect-ratio:16/9;background:#eef3f8;box-shadow:0 18px 44px rgba(20,34,58,.08);}
.contact-hero-image img{width:100%;height:100%;display:block;object-fit:cover;}
.contact-main-v2{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.85fr);gap:18px;align-items:start;}
.contact-form-card-v2,.contact-info-panel-v2{padding:26px;border-radius:28px;}
.contact-form-head-v2{display:flex;align-items:center;gap:13px;margin-bottom:20px;}
.contact-head-icon-v2{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#f8eddf,#fff8ee);color:#a87839;font-size:22px;box-shadow:inset 0 0 0 1px rgba(203,154,86,.18);}
.contact-form-head-v2 h2,.contact-info-panel-v2 h2{margin:0;color:#172842;font-size:21px;line-height:1.6;}
.contact-form-head-v2 p{margin:2px 0 0;color:#728095;font-size:12px;line-height:1.85;}
.contact-form-v2 select.input{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#9ba8b8 50%),linear-gradient(135deg,#9ba8b8 50%,transparent 50%);background-position:left 18px center,left 12px center;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-left:34px;}
.contact-info-panel-v2{position:sticky;top:96px;background:linear-gradient(180deg,#fff,#fbfcff);}
.contact-info-panel-v2 h2{font-size:22px;margin-bottom:18px;}
.contact-info-list-v2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.contact-info-item-v2{min-width:0;display:grid;gap:7px;padding:15px;border:1px solid #e8edf5;border-radius:20px;background:#fff;color:#526174;box-shadow:0 12px 30px rgba(24,39,66,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
a.contact-info-item-v2:hover{transform:translateY(-2px);border-color:#d4b177;box-shadow:0 16px 36px rgba(150,108,56,.09);}
.contact-info-item-v2>span{width:39px;height:39px;border-radius:14px;display:grid;place-items:center;background:#f4f7fb;color:#6d84a5;font-size:18px;}
.contact-info-item-v2 b{display:block;font-size:12px;color:#172842;}
.contact-info-item-v2 small{display:block;color:#7c899d;font-size:11px;line-height:1.8;word-break:break-word;direction:ltr;text-align:right;}
.contact-info-item-v2.is-text{grid-column:1/-1;}
.contact-info-item-v2.is-text small{direction:rtl;text-align:right;}
.contact-empty-v2{grid-column:1/-1;margin:0;color:#7d8a9d;font-size:12px;line-height:2;background:#f8fafc;border-radius:18px;padding:14px;}
.contact-subject-head{margin-top:18px;}
.contact-subject-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.contact-subject-admin-item{padding:14px;border:1px solid #edf1f7;border-radius:20px;background:#fbfcfe;}
.contact-subject-admin-item b{display:block;margin-bottom:10px;color:#172842;}
.contact-subject-admin-item label{display:block;margin:10px 0 6px;color:#526174;font-size:12px;font-weight:800;}
@media(max-width:1100px){.contact-hero-v2,.contact-main-v2{grid-template-columns:1fr}.contact-info-panel-v2{position:static}.contact-info-list-v2{grid-template-columns:repeat(2,minmax(0,1fr));}.contact-subject-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){.contact-page-v2{padding-top:12px;padding-bottom:98px}.contact-hero-v2{gap:14px;padding-top:6px;padding-bottom:20px}.contact-hero-copy h1{font-size:27px;line-height:1.35}.contact-hero-copy p:not(.contact-kicker){font-size:13px;line-height:1.85;margin-top:8px}.contact-hero-image{border-radius:22px}.contact-form-card-v2,.contact-info-panel-v2{padding:20px;border-radius:24px}.contact-form-head-v2{align-items:flex-start}.contact-head-icon-v2{width:44px;height:44px;border-radius:15px}.contact-info-list-v2,.contact-subject-admin-grid{grid-template-columns:1fr}.contact-info-panel-v2 h2{font-size:20px}.contact-info-item-v2{border-radius:18px}.pages-contact-editor-form .pages-editor-subcard{padding:16px;border-radius:20px}}

/* v1.7.4 - یکدست‌سازی هدر صفحات درباره ما و ارتباط با ما با داستان‌ها/نویسندگان */
.about-page-v2,
.contact-page-v2{
  padding:24px 0 72px!important;
  background:linear-gradient(180deg,#fffaf3 0%,#fff 38%,#f8fafc 100%)!important;
}
.about-page-v2 .about-hero-v2,
.contact-page-v2 .contact-hero-v2{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(310px,440px)!important;
  gap:22px!important;
  align-items:center!important;
  margin-top:18px!important;
  margin-bottom:18px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.about-page-v2 .about-hero-copy,
.contact-page-v2 .contact-hero-copy{
  max-width:720px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
  position:relative!important;
  overflow:visible!important;
}
.about-page-v2 .about-hero-copy:before,
.contact-page-v2 .contact-hero-copy:before{
  content:none!important;
  display:none!important;
}
.about-page-v2 .about-kicker,
.contact-page-v2 .contact-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 10px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  background:#fff4df!important;
  color:#8b5e1e!important;
  font-weight:800!important;
  font-size:12px!important;
  line-height:1.4!important;
  letter-spacing:0!important;
}
.about-page-v2 .about-kicker:before,
.contact-page-v2 .contact-kicker:before{
  content:"✦"!important;
  font-size:13px!important;
  color:#bd7b23!important;
}
.about-page-v2 .about-hero-copy h1,
.contact-page-v2 .contact-hero-copy h1{
  margin:0!important;
  font-size:clamp(30px,4.2vw,54px)!important;
  line-height:1.18!important;
  color:#182437!important;
  letter-spacing:-.6px!important;
}
.about-page-v2 .about-hero-copy p:not(.about-kicker),
.contact-page-v2 .contact-hero-copy p:not(.contact-kicker){
  margin:10px 0 0!important;
  max-width:680px!important;
  color:#667085!important;
  line-height:1.9!important;
  font-size:15px!important;
}
.about-page-v2 .about-hero-image,
.contact-page-v2 .contact-hero-image{
  height:230px!important;
  aspect-ratio:auto!important;
  margin:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 22px 58px rgba(20,31,48,.16)!important;
  background:#f3f4f6!important;
  border:1px solid rgba(255,255,255,.75)!important;
}
.about-page-v2 .about-hero-image img,
.contact-page-v2 .contact-hero-image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transform:scale(1.01)!important;
}
.about-page-v2 .about-why-v2,
.contact-page-v2 .contact-main-v2{
  margin-top:22px!important;
}
@media(max-width:1100px){
  .about-page-v2 .about-hero-v2,
  .contact-page-v2 .contact-hero-v2{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:800px){
  .about-page-v2,
  .contact-page-v2{
    padding:86px 0 92px!important;
  }
  .about-page-v2 .about-hero-v2,
  .contact-page-v2 .contact-hero-v2{
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:4px!important;
    margin-bottom:14px!important;
  }
  .about-page-v2 .about-hero-copy,
  .contact-page-v2 .contact-hero-copy{
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
  }
  .about-page-v2 .about-hero-copy h1,
  .contact-page-v2 .contact-hero-copy h1{
    font-size:32px!important;
    line-height:1.26!important;
  }
  .about-page-v2 .about-hero-copy p:not(.about-kicker),
  .contact-page-v2 .contact-hero-copy p:not(.contact-kicker){
    font-size:13px!important;
    line-height:1.85!important;
    margin-top:8px!important;
  }
  .about-page-v2 .about-hero-image,
  .contact-page-v2 .contact-hero-image{
    height:170px!important;
    border-radius:22px!important;
  }
}

/* v1.7.5 - desktop telegram launcher and modern editable footer */
.public-header .public-telegram-desktop-button{
  display:inline-grid!important;
  place-items:center;
  width:38px!important;
  height:38px!important;
  border:1px solid rgba(199,154,85,.24)!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#fff,#f8f3eb)!important;
  color:#2d7fb7!important;
  box-shadow:0 9px 20px rgba(22,41,78,.08)!important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease!important;
}
.public-header .public-telegram-desktop-button .ui-icon,
.public-header .public-telegram-desktop-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.public-header .public-telegram-desktop-button:hover{transform:translateY(-2px);border-color:rgba(45,127,183,.34)!important;background:linear-gradient(145deg,#ffffff,#eef8ff)!important;box-shadow:0 14px 28px rgba(45,127,183,.13)!important}
.modern-public-footer.public-footer{position:relative;overflow:hidden;margin-top:0!important;padding:0!important;background:radial-gradient(circle at 14% 8%,rgba(255,255,255,.08),transparent 25%),linear-gradient(135deg,var(--footer-bg),#0b1324)!important;color:#d9e2f2;border-top:1px solid rgba(255,255,255,.08)}
.modern-public-footer .footer-ornament{position:absolute;inset:auto -12% -45% auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle, color-mix(in srgb, var(--footer-accent) 35%, transparent), transparent 68%);opacity:.65;pointer-events:none}
.footer-modern-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .86fr 1fr;gap:22px;padding:36px 0 26px}.footer-intro-card,.footer-quick-card,.footer-contact-card{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);border-radius:24px;padding:22px;box-shadow:0 24px 60px rgba(0,0,0,.14);backdrop-filter:blur(8px)}.footer-intro-card{background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}.footer-intro-head{display:flex;align-items:center;gap:13px}.footer-intro-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,var(--footer-accent),color-mix(in srgb,var(--footer-accent) 68%,#1b2a4d));color:#fff;box-shadow:0 13px 28px color-mix(in srgb,var(--footer-accent) 24%,transparent)}.footer-intro-icon img{width:100%;height:100%;object-fit:cover;border-radius:18px}.footer-intro-icon svg{width:24px;height:24px}.footer-intro-card h3{margin:0;color:#fff;font-size:20px;letter-spacing:-.6px}.footer-intro-card small{display:block;color:#d4b984;font-size:11px;font-weight:800;margin-top:3px}.footer-intro-card p{margin:16px 0 0!important;color:#b7c3d8!important;font-size:13px;line-height:2.15!important}.footer-quick-card h4,.footer-contact-card h4{display:flex;align-items:center;gap:9px;margin:0 0 15px!important;color:#fff!important;font-size:15px}.footer-quick-card h4>span,.footer-contact-card h4>span{width:30px;height:30px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.08);color:var(--footer-accent)}.footer-quick-card h4 svg,.footer-contact-card h4 svg{width:16px;height:16px}.footer-quick-links{display:grid;gap:8px}.footer-quick-links a,.footer-contact-list a,.footer-address{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:10px 11px;border-radius:14px;color:#c6d2e6!important;background:rgba(255,255,255,.035);transition:background .2s ease,color .2s ease,transform .2s ease}.footer-quick-links a span,.footer-contact-list a span,.footer-address span{width:27px;height:27px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.07);color:var(--footer-accent);transition:.2s}.footer-quick-links a b,.footer-contact-list a b,.footer-address b{font-size:12px;font-weight:800;line-height:1.8}.footer-quick-links a:hover,.footer-contact-list a:hover{transform:translateX(-3px);background:rgba(255,255,255,.085);color:#fff!important}.footer-quick-links a:hover span,.footer-contact-list a:hover span{background:var(--footer-accent);color:#fff}.footer-contact-list{display:grid;gap:8px}.footer-address{align-items:flex-start}.footer-modern-bottom{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 19px;color:#94a2ba;font-size:12px}.footer-modern-bottom p{margin:0!important;color:#aebbd0!important;line-height:2!important}.footer-modern-bottom i{font-style:normal;color:#e8485f;font-size:15px;vertical-align:-1px}.footer-modern-bottom a{display:inline!important;margin:0!important;color:#fff!important;font-weight:900;border-bottom:1px dashed color-mix(in srgb,var(--footer-accent) 65%,transparent);padding-bottom:2px}.pages-footer-editor-form input[type="color"]{height:44px;padding:4px;border-radius:12px}
@media(max-width:900px){.public-header .public-telegram-desktop-button{display:none!important}.footer-modern-grid{grid-template-columns:1fr;padding:28px 0 20px}.footer-modern-bottom{flex-direction:column;align-items:flex-start}.modern-public-footer .footer-ornament{width:260px;height:260px;left:-120px;right:auto;bottom:-120px}.footer-intro-card,.footer-quick-card,.footer-contact-card{border-radius:20px;padding:19px}}


/* v1.7.6 | clean footer spacing and heart text */
.modern-public-footer.public-footer{
  margin-top:44px!important;
  padding:0!important;
  border-top:0!important;
}
.modern-public-footer .footer-ornament{
  opacity:.38!important;
}
.footer-modern-grid{
  gap:24px!important;
  padding:30px 0 22px!important;
  align-items:start!important;
}
.footer-intro-card,
.footer-quick-card,
.footer-contact-card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  border-radius:0!important;
  padding:0!important;
}
.footer-intro-head{
  gap:10px!important;
}
.footer-intro-icon,
.footer-quick-card h4>span,
.footer-contact-card h4>span,
.footer-quick-links a span,
.footer-contact-list a span,
.footer-address span{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  color:var(--footer-accent)!important;
}
.footer-intro-icon{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}
.footer-intro-icon img{
  border-radius:10px!important;
}
.footer-intro-icon svg{
  width:22px!important;
  height:22px!important;
}
.footer-intro-card h3{
  font-size:19px!important;
}
.footer-intro-card small{
  margin-top:1px!important;
}
.footer-intro-card p{
  margin-top:12px!important;
  line-height:1.9!important;
}
.footer-quick-card h4,
.footer-contact-card h4{
  margin-bottom:10px!important;
  gap:7px!important;
}
.footer-quick-card h4>span,
.footer-contact-card h4>span{
  width:22px!important;
  height:22px!important;
}
.footer-quick-card h4 svg,
.footer-contact-card h4 svg{
  width:15px!important;
  height:15px!important;
}
.footer-quick-links,
.footer-contact-list{
  gap:3px!important;
}
.footer-quick-links a,
.footer-contact-list a,
.footer-address{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:5px 0!important;
  gap:7px!important;
}
.footer-quick-links a span,
.footer-contact-list a span,
.footer-address span{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
}
.footer-quick-links a svg,
.footer-contact-list a svg,
.footer-address svg{
  width:14px!important;
  height:14px!important;
}
.footer-quick-links a b,
.footer-contact-list a b,
.footer-address b{
  line-height:1.65!important;
}
.footer-quick-links a:hover,
.footer-contact-list a:hover{
  background:transparent!important;
  color:#fff!important;
  transform:translateX(-2px)!important;
}
.footer-quick-links a:hover span,
.footer-contact-list a:hover span{
  background:transparent!important;
  color:var(--footer-accent)!important;
}
.footer-modern-bottom{
  border-top:0!important;
  margin-top:12px!important;
  padding:10px 0 18px!important;
}
.footer-modern-bottom i,
.footer-modern-bottom .footer-heart{
  font-style:normal!important;
  color:#e8485f!important;
  font-size:15px!important;
  vertical-align:-1px!important;
}
.footer-modern-bottom a{
  border-bottom:1px dashed color-mix(in srgb,var(--footer-accent) 65%,transparent)!important;
}
@media(max-width:900px){
  .modern-public-footer.public-footer{margin-top:32px!important}
  .footer-modern-grid{gap:20px!important;padding:26px 0 18px!important}
  .footer-intro-card,.footer-quick-card,.footer-contact-card{padding:0!important;border-radius:0!important}
  .footer-modern-bottom{padding-bottom:84px!important}
}

/* v1.7.7 | premium two-tone footer rebuild */
.modern-public-footer.public-footer{
  margin-top:48px!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  background:
    radial-gradient(circle at 86% -8%, color-mix(in srgb,var(--footer-accent) 20%, transparent), transparent 30%),
    radial-gradient(circle at 11% 16%, rgba(255,255,255,.075), transparent 24%),
    linear-gradient(145deg, color-mix(in srgb,var(--footer-bg) 92%, #243b6d 8%), #0c1629)!important;
  color:#dce5f4!important;
}
.modern-public-footer .footer-ornament{
  width:520px!important;
  height:520px!important;
  right:auto!important;
  left:-210px!important;
  bottom:-300px!important;
  background:radial-gradient(circle, color-mix(in srgb,var(--footer-accent) 22%, transparent), transparent 70%)!important;
  opacity:.42!important;
}
.footer-modern-grid{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:.92fr .62fr .86fr!important;
  gap:48px!important;
  align-items:start!important;
  padding:44px 0 34px!important;
}
.footer-intro-card,
.footer-quick-card,
.footer-contact-card{
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  border-radius:0!important;
}
.footer-intro-head{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0 0 13px!important;
}
.footer-intro-icon{
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  color:var(--footer-accent)!important;
}
.footer-intro-icon img{
  width:46px!important;
  height:46px!important;
  object-fit:contain!important;
  border-radius:0!important;
}
.footer-intro-icon svg{
  width:28px!important;
  height:28px!important;
  stroke-width:1.8!important;
}
.footer-intro-card h3{
  margin:0!important;
  color:#fff!important;
  font-size:21px!important;
  line-height:1.45!important;
  font-weight:950!important;
  letter-spacing:-.8px!important;
}
.footer-intro-card small{
  display:block!important;
  color:color-mix(in srgb,var(--footer-accent) 78%, #fff 22%)!important;
  font-size:11px!important;
  font-weight:900!important;
  margin-top:2px!important;
  letter-spacing:.1px!important;
}
.footer-intro-card p{
  max-width:340px!important;
  margin:0!important;
  color:#aebbd1!important;
  font-size:12.5px!important;
  line-height:1.95!important;
}
.footer-quick-card h4,
.footer-contact-card h4{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0 0 15px!important;
  padding:0 0 11px!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:1.55!important;
  font-weight:950!important;
  letter-spacing:-.35px!important;
}
.footer-quick-card h4:after,
.footer-contact-card h4:after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:44px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, var(--footer-accent));
  opacity:.92;
}
.footer-quick-card h4>span,
.footer-contact-card h4>span{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  display:grid!important;
  place-items:center!important;
  color:var(--footer-accent)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.footer-quick-card h4 svg,
.footer-contact-card h4 svg{
  width:19px!important;
  height:19px!important;
  stroke-width:1.9!important;
}
.footer-quick-links,
.footer-contact-list{
  display:grid!important;
  gap:5px!important;
}
.footer-quick-links a,
.footer-contact-list a,
.footer-address{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:28px!important;
  margin:0!important;
  padding:2px 0!important;
  color:#b8c5da!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  transition:color .18s ease, transform .18s ease!important;
}
.footer-quick-links a span,
.footer-contact-list a span,
.footer-address span{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  display:grid!important;
  place-items:center!important;
  color:color-mix(in srgb,var(--footer-accent) 86%, #fff 14%)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  transition:color .18s ease, transform .18s ease!important;
}
.footer-quick-links a svg,
.footer-contact-list a svg,
.footer-address svg{
  width:14px!important;
  height:14px!important;
  stroke-width:2!important;
}
.footer-quick-links a b,
.footer-contact-list a b,
.footer-address b{
  color:inherit!important;
  font-size:12px!important;
  line-height:1.65!important;
  font-weight:750!important;
}
.footer-quick-links a:hover,
.footer-contact-list a:hover{
  color:#fff!important;
  transform:translateX(-4px)!important;
  background:transparent!important;
}
.footer-quick-links a:hover span,
.footer-contact-list a:hover span{
  color:var(--footer-accent)!important;
  transform:scale(1.12)!important;
  background:transparent!important;
}
.footer-address{
  align-items:flex-start!important;
}
.footer-modern-bottom-wrap{
  position:relative!important;
  z-index:2!important;
  background:linear-gradient(145deg, color-mix(in srgb,var(--footer-bg) 78%, #020617 22%), #070d19)!important;
}
.footer-modern-bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0!important;
  padding:15px 0 16px!important;
  color:#8f9cb2!important;
  font-size:12px!important;
  border:0!important;
}
.footer-modern-bottom span{
  color:#8997ad!important;
  font-size:11.5px!important;
  font-weight:700!important;
}
.footer-modern-bottom p{
  margin:0!important;
  color:#aebbd0!important;
  line-height:1.9!important;
  font-size:12px!important;
}
.footer-modern-bottom .footer-heart{
  color:#e8485f!important;
  font-size:15px!important;
  vertical-align:-1px!important;
}
.footer-modern-bottom a{
  display:inline!important;
  margin:0!important;
  color:#fff!important;
  font-weight:950!important;
  padding-bottom:2px!important;
  border-bottom:1px dashed color-mix(in srgb,var(--footer-accent) 65%, transparent)!important;
}
@media(max-width:900px){
  .modern-public-footer.public-footer{margin-top:34px!important;}
  .footer-modern-grid{grid-template-columns:1fr!important;gap:26px!important;padding:34px 0 24px!important;}
  .footer-intro-card p{max-width:100%!important;}
  .footer-modern-bottom{flex-direction:column!important;align-items:flex-start!important;gap:6px!important;padding:14px 0 calc(82px + env(safe-area-inset-bottom))!important;}
  .modern-public-footer .footer-ornament{width:300px!important;height:300px!important;left:-150px!important;bottom:-170px!important;}
}


/* v1.7.8 footer refinements */
.footer-modern-bottom{
  justify-content:center!important;
  gap:clamp(30px,7vw,110px)!important;
  text-align:center!important;
}
.footer-modern-bottom>span,
.footer-modern-bottom>p{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  white-space:nowrap!important;
}
.footer-modern-bottom a{
  border-bottom:0!important;
  text-decoration:none!important;
  color:#c9d5e8!important;
  padding-bottom:0!important;
  transition:color .18s ease,opacity .18s ease!important;
}
.footer-modern-bottom a:hover{
  color:color-mix(in srgb,var(--footer-accent) 82%, #fff 18%)!important;
  text-decoration:none!important;
}
.footer-quick-links{gap:4px!important;}
.footer-quick-links a{min-height:26px!important;padding:1px 0!important;}
@media(max-width:900px){
  .footer-modern-bottom{
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    text-align:center!important;
  }
  .footer-modern-bottom>span,
  .footer-modern-bottom>p{
    white-space:normal!important;
  }
}


/* v1.7.9 | footer spacing is controlled by page body, bottom row edge alignment */
body.public-body main:not(.panel-main){
  padding-bottom:52px!important;
}
body.public-body .modern-public-footer.public-footer{
  margin-top:0!important;
}
body.public-body .modern-public-footer.public-footer:before{
  content:none!important;
  display:none!important;
}
.footer-modern-bottom{
  justify-content:space-between!important;
  gap:24px!important;
  text-align:initial!important;
  max-width:none!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:15px 50px 16px!important;
}
.footer-modern-bottom>span{
  margin-right:0!important;
  justify-content:flex-start!important;
  text-align:right!important;
}
.footer-modern-bottom>p{
  margin-left:0!important;
  justify-content:flex-end!important;
  text-align:left!important;
}
.footer-modern-bottom>span,
.footer-modern-bottom>p{
  white-space:nowrap!important;
}
@media(max-width:900px){
  body.public-body main:not(.panel-main){
    padding-bottom:38px!important;
  }
  body.public-body .modern-public-footer.public-footer{
    margin-top:0!important;
  }
  .footer-modern-bottom{
    max-width:100%!important;
    padding:14px 18px calc(82px + env(safe-area-inset-bottom))!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    text-align:center!important;
  }
  .footer-modern-bottom>span,
  .footer-modern-bottom>p{
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
  }
}


/* v1.8.0 | align footer bottom row to the standard site container */
body.public-body .modern-public-footer .footer-modern-bottom-wrap{
  padding-inline:0!important;
}
body.public-body .modern-public-footer .footer-modern-bottom.container{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:15px 0 16px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>span{
  margin:0!important;
  flex:0 0 auto!important;
  justify-content:flex-start!important;
  text-align:right!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>p{
  margin:0!important;
  flex:0 1 auto!important;
  justify-content:flex-end!important;
  text-align:left!important;
}
@media(max-width:900px){
  body.public-body .modern-public-footer .footer-modern-bottom.container{
    width:min(100% - 32px,1180px)!important;
    padding:14px 0 calc(82px + env(safe-area-inset-bottom))!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    text-align:center!important;
  }
  body.public-body .modern-public-footer .footer-modern-bottom>span,
  body.public-body .modern-public-footer .footer-modern-bottom>p{
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
  }
}


/* v1.8.1 | configurable middle text in footer bottom row */
body.public-body .modern-public-footer .footer-modern-bottom.container{
  grid-template-columns:1fr auto 1fr!important;
  display:grid!important;
  align-items:center!important;
  column-gap:28px!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>span{
  justify-self:start!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>.footer-bottom-middle{
  justify-self:center!important;
  margin:0!important;
  max-width:360px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  line-height:1.7!important;
  color:color-mix(in srgb,#fff 64%,var(--footer-accent) 36%)!important;
  text-align:center!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>p{
  justify-self:end!important;
}
@media(max-width:900px){
  body.public-body .modern-public-footer .footer-modern-bottom.container{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
  }
  body.public-body .modern-public-footer .footer-modern-bottom>.footer-bottom-middle{
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    order:2!important;
  }
  body.public-body .modern-public-footer .footer-modern-bottom>span{order:1!important;}
  body.public-body .modern-public-footer .footer-modern-bottom>p{order:3!important;}
}


/* v1.8.2 | slightly rounded footer logo */
body.public-body .modern-public-footer .footer-intro-icon,
body.public-body .modern-public-footer .footer-intro-icon img{
  border-radius:12px!important;
  overflow:hidden!important;
}
body.public-body .modern-public-footer .footer-intro-icon img{
  display:block!important;
}


/* v1.8.3 | rewrite footer middle text + preserve rounded logo */
body.public-body .modern-public-footer .footer-modern-bottom.container{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:24px!important;
  max-width:var(--container)!important;
  margin-inline:auto!important;
  padding-inline:24px!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>span{
  justify-self:start!important;
  text-align:right!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>.footer-bottom-middle{
  justify-self:center!important;
  text-align:center!important;
  color:rgba(255,255,255,.58)!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
body.public-body .modern-public-footer .footer-modern-bottom>p{
  justify-self:end!important;
  text-align:left!important;
}
body.public-body .modern-public-footer .footer-intro-icon,
body.public-body .modern-public-footer .footer-intro-icon img{
  border-radius:12px!important;
  overflow:hidden!important;
}
@media (max-width:800px){
  body.public-body .modern-public-footer .footer-modern-bottom.container{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    text-align:center!important;
    padding-inline:18px!important;
  }
  body.public-body .modern-public-footer .footer-modern-bottom>span,
  body.public-body .modern-public-footer .footer-modern-bottom>.footer-bottom-middle,
  body.public-body .modern-public-footer .footer-modern-bottom>p{
    justify-self:auto!important;
    text-align:center!important;
    white-space:normal!important;
  }
}

/* v1.8.4 — premium story reading page */
.story-page-shell{
    padding-block: clamp(28px, 4vw, 54px) 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(199,154,85,.10), transparent 30%),
        radial-gradient(circle at 92% 25%, rgba(47,74,116,.08), transparent 32%);
}
.story-page-grid{
    display:grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    grid-template-areas:"sidebar content";
    gap: clamp(18px, 2.4vw, 30px);
    align-items:start;
    direction:ltr;
}
.story-sidebar{grid-area:sidebar;direction:rtl;display:flex;flex-direction:column;gap:16px;position:sticky;top:118px;}
.story-reader-card{grid-area:content;direction:rtl;min-width:0;}
.story-side-card,
.story-reader-card,
.story-comments-panel{
    border:1px solid rgba(219,208,190,.72);
    background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,250,242,.9));
    box-shadow:0 20px 54px rgba(38,32,24,.08);
    border-radius:30px;
}
.story-reader-card{
    position:relative;
    overflow:hidden;
    padding:clamp(26px, 4.6vw, 56px);
}
.story-reader-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:6px;
    background:linear-gradient(90deg, rgba(199,154,85,.25), rgba(199,154,85,.95), rgba(47,74,116,.55));
}
.story-reader-head{border-bottom:1px solid rgba(219,208,190,.72);padding-bottom:24px;margin-bottom:30px;}
.story-reader-kicker{display:flex;align-items:center;gap:10px;color:#9a7643;font-weight:900;font-size:.82rem;margin-bottom:12px;}
.story-reader-kicker i{width:5px;height:5px;border-radius:50%;background:#c79a55;display:inline-flex;}
.story-reader-head h1{font-size:clamp(2rem, 4.2vw, 3.75rem);line-height:1.25;margin:0;color:#17213a;letter-spacing:-.04em;}
.story-reader-excerpt{margin:16px 0 0;max-width:720px;color:#665b4f;font-size:1.02rem;line-height:2.05;}
.story-reader-byline{display:flex;align-items:center;gap:12px;margin-top:22px;color:#5d5348;}
.story-reader-byline img{width:50px;height:50px;border-radius:18px;object-fit:cover;border:1px solid rgba(219,208,190,.72);}
.story-reader-byline span{display:block;font-weight:800;}
.story-reader-byline a{color:#9a6a27;text-decoration:none;}
.story-reader-byline small{display:block;color:#8d8174;margin-top:4px;}
.story-prose{
    max-width:820px;
    font-size:clamp(1.03rem, 1.45vw, 1.16rem);
    line-height:2.35;
    color:#2d281f;
    letter-spacing:-.01em;
    word-break:break-word;
}
.story-prose::first-letter{font-size:1.9em;font-weight:900;color:#9b702f;line-height:1;}
.story-side-card{padding:20px;}
.story-side-title{display:flex;align-items:center;gap:9px;margin-bottom:16px;font-weight:950;color:#17213a;}
.story-side-title .ui-icon{width:20px;height:20px;color:#b2823d;}
.story-author-box{display:flex;gap:12px;align-items:center;}
.story-author-box img{width:64px;height:64px;border-radius:22px;object-fit:cover;border:1px solid rgba(219,208,190,.7);box-shadow:0 12px 22px rgba(35,28,20,.08);}
.story-author-box h3{margin:0 0 6px;font-size:1.02rem;color:#18243d;}
.story-author-box p{margin:0;color:#766b60;line-height:1.8;font-size:.9rem;}
.story-author-stats{display:grid;gap:8px;margin:17px 0;}
.story-author-stats span,
.story-meta-list div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed rgba(183,168,144,.42);color:#796e61;font-size:.9rem;}
.story-author-stats strong,
.story-meta-list strong{color:#18243d;font-weight:950;white-space:nowrap;}
.story-meta-list div:last-child,.story-author-stats span:last-child{border-bottom:0;}
.story-side-card .btn.full{width:100%;justify-content:center;}
.story-similar-list{display:grid;gap:10px;}
.story-similar-item{display:block;text-decoration:none;color:inherit;padding:13px 0;border-bottom:1px solid rgba(220,209,191,.55);transition:transform .18s ease,color .18s ease;}
.story-similar-item:last-child{border-bottom:0;}
.story-similar-item:hover{transform:translateX(-4px);}
.story-similar-item span{display:inline-flex;color:#a2793a;font-size:.78rem;font-weight:900;margin-bottom:6px;}
.story-similar-item strong{display:block;color:#17213a;line-height:1.7;font-size:.95rem;}
.story-similar-item small{display:block;color:#8a8175;margin-top:5px;}
.story-side-empty{color:#80766b;line-height:1.9;margin:0;}
.story-comments-panel{margin-top:26px;padding:clamp(22px, 3vw, 34px);direction:rtl;}
.story-comments-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;}
.story-comments-head span{display:block;color:#9a7643;font-weight:900;font-size:.86rem;margin-bottom:4px;}
.story-comments-head h2{margin:0;color:#17213a;font-size:clamp(1.35rem,2.6vw,2.05rem);}
.story-comments-head strong{display:inline-flex;align-items:center;justify-content:center;min-width:70px;height:38px;border-radius:999px;background:rgba(199,154,85,.12);color:#9a6a27;font-size:.9rem;}
.story-comment-form-card{background:rgba(255,255,255,.62);border-radius:24px;padding:18px;margin-bottom:20px;}
.story-comment-form label{display:block;font-weight:950;color:#17213a;margin-bottom:10px;}
.story-comment-form textarea{width:100%;resize:vertical;border:1px solid rgba(213,202,184,.9);border-radius:20px;padding:16px 18px;background:#fffdf9;color:#2f2a23;font-family:inherit;font-size:.98rem;line-height:1.9;outline:none;transition:border-color .2s ease, box-shadow .2s ease;}
.story-comment-form textarea:focus{border-color:rgba(199,154,85,.75);box-shadow:0 0 0 4px rgba(199,154,85,.12);}
.story-comment-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;}
.story-comment-actions small{color:#80766b;line-height:1.8;}
.story-login-comment{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.story-login-comment h3{margin:0 0 6px;color:#17213a;}
.story-login-comment p{margin:0;color:#7b7064;line-height:1.8;}
.story-comments-list{display:grid;gap:12px;}
.story-comment-item{display:grid;grid-template-columns:48px 1fr;gap:12px;background:rgba(255,255,255,.56);border:1px solid rgba(219,208,190,.52);border-radius:22px;padding:14px;}
.story-comment-item>img{width:48px;height:48px;border-radius:17px;object-fit:cover;}
.story-comment-item header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;}
.story-comment-item header a{font-weight:950;color:#17213a;text-decoration:none;}
.story-comment-item time{font-size:.78rem;color:#958a7f;white-space:nowrap;}
.story-comment-item p{margin:0;color:#3b342c;line-height:2;}
.story-comments-empty{padding:24px;border-radius:22px;background:rgba(255,255,255,.55);color:#766b60;text-align:center;font-weight:800;}
@media (max-width: 980px){
    .story-page-grid{grid-template-columns:1fr;grid-template-areas:"content" "sidebar";}
    .story-sidebar{position:static;}
    .story-reader-card{padding:24px;}
    .story-prose{max-width:none;line-height:2.2;}
}
@media (max-width: 640px){
    .story-page-shell{padding-block:22px 0;}
    .story-reader-card,.story-side-card,.story-comments-panel{border-radius:24px;}
    .story-reader-head{padding-bottom:18px;margin-bottom:22px;}
    .story-reader-byline{align-items:flex-start;}
    .story-comment-actions,.story-login-comment,.story-comments-head{align-items:stretch;flex-direction:column;}
    .story-comment-actions .btn,.story-login-comment .btn{width:100%;justify-content:center;}
    .story-comment-item{grid-template-columns:40px 1fr;padding:12px;border-radius:18px;}
    .story-comment-item>img{width:40px;height:40px;border-radius:14px;}
    .story-comment-item header{align-items:flex-start;flex-direction:column;gap:2px;}
}


/* v1.8.5 — story page column, comments and title refinement */
.story-reader-card .story-comments-panel{
  margin-top:clamp(24px,3vw,38px);
  padding:clamp(20px,2.8vw,30px) 0 0;
  border:0;
  border-top:1px solid rgba(219,208,190,.72);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.story-reader-head{
  padding-bottom:20px;
  margin-bottom:26px;
}
.story-reader-head h1{
  font-size:clamp(1.62rem,2.75vw,2.65rem);
  line-height:1.38;
  letter-spacing:-.03em;
  max-width:820px;
}
.story-reader-excerpt{
  margin-top:12px;
  max-width:760px;
  font-size:.96rem;
  line-height:1.95;
}
.story-reader-byline{display:none!important;}
.story-reader-card>.story-comments-panel .story-comments-head h2{
  font-size:clamp(1.16rem,2vw,1.55rem);
}
.story-reader-card>.story-comments-panel .story-comment-form-card,
.story-reader-card>.story-comments-panel .story-comment-item,
.story-reader-card>.story-comments-panel .story-comments-empty{
  background:rgba(255,255,255,.52);
}
@media (max-width: 640px){
  .story-reader-head h1{font-size:clamp(1.45rem,7vw,2.05rem);}
  .story-reader-card .story-comments-panel{margin-top:24px;padding-top:20px;}
}

/* v1.8.6 — story reading details polish */
.story-main-column{
  grid-area:content;
  direction:rtl;
  min-width:0;
  display:grid;
  gap:clamp(20px,2.6vw,30px);
}
.story-main-column>.story-reader-card{grid-area:auto;}
.story-reader-head{
  padding-bottom:18px!important;
  margin-bottom:22px!important;
}
.story-reader-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:clamp(16px,2.4vw,28px);
}
.story-reader-title-copy{
  flex:1 1 auto;
  min-width:0;
}
.story-reader-kicker{display:none!important;}
.story-head-meta-stack{
  flex:0 0 136px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  margin-top:4px;
}
.story-head-meta-stack span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(199,154,85,.13),rgba(255,255,255,.78));
  border:1px solid rgba(199,154,85,.22);
  color:#8f652b;
  font-size:.78rem;
  font-weight:950;
  line-height:1.45;
  text-align:center;
  box-shadow:0 9px 20px rgba(50,39,25,.045);
}
.story-reader-head h1{
  font-size:clamp(1.42rem,2.25vw,2.18rem)!important;
  line-height:1.42!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
  color:#14203a!important;
  max-width:780px!important;
}
.story-reader-excerpt{
  margin-top:10px!important;
  max-width:700px!important;
  color:#76654f!important;
  font-size:.93rem!important;
  line-height:1.78!important;
  font-weight:650;
  padding-right:12px;
  border-right:3px solid rgba(199,154,85,.48);
}
.story-prose{
  line-height:2.12!important;
  font-size:clamp(1rem,1.35vw,1.1rem)!important;
}
.story-comments-separated{
  margin-top:0!important;
  padding:clamp(20px,2.8vw,32px)!important;
  border:1px solid rgba(219,208,190,.72)!important;
  border-radius:30px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,250,242,.9))!important;
  box-shadow:0 20px 54px rgba(38,32,24,.08)!important;
}
.story-comments-separated .story-comments-head h2{
  font-size:clamp(1.16rem,2vw,1.55rem)!important;
}
.story-comments-separated .story-comment-form-card,
.story-comments-separated .story-comment-item,
.story-comments-separated .story-comments-empty{
  background:rgba(255,255,255,.58)!important;
}
.story-author-side{
  padding:16px!important;
}
.story-author-side .story-side-title{
  margin-bottom:11px!important;
}
.story-author-box{
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
}
.story-author-box img{
  width:56px!important;
  height:56px!important;
  border-radius:18px!important;
}
.story-author-box h3{
  margin:0!important;
  font-size:.94rem!important;
  line-height:1.45!important;
}
.story-author-box p{
  margin:3px auto 0!important;
  max-width:210px!important;
  color:#7d7267!important;
  line-height:1.55!important;
  font-size:.78rem!important;
}
.story-author-stats{
  gap:4px!important;
  margin:12px 0!important;
}
.story-author-stats span{
  padding:7px 0!important;
  font-size:.78rem!important;
  line-height:1.45!important;
}
.story-author-stats strong{
  font-size:.82rem!important;
}
.story-author-side .btn.full{
  min-height:38px;
  padding-block:8px;
  font-size:.78rem;
}
@media (max-width: 980px){
  .story-main-column{grid-area:content;}
  .story-sidebar{grid-area:sidebar;}
}
@media (max-width: 640px){
  .story-reader-title-row{
    flex-direction:column;
    gap:12px;
  }
  .story-head-meta-stack{
    flex:0 0 auto;
    width:100%;
    flex-direction:row;
    justify-content:flex-start;
    flex-wrap:wrap;
    margin-top:0;
  }
  .story-head-meta-stack span{
    min-height:32px;
    padding:6px 10px;
    font-size:.74rem;
  }
  .story-reader-excerpt{
    font-size:.88rem!important;
    line-height:1.72!important;
  }
  .story-prose{line-height:2.04!important;}
  .story-comments-separated{border-radius:24px!important;padding:20px!important;}
}


/* v1.8.7 — header-aware public spacing and tighter story reading top area */
body.public-body.has-public-header{
  --dn-public-mobile-safe-top:0px;
  --dn-story-desktop-top:16px;
}
body.public-body.has-public-header > main:not(.panel-main){
  scroll-margin-top:96px;
}
@media (min-width:801px){
  body.public-body.has-public-header > main.story-page-shell{
    padding-top:var(--dn-story-desktop-top)!important;
  }
  body.public-body.has-public-header .story-page-grid{
    padding-top:0!important;
  }
}
.story-page-shell{
  padding-block:var(--dn-story-desktop-top) 0!important;
}
.story-reader-card{
  padding:clamp(18px,3vw,40px) clamp(22px,4vw,52px) clamp(24px,4.2vw,52px)!important;
}
.story-reader-head{
  padding-bottom:12px!important;
  margin-bottom:16px!important;
}
.story-prose{
  padding-top:0!important;
  line-height:2.02!important;
}
@media (max-width:800px){
  body.public-body.has-public-header{
    --dn-public-mobile-safe-top:calc(78px + env(safe-area-inset-top));
  }
  body.public-body.has-public-header > main:not(.panel-main){
    padding-top:var(--dn-public-mobile-safe-top)!important;
  }
  body.public-body.has-public-header > main.story-page-shell{
    padding-top:calc(86px + env(safe-area-inset-top))!important;
  }
  body.public-body.has-public-header .story-reader-card{
    padding-top:22px!important;
  }
  body.public-body.has-public-header .story-reader-head{
    margin-bottom:18px!important;
  }
}
@media (max-width:430px){
  body.public-body.has-public-header{
    --dn-public-mobile-safe-top:calc(72px + env(safe-area-inset-top));
  }
  body.public-body.has-public-header > main.story-page-shell{
    padding-top:calc(80px + env(safe-area-inset-top))!important;
  }
}


/* v1.8.8 — align story columns and refine public top spacing */
body.public-body.has-public-header{
  --dn-public-desktop-safe-top:24px;
  --dn-story-desktop-top:24px;
}
@media (min-width:801px){
  body.public-body.has-public-header > main:not(.panel-main){
    padding-top:var(--dn-public-desktop-safe-top)!important;
  }
  body.public-body.has-public-header > main.story-page-shell,
  body.public-body.has-public-header .story-page-shell{
    padding-top:var(--dn-story-desktop-top)!important;
  }
  body.public-body.has-public-header .story-page-grid{
    align-items:start!important;
    padding-top:0!important;
  }
  body.public-body.has-public-header .story-sidebar,
  body.public-body.has-public-header .story-main-column{
    align-self:start!important;
    margin-top:0!important;
    padding-top:0!important;
    transform:none!important;
  }
  body.public-body.has-public-header .story-sidebar > .story-side-card:first-child,
  body.public-body.has-public-header .story-main-column > .story-reader-card{
    margin-top:0!important;
  }
  body.public-body.has-public-header .story-sidebar{
    top:calc(96px + var(--dn-public-desktop-safe-top))!important;
  }
  body.public-body.has-public-header .story-reader-card{
    padding-top:12px!important;
  }
  body.public-body.has-public-header .story-reader-head{
    padding-top:0!important;
    padding-bottom:10px!important;
    margin-bottom:14px!important;
  }
  body.public-body.has-public-header .story-reader-card:before{
    height:5px!important;
  }
}
@media (max-width:800px){
  body.public-body.has-public-header{
    --dn-public-mobile-safe-top:calc(88px + env(safe-area-inset-top));
  }
  body.public-body.has-public-header > main:not(.panel-main){
    padding-top:var(--dn-public-mobile-safe-top)!important;
  }
  body.public-body.has-public-header > main.story-page-shell{
    padding-top:calc(96px + env(safe-area-inset-top))!important;
  }
  body.public-body.has-public-header .story-reader-card{
    padding-top:18px!important;
  }
}
@media (max-width:430px){
  body.public-body.has-public-header{
    --dn-public-mobile-safe-top:calc(82px + env(safe-area-inset-top));
  }
  body.public-body.has-public-header > main.story-page-shell{
    padding-top:calc(90px + env(safe-area-inset-top))!important;
  }
}


/* v1.8.9 — story sidebar exact top alignment and normal first letter */
@media (min-width:801px){
  body.public-body.has-public-header{
    --dn-public-desktop-safe-top:28px;
    --dn-story-desktop-top:28px;
  }
  body.public-body.has-public-header .story-page-grid{
    align-items:start!important;
  }
  body.public-body.has-public-header .story-sidebar{
    position:static!important;
    top:auto!important;
    inset:auto!important;
    align-self:start!important;
    margin-top:0!important;
    padding-top:0!important;
    transform:none!important;
  }
  body.public-body.has-public-header .story-sidebar > *:first-child,
  body.public-body.has-public-header .story-main-column > *:first-child{
    margin-top:0!important;
  }
  body.public-body.has-public-header .story-main-column,
  body.public-body.has-public-header .story-sidebar{
    padding-top:0!important;
  }
  body.public-body.has-public-header .story-reader-card{
    padding-top:10px!important;
  }
  body.public-body.has-public-header .story-reader-head{
    padding-top:0!important;
    margin-top:0!important;
  }
}
.story-prose::first-letter{
  font-size:inherit!important;
  font-weight:inherit!important;
  color:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}


/* v1.9.0 — author bio beside avatar/name and clickable author card */
.story-author-box.story-author-link{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  text-align:right!important;
  text-decoration:none!important;
  color:inherit!important;
  padding:6px 4px!important;
  border-radius:18px!important;
  transition:background .18s ease, transform .18s ease;
}
.story-author-box.story-author-link:hover{
  background:rgba(199,154,85,.08)!important;
  transform:translateY(-1px);
}
.story-author-identity{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  min-width:0!important;
}
.story-author-box.story-author-link img{
  width:54px!important;
  height:54px!important;
  border-radius:18px!important;
  flex:0 0 auto!important;
}
.story-author-box.story-author-link h3{
  margin:0!important;
  max-width:72px!important;
  color:#18243d!important;
  font-size:.82rem!important;
  line-height:1.45!important;
  font-weight:950!important;
  text-align:center!important;
  white-space:normal!important;
}
.story-author-box.story-author-link p{
  margin:0!important;
  max-width:none!important;
  color:#756a60!important;
  font-size:.78rem!important;
  line-height:1.62!important;
  text-align:right!important;
}
.story-author-side .story-side-title{
  margin-bottom:9px!important;
}
.story-author-stats{
  margin-top:10px!important;
}
@media (max-width:980px){
  .story-author-box.story-author-link{
    grid-template-columns:76px minmax(0,1fr)!important;
  }
}
@media (max-width:430px){
  .story-author-box.story-author-link{
    grid-template-columns:68px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .story-author-box.story-author-link h3{font-size:.78rem!important;}
  .story-author-box.story-author-link p{font-size:.76rem!important;line-height:1.58!important;}
}


/* v1.9.2 — story sidebar stage sticky + popular stories */
:root{--story-sticky-top:118px;}
body.public-body.has-public-header{--story-sticky-top:116px;}
.story-page-shell .story-page-grid{align-items:start!important;}
.story-page-shell .story-sidebar{position:relative!important;top:auto!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;gap:16px!important;}
.story-sidebar-sticky{display:grid;gap:16px;min-width:0;}
.story-sidebar-primary{position:sticky!important;top:var(--story-sticky-top)!important;z-index:3;align-self:start;}
.story-sidebar-recs{position:relative!important;top:auto!important;z-index:2;align-self:start;}
.story-page-shell.is-comments-zone .story-sidebar-primary{position:relative!important;top:auto!important;z-index:1;}
.story-page-shell.is-comments-zone .story-sidebar-recs{position:sticky!important;top:var(--story-sticky-top)!important;z-index:4;}
.story-popular-side .story-side-title .ui-icon{color:#9a6a27;}
.story-popular-item small{color:#9a7643;font-weight:900;}
.story-author-box.story-author-link{align-items:flex-start!important;}
.story-author-box.story-author-link p{padding-top:2px;}
@media(max-width:940px){
  :root{--story-sticky-top:0px;}
  .story-page-shell .story-sidebar,.story-sidebar-primary,.story-sidebar-recs,.story-page-shell.is-comments-zone .story-sidebar-primary,.story-page-shell.is-comments-zone .story-sidebar-recs{position:static!important;top:auto!important;}
  .story-sidebar-sticky{gap:12px;}
}
