/**********************
**********************
**********************
3. 데스크탑 사이즈 (1316px 이상)
**********************
**********************
**********************/
@media (min-width: 1316px) {
  /*header*/
  #wrap {
  }
  .hedaWrap {
    width: 1300px;
    margin: 0 auto;
  }
  #header {
    width: 100%;
    z-index: 30;
    height: 162px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
  }

  .headtop {
    margin-left: 0;
    justify-content: center;
    background-color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    min-width: fit-content;
    img {
      max-width: 16px;
      filter: brightness(0.3);
    }
  }
  .headtop a {
    color: #0c3578;
    min-width: fit-content;
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
  }
  .header.active {
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
  }
  .header.active .headtop {
    color: #0c3578;
  }
  .header.active .headtop a {
    color: #0c3578;
  }

  .Icon-b {
    display: none;
  }
  .header.active .Icon-b {
    display: block;
  }
  .headtop a .Icon-w {
    display: block;
  }
  .header.active .Icon-w {
    display: none;
  }

  #gnb.active {
    position: relative;
  }
  #header div.headerWrap {
    position: relative;
    margin: 0 auto;
    padding: 25px 0 10px;
    z-index: 20;
    width: 1300px;
    text-align: center;
  }
  .slideTitle {
    position: absolute;
    top: 320px;
    z-index: 1;
    width: 100%;
    width: 1300px;
  }
  .slideTitle img {
    width: auto;
  }

  .mainSwiper {
    height: 840px;
    width: calc(100% - 48px);
    border-radius: 0 0 48px 48px;
    &::before {
      content: "";
      position: absolute;
      left: 0px;
      bottom: 140px;
      z-index: 99;
      background: linear-gradient(
        rgba(255, 255, 255, 0.062745098),
        #f5f8f9 30%
      );
      width: 56px;
      height: 56px;
      clip-path: path("M 56 0 Q 56 56 0 56 L 56 56 Z");
      transform: translateX(0) rotate(90deg);
    }

    &::after {
      content: "";
      bottom: 0;
      position: absolute;
      height: 140px;
      width: 30%;
      z-index: 99;
      background-color: #fff;
      border-radius: 0 48px 0 0;
    }
    .swiper-slide {
    }
  }

  /* depth 1  */
  #gnb {
    position: relative;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    height: 90px;
    margin-top: 8px;
    display: block;
  }
  .gnbM > li > a {
    padding: 0;
  }
  #gnb > ul {
    display: inline-block;
    width: 1300px;
    height: auto;
  }
  #gnb > ul:after {
    clear: both;
    display: block;
    content: "";
  }
  #gnb > ul > li {
    position: relative;
    float: left;
    width: 12.5%;
  }
  #gnb > ul > li:first-child:after {
    display: none;
  }
  #gnb > ul > li > a {
    display: block;
    font-weight: 600;
    font-size: 16.5px;
    color: #fff;
    box-sizing: border-box;
    height: 70px;
    line-height: 70px;
  }
  .header.active #gnb > ul > li > a {
    color: #000;
  }
  #gnb > ul > li > a:hover,
  #gnb > ul > li > a:focus,
  #gnb > ul > li > a:active,
  #gnb > ul > li.hover > a {
    color: #103578;
    text-decoration: none;
  }
  #gnb.open > ul > li:active > ul,
  #gnb.open > ul > li:focus > ul,
  #gnb.open > ul > li:hover > ul {
    display: block;
  }

  /* depth 2 */
  #gnb > ul > li > ul {
    display: none;
    width: 100%;
    padding-top: 1rem;
    background: #fff;
    height: 392px;
    border-top: 1px solid #e7e7e7;
    box-sizing: border-box;
    z-index: 999;
  }

  .lnb-area {
    position: absolute;
    z-index: 999;
  }
  .lnb-area > li > a {
    display: block;
    padding: 0;
  }

  #gnb > ul:hover li ul {
    display: block;
  }
  #gnb > ul > li:first-child > ul:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -1000%;
    top: -1px;
    display: block;
    border-top: 1px solid #e7e7e7;
    box-sizing: border-box;
    background: #fff;
    height: 392px;
    padding-bottom: 3px;
    width: 3027%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    left: -2015%;
  }

  #gnb > ul > li ul:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 1px;
    height: 380px;
    background: #e7e7e7;
  }
  #gnb > ul > li:first-child ul:after {
    display: none;
  }
  #gnb > ul > li > ul > li {
    line-height: 24px;
  }
  #gnb > ul > li > ul > li > a {
    display: block;
    line-height: 33px;
    font-size: 14px;
    letter-spacing: -0.6px;
    text-align: center;
    color: #000;
  }
  #gnb > ul > li > ul > li > a:hover {
    color: #103578;
    font-weight: 500;
  }

  .gnbM {
  }
  .h1_logo img {
    margin: 33px auto 0;
    width: 346px;
  }
  .logo-white {
    display: block;
  }
  .logo-blue {
    display: none;
  }
  .header.active .logo-blue {
    display: block;
  }
  .header.active .logo-white {
    display: none;
  }
  #gnb {
    height: 70px;
    border-bottom: 1px solid #ffffff4a;
  }

  .menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
  }

  /*뉴스*/
  .content {
    /* background: #103578; */
    /* height: 169px; */
    padding: 0px 0;
    position: relative;
    height: auto !important;
  }
  .newsW {
    width: 1300px;
    margin: 0 auto;
    top: -96px;
    position: relative;
    border-radius: 24px;
    border: 1px solid #121212;
    box-shadow: 4px 8px 10px #03012221;
    display: flex;
    justify-content: space-between;
    flex-direction: unset;
    background-color: #fff !important;
    z-index: 999;
    flex-direction: row-reverse;
    padding: 20px;
    align-items: center;
    padding-right: 80px;
    overflow: hidden;
    &::after {
      position: absolute;
      display: block;
      content: url("../images/main/newsbackground2.png");
      pointer-events: none;
      bottom: 0px;
      right: 0;
    }
  }
  .news-slider-wrap {
    padding-top: 0px;
    margin-top: 0;
    /* top: -130px; */
    top: 0;
  }
  .newsL {
    height: stretch;
    margin-top: 0;
    width: 100%;
  }
  .news-swiper {
    /* width: 943px; */
    height: 154px; /* 🚨 중요: 세로 슬라이더는 컨테이너의 높이가 고정되어 있어야 합니다 */
    overflow: hidden;
    position: relative;
    z-index: 2;
    .newsul {
      /* Swiper 기본 래퍼 스타일 유지 (flex-direction 등을 Swiper JS가 세로로 제어함) */
      margin: 0;
      padding: 0;
      list-style: none;

      li.swiper-slide {
        box-sizing: border-box; /* 패딩이 높이에 영향을 주지 않도록 설정 */
        background: transparent;
        border-bottom: 1px solid #d9d9d9;
        padding: 4px 12px;
        width: 100%; /* 가로폭은 컨테이너에 맞춤 */
        display: flex;
        align-items: center;
        justify-content: space-between;
        p {
          text-align: left;
          font-size: 16px;
          white-space: nowrap !important;
        }
        span {
          text-align: right;
          display: block;
          color: #b2b2b2;
          font-size: 15px;
        }
      }
    }
  }

  .newsR {
    height: stretch;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 460px !important;
    padding: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;

    .swiper-buttons {
      display: flex;
      gap: 0;
      margin-top: 16px;
      gap: 8px;
    }
    button {
      margin: 0 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      color: #fff;
      outline: none;
      border: none;
      border-radius: 90px;
      font-size: 16px;

      font-family: "SBAggroB";
      cursor: pointer;
      background-color: #1648a3 !important;
    }
    &::after {
      position: absolute;
      pointer-events: none;
      display: block;
      content: url("../images/main/newsbackground1.png");
      top: 0px;
      left: 0;
      max-width: 96px;
    }
    h3 {
      color: #1428a0 !important;
      font-family: "GMarketSans";
      position: relative;
      font-size: 42px;
      display: inline-block;
      z-index: 99;
      position: relative;
      &::after {
        display: none !important;
      }
    }
    .slickbutton {
      margin-top: 10px;
      margin-bottom: 0;
      .slick-arrow {
        background: #1648a3;
        color: #fff;
        border: none;
        width: 41px;
        height: 41px;
        border-radius: 50px;
        font-family: "SBAggroB";
        cursor: pointer;
      }
      .slick-next {
      }
    }
  }
  .importantWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e7eaf1;
    background: linear-gradient(#e7eaf1, #d1dbe6);
    padding: 0px 0;
    .contents {
      width: 1300px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      .downloadWrap {
        transform: translateY(-64px);
        position: relative;
        /* top: -64px; */
        border: 1px solid #121212;
        box-shadow: 4px 8px 10px #03012221;
        border-radius: 32px;
        padding: 24px;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        max-width: 640px;
        .quickBtnList {
          display: grid;
          gap: 16px;
          padding-bottom: 40px;
          grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
          border-bottom: 1px solid #f2f2f2;
          .quickBtnItem {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-direction: column;
            transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
            filter: drop-shadow(4px 4px 4px #0a124210);

            &:hover {
              .iconWrap {
                filter: drop-shadow(4px 4px 4px #0a124250);
                transform: rotate(5deg) scale(1.05);
              }
            }
            .iconWrap {
              transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
              padding: 8px;
              /* border: 1px solid red; */
              width: 72px;
              height: 72px;
              max-width: 72px;
              max-height: 72px;
              display: flex;
              align-items: center;
              justify-content: center;
              img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                /* width: 100%; */
              }
            }
            p {
              font-size: 16px;
              font-weight: 800;
            }
          }
        }
        .downloadList {
          display: grid;
          grid-template-columns: 1fr 1fr;
          .downloadItem {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            padding: 24px 14px;
            transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
            &:hover {
              background-color: #f5f5f5;
            }
            p {
              font-size: 16px;
              font-weight: 800;
            }
          }
        }
      }

      .importantBox {
        display: flex;
        flex-direction: column;
        gap: 24px;
        justify-content: flex-start;
        align-items: center;
        align-items: flex-start;

        h1 {
          font-size: 28px;
          font-weight: 900 !important;
          color: #1428a0;
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
        }
        .importantList {
          width: fit-content;
          display: flex;
          gap: 8px;
          flex-direction: row;
          .importantItem {
            box-shadow: 4px 8px 10px #03012221;
            border: 1px solid #121212;
            display: flex;
            gap: 16px;
            background: #fff;
            padding: 16px;
            border-radius: 16px;
            display: flex;
            gap: 16px;
            width: 100%;
            flex-direction: column;
            .badge {
              padding: 4px 14px;
              font-weight: 400;
              color: #fff;
              background-color: #121212;
              width: fit-content;
              border-radius: 32px;
              font-size: 16px !important;
              height: fit-content;
            }
            .textContent {
              display: flex;
              flex-direction: column;
              gap: 6px;
              padding-top: 4px;
              .date {
                font-size: 16px;
                letter-spacing: -3%;
                white-space: nowrap;
              }
              .suject {
                display: flex;
                align-items: center;
                gap: 8px;
                font-weight: 800;
                font-size: 16px;
                &::before {
                  width: 3px;
                  content: "";
                  height: 60%;
                  background-color: #333;
                }
              }
            }
          }
          .importantItem.accent {
            .badge {
              background-color: #103578;
            }
          }
        }
      }
    }
  }
  /*주요일정 및 다운로드*/
  .content2 {
    width: 1300px;
    margin: 0 auto;
    display: flex;
    padding: 72px 10px;
  }
  .datesBox {
    display: flex;
    gap: 56px;
    width: 55%;
  }
  .datesBox h3 span {
    display: block;
    margin-left: 0px;
    text-align: left;
  }
  .downList li {
    width: 49%;
  }
  .downList li a {
    padding: 45px 0;
    font-size: 21.33px;
  }
  .datelist li {
    margin-top: 0;
    margin-left: 0px;
    justify-content: left;
  }
  .datelist li:nth-of-type(2),
  .datelist li:nth-of-type(3) {
    margin-top: 40px;
  }

  /*quickmenu*/
  .content3 {
    background: #01b7c5;
    width: 100%;
    height: 515px;
    padding: 62px 0;
  }
  .quick-w {
    width: 1300px;
    margin: 0 auto;
  }
  .quick-w h3 {
  }
  .quickList {
    margin-top: 53px;
    gap: 0;
  }
  .quickList li {
    width: calc(100% / 6);
    margin-bottom: 50px;
  }
  .quickList li a {
    font-size: 20.33px;
  }
  .quickImg img {
    height: 79px;
  }

  /* footer logo */
  .footer {
    width: 100%;
    padding: 38px 0;
    clear: both;
    background: #1c3ba3;
    height: fit-content;
  }
  .footerInfoWrap {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    li {
      width: fit-content;
      &::after {
        display: none;
      }
    }
  }
  .emailWrap {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    .emailItems {
      display: flex;
      flex-direction: column;
      gap: 8px;
      .emailItem {
        padding-left: 0 !important;
      }
    }
  }
  .footer_logo {
    padding: 30px 0;
    background-color: #f2fcff;
  }
  .footer_wrap {
    width: 1300px;
    display: flex;
    margin: 0 auto;
    padding: 0;
  }
  .footer-txt {
    width: 75%;
    > h2 {
      white-space: nowrap;
      display: flex;
      gap: 8px;
      margin-bottom: 20px;
      p {
        font-weight: 800;
        font-size: 16px;
      }
    }
  }
  .footer-txt:last-child {
    width: 25%;
  }
  .footer_logo .org_area {
    width: 1300px;
    margin: 0 auto;
  }
  .footer-txt ul li {
    font-size: 16px;
  }
  .footer-txt:last-child {
    margin-top: 0;
  }
  .footer-txt h2 {
    font-size: 19px;
  }
  .footer-txt h2 span {
    font-size: 15px;
  }
  .footer-txt p {
    font-size: 16px;
  }
  .footer_logo .org_area ul li {
    width: auto;
  }
  .footer_logo .org_area ul li a {
    width: auto;
  }

  /*sponslide*/
  .sponsorSlider {
    width: 1300px;
    margin: 0 auto;
  }

  .popup-btn-grid a {
    padding: 1.5em 0; /* em 단위로 버튼 높이를 비율로 설정 */
  }

  .eventBtn {
    gap: 10px 1px;
    justify-content: space-between;
  }
  .eventBtn li {
    width: 19%;
  }
  .eventBtn li a {
  }

  #visual .roll > li img {
    margin: 0 auto;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .sliderbtn {
    position: absolute;
    z-index: 999;
    top: 59%;
    text-align: center;
    width: 37% !important;
  }
  .sliderbtn > a {
    background: #ffffff21;
    color: #fff;
    padding: 8px 13px;
    font-size: 1em;
    border: 2px solid #fff;
    border-radius: 50px;
    transition: 0.3s ease;
  }
  .sliderbtn > a:hover {
    cursor: pointer;
    background: #000;
  }
  .close {
    float: right;
    font-size: 35px;
    font-weight: bold;
    position: relative;
    top: 30px;
    right: 0;
    background: #fff;
    width: 30px;
    height: 30px;
  }
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  /* The Modal (background) --------------------------------------------*/
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
  }
  .modal-content img {
    width: 500px;
  }
  .modal-content {
    width: 500px;
  }
}
