.academy-content-list-page,.academy-content-detail-page{--academy-red:var(--header-color2,#d90000);--academy-surface:var(--bg-color2,#fff);--academy-muted:var(--text2-color,#777);--academy-border:#e5e7eb;background:var(--bg-color,#f7f7f7);color:var(--text-color,#444);font-family:"Vazirmatn",sans-serif}
.academy-content-list-page{padding:38px 0 96px}
.academy-content-shell{width:min(calc(100% - 32px),1200px);margin-inline:auto}
.academy-content-list-page .agency-reference-hero{grid-template-columns:minmax(0,820fr) minmax(0,360fr);gap:20px;margin-bottom:34px;min-height:294px}
.academy-content-list-page .agency-reference-hero__banner{min-height:294px;border:0;border-radius:20px}
.academy-content-list-page .agency-reference-hero__info{grid-template-rows:140px minmax(0,1fr);gap:14px}
.academy-content-list-page .agency-hero-title-card,.academy-content-list-page .agency-hero-description-card{border-radius:12px;padding:20px 22px}
.academy-content-list-page .agency-hero-title-card h1{font-size:28px;line-height:1.6}
.academy-content-list-page .agency-hero-title-card>span{width:auto;min-width:128px;margin:5px auto 12px}
.academy-content-list-page .agency-hero-title-card p{font-size:14px;line-height:1.8}
.academy-content-list-page .agency-hero-description-card{padding:12px 22px}
.academy-content-list-page .agency-hero-description-content{font-size:12px;line-height:1.8}
.academy-content-list-page [data-agency-reference-hero].agency-reference-hero .agency-hero-description-card{min-height:0;padding:12px 22px;border:0;border-radius:12px}
.academy-content-list-page [data-agency-reference-hero].agency-reference-hero .agency-hero-description-card h2{font-size:14px;margin-bottom:8px}
.academy-content-list-page [data-agency-reference-hero].agency-reference-hero .agency-hero-description-content{font-size:12px;line-height:1.8;-webkit-line-clamp:4}
.academy-content-list-page .pn-list-tools{margin:0 0 26px!important}
.academy-content-list-page .pn-list-tools__bar{min-height:78px;padding:18px 20px;border:1px solid var(--academy-border);border-radius:9px;background:var(--academy-surface)}
.academy-content-list-page .pn-list-tools__search{height:40px}
.academy-content-list-page .pn-list-tools__filter{min-width:135px;height:36px;color:var(--academy-red);border-color:var(--academy-red)}
.academy-content-list-page .pn-list-tools__filter b{position:static;min-width:20px;height:20px;padding:0 4px;background:#e6e6e6;color:#777;font-size:12px}
.academy-content-grid-wrap{padding:28px 20px;background:var(--academy-surface);border:1px solid var(--academy-border);border-radius:9px}
.academy-content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.academy-content-card{display:flex;min-width:0;min-height:340px;flex-direction:column;overflow:hidden;padding:13px;border:1px solid #e8ebf0;border-radius:11px;background:#f5f5f7}
.academy-content-card__image{display:grid;flex-shrink:0;aspect-ratio:1.5;place-items:center;overflow:hidden;border:1px solid #ddd;border-radius:9px;background:var(--academy-surface);color:var(--academy-red);text-decoration:none;font-size:30px}
.academy-content-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.academy-content-card__image:hover img{transform:scale(1.035)}
.academy-content-card__body{display:flex;flex:1;min-width:0;flex-direction:column;padding-top:12px}
.academy-content-card h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;margin:0 0 6px;font-size:13px;font-weight:500;line-height:1.8}
.academy-content-card h2 a{color:inherit;text-decoration:none}
.academy-content-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 3px;color:var(--academy-muted);font-size:12px;line-height:1.55}
.academy-content-card__meta{color:var(--academy-muted);font-size:11px}
.academy-content-card__meta time{display:inline-flex;align-items:center;gap:5px}
.academy-content-card__more{display:inline-flex;flex-direction:row-reverse;align-items:center;align-self:flex-end;gap:6px;margin-top:auto;padding-top:28px;color:var(--academy-red);font-size:13px;text-decoration:none}
.academy-content-card__more:hover{color:var(--academy-red);text-decoration:underline}
.academy-content-pagination{margin-top:48px}
.academy-content-pagination .pinneh-pagination{margin:0}
.academy-content-detail-page{padding:18px 0 48px}
.academy-content-detail-shell{width:min(calc(100% - 24px),1520px);margin-inline:auto}
.academy-content-back-link{margin-bottom:16px;font-size:12px}
.academy-content-back-link a,.academy-content-detail-article footer a{color:var(--academy-red);text-decoration:none}
.academy-content-detail-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,3fr);grid-template-areas:"aside article";gap:18px;margin-top:20px;align-items:start;direction:ltr}
.academy-content-detail-article{grid-area:article;min-width:0;direction:rtl}
.academy-content-detail-aside{grid-area:aside;display:grid;gap:18px;min-width:0;direction:rtl}
.academy-content-detail-article,.academy-content-detail-sidebox,.academy-content-detail-aside .wsd-card{overflow:hidden;background:var(--academy-surface);border:1px solid var(--academy-border);border-radius:10px;box-shadow:0 2px 8px #14141409}
.academy-content-detail-article header{padding:18px 20px 8px}
.academy-content-detail-article h2,.academy-content-detail-sidebox h2{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:700}
.academy-content-detail-article h2:before,.academy-content-detail-sidebox h2:before{content:"";width:3px;height:18px;border-radius:2px;background:var(--academy-red)}
.academy-content-detail-body{padding:8px 20px 24px;font-size:14px;line-height:2.1;overflow-wrap:anywhere}
.academy-content-detail-body img,.academy-content-detail-body video{max-width:100%;height:auto;border-radius:8px}
.academy-content-detail-body iframe{max-width:100%}
.academy-content-detail-body table{display:block;max-width:100%;overflow-x:auto}
.academy-content-detail-article footer{padding:0 20px 24px;font-size:12px}
.academy-content-detail-sidebox{padding:18px 20px}
.academy-content-detail-sidebox h2{margin-bottom:16px}
.academy-content-detail-sidebox ul{display:grid;gap:12px;padding:0;margin:0;list-style:none}
.academy-content-detail-sidebox li a{display:flex;justify-content:space-between;gap:8px;color:inherit;text-decoration:none;font-size:12px}
.academy-content-related a{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--academy-border);color:inherit;text-decoration:none}
.academy-content-related a:last-child{padding-bottom:0;border:0}
.academy-content-related img{width:64px;height:54px;object-fit:cover;border-radius:7px}
.academy-content-related strong{display:block;font-size:12px;font-weight:500;line-height:1.8}
.academy-content-related small{display:block;margin-top:4px;color:var(--academy-muted);font-size:10px}
.academy-content-detail-aside .wsd-card-title{padding:18px 20px 8px;font-size:15px}
.academy-content-detail-aside .wsd-sb-list{padding:5px 16px 14px}
[data-theme="dark"] .academy-content-list-page,[data-theme="dark"] .academy-content-detail-page{--academy-border:#404040}
[data-theme="dark"] .academy-content-card{background:#282828;border-color:#404040}
@media(max-width:991px){.academy-content-list-page .agency-reference-hero{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.academy-content-list-page .agency-hero-title-card h1{font-size:23px}.academy-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-content-detail-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:767px){.academy-content-list-page{padding-top:20px}.academy-content-list-page .agency-reference-hero{grid-template-columns:1fr;min-height:0}.academy-content-list-page .agency-reference-hero__banner{min-height:0;aspect-ratio:2.8}.academy-content-list-page .agency-reference-hero__info{grid-template-rows:auto auto}.academy-content-detail-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"article" "aside"}.academy-content-list-page .pn-list-tools__search{flex:1 1 0}.academy-content-list-page .pn-list-tools__filter{min-width:100px}}
@media(max-width:480px){.academy-content-shell{width:calc(100% - 24px)}.academy-content-grid-wrap{padding:14px}.academy-content-grid{grid-template-columns:minmax(0,1fr);gap:18px}.academy-content-card{min-height:340px}.academy-content-list-page .pn-list-tools__bar{padding:12px;gap:10px}.academy-content-list-page .pn-list-tools__filter{min-width:82px}.academy-content-pagination{margin-top:32px}}
