/* ── 캠페인 히어로 ── */
.campaign-hero {
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%);
    padding: 70px 0 90px;
    text-align: center;
    overflow: hidden;
}
.campaign-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 40%, rgba(22,163,74,0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(34,197,94,0.06) 0%, transparent 45%);
    pointer-events: none;
}
.hero-badge-cp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(22,163,74,0.1);
    color: #15803d;
    border: 1px solid rgba(22,163,74,0.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.campaign-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #14532d;
    margin-bottom: 14px;
    line-height: 1.2;
}
.campaign-hero h1 em { color: #16a34a; font-style: normal; }
.campaign-hero p { font-size: 1.05rem; color: #14532d; max-width: 560px; margin: 0 auto 30px; line-height: 1.8; opacity: .85; }

/* 통계 */
.hero-stats { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-stat { background: #fff; border: 1px solid rgba(22,163,74,0.15); border-radius: 14px; padding: 12px 24px; box-shadow: 0 4px 16px rgba(22,163,74,0.06); }
.hero-stat-num { font-size: 1.4rem; font-weight: 900; color: #16a34a; line-height: 1; }
.hero-stat-label { font-size: .78rem; color: #15803d; margin-top: 4px; font-weight: 600; }

.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { fill: #f8fafc; }

/* ── 서브 탭 메뉴 ── */
.campaign-tabs-wrap { background: #f8fafc; padding: 20px 0 0; }
.campaign-tabs { display: flex; justify-content: center; gap: 8px; border-bottom: 1px solid #e2e8f0; max-width: 800px; margin: 0 auto; padding-bottom: 0; }
.campaign-tab-item {
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all .2s;
}
.campaign-tab-item:hover { color: #ff6b00; }
.campaign-tab-item.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
}

/* ── 캠페인 카드 그리드 ── */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.campaign-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -10px rgba(22,163,74,0.15); border-color: #bbf7d0; }
.campaign-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
    position: relative;
    overflow: hidden;
}
.campaign-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.campaign-card:hover .campaign-thumb img { transform: scale(1.04); }
.campaign-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
}
.campaign-thumb-placeholder i { font-size: 3rem; color: #dcfce7; }

/* 결과 리포트 라벨 배지 */
.badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.cp-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.badge-report { background: #16a34a; }
.badge-cate { background: rgba(15,23,42,0.6); }

.cp-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.cp-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-subtitle {
    font-size: .9rem;
    color: #475569;
    margin-bottom: 18px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-stat-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: auto;
    border: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result-stat-num {
    font-size: 1.15rem;
    font-weight: 900;
    color: #16a34a;
}
.result-stat-label {
    font-size: .8rem;
    color: #64748b;
    font-weight: 700;
}

/* ── 페이지네이션 ── */
.cp-pagination { display:flex; justify-content:center; gap:6px; margin-top:40px; }
.cp-pagination a {
    width:40px; height:40px; display:flex; align-items:center; justify-content:center;
    border-radius:12px; font-weight:700; text-decoration:none; font-size:.9rem;
    border:1px solid #e2e8f0; background:#fff; color:#475569; transition:all .15s;
}
.cp-pagination a:hover { background:#f8fafc; border-color:#cbd5e1; }
.cp-pagination a.active { background:#16a34a; border-color:#16a34a; color:#fff; box-shadow:0 4px 12px rgba(22,163,74,.25); }

/* ── 캠페인 컨테이너 폭 1500px ── */
.campaign-container { max-width: 1500px !important; width: 100%; }

@media (max-width: 768px) {
    .campaign-hero h1 { font-size: 2rem; }
    .campaign-grid { grid-template-columns: 1fr; }
    .campaign-tab-item { padding: 12px 16px; font-size: .95rem; }
}
