/* هدر و فوتر اصلی سایت (برگرفته از طرح صفحه اول) */
.hf .abs{position:absolute}
.hf .slogan{color:#fff;font-size:13px;white-space:nowrap}
.hf .lang{width:90px;height:26px;border:1px solid #aaa;border-radius:4px;background:transparent;color:#fff;font-size:10px;
  display:flex;align-items:center;justify-content:space-between;padding:0 8px;direction:ltr}
.hf .lang:after{content:'\2195';font-size:9px}
.hf .btn-login{left:204px;top:12px;width:82px;height:28px;border:1px solid #cfcfcf;border-radius:6px;color:#fff;
  font-size:12px;font-weight:500;text-align:center;line-height:26px}
.hf .btn-ad{left:130px;top:14px;width:60px;height:24px;border:2px solid #e11d1d;border-radius:6px;color:#fff;
  font-size:12px;font-weight:500;text-align:center;line-height:20px}
.hf .nav{left:0;top:48px;width:1700px;height:32px}
.hf .nav span{position:absolute;top:0;line-height:32px;color:#fff;font-size:12.5px;white-space:nowrap;transform:translateX(-50%)}
.hf .orange{left:1366px;top:48px;width:334px;height:32px;background:#ffaa67}
.hf .orange span{color:#ffe6c7}
.hf .btt{left:0;top:1596px;width:1700px;height:34px;color:#fff;font-size:10px;line-height:34px;text-align:center;padding-right:40px}
.hf .flink{color:#fff;font-size:12px;line-height:19px;text-align:right;white-space:nowrap}
.hf .dl{width:131px;height:40px;background:#708389;border-radius:6px;color:#fff;font-size:11.5px;font-weight:500;line-height:15px;white-space:nowrap;
  padding:5px 4px 0 40px;text-align:left;direction:ltr;border:1px solid #8a9ba0}
.hf .dl i{position:absolute;left:11px;top:9px;width:20px;height:20px;border:1.5px solid #eef;border-radius:5px}
.hf .lang{cursor:pointer;user-select:none}
.hf .lang .lm{display:none;position:absolute;left:-1px;top:calc(100% + 3px);width:100%;background:#1f2a37;border:1px solid #aaa;border-radius:4px;z-index:50;overflow:hidden;direction:ltr}
.hf .lang.open .lm{display:block}
.hf .lang .lm div{padding:5px 8px;font-size:10px;color:#fff;text-align:left;line-height:16px}
.hf .lang .lm div:hover{background:#35b6ed}
.hf .lang .lm div.cur{background:#324359}
.hf .btn-ad>a, .hf .btn-login>a{display:block;height:100%}
.hf .hf-fl{margin:0;display:inline-block;width:16px;height:11px;vertical-align:-1px;background-size:100% 100%;background-repeat:no-repeat;box-sizing:content-box}
.hf .hf-fl-gb{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E")}
.hf .hf-fl-ir{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 40'%3E%3Crect width='70' height='40' fill='%23fff'/%3E%3Crect width='70' height='13.3' fill='%23239f40'/%3E%3Crect y='26.7' width='70' height='13.3' fill='%23da0000'/%3E%3Ccircle cx='35' cy='20' r='5' fill='none' stroke='%23da0000' stroke-width='2.6'/%3E%3Cpath d='M35 13v14' stroke='%23da0000' stroke-width='2.2'/%3E%3C/svg%3E")}
.hf .dl.dl-a, .hf .dl.dl-b{border:0;padding:0;background-color:transparent;background-size:100% 100%;background-repeat:no-repeat;border-radius:0}
.hf-o{width:100%;overflow:hidden;position:relative}
#hfho{overflow-x:clip;overflow-y:visible;z-index:60}
#hfho .hf-bd{pointer-events:none}
.hf-z{position:relative;width:1700px;transform-origin:top left;direction:rtl;font-family:inherit}
html[dir=ltr] .hf-z{direction:ltr}
.hf-bd{position:absolute;left:0;width:100%}
.hf-in{position:relative;width:1700px;height:100%;margin:0 auto}
.hf .nav a,.hf .orange a,.hf .flink a,.hf .btn-ad a,.hf .btn-login a,.hf .slogan a{color:inherit;text-decoration:none}
.hf .btn-ad,.hf .btn-login{color:#fff}
.hf .lang{cursor:pointer;direction:ltr}
.hf .lang:hover .lm{display:block}
.hf .lang:before{content:'';position:absolute;left:-1px;right:-1px;top:100%;height:6px}
.hf .lang .lm a{display:block;padding:5px 8px;font-size:10px;color:#fff;text-align:left;line-height:16px;text-decoration:none}
.hf .lang .lm a:hover{background:#35b6ed}
.hf .lang>a{color:#fff;text-decoration:none;display:contents}
.hf .lang:after{content:'\2195'}
.hf .btt{cursor:pointer;color:#fff}
.hf .abs.hf-lg img{display:block;max-height:55px;max-width:158px;object-fit:contain}
.hf .abs.hf-lg2 img{max-height:77px;max-width:221px}
.hf .abs.cr{color:#fff;text-align:center}
.hf .box-in{width:100%;height:100%;overflow:hidden;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hf .box-in img{max-width:none;max-height:132px;width:auto;height:auto;display:block}
.hf .hf-codes .box-in{display:block;overflow:visible;max-height:none}
.hf .hf-codes .box-in img{max-height:none}
.hf .hf-codes .box-in a{display:block}
.hf .dl-i{display:block}
.hf .dl-i img{display:block;width:170px;height:52px;object-fit:contain}
html[dir=ltr] .hf .btn-login{width:auto;min-width:82px;padding:0 10px;white-space:nowrap}
html[dir=ltr] .hf .btn-ad{white-space:nowrap}
/* برچسب زبان: مرکزچینی با فرمول عمومی (ارتفاع حروف cap، نه خط‌پایه) */
.hf .lang>span{display:flex;align-items:center;gap:5px;height:100%;line-height:1}
.hf .lang .lt{display:block;font-weight:400;font-size:10px;line-height:1}
.hf .lang .hf-fl{display:block;flex:none;vertical-align:baseline}
.hf .lang:after{display:block;line-height:1;font-size:9px}
@supports (text-box:trim-both cap alphabetic){.hf .lang .lt{text-box:trim-both cap alphabetic}}
.hf .lang .lm a{display:flex;align-items:center;gap:5px}
.hf .lang .lm a .hf-fl{vertical-align:baseline}
.hf-main{min-height:calc(100vh - 80px);padding-bottom:70px;box-sizing:border-box}
.hf .lang:before{content:'';position:absolute;left:-1px;right:-1px;top:100%;height:8px}
