@charset "UTF-8";
/* CSS 6-file standardization: board pages */

/* ===== board.css: board pages ===== */





.board-title {
    margin: 0;
    color: var(--customer-ink);
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.board-description {
    margin: 10px 0 0;
    color: var(--customer-muted);
    font-size: 16px;
    line-height: 1.6;
}

























.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}























.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}









/* Partner application */




















select.partner-field__control {
    cursor: pointer;
}

input.partner-field__control[type="date"] {
    color-scheme: light;
}





































/* Board detail */






































@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    

    

    

    

    

    

    

    

    

    

    

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    

    .pagination {
        margin-top: 36px;
    }

    

    

    

    

    

    

    

    

    

    
}

/* board-privacy-consent 공간360 맞춤화 스타일 */
.board-privacy-consent {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding: 22px;
  border-radius: 10px;
  background: var(--customer-soft);
  border: 1px solid #e4e7ec;
  text-align: left;
}

.board-privacy-consent small {
  display: block;
  max-height: 110px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.board-privacy-consent__details {
  width: 100%;
  max-height: 190px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.board-privacy-consent__details:focus-visible {
  border-color: #0056e0;
  outline: 3px solid rgba(0, 34, 67, 0.18);
  outline-offset: 2px;
}

.board-privacy-consent__title {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.board-privacy-consent__intro {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #64748b;
  text-align: left;
}

.board-privacy-consent__terms {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.board-privacy-consent__terms > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
}

.board-privacy-consent__terms dt {
  color: #475569;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  text-align: left;
}

.board-privacy-consent__terms dd {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.board-privacy-consent__notice {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  text-align: left;
}

.board-privacy-consent .board-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: #334155;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.board-privacy-consent .board-checkbox-item span strong {
  color: #1e293b;
  font-weight: 700;
}

.board-privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: #002243;
  cursor: pointer;
}





/* 모바일 반응형 처리 */
@media (max-width: 768px) {
  .board-privacy-consent__terms > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .board-privacy-consent .board-checkbox-item {
    min-height: 44px;
    padding: 8px 0;
  }
}

/* Unhae Clean Custom 4-Column Static Summary Cards */










/* Unhae Clean Custom Category Summary Tab Styles */
.gallery-board__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-board__summary a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #dbe7fa;
  border-radius: 999px;
  background: #ffffff;
  color: #003ea5;
  font-size: 14.4px;
  font-weight: 850;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gallery-board__summary a:hover,
.gallery-board__summary a.is-active {
  border-color: #0056e0;
  background: #0056e0;
  color: #ffffff;
}

.gallery-board__summary em {
  font-style: normal;
  opacity: 0.78;
}

/* ===== board-gallery-detail.css: board pages ===== */
.board-shell[data-board-gallery-detail] {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.board-detail__title {
  color: #111111;
}

.board-detail__header,
.board-detail__body,
.gallery-detail__checklist,
.gallery-detail__workflow,
.gallery-detail__compare {
  width: min(100%, 980px);
  margin-inline: auto;
}

.board-detail__header {
  padding: 34px 0 30px;
}

.board-detail__body {
  padding: 42px 0 50px;
}

.board-detail__excerpt {
  margin: 0 0 22px;
  color: #475569;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
}

.board-detail__caption {
  margin: 28px 0 14px;
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 800;
}

.board-detail__nav-link--next {
  text-align: right;
}

.gallery-detail:not(.board-section) {
  padding: 78px 0 0;
  background: #ffffff;
}

/* source 공통 CSS의 `.site-main section `와 상세 전용 여백의 충돌을 차단합니다. */
.gallery-detail__check-group {
  padding: 24px ;
}

.gallery-detail__workflow,
.gallery-detail__compare {
  padding: 0 ;
}



.gallery-detail__header {
  padding-bottom: 30px;
  border-bottom: 1px solid #dbe7fa;
}





.gallery-detail__header h1 {
  margin: 0;
  color: #111827;
  font-size: 2.45rem;
  font-weight: 950;
  line-height: 1.22;
  word-break: keep-all;
}

.gallery-detail__header p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #52616f;
  font-size: 1.05rem;
  font-weight: 620;
  line-height: 1.7;
  word-break: keep-all;
}

































































.gallery-detail__nav {
  padding: 20px 0 40px; /* 상하 여백 대폭 축소 */
  background: #ffffff;
}



















@media (max-width: 1024px) {
  .board-static-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gallery-detail:not(.board-section) {
    padding-top: 58px;
  }

  .gallery-detail__check-group {
    padding: 22px 20px ;
  }

  .gallery-detail__workflow,
  .gallery-detail__compare {
    padding: 0 ;
  }

  .board-detail__header {
    padding: 24px 0 22px;
  }

  .board-detail__body {
    padding: 34px 0 40px;
  }

  .board-detail__excerpt {
    margin-bottom: 20px;
  }

  .board-detail__caption {
    margin: 26px 0 14px;
  }

  .gallery-detail__header h1 {
    font-size: 1.85rem;
  }

  

  .board-static-copy {
    grid-template-columns: 1fr;
  }

  

  

  

  

  

  

  

  

  
}

/* ===== board-customer-center.css: board pages ===== */
/*
 * 회사명 고객센터 UI
 * 공간360 /new의 커뮤니티 게시판·온라인 견적 레이아웃을 기준으로 구성합니다.
 * 게시물, FAQ, 폼 필드와 제출 동작은 기존 마크업/스크립트를 그대로 사용합니다.
 */

:root {
  --customer-accent: #0056e0;
  --customer-accent-dark: #003ea5;
  --customer-ink: #101828;
  --customer-text: #344054;
  --customer-muted: #667085;
  --customer-subtle: #98a2b3;
  --customer-line: #d9dee7;
  --customer-soft: #f7f9fc;
  --customer-container: var(--container);
}

.board-shell {
  max-width: none;
  margin: 0;
  padding: var(--content-section-padding-top) 0 var(--content-section-padding-bottom);
}

/* Keep shared section copy aligned with board content. */
.board-section .section-header__text {
  margin-inline: 0;
  text-align: left;
}

.board-head,
.board-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 30px;
}

.board-section__head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--customer-ink);
}

.board-section__head--title-only {
  justify-content: flex-start;
}

.board-section__eyebrow {
  display: none;
}

.board-section__head h2 {
  margin: 0;
  color: var(--customer-ink);
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.board-count,
.board-count strong {
  color: var(--customer-muted);
}

#work-gallery {
  scroll-margin-top: 0;
}



/* 갤러리 게시판 */
.gallery-board__summary {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--customer-line);
  scrollbar-width: none;
}

.gallery-board__summary::-webkit-scrollbar {
  display: none;
}

.gallery-board__summary a {
  position: relative;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--customer-muted);
  font-size: 14px;
  font-weight: 650;
}

.gallery-board__summary a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  background: transparent;
}

.gallery-board__summary a:hover,
.gallery-board__summary a.is-active {
  background: transparent;
  color: var(--customer-accent-dark);
}

.gallery-board__summary a.is-active::after {
  background: var(--customer-accent);
}

.gallery-card {
  border: 1px solid #e1e5eb;
  border-radius: 10px;
  box-shadow: none;
}

.gallery-grid {
  gap: 24px 20px;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.gallery-card__image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
}

.gallery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-card__content {
  padding: 20px;
}

.gallery-card__category {
  margin-bottom: 8px;
  color: var(--customer-accent-dark);
}

.gallery-card__title {
  color: var(--customer-ink);
  font-size: 18px;
  font-weight: 700;
}

.gallery-card__meta {
  margin-top: 14px;
}

.pagination {
  margin-top: 42px;
}

.pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--customer-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.pagination__button:hover:not(.is-disabled) {
  border-color: var(--customer-accent);
  color: var(--customer-accent-dark);
}

.pagination__button.is-active {
  border-color: var(--customer-accent-dark);
  background: var(--customer-accent-dark);
  color: #ffffff;
}

.pagination__button:focus-visible {
  outline: 2px solid var(--customer-accent);
  outline-offset: 3px;
}

.pagination__button.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 480px) {
  .pagination {
    gap: 4px;
  }

  .pagination__button {
    min-width: 36px;
    min-height: 36px;
    padding: 0 7px;
  }
}

/* FAQ: 공간360 게시판의 선형 리스트 문법으로 재구성 */
.faq-board__list {
  border-top: 1px solid var(--customer-ink);
}

.faq-card {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--customer-line);
  border-radius: 0;
  background: #fff;
}

.faq-card summary {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 82px;
  padding: 22px 12px 22px 0;
  color: var(--customer-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::before {
  content: "Q";
  color: var(--customer-accent);
  font-size: 17px;
  font-weight: 800;
}

.faq-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #475467;
  font-size: 25px;
  font-weight: 300;
  transition: transform 180ms ease, color 180ms ease;
}

.faq-card[open] summary {
  color: var(--customer-accent-dark);
}

.faq-card[open] summary::after {
  color: var(--customer-accent);
  transform: rotate(45deg);
}

.faq-card p {
  margin: 0;
  padding: 0 74px 26px 34px;
  color: var(--customer-muted);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

/* 온라인 견적: 공간360의 오픈형 2열 폼 */
.board-contact-layout {
  display: block;
}

.board-contact-panel {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.board-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.board-field {
  min-width: 0;
}

.board-field--full {
  grid-column: 1 / -1;
}

.board-field--choice,
.board-field:has(> .board-choice-list) {
  padding: 18px;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  background: #f8fafc;
}

.board-field > label,
.board-field__label {
  display: block;
  margin: 0 0 9px;
  color: var(--customer-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.board-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.board-field select,
.board-field textarea {
  width: 100%;
  padding: 0 15px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--customer-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.board-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.board-field select {
  min-height: 52px;
}

.board-field textarea {
  min-height: 170px;
  padding-block: 14px;
  line-height: 1.65;
  resize: vertical;
}

.board-field input::placeholder,
.board-field textarea::placeholder {
  color: var(--customer-subtle);
}

.board-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.board-field select:hover,
.board-field textarea:hover {
  border-color: #b8c2cf;
}

.board-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.board-field select:focus,
.board-field textarea:focus {
  border-color: var(--customer-accent);
  box-shadow: 0 0 0 3px rgba(0, 86, 224, 0.12);
}

.board-checkbox-group,
.board-choice-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.board-checkbox-item,
.board-choice-item,
.board-choice-list > label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  background: #fff;
  color: var(--customer-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.board-checkbox-item:hover,
.board-choice-item:hover,
.board-choice-list > label:hover {
  border-color: #b9c5d4;
}

.board-checkbox-item input[type="checkbox"],
.board-choice-item input[type="checkbox"],
.board-choice-item input[type="radio"],
.board-choice-list > label input[type="checkbox"],
.board-choice-list > label input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--customer-accent);
}

.board-checkbox-group input:focus-visible,
.board-choice-list input:focus-visible {
  outline: 0;
  outline-offset: 0;
}

.board-checkbox-group .board-checkbox-item:has(input:checked),
.board-choice-list .board-choice-item:has(input:checked),
.board-choice-list > label:has(input:checked) {
  border-color: var(--customer-accent);
  background: #eef5ff;
  color: #004dbd;
  box-shadow: inset 0 0 0 1px var(--customer-accent);
}

.board-checkbox-group .board-checkbox-item:has(input:focus-visible),
.board-choice-list .board-choice-item:has(input:focus-visible),
.board-choice-list > label:has(input:focus-visible) {
  border-color: var(--customer-accent);
  box-shadow: inset 0 0 0 1px var(--customer-accent);
}

.board-file-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.board-file-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  background: var(--customer-soft);
}

.board-file-row label {
  margin: 0;
  color: var(--customer-text);
  font-size: 13px;
  font-weight: 700;
}

.board-file-row input[type="file"] {
  min-width: 0;
  width: 100%;
  color: var(--customer-muted);
  font: inherit;
  font-size: 13px;
}

.board-file-row input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 10px;
  padding: 0 13px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #fff;
  color: var(--customer-text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.board-privacy-consent > .board-checkbox-item {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.board-contact-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.board-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: var(--customer-accent-dark);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.board-submit-btn:hover {
  background: var(--customer-accent);
  transform: translateY(-1px);
}

/* 기존 전화상담/작업안내 콘텐츠는 폼 아래 지원 영역으로 보존 */
.board-contact-info {
  display: grid;
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--customer-line);
}

.board-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 32px;
  padding: 28px 30px;
  border: 1px solid #e1e6ed;
  border-radius: 10px;
  background: var(--customer-soft);
}

.board-contact-card h3,
.board-contact-card p,
.board-contact-card__notice {
  margin: 0;
}

.board-contact-card h3 {
  color: var(--customer-ink);
  font-size: 21px;
  letter-spacing: -0.03em;
}

.board-contact-card p,
.board-contact-card__notice {
  color: var(--customer-muted);
  font-size: 14px;
  line-height: 1.65;
}

.board-contact-card__btns {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  gap: 10px;
}

.board-contact-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--customer-accent-dark);
  border-radius: 7px;
  color: var(--customer-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.board-contact-card__button--primary {
  background: var(--customer-accent-dark);
  color: #fff;
}

.board-contact-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.board-feature-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border: 1px solid #e1e6ed;
  border-radius: 10px;
  background: #fff;
}

.board-feature-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 86, 224, 0.09);
  color: var(--customer-accent);
  font-size: 20px;
}

.board-feature-item h4 {
  margin: 0 0 6px;
  color: var(--customer-ink);
  font-size: 16px;
}

.board-feature-item p {
  margin: 0;
  color: var(--customer-muted);
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

@media (max-width: 1360px) {
  
}

@media (max-width: 1450px) {
  

  
}

@media (max-width: 1024px) {
  .board-checkbox-group,
  .board-choice-list,
  .board-contact-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-contact-card {
    grid-template-columns: 1fr;
  }

  .board-contact-card__btns {
    grid-column: auto;
    grid-row: auto;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .board-head,
  .board-section__head {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .gallery-board__summary {
    margin-bottom: 26px;
  }

  .gallery-board__summary a {
    min-height: 44px;
    padding: 11px 14px;
  }

  .gallery-grid {
    gap: 20px;
  }

  .gallery-card__content {
    padding: 20px 18px;
  }

  .pagination {
    margin-top: 34px;
  }

  .board-title,
  .board-section__head h2 {
    font-size: 30px;
  }

  .board-contact-form__grid,
  .board-checkbox-group,
  .board-choice-list,
  .board-file-list,
  .board-contact-features {
    grid-template-columns: 1fr;
  }

  .board-field--choice,
  .board-field:has(> .board-choice-list) {
    padding: 15px;
  }

  .board-file-row {
    grid-template-columns: 1fr;
  }

  .board-contact-card {
    padding: 24px 20px;
  }

  .board-contact-card__btns {
    flex-direction: column;
  }

  .faq-card summary {
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    min-height: 72px;
    padding-block: 18px;
    font-size: 16px;
  }

  .faq-card p {
    padding: 0 42px 22px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .board-count {
    padding-top: 8px;
    font-size: 13px;
  }

  .board-privacy-consent {
    padding: 18px 14px;
  }

  .board-submit-btn {
    width: 100%;
  }
}

/* Gallery detail: stable page-scoped layout */
section.board-section.gallery-detail {
  background: #fff;
}

.gallery-detail .board-detail {
  width: 100%;
}

.gallery-detail .board-detail__header,
.gallery-detail .board-detail__body,
.gallery-detail .gallery-detail__checklist,
.gallery-detail .gallery-detail__workflow,
.gallery-detail .gallery-detail__compare,
.gallery-detail .board-detail__navigation,
.gallery-detail .board-detail__actions {
  width: min(100%, 980px);
  margin-inline: auto;
}

.gallery-detail .board-detail__header {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--customer-line);
}

.gallery-detail .board-detail__category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 86, 224, 0.08);
  color: var(--customer-accent-dark);
  font-size: 13px;
  font-weight: 750;
}

.gallery-detail .board-detail__title {
  margin: 0;
  color: var(--customer-ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.gallery-detail .board-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--customer-muted);
  font-size: 14px;
  line-height: 1.5;
}

.gallery-detail .board-detail__meta > * + * {
  position: relative;
  padding-left: 18px;
}

.gallery-detail .board-detail__meta > * + *::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--customer-line);
  transform: translateY(-50%);
}

.gallery-detail .board-detail__media {
  width: min(100%, 1080px);
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 18px;
  background: var(--customer-soft);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.gallery-detail .board-detail__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-detail .board-detail__body {
  padding: 46px 0 50px;
}

.gallery-detail .board-detail__body p {
  margin: 0;
  color: var(--customer-text);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.gallery-detail .board-detail__body p + p {
  margin-top: 12px;
}

.gallery-detail .board-detail__excerpt {
  margin-bottom: 24px ;
  color: var(--customer-ink) ;
  font-size: 18px ;
  font-weight: 700;
}

.gallery-detail .board-detail__caption {
  margin: 0 0 14px;
  color: var(--customer-ink);
  font-size: 22px;
  line-height: 1.35;
}

.gallery-detail .gallery-detail__checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-detail .gallery-detail__check-group {
  min-width: 0;
  padding: 24px ;
  border: 1px solid #e2e7ee;
  border-radius: 14px;
  background: var(--customer-soft);
}

.gallery-detail .gallery-detail__check-group h3 {
  margin: 0 0 16px;
  color: var(--customer-ink);
  font-size: 18px;
  line-height: 1.4;
}

.gallery-detail .gallery-detail__check-group ul {
  display: grid;
  gap: 10px;
}

.gallery-detail .gallery-detail__check-group li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: var(--customer-text);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.gallery-detail .gallery-detail__check-group li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--customer-accent-dark);
  font-size: 11px;
  font-weight: 800;
}

.gallery-detail .gallery-detail__workflow,
.gallery-detail .gallery-detail__compare {
  margin-top: 72px;
  padding: 0 ;
}

.gallery-detail .gallery-detail__workflow-head {
  margin-bottom: 26px;
}

.gallery-detail .gallery-detail__workflow-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--customer-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-detail .gallery-detail__workflow-head h2 {
  margin: 0;
  color: var(--customer-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.3;
}

.gallery-detail .gallery-detail__workflow-head p {
  margin: 10px 0 0;
  color: var(--customer-muted);
  font-size: 15px;
  line-height: 1.7;
}

.gallery-detail .gallery-detail__workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-detail .gallery-detail__workflow-item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e7ee;
  border-radius: 14px;
  background: #fff;
}

.gallery-detail .gallery-detail__workflow-item:only-child {
  grid-column: 1 / -1;
  width: min(100%, 720px);
  margin-inline: auto;
}

.gallery-detail .gallery-detail__workflow-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-detail .gallery-detail__workflow-item figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  color: var(--customer-text);
  font-size: 14px;
  font-weight: 700;
}

.gallery-detail .gallery-detail__workflow-item figcaption em {
  color: var(--customer-accent-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.gallery-detail .gallery-detail__compare-set > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--customer-ink);
  font-size: 18px;
}

.gallery-detail .gallery-detail__compare-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-detail .gallery-detail__compare-pair figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--customer-soft);
}

.gallery-detail .gallery-detail__compare-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-detail .gallery-detail__compare-pair figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 64px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.gallery-detail .gallery-detail__nav {
  padding: 72px 0 54px;
  background: #fff;
}

.gallery-detail .board-detail__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--customer-line);
  border-bottom: 1px solid var(--customer-line);
}

.gallery-detail .board-detail__nav-link {
  display: flex;
  min-width: 0;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 22px;
  color: var(--customer-text);
  text-decoration: none;
}

.gallery-detail .board-detail__nav-link + .board-detail__nav-link {
  border-left: 1px solid var(--customer-line);
}

.gallery-detail .board-detail__nav-link:not(.is-disabled):hover {
  background: var(--customer-soft);
}

.gallery-detail .board-detail__nav-link.is-disabled {
  color: var(--customer-subtle);
}

.gallery-detail .board-detail__nav-label {
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 750;
}

.gallery-detail .board-detail__nav-title {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-detail .board-detail__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-detail .board-detail__list-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--customer-accent-dark);
  border-radius: 8px;
  color: var(--customer-accent-dark);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.gallery-detail .board-detail__list-button:hover {
  background: var(--customer-accent-dark);
  color: #fff;
}

@media (max-width: 760px) {
  .gallery-detail .board-detail__header {
    padding-bottom: 24px;
  }

  .gallery-detail .board-detail__title {
    font-size: 28px;
  }

  .gallery-detail .board-detail__meta {
    margin-top: 13px;
  }

  .gallery-detail .board-detail__media {
    margin-top: 26px;
    border-radius: 12px;
  }

  .gallery-detail .board-detail__body {
    padding: 34px 0 38px;
  }

  .gallery-detail .board-detail__excerpt {
    font-size: 16px ;
  }

  .gallery-detail .board-detail__caption {
    font-size: 20px;
  }

  .gallery-detail .gallery-detail__checklist {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-detail .gallery-detail__check-group {
    padding: 20px ;
  }

  .gallery-detail .gallery-detail__workflow,
  .gallery-detail .gallery-detail__compare {
    margin-top: 54px;
  }

  .gallery-detail .gallery-detail__workflow-grid {
    grid-template-columns: 1fr;
  }

  .gallery-detail .gallery-detail__workflow-item:only-child {
    grid-column: auto;
  }

  .gallery-detail .gallery-detail__compare-pair {
    gap: 8px;
  }

  .gallery-detail .gallery-detail__compare-pair figure {
    border-radius: 10px;
  }

  .gallery-detail .gallery-detail__compare-pair figcaption {
    top: 8px;
    left: 8px;
    min-width: 54px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .gallery-detail .gallery-detail__nav {
    padding: 54px 0 44px;
  }

  .gallery-detail .board-detail__navigation {
    grid-template-columns: 1fr;
  }

  .gallery-detail .board-detail__nav-link {
    min-height: 76px;
    padding: 15px 16px;
    text-align: left;
  }

  .gallery-detail .board-detail__nav-link + .board-detail__nav-link {
    border-top: 1px solid var(--customer-line);
    border-left: 0;
  }

  .gallery-detail .board-detail__nav-link--next {
    text-align: left;
  }
}
