header{
    position:fixed;
    width:100%;
    z-index:1000;
    top:0;
}

/*body {
    font-family: "Inter", sans-serif;
    padding: 104px 0 0;
}*/

body.scroll-locked {
  touch-action: none;
  overscroll-behavior: contain;
}

/*.header {
    position: fixed;
    font-size: 18px;
    color: #FFFFFF;
    width: 100%;
    height: 104px;
    z-index:9999;
}*/

.top-section {
    background: #FB0D1B;
    width: 100%;
    height: 60px;
}

.red-container {
    display: flex;
    align-items: center;
    justify-content:space-between;
    max-width: 1056px;
    width: auto;
    margin: 0 auto;
    height: 60px;
}



/* Menüler */
.menu-container {
    margin: 0 auto;
    display: grid;
    position: relative;
}

.menu-container h1 a:hover {
    color:#FB0D1B !important;
    cursor:pointer;
}

.top-menu,
.header-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

sub-menu {
    display: none;
}

.sub-menu.visible {
    display: flex;
}

.top-menu li a,
.header-menu li a {
    text-decoration: none;
}

.menu-w {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-menu li a {
    color: #FFFFFF;
    font-weight:700;
    font-size: 18px;
}

.top-menu li a:hover {
    color: #FFFFFFCC;
}

.top-menu li:not(:last-child) a::after {
    content: '';
    position: absolute;
    margin: 0 15px;
    top: 22px;
    height: 15px;
    width: 1px;
    background: rgba(250, 198, 191, 0.60);
}

.header-menu li a, 
.header-menu li a span {
    color: #202122;
    font-size:16px;
}

.header-menu li {
    display: inline-block;
    position: relative;
}

.header-menu li:not(:last-child)::after  {
    content: '';
    position: absolute;
    margin: 0 15px;
    top: 3px;
    height: 15px;
    width: 1px;
    background: #D4D4D4;
}

/*.header-menu li a span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 3px;
    line-height: 0;
}*/

/* Tüm Kategori bağlantısının stili */
.all-category-title {
    display:flex;
    align-items:center;
    gap:8px;
}

.has-dropdown::after {
   right:-15px !important;
   top: 4px !important;
   margin: 0 !important;
}

.has-dropdown {
    position: relative;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1056px;
    margin: 0 auto 24px;
}

.category-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: #E8E8E8;
    z-index: 1000;
    padding: 10px 0 30px;
}

.category-list {
    display: flex;
    justify-content: flex-start;
    max-width: 1056px;
    margin: 0 auto;
    padding: 0;
}

.category-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
    padding-right: 40px;
    position: relative;
}


.category-column a {
    text-decoration: none;
    color: #333;
    font-size: 14px !important;
    padding: 10px 0;
    font-weight: 700;
    transition: color 0.2s ease-in-out;
}

.category-dropdown a::after {
  content: none !important;
}
.new3category-box-container a:hover,
.category-column a:hover,
.header-menu li a:hover,
.mobile-menu-items a:hover,
.has-dropdown a span:hover
{
    color: #FB0D1B;
}

a.all-category-title:hover img {
    content: url('/mstatic/assets/img/headericons/all-red.svg');
}
a.all-category-title:hover span.font-bold {
    color: #FB0D1B; 
}


.category-dropdown.is-open {
    display: block;
}

.new3category-box-container {
    max-width: 1056px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 10px;
    margin:0 auto;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #D4D4D4;
}

.new3category-box-container a {
    font-size: 16px;
    padding: 10px 0;
}

/* Member Login Button */
.member-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
    background: #FFFFFF;
    border: none;
    color: #FB0D1B;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    height:32px;
    padding: 10px;
}

.member-login-button .icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.desktop-search-container {
    display:none;
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    background-color: #f7f7f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999; 
    padding: 20px 0;
}

.desktop-search-container.active {
    display: block;
}

/* İçeriklerin düzeni */
.search-content-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.search-input-area {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.icon-search-glass {
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
}

.search-button {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

.close-button {
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    padding: 0 15px;
}

    .mobile-search-button {
        background-color: #FB0D1B;
        border-radius: 4px;
        border: 0;
        color: #FFF;
        padding: 6px 12px;
    }


/* Red Header */
.bottom-section {
    background: #E8E8E8;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.12);
    width: 100%;
    height: 44px;
}

.bottom-header {
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    max-width: 1056px;
    padding: 10px 0;
}


.search-container {
    position: relative;
}

.search-desktop-container {
    display:none;
    width: 100%;
    height:98px;
    position: fixed;
    justify-content:center;
    gap:12px;
    top: 8px;
    left:0;
    background-color: #E8E8E8;
    margin: 52px auto 0;
    padding: 24px 12px;
    box-shadow: 0 5px 21px -7px rgba(0, 0, 0, .68);
    z-index: 1000;
    opacity:0;
    pointer-events: none;
}

.search-desktop-container.active {
    display:flex;
    opacity:1;
    pointer-events: auto; 
}

#searchform {
    width:100%;
    max-width:1036px;
}

 .search-bar-desktop {
    display:flex;
    align-items:center;
    height: 50px;
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    background: #FFF;
    padding: 8px 12px;
    outline: none;
    box-sizing: border-box;
}

.search-bar-desktop.active {
    width: 100%;
    max-width:1056px;
}

.search-bar-desktop input[type="search"] {
  padding: 8px 12px;
        height: 34px;
        background-color: #fff;
        color: #878787;
        font-size: 16px;
        border: none;
        box-sizing: border-box;
        width: 100%;
        display: inline-block;
        outline: none;
}

.search-input-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

/* Subheading Sağ */
.subheading-right {
    max-width: 81.25rem;
    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: flex-start;
    box-sizing: border-box;
}

.subheading-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 15.625rem;
    height: 2.5rem;
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
    padding-left: 89px;
    box-sizing: border-box;
}

.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;
}

.kripto-text {
    --text-color: #000;
}


@media (max-width: 1024px) {
    header {
        height: 52px;
    }

    .hb-mobile-header {
        display: block;
    }

    .nav-menu {
        position: fixed;
        width: 100%;
        height: 52px;
        top: 0;
        right: 0;
        left: 0;
        z-index: 3;
        background: #fe0000;
    }

    #mobile-header #mobile-menu-toggle {
        display: block;
        width: 24px;
        height: 24px;
        text-align: center;
        position: fixed;
        left: 16px;
        top: 12px;
    }

    #mobile-header .logo {
        position: fixed;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }

    .search-bar-desktop {
        display: none;
    }

    #mobile-header #mobile-search-button {
        display: block;
        position: fixed;
        right: 16px;
        top: 15px;
        text-align: center;
    }

    #mobile-header #mobile-menu-toggle i {
        font-size: 40px;
        color: #FFF;
    }

    #mobile-menu {
        position: fixed;
        top: 52px;
        left: -314px;
        right: auto;
        width: 100%;
        max-width: 314px;
        height: calc(100% - 50px);
        bottom: 0;
        z-index: 10;
        overflow-y: auto;
        background-color: #FFFFFF;
        transition: transform .34s ease, opacity .34s ease;
        opacity: 0;
    }

        #mobile-menu.active {
            transform: translateX(314px);
            opacity: 1;
        }

    .sidebar-menu {
        list-style: none;
        margin: 0;
        padding: 0 0 24px 0;
    }

        .sidebar-menu li {
            background: #FFFFFF;
            border-bottom: 1px solid #EFEFEF;
        }

            .sidebar-menu li:first-child a {
                border-top: none;
            }

            .sidebar-menu li a {
                padding: 10px 16px;
                display: block;
                color: #000;
                text-decoration: none;
                font-size: 18px;
                font-weight: 600;
            }

                .sidebar-menu li a img {
                    padding-right: 10px;
                    vertical-align: middle;
                    width: 30px;
                    height: 30px;
                }

    /*.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: 24px;
    }

        .social-logo a img {
            width: 48px;
            height: 48px;
        }

    .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;
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .5);
        left: 0;
        top: 0;
        z-index: 2;
        -webkit-transition: opacity 0.34s ease;
        transition: opacity .34s ease;
    }

        .overlay.active {
            visibility: visible;
            opacity: 1;
            transition-delay: 0s;
        }

    .search-container {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #F6F6F6;
        margin: 52px auto 0;
        padding: 16px 12px 24px;
        box-shadow: 0 5px 21px -7px rgba(0, 0, 0, .68);
        transition: transform .34s ease, opacity .34s ease;
        transform: translateY(0);
        opacity: 1;
        z-index: 1000;
    }


    .search-close {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-bottom: 8px;
    }

    .search-input {
        border: 1px solid #D1D1D1;
        border-radius: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        gap: 10px;
        padding: 8px 12px;
    }

    .mobile-search {
        padding: 8px 12px;
        height: 34px;
        background-color: #fff;
        color: #878787;
        font-size: 16px;
        border: none;
        box-sizing: border-box;
        width: 100%;
        display: inline-block;
        outline: none;
    }

        .mobile-search:focus {
            outline: none;
            border: none;
        }

    .search-container.hidden {
        display: none;
    }

    .mobile-menu-container {
        display: flex;
        align-items: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 12px 16px;
        background-color: #E5E5E6;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: -0.08px;
        margin-top: 52px;
    }

    .mobile-menu-items a {
        display: inline-block;
        position: relative;
        padding: 0 15px;
        color: #000;
        text-decoration: none;
        font-weight: 700;
        transition: background-color 0.3s ease;
    }

        .mobile-menu-items a:not(:last-child)::after {
            content: '';
            position: absolute;
            right: 0;
            height: 24px;
            width: 0.031rem;
            background-color: #3C3C435C;
        }

        .mobile-menu-items a:first-child{
            padding-left: 0;
        }

        .mobile-menu-items a.active {
            border-radius: 6px;
            border: 0.5px solid rgba(0, 0, 0, 0.04);
            box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12), 0px 3px 1px 0px rgba(0, 0, 0, 0.04);
            background-color: #fff;
            padding: 8px 12px;
            font-weight: 600;
        }

            .mobile-menu-items a.active::after {
                display: none;
            }

        .mobile-menu-items a.no-separator::after {
            display: none;
        }

    .bottom-section, .top-section {
        display: none;
    }

    .topBar {
        top: 41px;
        z-index: 399;
        margin-bottom: 0;
        position: fixed;
    }

    .hbFinanceTopBar {
        width: calc(100% + 30px);
        margin: 0 -15px;
        margin-top: 52px;
        padding-bottom: 5px !important;
        display: flex;
        align-items: center;
        overflow: auto;
        background: #ffffff;
    }

        .topBar .hbFinanceTopBar span {
        color: #000;
        margin-bottom: 3px;
        font-size: 13px;
        white-space:nowrap;
    }
}

@media (min-width: 1025px) and (max-width: 1080px) {

    .header-menu li a {
        font-size:14px;
    }

    .menu-container,
    .red-container{
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 1085px) and (max-width: 1269px) {
    .header {
        font-size: 1rem;
    }

    .top-menu {
        margin: 0;
    }

    .bottom-header {
        font-size: .8rem;
    }

    .subheading-right {
        font-size: .8rem;

    }

 /*   .header-menu li {
        margin-left: .8rem;
        margin-right: .5rem;
    }*/

}