* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #1b1b1b;
    background: #fffdf7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --green-dark: #31552c;
    --green-main: #3f6f35;
    --green-soft: #eaf3e3;
    --gold: #c6921f;
    --gold-soft: #fff4d5;
    --beige: #fbf6e8;
    --ivory: #fffdf7;
    --text: #171717;
}


/* =========================
   상단 헤더
========================= */
.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid rgba(198, 146, 31, 0.55);
    z-index: 50;
}

.header-inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 18px 58px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.site-logo {
    width: 124px;
    height: auto;
    display: block;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.brand-name strong {
    font-size: 38px;
    font-weight: 900;
    color: #181818;
}

.brand-name .green-text {
    color: var(--green-dark);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.main-nav a {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #151515;
    padding: 10px 0;
}

.main-nav a:hover {
    color: var(--green-main);
}

.main-nav span {
    width: 1px;
    height: 20px;
    background: rgba(198, 146, 31, 0.42);
}

.mobile-menu-btn,
.mobile-nav {
    display: none;
}


/* =========================
   대표 슬라이드
========================= */
.hero-section {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: var(--beige);
}

.hero-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* 왼쪽 글자 잘 보이게 만드는 부드러운 흰색 영역 */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(255, 253, 247, 0.98) 0%,
            rgba(255, 253, 247, 0.92) 34%,
            rgba(255, 253, 247, 0.60) 48%,
            rgba(255, 253, 247, 0.05) 72%
        );
    pointer-events: none;
}

.hero-overlay::after {
    content: "";
    position: absolute;
    left: 44%;
    top: -80px;
    width: 260px;
    height: 560px;
    border-left: 2px solid rgba(198, 146, 31, 0.75);
    border-radius: 50%;
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1680px;
    height: 100%;
    margin: 0 auto;
    padding: 42px 58px;
    display: flex;
    align-items: center;
}

.hero-text-box {
    width: 650px;
}

.hero-text-box h1 {
    font-size: 60px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: #173321;
    margin-bottom: 18px;
}

.hero-text-box h1 span {
    color: var(--green-main);
}

.hero-sub {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.hero-line {
    width: 590px;
    height: 2px;
    background: rgba(198, 146, 31, 0.72);
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.hero-btn {
    height: 60px;
    padding: 0 28px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #2d5328, #437038);
    color: #fff;
    box-shadow: 0 8px 18px rgba(49, 85, 44, 0.28);
}

.hero-btn.outline {
    background: rgba(255, 253, 247, 0.82);
    color: #31552c;
    border: 2px solid var(--gold);
}

.slide-arrow {
    position: absolute;
    z-index: 8;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(49, 85, 44, 0.88);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.slide-arrow:hover {
    background: var(--gold);
}

.slide-arrow.prev {
    right: 160px;
}

.slide-arrow.next {
    right: 58px;
}

.slide-dots {
    position: absolute;
    z-index: 8;
    right: 104px;
    bottom: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(49, 85, 44, 0.28);
    cursor: pointer;
}

.dot.active {
    background: var(--gold);
    width: 14px;
    height: 14px;
}

.slide-status {
    position: absolute;
    z-index: 8;
    right: 58px;
    bottom: 78px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(49, 85, 44, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.slide-status.paused {
    background: rgba(198, 146, 31, 0.95);
}


/* =========================
   카테고리
========================= */
.category-section {
    background:
        linear-gradient(180deg, #fffdf7 0%, #fbf6e8 100%);
    padding: 18px 54px 14px;
}

.category-grid {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.category-card {
    min-height: 310px;
    padding: 26px 14px 22px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    border: 1px solid rgba(198, 146, 31, 0.18);
    box-shadow: 0 8px 22px rgba(60, 52, 35, 0.10);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(60, 52, 35, 0.16);
    border-color: rgba(198, 146, 31, 0.45);
}

.icon-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 43px;
}

.icon-circle.green {
    background: var(--green-soft);
    color: var(--green-main);
}

.icon-circle.gold {
    background: var(--gold-soft);
    color: var(--gold);
}

.icon-circle.olive {
    background: #eef0dc;
    color: #73782b;
}

.category-card h2 {
    font-size: 27px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.06em;
    color: #171717;
    margin-bottom: 14px;
}

.category-card p {
    font-size: 19px;
    line-height: 1.52;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #343a33;
    margin-bottom: auto;
}

.category-card span {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 800;
    color: var(--green-dark);
    padding-bottom: 4px;
    border-bottom: 2px solid rgba(49, 85, 44, 0.55);
}

.gold-card span {
    color: #a56e00;
    border-bottom-color: rgba(198, 146, 31, 0.72);
}

.news-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 8px 12px !important;
    border-radius: 999px;
    background: var(--green-dark);
    color: #fff !important;
    border-bottom: none !important;
    font-size: 14px !important;
    word-break: break-all;
}


/* =========================
   기관 정보
========================= */
.info-bar {
    background: linear-gradient(135deg, #294b25, #355f2e);
    color: #fff;
    border-top: 2px solid rgba(198, 146, 31, 0.72);
}

.info-inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 17px 54px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 30px;
}

.info-inner p {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.info-inner i {
    color: #f5d16b;
    margin-right: 7px;
}

.footer-message {
    text-align: center;
    padding: 0 20px 13px;
    color: #f5d16b;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.05em;
}


/* =========================
   반응형
========================= */
@media screen and (max-width: 1300px) {
    .header-inner {
        padding: 16px 32px 12px;
    }

    .site-logo {
        width: 92px;
    }

    .brand-name strong {
        font-size: 29px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 19px;
    }

    .hero-text-box h1 {
        font-size: 48px;
    }

    .hero-sub {
        font-size: 24px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media screen and (max-width: 768px) {
    .header-inner {
        padding: 12px 16px;
    }

    .site-logo {
        width: 62px;
    }

    .brand-name strong {
        font-size: 20px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 25px;
        color: var(--green-dark);
    }

    .mobile-nav {
        display: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px 16px 16px;
        background: #fffdf7;
        border-top: 1px solid rgba(198, 146, 31, 0.25);
    }

    .mobile-nav.open {
        display: grid;
    }

    .mobile-nav a {
        padding: 12px 10px;
        background: #fff;
        border-radius: 12px;
        text-align: center;
        font-size: 15px;
        font-weight: 800;
        color: var(--green-dark);
    }

    .hero-section {
        height: 420px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255, 253, 247, 0.94) 0%,
                rgba(255, 253, 247, 0.80) 58%,
                rgba(255, 253, 247, 0.28) 100%
            );
    }

    .hero-overlay::after {
        display: none;
    }

    .hero-content {
        padding: 28px 22px;
        align-items: flex-start;
    }

    .hero-text-box {
        width: 100%;
    }

    .hero-text-box h1 {
        font-size: 36px;
    }

    .hero-sub {
        font-size: 20px;
    }

    .hero-line {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
        height: 52px;
        font-size: 17px;
    }

    .slide-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .slide-arrow.prev {
        left: 16px;
        right: auto;
    }

    .slide-arrow.next {
        right: 16px;
    }

    .slide-dots {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 22px;
        gap: 8px;
    }

    .slide-status {
        right: 14px;
        bottom: 64px;
        font-size: 11px;
    }

    .category-section {
        padding: 16px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        min-height: 225px;
        padding: 20px 10px 17px;
    }

    .icon-circle {
        width: 62px;
        height: 62px;
        font-size: 30px;
        margin-bottom: 12px;
    }

    .category-card h2 {
        font-size: 20px;
    }

    .category-card p {
        font-size: 14px;
    }

    .category-card span {
        font-size: 14px;
    }

    .news-link {
        font-size: 10px !important;
        padding: 7px 9px !important;
    }

    .info-inner {
        padding: 16px;
        justify-content: flex-start;
        gap: 8px;
    }

    .info-inner p {
        width: 100%;
        font-size: 14px;
        white-space: normal;
    }

    .footer-message {
        font-size: 16px;
        padding-bottom: 14px;
    }
}
/* ==================================================
   PC 웹 화면 크기 최종 조정 85% 버전
   - 기존 65% 조정 취소
   - 100% 화면에서 약 85% 느낌으로 안정화
   - 모바일 화면은 건드리지 않음
   ================================================== */
@media screen and (min-width: 769px) {

    /* =========================
       상단 헤더
    ========================= */
    .header-inner {
        max-width: 1450px !important;
        padding: 16px 46px 14px !important;
        gap: 32px !important;
    }

    .brand-area {
        gap: 18px !important;
    }

    .site-logo {
        width: 102px !important;
        height: auto !important;
    }

    .brand-name strong {
        font-size: 32px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.06em !important;
    }

    .main-nav {
        gap: 24px !important;
    }

    .main-nav a {
        font-size: 21px !important;
        font-weight: 800 !important;
        letter-spacing: -0.05em !important;
    }

    .main-nav span {
        height: 18px !important;
    }


    /* =========================
       대표 슬라이드
    ========================= */
    .hero-section {
        height: 360px !important;
    }

    .hero-content {
        max-width: 1450px !important;
        padding: 38px 48px !important;
    }

    .hero-text-box {
        width: 590px !important;
    }

    .hero-text-box h1 {
        font-size: 51px !important;
        line-height: 1.18 !important;
        margin-bottom: 16px !important;
        letter-spacing: -0.08em !important;
    }

    .hero-sub {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }

    .hero-line {
        width: 540px !important;
        margin-bottom: 18px !important;
    }

    .hero-buttons {
        gap: 15px !important;
    }

    .hero-btn {
        height: 54px !important;
        padding: 0 25px !important;
        border-radius: 16px !important;
        font-size: 19px !important;
        gap: 9px !important;
    }

    .hero-overlay::after {
        left: 44% !important;
        top: -95px !important;
        height: 540px !important;
    }


    /* =========================
       슬라이드 버튼 / 도트
    ========================= */
    .slide-arrow {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }

    .slide-arrow.prev {
        right: 145px !important;
    }

    .slide-arrow.next {
        right: 48px !important;
    }

    .slide-dots {
        right: 94px !important;
        bottom: 36px !important;
        gap: 10px !important;
    }

    .dot {
        width: 10px !important;
        height: 10px !important;
    }

    .dot.active {
        width: 13px !important;
        height: 13px !important;
    }

    .slide-status {
        right: 48px !important;
        bottom: 72px !important;
        font-size: 12px !important;
        padding: 7px 13px !important;
    }


    /* =========================
       카테고리 6개 카드
    ========================= */
    .category-section {
        padding: 17px 44px 14px !important;
    }

    .category-grid {
        max-width: 1450px !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 13px !important;
    }

    .category-card {
        min-height: 270px !important;
        padding: 24px 13px 20px !important;
        border-radius: 18px !important;
    }

    .icon-circle {
        width: 76px !important;
        height: 76px !important;
        font-size: 36px !important;
        margin-bottom: 15px !important;
    }

    .category-card h2 {
        font-size: 23px !important;
        line-height: 1.2 !important;
        margin-bottom: 11px !important;
    }

    .category-card p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .category-card span {
        margin-top: 15px !important;
        font-size: 16px !important;
        padding-bottom: 4px !important;
    }

    .news-link {
        font-size: 12px !important;
        padding: 7px 11px !important;
    }


    /* =========================
       하단 기관정보 바
    ========================= */
    .info-inner {
        max-width: 1450px !important;
        padding: 14px 44px 9px !important;
        gap: 16px 27px !important;
    }

    .info-inner p {
        font-size: 17px !important;
        font-weight: 700 !important;
    }

    .info-inner i {
        margin-right: 6px !important;
    }

    .footer-message {
        font-size: 20px !important;
        padding: 0 20px 11px !important;
    }
}