/* Compatibility layer preserving legacy design */
#mainMenu.ddsmoothmenu ul li:hover > ul, #mainMenu.ddsmoothmenu ul li:focus-within > ul,
#mainMenu.ddsmoothmenu ul li.duman-open > ul { display:block; visibility:visible; z-index:1000; }
#mainMenu.ddsmoothmenu ul li ul li:hover > ul, #mainMenu.ddsmoothmenu ul li ul li:focus-within > ul { left:100%; top:0; }
#slider .duman-slide { display:block; position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; visibility:hidden; transition: opacity .7s ease; }
#slider .duman-slide.duman-active { opacity:1; visibility:visible; z-index:2; }
#slider img.duman-slide { object-fit:cover; }
#slider .duman-slide img { display:block; width:100%; height:100%; object-fit:cover; position:static; }
#slider .nivo-directionNav a { z-index:15; }
#slider .nivo-caption { z-index:10; }
.nivo-controlNav button { cursor:pointer; border:0; padding:0; margin:0; position:relative; z-index:99; display:block; float:left; width:20px; height:20px; background:url(../images/slider_controlnav.png) -20px 0 no-repeat; font-size:0; }
.nivo-controlNav button.active { background-position:0 0; }
.duman-honeypot { position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.duman-lightbox { position:fixed; z-index:100000; inset:0; background:rgba(0,0,0,.88); display:flex; align-items:center; justify-content:center; padding:30px; }
.duman-lightbox img { display:block; max-width:90vw; max-height:85vh; object-fit:contain; }
.duman-lightbox button { position:absolute; right:24px; top:16px; color:white; background:#222; border:1px solid #aaa; padding:8px 12px; cursor:pointer; }
@media (max-width:980px) { #mainWrapper,#wrapper,#header,#content,#footer,#footerActionsInner,#footerWidgetsInner{max-width:100%;} img {max-width:100%;height:auto;} }


/* Dumanoğlu 2.0.1: Header search replacement (overrides the legacy text-only CSS). */
#topSearch {
    top: 20px;
    right: 0;
    width: 236px;
    height: 43px;
    z-index: 110;
}
#topSearch #searchform {
    position: relative;
    display: block;
    width: 100%;
    height: 43px;
    margin: 0;
}
#topSearch .duman-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
}
#topSearch input[type="search"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 43px;
    padding: 0 53px 0 16px;
    margin: 0;
    border: 1px solid #b9c7d1;
    border-radius: 22px;
    outline: none;
    background: #fff;
    color: #24323d;
    font: normal 14px/1.4 Arial, Helvetica, sans-serif;
    font-style: normal;
    box-shadow: inset 0 1px 2px rgba(12, 30, 45, .06), 0 1px 3px rgba(0, 0, 0, .20);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
#topSearch input[type="search"]::placeholder { color: #74828d; opacity: 1; }
#topSearch input[type="search"]:focus {
    border-color: #209fdb;
    box-shadow: 0 0 0 3px rgba(31, 162, 225, .25);
}
#topSearch #searchsubmit {
    box-sizing: border-box;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #2aafea, #087fb9);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(5, 42, 62, .25);
    transition: background .2s ease, transform .2s ease;
}
#topSearch #searchsubmit svg { display:block; width: 19px; height: 19px; }
#topSearch #searchsubmit:hover { background: linear-gradient(145deg, #42baf0, #086e9e); }
#topSearch #searchsubmit:active { transform: scale(.96); }
#topSearch #searchsubmit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
@media (max-width: 980px) {
    #topSearch { right: 12px; width: clamp(170px, 24vw, 236px); }
}
@media (prefers-reduced-motion: reduce) {
    #topSearch input[type="search"],
    #topSearch #searchsubmit { transition: none; }
}
