/* ===================== Reset ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#hero-container,
.hero-content,
.hero-main-slider{
  min-width: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    word-break: keep-all;
}
.global-section {
    width: 100%;
    max-width: calc(1430px + 487px); /* = 1917px */
    padding: 0;

    display: grid;
    grid-template-columns: 1430px 487px; /* 🔥 핵심 */
    min-height: 700px;
}


.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: none !important;
}

#sidebar-container,
.hero-sidebar {
    grid-column: 2 / 3;
    width: 487px;
    max-width: 487px;
    background: #fff !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 700px;
}

.event-card-title {
    padding-left: 30px;
    padding-bottom: 20px;
}

.event-card-title h1{ font-size: 30px; }
/* ===================== 레이아웃 (PC) ===================== */
/* 전체 컨테이너: 최대 1400px, 화면 오른쪽에 붙기 */
.global-section {
    width: 100%;
    max-width: calc(1430px + 487px); /* = 1917px */
    padding: 0;

    display: grid;
    grid-template-columns: 1430px 487px; /* 🔥 핵심 */
    min-height: 700px;
}

/* hero-container = 왼쪽 영역 가변폭 */
#hero-container {
    grid-column: 1 / 2;
    width: 100%;
    height: 100%;
    padding: 0;

    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    background: transparent;
}

.hero-content {
    grid-column: 1 / 2;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    background: transparent;
}


/* 왼쪽 히어로 영역 */
#hero-container,
.hero-content {
    grid-column: 1 / 2;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    background: transparent;
}

/* 오른쪽 사이드바 487px 고정 */
#sidebar-container {
    grid-column: 2 / 3;
    width: 487px;
    max-width: 487px;
    height: 100%;
    margin: 0;

    display: flex;
    flex-direction: column;
    background: #3a3a3a;
    padding: 0;
}

/* 🔥 히어로 배너 왼쪽으로 딱 붙이기 - 강제 초기화 */

#hero-container,
.hero-content,
.hero-main-slider,
.hero-slide {
  margin: 0;
  padding: 0 !important;
  left: 0 !important;
}
/* 🔥 section-title-container가 전체를 밀지 않도록 초기화 */
.section-title-container {
    left: 0 !important;
}

/* 오른쪽 사이드바 영역 (487px 고정) */
#sidebar-container,
.hero-sidebar {
    grid-column: 2 / 3;
    width: 487px;
    max-width: 487px;
    background: #3a3a3a;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 슬라이더가 칸을 넘지 않도록 */
.hero-main-slider,
.hero-slide {
    width: 100%;
    max-width: 100%;
}

/* ===================== 공통 장식 요소 ===================== */
.decorative {
    position: absolute;
    pointer-events: none;
}

.cloud-top {
    width: 80px;
    height: 30px;
    background: #d4af37;
    border-radius: 15px;
    top: 20px;
    left: 0;
}

/* ===================== 텍스트 영역 ===================== */
.text-content {
    flex: 1;
    width: 100%;
    max-width: none;
    position: relative;
}

.hero-slide .text-content {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 350px;
}

.title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 35px;
    position: relative;
}

.dates {
    font-size: 24px;

    margin-bottom: 41px;
}

.description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.btn {
    background: white;
    border: 1px solid #707070;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: #1a1a1a;
    color: white;
}

/* ===================== 메인 히어로 슬라이더 ===================== */
.hero-main-slider {
    width: 100%;
    position: relative;
    flex: 1 1 auto;
}

.hero-main-slider .slick-list,
.hero-main-slider .slick-track {
    height: 100%;
}

.hero-main-slider .slick-slide,
.hero-main-slider .slick-slide>div {
    height: 100%;
}

.hero-slide {
    position: relative;
    min-height: clamp(480px, 68vh, 620px);
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
    rgba(255, 255, 255, 0.82) 20%,
    rgba(255, 255, 255, 0.42) 55%,
    rgba(255, 255, 255, 0.08) 100%);
    z-index: 1;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: clamp(48px, 6vw, 88px) 20px clamp(88px, 9vw, 124px) 48px;
    min-height: inherit;
    justify-content: center;
    max-width: none;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    max-height: 700px;
}

/* 텍스트 블록 폭 제한 */

.hero-main-slider .title {

  position: relative;

  /* 제목은 기존처럼 2줄 유지하되 폭을 넓혀 한 줄에 더 많이 노출 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 3.2vw, 55px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000;
  word-break: keep-all;
  white-space: normal;
  overflow-wrap: normal;
  padding-bottom: 0.1em;
  max-height: none;
  margin-bottom: 20px;
}



.hero-main-slider .dates {

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(24px, 2.25vw, 31px);
    line-height: 1.5;
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: normal;
    max-height: calc(1.5em * 2);
    margin-bottom: 24px;
}

.hero-main-slider .description {
    max-width: 360px;

    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1.6;
    word-break: keep-all;
    white-space: normal;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 하단 도트 + 재생/일시정지 버튼 */
.hero-main-controls {
    position: absolute;
    bottom: clamp(24px, 4vw, 44px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

@media (min-width: 1281px) {
    .hero-slide-inner {
        padding-left: 84px;
        padding-right: 48px;
    }
}

.hero-main-dots .slick-dots {
    display: flex !important;
    align-items: center;
    position: relative;
    bottom: 0;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.hero-main-dots .slick-dots li {
    list-style: none;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.25);
    transition: all 0.3s ease;
}

.hero-main-dots .slick-dots li.slick-active {
    width: 32px;
    background: #1a1a1a;
}

.hero-main-dots .slick-dots button {
    opacity: 0;
    width: 0;
    height: 0;
}

.hero-main-prev {
    border:none;
    background: none;
    cursor: pointer;
}
.hero-main-prev::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: solid #d5d7d9;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
    transition: all 0.3s;
}
.hero-main-prev:hover::after {
    border-width: 0 3px 3px 0;
}
.hero-main-next {
    border:none;
    background: none;
    cursor: pointer;
}
.hero-main-next::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: solid #d5d7d9;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    transition: all 0.3s;
}
.hero-main-next:hover::after {
    border-width: 0 3px 3px 0;
}

.hero-mobile-prev {
    border:none;
    background: none;
    cursor: pointer;
}
.hero-mobile-prev::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: solid #d5d7d9;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
    transition: all 0.3s;
}
.hero-mobile-prev:hover::after {
    border-width: 0 3px 3px 0;
}
.hero-mobile-next {
    border:none;
    background: none;
    cursor: pointer;
}
.hero-mobile-next::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: solid #d5d7d9;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    transition: all 0.3s;
}
.hero-mobile-next:hover::after {
    border-width: 0 3px 3px 0;
}

/* 재생/일시정지 토글 버튼 */
.hero-main-toggle {
    margin-left:24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-main-toggle:hover {
    border-color: #1a1a1a;
}

.hero-main-toggle::before,
.hero-main-toggle::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero-main-toggle::before {
    left: 18px;
}

.hero-main-toggle::after {
    right: 18px;
}

/* is-paused → ▶ 아이콘 */
.hero-main-toggle.is-paused::before {
    left: 50%;
    transform: translateX(-1px);
    width: 0;
    height: 0;
    border-left: 12px solid #1a1a1a;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    background: transparent;
}

.hero-main-toggle.is-paused::after {
    opacity: 0;
}

/* ===================== 사이드바 슬라이더 공통 ===================== */
.sidebar-container,
.sidebar-container-2 {
    flex: 1;
    height: 50%;
    position: relative;
}

.sidebar-container .slick-list,
.sidebar-container-2 .slick-list {
    height: 100%;
}

.sidebar-container .slick-track,
.sidebar-container-2 .slick-track {
    height: 100%;
}

.sidebar-container .slick-slide,
.sidebar-container-2 .slick-slide {
    height: 100%;
}

.sidebar-container .slick-slide>div,
.sidebar-container-2 .slick-slide>div {
    height: 100%;
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

/* 기본적으로 도트를 숨김 */
.sidebar-container .slick-dots,
.sidebar-container-2 .slick-dots {
    display: none !important;
}

/* 화면 너비가 768px 이하일 때만 스타일 적용 */
@media screen and (max-width: 768px) {
    .sidebar-container .slick-dots,
    .sidebar-container-2 .slick-dots {
        display: block !important; /* 다시 보이게 설정 */
        position: absolute !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        margin: 0 !important;
    }
}
.sidebar-container .slick-dots li button:before,
.sidebar-container-2 .slick-dots li button:before {
    display: none;
    color: #ffffff;
    opacity: 0.5;
    font-size: 10px;
}

.sidebar-container .slick-dots li.slick-active button:before {
    display: none;
    color: #c54804;
    opacity: 1;
}

.sidebar-container-2 .slick-dots li.slick-active button:before {
    display: none;
    color: #0957c3;
    opacity: 1;
}

.title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 0줄일 때 여백 제거(안 보이게) */
.description:empty {
    display: none;
}

/* ===================== 이벤트 카드 ===================== */
.event-card-wrapper {
    display: flex;
    padding-left: 0;
    flex-direction: column;
    gap: 10px;
    align-content: flex-start;
    align-items: flex-start;
}

.event-header-text-wrapper {
    margin-left: 5%;

}

/* 각 카드 기본 스타일 + 배경 */
.sidebar-container .event-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 100%;
    border-bottom: 1px solid #555;
}

.event-info:hover {
    text-decoration: underline;
    text-decoration-color: #0957c3;
}

.sidebar-container .event-card {
    position: relative;
    overflow: hidden;
}

.sidebar-container .event-card {
    position: relative;
}

.sidebar-container .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    border-left: 2px dashed #aeb3b7; /* 점선 */
}

.sidebar-container .event-card::after {
    content: '';
    position: absolute;
    top: 54px;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #aeb3b7;
    transition: all 0.3s;
    z-index: 1;
}

.sidebar-container .event-card:hover::after {
    background: #0957c3;
}

.sidebar-container .event-card:hover .event-date,
.sidebar-container .event-card:hover .event-date-text,
.sidebar-container .event-card:hover .event-category,
.sidebar-container .event-card:hover .event-info,
.sidebar-container .event-card:hover .event-info1,
.sidebar-container .event-card:hover .event-info2,
.sidebar-container .event-card:hover .event-info3 {
    color: #0957c3;
}

.event-date:hover,
.event-date-text:hover,
.event-category:hover,
.event-info:hover,
.event-info1:hover,
.event-info2:hover,
.event-info3:hover {
    text-decoration: underline;
    text-decoration-color: #0957c3;
}


/* 두 번째 컨테이너 안의 .event-card 별도 배경이 필요하면 여기서 조정 가능 */
.sidebar-container-2 .event-card {}

/* ===================== 텍스트 스타일 ===================== */
.event-header {
    display: flex;
    gap: 20px;
    align-items: baseline;
    margin-bottom: 30px;
}

.event-header-wrapper {
    display: flex;
    flex-direction: column;
}

.sidebar-container .event-date,
.sidebar-container .event-date-text {
    font-size: 24px;
    font-weight: 200;
    color: #000;
    padding-left: 20px;
    padding-top: 22px;
}

.sidebar-container .event-date b,
.sidebar-container .event-date-text b {
    font-weight: 600;
}

.event-category {
    font-family: NotoSansKR;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.17;
    text-align: center;
    color: #000;
}

.event-title {
    font-family: NotoSansKR;
    margin-top: 6px;
    font-size: 24px;
    font-weight: bold;
    line-height: 2rem;
    text-align: start;
    color: #ffffff;
}

.event-info {
position: relative;                

  /* 말줄임 핵심 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  /* 기존 스타일 정리하여 유지 */
  font-family: 'NotoSansKR', sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.6;
  color: #000;
  text-align: left;
  margin-top: 0;

  /* 높이를 정확히 2줄로 제한 */
  height: calc(1.6em * 2);
}
/* 실제로 ... 표시 */
.event-info::after {

  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: 6px;
  background: linear-gradient(to right, transparent, #fff 45%);
}

.event-info2 {
      position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* 최대 2줄 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  height: calc(1.5em * 3);     /* = 정확히 2줄 높이 */
  word-break: keep-all; 
    font-family: NotoSansKR;
    margin-top: 0;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.6;
    text-align: left;
    color: #000;
}

.event-info2::after {

  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: 6px;
  background: linear-gradient(to right, transparent, #fff 45%);
}


.event-info3 {
    font-family: NotoSansKR;
    margin-top: 23px;

    font-weight: normal;
    line-height: 1.6;
    text-align: left;
    color: #000;
    margin-bottom: 7%;
}

.event-info3 p {
    font-size: 16px;
}
.menu-item-title h1{ font-size: 20px; }  

.video-play-text {
    font-family: NotoSansKR;
    font-size: 14px;
    margin-top: 10px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    color: #ffffff;
}

.event-header-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: start;
    justify-content: start;
}

/* ===================== 섹션 타이틀 (세로 글자) ===================== */
.section-title-container {
    position: absolute;
    left: 200px;
    top: 0;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    display: none;
}

.section-title-vertical {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    flex-shrink: 0;

    text-orientation: mixed;
}

.section-title-line {
    width: 4px;
    height: 65px;
    background: #1a1a1a;
    border-radius: 2px;
}

.hero-more-btn {
    padding: 10px 30px;
    border-radius: 70px;
    background: #d5d7d9;
    border: 1px solid #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-slide .hero-more-btn {
    align-self: flex-start;
    margin-top: auto;
}

.hero-more-btn:hover {
    background: #d5d7d9;
    opacity: 0.8;
}

/* ===================== 1280px 이하 ===================== */
@media (max-width: 1280px) {
    .sidebar-container .event-card {
        padding: 25px;
    }

    .event-category {
        font-size: 16px;
    }
.event-info3 p {
    font-size: 13px;
}
    .event-header-text-wrapper {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: start;
        justify-content: start;
        margin-left: 5%;
        margin-top: 5%;
        margin-bottom: 10%;
    }

    .sidebar-container .event-date,
    .sidebar-container .event-date-text {
        font-size: 30px;
    }

    .hero-mobile-inner .title {
        font-size: 3vw;
        line-height: 1.4;
        margin-bottom: 100px !important;
    }

    .hero-mobile-inner .btn {
        align-self: flex-start;
        padding: 10px 18px;
        border-radius: 26px;
        border: 1px solid #707070;
        background: #fff;
        font-size: 1.1vw;
        color: #000;
        display: none;
    }

    .hero-mobile-inner .dates {
        font-size: 20px !important;
        line-height: 1.6;
        color: #444;
        margin-bottom: 20px;
        display: block;
        text-align: center;
    }
.event-card-title {
    padding-left: 30px;
    padding-bottom: 20px;
    font-size: 28px;
}
    .hero-mobile-inner .description {
        font-size: 1.2vw;
        line-height: 1.7;
        color: #333;
    }

    .hero-mobile-inner {
        position: absolute;
        inset: auto 20px 390px 20px;
        padding: 20px;
        border-radius: 12px;
        max-width: 60%;
    }

    .pc-hide {
        display: none;
    }

    .mobile-hide {
        display: none;
    }
}

/* ===================== 768px 이하 (모바일) ===================== */
@media (max-width: 768px) {

    .sidebar-container .event-card::before {
        content: none;
    }

    .sidebar-container .event-card::after {
        content: none;
    }

    .sidebar-container .event-card {
        padding: 25px;
    }

    .event-title {
        font-size: 16px;
    }

    .event-info {
        font-size: 16px;
    }
   .event-info2 {
        font-size: 16px;
    }

    .menu-label {
        font-size: clamp(12px, 1.5vw, 16px) !important;
        margin-top: 12px !important;
        font-weight: 600;
        color: #1a1a1a;
        border-bottom: none;
    }

    .hero-mobile-toggle {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 1px solid rgba(26, 26, 26, 0.28);
        background: rgba(255, 255, 255, 0.85);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
        transition: background 0.3s ease, border-color 0.3s ease;
    }
.event-card-title h1{ font-size: 28px !important; }
    .hero-mobile-toggle::before,
    .hero-mobile-toggle::after {
        content: '';
        position: absolute;
        width: 2px;
        height: 10px;
        background: #1a1a1a;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hero-mobile-toggle::before {
        left: 13px;
    }

    .hero-mobile-toggle::after {
        right: 13px;
    }

    .event-card-wrapper {
        padding-left: clamp(0px, 2.75vw, 64px);
    }

    .video-play-text {
        font-size: 11px;
        margin-top: 16px;
    }

    .hero-mobile-inner {
        position: absolute;
        inset: auto 20px 20px 20px;
        padding: 9px !important;
        border-radius: 12px;
        max-width: 60%;
    }

    .event-header-text-wrapper {
        margin-left: 5%;
        margin-top: 3%;
        margin-bottom: 1%;
    }

    .sidebar-container .slick-dots {
        display: none !important;
    }

    .sidebar-container .event-date,
    .sidebar-container .event-date-text {
        font-size: 18px;
    }

    .pc-hide {
        display: block !important;
    }

    .mobile-hide {
        display: none;
    }

    .section-title-container {
        display: none;
    }

    /* 🔹 모바일에서는 한 컬럼 레이아웃 */
    .global-section {
        display: grid;
        grid-template-columns: 1fr;
        margin: 48px auto 0 !important;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    #hero-container,
    .hero-content,
    #sidebar-container,
    .hero-sidebar {
        grid-column: auto;
        width: 100%;
        max-width: 100%;
    }

    #hero-container {
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        justify-content: flex-start;
        position: relative;
        background: transparent;
    }

    .hero-slide-inner {
        width: 100%;
        max-width: 50vw;
        padding: 0 20px;
    }

    .hero-slide-inner .title {
        font-size: 21px;
    }

    .hero-slide-inner .dates {
        font-size: 10px;
    }

    .hero-slide-inner .description {
        font-size: 9px;
    }

    .hero-slide-inner .btn {
        font-size: 9px;
    }

    .hero-mobile-inner .title {
        font-size: 3vw;
        line-height: 1.4;
        margin-bottom: 11VW !important;
        width: 100%;
    }

    .hero-mobile-inner .description {
        font-size: 1.2vw;
        line-height: 1.7;
        color: #333;
        display: none !important;
    }

}
@media (max-width: 1917px){
  .global-section{
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;

    /* 왼쪽 최소 900px 확보 + 그 이상은 가변 */
    grid-template-columns: minmax(900px, 1fr) 487px;
  }

}

@media (max-width: 1780px){
  .global-section{
    max-width: 100%;
          /* ✅ 배경이 줄어드는 핵심 */
    box-sizing: border-box;

    grid-template-columns: minmax(0, 1fr) 487px; /* ✅ 왼쪽 가변 */
  }
  #hero-container,
  .hero-content,
  .hero-main-slider{
    min-width: 0;              /* ✅ slick이 칸 밀어내는 것 방지 */
  }
  .global-section{
    max-width: 1680px;         /* ✅ 전체가 1630 안에 */
            /* ✅ 좌우 여백 */
    box-sizing: border-box;

    /* ✅ 왼쪽은 남는 만큼 자동(=줄어듦), 오른쪽은 487 고정 */
    grid-template-columns: minmax(0, 1fr) 487px;
  }

  /* ✅ 슬릭/텍스트가 칸을 밀어내는 것 방지(필수급) */
  #hero-container,
  .hero-content,
  .hero-main-slider{
    min-width: 0;
  }
  }
