/* ASİ HABER Portal Pro v35 — editorial mega menu, voice AI search, mobile actions and market display. */
.hp7-mega-menu.asi15-mega{--asi35-group:#2b70ed;max-height:min(76vh,690px);overflow-y:auto;overscroll-behavior:contain}
.hp7-mega-menu .asi15-mega-top{background:linear-gradient(115deg,#122d49 0%,#1e4966 55%,#133150 100%);border-radius:15px 15px 0 0;color:#fff;padding:12px 19px}
.asi15-mega .asi15-mega-layout{padding:16px;gap:13px;align-items:stretch}
.asi15-mega .asi15-mega-brand{position:relative;overflow:hidden;border-radius:16px;background:linear-gradient(140deg,#b8183b 0%,#823dc1 60%,#283e89 100%);box-shadow:0 12px 24px #17314a19}
.asi15-mega .asi15-mega-brand::after{content:"";position:absolute;width:170px;height:170px;right:-74px;top:-75px;border:1px solid #ffffff70;border-radius:50%;box-shadow:0 0 0 16px #ffffff0d,0 0 0 44px #ffffff0b;pointer-events:none}
.asi15-mega .asi15-mega-group{--asi35-group:var(--asi35-news);border:1px solid #e8edf5;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff);padding:8px;min-width:0}
.asi15-mega .asi15-mega-group:nth-of-type(3){--asi35-group:var(--asi35-popular)}
.asi15-mega .asi15-mega-group:nth-of-type(4){--asi35-group:var(--asi35-services)}
.asi15-mega .asi15-mega-group-button{color:#152d44!important;font-size:12.5px!important;font-weight:850!important;gap:9px!important;padding:9px!important;min-height:39px}
.asi15-mega .asi15-mega-group-button>svg:first-child{color:var(--asi35-group)!important;width:20px;height:20px}
.asi15-mega .asi15-mega-links{gap:6px}
.asi15-mega .asi15-mega-links li>a,.asi15-mega .asi15-mega-pending{min-height:43px;padding:9px 10px;border-radius:10px!important;background:#fff;color:#26374f;box-shadow:0 1px 5px #1a3a5611;border:1px solid #eaf0f7!important;font-size:12px!important;white-space:normal}
.asi15-mega .asi15-mega-links li>a svg,.asi15-mega .asi15-mega-pending svg{width:19px;height:19px;color:var(--asi35-group)!important;flex:0 0 auto}
.asi15-mega .asi15-mega-links li>a:hover,.asi15-mega .asi15-mega-links li>a:focus-visible{background:color-mix(in srgb,var(--asi35-group) 10%,#fff);border-color:color-mix(in srgb,var(--asi35-group) 20%,#fff)!important;transform:translateX(2px);color:#152f4c}
.asi15-mega .asi15-mega-feature{border-radius:16px;overflow:hidden;box-shadow:0 10px 26px #1a375020}
.asi35-menu-neon .asi15-mega .asi15-mega-group{box-shadow:inset 0 3px color-mix(in srgb,var(--asi35-group) 65%,white)}
.asi35-menu-minimal .asi15-mega .asi15-mega-brand{background:linear-gradient(145deg,#23364e,#476c85)}
.asi35-menu-minimal .asi15-mega .asi15-mega-group{background:#fff}
/* Microphone is intentionally separate: no animated border on the entire search form. */
.asi8-search .asi35-voice-button{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #d3dfef;border-radius:10px;background:#f7faff;color:#274f8d;cursor:pointer;line-height:1;margin:0 4px;padding:0;transition:background .18s,box-shadow .18s,transform .18s}
.asi8-search .asi35-voice-button>svg{width:19px;height:19px}
.asi8-search .asi35-voice-button:hover,.asi8-search .asi35-voice-button:focus-visible{background:#e8f2ff;box-shadow:0 0 0 3px #296fd51d;outline:0}
.asi8-search .asi35-voice-button.is-listening{background:#fff0f1;color:#bd1640;border-color:#f1b4c1;animation:asi35-voice 1s ease-in-out infinite}
.asi35-voice-status{position:absolute;bottom:calc(100% + 5px);right:2px;z-index:200;background:#152f51;color:#fff;border-radius:7px;padding:5px 9px;font-size:11px;max-width:290px;box-shadow:0 4px 18px #122b4a44}
.asi35-voice-status[hidden]{display:none!important}
@keyframes asi35-voice{0%,100%{box-shadow:0 0 0 0 #e649714a}50%{box-shadow:0 0 0 8px #e6497100}}
/* Equal-height mobile account, personalised and search actions. */
@media(max-width:900px){
  .hp7-header.asi11-header .hp7-actions>.asi8-login-button,
  .hp7-header.asi11-header .hp7-actions>.hp7-personal,
  .hp7-header.asi11-header .hp7-actions>.hp7-search-mobile{height:var(--asi35-action-height,54px)!important;width:clamp(38px,11vw,56px)!important;min-width:clamp(38px,11vw,56px)!important;border-radius:11px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:3px!important;gap:3px!important;box-sizing:border-box;background:#fff;border:1px solid #e4eaf3;box-shadow:0 3px 10px #092b4510;margin:0!important;}
  .hp7-header.asi11-header .hp7-actions>.hp7-personal{background:#fff1f5!important}
  .hp7-header.asi11-header .hp7-actions>.asi8-login-button>span,
  .hp7-header.asi11-header .hp7-actions>.hp7-personal>span:not(.screen-reader-text){font-size:9px!important;line-height:1.1!important;white-space:nowrap}
  .hp7-header.asi11-header .hp7-actions>.hp7-search-mobile svg{width:21px;height:21px}
  .hp7-header .hp7-actions{flex-wrap:nowrap!important;gap:5px!important}
  .asi15-mega .asi15-mega-layout{padding:10px;display:flex;flex-direction:column;gap:9px}
  .asi15-mega .asi15-mega-group{padding:4px 6px;border-radius:12px}
  .asi15-mega .asi15-mega-group-button{padding:12px!important;width:100%;min-height:42px}
  .asi15-mega .asi15-mega-group-body{padding:5px 4px 7px}
  .asi15-mega .asi15-mega-links li>a{font-size:13px!important;min-height:43px}
  .hp7-mega-menu.asi15-mega{max-height:calc(100dvh - 105px);overflow-y:auto}
}
@media(max-width:490px){
  .hp7-header.asi11-header .hp7-main-inner{gap:4px!important}
  .hp7-header .hp7-actions{gap:4px!important}
  .asi8-search .asi35-voice-button{width:32px;flex-basis:32px;margin-inline:0}
}
@media(prefers-reduced-motion:reduce){.asi8-search .asi35-voice-button,.asi15-mega .asi15-mega-links li>a{animation:none!important;transition:none!important}}
.asi8-search .asi35-voice-button+button[type="submit"]{white-space:nowrap}
.asi8-search input[name="s"]{min-width:0!important;flex:1 1 90px}
.asi8-search{min-width:0}
@media(max-width:580px){.asi8-search .asi24-scope-select{max-width:89px!important}.asi8-search .asi35-voice-button{margin-right:3px!important}}
.hpagg-panel-art.asi35-image-unavailable{display:grid;place-items:center;background:radial-gradient(circle at 73% 24%,#397ca090,transparent 38%),linear-gradient(135deg,#102b46,#1c5a78 62%,#142b4c)}
.asi35-graphic-fallback{font-size:clamp(56px,7vw,110px);font-weight:200;color:#ffffff2d;transform:rotate(-22deg)}
