/* ========== shared sketchy wireframe styles ========== */
:root{
  --ink:#1a1a1a;
  --paper:#ffffff;
  --line:#1a1a1a;
  --muted:#9a9a9a;
  --fill:#ececec;
  --accent:#ffd84d;
  --accent2:#a8e6a3;
  --accent3:#ffb3b3;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#fff;color:var(--ink);
  font-family:'Noto Sans KR','Inter',sans-serif;}
body{
  min-height:100vh;
}

/* breakpoint guide for designer */
/* 디자인봄 기준: 1400 / 1024 / 768 / 480 */
.bp-tag{display:none}

/* page wrapper — 풀 너비 */
.page{
  max-width:100%;margin:0 auto;background:var(--paper);
  min-height:100vh;
  position:relative;
  display:flex;flex-direction:column;
}
/* flex 컬럼 자식이 내용(넓은 표 등)·auto마진 때문에 화면 밖으로 늘어나지 않도록 — 모바일 잘림 방지 핵심 */
.page > *{min-width:0;width:100%;box-sizing:border-box}
.page > .site-footer,
.page > #site-footer{margin-top:auto}

/* ── Admin Bar (로그인 시 최상단 고정 바) ── */
#admin-bar{
  position:fixed;top:0;left:0;right:0;height:36px;
  background:#e6e6e6;z-index:2000;
  display:flex;align-items:center;
  padding:0 20px;
  font-family:'Noto Sans KR',sans-serif;font-size:12px;
}
#admin-bar .ab-user{
  color:#666;display:flex;align-items:center;gap:8px;margin-right:auto;
}
#admin-bar .ab-user strong{color:#444;font-weight:500}
#admin-bar .ab-grade{
  background:#d0d0d0;color:#666;padding:2px 7px;font-size:12px;border-radius:2px;white-space:nowrap;
}
@media(max-width:768px){#admin-bar .ab-grade{display:none}}
#admin-bar .ab-link{
  color:#555;text-decoration:none;height:36px;
  display:inline-flex;align-items:center;padding:0 14px;
  border-left:1px solid #d0d0d0;
  transition:color .15s,background .15s;white-space:nowrap;
}
#admin-bar .ab-link:hover{color:#111;background:#d8d8d8}
#admin-bar .ab-link.ab-admin{color:#c0392b}
#admin-bar .ab-link.ab-admin:hover{color:#e74c3c;background:#d8d8d8}
body.has-admin-bar .header{padding-top:74px}

/* ===== HEADER (centered) ===== */
.header{
  padding:28px 24px 16px;
  display:flex;flex-direction:column;align-items:center;gap:16px;
  border-bottom:0;
}
.logo-wrap{
  display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;
  text-decoration:none;color:inherit;
}
.logo-img{
  display:block;height:60px;width:auto;
}
@media (max-width:768px){
  .logo-img{height:48px}
}
@media (max-width:480px){
  .logo-img{height:36px}
}
.nav{
  display:flex;gap:28px;
  font-family:'Noto Sans KR',sans-serif;font-weight:500;font-size:16px;letter-spacing:-0.03em;
  color:#333;
}
.nav a{
  text-decoration:none;color:inherit;padding:6px 4px;
  transition:color .2s;
}
.nav a:hover,.nav a.on:hover{color:#aaa;}
.nav a.on{color:#1a1a1a;}

/* ===== 햄버거 버튼 ===== */
.nav-toggle{
  display:none;flex-direction:column;justify-content:space-between;
  width:26px;height:18px;background:none;border:none;cursor:pointer;padding:0;
  flex-shrink:0;
}
.nav-toggle span{
  display:block;width:100%;height:2px;background:var(--ink);
  transition:transform .25s,opacity .25s;
}
.nav-toggle.on span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle.on span:nth-child(2){opacity:0}
.nav-toggle.on span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ===== 모바일 풀스크린 네비 오버레이 ===== */
.mob-nav-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(26,26,26,.97);z-index:500;
  flex-direction:column;align-items:center;justify-content:center;
}
.mob-nav-overlay.on{display:flex}
.mob-nav-close{
  position:absolute;top:22px;right:22px;
  background:none;border:none;color:#fff;font-size:30px;
  cursor:pointer;line-height:1;padding:4px;
}
.mob-nav-menu{
  display:flex;flex-direction:column;align-items:center;gap:4px;
}
.mob-nav-menu a{
  font-family:'Inter',sans-serif;font-size:30px;font-weight:700;
  color:rgba(255,255,255,.35);text-decoration:none;
  letter-spacing:5px;padding:14px 0;
  transition:color .2s;
}
.mob-nav-menu a.on,
.mob-nav-menu a:hover{color:#fff}

/* 768px 이하: 로고 중앙 + 햄버거 우측 고정 */
@media (max-width:768px){
  .header{
    flex-direction:row;justify-content:center;align-items:center;
    padding:14px 20px;position:relative;
  }
  body.has-admin-bar .header{padding-top:46px}
  .nav{display:none}
  .nav-toggle{
    display:flex;position:absolute;right:20px;top:calc(50% + 10px);transform:translateY(-50%);
  }
}
@media (max-width:768px){
  .section{padding:12px 16px 80px}
  .board-grid{gap:8px;margin:0 auto;width:100%}
  .page{padding-bottom:0}
  .hero{margin-top:16px}
}

/* 360px 추가 대응 */
@media (max-width:480px){
  .header{padding:8px 16px 4px}
  .hero{margin-top:8px}
  .section{padding:6px 12px 0}
  .section-head{margin-bottom:6px;padding-bottom:4px}
}
@media (max-width:375px){
  .header{padding:8px 16px 6px}
  .logo-img{height:32px}
  .section{padding:8px 12px 0}
  .hero{height:30vh;min-height:160px}
  .footer-biz{min-width:0}
  .footer-inner{padding:14px}
  .quickmenu .qm-label{font-size:8px}
  .quickmenu .qm-circle{width:34px;height:34px}
}

/* ===== sub nav (PORTFOLIO subnav) ===== */
.subnav{
  border-bottom:0;
  padding:18px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
}
.chips{display:flex;gap:0px;flex-wrap:wrap}
.chip{
  border:0;padding:5px 14px;border-radius:2px;background:transparent;
  font-family:'Noto Sans KR',sans-serif;font-size:14px;font-weight:400;
  cursor:pointer;text-decoration:none;color:#999999;
  transition:color .15s;
}
.chip:hover{background:transparent;color:#1a1a1a}
.chip.on{background:transparent;color:#1a1a1a;}
.search{
  border:1.5px solid #cccccc;background:#f2f2f2;padding:6px 12px;border-radius:8px;
  display:flex;align-items:center;gap:8px;font-family:'Noto Sans KR',sans-serif;font-size:13px;color:#666;
}
.search input{
  border:0;outline:0;background:transparent;font-family:inherit;font-size:14px;width:160px;
}
.search input::placeholder{color:#cccccc;}
@media (max-width:480px){
  .search input{width:120px}
}

/* ===== placeholders ===== */
.ph{border:0;background:#fff;position:relative;overflow:hidden}
.ph::before,.ph::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top right,transparent calc(50% - .8px),#ccc calc(50% - .8px),#ccc calc(50% + .8px),transparent calc(50% + .8px));
}
.ph::after{
  background:linear-gradient(to top left,transparent calc(50% - .8px),#ccc calc(50% - .8px),#ccc calc(50% + .8px),transparent calc(50% + .8px));
}
.ph.fill{background:var(--fill)}
.ph.yel{background:var(--accent)}
.ph.grn{background:var(--accent2)}
.ph.pnk{background:var(--accent3)}

/* ===== HERO ===== */
.hero{
  padding:0;margin-top:30px;position:relative;overflow:hidden;
  height:calc(50vh - 150px);min-height:150px;
  display:flex;align-items:center;justify-content:center;
  border-bottom:0;

  /* 가상 배경: 깊이감 있는 다크 그라디언트 + 사선 패턴 */
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 40px
    ),
    linear-gradient(135deg,
      #1a1a2e 0%,
      #16213e 35%,
      #0f3460 65%,
      #1a1a2e 100%
    );
}

/* 왼쪽 강조 포인트 */
.hero::before{
  content:"";position:absolute;
  left:-10%;top:-20%;
  width:55%;height:140%;
  background:radial-gradient(ellipse at center,rgba(255,184,0,.18) 0%,transparent 70%);
  pointer-events:none;
}
/* 오른쪽 포인트 */
.hero::after{
  content:"";position:absolute;
  right:-5%;bottom:-20%;
  width:40%;height:120%;
  background:radial-gradient(ellipse at center,rgba(80,160,255,.15) 0%,transparent 70%);
  pointer-events:none;
}

/* 비주얼 텍스트 레이블 */
.hero-img{
  position:relative;z-index:2;
  width:auto;height:auto;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
  background:none;border:none;
}
.hero-img .lbl{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(6px);
  padding:14px 32px;
  font-family:'Noto Sans KR',sans-serif;font-weight:700;font-size:18px;
  color:#fff;letter-spacing:2px;text-align:center;line-height:1.7;
  box-shadow:none;
}
.hero-img .lbl span{
  font-family:'Inter',sans-serif;font-weight:400;
  font-size:13px;color:rgba(255,255,255,.5);letter-spacing:0;
}

@media (max-width:768px){
  .hero{height:40vh;min-height:220px}
  .hero-img .lbl{font-size:15px;padding:10px 22px}
}
@media (max-width:480px){
  .hero{height:35vh;min-height:180px}
  .hero-img .lbl{font-size:13px;letter-spacing:1px}
}

/* ── Hero Slider ── */
.hero-slides{position:absolute;inset:0;z-index:0}
.hero-slide{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transition:opacity 1s ease;
}
.hero-slide.active{opacity:1}
.hero-dots{
  position:absolute;bottom:14px;left:50%;
  transform:translateX(-50%);z-index:3;
  display:flex;gap:8px;
}
.hero-dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,.4);
  border:0;cursor:pointer;padding:0;
  transition:background .3s,transform .3s;
}
.hero-dot.on{background:#fff;transform:scale(1.25)}

/* ===== section ===== */
/* 본문 폭 — 전 페이지 공통 1440px(안쪽 1400px). 화면따라 변하면 이미지 권장 크기를 정할 수 없다 */
.section{max-width:1440px;margin:0 auto;padding:80px 20px 0}
/* 위 규칙이 파일 뒤쪽이라 앞(143~166줄)의 모바일 규칙을 덮어써 버린다 — 여기서 다시 적용한다 */
@media (max-width:768px){.section{padding:12px 16px 80px}}
@media (max-width:480px){.section{padding:6px 12px 0}}
@media (max-width:375px){.section{padding:8px 12px 0}}
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  border-bottom:0;padding-bottom:12px;margin-bottom:22px;
  flex-wrap:wrap;gap:8px;
}
.section-head h3{font-family:'Noto Sans KR',sans-serif;font-size:22px;margin:0;letter-spacing:3px}
.section-head .meta{font-family:'Inter',sans-serif;color:#666;font-size:18px}

/* ===== board grid — 디자인봄 기준 ===== */
.board-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
@media (max-width:1024px){.board-grid{grid-template-columns:repeat(3,1fr);gap:16px}}
@media (max-width:768px){.board-grid{grid-template-columns:repeat(2,1fr);gap:8px}}
@media (max-width:480px){.board-grid{grid-template-columns:repeat(2,1fr);gap:6px}}

.post{
  border:0;background:#fff;
  display:flex;flex-direction:column;overflow:hidden;
  text-decoration:none;color:inherit;
  position:relative;
}
.post-hover{
  position:absolute;inset:0;
  display:flex;align-items:flex-end;
  padding:12px 14px;
  background:rgba(0,0,0,0);
  transition:background .25s;
  pointer-events:none;
}
.post-hover-title{
  color:#fff;
  font-family:'Noto Sans KR',sans-serif;
  font-weight:700;font-size:13px;line-height:1.4;
  opacity:0;transform:translateY(6px);
  transition:opacity .25s,transform .25s;
  text-shadow:0 1px 4px rgba(0,0,0,.5);
}
.post:hover .post-hover{background:rgba(0,0,0,.4)}
.post:hover .post-hover-title{opacity:1;transform:translateY(0)}
.post .thumb{aspect-ratio:4/3}
.post .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px}
.post .topline{
  display:flex;justify-content:space-between;font-family:'Inter',sans-serif;
  font-size:15px;color:#888;
}
.post .cat{
  background:var(--ink);color:#fff;padding:2px 10px;border-radius:999px;font-size:12px;
  font-family:'Noto Sans KR',sans-serif;font-weight:700;letter-spacing:1.5px;
}
.post .title{font-family:'Noto Sans KR',sans-serif;font-weight:700;font-size:15px;line-height:1.4}
.post .client{font-family:'Inter',sans-serif;color:#666;font-size:15px}
.post .footline{
  display:flex;justify-content:space-between;font-family:'Noto Sans KR',sans-serif;
  font-size:12px;color:#999;border-top:0;padding-top:8px;margin-top:4px;
}

/* 포트폴리오 카드 정보 영역 */
.post-info{padding:12px 14px 14px;background:#fff}
.post-title{
  font-family:'Noto Sans KR',sans-serif;font-weight:700;font-size:14px;
  color:#1a1a1a;line-height:1.4;margin-bottom:5px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.post-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.post-cat{
  font-family:'Noto Sans KR',sans-serif;font-size:12px;font-weight:700;
  background:#1a1a1a;color:#fff;padding:2px 7px;letter-spacing:0.5px;
}
.post-client{
  font-family:'Noto Sans KR',sans-serif;font-size:12px;color:#888;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* pagination */
.pager{
  display:flex;justify-content:center;gap:6px;margin-top:32px;flex-wrap:wrap;
  font-family:'Noto Sans KR',sans-serif;font-weight:700;
}
.pager .pg{
  width:36px;height:36px;border:0;background:#fff;
  display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:14px;
  text-decoration:none;color:inherit;cursor:pointer;
}
.pager .pg.on{background:var(--accent)}
.pager .pg.arrow{background:#f4f1ea}

/* ===== footer placeholder ===== */
.footer-ph{
  border-top:0;padding:50px 24px;
  display:flex;align-items:center;justify-content:center;
  background:repeating-linear-gradient(135deg,#fafaf6 0 14px,#f1ede2 14px 16px);
  min-height:200px;
}
.footer-ph .box{
  background:#fff8a8;border:0;
  padding:22px 28px;font-family:'Noto Sans KR',sans-serif;font-size:15px;font-weight:700;
  box-shadow:none;text-align:center;line-height:1.6;max-width:420px;
}
.footer-ph .box small{font-family:'Inter',sans-serif;color:#666;font-weight:400;font-size:15px;display:block;margin-top:6px}

/* ===== quick menu — 오른쪽 고정 ===== */
.quickmenu{
  position:fixed;
  right:16px;
  top:120px;
  display:flex;flex-direction:column;gap:14px;
  z-index:80;
}
.qm-item{
  width:64px;display:flex;flex-direction:column;align-items:center;gap:6px;
  text-decoration:none;color:inherit;cursor:pointer;
}
.qm-circle{
  width:58px;height:58px;border:0;border-radius:50%;
  background:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.12);transition:all .15s;
}
.qm-item:hover .qm-circle{
  transform:translate(-1px,-1px);box-shadow:0 4px 12px rgba(0,0,0,.18);background:var(--accent);
}
.qm-circle.qm-png{background:transparent;box-shadow:none;overflow:hidden;padding:0}
.qm-circle.qm-png img{width:100%;height:100%;display:block;border-radius:50%}
.qm-item:hover .qm-circle.qm-png{background:transparent;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.qm-circle svg{width:26px;height:26px;stroke:var(--ink);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.qm-circle .kakao{
  width:30px;height:30px;background:var(--ink);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:#fff;
  font-family:'Noto Sans KR',sans-serif;font-weight:700;font-size:14px;
}
.qm-label{display:none}
.qm-divider{width:30px;height:1px;background:#ddd;margin:2px auto;opacity:.6}
.qm-top{
  width:44px;height:44px;border:0;border-radius:50%;
  background:#fff;display:flex;align-items:center;justify-content:center;
  margin:6px auto 0;font-family:'Noto Sans KR',sans-serif;font-weight:700;font-size:12px;
  cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.12);
}

/* 전화 퀵메뉴: 모바일에서만 표시 */
.qm-tel { display:none; }
@media (max-width:768px){ .qm-tel { display:flex; } }

/* tablet (768~1024): 퀵메뉴 크기 줄임 */
@media (max-width:1024px){
  .quickmenu{gap:10px}
  .qm-item{width:54px}
  .qm-circle{width:48px;height:48px}
  .qm-circle svg{width:22px;height:22px}
  .qm-label{font-size:12px}
  .qm-circle.qm-png{background:transparent;box-shadow:none}
}
/* mobile: 우측 하단 플로팅 (~768) */
@media (max-width:768px){
  .quickmenu{
    position:fixed !important;
    flex-direction:column !important;
    right:12px !important;left:auto !important;
    bottom:104px !important;top:auto !important;
    width:auto !important;gap:8px;
    background:none;border:none;box-shadow:none;padding:0;
  }
  .qm-item{width:auto;flex:none;gap:0}
  .qm-circle{
    width:42px;height:42px;
    box-shadow:0 2px 8px rgba(0,0,0,.18);
    background:#fff;
  }
  .qm-circle.qm-png{background:transparent;box-shadow:none}
  .qm-circle svg{width:18px;height:18px}
  .qm-circle .kakao{width:22px;height:22px;font-size:12px}
  .qm-divider{display:none}
  .qm-top{display:none}
  .qm-label{display:none}
}
@media (max-width:768px){
  .page{overflow-x:hidden}
}

/* ===== generic content blocks for sub pages ===== */
.about-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;
}
@media (max-width:768px){.about-grid{grid-template-columns:1fr;gap:24px}}
.about-img{aspect-ratio:1/1.1;width:100%}
.about-text h2{font-family:'Inter',sans-serif;font-size:48px;margin:0 0 18px;font-weight:600;line-height:1.05}
.about-text p{font-family:'Noto Sans KR',sans-serif;font-size:16px;line-height:1.85;color:#333;margin:0 0 14px}
.about-text .tag{
  display:inline-block;border:0;padding:3px 12px;border-radius:999px;
  background:var(--accent);font-family:'Noto Sans KR',sans-serif;font-size:13px;font-weight:700;letter-spacing:2px;
  margin-bottom:14px;
}

.fact-row{
  display:grid;grid-template-columns:repeat(4,1fr);
  border:0;background:#fff;margin-top:34px;
}
@media (max-width:480px){.fact-row{grid-template-columns:repeat(2,1fr)}}
.fact{
  padding:20px 18px;border-right:0;
}
.fact:last-child{border-right:0}
.fact .n{font-family:'Inter',sans-serif;font-size:34px;font-weight:600;line-height:1}
.fact .l{font-family:'Noto Sans KR',sans-serif;font-size:13px;letter-spacing:2px;color:#666;margin-top:6px}

.svc-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px;
}
@media (max-width:768px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.svc-grid{grid-template-columns:1fr}}
.svc{border:0;background:#fff;padding:20px}
.svc h4{font-family:'Noto Sans KR',sans-serif;font-size:16px;margin:0 0 8px;letter-spacing:2px}
.svc p{font-family:'Noto Sans KR',sans-serif;font-size:14px;color:#555;line-height:1.7;margin:0}
.svc .num{font-family:'Inter',sans-serif;font-size:22px;color:#aaa;margin-bottom:8px;display:block}

/* contact page */
.contact-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:30px;
}
@media (max-width:768px){.contact-grid{grid-template-columns:1fr}}
.contact-info{display:flex;flex-direction:column;gap:14px}
.contact-row{
  display:flex;justify-content:space-between;align-items:flex-start;gap:14px;
  border-bottom:0;padding-bottom:10px;
  font-family:'Noto Sans KR',sans-serif;font-size:15px;
}
.contact-row b{letter-spacing:2px;font-size:13px;color:#666;min-width:70px}
.contact-row span{text-align:right;color:#222;line-height:1.6}

.contact-form{
  border:0;background:transparent;padding:24px 0;display:flex;flex-direction:column;gap:14px;
}
.contact-form h4{font-family:'Inter',sans-serif;font-size:30px;margin:0 0 6px;font-weight:600}
.field{display:flex;flex-direction:column;gap:4px}
.field label{font-family:'Noto Sans KR',sans-serif;font-size:12px;letter-spacing:2px;color:#666}
.field input,.field textarea,.field select{
  border:1.5px solid #c9c5b8;padding:12px 14px;font-family:'Noto Sans KR',sans-serif;font-size:14px;
  background:#f5f3eb;outline:none;border-radius:0;
}
.field textarea{min-height:160px;resize:vertical}
.btn-submit{
  align-self:flex-start;background:transparent;color:#aaa;
  border:1.5px solid #aaa;border-radius:20px;
  padding:10px 28px;font-family:'Noto Sans KR',sans-serif;font-weight:700;letter-spacing:2px;font-size:14px;
  box-shadow:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s;
}
.btn-submit:hover{background:#1a1a1a;color:#fff;border-color:#1a1a1a}

/* portfolio detail page */
.detail-head{padding:36px 24px 0;text-align:center}
.detail-head .num{font-family:'Inter',sans-serif;font-size:18px;color:#888}
.detail-head h2{font-family:'Noto Sans KR',sans-serif;font-size:28px;margin:6px 0 10px;letter-spacing:1px}
.detail-head .meta{
  display:flex;justify-content:center;gap:18px;flex-wrap:wrap;
  font-family:'Noto Sans KR',sans-serif;font-size:13px;color:#666;
}
.detail-images{
  display:flex;flex-direction:column;gap:18px;
  max-width:1024px;margin:16px auto;padding:0 20px;
}
.detail-images .ph{aspect-ratio:16/9;width:100%}
.detail-meta{
  border-top:0;border-bottom:0;
  padding:20px 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
}
@media (max-width:480px){.detail-meta{grid-template-columns:repeat(2,1fr)}}
.detail-meta .it{font-family:'Noto Sans KR',sans-serif;font-size:13px}
.detail-meta .it b{display:block;letter-spacing:2px;color:#888;font-size:12px;margin-bottom:4px}
.detail-nav{
  display:flex;justify-content:center;align-items:center;gap:14px;
  padding:34px 24px 48px;   /* 태그 칩·본문과 버튼 사이 여백 확보 */
}
.detail-nav a.dn-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;
  text-decoration:none;color:#fff;background:#1a1a1a;border:0;
  font-size:20px;line-height:1;
  transition:background .18s,transform .18s;
}
.detail-nav a.dn-btn.dn-list{font-size:17px}
.detail-nav a.dn-btn:hover{background:#000;transform:translateY(-2px)}

/* ── 공통 푸터 ── */
.site-footer{
  border-top:1px solid #e0ddd5;background:#1a1a1a;color:#aaa;
  font-family:'Noto Sans KR',sans-serif;
}
.footer-inner{
  max-width:1400px;margin:0 auto;padding:18px 18px;
  display:flex;justify-content:flex-start;align-items:flex-start;gap:24px;flex-wrap:wrap;
}
.footer-logo{font-family:'Inter',sans-serif;font-size:16px;font-weight:700;color:#fff;letter-spacing:2px}
.footer-info{font-size:12px;color:#888;line-height:1.8}
.footer-login-btn{
  border:1px solid #555;background:transparent;color:#ccc;padding:8px 20px;cursor:pointer;
  font-family:'Noto Sans KR',sans-serif;font-size:13px;font-weight:700;
  transition:all .2s;white-space:nowrap;text-decoration:none;display:inline-block
}
.footer-login-btn:hover{background:#fff;color:#1a1a1a;border-color:#fff}
.footer-biz{font-size:13px;color:#999;line-height:1.8;flex:1;min-width:400px}
@media (max-width:768px){.footer-biz{min-width:0;word-break:keep-all;font-size:11px;line-height:1.7}}
.footer-copy{font-size:12px;color:#555;text-align:center;padding:12px 5%;
  border-top:1px solid #2a2a2a;background:#111}

/* ── 로그인 모달 ── */
.auth-modal-bg{
  display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9999;
  align-items:center;justify-content:center;
}
.auth-modal-bg.on{display:flex}
.auth-modal{
  background:#fff;width:400px;max-width:94vw;box-shadow:0 12px 48px rgba(0,0,0,.25);
}
.auth-modal-head{
  display:flex;border-bottom:2px solid #eee;
}
.auth-tab{
  flex:1;padding:14px;text-align:center;cursor:pointer;font-weight:700;font-size:14px;
  font-family:'Noto Sans KR',sans-serif;color:#999;border:0;background:#f9f9f9;
  border-bottom:2px solid transparent;margin-bottom:-2px;
}
.auth-tab.on{background:#fff;color:#1a1a1a;border-bottom:2px solid #1a1a1a}
.auth-panel{display:none;padding:32px 28px}
.auth-panel.on{display:block}
.auth-panel .af{margin-bottom:14px}
.auth-panel .af label{display:block;font-size:12px;font-weight:700;color:#555;margin-bottom:5px;
  font-family:'Noto Sans KR',sans-serif}
.auth-panel .af input{
  width:100%;border:1px solid #ddd;padding:10px 14px;font-family:'Noto Sans KR',sans-serif;
  font-size:14px;box-sizing:border-box;outline:none}
.auth-panel .af input:focus{border-color:#1a1a1a}
.auth-submit{
  width:100%;padding:12px;background:#1a1a1a;color:#fff;border:0;cursor:pointer;
  font-family:'Noto Sans KR',sans-serif;font-weight:700;font-size:14px;margin-top:6px}
.auth-submit:hover{background:#333}
.auth-msg{font-size:13px;font-family:'Noto Sans KR',sans-serif;margin-top:10px;
  padding:8px 12px;display:none}
.auth-msg.ok{background:#f0fff4;color:#27ae60;display:block}
.auth-msg.err{background:#fff0f0;color:#c0392b;display:block}
.auth-close{position:absolute;top:14px;right:18px;background:none;border:0;
  font-size:22px;cursor:pointer;color:#aaa;line-height:1}
.auth-notice{text-align:center;padding:8px 0 16px;font-family:'Noto Sans KR',sans-serif}
.auth-notice h4{font-size:18px;font-weight:700;margin:0 0 12px}
.auth-notice p{font-size:14px;color:#666;line-height:1.8;margin:0 0 20px}

/* 직원 페이지 공통 머리말 — admin 스타일로 통일 (큰 한글 제목 + 회색 설명) */
.page-head-title{font-family:'Inter',sans-serif;font-size:26px;font-weight:700;margin:0 0 6px;color:#1a1a1a}
.page-head-desc{font-family:'Noto Sans KR',sans-serif;font-size:13px;color:#888;margin:0 0 28px}
@media(max-width:768px){.page-head-title{font-size:22px}}
