@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --ct-page-gold: #c99125;
    --ct-page-gold-light: #efc260;
}

html {
    scroll-behavior: smooth;
}

body.ct-standalone-page {
    margin: 0;
    background: #f5f2ea;
    color: #171814;
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

.ct-standalone-page *,
.ct-standalone-page *::before,
.ct-standalone-page *::after {
    box-sizing: border-box;
}

.ct-preview-topbar {
    position: relative;
    z-index: 10000;
    padding: 10px 16px;
    background: #26313e;
    color: #fff;
    font-size: 13px;
}

.ct-preview-topbar a {
    display: inline-block;
    margin-left: 12px;
    padding: 5px 9px;
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
}

.ct-gold-nav {
    position: sticky;
    top: 0;
    z-index: 9000;
    border-bottom: 1px solid rgba(201, 145, 37, .45);
    background: rgba(5, 5, 4, .97);
    backdrop-filter: blur(12px);
}

.ct-gold-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.ct-gold-nav-inner {
    min-height: 112px;
    display: grid;
    grid-template-columns: 230px 1fr auto;
    align-items: center;
    gap: 34px;
}

.ct-gold-logo {
    width: 220px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ct-gold-logo img {
    width: 100%;
    max-height: 94px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(201, 145, 37, .18));
}

.ct-gold-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.1vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-gold-menu a {
    position: relative;
    display: block;
    padding: 46px 0 43px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ct-gold-menu a::after {
    content: '';
    position: absolute;
    right: 100%;
    bottom: 29px;
    left: 0;
    height: 1px;
    background: var(--ct-page-gold);
    transition: right .2s ease;
}

.ct-gold-menu a:hover,
.ct-gold-menu a.active {
    color: var(--ct-page-gold-light);
}

.ct-gold-menu a:hover::after,
.ct-gold-menu a.active::after {
    right: 0;
}

.ct-gold-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ct-page-gold-light);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.ct-gold-mobile-toggle {
    display: none;
    width: 44px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.ct-gold-hamburger,
.ct-gold-hamburger::before,
.ct-gold-hamburger::after {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
}

.ct-gold-hamburger {
    position: relative;
}

.ct-gold-hamburger::before,
.ct-gold-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.ct-gold-hamburger::before {
    top: -6px;
}

.ct-gold-hamburger::after {
    top: 6px;
}

#corner-tudastar .ct-nav {
    top: 112px;
    z-index: 100;
}

#corner-tudastar #ct-alapok,
#corner-tudastar #ct-femek,
#corner-tudastar #ct-befektetesi-arany,
#corner-tudastar #ct-arfolyam,
#corner-tudastar #ct-vasarlas {
    scroll-margin-top: 200px;
}

@media (max-width: 1120px) {
    .ct-gold-nav-inner {
        grid-template-columns: 184px 1fr auto;
        gap: 20px;
    }

    .ct-gold-logo {
        width: 174px;
    }

    .ct-gold-menu {
        gap: 15px;
    }

    .ct-gold-menu a {
        font-size: 10px;
    }
}

@media (max-width: 860px) {
    .ct-gold-container {
        width: min(100% - 30px, 1320px);
    }

    .ct-gold-nav-inner {
        min-height: 80px;
        display: flex;
        justify-content: space-between;
    }

    .ct-gold-logo {
        width: 150px;
        height: 70px;
    }

    .ct-gold-phone {
        margin-left: auto;
        font-size: 12px;
    }

    .ct-gold-mobile-toggle {
        order: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ct-gold-menu {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 18px 20px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: #070706;
    }

    .ct-gold-menu.is-open {
        display: flex;
    }

    .ct-gold-menu a {
        padding: 10px 0;
        font-size: 12px;
    }

    .ct-gold-menu a::after {
        bottom: 4px;
    }

    #corner-tudastar .ct-nav {
        top: 80px;
    }

    #corner-tudastar #ct-alapok,
    #corner-tudastar #ct-femek,
    #corner-tudastar #ct-befektetesi-arany,
    #corner-tudastar #ct-arfolyam,
    #corner-tudastar #ct-vasarlas {
        scroll-margin-top: 160px;
    }
}

@media (max-width: 540px) {
    .ct-gold-phone span {
        display: none;
    }
}
