@charset "utf-8";

/* =========================================
   WebLease Main Style (Brand: #dc3545)
   ========================================= */

/* 1. Hero Section */
.wl-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1c29 0%, #dc3545 100%);
  padding: 100px 0 140px;
  color: #fff;
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  margin-bottom: 60px;
  text-align: center;
}

.wl-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://source.unsplash.com/1920x1080/?technology,code,server")
    center/cover;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.wl-hero-content {
  position: relative;
  z-index: 2;
}

.wl-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.wl-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wl-desc {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

/* 버튼 스타일 */
.btn-wl-primary {
  background: #fff;
  color: #dc3545;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 50px;
  border: none;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-wl-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  color: #b02a37;
}

.btn-wl-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.btn-wl-outline:hover {
  background: #fff;
  color: #333;
  border-color: #fff;
}

/* 2. Live Stats */
.wl-stats-container {
  margin-top: -100px;
  position: relative;
  z-index: 3;
  padding: 0 15px;
}

.wl-stats-box {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.wl-stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
  border-right: 1px solid #eee;
  padding: 10px;
}

.wl-stat-item:last-child {
  border-right: none;
}

.wl-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2c3e50;
  display: block;
  margin-bottom: 5px;
}

.wl-stat-label {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.wl-stat-icon {
  font-size: 1.5rem;
  color: #dc3545;
  margin-bottom: 10px;
}

/* 3. Feature Section */
.wl-section {
  padding: 60px 0;
}

.wl-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.wl-section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
}

.wl-section-title p {
  color: #666;
  font-size: 1.05rem;
}

.wl-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 30px;
  transition: 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.wl-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #dc3545;
}

.wl-card-icon {
  width: 70px;
  height: 70px;
  background: #fff5f5;
  color: #dc3545;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.wl-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.wl-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.wl-link {
  color: #dc3545;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.wl-link:hover {
  text-decoration: underline;
}

.wl-link i {
  margin-left: 5px;
  transition: 0.2s;
}

.wl-link:hover i {
  transform: translateX(5px);
}

/* 4. Tech Specs */
.wl-tech-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.wl-tech-icon {
  font-size: 2rem;
  color: #555;
  margin-right: 20px;
  width: 50px;
  text-align: center;
}

.wl-tech-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

/* ★ 좌측 설명글 스타일 (기준) */
.wl-tech-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* =============================================================
   ★ [CSS 수정] 최신글 리스트 디자인
   ============================================================= */
.wl-latest-list {
  margin-top: 5px;
}

.wl-latest-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 중복 제목 숨김 (스킨에서 출력하는 게시판 제목 숨기기) */
.wl-latest-list .lat_title {
  display: none !important;
}

/* 리스트 아이템 */
.wl-latest-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}

.wl-latest-list li:last-child {
  border-bottom: none;
}

/* 제목 링크: 좌측 설명글과 동일한 스타일 적용 */
.wl-latest-list li a {
  font-size: 0.9rem;
  /* 좌측 설명글과 동일 */
  color: #666;
  /* 좌측 설명글과 동일 */
  text-decoration: none;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  /* 일반 굵기 */
  margin-right: 15px;
}

.wl-latest-list li a:hover {
  color: #dc3545;
}

/* 날짜 스타일 */
.wl-latest-list .lt_date {
  font-size: 0.85rem;
  color: #999;
  white-space: nowrap;
  font-family: "Roboto", sans-serif;
}

/* 불필요 요소 숨김 */
.wl-latest-list .lt_nick,
.wl-latest-list .lt_more {
  display: none !important;
}

.wl-latest-list .new_icon {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  color: #dc3545;
}

/* 반응형 */
@media (max-width: 768px) {
  .wl-hero {
    padding: 80px 0 120px;
    border-radius: 0 0 30px 30px;
  }

  .wl-title {
    font-size: 2rem;
  }

  .wl-stat-item {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
  }

  .wl-stat-item:last-child {
    border-bottom: none;
  }

  .wl-stats-container {
    margin-top: -80px;
  }
}
