a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 16px 40px;
}

.wraptops {
    margin-top: 65px;
}

/* 3-column layout */
.grid {
    display: grid;
    grid-template-columns: 280px 1fr 400px;
    gap: 18px;
    align-items: start;
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card-inner {
    padding: 14px;
}

/* Left: KFF Pick */
.kff-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 10px;
}

.kff-title {
    font-weight: 800;
    letter-spacing: -.02em;
    font-size: 18px;
}

.kff-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
}

.dot.on {
    background: #9ca3af;
}

.kff-media {
    padding: 0 14px 12px;
}

.kff-thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f3f4f6;
}

.kff-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.kff-body {
    padding: 0 14px 14px;
}

.kff-body h3 {
    margin: 0 0 8px;
    font-size: 14.5px;
    line-height: 1.35;
    letter-spacing: -.02em;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kff-body p {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kff-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 14px;
    border-top: 1px solid var(--line);
}

.btn-round {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-round:active {
    transform: translateY(1px)
}

.kff-page {
    font-size: 12px;
    color: var(--muted);
}

/* Center: Hero */
.hero {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: #111827;
    position: relative;
    min-height: 407px;
    border-radius: 20px;
    /* ← 원하는 만큼 */
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 368px;
    object-fit: cover;
    opacity: .95;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .20) 55%, rgba(0, 0, 0, 0) 78%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: #fff;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
    margin-bottom: 10px;
}

.hero-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.03em;
    font-weight: 900;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-sub {
    margin: 10px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right: list */
.side {
    padding: 10px 0;
    margin-top: -15px;
    position: relative;
    top: 10px;
}

.side-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .15s ease, transform .15s ease;
}

.side-item:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.side-thumb {
    width: 90px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #f3f4f6;
}

.side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.side-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    top: 10px;
}

.side-meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-sep {
    height: 1px;
    background: var(--line);
    margin: 8px 12px;
}

/* Breaking strip (optional) */
.ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0b0f19;
    color: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
}

.tag {
    background: var(--red);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    flex: 0 0 auto;
}

.marquee {
    position: relative;
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 18s linear infinite;
    font-size: 13px;
    opacity: .95;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .grid {
        grid-template-columns: 260px 1fr;
    }

    .right-col {
        grid-column: 1 / -1;
    }

    .side {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .side-sep {
        margin: 8px 12px;
    }
}

@media (max-width: 860px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero img {
        height: 320px;
    }

    .hero {
        min-height: 320px;
    }

    .hero-title {
        font-size: 24px;
    }
}

/* 전체 래퍼 */
.kff-wrap {
    background: #d9d9d9;
    padding: 16px;
    border-radius: 20px;
    height: 407px;
}

/* 카드 */
.kff-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
}

/* 타이틀 */
.kff-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* 슬라이더 */
.kff-slider {
    overflow: hidden;
    margin-top: 15px;
}

#kpickTrack {
    display: flex;
    transition: transform 0.4s ease;
}

/* 슬라이드 */
.kff-slide {
    width: 100%;
    flex-shrink: 0;
}

/* 이미지 */
.kff-slide img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 10px;
}

/* 제목 */
.kff-slide h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 설명 */
.kff-slide p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 네비 */
.kff-nav {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 좌우 버튼 */
.nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 70%;
    border: none;
    background: #eef1f4;
    font-size: 18px;
    cursor: pointer;
}

/* dots */
.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
}

.dot.on {
    background: #1c71c9;
}



/**********************************************************
Daily News / Opinion
**********************************************************/
.wrapDailyTop {
    margin-top: -0px !important;
}

.wrapDaily {
    max-width: 1280px;
    margin: 28px auto 60px;
    padding: 0 18px;
}

/* ====== 전체 2칼럼 ====== */
.layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 46px;
    align-items: start;
}

/* ====== 섹션 헤더 (캡처처럼 얇은 라인 + 우측 화살표) ====== */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 18px;
}

.sec-head .title {
    font-weight: 800;
    font-size: 20px;
}

.sec-head .more {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

/* ====== Daily News (위/아래 2행) ====== */
.daily-rows {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

/* 한 행은 "큰기사(좌)" + "리스트(우)" */
.daily-row {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 34px;
    align-items: start;
}

/* 큰기사 */
.feature {
    display: block;
}

.feature .thumb {
    width: 100%;
    height: 280px;
    background: #eee;
    overflow: hidden;
}

.feature .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.feature p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #444;
}

/* 리스트(우측) */
.stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mini {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: start;
}

.mini .mini-thumb {
    width: 90px;
    height: 64px;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.mini .mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini .mini-body h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.02em;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini .mini-body p {
    margin: 0;
    font-size: 12.5px;
    color: #666;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 아래 행의 큰 이미지(좌측) — 캡처처럼 더 "가로" 느낌 */
.feature.bottom .thumb {
    height: 280px;
}

/* ====== Opinion ====== */
.opinion .today {
    background: #f6efe6;
    padding: 26px 18px;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 18px;
}

.opinion .today .tag {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.opinion .today .t-title {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 14px;
    letter-spacing: -.02em;
}

.opinion .today .morelink {
    font-size: 13px;
    color: #777;
}

.op-list {
    display: flex;
    flex-direction: column;
}

.op-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px dotted #cfcfcf;
}

.op-item:last-child {
    border-bottom: none;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    overflow: hidden;
    background: #e9e9e9;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.opinion .op-body {
    margin-top: -5px;
}

.op-body .label {
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 6px;
    color: #444;
}

.op-body .op-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====== 반응형 ====== */
@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .daily-row {
        grid-template-columns: 1fr;
    }

    .feature .thumb,
    .feature.bottom .thumb {
        height: 240px;
    }
}

/**********************************************************
3번째 섹션
**********************************************************/
.issue-wrap {
    width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== 카드 ===== */
.issue-card {
    border-top: 3px solid #ff8a00;
}

/* 헤더 */
.issue-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff6e8;
    padding: 10px 14px;
    font-weight: 800;
    color: #ff8a00;
}

.issue-head span {
    font-size: 15px;
}

.issue-head .arrow {
    font-size: 18px;
}

/* 대표 기사 */
.issue-feature {
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.issue-feature img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
}

.issue-feature h3 {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 6px;
    letter-spacing: -.02em;
    white-space: nowrap;
    /* 한 줄 고정 */
    overflow: hidden;
    /* 넘치는 부분 숨김 */
    text-overflow: ellipsis;
}

.issue-feature p {
    font-size: 13px;
    color: #555;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 리스트 */
.issue-list a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    border-bottom: 1px solid #eee;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.issue-list a:last-child {
    border-bottom: none
}

.issue-list a:hover {
    color: #dc3545;
}

/* 반응형 */
@media (max-width: 1000px) {
    .issue-wrap {
        grid-template-columns: 1fr
    }
}

.issue-card {
    border-top: 1px solid #d9d9d9;
    display: flex;
    flex-direction: column;

    min-width: 0;
    /*border-bottom: 1px solid #e5e7eb;*/
}

.issue-ad {
    width: 100%;
    padding: 16px 14px;
    box-sizing: border-box;
}

.issue-ad ins {
    display: block;
    width: 100%;
}

/**********************************************************
많이 본 기사
**********************************************************/

/* ===============================
   WRAP
================================ */
.top50 {
    max-width: 1280px;
    margin: 40px auto;
    background: #eef3f7;
    padding: 24px 28px;
    box-sizing: border-box;
}

/* ===============================
   HEAD
================================ */
.top50-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.top50-head h2 {
    font-size: 18px;
    font-weight: 900;
    border-bottom: 2px solid #111;
    padding-bottom: 6px;
}

/* ===============================
   GRID
================================ */
.top50-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    overflow: hidden;
    /* ⭐ 전체 밀림 방지 */
}

/* ===============================
   LEFT (1~2)
================================ */
.top50-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.top-item {
    display: flex;
    gap: 12px;
    overflow: hidden;
    /* ⭐ 제목 넘침 방지 */
}

.rank {
    flex-shrink: 0;
    font-weight: 900;
    font-size: 20px;
    width: 24px;
    position: relative;
    top: 15px;
}

.thumb {
    width: 96px;
    height: 64px;
    flex-shrink: 0;
    overflow: hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.txt {
    min-width: 0;
    /* ⭐ flex ellipsis 핵심 */
}

.txt h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 🔥 2줄 */
    -webkit-box-orient: vertical;

    overflow: hidden;
}


.txt p {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===============================
   RIGHT (3~10)
================================ */
.top50-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    overflow: hidden;
    /* ⭐ grid 밀림 방지 */
}

.top50-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.top50-right li {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid #d9dee3;
    font-size: 16px;
    overflow: hidden;
    /* ⭐ 중요 */
}

.top50-right li span {
    flex-shrink: 0;
    font-weight: 900;
}

.top50-right li a {
    flex: 1;
    min-width: 0;
    /* ⭐ flex ellipsis 필수 */
    display: block;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===============================
   INFO TOOLTIP
================================ */
.info {
    position: relative;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

/* tooltip box */
.info::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

/* tooltip arrow */
.info::before {
    content: "";
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #111 transparent transparent transparent;
    opacity: 0;
    transition: opacity .2s ease;
}

.info:hover::after,
.info:hover::before {
    opacity: 1;
}

/* ===============================
   뉴스 리스트
================================ */

.news-section {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
    /* ⭐ 필수 */
    overflow-x: hidden;
    /* ⭐ 최후 방어선 */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* ⭐ 핵심 */
    gap: 40px;
}

/* 헤더 */
.col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.col-head h2 {
    font-size: 18px;
    font-weight: 800;
}

.col-head .more {
    font-size: 20px;
    text-decoration: none;
    color: #000;
}

.main-news {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 이미지 틀 */
.main-news img {
    width: 100%;
    height: 250px;
    /* ⭐ 고정 높이 */
    object-fit: cover;
    /* 비율 유지하며 채우기 */
    display: block;
}

.main-news h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 서브 기사 */
.sub-news {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.sub-news li {
    font-size: 16px;
    padding: 8px 0;
    border-top: 1px solid #e5e5e5;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 반응형 */
@media (max-width:900px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ===============================
   애드센스
================================ */

.ads-wrap {
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.ads-banner {
    width: 100%;
    background: #eef3f7;
    border-radius: 14px;
    overflow: visible;
    /* ⭐ 핵심 */
    display: flex;
    justify-content: center;
}

.ads-banner ins,
.ads-banner iframe {
    width: 100% !important;
    height: auto !important;
    /* ⭐ 핵심 */
    display: block !important;
}

/* ===============================
   사회적기업
================================ */

.triple-section {
    max-width: 1280px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 24px;
}

/* 공통 카드 */
.card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 20px -20px 20px;
    box-shadow: 0 0 0 1px #eee;
}

/* 헤더 */
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-head h2 {
    font-size: 18px;
    font-weight: 800;
}

.arrow {
    font-size: 22px;
    color: #aaa;
}

/* LEFT */
.main-item .tag {
    color: #FFF;
    font-size: 13px;
    font-weight: 700;
}

.main-item .title {
    margin-top: 6px;
    font-weight: 700;
    line-height: 1.4;
    font-size: 16px;
}

.list {
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.list li {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.list img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}

.list strong {
    font-size: 13px;
}

.list p {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list li > div p a {
    display: block;
    /* ⭐ 필수 */
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CENTER */
.card-center {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: #fff;
}

.youtube-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.youtube-head .yt {
    font-weight: 900;
    color: #ff0033;
}

.youtube-head .on {
    background: #ff0033;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.youtube-box {
    margin-top: 16px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.youtube-box img {
    width: 100%;
    display: block;
    height: auto;
}

.play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: rgba(0, 0, 0, .3);
}

/* RIGHT */
.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rank-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 5px 20px 5px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.rank-list li span {
    font-size: 20px;
    font-weight: 900;
    color: #3b82f6;
    flex-shrink: 0;
}

.rank-list li a {
    display: block;
    min-width: 0;
    /* ⭐⭐⭐ 핵심 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}


/* ===============================
   유튜브 영역
================================ */

/* 카드 전체 */
.card-center {
    background: linear-gradient(180deg, #0f172a, #020617);
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 헤더 */
.youtube-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.youtube-head .yt {
    font-weight: 900;
    font-size: 18px;
    color: #ff0033;
    letter-spacing: .5px;
}

.youtube-head .on {
    font-size: 11px;
    font-weight: 700;
    background: #ff0033;
    padding: 4px 10px;
    border-radius: 999px;
}

/* 영상 영역 */
.youtube-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 14;
    /* 너무 크지 않게 */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

/* iframe / video */
.youtube-box iframe,
.youtube-box video {
    width: 100%;
    height: 100%;
    display: block;
}

/* 재생 버튼 */
.play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: #fff;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .45));
    opacity: .85;
    pointer-events: none;
}

/* 제목 */
.youtube-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e5e7eb;
}

/* 영상 없을 때 */
.youtube-box.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    aspect-ratio: 16 / 7;
}

/* hover 효과 */
.card-center:hover .play {
    opacity: 1;
    background: rgba(0, 0, 0, .35);
}


.card-left .list li {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 이미지 고정 */
.card-left .list li img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

/* 텍스트 영역 */
.card-left .list li > div {
    min-width: 0;
    /* ⭐⭐⭐ 이게 제일 중요 */
}

/* 제목 */
.card-left .list li p {
    margin: 0;
}

.card-left .list li p a {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

/* ===============================
   세로 슬라이딩 핵심 속보
================================ */
/* ===== 뉴스 속보 티커 ===== */
.news-ticker {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #1f2933;
    /* 차콜 네이비 */
    color: #f1f5f9;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-family: "Noto Sans KR", system-ui, sans-serif;
}

/* 속보 라벨 */
.news-ticker__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* 슬라이드 영역 */
.news-ticker__track {
    position: relative;
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}

/* 텍스트 묶음 */
.news-ticker__content {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    font-size: 15px;
    line-height: 1.4;
}

/* 애니메이션 */
.news-ticker__content.animate {
    animation: ticker-slide 22s linear infinite;
}

/* hover 시 정지 */
.news-ticker:hover .news-ticker__content.animate {
    animation-play-state: paused;
}

/* 키프레임 */
@keyframes ticker-slide {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    top:-1px!important;
}

.news-ticker__bullet {
    font-size: 11px;
    color: #ff6b6b;
    /* 포인트 컬러 */
    flex-shrink: 0;
}

/* 속보가 1개일 때만 깜빡임 */
.news-ticker__content > .news-ticker__item:only-child {
    animation: ticker-blink 1.2s infinite;
}

/* 깜빡임 애니메이션 */
@keyframes ticker-blink {
    0%   { opacity: 1; }
    50%  { opacity: 0.35; }
    100% { opacity: 1; }
}


/* ===============================
   배너 슬라이딩 핵심
================================ */

.hero-slider {
    position: relative;
    max-width: 1280px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform .6s ease;
}

.slide {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* 오버레이 */
.slide-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .65),
            rgba(0, 0, 0, .0));
    color: #fff;
}

.slide-overlay h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.slide-overlay p {
    font-size: 16px;
    opacity: .9;
}

/* 좌우 버튼 */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;
    border-radius: 50%;

    display: flex;
    /* ⭐ 핵심 */
    align-items: center;
    /* ⭐ 세로 중앙 */
    justify-content: center;
    /* ⭐ 가로 중앙 */

    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    /* ⭐ 텍스트 밀림 방지 */
    border: none;
    cursor: pointer;
}

.nav.prev {
    left: 16px;
}

.nav.next {
    right: 16px;
}

/* 도트 */
.dots {
    /*position:absolute;
  bottom:16px;*/
    margin-left: 65px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    color: #ddd;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.dot.active {
    background: #000;
}

/* ===============================
   SNS
================================ */

.creator-section {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    border-top: 1px solid #dc3545;
    padding-top: 16px;
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.creator-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f6f6f6;
    border-radius: 14px;
    text-decoration: none;
    color: #000;
    transition: .2s ease;
}

.creator-card:hover {
    background: #eee;
}

/* 프로필 원 */
.creator-avatar {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    flex-shrink: 0;
}

.creator-avatar.red {
    background: #03c660;
}

.creator-avatar.black {
    background: #000;
}

.creator-avatar.teal {
    background: #00a8a8;
}

.creator-info strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.creator-id {
    font-size: 13px;
    color: #666;
}

.creator-info p {
    font-size: 14px;
    color: #444;
    margin-top: 6px;
    line-height: 1.4;
}

/* 우측 화살표 */
.arrow {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 18px;
    color: #000;
}

/* 반응형 */
@media(max-width:900px) {
    .creator-grid {
        grid-template-columns: 1fr;
    }
}
