@charset "utf-8";

/* ===== Pretendard Font ===== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

/* ===== CSS Variables ===== */
:root {
    --content-max: 1440px;
    --side-padding: 12px;
    --color-black: #000;
    --color-dark: #333;
    --color-gray: #666;
    --color-light-bg: #f8f8f8;
    --color-white: #fff;
    --font-main: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

/* ===== Override GnuBoard Defaults ===== */
body {
    font-family: var(--font-main);
    overflow-x: hidden;
    background: #fff;
}

#hd_h1 {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
}

/* ===== Header ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0);
    padding: 24px var(--side-padding);
    transition: background 0.3s ease;
}

.main-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-max);
    margin: 0 auto;
}

.main-header .header-logo a {
    display: block;
    line-height: 0;
}

.main-header .header-logo img {
    height: 51px;
    width: auto;
}

.main-header .header-gnb {
    display: flex;
    align-items: center;
    gap: 120px;
}

.main-header .header-gnb a {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    line-height: 1.4;
    transition: font-weight 0.2s, opacity 0.2s;
}

.main-header .header-gnb a.active {
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 1600px) {
    :root {
        --side-padding: 12px;
    }
}

@media (max-width: 1280px) {
    :root {
        --side-padding: 12px;
    }

    .main-header .header-gnb {
        gap: 60px;
    }
}

@media (max-width: 960px) {
    :root {
        --side-padding: 12px;
    }

    .main-header .header-gnb {
        gap: 30px;
    }
}
