/* BASIC css start */
/* ===============
 * Main
 * =============== */
.k-section {
  padding: 45px 0;
}
@media (min-width: 768px) {
  .k-section {
    padding: 80px 0;
  }
  .k-section.section-curai {padding-top: 150px;}
}

.k-section .s_head {
  color: var(--ub-color-main);
  text-align: center;

  h3 {
    font-size: 40px;
  }
}

.k-section__topfx {
  padding-top: 0;
  padding-bottom: 0;
}
.k-section__collections {
  padding-top: 120px;
  padding-bottom: 120px;
}

.g-fx {
  display: flex;

  .g-col {
    flex: 1 1 50%;
  }
}
.g-fx .gbox {
  position: relative;

  img {
    display: block;
    width: 100%;
  }
}

.k-section__topfx .hp {
  display: none;
}
.hpoint {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.hpoint::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: background-color 0.2s;
}

.hcard__g {
  position: absolute;
  left: 10px;
  bottom: 7px;
  display: flex;
  gap: 8px;
}
.hcard {
  display: block;
  min-width: 218px;
  padding: 4px;
  background-color: var(--ub-color-sys100);
  opacity: .24;
  transition: opacity .3s;
  color: var(--ub-color-main);
  font-size: 14px;

  b {
    font-size: 12px;
    letter-spacing: 1.2px;
    font-weight: 400;
    font-variant: all-small-caps;
  }
  .ii {
    margin-right: 4px;
  }
}
.hcard.active {
    opacity: 1;
}

.k-section__topfx .g-fx {
  .a-mod {
    .hpoint::after {
      opacity: .4;
      transform: opacity .3s;
    }
    .hpoint:hover::after,
    .hpoint.on::after {
      opacity: 1;
    }
  }
}

.k-section__collections .s_body {
  margin-top: 40px;
  padding: 0 10px;
}


.p-prd-item {
  position: relative;
  color: var(--ub-color-main);

  .pp-thumb {
    position: relative;
    & > a {
      display: block;
    }
    img {
      display: block;
      width: 100%;
    }
    .back {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      opacity: 0;
      transition: opacity .3s;
    }
  }

  .pp-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 5px;
  }
  .p_name .sbtxt {
    display: inline-block;
    padding: 2px;
    line-height: 13px;
    background: #fff;
    transition: background .25s;

    &:hover {
      background: var(--ub-color-sys100);
    }
  }
  .p_name .h3 {
    margin-top: 1px;
  }
  .p_name .h3 a {
    font: inherit;
    color: inherit;
  }

  .wish_bt {
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
    background-image: url(https://syneez.com/x/img/i/bt-plus.svg);
  }
  .wish_tip {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    padding: 0 2px;
    background: #fff;
    border-right: 2px solid transparent;
    box-sizing: content-box;
    background-clip: padding-box;

    display: flex;
    align-items: center;
    font-family: var(--ub-font-sans);
    font-size: 10px;
    height: 14px;
    font-variant: all-small-caps;
    letter-spacing: 0.3px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;

  }

  .wish_bt:hover .wish_tip,
  .wish_bt:focus-visible .wish_tip {
    opacity: 1;
    pointer-events: auto;
  }
}

.p-prd-item:hover .pp-thumb .back {
  opacity: 1;
}


.k-section__campaigns.k-section {
  padding-top: 45px;
  padding-bottom: 120px;;
}
.k-section__campaigns .inbox {
  border-top: 1px solid var(--ub-color-sys250);
  padding: 18px 10px 0;
  display: flex;
  column-gap: 10px;

  .g-head {
    flex: 0 0 25%;
  }
  .g-body {
    flex: 1 1 auto;
    display: flex;
    column-gap: 10px;
  }
  .s_head {
    text-align: left;
    max-width: 300px;

    h3 {
      margin-bottom: 16px;
    }
    p {
      line-height: 1.2;
    }
    .cpc-text {
      margin-top: 4px;
      font-size: 10px;
      line-height: 1.4;
      margin-left: 60px;
    }
  }

  .i-large {
    width: 40.48vw; /* 583px; */
    aspect-ratio: 5 / 7;
  }
  .i-small {
    width: 15.83vw; /* 228px; */
    aspect-ratio: 63 / 85;
  }
  .cpc-list {
    flex: 1 1 auto;
  }
  .cpc-right {
    flex: 0;
  }

  .i-large__w {
    position: relative;
  }

  .i-large,
  .i-small {
    position: relative;
    img {
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .3s, visibility .3s;

      &.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }
    }
  }

  .i-small__w {position: relative;}
  .i-small__txt {
    display: block;
    margin-top: 8px;
    &::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }
  }
  .i-large__lnk {
    position: absolute;
    left: 4px;
    bottom: 4px;
    font-family: var(--ub-font-sans);
    font-size: 12px;
    line-height: 13px;
    padding: 4px;
    color: #fff;
    transition: background .25s, color .25s;

    &:hover {
      color: var(--ub-color-main);
      background: var(--ub-color-sys100);
    }
  }
}


.cpc-list {
  display: flex;
  justify-content: space-between;

  .hc {
    margin-bottom: 5px;
    color: var(--ub-color-sys500);
  }
  .i-list li {
    margin-bottom: 4px;
  }
  .i-item {
    &::before {
      content: '\2014';
      margin-right: 5px;
      opacity: 0;
      transition: opacity .3s;
    }
  }

  .i-item.active::before,
  .i-item:hover::before,
  .i-item:focus-visible::before {
    opacity: 1;
  }
}


/* Mid Swiper */
.k-section__art {
  padding-top: 64px;
  padding-bottom: 120px;
}
.main-swiper, .thumb-swiper {
  width: 100%;
}

.main-swiper {
    margin-bottom: 24px;
}
.main-swiper .swiper-slide {
    aspect-ratio: 16 / 10;
    background-color: #f5f5f5;
}
.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-swiper .swiper-slide {
    aspect-ratio: 3 / 4;
    background-color: #f9f9f9;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
}

.thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mid-banner-w .mbi-a {
  display: block;
  position: relative;

  .cc {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 20px 16px;
    color: #fff;
    font-size: 40px;
  }
  .cc__b {
    position: absolute;
    left: 16px;
    bottom: 12px;
    color: #fff;
    font-size: 12px;
    font-family: var(--ub-font-sans);
  }
  .opt-text {
    position: absolute;
    color: #fff;
    line-height: 1.1;

    .t_en {
      font-size: 14px;
      line-height: 16px;
    }
    .t_ko {
      font-family: var(--ub-font-kr-serif);
      margin-top: 8px;
      padding-left: 24px;
      font-size: 10px;
      line-height: 14px;
    }
  }
}

.mid-banner-w {
  .bb_top {
    margin-bottom: 16px;
    img {
      display: block;
      width: 100%;
    }
  }
  .t {
    display: none;
  }

  .sw_wrap {
    overflow: hidden;
    padding: 0 10px;
  }
  .swiper.solo-thumb-swiper {
    overflow: visible;
  }

  .bb_grid {
    img {
      display: block;
      width: 100%;
    }

    .i {
      opacity: 0;
      transition: opacity .3s;
    }

    li:hover .i {
      opacity: 1;
    }
  }

  .bb_grid__c {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .mid-banner-w .bb_top {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 24px;
  }
  .mid-banner-w .t {
    display: block;
    margin-bottom: 14px;
  }
  .mid-banner-w .bb_grid__c {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .mid-banner-w .bb_grid__c {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.k-section__bnr2.k-section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.k-section__bnr2 {
  .sc-txt {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    font-size: 32px;
    text-align: center;
    color: #fff;

    span {
      display: block;
      margin-top: 2px;
      font-size: 16px;
    }
  }

  .g-fx {
    padding-left: 10px;
    padding-right: 10px;
    column-gap: 12px;
  }

  .collec {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 1px 2px 2px;
    font-family: var(--ub-font-sans);
    font-size: 10px;
    line-height: 12px;
    font-variant: all-small-caps;
    background: #fff;

    opacity: 0;
    transition: opacity .25s;;
  }
  .gbox:hover {
    .collec {
      opacity: 1;
    }
  }
}

@media (max-width: 767.8px), (hover: none) {
  .k-section__bnr2 .collec {
    opacity: 1;
  }
}

.k-section__journal.k-section {
  padding-top: 64px;
  padding-bottom: 120px;
}
.k-section__journal {
  .s_body {
    padding: 0 10px;
  }
  .s_body__t {
    margin: 40px 0 30px;
    padding: 0 10px;
    border-bottom: 1px solid var(--ub-color-sys250);
  }
  .tabs-container {
    display: grid;
    grid-template-columns: 1fr 40% 1fr;
    gap: 72px;
  }
  .n-line {
    text-align: right;

    a {
      font-family: var(--ub-font-sans);
      font-size: 10px;
      font-variant: all-small-caps;
      letter-spacing: 0.3px;
    }
  }
}

/* tab */
.tabs-container {
  .tab-btn {
    display: block;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: opacity 0.3s, font-weight 0.3s;
    border-bottom: 1px solid;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    color: var(--ub-color-sys300);
  }
  .tab-btn:hover {
    color: var(--ub-color-main);
  }
  .tab-btn.active {
    color: var(--ub-color-main);
  }

  .tab-panel {
    position: relative;
  }

  .tc-center {
    min-width: 0;
  }
  .panel-content {
    display: none;
  }

  .panel-content.active {
    display: block;
  }

  .tab-btn .rr {
    display: block;
    opacity: 0;
    max-height: 0;
    transition: max-height .3s, opacity .3s;
    font-size: 0;

    a {
      display: inline-block;
      padding: 4px;
      font-family: var(--ub-font-sans);
      font-size: 10px;
      line-height: 12px;
      font-variant: all-small-caps;
      letter-spacing: .3px;
      color: inherit;
      transition: background .25s;

      &:hover {
        background-color: var(--ub-color-sys100);
      }
    }
  }
  .tab-btn.active .rr {
    margin-top: 8px;
    opacity: 1;
    max-height: 21px;
  }
}


.k-section__cm1 {
  padding: 180px 0;
  text-align: center;

  .t1 {
    font-size: 18px;
    line-height: 1;
  }
  .t2 {
    margin-top: 10px;
    font-size: 10px;
  }
}

.swiper.jn-swiper {
  .swiper-pagination.swiper-pagination-fraction {
    top: 4px;
    right: 4px;
    left: auto;
    bottom: auto;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ub-color-sys100);
    color: var(--ub-color-main);
    font-family: var(--ub-font-sans);
    font-size: 10px;
    font-variant: all-small-caps;
    letter-spacing: .3px;

    span {
      font: inherit;
    }
  }

  .swiper-slide img {
    width: 100%;
  }
}



/* ======
Mobile Resp
====== ====== ====== */
@media (max-width: 1360px) {
  .k-section__campaigns.k-section {
    padding-top: 64px;
  }
  .k-section__campaigns .inbox {
    border-top: 0;
    padding-top: 0;
    display: block;
    .s_head {
      max-width: 380px;
      margin-bottom: 10px;
    }
    .i-large {
      width: 45vw;
    }

    .i-small {
      width: 228px;
    }
  }

  .k-section__journal {
    .tabs-container {
      grid-template-columns: 1fr 2fr 1fr;
      gap: 32px;
    }
  }
}


@media (max-width: 1024px) {
  .hcard {
    min-width: auto;
  }

  .cpc-list .i-list li {
    margin-bottom: 6px;
  }
  .k-section__campaigns .inbox {
    .g-body {
      display: block;
    }
    .i-large__w {
      max-width: 700px;
      margin: 0 auto 40px;
    }
    .i-large {
      width: 100%;
    }

    .cpc-list {
      gap: 10px;
      .i-warp {
        flex: 1 1 50%;
      }
      .cpc-right {
        flex: 1 1 50%;
      }
    }

    .i-small {
      width: 100%;
    }

    .i-large__lnk {
      color: transparent !important;
      background: transparent !important;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      overflow: hidden;
      text-indent: -2000px;
    }

    .i-small__txt {
      color: transparent !important;
      overflow: hidden;
      text-indent: -2000px;
      margin: 0;
      line-height: 0;
    }
  }

  .k-section__journal {
    .tabs-container {
      grid-template-columns: 1fr 2fr;
      gap: 20px;
    }

    .tc-right {
      display: none;
    }
  }

  .mid-banner-w .mbi-a .opt-text {
    display: none;
  }
}


@media (max-width: 767.8px) {
  .hcard__g {
    left: 0;
    padding: 0 10px;
    width: 100%;
    flex-direction: column;
    gap: 4px;
  }
  .hcard {
    width: 100%;
    b {
      display: none;
    }
  }

  .k-section__topfx .g-fx {
    display: block;

    .g-col {
      display: none;

      position: absolute;
      left: 0;
      top: 0;
      z-index: 0;
      width: 100%;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .3s;

      &.active {
        display: block;

        position: relative;
        z-index: 1;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }
    }
  }

  .k-section__topfx .active .hp {
    display: block;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    width: 1px;
    height: 1px;
    pointer-events: none;
  }

  .k-section__bnr2 .g-fx {
    flex-direction: column;
    row-gap: 14px;
  }

  .k-section__topfx .gbox {
    position: relative;

    img {
      display: block;
      width: 100%;
    }
  }

  .k-section__journal {
    .s_body__t {
      margin-top: 24px;
      margin-bottom: 32px;

      p {
        display: none;
      }
    }
    .tabs-container {
      display: flex;
      flex-direction: column-reverse;
      row-gap: 8px;
    }

  }

  .mid-banner-w .mbi-a {
    .cc {
      font-size: 24px;
    }
    .cc__b {
      display: none;
    }
  }
}


.k-section__topfx .gbox .u-overbox {
  height: 100%;
}
.k-section__topfx .g-fx .gbox {
  height: calc(100vh - var(--header-height));
  min-height: 400px;
}

.k-section[data-show="off"] {
  display: none !important;
}

body .main-content .p-prd-item .wish_bt {display: none !important;}
body .main-content .k-section__campaigns .inbox .i-large__lnk {display: none !important;}

/* BASIC css end */

