/* News Section */
.news-text-title {
    color: #000;
    text-decoration: none;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
    height: 50px;
}

.news-text-title:hover {
    color: #0957C3;
    text-decoration: underline;
    text-decoration-color: #0957C3;
}
.news-text-slider {
    height: 150px;
}
/* 위 배너 이미지(뒷배경) 대비 */
.news-card .news-hero {
    position: relative;
    overflow: hidden;
    /* 확대 잘림 방지 */
}

.news-card .news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    will-change: transform;
    z-index: 1;
    /* ⭐ 배경은 맨 아래로 */
}

.news-hero-label {
    position: relative;
    z-index: 3;
    font-size: 40px;
    /* ⭐ 라벨이 이미지 위로 올라오게 */
}

.news-card .news-hero::before {
    z-index: 1;
    /* ⭐ 이미지 레이어 */
}

.news-hero {
    position: relative;
    overflow: hidden;
    z-index: 2;
    /* 라벨보다 아래 */
}

/* 카드별 이미지 설정 예시 — 실제 이미지 경로로 교체해야 함 */
.news-card--news .news-hero::before {
    background-image: url('/static/newPub/public/news/news-title-bg.png');
}

.news-card--research .news-hero::before {
    background-image: url('/static/newPub/public/news/reserch-title-bg.png');
}

.news-card--opinion .news-hero::before {
    background-image: url('/static/newPub/public/news/opinion-title-bg.png');
}

/* 🔥 Hover 시 확대 + 좌측 이동 */
.news-card:hover .news-hero::before {
    transform: scale(1.15) translateX(-7%);
    /* 좌측 확대 */
    transform-origin: left center;
}

/* 2번 카드 – 정중앙 확대(좌·우 균등 확대) */
.news-card--research:hover .news-hero::before {
    transform: scale(1.15);
    transform-origin: center center;
}

/* 3번 카드 – 우측 확대 */
.news-card--opinion:hover .news-hero::before {
    transform: scale(1.15) translateX(10%);
    transform-origin: right center;
}
.news-section {
    background: #ffff;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 230px) clamp(20px, 3vw, 40px);
}
.news_content_inner {
display: flex
;
    align-content: center;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
}
.new_section_btn {
    font-size: 20px;


    text-decoration: none;
    color: #000;
}
.new_section_btn:hover {
    color: #0957C3;
    text-decoration: underline;
    text-decoration-color: #0957C3;
}
.news-hero {
    color: #fff;
    padding: 0 28%;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    height: 400px;
    line-height: 400px;
}
.news-card--news>.news-hero {
    background: url("/static/newPub/public/news/news-title-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
.news-card--research>.news-hero {
    background: url("/static/newPub/public/news/reserch-title-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
.news-card--opinion>.news-hero {
    background: url("/static/newPub/public/news/opinion-title-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
.new_section_btn {}

#news-section {
    max-width: 1280px;
    margin: 0 auto;
}
.news-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nav-arrow:hover {
    background: #1976d2;
    color: white;
}
.news-cards {
    position: relative;
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    gap: clamp(0px, 2vw, 0px);
}
.news-card {
   
    height: clamp(520px, 60vw, 580px);
    width: clamp(380px, 28vw, 440px);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}
.news-card .arrow-wrap {}

.news-card .arrow {
    display: none;
}

.news-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.news-card:hover {
    transform: translateY(-5px);
    color: #0957c3;

}

.news-image-wrapper {
    position: relative;
}

.slick-slide a {
    font-size: 18px;
}


.news-text-date {
    font-size: 18px;
    color: #000;
    margin-top: 20px;
    font-weight: 300;
}

.news-text-date:hover {
    color: #0957c3;
}

.slick-slide {
padding: 15px 15px;
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
.news-card-body { overflow: visible; } /* 테스트 후 필요하면 제거/조정 */
.news-card-body a {
    color: #000;
    text-decoration: none;
}

.news-card-body a:hover {
    color: #0957c3;
    text-decoration: underline;
    text-decoration-color: #0957c3;
}

.news-image {
    width: 100%;
    height: clamp(240px, 28vw, 280px);
    background: #e8eaf6;
    position: relative;
}

.news-image-arrow {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-image-arrow img {
    width: 76px;
    height: 76px;
}

/* Image Slider inside each card */
.image-slider {
    position: relative;
    height: clamp(240px, 28vw, 280px);
}

.image-slider>div {
    height: clamp(240px, 28vw, 280px);
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider .slick-list,
.image-slider .slick-track {
    height: clamp(240px, 28vw, 280px);
}

.image-slider .slick-slide {
    height: clamp(240px, 28vw, 280px);
}

.image-slider .slick-slide>div {
    height: clamp(240px, 28vw, 280px);
}

.custom-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    list-style: none;
    min-height: 50px;
}

.custom-dots li {
    list-style: none;
    display: inline-block;
    margin: 0 6px;
}
    .news-card .custom-dots .slick-dots {
        position: relative;
        display: flex !important;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
        justify-content: center;
    }
.custom-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 14px;
    height: 14px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 2px solid #004579;
    outline: none;
    border-radius: 50%;
}

.custom-dots .slick-active li {
    background: #004579;
    color: white;
}

.custom-dots .slick-dots li button:before {
    font-size: 14px;
}

.custom-dots .slick-dots {
    position: relative !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
}

.image-slider .slick-prev,
.image-slider .slick-next {
    z-index: 10;
    width: 30px;
    height: 30px;
}

.image-slider .slick-prev {
    left: 10px;
}

.image-slider .slick-next {
    right: 10px;
}

.image-slider .slick-prev:before,
.image-slider .slick-next:before {
    font-size: 20px;
    opacity: 0.7;
}

.image-slider .slick-prev:hover:before,
.image-slider .slick-next:hover:before {
    opacity: 1;
}

.news-category {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: bold;
    margin-top: clamp(24px, 3vw, 34px);
    color: #004579;
    font-family: NotoSansKR;
    line-height: 1.5;
}

.news-title {
    font-size: clamp(19px, 2.2vw, 23px);
    margin-top: clamp(15px, 2vw, 21px);
    font-weight: 600;
    line-height: 1.57;
    text-align: center;
    color: #000000;
    padding: 0 clamp(15px, 2vw, 20px);
}

.news-date {
    font-size: clamp(13px, 1.5vw, 15px);
    margin-top: clamp(14px, 1.8vw, 19px);
    font-weight: bold;
    line-height: 2.4;
    text-align: left;
    color: #555;
    padding: 0 clamp(15px, 2vw, 20px) 0;
    font-family: NotoSansKR;
}


/* Responsive */
@media (max-width: 1200px) {
    .news-cards {
        grid-template-columns: repeat(2, 1fr);
    }

 .news-section {
        padding: 36px 25px;
    }

    .news-hero {
color: #fff;
        padding: 0 6%;
        text-align: center;
        font-size: 20px;
        font-weight: 900;
            height: 200px;
    line-height: 200px;
    }
    .news-cards {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 20px;
    }

.new_section_btn_icon {
    color: #000;
    font-size: 13px;
}
    .section-title-vertical {
       font-size: 28px !important;
    }
    .research-item-cat {
    margin: 0 auto clamp(18px, 2vw, 24px);
    font-size: 15px !important;
    font-weight: 200;
    line-height: 1.45;
    letter-spacing: -1px;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.9em;
}
.discover-heading {
    margin: 0 auto clamp(26px, 4vw, 72px);
    width: 100%;
    max-width: 1280px;
    font-size: 28px !important;
    font-weight: 700;
    line-height: 1.35;
    color: #000;
    transition: all 0.2s;
}
.discover-main-title {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.4;
}
.discover-desc {
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
    font-size: 15px !important;
    line-height: 1.7;
    color: #000;
}


.research-section {
    height: 500px !important;
    background: #0b63c8;
    position: relative;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 3vw, 40px) clamp(100px, 10vw, 200px) clamp(20px, 3vw, 40px);
    color: #ffffff;
}


.research-item-title {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.85;
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    max-height: calc(1.85em * 4);
}
.new_section_btn_icon2 {
    color: #fff;
    font-size: 13px !important;
}
.research-item-date {
    margin: 0 auto clamp(8px, 0.5vw, 10px);
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.04em;
    width: 100%;
}
    .news-card {
        overflow: hidden;
        height: clamp(240px, 100%, 720px);
        width: clamp(380px, 28vw, 440px);
        transition: all 0.3s;
        cursor: pointer;
        position: relative;
    }

    .news-card {
        width: 100%;
    }

    .slick-slide a {
        font-size: 16px;
    }

    .news-card .control-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 3px 0 0 0;
        width: 100%;
    }

    .news-card .arrow-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        position: relative;
    }

    .news-card .arrow {
        display: inline-flex;
        position: relative;
        background: transparent;
        border: none;
        width: 32px;
        height: 32px;
        font-size: 28px;
        color: #000;
    }

    .news-card .arrow-left {
        left: unset;
        transform: unset;
    }

    .news-card .arrow-right {
        right: unset;
        transform: unset;
    }

    .news-card .arrow-left::before {
        transform: translateY(-56%);
    }

    .news-card .arrow-right::before {
        transform: translateY(-56%);
    }

    .news-card .custom-dots {
        margin: 0;
    }

    .news-text-date {
        font-size: 15px;
        color: #000;
        margin-top: 20px;
    }

 .news-card .custom-dots{
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-height: 14px;
  }

  .news-card .custom-dots .slick-dots{
    position: relative ; /* 아래로 밀려 잘리는 것 방지 */
    display:flex !important;
    gap: 8px;
    margin:0;
    padding:0;
    list-style:none;
  }

  .news-card .custom-dots .slick-dots li{ margin:0; }

  .news-card .custom-dots .slick-dots li button{
    width:10px; height:10px;
    padding:0;
  }

  .news-card .custom-dots .slick-dots li button:before{
    font-size: 10px;
    opacity:.4;
    color:#111;
  }

  .news-card .custom-dots .slick-dots li.slick-active button:before{
    opacity:1;
  }
}


@media (max-width: 768px) {
    .news-section {
        padding: 36px 25px;
    }

    .news-hero {
color: #fff;
        padding: 0 6%;
        text-align: center;
        font-size: 20px;
        font-weight: 900;
            height: 200px;
    line-height: 200px;
    }
    .news-cards {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 20px;
    }

.new_section_btn_icon {
    color: #000;
    font-size: 13px;
}
    .section-title-vertical {
       font-size: 28px !important;
    }
    .research-item-cat {
    margin: 0 auto clamp(18px, 2vw, 24px);
    font-size: 15px !important;
    font-weight: 200;
    line-height: 1.45;
    letter-spacing: -1px;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.9em;
}
.discover-heading {
    margin: 0 auto clamp(26px, 4vw, 72px);
    width: 100%;
    max-width: 1280px;
    font-size: 28px !important;
    font-weight: 700;
    line-height: 1.35;
    color: #000;
    transition: all 0.2s;
}
.discover-main-title {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.4;
}
.discover-desc {
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
    font-size: 15px !important;
    line-height: 1.7;
    color: #000;
}


.research-section {
    height: 500px !important;
    background: #0b63c8;
    position: relative;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 3vw, 40px) clamp(100px, 10vw, 200px) clamp(20px, 3vw, 40px);
    color: #ffffff;
}


.research-item-title {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.85;
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    max-height: calc(1.85em * 4);
}
.new_section_btn_icon2 {
    color: #fff;
    font-size: 13px !important;
}
.research-item-date {
    margin: 0 auto clamp(8px, 0.5vw, 10px);
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.04em;
    width: 100%;
}
    .news-card {
        overflow: hidden;
        height: clamp(240px, 100%, 720px);
        width: clamp(380px, 28vw, 440px);
        transition: all 0.3s;
        cursor: pointer;
        position: relative;
    }

    .news-card {
        width: 100%;
    }

    .slick-slide a {
        font-size: 15px;
    }

    .news-card .control-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 3px 0 0 0;
        width: 100%;
    }

    .news-card .arrow-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        position: relative;
    }

    .news-card .arrow {
        display: inline-flex;
        position: relative;
        background: transparent;
        border: none;
        width: 32px;
        height: 32px;
        font-size: 28px;
        color: #000;
    }

    .news-card .arrow-left {
        left: unset;
        transform: unset;
    }

    .news-card .arrow-right {
        right: unset;
        transform: unset;
    }

    .news-card .arrow-left::before {
        transform: translateY(-56%);
    }

    .news-card .arrow-right::before {
        transform: translateY(-56%);
    }

    .news-card .custom-dots {
        margin: 0;
    }

    .news-text-date {
        font-size: 15px;
        color: #000;
        margin-top: 20px;
    }
}


@media (min-width: 768px){
  .news-card .custom-dots{
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-height: 14px;
  }

  .news-card .custom-dots .slick-dots{
    position: relative ; /* 아래로 밀려 잘리는 것 방지 */
    display:flex !important;
    gap: 8px;
    margin:0;
    padding:0;
    list-style:none;
  }

  .news-card .custom-dots .slick-dots li{ margin:0; }

  .news-card .custom-dots .slick-dots li button{
    width:10px; height:10px;
    padding:0;
  }

  .news-card .custom-dots .slick-dots li button:before{
    font-size: 10px;
    opacity:.4;
    color:#111;
  }

  .news-card .custom-dots .slick-dots li.slick-active button:before{
    opacity:1;
  }
}

