.new3header-top-container {
    display: flex;
    align-items: center; /* Logo ve title'� dikeyde ortalar */
    justify-content: flex-start;
}

.new3header-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    justify-content: center;
}

.new3header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}

    .new3header-row a#genel-basliklar {
        margin-right: auto; /* Logoyu sola yasla */
    }

.new3header-container ul {
    padding-inline-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.hidden {
    height: 0 !important;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}


.header {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    background-color: var(--header-bg);
    width: 100%;
    height: 5rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
    z-index: 999;
    top:0;
}

/* Men�ler */
.new3menu-container {
    margin-right: auto;
    margin-left: auto;
    display: grid;
    justify-content: center;
}

.new3top-menu,
.header-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .new3top-menu li,
    .header-menu li {
        margin-right: 1.5rem;
    }

        .new3top-menu li:first-child,
        .header-menu li:first-child {
            margin-left: 1.375rem;
        }

.new3top-menu {
    margin: 0 50px;
}

    /*.header-menu {
    margin-left: 10px;
}*/

    .new3top-menu li a,
    .header-menu li a {
        text-decoration: none;
    }

    .new3top-menu li a {
        color: var(--header-text);
    }

.header-menu li a {
    color: var(--text-color);
}

/* Member Login Button */
.member-login-button {
    display: flex;
    align-items: center;
    border: 1px solid var(--member-button-border);
    color: #000000;
    border-radius: 1.25rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--member-button-bg);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1rem;
}

    .member-login-button .icon {
        margin-left: 0.625rem;
        display: flex;
        align-items: center;
    }

        .member-login-button .icon svg {
            width: 0.75rem;
            height: 0.75rem;
            fill: currentColor;
        }

.new3headers-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1700px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}


/* Red Header */
.red-header {
    height: 2.75rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    background-color: var(--header-menu-bg);
    max-width: 1700px;
    width: 100%;
    border-radius: 0.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Yellow Header Subheading*/
.yellow-header {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-color);
    background-color: var(--yellow-header-bg);
    max-width: 1700px;
    width: 100%;
    border-bottom-right-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
    height: 2rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 520px;
}

#kripto-container .header-menu li a {
    color: #000000;
}


#kripto-container .yellow-header .header-menu li a {
    color: #FFFFFF;
}

/* Search Container */
.search-container {
    position: relative;
    margin: 0 0.625rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1.75rem 0.5rem 0.5rem;
    border-radius: 1.25rem;
    background-color: var(--member-button-bg);
    color: var(--header-text);
    font-size: 0.75rem;
    border: none;
    box-sizing: border-box;
}

    .search-input::placeholder {
        color: #000000;
    }

.search-input-button {
    position: absolute;
    right: 5px;
    top: 50%;
    border: none;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#searchform .hbhdSearchOpen.autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto !important;
}

    #searchform .hbhdSearchOpen.autocomplete ul {
        padding: 15px;
    }

        #searchform .hbhdSearchOpen.autocomplete ul li {
            padding: 8px 0;
            font-size: 13px;
            border-bottom: 1px solid #f2f2f2;
        }

/* Subheading Sa� */
.subheading-right {
    max-width: 1700px;
    width:100%;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.subheading-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 32.5rem;
    height: 2.75rem;
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
    box-sizing: border-box;
    margin-left: 0;
    padding-left: calc(3rem + 232px);
}

    .subheading-left a {
        display: block;
        color: var(--text-color);
        font-size: 1.3125rem;
        line-height: 1.70;
        text-decoration: none;
    }


.subheading-double {
    padding-top: 30px;
    z-index: 999;
    border-bottom-left-radius: 0;
}

.hb-mobile-header {
    display: none;
}

.prDKulIcon {
    display: flex;
    align-items: center;
    border: 1px solid var(--member-button-border);
    color: #000000;
    border-radius: 1.25rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--member-button-bg);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1rem;
}

    .prDKulIcon .icon {
        margin-left: 0.625rem;
        display: flex;
        align-items: center;
    }

        .prDKulIcon .icon svg {
            width: 0.75rem;
            height: 0.75rem;
            fill: currentColor;
        }
/*@media (max-width: 767px) {

    .hb-mobile-header {
        display: block;
        margin-bottom: 30px;
    }
}*/
/*
@media (min-width: 768px) and (max-width: 1024px) {

    
}
*/
@media (max-width: 1024px) {
    .hb-mobile-header {
        display: block;
        
    }

    .nav-menu {
        position: fixed;
        width: 100%;
        max-width: 100%;
        height: 52px;
        top: 0;
        right: 0;
        left: 0;
        z-index: 999;
        background: #fe0000;
        overflow-x: hidden;
    }

    #mobile-header #mobile-menu-toggle {
        display: block;
        width: 40px;
        height: 40px;
        text-align: center;
        position: fixed;
        left: 16px;
        top: 13px;
    }

    #mobile-header .logo {
        position: fixed;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }

        #mobile-header .logo img {
            max-width: 100%;
            height: auto; /* Oran�n� korur */
        }

    #mobile-header #mobile-search-button {
        display: block;
        position: fixed;
        right: 16px;
        top: 15px;
        text-align: center;
    }

    #mobile-search-button img {
        will-change: transform, opacity;
        backface-visibility: hidden;
        contain: content;
        transform: translateZ(0); /* GPU h�zland�rma sa�lar */
    }

    #mobile-header #mobile-menu-toggle i {
        font-size: 40px;
        color: #FFF;
    }

    #mobile-menu {
        position: fixed;
        top: 52px;
        left: -270px;
        right: auto;
        width: 100%;
        max-width: 270px;
        height: calc(100% - 50px);
        bottom: 0;
        z-index: 10000;
        overflow-y: auto;
        background-color: #202020;
        transition: transform .34s ease, opacity .34s ease;
        opacity: 0;
    }

        #mobile-menu.active {
            transform: translateX(270px);
            opacity: 1;
        }

    .sidebar-menu {
        list-style: none;
        margin: 0;
        padding: 0 0 20px 0;
    }

        .sidebar-menu li {
            background-image: linear-gradient(to bottom, #202020, #1a1a1a);
        }

            .sidebar-menu li:first-child a {
                border-top: none;
            }

            .sidebar-menu li a {
                padding: 12px 30px 12px 15px;
                display: block;
                color: #FFF;
                text-decoration: none;
                font-family: sans-serif;
                font-size: 14px;
                font-weight: 500;
            }

                .sidebar-menu li a img {
                    padding-right: 10px;
                    vertical-align: middle;
                    width: 32px;
                    height: 22px;
                }

    .sidebar-submenu.third-level {
        display: none;
    }

        .sidebar-submenu.third-level.menu-open {
            display: block;
        }

    #contact-toggle {
        position: relative;
        display: inline-block;
    }

        #contact-toggle .subdownup {
            display: block;
            position: absolute;
            text-align: center;
            top: 50%;
            right: -70%;
            transform: translateY(-50%);
            cursor: pointer;
            width: 24px;
            height: 24px;
        }


    .kripto a {
        color: #000 !important;
        background-color: #FFD600 !important;
    }

    .uye-girisi a {
        background-color: #3fc277 !important;
    }

    .arrow {
        font-size: 27px;
        line-height: 0;
        position: relative;
        display: inline-block;
        margin-left: 2px;
        transform: translateY(3px);
        font-weight: 300;
        color: #fff;
    }

    .social-logo {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        text-align: center;
        margin-bottom: 20px;
    }

        .social-logo a img {
            width: 32px;
            height: 32px;
        }

    .app-logo {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        margin: 10px auto;
        padding: 0 5px;
    }

        .app-logo a img {
            width: 80px;
            height: 26px;
        }

    .overlay {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .5);
        left: 0;
        top: 0;
        z-index: 998;
        -webkit-transition: opacity 0.2s ease, visibility 0s linear 0.2s;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
        will-change: opacity, visibility;
        backface-visibility: hidden;
    }

        .overlay.active {
            visibility: visible;
            opacity: 1;
            transition-delay: 0s;
        }

    .search-container {
        position: fixed;
        background-color: #850000;
        height: 54px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0 16px;
        box-shadow: 0 5px 21px -7px rgba(0, 0, 0, .68);
        transition: transform .34s ease, opacity .34s ease;
        transform: translateY(0);
        opacity: 1;
        width: 100%;
        z-index: 999;
        top:52px;
    }

    .mobile-search {
        padding: 0.5rem 0.75rem;
        height: 24px;
        border-radius: 1.25rem;
        background-color: #fff;
        color: grey;
        font-size: 0.75rem;
        border: none;
        box-sizing: border-box;
        width: 100%;
        display: inline-block;
    }

    .mobile-search-button {
        background-color: #fe0000;
        border-radius: 30px;
        border: 0;
        color: #FFF;
        padding: 4px 8px;
        margin-left: 10px;
    }

    .search-container.hidden {
        display: none;
    }

    .mobile-menu-container {
        position: fixed;
        display: flex;
        align-items: flex-start;
        width: 100%;
        top: 52px;
        box-sizing: border-box;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 16px;
        background-color: #fe0000;
        font-family: sans-serif;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: -0.08px;
        z-index: 999;
    }

    .mobile-menu-items {
        display: none;
    }

        .mobile-menu-items a {
            display: inline-block;
            position: relative;
            padding: 12px 16px;
            color: #FFFFFF;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

            .mobile-menu-items a:first-child {
                padding-left: 0;
            }

            .mobile-menu-items a:not(:last-child)::after {
                content: '';
                position: absolute;
                right: 0;
                height: 18px;
                width: 0.031rem;
                background-color: #FFFFFF;
            }

            .mobile-menu-items a.active {
                font-weight: 600;
            }

    .header {
        display: none;
    }

    .hbFinanceTopBar {
        width: calc(100% + 30px);
        margin: 0 -15px;
        margin-top: 52px;
        padding-bottom: 5px !important;
        display: flex;
        align-items: center;
        overflow: auto;
        background: #fe0000
    }

        .hbFinanceTopBar span {
            white-space: nowrap;
            color: #fff
        }

            .hbFinanceTopBar span.active {
                color: #fff;
                font-weight: 700
            }

        .hbFinanceTopBar::-webkit-scrollbar {
            color: #fff0;
            height: 0
        }

    .topBar {
        top: 41px;
        z-index: 399;
        margin-bottom: 0;
        position: fixed
    }

        .topBar .hbFinanceTopBar {
            background-color: #fff;
        }

            .topBar .hbFinanceTopBar span {
                color: #000;
                margin-bottom: 3px;
                font-size: 13px;
            }
}

@media (min-width: 1025px) and (max-width: 1046px) {

    .header-menu li{
        font-size: .8rem;
    }
}

@media (min-width: 1025px) and (max-width: 1655px) {
    .header {
        font-size: .8rem;
    }

    .new3top-menu {
        margin: 0;
    }

    .subheading-right {
        font-size: .8rem;
    }

    .subheading-left {
        width: 12rem;
        padding-left: 15px;
    }

    .yellow-header {
        font-size: .8rem;
        padding-left: 12rem;
    }

    .header-menu li {
        margin-left: .8rem;
        margin-right: .5rem;
    }
}

@media (min-width: 1656px) and (max-width: 1758px) {
    .subheading-left {
        padding-left: calc(3rem + 210px);
    }
}
