@media (max-width: 1023px) {
.sub_wrap {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: #3a3d44;
}

.sub_wrap,
.sub_wrap *,
.sub_wrap *::before,
.sub_wrap *::after { box-sizing: border-box; }

.sub_wrap { padding: 0; }

.sub_wrap .sub_default {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px 90px;
}

.sub_wrap .sub_h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.5;
  color: #222;
  letter-spacing: -.02em;
  text-align: center;
}

.sub_wrap .sub_p {
  font-size: 15px;
  line-height: 1.5;
  color: #888;
  text-align: center;
  margin: 14px 0 44px;
}

.sub_wrap .sub_cont_box { margin-top: 0; }

.sub_wrap .tab_default ul.tab_btn_wrap {
  display: flex;
  border: 1px solid #d5d9df;
  border-radius: 2px;
  overflow: hidden;
  margin: 0 0 40px;
}

.sub_wrap .tab_default ul.tab_btn_wrap::after { display: none; }

.sub_wrap .tab_default ul.tab_btn_wrap > li {
  display: block;
  float: none;
  flex: 1;
  width: auto;
  height: auto;
  padding: 20px 0;
  font-size: 17px;

  line-height: normal;
  font-weight: 600;
  color: #999;
  text-align: center;
  background: #fafbfc;
  border: 0;
  border-right: 1px solid #eef0f3;
  cursor: pointer;
}

.sub_wrap .tab_default ul.tab_btn_wrap > li:first-child { border-right: 1px solid #eef0f3; }

.sub_wrap .tab_default ul.tab_btn_wrap > li:last-child { border-right: 0; border-left: 0; }

.sub_wrap .tab_default ul.tab_btn_wrap > li.active {
  color: #222;
  font-weight: 800;
  background: #fff;
  border: 0;
  box-shadow: inset 0 -3px 0 #333;
}

.sub_wrap .tab_default ul.tab_btn_wrap > li > span { display: block; }

.sub_wrap .tab_default .tab_cont_wrap { margin-top: 0; }

.sub_wrap ul.event_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
}

.sub_wrap ul.event_list::after { display: none; }

.sub_wrap ul.event_list > li {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e8ec;
  border-radius: 4px;
  transition: box-shadow .15s;
}

.sub_wrap ul.event_list > li:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.sub_wrap ul.event_list > li > a { display: block; padding: 0; }

.sub_wrap ul.event_list li img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  margin: 0;
  background: #eef2f6;
}

.sub_wrap ul.event_list li h4 {
  margin: 0;
  padding: 22px 22px 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: #222;
}

.sub_wrap ul.event_list li p {
  margin: 0;
  padding: 12px 22px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #888;
  min-height: 44px;
}

.sub_wrap ul.event_list li > span,
.sub_wrap ul.event_list li a > span {
  display: block;
  padding: 18px 22px 26px;
  font-size: 13px;
  color: #aaa;
}

.sub_wrap ul.event_list li span em {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #bbb;
  background: none;
  padding-right: 0;
  margin-right: 10px;
}

.sub_wrap ul.event_end > li { padding: 0; }

.sub_wrap ul.event_end > li:hover { border: 1px solid #e5e8ec; box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.sub_wrap ul.event_end li img { filter: grayscale(1) brightness(.85); }

.sub_wrap ul.event_end div.end {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: auto;
  aspect-ratio: 5 / 3;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background-color: rgba(0,0,0,.35);
}

.sub_wrap ul.event_end div.end span { display: block; }

.sub_wrap .event_none_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 180px;
  border: 1px solid #eef0f3;
  border-radius: 4px;
  background: #fafbfc;
}

.sub_wrap .event_none_wrap span {
  display: block;
  font-size: 14px;
  color: #888;
}
}

@media (max-width: 1023px) {
  .sub_wrap .sub_default { padding: 20px 16px 60px; }
  .sub_wrap .sub_h1 { font-size: 24px; }
  .sub_wrap .sub_p { margin-bottom: 28px; }
  .sub_wrap .tab_default ul.tab_btn_wrap > li { padding: 15px 0; font-size: 14.5px; }
  .sub_wrap ul.event_list { grid-template-columns: 1fr 1fr; gap: 18px 14px; }

  .sub_wrap ul.event_list li h4 { font-size: 14.5px; }
  .sub_wrap ul.event_list li p { font-size: 12.5px; min-height: 0; }
}

@media (max-width: 560px) {
  .sub_wrap ul.event_list { grid-template-columns: 1fr; }
}

/* list_detail.asp receives event markup from the database. Its 1200px artwork
   often carries absolutely-positioned CTA links, so scale the whole canvas and
   preserve the source coordinates rather than shrinking only the images. */
@media (max-width: 1023px) {
  .evt_wrap {
    container-type: inline-size;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .evt_wrap .w1200 {
    width: 1200px !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    zoom: calc(100cqw / 1200px);
  }

  .evt_wrap .w_evt_swiper {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1920 / 706;
    overflow: hidden !important;
  }

  .evt_wrap .w_evt_swiper .swiper-wrapper,
  .evt_wrap .w_evt_swiper .swiper-slide {
    height: 100% !important;
  }

  .evt_wrap .w_evt_swiper .swiper-slide {
    width: 100% !important;
    background-position: center top !important;
    background-size: cover !important;
  }
}
