/* Dumanoğlu 2.2.0 – navigation/search layout. Loaded LAST to override the legacy Boldy CSS. */
:root { --duman-nav-height:74px; --duman-nav-bg:#091214; --duman-accent:#159bce; }
#mainWrapper, body#home #mainWrapper {
    background:linear-gradient(to bottom, #0b1518 0, #070d0f var(--duman-nav-height), transparent var(--duman-nav-height)) top left/100% var(--duman-nav-height) no-repeat;
}
#header {
    box-sizing:border-box; display:flex; align-items:center; gap:0;
    width:100%; height:var(--duman-nav-height); min-height:var(--duman-nav-height);
    position:relative; background:none; overflow:visible;
}
#logo {
    position:static; inset:auto; float:none; flex:0 0 147px; width:147px;
    margin:0 7px 0 0; min-width:0; align-self:center;
}
#logo a { display:flex; align-items:center; width:100%; height:66px; }
#logo a img { display:block; max-width:100%; max-height:61px; width:auto; height:auto; object-fit:contain; border:0; }
#dumanHomeLink {
    display:flex; align-items:center; justify-content:center; position:relative;
    align-self:stretch; flex:0 0 43px; width:43px; padding:0;
    color:#fff; text-decoration:none; border-bottom:3px solid transparent;
    transition:background .16s ease,border-color .16s ease;
}
#dumanHomeLink:hover, #dumanHomeLink:focus-visible, #dumanHomeLink[aria-current="page"] {
    background:#1b2e32; border-color:var(--duman-accent); color:#fff;
}
#dumanNavPanel { position:static; display:flex; flex:1 1 auto; align-self:stretch; min-width:0; z-index:120; }
#dumanNavPanel nav { display:flex; flex:1; min-width:0; align-self:stretch; }
#dumanNavPanel #mainMenu.ddsmoothmenu {
    position:static; inset:auto; flex:1 1 auto; min-width:0; width:auto; height:100%;
    overflow:visible; background:transparent; border:0; box-shadow:none;
}
#mainMenu.ddsmoothmenu > ul {
    display:flex; flex-wrap:nowrap; align-items:stretch; width:100%; height:100%;
    margin:0; padding:0; list-style:none;
}
#mainMenu.ddsmoothmenu > ul > li {
    position:relative; display:block; float:none; width:auto; height:100%; flex:0 0 auto;
}
#mainMenu.ddsmoothmenu > ul > li.duman-home-menu-item { display:none; }
#mainMenu.ddsmoothmenu > ul > li > a {
    position:relative; display:flex; align-items:center; justify-content:center;
    box-sizing:border-box; height:100%; min-height:var(--duman-nav-height); width:auto;
    margin:0; padding:0 11px; background:none; color:#f1f2f3;
    border:0; border-bottom:3px solid transparent;
    font:normal 14px/1.25 Arial,Helvetica,sans-serif; text-decoration:none;
    white-space:nowrap; transition:background .16s ease,color .16s ease,border-color .16s ease;
}
#mainMenu.ddsmoothmenu > ul > li > a:hover,
#mainMenu.ddsmoothmenu > ul > li:hover > a,
#mainMenu.ddsmoothmenu > ul > li > a:focus-visible,
#mainMenu.ddsmoothmenu > ul > li.current-menu-item > a,
#mainMenu.ddsmoothmenu > ul > li.current-menu-ancestor > a {
    color:#fff; background:#1b2e32; border-bottom-color:var(--duman-accent);
}
#mainMenu.ddsmoothmenu > ul > li > a span { color:inherit; }
/* The dropdown starts exactly at the LOWER EDGE of the menu bar, never above adjacent items. */
#mainMenu.ddsmoothmenu ul li > ul {
    display:block; position:absolute; z-index:500; top:100%; left:0;
    width:max-content; min-width:195px; max-width:min(360px,90vw); margin:0; padding:4px 0;
    border:1px solid #233a3e; border-top:2px solid var(--duman-accent);
    background:#0a1618; border-radius:0 0 7px 7px;
    box-shadow:0 13px 22px rgba(0,0,0,.3);
    opacity:0; visibility:hidden; pointer-events:none; transform:translateY(4px);
    transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s;
}
#mainMenu.ddsmoothmenu ul li:hover > ul,
#mainMenu.ddsmoothmenu ul li:focus-within > ul,
#mainMenu.ddsmoothmenu ul li.duman-open > ul {
    display:block; opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
    transition-delay:0s;
}
#mainMenu.ddsmoothmenu ul li ul li { position:relative; display:block; float:none; width:100%; margin:0; padding:0; background:transparent; }
#mainMenu.ddsmoothmenu ul li ul li > a,
#mainMenu.ddsmoothmenu ul li ul li > a:hover {
    display:flex; align-items:center; box-sizing:border-box; width:100%; min-height:39px;
    height:auto; padding:10px 15px; margin:0;
    color:#dce6e9; font:normal 13px/1.3 Arial,Helvetica,sans-serif;
    text-decoration:none; white-space:normal; background:transparent;
    border:0; border-left:3px solid transparent; border-bottom:1px solid #213235;
    transition:color .15s ease,background .15s ease,border-color .15s ease;
}
#mainMenu.ddsmoothmenu ul li ul li > a:hover,
#mainMenu.ddsmoothmenu ul li ul li > a:focus-visible,
#mainMenu.ddsmoothmenu ul li ul li:hover > a {
    color:#fff; background:#1b3d45; border-left-color:var(--duman-accent);
}
#mainMenu.ddsmoothmenu ul li ul li > ul,
#mainMenu.ddsmoothmenu ul li ul li:hover > ul,
#mainMenu.ddsmoothmenu ul li ul li:focus-within > ul {
    top:0; left:100%; border-top:2px solid var(--duman-accent);
}
#mainMenu .duman-submenu-toggle { display:none; }
#dumanMobileSearch { display:none; }
.duman-menu-toggle { display:none; }
/* Only an icon remains in the desktop navigation: the full search form slides below it. */
#topSearch { position:static; inset:auto; z-index:121; width:46px; height:100%; flex:0 0 46px; }
#dumanSearchToggle {
    display:flex; justify-content:center; align-items:center; width:46px; height:100%;
    background:transparent; color:#f4f6f7; border:0; border-bottom:3px solid transparent;
    cursor:pointer; transition:background .16s ease,border-color .16s ease;
}
#dumanSearchToggle:hover,#dumanSearchToggle:focus-visible,#dumanSearchToggle[aria-expanded="true"] {
    border-bottom-color:var(--duman-accent); background:#1b2e32;
}
#dumanSearchToggle svg, #dumanSearchClose svg { display:block; }
#dumanSearchPanel {
    position:relative; isolation:isolate; z-index:110;
    display:grid; grid-template-rows:0fr; visibility:hidden; opacity:0;
    transition:grid-template-rows .25s ease,opacity .2s ease,visibility 0s linear .25s;
}
#dumanSearchPanel::before {
    content:""; position:absolute; top:0; bottom:0; left:50%; transform:translateX(-50%);
    width:100vw; background:linear-gradient(120deg,#52667e,#354659);
    z-index:-1; box-shadow:0 4px 9px rgba(0,0,0,.12);
}
#dumanSearchPanel.duman-search-open {
    grid-template-rows:1fr; visibility:visible; opacity:1; transition-delay:0s;
}
#dumanSearchPanel .duman-search-panel-inner {
    display:flex; gap:15px; align-items:center; min-height:0; padding:0;
    overflow:hidden; transition:padding .25s ease;
}
#dumanSearchPanel.duman-search-open .duman-search-panel-inner { padding:12px 0; }
.duman-search-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#dumanSearchPanel #searchform {
    display:flex; align-items:center; position:relative; width:100%; flex:1; min-width:0;
    height:42px; margin:0; background:#fff; border-radius:5px;
}
#dumanSearchPanel #s {
    flex:1; box-sizing:border-box; width:100%; height:42px; padding:0 12px;
    background:#fff; color:#26333a; font:16px/1.2 Arial,Helvetica,sans-serif;
    border:0; outline:0; border-radius:5px 0 0 5px; -webkit-appearance:none; appearance:none;
}
#dumanSearchPanel #s:focus-visible { outline:2px solid var(--duman-accent); outline-offset:-2px; }
#dumanSearchPanel #searchsubmit {
    display:flex; align-items:center; justify-content:center; position:static; z-index:auto;
    width:47px; height:42px; flex:0 0 47px; background:#eff1f3; color:#101a23;
    border:0; border-left:1px solid #e2e6e9; border-radius:0 5px 5px 0; cursor:pointer;
}
#dumanSearchPanel #searchsubmit:hover,#dumanSearchPanel #searchsubmit:focus-visible { background:#dae6ee; }
#dumanSearchClose {
    display:flex; justify-content:center; align-items:center; flex:0 0 42px;
    height:42px; width:42px; padding:0; border:0; border-radius:4px;
    background:#078fc8; color:#fff; cursor:pointer;
}
#dumanSearchClose:hover,#dumanSearchClose:focus-visible { background:#0075a9; }
#dumanSearchToggle:focus-visible,#dumanSearchClose:focus-visible,
#dumanMenuToggle:focus-visible,#dumanHomeLink:focus-visible { outline:2px solid #29b1ed; outline-offset:2px; }
#content { margin-top:17px; }
body#home #content { margin-top:14px; }
#footerWidgetsInner #copyright {
    display:flex; align-items:center; gap:20px; justify-content:space-between;
}
#footerWidgetsInner #copyright .duman-copyright-text { min-width:0; flex:1; }
#footerWidgetsInner .duman-footer-social { display:flex; align-items:center; justify-content:flex-end; gap:7px; flex:0 0 auto; margin-left:auto; }
#dumanFooterRss, #footerWidgetsInner .duman-footer-social-link {
    display:flex; justify-content:center; align-items:center; flex:0 0 42px;
    width:42px; height:42px; border:1px solid #26343a;
    border-radius:8px; background:#161e22; text-decoration:none;
}
#dumanFooterRss:hover,#dumanFooterRss:focus-visible,
#footerWidgetsInner .duman-footer-social-link:hover,#footerWidgetsInner .duman-footer-social-link:focus-visible { background:#2b363a; border-color:var(--duman-accent); }
#dumanFooterRss img, #footerWidgetsInner .duman-footer-social-link img { display:block; width:27px; height:27px; object-fit:contain; }

@media (max-width:980px) {
    :root { --duman-nav-height:68px; }
    #wrapper { max-width:960px; }
    #header { display:flex; height:var(--duman-nav-height); min-height:var(--duman-nav-height); gap:12px; }
    #logo { position:static; inset:auto; flex:0 1 200px; width:auto; max-width:calc(100% - 75px); margin:0 auto 0 0; }
    #logo a { height:64px; max-width:100%; }
    #logo a img { width:auto; max-width:100%; max-height:56px; object-fit:contain; }
    #dumanHomeLink { display:none; }
    #topSearch, #dumanSearchPanel { display:none; }
    #dumanMenuToggle.duman-menu-toggle {
        display:inline-flex; position:static; inset:auto; z-index:151;
        flex:0 0 45px; width:45px; min-width:45px; height:44px;
        align-items:center; justify-content:center; margin:0; padding:0;
        border:1px solid #35515a; border-radius:8px;
        background:#193137; color:#fff; cursor:pointer;
    }
    #dumanMenuToggle.duman-menu-toggle:hover,
    #dumanMenuToggle.duman-menu-toggle[aria-expanded="true"] { background:#244b55; }
    #dumanMenuToggle .duman-menu-label { display:none; }
    #dumanMenuToggle .duman-menu-bars { display:flex; }
    #dumanNavPanel {
        display:none; position:absolute; top:100%; left:0; right:0; z-index:150;
        max-height:min(75vh,680px); overflow-y:auto; overflow-x:hidden;
        flex:none; background:#081619; border:1px solid #28434d;
        border-radius:0 0 8px 8px; box-shadow:0 12px 24px rgba(0,0,0,.3);
    }
    #dumanNavPanel.duman-menu-open { display:block; }
    #dumanNavPanel nav { display:block; width:100%; }
    #dumanNavPanel #mainMenu.ddsmoothmenu {
        position:static; display:block; width:100%; height:auto; max-height:none;
        background:none; border:0; box-shadow:none; overflow:visible;
    }
    #dumanNavPanel #mainMenu.ddsmoothmenu > ul { display:block; width:100%; height:auto; margin:0; padding:5px 0; }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li {
        position:relative; display:block; float:none; width:100%; height:auto; margin:0; padding:0;
        background:transparent;
    }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li.duman-home-menu-item { display:block; }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li > a,
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li ul li > a {
        display:flex; align-items:center; width:100%; min-height:46px; height:auto;
        padding:12px 52px 12px 17px; border:0; border-bottom:1px solid #24383c;
        border-left:3px solid transparent; border-radius:0;
        background:transparent; color:#eff4f5; justify-content:flex-start;
        font:normal 15px/1.3 Arial,Helvetica,sans-serif; text-align:left; white-space:normal;
    }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li > a:hover,
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li > a:focus-visible,
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li.current-menu-item > a {
        background:#17383f; border-left-color:var(--duman-accent); color:#fff;
    }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li > ul,
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li:hover > ul,
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li:focus-within > ul,
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li.duman-open > ul {
        display:none; position:static; width:100%; max-width:none; min-width:0;
        height:auto; margin:0; padding:0; background:#11272b;
        visibility:visible; opacity:1; transform:none; pointer-events:auto;
        border:0; border-radius:0; box-shadow:none; transition:none;
    }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li.duman-submenu-open > ul { display:block; }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li ul li > a { padding-left:32px; font-size:14px; background:#10292e; }
    #dumanNavPanel #mainMenu.ddsmoothmenu ul li ul li ul li > a { padding-left:46px; }
    #dumanNavPanel #mainMenu .duman-submenu-toggle {
        display:flex; position:absolute; top:3px; right:4px; z-index:3;
        width:44px; height:40px; justify-content:center; align-items:center;
        padding:0; border:0; background:transparent; color:#fff; cursor:pointer;
        font:normal 26px/1 Arial,Helvetica,sans-serif;
    }
    #dumanNavPanel #mainMenu .duman-submenu-toggle span { display:block; transition:transform .2s ease; }
    #dumanNavPanel #mainMenu .duman-submenu-toggle[aria-expanded="true"] span { transform:rotate(180deg); }
    #dumanNavPanel #mainMenu .duman-submenu-toggle:focus-visible { outline:2px solid #2aafea; outline-offset:-2px; }
    #dumanMobileSearch { display:block; padding:13px 15px 16px; background:#10282d; }
    #dumanMobileSearch form {
        display:flex; align-items:center; height:45px; background:#fff;
        border-radius:7px; border:1px solid #ccd6db; overflow:hidden;
    }
    #dumanMobileSearch input[type="search"] {
        display:block; flex:1; min-width:0; width:100%; height:43px;
        padding:0 12px; margin:0; border:0; border-radius:0;
        background:#fff; color:#142229; font:normal 16px Arial,Helvetica,sans-serif;
        -webkit-appearance:none; appearance:none;
    }
    #dumanMobileSearch input[type="search"]:focus-visible { outline:2px solid var(--duman-accent); outline-offset:-2px; }
    #dumanMobileSearch button {
        display:flex; align-items:center; justify-content:center;
        width:46px; height:45px; flex:0 0 46px; border:0;
        background:#0b91c5; color:#fff; cursor:pointer;
    }
    #dumanMobileSearch button:hover,#dumanMobileSearch button:focus-visible { background:#087eab; }
    #content,body#home #content { margin-top:14px; }
    #homeBoxes .homeBox { min-width:0; }
    #homeBoxes .homeBox img { display:block; width:100%; max-width:100%; height:auto; }
    #homeBoxes .homeBox .wp-block-image { width:100%; max-width:100%; }
}
@media (max-width:760px) {
    #homeBoxes { display:grid; grid-template-columns:minmax(0,1fr); gap:25px; width:100%; }
    #homeBoxes .homeBox, #homeBoxes .homeBox.last { display:block; float:none; width:100%; margin:0; padding:0; }
    #homeBoxes .homeBox img { display:block; width:100% !important; height:auto; max-width:100%; }
    #homeBoxes .homeBox h2 { margin:0 0 7px; font-size:23px; }
    #homeBoxes .homeBox p { max-width:100%; }
    #footerWidgetsInner #copyright { gap:9px; flex-wrap:wrap; }
}
@media (max-width:420px) {
    #header { gap:8px; }
    #logo { max-width:calc(100% - 57px); }
    #logo a img { max-height:50px; }
    #dumanMenuToggle.duman-menu-toggle { width:44px; min-width:44px; flex-basis:44px; }
    #homeBoxes .homeBox h2 { font-size:21px; }
}
@media (prefers-reduced-motion:reduce) {
    #dumanSearchPanel,#dumanSearchPanel .duman-search-panel-inner,#mainMenu.ddsmoothmenu ul li > ul,
    #dumanMenuToggle,#dumanHomeLink,#dumanSearchToggle { transition:none !important; }
}
