@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;600;700;800&display=swap");

.nau-main {
    --nau-gold: #c9a227;
    --nau-ink: #0f0f0f;
    --nau-muted: #6b6b6b;
    --nau-line: #e6e6e6;
    
    --nau-fs-num: var(--fs-16, 1.6rem);
    --nau-fs-body: clamp(1.5rem, 1.6vw, var(--fs-18, 1.8rem));
    --nau-fs-caption: clamp(1.4rem, 1.5vw, var(--fs-16, 1.6rem));
}


/* 메인 비주얼 */
.nau-hero { position: relative; min-height: 80vh; background: var(--main-black); color: #fff; overflow: hidden; border-radius: 0 0 6rem 6rem; }
.nau-hero__bg { position: absolute; inset: 0; background: url("/resources/img/main/hero_visual.jpg") center / cover no-repeat; }
.nau-hero .inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap:2rem; padding-block: 17.5rem 4.5rem; }
.nau-hero__content { display: grid; grid-template-columns: 1fr 34rem; gap:3.5rem; }
.nau-hero__en { margin-bottom: 4.7rem; font-weight: 800; font-size: var(--fs-36); }
.nau-hero__ko-lead { font-size: var(--fs-38); font-weight: 800; margin-bottom: 1.8rem; line-height: 1.3; }
.nau-hero__ko-sub { font-size: var(--fs-18); font-weight: 600; line-height: 1.5; }

.nau-hero__board-time { font-size: var(--fs-18); color: white; margin-bottom:2.6rem; }
.nau-hero__board-label { display: flex; align-items: center; gap: 4.4rem; }
.nau-hero__board-label span { font-size: var(--fs-20); font-weight: 600; }
.nau-hero__board-label span + span { position: relative; }
.nau-hero__board-label span + span::before { content: ''; position: absolute; left: -2.2rem; top: 50%; transform: translateY(-50%); width: 1px; height: 60%; background: white; }
.nau-hero__board-price { display: flex; justify-content: space-between; align-items: end; gap:1rem; margin-top: 8px; font-weight: 800; font-size: var(--fs-48); }
.nau-hero__board-unit { font-size: var(--fs-26); font-weight: 600; }

.nau-hero__board-change { width: 100%; display: flex; align-items: center; justify-content: right; border-top:5px solid white; margin-top: 1rem; padding-top: 1.6rem; font-size: var(--fs-24); font-weight: 600; color: var(--nau-up); }
.nau-hero__board-change--up { color: var(--nau-up); }
.nau-hero__board-change--down { color: var(--nau-down); }

.nau-hero__board-subgrid { padding: 3.2rem; margin-top: 4rem; border-radius:8px; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(8px); }

.nau-hero__mini { display: flex; flex-direction: column; gap: 10px; }
.nau-hero__mini + .nau-hero__mini { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.nau-hero__mini p { display: flex; align-items: center; font-size: var(--fs-18); font-weight: 500; }
.nau-hero__mini small { display: inline-block; margin-left: 1rem; font-size: 14px; }
.nau-hero__mini strong { font-weight: 700; font-size: var(--nau-fs-num); }

.nau-hero__delta { display: flex; justify-content: space-between; font-weight: 600; margin-left: 0.25rem; }
.nau-hero__delta strong { flex:1; text-align: right; display: inline-block; padding-right: 1rem; font-size: var(--fs-24); font-weight: 700; color:white; }
.nau-hero__delta--up { color: var(--nau-up); }
.nau-hero__delta--down { color: var(--nau-down); }

.nau-ticker { position: relative; z-index: 2; color:white; }
.nau-ticker__cap { margin-bottom: 1.6rem; font-size: var(--fs-18); font-weight: 700; }
.nau-ticker__sub { display: inline; margin-left: 0.6rem; font-size: 13px; font-weight: 500; opacity: 0.9; vertical-align: middle; }

.nau-ticker__gram { position: relative; padding-left: 1rem; margin-left: 1rem; font-weight: 600; }
.nau-ticker__gram::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 60%; background: white; }

.nau-ticker__grid { display: grid; grid-template-columns: repeat(2, 1fr); padding: 2.4rem 3.2rem; align-items: center; font-size: var(--fs-18); border-radius: 8px; background: rgba(255, 255, 255, 0.2); border:1px solid rgba(255, 255, 255, 0.1); }
.nau-ticker__grid > li { display: flex; gap:2rem; justify-content: space-between; }
.nau-ticker__grid > li + li { margin-left: 4.4rem; padding-left: 4.4rem; border-left: 1px solid white; }
.nau-ticker__grid > li div { display: flex; gap:8px; align-items: end; }
.nau-ticker__purity { font-weight: 800; font-size: var(--fs-24); }
.nau-ticker__head { font-size: var(--fs-18); font-weight: 500; }

.nau-ticker__val { font-weight: 800; font-size: var(--fs-24); }
.nau-ticker__unit { font-size: 14px; }
.eng-page .nau-ticker__val { font-weight: 800; font-size: var(--fs-20); }


/* 실시간 시세 */
.nau-section { padding: 7rem 0; }
.nau-section__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 4rem; flex-wrap: wrap; }

.nau-section__title-ko { display: block; font-size: var(--fs-18); font-weight: 800; margin-bottom: 5px; }
.nau-section__title-en { display: block; font-weight: 800; font-size: var(--fs-32); }
.nau-section__nav { display: flex; gap: 5px; }
.nau-section__nav button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--main-black); border-radius: 5rem; cursor: pointer; transition: .3s; }
.nau-section__nav button:hover { background: var(--nau-gold); }
.nau-section__nav button img { width: 13px; }

.nau-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.7rem; }
.nau-card { padding: 3rem 1rem 2rem; background: white; border-radius: 8px; border: 1px solid #DEDEDE; }
.nau-card__title-ko { width: 100%; font-size: var(--fs-26); font-weight: 800; margin: 0 0 6px; text-align: center; }
.nau-card__title-en { width: 100%; font-size: 14px; font-weight: 500; text-transform: capitalize; padding: 0 0 2.4rem; text-align: center; border-bottom:1px solid var(--main-black); }
.nau-card table { width: 100%; }
.nau-card table th { padding: 2rem 0; font-weight: 700; text-align: left; border-bottom: 1px solid #DEDEDE; }
.nau-card table td { padding: 2rem 0; border-bottom: 1px solid #DEDEDE; }
.nau-card table tr:nth-child(3) th { border-bottom: none; }
.nau-card table tr:last-child td { border-bottom: none; }
.nau-card .nau-card__label { font-size: 14px; }

.nau-card__chg { display: inline-flex; align-items: center; margin-top: 1rem;    gap:8px;    font-size: 14px; }
.nau-card__chg--up { color: var(--nau-up); }
.nau-card__chg--down { color: var(--nau-down); }

/* 매매 프리미엄 */
.nau-premium { background: #EEF2F7; }
.nau-premium__cell { padding: 1rem 3rem .8rem; background: #fff; border-radius: 8px; }
.nau-premium table { width: 100%; }
.nau-premium table th { padding: 2rem 0; font-weight: 800; text-align: left; }
.nau-premium table td { padding: 2rem 0; border-bottom: 1px solid #DEDEDE; }
.nau-premium table tr:last-child td { border-bottom: none; }
.nau-premium .nau-premium__meta { font-size: 14px; }

.nau-premium__toggle { width: 20rem; display: inline-flex; padding: 1.2rem; border-radius: 999px; background: white; }
.nau-premium__toggle button { flex:1; padding: 6px 1rem; border-radius: 999px; font-size: var(--fs-20); font-weight: 700; background: #EEF2F7; cursor: pointer; line-height: 1.2; }
.nau-premium__toggle button.is-active { background: var(--main-black); color: #fff; }
.nau-premium__toggle button:focus-visible { outline: 2px solid var(--nau-gold); outline-offset: 2px; }
.nau-premium__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 2.7rem; }


/* 제품 배너 */
.nau-banner { padding-top:2rem;  overflow: hidden; }
.nau-banner__img-pc { display: block; }
.nau-banner__img-mb { display: none; }
.nau-banner .inner { position: relative; z-index: 2; }
.nau-banner .nau-banner__item { position: relative; }
.nau-banner__pagination { margin: 2rem auto 0; text-align: center; }
.nau-banner__pagination .swiper-pagination-bullet { width: 11px; height: 11px; margin:0 1.5px; background: white; opacity: 1; border:1px solid var(--main-black); }
.nau-banner__pagination .swiper-pagination-bullet-active { background: var(--main-black); }


/* 국제 환율 */
.nau-fx-section { padding: 3rem 0 7rem; }
.nau-fx-section .nau-section__head { padding-bottom: 3rem; }
.nau-fx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6.8rem; padding: 1.8rem 4rem; border:1px solid #E0E0E0; border-radius: 8px; box-shadow: 0 296px 83px 0 rgba(0, 0, 0, 0.00), 0 189px 76px 0 rgba(0, 0, 0, 0.01), 0 106px 64px 0 rgba(0, 0, 0, 0.03), 0 47px 47px 0 rgba(0, 0, 0, 0.04), 0 12px 26px 0 rgba(0, 0, 0, 0.05); }
.nau-fx table { width: 100%; }
.nau-fx table th { padding: 1.2rem 0; text-align: left; }
.nau-fx table td { padding: 1.2rem 0; border-bottom: 1px solid #E0E0E0; }
.nau-fx table td:last-child { text-align: right; }
.nau-fx table tr:last-child td { border-bottom: none; }
.nau-fx__item { display: flex; align-items: center; gap: 1rem; }
.nau-fx__flag-wrap { display: flex; align-items: center; gap: 1.4rem; }
.nau-fx__flag { width: 62px; }
.nau-fx__code { font-weight: 700; font-size: var(--fs-18); margin-bottom: 7px; }
.nau-fx__chg { font-size: 14px; font-weight: 600; margin: 0; }
.nau-fx__chg--up { color: #c62828; }
.nau-fx__chg--down { color: #1565c0; }
.nau-fx__chg--flat { color: #757575; }
.nau-fx__rates { font-size: 14px; }
.nau-q-fx-bid { font-weight: 800; text-align: right; }


/* 국제 시세 / 런던 Fix */
.nau-market { background: url('/resources/img/main/main_market_bg.jpg') center / cover no-repeat; color: #fff; }
.nau-market__grid { display: grid; grid-template-columns: 1fr 1fr;    gap: 16.8rem; }
.nau-table { width: 100%; margin-top: 5rem; }
.nau-table thead { position: absolute; top: 0; left: 0; text-indent: -9999px; height: 0; overflow: hidden; }
.nau-table th,
.nau-table td { padding: 2rem 0; border-bottom: 1px solid #DEDEDE33; text-align: left; }
.nau-table th { font-weight: 700;    font-size: var(--fs-18); }
.nau-table td:last-child,
.nau-table th:last-child { text-align: right; font-weight: 800; font-size: 14px; }

.nau-table .nau-pill { display: inline-flex; align-items: center; gap: 0.2rem; font-weight: 700; }
.nau-table .nau-pill--up { color: var(--nau-up); }
.nau-table .nau-pill--down { color: var(--nau-down); }
.nau-q-intl-bidask { display: flex; align-items: center; }
.nau-q-intl-bidask p { flex:1; display: flex; align-items: center; justify-content: space-between; gap:1rem; font-size: 14px; }
.nau-q-intl-bidask p + p { margin-left: 3rem; padding-left: 3rem; border-left: 1px solid #DEDEDE; }
.nau-q-intl-bidask p b { font-weight: 800; font-size: 1.6rem; text-align: right; }
.nau-q-london-bidask { display: flex; align-items: center; }
.nau-q-london-bidask p { flex:1; display: flex; align-items: center; justify-content: space-between; gap:1rem; font-size: 14px; }
.nau-q-london-bidask p b { font-weight: 800; font-size: 1.6rem; text-align: right; }
.nau-q-london-bidask p + p { margin-left: 3rem; padding-left: 3rem; border-left: 1px solid #DEDEDE; }

#nau-q-london-silver-am { display: block; text-align: center; width: 100%; }


/* News */
.nau-news .nau-section__head { border-bottom:1px solid black; }
.nau-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.nau-news__card { margin-left:-1px; min-width: 0; }
.nau-news__card a { display: block; height: 100%; padding: 5.4rem 0; transition: .3s; }
.nau-news__card a:hover { background: #F5F5F5; }
.nau-news__content { padding: 0 5.4rem; border-left: 1px solid #DEDEDE; border-right: 1px solid #DEDEDE; }

.nau-news__date { margin: 0 0 1.5rem; font-weight: 500; }
.nau-news__tit { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-24); line-height: 1.4; font-weight: 800; margin-bottom: 2.5rem; }
.nau-news__ex { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; color: var(--sub-black); line-height: 1.6; font-weight: 800; }
.nau-news__more { display: flex; align-items: center; text-align: center; width: fit-content; height: 5rem; margin: 2rem auto 0; border:1px solid black; transition: .3s; background: white; }
.nau-news__more .nau-news__more-text { display: flex; align-items: center; justify-content: center; height: 100%; padding-inline: 3.4rem 4.4rem; border-right:1px solid black; transition: .3s; }
.nau-news__more .nau-news__more-icon { display: flex; align-items: center; justify-content: center; height: 100%; padding-inline: 2.4rem; transition: .3s; }
.nau-news__more .nau-news__more-icon img { filter:invert(1); }
.nau-news__more:hover .nau-news__more-icon { background: var(--key-color); }
.nau-news__more:hover .nau-news__more-text { background: #F5F5F5; }

/* 반응형 */
@media screen and (max-width: 1200px) {
    .nau-fx { gap:4rem; }
    .nau-market__grid { gap:10rem; }

    .nau-q-london-bidask p + p { margin-left: 2rem; padding-left: 2rem; }
    .nau-q-intl-bidask p + p { margin-left: 2rem; padding-left: 2rem; }
}
@media screen and (max-width: 1024px) {
    .nau-hero { border-radius: 0 0 4rem 4rem; }
    .nau-hero .inner { padding-block: 12rem 4.5rem; }

    .nau-cards { grid-template-columns: repeat(2, 1fr); }
    
    .nau-premium__grid { grid-template-columns: repeat(2, 1fr); }

    .nau-fx { grid-template-columns: repeat(2, 1fr); }

    .nau-news__card a { padding: 4rem 0; }
    .nau-news__content { padding: 0 4rem; }
}

@media screen and (max-width: 900px) {
    .nau-market__grid { display: flex; flex-direction: column; gap:6rem; }
    
    .nau-ticker__grid { display:block; }
    .nau-ticker__grid > li { flex-wrap:wrap; }
    .nau-ticker__grid > li + li { margin-left: 0; padding-left: 0; border-left: none; margin-top: 3rem; }
}

@media screen and (max-width: 768px) {
    .nau-hero__content { grid-template-columns: repeat(1, 1fr); }

    .nau-hero__ko-sub br { display: none; }
    .nau-fx { grid-template-columns: repeat(1, 1fr); }

    .nau-news__grid { display: block; }

    .nau-news__card a { border-bottom:1px solid #DEDEDE; }
    .nau-news__content { border:none; }

    .nau-q-london-bidask p + p { margin-left: 1rem; padding-left: 1rem; }
    .nau-q-intl-bidask p + p { margin-left: 1rem; padding-left: 1rem; }
}

@media screen and (max-width: 650px) {
    .nau-banner__img-pc { display: none; }
    .nau-banner__img-mb { display: block; }
}
@media screen and (max-width: 500px) {
    .nau-cards { grid-template-columns: repeat(1, 1fr); }
    .nau-premium__grid { grid-template-columns: repeat(1, 1fr); gap:2rem; }

    .nau-q-london-bidask { flex-direction: column; gap:1rem; }
    .nau-q-intl-bidask { flex-direction: column; gap:1rem; }
    .nau-q-london-bidask p + p { margin-left: 0; padding-left: 0; border-left: none; }
    .nau-q-intl-bidask p + p { margin-left: 0; padding-left: 0; border-left: none; }

}