@charset "utf-8";

:root{
  --gz-coral:#f26c55;
  --gz-ink:#272321;
  --gz-muted:#807873;
  --gz-line:#eadfd9;
  --gz-ivory:#faf7f4;
}

#kboard-before-after-plus-list,
#kboard-before-after-plus-editor,
#kboard-before-after-plus-document,
#kboard-before-after-plus-list *,
#kboard-before-after-plus-editor *,
#kboard-before-after-plus-document *{
  box-sizing:border-box;
}

#kboard-before-after-plus-list,
#kboard-before-after-plus-editor,
#kboard-before-after-plus-document{
  width:100%;
  color:var(--gz-ink);
  font-family:"Pretendard",sans-serif;
}

#kboard-before-after-plus-list a,
#kboard-before-after-plus-editor a,
#kboard-before-after-plus-document a{
  color:inherit;
  text-decoration:none!important;
}

/* 목록 상단 */
.gz-alley-list__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  margin-bottom:38px;
  padding-bottom:20px;
  border-bottom:1px solid var(--gz-line);
}

.gz-alley-list__category{flex:1;min-width:0}
.gz-alley-list .kboard-category.category-pc ul{display:flex;gap:10px;margin:0;padding:0;list-style:none}
.gz-alley-list .kboard-category.category-pc li{margin:0;padding:0}
.gz-alley-list .kboard-category.category-pc a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  height:44px;
  padding:0 22px;
  border:1px solid var(--gz-line);
  border-radius:999px;
  background:#fff;
  font-size:14px;
  font-weight:600;
}
.gz-alley-list .kboard-category.category-pc li.kboard-category-selected a,
.gz-alley-list .kboard-category.category-pc a:hover{
  border-color:var(--gz-coral);
  background:var(--gz-coral);
  color:#fff;
}
.gz-alley-list .kboard-category.category-mobile{display:none}
.gz-alley-write{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 22px;
  border-radius:999px;
  background:var(--gz-coral);
  color:#fff!important;
  font-size:14px;
  font-weight:700;
}

/* 프로젝트 카드 */
.gz-alley-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}
.gz-alley-card{
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  border:1px solid var(--gz-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(45,37,32,.08);
  transition:transform .25s ease,box-shadow .25s ease;
}
.gz-alley-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 42px rgba(45,37,32,.14);
}
.gz-alley-card>a{display:block}
.gz-alley-card__compare{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:16/9;background:#eee}
.gz-alley-card__image{position:relative;min-width:0;overflow:hidden}
.gz-alley-card__image+ .gz-alley-card__image{border-left:2px solid #fff}
.gz-alley-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.gz-alley-card:hover .gz-alley-card__image img{transform:scale(1.04)}
.gz-alley-card__image span{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(20,18,17,.72);
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
}
.gz-alley-card__image:last-child span{background:var(--gz-coral)}
.gz-alley-card__body{min-height:140px;padding:24px}
.gz-alley-card__meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.gz-alley-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  background:#fff0ec;
  color:var(--gz-coral);
  font-size:12px;
  font-weight:700;
}
.gz-alley-card.is-complete .gz-alley-status{background:#eeeae7;color:#6f6863}
.gz-alley-card__meta time{color:#99918b;font-size:12px}
.gz-alley-card__body h3{margin:0;color:var(--gz-ink);font-size:20px;font-weight:700;line-height:1.45;letter-spacing:-.04em;word-break:keep-all}
.gz-alley-card__body p{margin:14px 0 0;color:var(--gz-muted);font-size:13px;line-height:1.65}

/* 페이징과 검색 */
.gz-alley-list .kboard-pagination{margin:48px 0 30px;text-align:center}
.gz-alley-list .kboard-pagination-pages{display:flex;align-items:center;justify-content:center;gap:5px;margin:0;padding:0;list-style:none}
.gz-alley-list .kboard-pagination-pages li{margin:0;padding:0}
.gz-alley-list .kboard-pagination-pages a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 7px;
  border-radius:50%;
  color:#8a827d;
  font-size:13px;
}
.gz-alley-list .kboard-pagination-pages li.active a,
.gz-alley-list .kboard-pagination-pages a:hover{background:var(--gz-coral);color:#fff}
.gz-alley-search form{display:flex;justify-content:center;max-width:520px;margin:0 auto}
.gz-alley-search select,
.gz-alley-search input{
  height:44px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid var(--gz-line)!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  font-family:inherit!important;
}
.gz-alley-search select{width:110px;border-radius:999px 0 0 999px!important}
.gz-alley-search input{flex:1;min-width:0;border-left:0!important}
.gz-alley-search button{
  width:82px;
  border:0;
  border-radius:0 999px 999px 0;
  background:var(--gz-coral);
  color:#fff;
  font-family:inherit;
  font-weight:700;
}

/* 상세페이지 */
.gz-alley-document{max-width:1280px;margin:0 auto}
.gz-alley-document__header{
  position:relative;
  padding:70px 0 48px;
  border-bottom:1px solid var(--gz-line);
}
.gz-alley-document__eyebrow,.gz-alley-section-label{
  margin:0 0 18px;
  color:var(--gz-coral);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
}
.gz-alley-document__header .gz-alley-status{position:absolute;right:0;top:72px}
.gz-alley-document__header h1{max-width:900px;margin:0;color:var(--gz-ink);font-size:clamp(36px,4vw,56px);font-weight:700;line-height:1.25;letter-spacing:-.055em;word-break:keep-all}
.gz-alley-document__header time{display:block;margin-top:22px;color:#948c86;font-size:13px}
.gz-alley-document__content{padding:60px 0;border-bottom:1px solid var(--gz-line)}
.gz-alley-document__content .content-view{color:#625c58;font-size:16px;line-height:1.9;word-break:keep-all}
.gz-alley-document__content .content-view img{max-width:100%;height:auto}
.gz-alley-comparisons{padding:70px 0}
.gz-alley-comparisons__heading{margin-bottom:45px}
.gz-alley-comparisons__heading h2{margin:0;font-size:36px;line-height:1.3;letter-spacing:-.045em}
.gz-alley-pair{margin-top:58px}
.gz-alley-pair:first-of-type{margin-top:0}
.gz-alley-pair__title{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.gz-alley-pair__title span{color:var(--gz-coral);font-size:13px;font-weight:700}
.gz-alley-pair__title h3{margin:0;font-size:20px}
.gz-alley-pair__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.gz-alley-pair figure{position:relative;margin:0;overflow:hidden;border-radius:18px;background:#eee;aspect-ratio:4/3}
.gz-alley-pair img{display:block;width:100%;height:100%;object-fit:cover}
.gz-alley-pair figcaption{
  position:absolute;
  left:18px;
  bottom:18px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(20,18,17,.76);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}
.gz-alley-pair figure:last-child figcaption{background:var(--gz-coral)}
.gz-alley-attach{display:flex;gap:10px;padding:25px 0;border-top:1px solid var(--gz-line)}
.gz-alley-attach a{padding:9px 14px;border:1px solid var(--gz-line);border-radius:999px;font-size:12px}
.gz-alley-document__nav{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:28px 0;border-top:1px solid var(--gz-line);border-bottom:1px solid var(--gz-line)}
.gz-alley-document__nav>div:last-child{text-align:right}
.gz-alley-document__nav a{font-size:14px;font-weight:600}
.gz-alley-document__nav span{display:block;margin-bottom:8px;color:#9b938d;font-size:11px;font-weight:500}
.gz-alley-controls{display:flex;align-items:center;justify-content:space-between;padding:28px 0 70px}
.gz-alley-controls>div{display:flex;gap:8px}
.gz-alley-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-width:94px;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.gz-alley-button.outline{border:1px solid var(--gz-coral);background:#fff;color:var(--gz-coral)!important}
.gz-alley-button.fill{border:1px solid var(--gz-coral);background:var(--gz-coral);color:#fff!important}

/* 글쓰기 */
.gz-alley-editor{max-width:1080px;margin:40px auto 80px}
.gz-alley-editor__header{margin-bottom:30px;padding:38px 40px;border:1px solid var(--gz-line);border-radius:18px;background:var(--gz-ivory)}
.gz-alley-editor__header p{margin:0 0 13px;color:var(--gz-coral);font-size:12px;font-weight:700;letter-spacing:.14em}
.gz-alley-editor__header h2{margin:0 0 12px;font-size:30px;letter-spacing:-.04em}
.gz-alley-editor__header span{color:var(--gz-muted);font-size:14px}
.gz-alley-editor__fields{padding:12px 34px 28px;border:1px solid var(--gz-line);border-radius:18px;background:#fff}
.gz-alley-editor .kboard-attr-row{display:grid!important;grid-template-columns:150px 1fr;align-items:start;float:none!important;width:100%!important;padding:18px 0!important;border-bottom:1px solid #f0e8e3;background:#fff!important}
.gz-alley-editor .kboard-attr-row:last-child{border-bottom:0}
.gz-alley-editor .attr-name{float:none!important;width:auto!important;padding:6px 20px 0 0!important;color:var(--gz-ink)!important;font-size:14px!important;font-weight:700!important}
.gz-alley-editor .attr-value{margin:0!important;line-height:1.6!important}
.gz-alley-editor input[type=text],
.gz-alley-editor input[type=email],
.gz-alley-editor input[type=password],
.gz-alley-editor input[type=date],
.gz-alley-editor input[type=number],
.gz-alley-editor select{
  width:100%!important;
  height:44px!important;
  padding:0 13px!important;
  border:1px solid var(--gz-line)!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  font-family:inherit!important;
}
.gz-alley-editor input[type=file]{width:100%!important;padding:8px 0!important}
.gz-alley-editor .description{margin-top:7px!important;color:#978f89!important;font-size:12px!important}
.gz-alley-editor .kboard-content{float:none!important;width:100%!important;padding:18px 0!important}
.gz-alley-editor__control{display:flex;align-items:center;justify-content:space-between;padding-top:25px}

@media(max-width:1024px){
  .gz-alley-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gz-alley-document{padding:0 30px}
}

@media(max-width:767px){
  .gz-alley-list__top{align-items:flex-start;margin-bottom:28px}
  .gz-alley-list .kboard-category.category-pc{display:none}
  .gz-alley-list .kboard-category.category-mobile{display:block}
  .gz-alley-list .kboard-category.category-mobile select{width:100%;height:42px;border:1px solid var(--gz-line);border-radius:999px;padding:0 15px}
  .gz-alley-write{height:42px;padding:0 16px;font-size:13px;white-space:nowrap}
  .gz-alley-grid{grid-template-columns:1fr;gap:20px}
  .gz-alley-card:hover{transform:none}
  .gz-alley-card__body{min-height:auto;padding:20px}
  .gz-alley-card__body h3{font-size:18px}
  .gz-alley-search select{width:88px}
  .gz-alley-search button{width:68px}
  .gz-alley-document{padding:0 20px}
  .gz-alley-document__header{padding:48px 0 35px}
  .gz-alley-document__header .gz-alley-status{position:static;margin-bottom:18px}
  .gz-alley-document__header h1{font-size:32px}
  .gz-alley-document__content{padding:42px 0}
  .gz-alley-document__content .content-view{font-size:15px;line-height:1.8}
  .gz-alley-comparisons{padding:50px 0}
  .gz-alley-comparisons__heading h2{font-size:28px}
  .gz-alley-pair{margin-top:42px}
  .gz-alley-pair__grid{grid-template-columns:1fr;gap:12px}
  .gz-alley-pair figure{aspect-ratio:4/3;border-radius:14px}
  .gz-alley-document__nav{grid-template-columns:1fr;gap:18px}
  .gz-alley-document__nav>div:last-child{text-align:left}
  .gz-alley-controls{align-items:flex-start;gap:15px}
  .gz-alley-editor{margin:25px auto 60px}
  .gz-alley-editor__header{padding:28px 22px}
  .gz-alley-editor__fields{padding:8px 20px 22px}
  .gz-alley-editor .kboard-attr-row{grid-template-columns:1fr;padding:15px 0!important}
  .gz-alley-editor .attr-name{padding:0 0 8px!important}
}

/* 선택된 카테고리 글자색 */
#kboard-before-after-plus-list
.kboard-category.category-pc
li.kboard-category-selected a {
    color: #ffffff !important;
}

/* 선택된 페이지 번호 글자색 */
#kboard-before-after-plus-list
.kboard-pagination
.kboard-pagination-pages
li.active a {
    color: #ffffff !important;
}

/* 프로젝트 등록 버튼 글자색 */
#kboard-before-after-plus-list .gz-alley-write {
    color: #ffffff !important;
}

/* 카테고리 탭 호버 글자색 */
#kboard-before-after-plus-list
.kboard-category.category-pc
ul li a:hover,
#kboard-before-after-plus-list
.kboard-category.category-pc
ul li a:focus {
    color: #ffffff !important;
}

/* 내용이 없는 첨부파일 영역 숨김 */
.gz-alley-attach:not(:has(a)) {
    display: none;
}

/* 이전·다음 프로젝트가 없을 때 빈 네비게이션 숨김 */
.gz-alley-document__nav:not(:has(a)) {
    display: none;
}