/*! ITLab step 5 */
/* ---------- taxonomy pages: hero ---------- */
.itl5-hero-wrap{margin:26px auto 8px}
.itl5-hero{position:relative;display:flex;align-items:flex-start;gap:22px;padding:28px 30px;border-radius:24px;color:#fff;overflow:hidden;background:linear-gradient(135deg,#0b1d3a 0%,#123a73 55%,#168df0 120%);box-shadow:0 30px 60px -34px rgba(11,29,58,.75);direction:rtl;text-align:right}
.itl5-hero:before{content:"";position:absolute;inset:-40% auto auto -10%;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 65%);animation:itl5-float 9s ease-in-out infinite}
.itl5-hero:after{content:"";position:absolute;inset:auto -6% -50% auto;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(255,182,6,.35),transparent 65%);animation:itl5-float 11s ease-in-out infinite reverse}
@keyframes itl5-float{50%{transform:translate(24px,18px) scale(1.08)}}
.itl5-hero-icon{position:relative;z-index:1;flex:0 0 74px;width:74px;height:74px;border-radius:20px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;font-size:36px;line-height:1}
.itl5-hero-body{position:relative;z-index:1;min-width:0;flex:1}
.itl5-hero-kind{display:inline-block;font-size:12px;padding:2px 12px;border-radius:999px;background:rgba(255,255,255,.16);margin-bottom:8px}
.itl5-hero-title{margin:0 0 8px;color:#fff;font-size:28px;line-height:1.5;font-weight:800}
.itl5-hero-count{display:inline-block;margin-inline-start:10px;font-size:13px;opacity:.85}
.itl5-hero-desc{margin-top:10px;font-size:15px;line-height:2;color:rgba(255,255,255,.92);max-width:860px}
.itl5-hero-desc p{margin:0 0 8px}
.itl5-hero-kids{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}
.itl5-hero-kids>span{font-size:13px;opacity:.8}
.itl5-hero-kids a{display:inline-block;padding:4px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:13px;text-decoration:none;transition:transform .2s,background .2s}
.itl5-hero-kids a:hover{background:#ffb606;color:#111;transform:translateY(-3px)}
@media (max-width:640px){.itl5-hero{flex-direction:column;padding:22px 20px;gap:14px}.itl5-hero-icon{width:60px;height:60px;flex-basis:60px;font-size:30px}.itl5-hero-title{font-size:22px}}
.itl5-bottom{margin:34px 0 10px;padding:26px 28px;border-radius:20px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 20px 44px -34px rgba(15,23,42,.45);direction:rtl;text-align:right}
.itl5-bottom h3{margin:0 0 12px;font-size:19px}
.itl5-bottom-body{font-size:15.5px;line-height:2.1}
/* taxonomy post lists: RTL */
body.category .main-content,body.tag .main-content,body.tax-product_cat .main-content,body.tax-product_tag .main-content,body.tax-nproject-category .main-content,body.tax-nproject-tag .main-content,
body.category .post,body.tag .post{direction:rtl;text-align:right}
body.category .post-meta,body.tag .post-meta,body.category .post-footer,body.tag .post-footer{justify-content:flex-start}
/* ---------- breadcrumb + author/date card ---------- */
.itl5-crumb-wrap{margin:-22px auto 18px;position:relative;z-index:3}
.itl5-crumb-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 22px;padding:12px 20px;border-radius:16px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 40px -26px rgba(15,23,42,.55)}
.itl5-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px}
.itl5-crumb a{color:#168df0;text-decoration:none}.itl5-crumb a:hover{text-decoration:underline}
.itl5-sep{opacity:.45}.itl5-cur{color:#475467;font-weight:600}
.itl5-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:12.5px;color:#667085}
.itl5-m{display:inline-flex;align-items:center;gap:6px}
.itl5-m img{border-radius:50%;width:28px;height:28px}
.itl5-m a{color:#0b1d3a;font-weight:700;text-decoration:none}
@media (max-width:640px){.itl5-crumb-wrap{margin-top:-14px}.itl5-crumb-card{padding:10px 14px}}
/* ---------- tables in posts: full width, modern ---------- */
.post-content table,.entry-content table,.single-post .post-content table,.itl5-table-wrap table{width:100%!important;max-width:100%!important;table-layout:auto;border-collapse:separate;border-spacing:0;margin:1.6em 0;border:1px solid rgba(15,23,42,.1);border-radius:14px;overflow:hidden;direction:rtl;font-size:14.5px}
.post-content table th,.post-content table td{padding:11px 14px;text-align:right;vertical-align:top;border-bottom:1px solid rgba(15,23,42,.07);width:auto!important}
.post-content table thead th,.post-content table tr:first-child th{background:#0b1d3a;color:#fff;font-weight:700}
.post-content table tbody tr:nth-child(even) td{background:rgba(22,141,240,.045)}
.post-content table tr:last-child td{border-bottom:0}
.itl5-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.6em 0}
.itl5-table-wrap table{margin:0;min-width:520px}
/* ---------- logo ---------- */
html body [class*="header-style"] .header-brand{max-width:46%;margin:8px 0}
html body .header-brand img,html body .site-header .header-brand img{max-height:84px!important;width:auto!important;height:auto!important}
@media (max-width:1024px){html body .header-brand img,html body .site-header .header-brand img{max-height:70px!important}}
@media (max-width:600px){html body [class*="header-style"] .header-brand{max-width:66%}html body .header-brand img,html body .site-header .header-brand img{max-height:62px!important}}
/* ---------- hamburger: four clean lines ---------- */
html body .extras a.off-canvas-toggle,html body [class*="header-style"] .extras .off-canvas-toggle{position:relative;font-size:0!important;text-indent:-9999px;overflow:hidden;
  background-image:linear-gradient(#0b1d3a,#0b1d3a),linear-gradient(#0b1d3a,#0b1d3a),linear-gradient(#0b1d3a,#0b1d3a),linear-gradient(#0b1d3a,#0b1d3a)!important;
  background-repeat:no-repeat!important;background-size:20px 2.5px!important;background-position:center 11px,center 17px,center 23px,center 29px!important}
html body .extras a.off-canvas-toggle:before,html body .extras a.off-canvas-toggle:after,html body .extras a.off-canvas-toggle span{display:none!important;content:none!important}
html body .extras a.off-canvas-toggle:hover{background-color:#168df0!important;background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff)!important}
/* ---------- article sidebar: search + overview card ---------- */
html body .itms-sidebar .itms-search-form{display:flex;align-items:stretch;gap:8px;height:auto;direction:rtl}
html body .itms-sidebar .itms-search-form input[type="search"]{flex:1 1 auto;min-width:0;height:46px;padding:0 16px;font-size:14px;border:1.5px solid rgba(15,23,42,.14)!important;border-radius:14px!important;background:#fff;box-shadow:none;outline:none;transition:border-color .2s,box-shadow .2s}
html body .itms-sidebar .itms-search-form input[type="search"]:focus{border-color:#168df0!important;box-shadow:0 0 0 4px rgba(22,141,240,.15)}
html body .itms-sidebar .itms-search-form button{flex:0 0 46px;width:46px;height:46px;padding:0;border:0;border-radius:14px!important;background:#168df0;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s,background .2s}
html body .itms-sidebar .itms-search-form button:hover{background:#0b1d3a;transform:scale(1.06)}
html body .itms-sidebar .itms-search-body{padding:14px}
html body .itms-sidebar .itms-card-title{font-size:15px}
html body .itms-sidebar .itms-post-title{font-size:13.5px;line-height:1.8}
html body .itms-sidebar .itms-post-meta{font-size:11.5px}
html body .itms-sidebar .itms-overview-card,html body .itms-sidebar .itms-overview{text-align:center}
html body .itms-sidebar .itms-overview{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 16px}
html body .itms-sidebar .itms-overview p{font-size:12.5px;line-height:2;margin:0}
html body .itms-sidebar .itms-overview-badge{font-size:12px;padding:3px 14px;margin-inline:auto}
html body .itms-sidebar .itms-overview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}
html body .itms-sidebar .itms-stat{text-align:center;font-size:11.5px;padding:10px 4px}
html body .itms-sidebar .itms-stat strong{display:block;font-size:17px}
html body .itms-sidebar .itms-overview-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%}
html body .itms-sidebar .itms-overview-action{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;padding:10px 12px;border-radius:12px;text-align:center}
/* ---------- comments ---------- */
#comments{margin-top:40px;direction:rtl}
#comments .comments-title{font-size:20px;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid rgba(15,23,42,.08);position:relative}
#comments .comments-title:after{content:"";position:absolute;bottom:-2px;right:0;width:70px;height:2px;background:#ffb606}
#comments .comment-list,#comments .comment-list ol,#comments .comment-list ul{list-style:none;margin:0;padding:0}
#comments .comment-list .children{margin-top:14px;padding-inline-start:28px;border-inline-start:2px dashed rgba(15,23,42,.12)}
.itl5-cm{margin:0 0 14px}
.itl5-card{display:flex;gap:16px;padding:18px 20px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:0 18px 38px -30px rgba(15,23,42,.5);transition:transform .25s,box-shadow .25s}
.itl5-card:hover{transform:translateY(-2px);box-shadow:0 24px 48px -30px rgba(15,23,42,.55)}
.itl5-cm.is-author>.itl5-card{border-color:rgba(255,182,6,.55);background:linear-gradient(180deg,#fffaf0,#fff)}
.itl5-card-side img{width:56px;height:56px;border-radius:16px;object-fit:cover}
.itl5-card-main{flex:1;min-width:0}
.itl5-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:6px}
.itl5-name{font-weight:800;color:#0b1d3a}.itl5-name a{color:inherit;text-decoration:none}
.itl5-badge{font-size:11px;padding:1px 10px;border-radius:999px;background:#ffb606;color:#111;font-weight:700}
.itl5-time{font-size:12px;color:#8a94a6;margin-inline-start:auto}
.itl5-wait{margin:0 0 8px;padding:6px 12px;border-radius:10px;background:#fff7e0;color:#8a5a00;font-size:12.5px}
.itl5-text{font-size:14.5px;line-height:2}.itl5-text p{margin:0 0 8px}
.itl5-card-foot{display:flex;gap:14px;margin-top:8px;font-size:12.5px}
.itl5-card-foot a{color:#168df0;text-decoration:none;font-weight:700}.itl5-card-foot a:hover{text-decoration:underline}
#respond{margin-top:30px;padding:26px 28px;background:linear-gradient(180deg,#fff,#f7faff);border:1px solid rgba(15,23,42,.08);border-radius:22px;box-shadow:0 26px 54px -38px rgba(15,23,42,.55)}
#respond .comment-reply-title{margin:0 0 6px;font-size:19px}
.itl5-note{margin:0 0 16px;color:#667085;font-size:13px}
.itl5-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.itl5-form>*{grid-column:1/-1}
.itl5-form .itl5-field:not(.itl5-field-text){grid-column:auto}
.itl5-field label{display:block;margin-bottom:6px;font-weight:700;font-size:13.5px}.itl5-field .req{color:#e5484d}
.itl5-field input,.itl5-field textarea{width:100%;box-sizing:border-box;padding:12px 16px;border:1.5px solid rgba(15,23,42,.14);border-radius:14px;background:#fff;font-size:14.5px;outline:none;transition:border-color .2s,box-shadow .2s}
.itl5-field textarea{min-height:150px;resize:vertical;line-height:2}
.itl5-field input:focus,.itl5-field textarea:focus{border-color:#168df0;box-shadow:0 0 0 4px rgba(22,141,240,.15)}
.itl5-count{text-align:left;margin-top:4px;font-size:12px;color:#8a94a6}
.itl5-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.itl5-consent label{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.9;color:#475467}
.itl5-consent input{margin-top:6px}
.itl5-submit-row{display:flex;align-items:center;gap:14px}
.itl5-submit{padding:13px 34px;border:0;border-radius:14px;background:linear-gradient(135deg,#168df0,#0b4fa8);color:#fff;font-weight:800;font-size:15px;cursor:pointer;box-shadow:0 16px 30px -16px rgba(22,141,240,.9);transition:transform .2s}
.itl5-submit:hover{transform:translateY(-3px)}
.comment-form-cookies-consent{font-size:12.5px;color:#667085}
@media (max-width:640px){.itl5-form{grid-template-columns:1fr}.itl5-card{padding:14px;gap:12px}.itl5-card-side img{width:44px;height:44px;border-radius:12px}#respond{padding:20px 16px}#comments .comment-list .children{padding-inline-start:12px}}
