@charset "UTF-8";

/*
 * 회원 유도 게이트 오버레이 — CI3 `resource/common/css/membership/none_login_user.css` 이식.
 *
 * ★ **공용 한 벌**. CI3 원본이 파일 하나(`membership/none_login_user.css`)이고
 *   그 오버레이 조각이 스스로 `<link>` 로 끌어온다 — 즉 이 오버레이를
 *   쓰는 화면은 어디서든 **같은 규칙 한 벌**을 본다.
 *   폴더가 `community/` 가 아니라 `membership/` 인 이유도 그것 — 커뮤니티만의 것이 아니다
 *   (CI3 는 학습지원센터 화면도 같은 조각을 include 한다).
 *
 * 소비: 커뮤니티 자료실 · 입찰교육 무료강의·자료실 ·
 *       입찰실무 6화면(투찰률·세부기준·적격심사·공동도급 실적·한도·예정가).
 *
 * ## 원문 대비 정정 4건 (우리 사본이 원문보다 좁았다)
 * 1. `font-family` 3자리 — 원문 `:4`(`div` = Pretendard) · `:45`(`.title` = Gmarket Sans) ·
 *    `:99`(`button` = Gmarket Sans). CI3 는 전역 head 가 두 웹폰트를
 *    적재하므로 실제로 그 서체로 뜬다. 우리는 **원문이 받는 파일의 바이트 사본**으로 `@font-face` 를 세운다 —
 *    Gmarket = `/fonts/gmarket-cdn`(script.gmarket.com 원본) · Pretendard = `/fonts/pretendard-static`(원문 정적 판)
 *    ⚠ 다른 판(`PretendardVariable` 등)은 같은 크기·굵기라도 획이 다르게 그려진다.
 * 2. `button { padding: 0 }` — 원문에는 이 선언이 없지만 CI3 `reset.css:4` 가
 *    `button{margin:0;padding:0;border:0}` 을 전역으로 준다. 우리 `layout.css` 는 그 줄을 이식하지
 *    않아 UA 기본 `padding:1px 6px` 가 남았고, `* {box-sizing:border-box}` 와 겹쳐 버튼 안 `<a>` 가
 *    **248×52** 로 줄어 있었다(CI3 260×54).
 *    **게이트 버튼에서만** 되돌린다.
 * 3. `.helper_txt a:hover { color: initial }` — 원문 `:133~135`. 세 사본 모두 빠져 있었다.
 * 4. `.content_gate.no_login` 3규칙 — 원문 `:153~161`. 커뮤니티 두 사본에만 빠져 있어
 *    **재방문(로그인 유도) 갈래의 세로 여백이 가입 유도와 같아져 있었다**.
 *
 * ## 원문에 없는데 우리가 두는 2줄 (유지)
 * `border: 0`·`cursor: pointer` — CI3 는 reset(`:4`·`:19`)이 전역으로 주는 것이라 원문 파일에 없다.
 * 그 전역 reset 이 우리에겐 없으므로 여기서 채운다(정정 2번과 같은 사유).
 *
 * 색(보라 `#3d00c7`·그라데이션)은 멤버십 유도 고정색이다 — 브랜드 토큰(`--brand-*`)이 아니라
 * CI3 가 양 사이트에 같은 값을 쓴다(CI3 가 사이트별로 실제 덮은 자리에만 토큰을 쓴다).
 */

/* ── 웹폰트 — CI3 전역 head 가 주던 것을 자체 호스팅분으로 ──────── */
/* 원문 font_gmarket_sans.css · font_Pretendard.css 중 게이트가 쓰는 굵기만(제목 600→700 · 버튼 400→500 · 본문 400 · 혜택 700) · .woff 폴백 줄 뺌 */
@font-face { font-family: 'Gmarket Sans'; font-style: normal; font-weight: 500; src: url('/fonts/gmarket-cdn/GmarketSansMedium.woff2') format('woff2'); }
@font-face { font-family: 'Gmarket Sans'; font-style: normal; font-weight: 700; src: url('/fonts/gmarket-cdn/GmarketSansBold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('/fonts/pretendard-static/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('/fonts/pretendard-static/Pretendard-Bold.woff2') format('woff2'); }

/* ── 본문 크롭 — CI3 원문 인라인 스타일 ──
 * 240px 를 넘는 내용은 잘리고 그 위를 게이트가 덮는다. **높이는 게이트의 겹침 마진(-180px)과 짝**이라
 * 한쪽만 바꾸면 오버레이 위치가 어긋난다 — 그래서 마진을 넘기는 파샬과 같은 파일에 둔다.
 * 자료실 네 화면(⑦⑧⑩⑪)이 같은 갈래를 타므로 값도 하나다. */
.gate-crop { display: block; overflow: hidden; width: 100%; height: 240px; }

/* ── 오버레이 — CI3 `none_login_user.css:3~161` ──────────────────────────── */
/* `:3~5` — 게이트 안 텍스트 서체(제목·버튼은 아래에서 다시 덮는다) */
.content_gate div { font-family: 'Pretendard'; }

.content_gate { position: relative; width: 100%; z-index: 2; }                                                       /* `:7~11` */
.content_gate .fade_top { position: absolute; top: -60px; left: 0; right: 0; height: 60px; background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%); }  /* `:13~20` */
.content_gate .gate_content { min-height: 526px; padding: 40px 0; background: #fff; box-sizing: border-box; }        /* `:22~27` */
.content_gate .gate_content .inner { width: 880px; margin: 0 auto; }                                                 /* `:28~31` */

.content_gate .gate_content .title_wrap { padding-bottom: 24px; text-align: center; }                                /* `:33~36` */
.content_gate .gate_content .sub_title { padding-bottom: 8px; font-style: italic; font-size: 18px; }                 /* `:38~42` */
.content_gate .gate_content .title { position: relative; font-family: 'Gmarket Sans'; font-size: 26px; font-weight: 600; }  /* `:43~48` */
.content_gate .gate_content .title span { color: #3d00c7; }                                                          /* `:50~52` */
.content_gate .gate_content .title span.italic { font-style: italic; color: #202020; }                               /* `:53~56` */

.content_gate .gate_content .benefit_wrap { display: flex; justify-content: center; margin-bottom: 14px; }           /* `:58~62` */
.content_gate .gate_content .benefit_wrap .benefit { display: flex; align-items: center; justify-content: center; margin-right: 14px; width: 250px; height: 80px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; text-align: center; background: #f9f7fe; border-radius: 5px; }  /* `:63~76` */
.content_gate .gate_content .benefit_wrap .benefit:last-child { margin-right: 0; }                                   /* `:77~79` */
.content_gate .gate_content .benefit_wrap .benefit img { padding-right: 14px; }                                      /* `:81~83` */
.content_gate .gate_content .benefit_wrap .benefit p { line-height: 18px; }                                          /* `:85~87` */
.content_gate .gate_content .benefit_wrap .benefit span { display: inline-block; font-size: 13px; }                  /* `:89~92` */

/* `:94~105` + reset 보정(padding·border·cursor — 클래스 docblock '정정 2'·'원문에 없는 2줄') */
.content_gate .gate_content button { display: block; margin: 30px auto 16px; padding: 0; width: 260px; height: 54px; border: 0; cursor: pointer; font-family: 'Gmarket Sans'; font-size: 20px; background: linear-gradient(270deg, #2856ff, #3800b8, #2856ff); background-size: 300% 300%; animation: gate-bg-move 4s ease infinite; border-radius: 27px; }
.content_gate .gate_content button a { display: block; width: 100%; height: 100%; line-height: 57px; color: #fff; }  /* `:106~112` */
.content_gate .gate_content button a:hover { color: #fffd43; }                                                       /* `:113~115` */

/* `:117~127` — 이름만 갈았다(원문 `bgMove` 는 전역 이름으로 너무 흔하다) */
@keyframes gate-bg-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.content_gate .gate_content .helper_txt { text-align: center; font-size: 16px; }                                     /* `:129~132` */
.content_gate .gate_content .helper_txt a:hover { color: initial; }                                                  /* `:133~135` (정정 3) */
.content_gate .gate_content .helper_txt span { color: #3267e9; text-decoration: underline; }                         /* `:136~139` */

/* 비회원(가입 유도) — 제목 장식 점 `:141~150` */
.content_gate.non_member .gate_content .title::after { content: ''; position: absolute; top: -6px; left: 171px; width: 50px; height: 4px; background: url(/images/shared/membership/title_dot.png) no-repeat; }

/* 로그아웃 회원(로그인 유도) `:152~161` — 커뮤니티 사본에 없던 3규칙(정정 4) */
.content_gate.no_login .gate_content { padding: 80px 0; }
.content_gate.no_login .gate_content .title_wrap { padding-bottom: 0; }
.content_gate.no_login .title_wrap img { padding-bottom: 16px; }
