/* 퍼블리싱 원본과 분리한 사용자 레이아웃 연결 스타일. */
.front-empty { padding: 100px 24px; text-align: center; }
.front-clear-search[hidden] { display: none; }
.front-product-detail a { text-decoration: underline; text-underline-offset: 4px; }
.front-section-nav { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; background: #fff; border-bottom: 1px solid #ddd; }
.front-product-detail section { scroll-margin-top: 100px; }
.front-pagination { display: flex; justify-content: center; gap: 24px; padding: 32px; }
.front-resource-detail { padding-top: 40px; padding-bottom: 80px; }
.front-resource-detail h1 { font-size: 40rem; line-height: 1.3; margin-bottom: 24px; }
.front-editor { padding: 40px 0; overflow-wrap: anywhere; }
.front-editor img, .front-product-detail img, .type-visual video { max-width: 100%; height: auto; }
.front-product-detail section { margin: 64px 0; }
.front-product-detail h2 { font-size: 32rem; margin-bottom: 24px; }
.front-product-detail p { margin: 20px 0; white-space: normal; }
.front-product-hero { display: block; max-height: 600px; margin: auto; }
.front-product-hero[hidden], .front-media-mobile { display: none; }
.front-color-swatch { width: 24px; height: 24px; object-fit: contain; margin-right: 8px; }
.front-product-video { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.front-product-detail, .front-resource-detail { overflow-wrap: anywhere; }
.front-finish { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.front-finish [aria-pressed="true"] { border-color: #0879e8; color: #0879e8; }
.front-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.front-product-detail dt { margin-top: 16px; font-weight: bold; }
.front-product-detail dd { white-space: pre-line; }
@media (max-width: 768px) {
    .front-related { grid-template-columns: 1fr; }
    .front-media-pc { display: none; }
    .front-media-mobile { display: block; }
}
.front-site .front-skip { position: fixed; top: -100px; left: 12px; z-index: 10000; padding: 12px; background: #fff; color: #111; }
.front-site .front-skip:focus { top: 12px; }
.front-site header { transition: transform .25s ease; }
.front-site .menu-list__link { border: 0; background: none; text-align: left; }
/* 모바일 전체메뉴 1Depth는 button 이라 퍼블(a)처럼 전체 폭을 차지해야 화살표가 우측 끝에 위치한다 */
.front-site .all-menu .menu-list__link { width: 100%; }
.front-preview { position: relative; padding: 8px 20px; font-size: 12px; line-height: 1.5; text-align: center; color: #314459; background: #edf3f8; }
.front-main .front-preview { position: absolute; top: 110rem; left: 20px; right: 20px; z-index: 2; opacity: .9; }
.front-coming-soon { min-height: 260px; padding: 20px 24px 80px; text-align: center; }
.front-coming-soon a { display: inline-block; margin-top: 28px; color: #0879e8; text-decoration: underline; }
.front-feature-note { font-size: 13px; margin-top: 12px; color: #737373; }
.front-site button:disabled, .front-site input:disabled { cursor: not-allowed; }
.front-site .all-menu[aria-hidden="true"] { visibility: hidden; }
@media (max-width: 1024px) {
    .front-sub .pd-section .spec-list__row dt { width: auto; }
    .front-main .front-preview { top: 80rem; }
}

/* 관리자 데이터 연동 기능 화면. 최종 퍼블리싱 수급 후 컴포넌트 대조. */
.front-content-section { max-width: 1400px; margin: 0 auto; padding: 80px 40px; font-size: 18px; line-height: 1.6; }
.sub > .front-content-section { padding-top: 160px; }
.front-content-section h1 { font-size: clamp(32px, 4vw, 60px); line-height: 1.2; margin-bottom: 32px; overflow-wrap: anywhere; }
.front-content-section h2 { font-size: 32px; line-height: 1.3; margin-bottom: 24px; }
.front-filter-form { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin: 36px 0; }
.front-filter-form label { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.front-filter-form input, .front-filter-form select { border: 1px solid #bbb; border-radius: 4px; padding: 12px; font: inherit; max-width: 100%; }
.front-filter-form button, .front-hero-controls button, .front-popup-controls button, .front-main-tabs button { border: 1px solid #888; padding: 12px 20px; border-radius: 4px; font: inherit; }
.front-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin: 32px 0; }
.front-media-card { display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid #ddd; padding-bottom: 24px; overflow-wrap: anywhere; }
.front-media-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.front-media-card h2, .front-media-card h3 { font-size: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.front-media-card time { margin-top: auto; }
.front-youtube { width: 100%; aspect-ratio: 16/9; border: 0; margin-top: 32px; }
.front-editor { overflow-x: auto; }
.front-attachments a { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-decoration: underline; }
.front-pagination [aria-current] { font-weight: bold; text-decoration: underline; }
.front-hero { position: relative; background: #171717; color: white; }
.front-hero-slide { position: relative; min-height: 85vh; }
.front-hero-slide > picture, .front-hero-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.front-hero-slide > picture img { width: 100%; height: 100%; object-fit: cover; }
.front-hero-slide > video { object-fit: cover; }
.front-hero-copy { position: relative; padding: 200px 8% 120px; min-height: 85vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; align-items: flex-start; overflow-wrap: anywhere; }
.front-hero-copy h1 { font-size: clamp(36px, 5vw, 76px); line-height: 1.15; }
.front-hero-copy p { font-size: 22px; max-width: 1000px; }
.front-hero-controls { position: absolute; bottom: 24px; left: 8%; display: flex; gap: 12px; }
.front-hero-controls button:disabled { opacity: .35; }
.front-main-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.front-main-tabs [aria-selected="true"] { background: #111; color: #fff; }
.front-main-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.front-main-product img { width: 100%; }
.front-main-product h3 { font-size: 32px; }
.front-main-product p { margin: 20px 0; }
.front-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; margin: 40px 0; }
.front-partners img { width: 150px; max-height: 90px; object-fit: contain; }
.front-main-popup { position: fixed; margin: auto; width: 600px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 20px; border: 0; font-size: 16px; color: #111; background: #fff; overflow: auto; }
.front-main-popup::backdrop { background: rgba(0,0,0,.55); }
.front-popup-body { height: min(560px, 65dvh); overflow: auto; margin-bottom: 16px; }
.front-popup-body img { width: 100%; }
.front-popup-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.front-popup-mobile { display: none; }
.front-hero-slide[hidden], .front-main-product[hidden], .front-popup-slide[hidden], .front-popup-controls [hidden], .front-filter-form [hidden] { display: none; }
@media (max-width: 767px) {
    .front-content-section { padding: 48px 20px; font-size: 16px; }
    .sub > .front-content-section { padding-top: 120px; }
    .front-media-grid, .front-main-product { grid-template-columns: 1fr; }
    .front-content-section h2 { font-size: 28px; }
    .front-hero-copy { padding: 140px 24px 100px; }
    .front-hero-copy p { font-size: 18px; }
    .front-filter-form label { width: 100%; }
    .front-popup-pc { display: none; }
    .front-popup-mobile { display: block; }
    .front-popup-controls button { padding: 8px; }
}

.front-hero-controls button { color: #fff; background: rgba(0,0,0,.65); border-color: #ddd; font-size: 16px; }
.front-hero .btn { color: #fff; background: rgba(0,0,0,.5); padding: 12px 24px; border: 1px solid #ddd; font-size: 18px; }

.front-pagination button:disabled { opacity: .4; cursor: default; }

/* 퍼블리싱 컴포넌트에 실제 폼·동적 데이터를 연결하는 최소 보정. */
.type-intro .tit .front-type-heading { font-family: var(--font-family-eng); font-size: var(--type-h2); font-weight: var(--font-weight-semibold); line-height: var(--lh-display); color: var(--color-text-default-highest); }
.front-support-select { position: relative; }
.front-support-select .front-native-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.front-support-select:focus-within { outline: 2px solid #0879e8; outline-offset: 2px; }
.front-support-page .tab-primary { text-decoration: none; }
.front-support-page .pagination__item { text-decoration: none; }
.front-support-page .pagination__item:disabled { opacity: .3; }
.front-support-page .board-file__download:disabled { opacity: .3; }
.front-clear-search { font: inherit; font-size: var(--type-b4); color: var(--color-text-default-medium); text-decoration: underline; }
.detail-area .body .editor { overflow-wrap: anywhere; overflow-x: auto; }
.detail-area .body .editor img { max-width: 100%; height: auto; }
.front-support-filter [hidden] { display: none; }
.front-sub .pd-features__text, .front-sub .spec-list__row dd { min-width: 0; overflow-wrap: anywhere; overflow-x: auto; }
.front-sub .pd-features__text img, .front-sub .spec-list__row dd img { max-width: 100%; height: auto; }
/* FO-ETC-03-01-001 브라우저 업데이트 안내 — 메인 팝업(.pop-main, z-index 200) 위 · 로딩(300) 아래 */
.layer-popup.pop-browser { z-index: 201; }
/* 퍼블 style.css 의 `.sub:has(.solcta-area:last-child) + footer` 는 <main> 래퍼 때문에 footer 와 형제가 아니라 적용되지 않는다. 같은 규칙을 main 기준으로 보강 */
main:has(> .sub > .solcta-area:last-child) + footer { margin-top: 0; }
