/* ============================================================
   SBA 크리에이티브포스 메인 리뉴얼 (0722 시안)
   - global.css 뒤에 로드되어 덮어씀. 원복 = inc/common.php 링크 제거
   ============================================================ */
:root{
  --cf-blue:#1b64f1; --cf-blue-2:#1554e6;
  --cf-navy:#10254d; --cf-ink:#0f1c2e;
  --cf-line:#e3edfb;
}
body{font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif;}

/* ---------- 헤더 ---------- */
#header .top{background:#f7f8fa;border-bottom:1px solid #ececf0;}
#header .top .lef li,#header .top .lef li:first-child{border-color:#ececf0;}
#header .head{background:linear-gradient(90deg,#2470ff 0%,#1554e6 100%);}
#header .head .logo img{filter:brightness(0) invert(1);}
#header .head .gnb > li > a{color:#fff;font-weight:500;}
#header .head .gnb > li > a > span:before{background:#FCFF40;}
#header .head .gnb > li.active > a,
#header .head .gnb > li:hover > a{color:#FCFF40;}
/* 2뎁스: 배경 #0050CC, 글자 흰색, hover 글자 #FCFF40 */
#header{background:#0050CC;}
#header .head .gnb > li > ul{background:transparent;}
#header .head .gnb > li > ul > li > a{color:#fff;}
#header .head .gnb > li > ul > li:hover > a,
#header .head .gnb > li > ul > li.active > a{color:#FCFF40;}
#header .head .search{margin-top:-20px;}
#header .head .search input[type='text']{border:none;border-radius:20px 0 0 20px;height:40px;background:#fff;}
#header .head .search button{height:40px;border-radius:0 20px 20px 0;background:#fff;color:var(--cf-blue);}

/* ---------- 메인 배너 ---------- */
#vis .swiper-slide img{width:100%;height:auto !important;display:block;}
#vis .swiper-pagination-bullet{width:10px;height:10px;background:#fff;opacity:.5;}
#vis .swiper-pagination-bullet-active{opacity:1;}

/* ---------- 모집중인 캠페인 카드 ---------- */
#campaign .roll .box{transition:transform .25s ease,box-shadow .25s ease;}
#campaign .roll .box:hover{transform:translateY(-6px);}

/* ---------- With Creative Force 통계 ---------- */
#with{background:#fff;padding:90px 10px 110px;}
#with .tit h3{display:inline-block;font-size:16px;font-weight:600;color:var(--cf-ink);background:#fff;border:1px solid #dbe7fb;border-radius:999px;padding:12px 30px;box-shadow:0 4px 14px rgba(27,100,241,.08);}
#with .tit p{font-size:34px;font-weight:700;color:var(--cf-ink);margin-top:26px;letter-spacing:-.03em;}
#with .area{margin:60px -12px -24px;}
#with .area .box{padding:0 12px;margin-bottom:24px;}
#with .area .box .in{position:relative;height:210px;text-align:left;background:#fff;border:1px solid var(--cf-line);border-radius:20px;box-shadow:0 10px 24px rgba(27,100,241,.06);padding:26px 30px;box-sizing:border-box;transition:transform .25s ease,box-shadow .25s ease;}
#with .area .box .in:after{display:none;}
#with .area .box .in dl{display:flex;flex-direction:column-reverse;justify-content:flex-end;width:100%;height:100%;box-sizing:border-box;}
#with .area .box .in dl dt{visibility:visible;font-size:42px;color:var(--cf-ink);font-weight:800;height:auto;line-height:1.15;margin-top:16px;letter-spacing:-.02em;}
#with .area .box .in dl dd{margin:0;padding:0;border-top:none;font-size:16px;color:#3d4a5c;text-align:left;}
#with .area .box .in dl dd span{display:block;}
#with .area .box .in dl dd img{position:absolute;right:24px;bottom:20px;height:96px;margin:0;}
#with .area .box .in:hover{transform:translateY(-6px);box-shadow:0 16px 32px rgba(27,100,241,.14);}

/* ---------- 완료된 캠페인 ---------- */
#fin{background:#dff0fe url(../images/renewal/bg02.png) no-repeat 50% 50%;background-size:cover;padding:110px 10px 130px;position:relative;}
#fin:after{content:'';position:absolute;right:8%;bottom:-56px;width:120px;height:120px;background:url(../images/renewal/bg02_1.png) no-repeat 50% 50%;background-size:contain;z-index:5;pointer-events:none;}
#fin .tit h3{color:var(--cf-ink);font-weight:800;}
#fin .tit p{color:#41536e;}
#fin .area{margin-top:60px;}
#fin .area .box .img{border:none;border-radius:16px;overflow:hidden;box-shadow:0 12px 26px rgba(16,37,77,.12);}
#fin .area .box .img .ov{background:rgba(27,100,241,.55);}
#fin .area .box .info{display:flex;flex-direction:column-reverse;align-items:flex-start;margin-top:18px;}
#fin .area .box .info strong{font-size:17px;font-weight:700;color:var(--cf-navy);margin-top:10px;width:100%;}
#fin .area .box .info em{display:inline-block;background:var(--cf-blue);color:#fff;font-size:12px;font-style:normal;border-radius:6px;padding:4px 10px;margin-top:0;}
#fin .slick-arrow{background:#fff;border-radius:50%;box-shadow:0 6px 16px rgba(16,37,77,.15);}
#fin .slick-arrow:after{color:var(--cf-blue);}

/* ---------- 활동중인 크리에이티브포스 ---------- */
#active{background:#f6fbff url(../images/renewal/bg03.png) no-repeat 100% 50%;background-size:cover;padding:100px 10px 120px;}
#active .tit h3{color:var(--cf-ink);}
#active .tit p{color:#41536e;}
#active .area{margin-top:0;padding-top:80px;}
#active .area .box{padding:0 12px;}
#active .area .box .in{background:#fff;border-radius:20px;box-shadow:0 12px 26px rgba(16,37,77,.10);padding:80px 20px 26px;box-sizing:border-box;transition:background .3s ease,transform .25s ease;}
#active .area .box .img{position:absolute;left:50%;top:-58px;transform:translateX(-50%);width:120px;height:120px;border-radius:50%;overflow:hidden;border:5px solid #fff;background:#fff;box-shadow:0 8px 18px rgba(16,37,77,.15);}
#active .area .box .img img{width:100%;height:100%;object-fit:cover;display:block;}
#active .area .box .info{background:transparent !important;padding:8px 6px 0;text-align:center;}
#active .area .slick-slide:nth-child(even) .box .info{background:transparent !important;}
#active .area .box .info .subject{color:var(--cf-navy);font-weight:700;font-size:18px;}
#active .area .box .info .bot{margin-top:18px;text-align: left;  padding: 0 50px;}
#active .area .box .info .bot dl{color:#33415a;font-size:14px;padding:4px 0;}
#active .area .box .info .bot dl ~ dl{margin-top:8px;}
#active .area .box .info .bot dl dt{padding-left:0;}
#active .area .box .info .bot dl dt img{display:none;}
#active .area .box .info .bot dl dt span{display:inline-block;background:var(--cf-blue);color:#fff;border-radius:6px;padding:3px 9px;font-size:12px;}
#active .area .box .info .bot dl dd{color:var(--cf-navy);font-weight:700;top:7px;}
#active .area .box .in:hover{background:var(--cf-blue);transform:translateY(-6px);}
#active .area .box .in:hover .info .subject,
#active .area .box .in:hover .info .bot dl dd{color:#fff;}
#active .area .box .in:hover .info .bot dl dt span{background:rgba(255,255,255,.22);}
#active .area .box .ov{background:transparent;}
#active .area .box .ov em{display:none;}
#active .slick-dots li button{border-color:var(--cf-blue);}
#active .slick-dots .slick-active button{background:var(--cf-blue);}

/* ---------- 제작 콘텐츠 ---------- */
#mov{background:#eaf5ff url(../images/renewal/bg04.png) no-repeat 50% 0;background-size:cover;padding:110px 10px 120px;position:relative;}
#mov:before{content:'';position:absolute;left:6%;top:60px;width:96px;height:86px;background:url(../images/renewal/bg04_1.png) no-repeat;background-size:contain;pointer-events:none;}
#mov .tit h3{color:var(--cf-ink);}
#mov .tit p{color:#41536e;}
#mov .area .box .play a{border-radius:16px;box-shadow:0 12px 26px rgba(16,37,77,.12);}
#mov .area .box .info{display:flex;flex-direction:column-reverse;align-items:center;margin-top:18px;}
#mov .area .box .info strong{font-weight:700;color:var(--cf-navy);margin-top:8px;}
#mov .area .box .info em{display:inline-block;background:var(--cf-blue);color:#fff;font-style:normal;font-size:12px;border-radius:6px;padding:4px 10px;}
#mov .slick-dots li button{border-color:var(--cf-blue);}
#mov .slick-dots .slick-active button{background:var(--cf-blue);}

/* ---------- 공지사항 바 ---------- */
#notice{border:none;background:#fff;padding:28px 10px;}
#notice .inner{border:1px solid #e2eaf6;border-radius:999px;height:74px;padding:0 170px;box-shadow:0 8px 20px rgba(16,37,77,.06);}
#notice h3{left:26px;top:50%;transform:translateY(-50%);height:42px;line-height:40px;width:auto;padding:0 24px;border:1.5px solid var(--cf-ink);border-radius:999px;font-size:15px;font-weight:700;color:var(--cf-ink);box-sizing:border-box;}
#notice .area .box a{height:74px;line-height:74px;font-size:16px;color:#33415a;}
#notice .more{border-left:none;right:26px;top:50%;transform:translateY(-50%);}

/* ---------- 하단 4타일 ---------- */
#element{padding:0;background:#0d1526;}
#element .inner{max-width:none;}
#element .area{margin:0;display:flex;}
#element .area .box{padding:0;width:25%;position:relative;}
#element .area .box + .box{border-left:1px solid rgba(255,255,255,.08);}
#element .area .box a{height:400px;background:linear-gradient(165deg,#1b2a4a 0%,#0c1424 70%);transition:.3s;position:relative;}
#element .area .box a:after{display:none;}
#element .area .box a span{position:static;max-width:none;}
#element .area .box a span strong{position:absolute;left:40px;top:48px;right:36px;font-size:25px;line-height:1.35;color:#fff;font-weight:700;text-align:left;letter-spacing:-.02em;margin:0;}
#element .area .box a span em{position:absolute;left:40px;bottom:44px;}
#element .area .box a span em img{height:52px;filter:brightness(0) invert(1);opacity:.92;}
#element .area .box a:hover{background:var(--cf-blue);}

/* ---------- 반응형 ---------- */
@media (max-width:1000px){
  #with .tit p{font-size:22px;}
  #with .area .box{width:50%;}
  #with .area .box .in{height:170px;padding:20px 22px;}
  #with .area .box .in dl dt{font-size:28px;}
  #with .area .box .in dl dd img{height:64px;}
  #fin:after{display:none;}
  #active .area{padding-top:70px;}
  #element .area{flex-wrap:wrap;}
  #element .area .box{width:50%;margin:0;}
  #element .area .box a{height:220px;}
  #element .area .box a span strong{left:24px;top:24px;font-size:17px;}
  #element .area .box a span em{left:24px;bottom:24px;}
  #element .area .box a span em img{height:34px;}
  #notice .inner{padding:0 60px 0 130px;}
  #notice h3{left:12px;padding:0 16px;}
}

/* ---------- 하단 4타일: 사진 배경 + 딤 → 호버 시 파란 배경 ---------- */
#element .area .box a{background:none;background-size:cover;background-position:50% 50%;}
#element .area .box:nth-child(1) a{background-image:url(../images/renewal/tile-1.png);}
#element .area .box:nth-child(2) a{background-image:url(../images/renewal/tile-2.png);}
#element .area .box:nth-child(3) a{background-image:url(../images/renewal/tile-3.png);}
#element .area .box:nth-child(4) a{background-image:url(../images/renewal/tile-4.png);}
#element .area .box a:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(8,12,22,.45);transition:background .3s ease;}
#element .area .box a:hover{background-image:none;}
#element .area .box a:hover:before{background:var(--cf-blue);}
#element .area .box a span strong,
#element .area .box a span em{z-index:2;}

/* ---------- 하단 4타일 디테일 보강: 큰 글씨 + 아이콘 위치 + 호버 화살표 ---------- */
#element .area .box a span strong{font-size:30px;line-height:1.4;left:44px;top:52px;right:40px;}
#element .area .box a span em{left:auto;right:40px;bottom:40px;}
#element .area .box a span em img{height:56px;}
#element .area .box a:hover span em{left:44px;right:auto;}
#element .area .box a:after{content:'⟶';display:block;width:auto;height:auto;position:absolute;right:44px;bottom:36px;color:#fff;font-size:38px;font-weight:300;line-height:1;opacity:0;transform:translateX(-12px);transition:opacity .3s ease,transform .3s ease;z-index:2;}
#element .area .box a:hover:after{opacity:1;transform:translateX(0);}
@media (max-width:1000px){
  #element .area .box a span strong{font-size:19px;left:24px;top:24px;}
  #element .area .box a span em{right:24px;bottom:24px;}
  #element .area .box a span em img{height:36px;}
  #element .area .box a:hover span em{left:24px;}
  #element .area .box a:after{right:24px;bottom:22px;font-size:26px;}
}

/* ---------- 메인 배너 '캠페인 신청하기' 버튼 ---------- */
#vis{position:relative;}
.vis-apply{position:absolute;left:50%;bottom:24%;transform:translateX(-50%);z-index:30;display:inline-flex;align-items:center;gap:12px;background:#fff;color:#1554e6;font-size:18px;font-weight:700;padding:16px 40px;border-radius:999px;box-shadow:0 10px 26px rgba(16,37,77,.18);transition:transform .2s ease,box-shadow .2s ease;white-space:nowrap;}
.vis-apply em{font-style:normal;font-size:20px;line-height:1;transition:transform .2s ease;}
.vis-apply:hover{transform:translateX(-50%) translateY(-3px);box-shadow:0 14px 30px rgba(16,37,77,.26);}
.vis-apply:hover em{transform:translateX(4px);}
@media (max-width:1000px){
  .vis-apply{font-size:14px;padding:11px 24px;bottom:18%;}
  .vis-apply em{font-size:15px;}
}

/* ---------- 제작 콘텐츠: 화면 전체폭 슬라이드 (양옆 잘린 카드) ---------- */
#mov .inner{max-width:none;overflow:hidden;}
#mov .inner .tit{max-width:1200px;margin:0 auto;}
#mov .area{margin:60px 0 0;}
#mov .area .box{padding:0 14px;}
@media (max-width:1000px){
  #mov .inner .tit{max-width:none;}
  #mov .area{margin:20px -10px 0;}
  #mov .area .box{padding:0 10px;}
}

/* ---------- 헤더 검색창: 투명 배경 + 흰 테두리 (시안) ---------- */
#header .head .search{padding-right:0;}
#header .head .search input[type='text']{background:transparent;border:1px solid rgba(255,255,255,.7);border-radius:10px;height:40px;color:#fff;padding:0 46px 0 18px;width:260px;box-sizing:border-box;}
#header .head .search input[type='text']::placeholder{color:rgba(255,255,255,.85);}
#header .head .search input[type='text']:focus{outline:none;border-color:#fff;background:rgba(255,255,255,.08);}
#header .head .search button{right:2px;top:0;width:42px;height:40px;background:transparent;color:#fff;border:none;font-size:16px;border-radius:0;}

/* ---------- 통계 카드: 박스 축소 + 아이콘이 카드에 걸치게 ---------- */
#with .area .box .in{height:172px;padding:22px 26px;overflow:visible;}
#with .area .box .in dl dt{font-size:36px;margin-top:10px;}
#with .area .box .in dl dd{font-size:15px;}
#with .area .box .in dl dd img{height:118px;right:-16px;bottom:-16px;filter:drop-shadow(0 10px 18px rgba(27,100,241,.18));}
@media (max-width:1000px){
  #with .area .box .in{height:150px;padding:18px 20px;}
  #with .area .box .in dl dt{font-size:26px;}
  #with .area .box .in dl dd img{height:80px;right:-10px;bottom:-10px;}
}

/* ---------- 통계 카드 2차 조정: 더 낮은 박스 + 넓은 간격 + 큰 아이콘 ---------- */
#with .area{margin:56px -20px -32px;}
#with .area .box{padding:0 20px;margin-bottom:32px;}
#with .area .box .in{height:200px;padding:20px 24px;}
#with .area .box .in dl dt{font-size:32px;margin-top:8px;}
#with .area .box .in dl dd{font-size:14px;}
#with .area .box .in dl dd img{height:132px;right:-25px;bottom:-44px;}
@media (max-width:1000px){
  #with .area{margin:30px -8px -16px;}
  #with .area .box{padding:0 8px;margin-bottom:16px;}
  #with .area .box .in{height:120px;}
  #with .area .box .in dl dd img{height:84px;}
}

/* ---------- 완료된 캠페인 카드: 호버 시 떠오르는 효과 ---------- */
#fin .area .box a{transition:transform .35s cubic-bezier(.22,.68,.35,1.15);}
#fin .area .box a:hover{transform:translateY(-12px);}
#fin .area .box .img{transition:box-shadow .35s ease;}
#fin .area .box a:hover .img{box-shadow:0 26px 44px rgba(16,37,77,.28);}
#fin .area .box .img img{transition:transform .5s ease;display:block;}
#fin .area .box a:hover .img img{transform:scale(1.06);}
#fin .area .box a:hover .info strong{color:var(--cf-blue);}
#fin .area .box .info strong{transition:color .25s ease;}

/* ---------- 파란 배너(CREATIVE FORCE)일 때 신청 버튼: 반투명 스타일 ---------- */
#vis:has(.slide-blue.swiper-slide-active) .vis-apply,
#vis:has(.slide-blue.swiper-slide-duplicate-active) .vis-apply{
  background:rgba(255,255,255,.16);
  border:1.5px solid rgba(255,255,255,.85);
  color:#fff;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}

/* ---------- 활동중인 크리에이티브포스: 풀폭 슬라이드 + 파스텔 쉐도우 + 호버 뱃지 반전 ---------- */
#active .inner{max-width:none;overflow:hidden;}
#active .inner .tit{max-width:1200px;margin:0 auto;}
#active .area{margin-top:0;}
/* 카드: With 카드처럼 연한 파란 테두리 + 파스텔 블루 쉐도우 */
#active .area .box .in{border:1px solid var(--cf-line);box-shadow:0 14px 30px rgba(27,100,241,.13);}
#active .area .box .in:hover{box-shadow:0 18px 36px rgba(27,100,241,.25);}
/* 호버 시: 뱃지 흰 배경 + 파란 글자 */
#active .area .box .in:hover .info .bot dl dt span{background:#fff;color:var(--cf-blue);}
@media (max-width:1000px){
  #active .inner .tit{max-width:none;}
}

/* ---------- 활동중인: 그림자/아바타 잘림 해제 (밑줄처럼 보이는 현상 수정) ---------- */
#active .area{padding-top:0;overflow:visible;}
#active .roll .slick-list{overflow:visible;padding-top:80px !important;padding-bottom:60px !important;}
#active .slick-dots{margin-top:10px;}
