/* ilanvarmi.com – Standard Theme Header Option 3 */
.iv-top-banner-ad{background:#fff;padding:10px 0;border-bottom:1px solid #e7ebf2;text-align:center}
.iv-top-banner-ad .v211-ad{margin:0 auto!important;line-height:0}
.iv-top-banner-ad .v211-ad img{display:block!important;margin:0 auto!important;max-width:100%!important;max-height:120px!important;width:auto!important;height:auto!important;object-fit:contain}

header.iv-option3-header,
header.iv-option3-header .sticky{
  background:linear-gradient(110deg,#0f2e73 0%,#144ab1 52%,#0e3f9d 100%)!important;
  border:0!important;
  box-shadow:0 8px 24px rgba(13,49,117,.18)!important;
  padding:0!important;
}
header.iv-option3-header .iv-header-shell{max-width:1240px;width:calc(100% - 34px);padding-top:15px;padding-bottom:15px}
header.iv-option3-header .iv-header-row{display:flex;align-items:center;gap:20px;min-height:58px;width:100%}
header.iv-option3-header .iv-header-logo{flex:0 0 230px;display:flex;align-items:center}
header.iv-option3-header .iv-header-logo a{display:flex;align-items:center}
header.iv-option3-header .iv-header-logo img{display:block;max-width:210px;max-height:50px;width:auto;height:auto;background:transparent!important;box-shadow:none!important;border:0!important}

header.iv-option3-header .iv-header-search-wrap{flex:1 1 auto;min-width:360px;display:flex;align-items:center;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(8,35,91,.42);height:48px;overflow:visible;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
header.iv-option3-header .iv-category-dropdown{flex:0 0 auto;height:100%;border-right:1px solid rgba(255,255,255,.16)}
header.iv-option3-header .iv-category-btn{height:46px;border:0!important;border-radius:9px 0 0 9px!important;background:rgba(255,255,255,.04)!important;color:#fff!important;font-size:13px;font-weight:700;padding:0 15px;display:flex;align-items:center;gap:8px;text-shadow:none!important;box-shadow:none!important}
header.iv-option3-header .iv-category-btn:hover,header.iv-option3-header .iv-category-dropdown.open .iv-category-btn{background:rgba(255,255,255,.09)!important}
header.iv-option3-header .iv-category-btn i{font-size:17px;color:#cfe0ff}
header.iv-option3-header .iv-category-btn .caret{margin-left:5px}
header.iv-option3-header .iv-category-menu{top:52px;left:0;min-width:235px;padding:8px;background:#fff;border:1px solid #e4e9f0;border-radius:10px;box-shadow:0 16px 38px rgba(17,38,73,.16)}
header.iv-option3-header .iv-category-menu>li>a{padding:9px 11px;border-radius:7px;color:#334155;font-size:13px}
header.iv-option3-header .iv-category-menu>li>a:hover{background:#eef5ff;color:#0d63dc}
header.iv-option3-header .iv-category-menu .divider{margin:6px 0;background:#edf0f5}
header.iv-option3-header .iv-search-form{flex:1 1 auto;min-width:0;margin:0;height:100%}
header.iv-option3-header .iv-search-form .input-group{width:100%;height:100%}
header.iv-option3-header .iv-search-form .ara input{height:46px!important;background:transparent!important;border:0!important;color:#fff!important;box-shadow:none!important;padding:0 15px;font-size:13px;border-radius:0!important}
header.iv-option3-header .iv-search-form .ara input::placeholder{color:rgba(235,243,255,.68)}
header.iv-option3-header .iv-search-form .ara.focus input{background:rgba(255,255,255,.04)!important;color:#fff!important}
header.iv-option3-header .iv-search-form .ara button{height:46px!important;width:54px!important;border:0!important;border-radius:0 9px 9px 0!important;background:#fff!important;color:#155bd7!important;font-size:20px;box-shadow:none!important;text-shadow:none!important}
header.iv-option3-header .iv-search-form .ara button:hover{background:#f0f6ff!important;color:#0d50c8!important}

header.iv-option3-header .iv-header-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}
header.iv-option3-header .iv-header-actions>a,header.iv-option3-header .iv-header-actions>.btn-group{float:none!important;margin:0!important}
header.iv-option3-header .iv-user-btn{display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 9px!important;border-radius:9px!important;color:#fff!important;background:transparent!important;font-size:13px!important;font-weight:700;text-shadow:none!important;box-shadow:none!important}
header.iv-option3-header .iv-user-btn:hover{background:rgba(255,255,255,.08)!important}
header.iv-option3-header .iv-user-btn img{width:28px!important;height:28px!important;object-fit:cover;margin:0!important;border:2px solid rgba(255,255,255,.35)}
header.iv-option3-header .iv-user-name{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
header.iv-option3-header .iv-header-actions .dropdown-menu{border-radius:10px;border:1px solid #e4e9f0;box-shadow:0 16px 38px rgba(17,38,73,.16);padding:7px}
header.iv-option3-header .iv-header-actions .dropdown-menu>li>a{border-radius:7px;padding:8px 10px;color:#334155}
header.iv-option3-header .iv-header-actions .dropdown-menu>li>a:hover{background:#eef5ff;color:#0d63dc}

header.iv-option3-header .iv-icon-btn{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;border-radius:9px!important;color:#fff!important;background:transparent!important;border:1px solid transparent!important;text-shadow:none!important;box-shadow:none!important}
header.iv-option3-header .iv-icon-btn i{font-size:20px!important;line-height:1;margin:0!important}
header.iv-option3-header .iv-icon-btn:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.10)!important}
header.iv-option3-header .iv-icon-btn .badge{position:absolute;top:1px;right:1px;min-width:17px;height:17px;padding:2px 4px;line-height:12px;border-radius:999px;background:#ff3b49!important;color:#fff!important;font-size:10px;border:2px solid #1549ab}
header.iv-option3-header .iv-post-btn{display:inline-flex!important;align-items:center;gap:8px;height:42px;padding:0 15px!important;border-radius:9px!important;background:#fff!important;color:#0e56d0!important;border:1px solid rgba(255,255,255,.80)!important;font-size:13px!important;font-weight:800!important;text-shadow:none!important;box-shadow:0 7px 18px rgba(8,41,111,.15)!important}
header.iv-option3-header .iv-post-btn:hover{background:#eef5ff!important;color:#0848ba!important;transform:translateY(-1px)}
header.iv-option3-header .iv-post-btn i{font-size:17px;margin:0!important}
header.iv-option3-header .iv-map-btn{margin-left:2px!important}
header.iv-option3-header .iv-login-link{color:#fff!important;font-weight:700!important;background:transparent!important;text-shadow:none!important}
header.iv-option3-header .iv-login-link:hover{background:rgba(255,255,255,.08)!important}
header.iv-option3-header #sm_ara_buton{display:none!important}

header.iv-option3-header #en_ust{background:rgba(7,29,72,.95)!important;border-bottom:1px solid rgba(255,255,255,.08)}
header.iv-option3-header #en_ust a{color:#d9e7ff!important}

@media (max-width:1450px){
  header.iv-option3-header .iv-header-row{gap:13px}
  header.iv-option3-header .iv-header-logo{flex-basis:200px}
  header.iv-option3-header .iv-header-logo img{max-width:190px}
  header.iv-option3-header .iv-category-btn span:not(.caret){display:none}
  header.iv-option3-header .iv-category-btn{padding:0 13px}
  header.iv-option3-header .iv-user-name{max-width:110px}
  header.iv-option3-header .iv-post-btn span{display:none}
  header.iv-option3-header .iv-post-btn{width:44px;padding:0!important;justify-content:center}
}
@media (max-width:1180px){
  header.iv-option3-header .iv-header-logo{flex-basis:170px}
  header.iv-option3-header .iv-header-logo img{max-width:160px}
  header.iv-option3-header .iv-header-search-wrap{min-width:300px}
  header.iv-option3-header .iv-user-name{max-width:90px}
}

/* Mobile top banner keeps the same ad source, but never leaves a blank block */
@media (max-width:991px){
  .iv-top-banner-ad{padding:6px 0}
  .iv-top-banner-ad .container{width:100%;padding-left:8px;padding-right:8px}
  .iv-top-banner-ad .v211-ad img{max-height:90px!important}
}
