@charset "utf-8";

.lt_notice {
  margin: 0 auto;
  width: 100%;
  padding: 100px 0;
  background-color: #f9f9fc;
  box-sizing: border-box;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.lt_notice h2 {
  text-align: center;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 50px;
  letter-spacing: -1px;
  position: relative;
  display: block;
}

.lt_notice h2 a {
  background: linear-gradient(135deg, #111111 0%, #303030 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #111;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.lt_notice h2 a:hover {
  background: linear-gradient(135deg, #0056b3 0%, #0084ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lt_notice h2 a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b6b, #fa576b);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.lt_notice h2 a:hover::after {
  width: 50px;
}

.lt_notice ul {
  padding: 0 20px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 카드 공통 및 3D 모션 */
.lt_notice li {
  width: calc(50% - 20px);
  margin-bottom: 40px;
  position: relative;
  padding: 30px;
  min-height: 152px;
  /* 카드의 최소 높이 확보 */
  line-height: 1.6;
  box-sizing: border-box;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lt_notice li:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.05);
}

.lt_notice .lt_li_img {
  padding-left: 140px;
  min-height: 120px;
}

.lt_notice .lt_li_img .lt_img {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.lt_notice .lt_li_img .lt_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.lt_notice li:hover .lt_img img {
  transform: scale(1.08);
}

.lt_notice .txt_wrap {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
  padding-right: 55px;
  box-sizing: border-box;
}

.lt_notice .lt_cate {
  flex-shrink: 0;
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #fa576b);
  padding: 4px 10px;
  font-size: 0.8em;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(250, 87, 107, 0.3);
}

.lt_notice .lt_tit {
  flex-grow: 1;
  font-size: 1.2em;
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #222;
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: color 0.3s;
}

.lt_notice .lt_tit:hover {
  color: #0056b3;
}

/* NEW 아이콘 라벨 스타일 변경 */
.lt_notice .new_icon {
  display: block;
  position: absolute;
  top: -12px;
  right: 30px;
  width: 44px;
  text-align: center;
  color: #fff;
  font-size: 0.75rem;
  line-height: 24px;
  font-weight: 600;
  background: #0056b3;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

.lt_notice .lt_detail {
  font-size: 0.95rem;
  color: #666;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  font-weight: 400;
  line-height: 1.6;
}

.lt_notice .empty_li {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  padding: 50px 0;
  color: #888;
  min-height: auto !important;
}

.lt_notice .empty_li:hover {
  transform: none;
  box-shadow: none;
}

.lt_notice .menu_more {
  margin: 20px 0 0;
  text-align: center;
  clear: both;
}

.lt_notice .menu_more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 50px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.lt_notice .menu_more a:hover {
  background: #333;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 969px) {
  .lt_notice {
    padding: 80px 0;
  }

  .lt_notice h2 {
    margin-bottom: 40px;
    font-size: 1.8em;
  }

  .lt_notice ul {
    padding: 0 20px;
  }

  .lt_notice li {
    width: 100%;
    margin-bottom: 25px;
    padding: 25px;
    min-height: 140px;
  }
}

@media (max-width: 639px) {
  .lt_notice {
    padding: 60px 0;
  }

  .lt_notice h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .lt_notice li {
    padding: 20px 20px 25px;
    border-radius: 16px;
    min-height: 130px;
  }

  .lt_notice .lt_li_img {
    padding-left: 110px;
    min-height: 86px;
  }

  .lt_notice .lt_li_img .lt_img {
    width: 76px;
    height: 76px;
    top: 20px;
    left: 20px;
    border-radius: 12px;
  }

  .lt_notice .txt_wrap {
    padding-right: 0;
    margin-bottom: 8px;
    display: block;
    min-height: 25px;
  }

  .lt_notice .lt_cate {
    margin-bottom: 8px;
  }

  .lt_notice .lt_tit {
    font-size: 1.1em;
    display: block;
  }

  .lt_notice .lt_detail {
    font-size: 0.9rem;
    height: 44px;
  }

  .lt_notice .new_icon {
    top: -10px;
    right: 20px;
  }

  .lt_notice .menu_more a {
    width: 140px;
    height: 46px;
    font-size: 0.95rem;
  }
}