/* =============================
   나고야2026
   ============================= */
.nagoya2026 {
    margin-top: 78px;
    padding-bottom: 10rem;
}

.section-title {
    padding-bottom: 2.8rem;
    font-size: 2.6rem;
}

.section-title.ico-arrow-r {
    display: flex;
    align-items: center;
    gap: 1.2rem;
;
}

.article-list__thumb {
    border-radius: 0;
    aspect-ratio: 16 / 10;
}

.article-list__thumb img {
    display: block;
    transition: transform 0.2s ease-in-out;
}

.article-list__link:hover .article-list__thumb img {
    transform: scale(1.02);
}

.ico-arrow-r::after {
    content: '';
    display: inline-block;
    position: relative;
    width: 13px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M1 1l4 4-4 4' stroke='%23555555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

@media (max-width: 1024px) {
    .nagoya2026 {
        margin-top: 55px;
    }

    .section-title {
        font-size: 2rem;
    }

    .ico-arrow-r::after {
        width: 9px;
        height: 15px;
    }

    .section-title.ico-arrow-r {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .nagoya2026 {
        padding-bottom: 5rem;
    }
}

/* =============================
   히어로 & 피처드
   ============================= */
.nagoya-hero {
    background: url('../../img/event/nagoya2026/bg-hero.png')no-repeat center top;
}

.nagoya-hero-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 3.6rem;
    overflow: hidden;
}

.nagoya-slogan {
    width: 556px;
    height: 112px;
    margin-top: 6rem;
    background: url('../../img/event/nagoya2026/slogan.svg')no-repeat 0 0 / contain;
}

.naogya-info {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    padding: 13px 20px;
    line-height: 1;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow:
            0 10px 30px 0 rgba(0, 0, 0, 0.06),
            inset 0 0 1px 0 rgba(255, 255, 255, 0.9),
            inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04);

}

.naogya-day__date {
    font-size: 1.7rem;
    color: var(--text-inverted);
}

.naogya-day__day {
    font-size: 2.8rem;
    color: #f1be42;
}

.nagoya-featured {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 8rem;
}

.nagoya-featured-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 426px;
    gap: 50px;
    align-items: start;
}

.article-featured {
    display: flex;
    flex-direction: column;
    background-color: var(--background-default);
}

.article-featured .article-list__link {
    display: block;
    text-decoration: none;
}

.article-featured .article-list__link:hover {
    opacity: .85;
}

.article-featured .article-list__thumb {
    aspect-ratio: unset;
}

.article-featured .article-list__body {
    padding: 1.8rem 0 0;
}

.article-featured .article-list__title {
    font-size: 3.6rem;
    font-weight: 700;
    word-break: keep-all;
}

.related-news__title {
    font-size: 1.7rem;
}

/* 실시간 순위 상세 */
.nagoya-rank {
    padding: 2.8rem;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.45) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
            0 10px 30px 0 rgba(0, 0, 0, 0.06),
            inset -1px 1px 2px 0 rgba(255, 255, 255, 0.7),
            inset 0 0 2px 0 rgba(0, 0, 0, 0.04);
}

.nagoya-rank .section-title {
    padding-bottom: 1.4rem;
    font-size: 2.2rem;
}

.nagoya-rank .table-wrapper {
    width: 100%;
}

.nagoya-rank .ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.6rem;
}

.nagoya-rank .ranking-table th,
.nagoya-rank .ranking-table td {
    padding: 10px 8px;
    text-align: center;
}

.nagoya-rank .ranking-table th:first-child,
.nagoya-rank .ranking-table td:first-child {
    text-align: left;
    padding-left: 12px;
    font-weight: 600;
}

.nagoya-rank .ranking-table th {
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.nagoya-rank .ranking-table td {
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nagoya-rank .ranking-table td strong {
    display: inline-block;
    width: 20px;
    text-align: center;
    font-weight: 500;
    color: var(--text-primary);
}

.nagoya-rank .ranking-table td:first-child strong {
    margin-right: 4px;
}

.nagoya-rank .ranking-table tr:last-child td {
    border-bottom: none;
}

.nagoya-rank .ranking-table tr.korea-fixed-highlight {
    background-color: rgba(241, 190, 66, 0.3);
}

.nagoya-rank .ranking-table tr.korea-fixed-highlight td {
    color: #111111;
    font-weight: 500;
}

/* 실시간 순위 상세 */
.nagoya-rank .ranking-table th:nth-child(2),
.nagoya-rank .ranking-table th:nth-child(3),
.nagoya-rank .ranking-table th:nth-child(4) {
    position: relative;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
}

.nagoya-rank .ranking-table th:nth-child(2)::before,
.nagoya-rank .ranking-table th:nth-child(3)::before,
.nagoya-rank .ranking-table th:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 23px;
    height: 23px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.nagoya-rank .ranking-table th:nth-child(2)::before {
    background: #f1be42;
}

.nagoya-rank .ranking-table th:nth-child(3)::before {
    background: #b9b9b9;
}

.nagoya-rank .ranking-table th:nth-child(4)::before {
    background: #c69269;
}

.nagoya-rank .rank-empty {
    display: flex;
    min-height: 354px;
    padding: 2.4rem 1.6rem 2.8rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nagoya-rank .rank-empty__medals {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 72px;
    margin-bottom: 2rem;
}

.nagoya-rank .rank-empty__medal {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    margin: 18px -2px 0;
    border: 3px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.nagoya-rank .rank-empty__medal::before {
    content: '';
    position: absolute;
    top: -21px;
    left: 50%;
    width: 14px;
    height: 23px;
    transform: translateX(-50%);
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.nagoya-rank .rank-empty__medal--gold {
    z-index: 1;
    width: 54px;
    height: 54px;
    margin-top: 10px;
    color: #d7a925;
}

.nagoya-rank .rank-empty__medal--silver {
    color: #aeb4ba;
}

.nagoya-rank .rank-empty__medal--bronze {
    color: #b77a52;
}

.nagoya-rank .rank-empty__title {
    display: block;
    max-width: 300px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    word-break: keep-all;
}

.nagoya-rank .rank-empty__desc {
    max-width: 310px;
    margin-top: 1.2rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
    word-break: keep-all;
}

.nagoya-rank .rank-empty__date {
    margin-top: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #99721b;
}

/* 하단 기사 리스트 */
.nagoya-featured-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* 히어로 영역 미디어쿼리 */
@media (max-width: 1280px) {
    .nagoya-featured-top {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 40px;
    }

    .nagoya-rank {
        padding: 2.4rem;
    }
}

@media (max-width: 1024px) {
    .nagoya-hero-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nagoya-featured {
        gap: 28px;
    }

    .nagoya-featured-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .nagoya-featured-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .nagoya-rank {
        border: 1px solid var(--stroke-separator);
    }
}

@media (max-width: 768px) {
    .nagoya-hero {
        background-size: auto 510px;
        background-position: right calc(50% - 220px) top;
    }

    .nagoya-hero-wrap {
        padding-bottom: 3rem;
    }

    .nagoya-featured {
        padding-bottom: 5rem;
    }

    .nagoya-slogan {
        width: 100%;
        max-width: 335px;
        height: 65px;
        margin-top: 4rem;
    }

    .article-featured .article-list__body {
        padding-top: 1rem;
    }

    .article-featured .article-list__title {
        font-size: 22px;
    }

    .naogya-info {
        gap: 10px;
        padding: 8px 12px;
    }

    .naogya-day__day {
        font-size: 1.6rem;
    }

    .naogya-day__date {
        font-size: 1.6rem;
    }

    .nagoya-rank {
        padding: 2.2rem 1.8rem;
    }

    .nagoya-rank .section-title {
        font-size: 2rem;
    }

    .nagoya-rank .ranking-table {
        font-size: 1.4rem;
    }

    .nagoya-rank .ranking-table th,
    .nagoya-rank .ranking-table td {
        padding: 8px 6px;
    }

    .nagoya-rank .ranking-table tbody {
        font-size: 1.5rem;
    }

    .nagoya-rank .ranking-table th:first-child,
    .nagoya-rank .ranking-table td:first-child {
        padding-left: 8px;
    }

    .nagoya-rank .ranking-table th:nth-child(2)::before,
    .nagoya-rank .ranking-table th:nth-child(3)::before,
    .nagoya-rank .ranking-table th:nth-child(4)::before {
        width: 22px;
        height: 22px;
    }

    .nagoya-rank .rank-empty {
        min-height: 260px;
        padding: 2.4rem 1rem;
    }

    .nagoya-rank .rank-empty__medals {
        height: 62px;
        margin-bottom: 1.6rem;
    }

    .nagoya-rank .rank-empty__medal {
        width: 36px;
        height: 36px;
        margin-top: 16px;
    }

    .nagoya-rank .rank-empty__medal--gold {
        width: 46px;
        height: 46px;
        margin-top: 8px;
    }

    .nagoya-rank .rank-empty__title {
        font-size: 1.8rem;
    }

    .nagoya-rank .rank-empty__desc {
        font-size: 1.4rem;
    }

    .nagoya-featured-bottom {
        gap: 16px 10px;
    }

    .article-list--horizontal .article-list__title {
        font-size: 1.6rem;
    }
}

/* =============================
   경기 종목
   ============================= */

/* 경기 종목 */
.nagoya-sports {
    padding-bottom: 8rem;
}

.nagoya-sports .swiper {
    padding: 0 5px 10px;
}

.sports-slider-wrapper {
    position: relative;
    width: 100%;
}

.sport-card {
    display: block;
    position: relative;
    padding: 2.8rem 2.2rem;
    height: 240px;
    text-decoration: none;
    background: #f7f6ef;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.sport-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    height: 100%;
    justify-content: flex-start;
    text-align: left;
}

.sport-name {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.sport-loc {
    font-size: 1.4rem;
    color: var(--text-description);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.sport-loc::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M6 1c2.8 0 5 2.2 5 5 0 3.2-5 7-5 7s-5-3.8-5-7c0-2.8 2.2-5 5-5zm0 6.5c.8 0 1.5-.7 1.5-1.5S6.8 4.5 6 4.5 4.5 5.2 4.5 6 5.2 7.5 6 7.5z' fill='%23f1be42'/%3E%3C/svg%3E") no-repeat center/contain;
    transition: filter 0.2s ease;
}

.sport-graphic {
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 150px;
    height: 150px;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center bottom 10px;
    background-size: 90%;
    border: 2px solid transparent;
    border-radius: 0;
    opacity: .8;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.2s ease, opacity 0.2s ease;

}

.sport-graphic.icon-esports {
    background-image: url('../../img/event/nagoya2026/icon-esports.png');
}

.sport-graphic.icon-volleyball {
    background-image: url('../../img/event/nagoya2026/icon-volleyball.png');
}

.sport-graphic.icon-badminton {
    background-image: url('../../img/event/nagoya2026/icon-badminton.png');
}

.sport-graphic.icon-swimming {
    background-image: url('../../img/event/nagoya2026/icon-swimming.png');
}

.sport-graphic.icon-baseball {
    background-image: url('../../img/event/nagoya2026/icon-baseball.png');
}

.sport-graphic.icon-archery {
    background-image: url('../../img/event/nagoya2026/icon-archery.png');
}

.sport-graphic.icon-soccer {
    background-image: url('../../img/event/nagoya2026/icon-soccer.png');
}

.sport-graphic.icon-pingpong {
    background-image: url('../../img/event/nagoya2026/icon-pingpong.png');
}

.sport-graphic.icon-taekwondo {
    background-image: url('../../img/event/nagoya2026/icon-taekwondo.png');
}

.sport-graphic.icon-fencing {
    background-image: url('../../img/event/nagoya2026/icon-fencing.png');
}

.sport-card:hover,
.sport-card.active {
    background: linear-gradient(135deg, #fce093 0%, #f1be42 50%, #d49f26 100%);
    border: none;
    transform: translateY(-4px);
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.sport-card:hover .sport-name,
.sport-card.active .sport-name {
    color: var(--text-inverted);
}

.sport-card:hover .sport-loc,
.sport-card.active .sport-loc {
    color: rgba(255, 255, 255, 0.85);
}

.sport-card:hover .sport-loc::before,
.sport-card.active .sport-loc::before {
    filter: brightness(0) invert(1);
}

.sport-card:hover .sport-graphic,
.sport-card.active .sport-graphic {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transform: scale(1.1) translate(-46%, -5px);
    /* filter: brightness(0) invert(1); */
    opacity: 1;
}

.sports-slider-wrapper .swiper-button-prev,
.sports-slider-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    color: #555555;
    z-index: 10;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}


.sports-slider-wrapper .swiper-button-prev {
    left: -15px !important;
}

.sports-slider-wrapper .swiper-button-next {
    right: -15px !important;
}

.sports-slider-wrapper .swiper-button-prev.swiper-button-disabled,
.sports-slider-wrapper .swiper-button-next.swiper-button-disabled {
    background-color: #f9f9f9;
    opacity: 1 !important;
}

.sports-slider-wrapper .swiper-button-prev::after,
.sports-slider-wrapper .swiper-button-next::after {
    font-size: 1.4rem;
    font-weight: 800;
}

.sports-slider-wrapper .swiper-button-prev.swiper-button-disabled::after,
.sports-slider-wrapper .swiper-button-next.swiper-button-disabled::after {
    opacity: .3 !important;
}

.sports-slider-wrapper .swiper-button-next:hover,
.sports-slider-wrapper .swiper-button-prev:hover {
    color: #ffffff;
    background-color: #f1be42;
    border-color: #f1be42;
}

@media (max-width: 768px) {
    .nagoya-sports {
        padding-bottom: 4rem;
    }

    .sport-card {
        height: auto;
        padding: 2.4rem 1.2rem;
        aspect-ratio: 9 / 10;
    }

    .sport-name {
        font-size: 1.8rem;
    }

    .sports-slider-wrapper .swiper-button-prev,
    .sports-slider-wrapper .swiper-button-next {
        display: none !important;
    }

    .sport-graphic {
        aspect-ratio: 1 / 1;
        width: 63%;
        height: auto;
        margin-left: auto;
    }
}

/* =============================
   차트 영역
   ============================= */

.nagoya-stats {
    background-color: #f8f9fa;
    background-image:
            linear-gradient(0deg, rgba(199, 206, 211, 0.2) 0%, rgba(199, 206, 211, 0.01) 30%),

                /* 우측 */
            linear-gradient(120deg, transparent 72%, rgba(74, 21, 75, 0.04) 72%, rgba(74, 21, 75, 0.04) 72.5%, transparent 72.5%),
            linear-gradient(155deg, transparent 65%, rgba(241, 180, 0, 0.05) 65%, rgba(241, 180, 0, 0.05) 65.5%, transparent 65.5%),
                /* 좌측 */
            linear-gradient(240deg, transparent 73%, rgba(241, 165, 0, 0.05) 73%, rgba(241, 165, 0, 0.05) 73.5%, transparent 73.5%),
            linear-gradient(340deg, transparent 74%, rgba(31, 1, 75, 0.03) 74%, rgba(31, 1, 75, 0.03) 74.5%, transparent 74.5%);
}

.nagoya-stats-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 0;
}

.nagoya-stats .chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 1024px) {
    .nagoya-stats-wrap {
        max-width: 768px;
        padding: 5rem 20px;
    }

    .nagoya-stats .chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nagoya-stats .chart-grid {
        gap: 2rem;
    }
}

/* 카드 컴포넌트 */
.nagoya-stats .chart-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, .8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0px 8px 25px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.nagoya-stats .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.nagoya-stats .chart-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
}

/* 범례 컴포넌트 */
.nagoya-stats .chart-legend {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.nagoya-stats .legend-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555555;
    font-weight: 500;
}

.nagoya-stats .legend-item span {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 2px;
    display: inline-block;
}

.nagoya-stats .rect-gold {
    background-color: #f1be42;
}

.nagoya-stats .rect-silver {
    background-color: #b9b9b9;
}

.nagoya-stats .rect-bronze {
    background-color: #c69269;
}

@media (max-width: 768px) {
    .nagoya-stats .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 0;
    }

    .nagoya-stats .chart-title {
        font-size: 1.8rem;
    }

    .nagoya-stats .legend-item {
        font-size: 12px;
    }

    .nagoya-stats .legend-item span {
        width: 10px;
        height: 10px;
        margin-right: 4px;
    }

    .nagoya-stats .chart-card {
        padding: 2.4rem 2rem 1.4rem;
    }
}

/* 우측 타이틀 보조 배지 */
.nagoya-stats .chart-badge {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-description);
}

@media (max-width: 480px) {
    .nagoya-stats .chart-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* 뷰포트 및 스크롤 영역 */
.nagoya-stats .chart-viewport {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nagoya-stats .chart-wrapper {
    min-width: 520px;
    position: relative;
    padding-top: 35px;
}

.nagoya-stats .chart-container-with-y {
    display: flex;
    position: relative;
    height: 240px;
}

.nagoya-stats .y-axis.invisible-labels {
    width: 15px;
    padding-right: 0;
}

/* 막대그래프 */
.nagoya-stats .bar-chart-area {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    background-image: linear-gradient(to top, #f0f0f0 1px, transparent 1px);
    background-size: 100% 48px;
    border-bottom: 1px solid #dddddd;
}

.nagoya-stats .bar-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
    justify-content: flex-end;
}

.nagoya-stats .bar-stack {
    width: 24px;
    display: flex;
    flex-direction: column;
    transition: filter 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
}

.nagoya-stats .bar-stack:hover .bar-seg {
    filter: brightness(0.93);
}

.nagoya-stats .bar-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    width: 100%;
}

.nagoya-stats .seg-gold {
    background-color: #f1be42;
}

.nagoya-stats .seg-silver {
    background-color: #b9b9b9;
}

.nagoya-stats .seg-bronze {
    background-color: #c69269;
}

/* 꺾은선그래프 */
.nagoya-stats .line-chart-area {
    flex: 1;
    height: 100%;
    position: relative;
    border-bottom: 1px solid var(--stroke-separator);
}

.nagoya-stats .grid-line-rank {
    position: absolute;
    width: 100%;
    border-top: 1px solid #f0f0f0;
}

.nagoya-stats .grid-rank-1 {
    top: 0;
}

.nagoya-stats .grid-rank-2 {
    top: 35%;
}

.nagoya-stats .grid-rank-3 {
    top: 70%;
}

.nagoya-stats .line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nagoya-stats .line-nodes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nagoya-stats .line-node-trigger {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.nagoya-stats .node-circle {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #f1be42;
    border-radius: 50%;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #c69269;
}

/* 호버/액티브 시 효과 */
.nagoya-stats .line-node-trigger:hover .node-circle,
.nagoya-stats .line-node-trigger.active .node-circle {
    background-color: #f1be42;
    color: #ffffff;
}

/* X축 라벨 */
.nagoya-stats .x-axis-labels {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
}

.nagoya-stats .x-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--stroke-primary);
    line-height: 1.4;
}

.nagoya-stats .x-label span:last-child {
    margin-top: 1px;
    font-weight: 400;
    color: var(--text-description);
}

/* 원본 툴팁 숨김 */
.nagoya-stats .chart-tooltip {
    display: none !important;
}

/* 글로벌 툴팁 컴포넌트 */
.nagoya-stats.global-chart-tooltip {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--stroke-vertical);
    border-radius: 4px;
    padding: 10px 12px;
    min-width: 135px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    pointer-events: none;
    display: none;
}

.nagoya-stats .tooltip-header {
    font-size: 12px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--stroke-separator);
}

.nagoya-stats .tooltip-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-description);
    margin: 4px 0;
}

.nagoya-stats .tooltip-item span:nth-of-type(2) {
    flex: 1;
    margin-left: 4px;
}

.nagoya-stats .tooltip-item strong {
    font-weight: 500;
    color: var(--stroke-primary);
}

.nagoya-stats .tooltip-item.total {
    border-top: 1px dashed #e2e8f0;
    padding-top: 4px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}

.nagoya-stats .tooltip-item.total>span {
    margin-right: 4px;
}

.nagoya-stats .tooltip-item [class^="dot-"] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.nagoya-stats .dot-gold {
    background-color: #f1be42;
}

.nagoya-stats .dot-silver {
    background-color: #b9b9b9;
}

.nagoya-stats .dot-bronze {
    background-color: #c69269;
}

.nagoya-stats .tooltip-rank-text {
    font-size: 12px;
    font-weight: 700;
    color: #cca028;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .nagoya-stats .chart-wrapper {
        padding-bottom: 10px;
    }

    .nagoya-stats .chart-container-with-y {
        height: 200px;
    }

    .nagoya-stats .bar-chart-area {
        background-size: 100% 40px;
    }

}

/* =============================
   하이라이트
   ============================= */
.nagoya-highlights {
    padding: 8rem 0;
}

.nagoya-highlights-wrap {
    display: grid;
    grid-template-columns: 1.5fr minmax(360px, 1fr);
    gap: 50px;
    align-items: start;
}

.nagoya-highlights .article-list--feature .article-list__title {
    position: absolute;
    right: 3rem;
    bottom: 3rem;
    left: 3rem;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-inverted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    word-break: break-all;
    overflow: hidden;
    z-index: 9;
}

.nagoya-highlights .article-list--small .article-list__thumb {
    width: 138px;
    height: 86px;
    border-radius: 0;
}

.nagoya-highlights .article-list--small .article-list__title {
    margin-top: 8px;
    font-size: 1.8rem;
    line-height: 1.45;
}

.nagoya-highlights .dimm-bottom::before {
    top: 40%;
}

@media (max-width: 1024px) {
    .nagoya-highlights {
        padding: 5rem 20px;
    }

    .nagoya-highlights-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nagoya-highlights .article-list--feature .article-list__title {
        right: 20px;
        bottom: 20px;
        left: 20px;
        font-size: 2.2rem;
    }

    .nagoya-highlights .article-list--small .article-list__title {
        font-size: 1.7rem;
    }
}


/* =============================
   나고야 현장 포착
   ============================= */
.nagoya-gallery-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 24px;
}

@media (max-width: 1024px) {
    .nagoya-gallery-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
