
/*****************************************
포트폴리오
******************************************/
.pf-page { padding: 36px 0 90px; color: #fff; } 

.pf-title { margin: 0 0 18px; font-size: 62px; font-weight: 900; letter-spacing: -0.06em; color: #ff2b2b; /* 레퍼런스처럼 레드 타이틀 */}
.pf-list-wrap {  margin: 16px} 
.pf-grid { list-style:none; margin: 0; padding: 0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } 

.pf-item { /* min-height: 340px;  */  aspect-ratio: 1 / 1;} 

/* card */
.pf-card { position: relative; display:block; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 60px rgba(0,0,0,.35); text-decoration:none; transform: translateZ(0); } 

.pf-media { position:absolute; inset:0; transform: translateZ(0); transition: transform .7s cubic-bezier(0.22, 1, 0.36, 1); } 
.pf-media img { width:100%; height:100%; object-fit: cover; display:block; transform: scale(1.02); } 

/* 오버레이 */
.pf-overlay { position:absolute; inset:0; /* background:
 radial-gradient(900px 420px at 40% 55%, rgba(0,0,0,.10), rgba(0,0,0,.62)),
 linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.58));  */opacity: .0; transition: opacity .45s ease; } 

/* 텍스트 */
.pf-meta { position:absolute; left: 30px; right: 18px; bottom: 30px; z-index: 2; transform: translateY(10px); opacity: 0; transition: opacity .45s ease, transform .45s ease; } 
.pf-top { margin:0 0 10px; font-size: 18px; font-weight: 800; color: rgba(255,255,255,.88); } 
.pf-name { margin:0; font-size: 36px; font-weight: 900; letter-spacing: -0.03em; color:#fff; } 

/* 원형 변형  */
@supports (clip-path: circle(40% at 50% 50%)){
 .pf-media { clip-path: circle(140% at 50% 50%); /* 기본: 전체 */
 transition: clip-path .7s cubic-bezier(0.22, 1, 0.36, 1), transform .7s cubic-bezier(0.22, 1, 0.36, 1); } 
 .pf-card:hover .pf-media { clip-path: circle(48% at 70% 50%); /*호버 시 원형 */
 transform: scale(1.02); } 
 }

/* hover effects */
.pf-card:hover .pf-overlay { opacity: 1; } 
.pf-card:hover .pf-meta { opacity: 1; transform: translateY(0); } 
.pf-card:hover { border-color: rgba(255,255,255,.16); } 

/* 페이징 */
.pf-pagination { width: min(1320px, calc(100% - 56px)); margin: 28px auto 0; display:flex; justify-content:center; align-items:center; gap: 8px; flex-wrap: wrap; } 
.pf-page-btn,
.pf-page-num { height: 44px; padding: 0 14px; display:inline-flex; align-items:center; justify-content:center; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: rgba(255,255,255,.86); text-decoration:none; font-weight: 900; transition: transform .2s ease, filter .2s ease, background .2s ease; } 
.pf-page-btn:hover,
.pf-page-num:hover { transform: translateY(-2px); filter: brightness(1.02); } 
.pf-page-num.is-active { background: linear-gradient(90deg, #fe21a4, #ff6a1a); border-color: rgba(255,255,255,.22); color:#fff; } 
.pf-page-btn.is-disabled { opacity: .45; pointer-events:none; } 


@media screen and (max-width: 1024px){
 .pf-title { font-size: 52px; } 
 .pf-grid { grid-template-columns: repeat(2, 1fr); } 
/*  .pf-item { min-height: 320px; }  */
 .pf-input { width: 200px; } 
 }

@media screen and (max-width: 768px){
 .pf-hero-inner,
 .pf-list-wrap,
 .pf-pagination { width: calc(100% - 28px); } 
 .pf-title { font-size: 40px; } 
 .pf-grid { grid-template-columns: 1fr; } 
 .pf-item { min-height: 280px; } 
 .pf-name { font-size: 24px; } 
 .pf-input { width: 180px; } 
 }

/*  faq  */
.faq-page { position: relative; z-index: 1; min-height: 100vh; padding: 170px 0 120px; background: #fff; color: #172033; } 
.faq-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; } 

.faq-hero { margin-bottom: 26px; } 
.faq-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8a94a8; } 
.faq-title { margin: 0; font-size: 44px; line-height: 1.12; font-weight: 900; letter-spacing: -0.05em; color: #16233b; } 
.faq-desc { margin: 10px 0 0; max-width: 860px; font-size: 16px; line-height: 1.7; font-weight: 500; color: #66748c; } 

.faq-search-panel { margin-bottom: 22px; } 
.faq-search-form { display: flex; align-items: center; gap: 12px; } 
.faq-search-field { position: relative; flex: 1 1 auto; display: block; } 
.faq-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #8e99ad; font-size: 18px; } 
.faq-search-field input { width: 100%; height: 58px; padding: 0 24px 0 56px; border-radius: 6px; border: 1px solid #d6deeb; background: #fff; color: #172033; font-size: 16px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; } 
.faq-search-field input::placeholder { color: #99a3b5; } 
.faq-search-field input:focus { border-color: #2f6cf6; box-shadow: 0 0 0 4px rgba(47, 108, 246, 0.08); } 
.faq-search-btn { flex: 0 0 auto; height: 58px; padding: 0 24px; border-radius: 6px; background: #172033; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; transition: background .2s ease; } 
.faq-search-btn:hover { background: #2f6cf6; } 

.faq-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; } 
.faq-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 16px; border: 1px solid #dbe2ec; background: #fff; color: #7a8598; font-size: 13px; font-weight: 700; white-space: nowrap; transition: border-color .2s ease, color .2s ease, background .2s ease; } 
.faq-tab:hover { border-color: #aebbd0; color: #172033; } 
.faq-tab.is-active { border-color: #172033; background: #172033; color: #fff; } 

.faq-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; color: #7b86a0; font-size: 14px; font-weight: 600; } 
.faq-summary strong { color: #2f6cf6; font-weight: 900; } 

.faq-list { display: flex; flex-direction: column; gap: 14px; } 
.faq-item { border-radius: 24px; border: 1px solid #dbe2ec; background: #fff; box-shadow: 0 18px 40px rgba(21, 33, 58, 0.06); overflow: hidden; } 
.faq-item[open] { border-color: #c8d6ee; box-shadow: 0 24px 48px rgba(21, 33, 58, 0.1); } 

.faq-question { list-style: none; display: flex; align-items: flex-start; gap: 18px; padding: 24px 28px; cursor: pointer; } 
.faq-question::-webkit-details-marker { display: none; } 
.faq-question-symbol,
.faq-answer-symbol { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; letter-spacing: -0.03em; } 
.faq-question-symbol { background: #172033; color: #fff; box-shadow: 0 12px 24px rgba(23, 32, 51, 0.14); } 
.faq-answer-symbol { background: #eaf1ff; color: #2f6cf6; } 

.faq-question-body { flex: 1 1 auto; min-width: 0; } 
.faq-question-labels { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } 
.faq-question-category { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: #e8fff7; color: #0c8a6e; font-size: 13px; font-weight: 800; } 
.faq-question-category.is-notice { background: #172033; color: #fff; } 
.faq-question-title { display: block; margin-top: 12px; font-size: 22px; line-height: 1.5; font-weight: 800; letter-spacing: -0.03em; color: #172033; word-break: keep-all; } 

.faq-question-arrow { position: relative; flex: 0 0 auto; width: 42px; height: 42px; margin-left: 8px; border-radius: 14px; background: #f4f7fb; } 
.faq-question-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid #627089; border-bottom: 2px solid #627089; transform: translate(-50%, -65%) rotate(45deg); transition: transform .2s ease; } 
.faq-item[open] .faq-question-arrow::before { transform: translate(-50%, -35%) rotate(225deg); } 

.faq-answer { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 0 28px 28px 28px; } 
.faq-answer-content { padding: 22px 24px; border-radius: 18px; background: #f5f8fd; color: #465367; font-size: 16px; line-height: 1.85; font-weight: 500; word-break: keep-all; } 
.faq-inline-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } 
.faq-inline-file { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #dbe2ec; color: #172033; font-size: 14px; font-weight: 700; text-decoration: none; } 

.faq-board { border: 1px solid #e7ebf2;  overflow: hidden; } 
.faq-board-list { margin: 0; padding: 0; list-style: none; } 
.faq-board-item + .faq-board-item { border-top: 1px solid #e8edf4; } 
.faq-board-item.is-notice { background: #f7f9fc; } 
.faq-board-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; text-decoration: none; color: inherit; transition: background .2s ease; } 
.faq-board-link:hover { background: rgba(245, 245, 245, 0.5); } 
.faq-board-main { min-width: 0; flex: 1 1 auto; } 
.faq-board-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } 
.faq-board-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: #edf3ff; color: #4f607d; font-size: 12px; font-weight: 700; } 
.faq-board-badge.is-notice { /* background: #dffcf2; color: #0b9a72; */ background: #fcdfdf; color: #9a0b0b; } 
.faq-board-badge.is-file { background: #eef2f7; color: #76859b; } 
.faq-board-title { display: inline-block; flex: 1 1 auto; min-width: 0; color: #1a2740; font-size: 17px; line-height: 1.7; font-weight: 500; letter-spacing: -0.02em; word-break: keep-all; } 
.faq-board-side { flex: 0 0 auto; padding-left: 16px; color: #8a96aa; font-size: 13px; font-weight: 600; white-space: nowrap; } 
.faq-board-date { display: inline-flex; align-items: center; } 

.faq-card-labels { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } 

.faq-view-page { /* background: linear-gradient(180deg, #f8fafc 0%, #eef3fb 100%); */ background: linear-gradient(180deg, #f8fafc 0%, #f4f7fc 100%); } 
.faq-view-head { margin-bottom: 28px; } 
.faq-back-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; margin-bottom: 18px; border-radius: 999px; background: #fff; border: 1px solid #dbe2ec; color: #172033; font-size: 14px; font-weight: 800; box-shadow: 0 12px 24px rgba(21, 33, 58, 0.06); text-decoration: none; } 
.faq-view-actions { display: flex; justify-content: center; margin-top: 30px; } 
.faq-view-actions .faq-back-link { margin-bottom: 0; } 
.faq-view-title { margin: 14px 0 0; font-size: 44px; line-height: 1.18; letter-spacing: -0.05em; color: #172033; } 
.faq-view-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; color: #718097; font-size: 15px; font-weight: 700; } 
.faq-view-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; } 
.faq-view-figure { margin: 0; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid #dbe2ec; box-shadow: 0 20px 44px rgba(21, 33, 58, 0.08); } 
.faq-view-figure img { width: 100%; display: block; } 
.faq-view-figure figcaption { padding: 14px 18px; color: #5f6d84; font-size: 14px; font-weight: 700; } 
.faq-view-content { padding: 32px; border-radius: 30px; background: #fff; border: 1px solid #dbe2ec; color: #39485e; font-size: 17px; line-height: 1.95; box-shadow: 0 20px 44px rgba(21, 33, 58, 0.08); word-break: keep-all; } 
.faq-view-files { margin-top: 24px; padding: 28px 32px; border-radius: 30px; background: #fff; border: 1px solid #dbe2ec; box-shadow: 0 20px 44px rgba(21, 33, 58, 0.08); } 
.faq-view-files h3 { margin: 0 0 16px; color: #172033; font-size: 22px; } 
.faq-view-file-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; } 
.faq-view-file-list a { display: inline-flex; align-items: center; color: #2f6cf6; font-size: 15px; font-weight: 700; text-decoration: none; } 

.faq-empty { padding: 70px 32px; border-radius: 28px; border: 1px dashed #cfd8e6; background: rgba(255, 255, 255, 0.75); text-align: center; box-shadow: 0 18px 36px rgba(21, 33, 58, 0.05); } 
.faq-empty strong { display: block; margin-bottom: 10px; font-size: 24px; font-weight: 900; color: #172033; } 
.faq-empty p { margin: 0; font-size: 16px; line-height: 1.7; color: #6c7990; } 
.faq-empty-link { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 52px; margin-top: 24px; padding: 0 22px; border-radius: 999px; background: #172033; color: #fff !important; font-size: 15px; font-weight: 800; box-shadow: 0 14px 28px rgba(23, 32, 51, 0.16); transition: transform .2s ease, background .2s ease; } 
.faq-empty-link:hover { transform: translateY(-2px); background: #2f6cf6; } 

.faq-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 42px; flex-wrap: wrap; } 
.faq-page-link { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid #dbe2ec; background: #fff; color: #6c7990; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease; } 
.faq-page-link:hover { transform: translateY(-2px); border-color: #b5c2d7; color: #172033; box-shadow: 0 12px 24px rgba(23, 32, 51, 0.08); } 
.faq-page-link.is-active { border-color: #2f6cf6; background: #2f6cf6; color: #fff; box-shadow: 0 14px 28px rgba(47, 108, 246, 0.24); } 
.faq-page-link.is-arrow { padding: 0 18px; } 

@media screen and (max-width: 1024px){
 .faq-page { padding: 150px 0 100px; } 
 .faq-shell { width: calc(100% - 40px); } 
 .faq-title { font-size: 38px; } 
 .faq-desc { font-size: 16px; } 
 .faq-view-gallery { grid-template-columns: 1fr; } 
 .faq-view-title { font-size: 36px; } 
 .faq-question-title { font-size: 20px; } 
}

@media screen and (max-width: 768px){
 .faq-page { padding: 126px 0 88px; } 
 .faq-shell { width: calc(100% - 28px); } 
 .faq-title { font-size: 34px; } 
 .faq-desc { font-size: 15px; } 
 .faq-search-form { flex-direction: column; align-items: stretch; } 
 .faq-search-field input,
 .faq-search-btn { height: 58px; } 
 .faq-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } 
 .faq-tab { flex: 0 0 auto; } 
 .faq-board-link { align-items: flex-start; padding: 16px 16px; } 
 .faq-board-line { gap: 8px; } 
 .faq-board-title { font-size: 16px; } 
 .faq-board-side { padding-left: 0; font-size: 12px; } 
 .faq-question { padding: 20px 18px; gap: 14px; } 
 .faq-question-symbol,
 .faq-answer-symbol { width: 38px; height: 38px; border-radius: 14px; font-size: 16px; } 
 .faq-question-title { margin-top: 10px; font-size: 18px; } 
 .faq-question-arrow { width: 36px; height: 36px; border-radius: 12px; } 
 .faq-answer { grid-template-columns: 38px 1fr; gap: 14px; padding: 0 18px 20px; } 
 .faq-answer-content { padding: 18px; font-size: 15px; } 
 .faq-view-title { font-size: 30px; } 
 .faq-view-content,
 .faq-view-files { padding: 22px 18px; } 
 .faq-empty { padding: 54px 20px; } 
 .faq-empty strong { font-size: 22px; } 
 }

@media screen and (max-width: 480px){
 .faq-title { font-size: 30px; } 
 .faq-summary { font-size: 14px; } 
 .faq-board-link { flex-direction: column; align-items: flex-start; gap: 10px; } 
 .faq-board-line { align-items: flex-start; } 
 .faq-board-side { white-space: normal; } 
 .faq-question { align-items: center; } 
 .faq-question-title { font-size: 17px; line-height: 1.6; } 
 .faq-question-arrow { margin-left: 0; } 
 .faq-page-link { min-width: 38px; height: 38px; padding: 0 12px; font-size: 14px; } 
 }
