@charset "utf-8";

/* =================================================================
   doorweb_modern — layout.css
   ================================================================= */

:root {
    /* 컬러 토큰 */
    --ink:         #1a2332;
    --ink-soft:    #4a5568;
    --ink-muted:   #8592a3;
    --line:        #e3e8ef;
    --line-soft:   #eef2f6;
    --paper:       #ffffff;
    --canvas:      #f7f9fc;
    --mist:        #edf2f7;

    --sky-50:      #f0f6fc;
    --sky-100:     #dbeaf8;
    --sky-200:     #b8d4ed;
    --sky-400:     #5a8ab8;
    --sky-600:     #3a6d9a;

    --accent:      #607d8b;
    --accent-soft: #eceff1;
    --accent-dark: #455a64;

    --shadow-sm:   0 1px 3px rgba(26,35,50,0.04), 0 1px 2px rgba(26,35,50,0.03);
    --shadow-md:   0 4px 16px rgba(26,35,50,0.06), 0 2px 4px rgba(26,35,50,0.04);
    --shadow-lg:   0 16px 48px rgba(26,35,50,0.08), 0 4px 12px rgba(26,35,50,0.05);
    --shadow-hero: 0 32px 80px rgba(58,109,154,0.16);

    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Fraunces', 'Pretendard', serif;

    --container: 1280px;
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;

    --header-h: 80px;
}

/* ——— Reset ——— */
html, body { min-height: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
button { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.clearBoth { position: relative; }
.clearBoth:after { content: ""; display: block; clear: both; }

/* skip links */
.skip { margin: 0; }
.skip a {
    display: block;
    text-align: center;
    line-height: 0; height: 0; width: 0;
    overflow: hidden;
}
.skip a:active, .skip a:focus {
    position: relative; height: auto; width: auto;
    line-height: 25px;
}

/* 공통 컨테이너 */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* =================================================================
   HEADER
   ================================================================= */
.xe { padding-top: var(--header-h); }

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line-soft);
    transition: padding 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.92);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 브랜드 */
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo { max-height: 44px; width: auto; }
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--sky-200), var(--accent) 80%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.brand-mark::after {
    content: '';
    position: absolute;
    top: 15%; left: 20%;
    width: 30%; height: 30%;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    filter: blur(4px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .ko {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.brand-text .en {
    font-family: var(--font-display);
    font-size: 11px;
    font-style: italic;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
}

/* GNB */
.gnb { flex: 1; }
.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav > li {
    position: relative;
    white-space: nowrap;
}
.nav > li > a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.2s ease;
}
.nav > li:hover > a,
.nav > li.active > a {
    color: var(--ink);
    background: var(--accent-soft);
}
.nav .caret {
    font-size: 9px;
    margin-left: 4px;
    opacity: 0.6;
}

/* 드롭다운 */
.submenu, .submenu-3 {
    position: absolute;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 5;
}
.submenu {
    top: calc(100% + 4px);
    left: 0;
}
.submenu-3 {
    top: -9px;
    left: calc(100% + 4px);
}
.nav > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu li:hover > .submenu-3 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu a, .submenu-3 a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ink-soft);
    border-radius: 6px;
    transition: all 0.15s ease;
}
.submenu a:hover, .submenu-3 a:hover,
.submenu a.active, .submenu-3 a.active {
    color: var(--ink);
    background: var(--sky-50);
}

/* 헤더 유틸 */
.header-utils {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: all 0.2s ease;
    text-decoration: none;
}
.icon-btn:hover {
    background: var(--accent-soft);
    color: var(--ink);
}
.mobile-menu-toggle { display: none; }

/* 검색 오버레이 */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 0;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 8px 32px rgba(26,35,50,0.08);
}
.search-overlay.open { transform: translateY(0); }
.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.search-form input[type="text"] {
    flex: 1;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -0.02em;
    border: 0;
    border-bottom: 2px solid var(--line);
    padding: 16px 0;
    background: transparent;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}
.search-form input[type="text"]:focus { border-bottom-color: var(--accent); }
.search-form input[type="text"]::placeholder { color: var(--ink-muted); }
.search-form button[type="submit"] {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    transition: all 0.2s ease;
}
.search-form button[type="submit"]:hover { background: var(--accent-dark); }
.search-close {
    position: absolute;
    right: 0; top: -60px;
    width: 44px; height: 44px;
    border-radius: 50%;
    color: var(--ink-soft);
    background: var(--mist);
    transition: all 0.2s ease;
}
.search-close:hover { background: var(--line); color: var(--ink); }

/* 모바일 메뉴 */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: var(--paper);
    padding: calc(var(--header-h) + 20px) 0 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav { padding: 20px 0; }
.mobile-nav .m-nav-item {
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.mobile-nav .m-first {
    display: block;
    padding: 18px 50px 18px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.mobile-nav .m-nav-item.active > .m-first { color: var(--accent-dark); }
.m-toggle {
    position: absolute;
    right: 0; top: 12px;
    width: 44px; height: 44px;
    border-radius: 50%;
    color: var(--ink-muted);
    transition: all 0.25s ease;
}
.m-toggle.open { transform: rotate(45deg); color: var(--accent-dark); }
.m-submenu, .m-submenu-3 {
    display: none;
    padding: 0 0 16px 16px;
}
.m-submenu.open { display: block; }
.m-submenu > li > a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.m-submenu-3 > li > a {
    padding: 8px 0 8px 12px;
    font-size: 13px;
    color: var(--ink-muted);
    position: relative;
}
.m-submenu-3 > li > a::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0.5;
}

/* =================================================================
   페이지 인트로 (브레드크럼)
   ================================================================= */
.page-intro {
    padding: 36px 0 28px;
    background: linear-gradient(180deg, var(--sky-50) 0%, var(--canvas) 100%);
    border-bottom: 1px solid var(--line-soft);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--ink-muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb a:last-child { color: var(--ink); font-weight: 500; }

.page-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ink);
}

/* =================================================================
   BODY 레이아웃
   ================================================================= */
.body { padding: 0 0 40px; }
.body.has_breadclumb { padding-top: 40px; }
.c .body, .c.c_wide_xe .body { padding-top: 0; }

.in_body {
    display: grid;
    gap: 48px;
}
.ce .in_body { grid-template-columns: 1fr 280px; }
.ec .in_body { grid-template-columns: 280px 1fr; }
.c .in_body { grid-template-columns: 1fr; }
.mobile_xe .in_body { grid-template-columns: 1fr !important; }

.ec .wrap_lnb { order: -1; }

.wrap_lnb { min-width: 0; }
.wrap_content { min-width: 0; }

.in_content { padding: 0; }
.content_white .content {
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    padding: 40px;
}

/* =================================================================
   LNB (사이드바 로컬 메뉴)
   ================================================================= */
.lnb {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.lnb-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}
.lnb-title a { color: var(--ink); }
.lnb-list > li {
    position: relative;
    padding: 6px 0;
    border-bottom: 1px solid var(--line-soft);
}
.lnb-list > li:last-child { border-bottom: 0; }
.lnb-list > li > a {
    display: block;
    padding: 8px 32px 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.lnb-list > li > a:hover,
.lnb-list > li.active > a { color: var(--accent-dark); }
.lnb-toggle {
    position: absolute;
    top: 8px; right: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    color: var(--ink-muted);
    font-size: 11px;
    transition: all 0.25s ease;
}
.lnb-toggle:hover { background: var(--mist); color: var(--ink); }
.lnb-toggle.open { transform: rotate(45deg); }
.lnb-sub {
    display: none;
    padding: 4px 0 12px 12px;
}
.lnb-sub.open { display: block; }
.active > .lnb-sub { display: block; }
.lnb-sub > li > a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-muted);
    transition: color 0.2s ease;
}
.lnb-sub > li > a:hover,
.lnb-sub > li > a.active { color: var(--accent-dark); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
    margin-top: 40px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}
.footer-brand .brand-text .ko { color: white; }
.footer-brand p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 380px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a,
.footer-col .footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}
.footer-col ul a:hover,
.footer-col .footer-links a:hover { color: white; }
.footer-links p { margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom .copyright { max-width: 600px; }
.footer-bottom .stats { display: flex; gap: 24px; }
.footer-bottom .stats .widgetContainer { width: auto; }
.footer-bottom .stats .widgetCounter {
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    align-items: baseline;
}
.footer-bottom .stats .widgetCounter dt,
.footer-bottom .stats .widgetCounter dd {
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: inline;
    font-weight: normal;
}
.footer-bottom .stats .widgetCounter dt { margin-left: 12px; }
.footer-bottom .stats .widgetCounter dt:first-child { margin-left: 0; }
.footer-bottom .stats .widgetCounter dd {
    color: white;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    margin-left: 4px;
}

/* =================================================================
   SCROLL UP
   ================================================================= */
#scrollUp {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 50;
    transition: all 0.25s ease;
}
#scrollUp.show { display: flex; }
#scrollUp:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* =================================================================
   섹션 공통 (main.html에서 사용)
   ================================================================= */
.dw-section {
    padding: 40px 0;
    position: relative;
}
.dw-section.section-alt { background: var(--paper); }
.dw-section.section-mist { background: var(--mist); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 24px;
}
.section-title .label {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ink);
}
.section-title p {
    margin-top: 14px;
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 15px;
}
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    padding-bottom: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.section-link:hover {
    color: var(--ink);
    gap: 12px;
}
.section-link i { font-size: 11px; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    background: linear-gradient(180deg, var(--sky-50) 0%, var(--canvas) 100%);
    overflow: hidden;
    margin-bottom: 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--sky-100) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 32px 0 40px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.kicker .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: dw-pulse 2s ease-in-out infinite;
}
@keyframes dw-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 22px;
}
.hero-text .lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
    text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26,35,50,0.18);
    color: white;
}
.btn-ghost { color: var(--ink-soft); padding: 13px 0; }
.btn-ghost:hover { color: var(--ink); gap: 12px; }

/* ─── 히어로 캐러셀 (단일 통합 규칙) ─── */
.hero-carousel {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hero);
    background: var(--mist);
}
.hero-carousel .swiper { width: 100%; height: 100%; }

/* swiper-slide와 그 안의 모든 자식이 카드 전체를 채우도록 */
.hero-carousel .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.hero-carousel .swiper-slide > a,
.hero-carousel .hero-slide > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* hero-slide의 그라디언트 오버레이와 메타 */
.hero-slide { position: relative; overflow: hidden; }
.hero-slide > a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.7) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}
.hero-slide .slide-meta {
    position: absolute;
    left: 28px; right: 28px;
    bottom: 30px;
    z-index: 2;
    color: white;
    pointer-events: none;
}
.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: white;
}
.hero-slide h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: white;
}
.hero-slide .slide-sub {
    font-size: 13px;
    opacity: 0.85;
}

/* 라이믹스 위젯 wrapper가 swiper 구조를 깨지 않도록 */
.hero-carousel .swiper-wrapper > .xe-widget-wrapper,
.hero-carousel .swiper-wrapper > .xe-widget-wrapper > div {
    display: contents;
}

/* 히어로 스와이퍼 컨트롤 */
.hero-carousel .swiper-button-prev,
.hero-carousel .swiper-button-next {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    top: 28px;
    margin-top: 0;
    transition: background 0.2s ease;
    z-index: 10;
}
.hero-carousel .swiper-button-prev { right: 76px; left: auto; }
.hero-carousel .swiper-button-next { right: 28px; }
.hero-carousel .swiper-button-prev:hover,
.hero-carousel .swiper-button-next:hover {
    background: rgba(255,255,255,0.4);
}
.hero-carousel .swiper-button-prev::after,
.hero-carousel .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}
.hero-carousel .swiper-pagination { bottom: 14px; z-index: 10; }
.hero-carousel .swiper-pagination-bullet {
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 3px !important;
}
.hero-carousel .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 3px;
    background: rgba(255,255,255,0.95);
}

/* =================================================================
   메인 섹션 — 위젯 스타일들
   ================================================================= */

/* [스타일: feature] 피처 그리드 — 대형 1 + 서브 4 */
.dw-feature-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.dw-feature-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
}
.dw-feature-card:hover { transform: translateY(-4px); }
.dw-feature-card.feature {
    grid-row: 1 / 3;
    aspect-ratio: auto;
}
.dw-feature-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.dw-feature-card:hover img { transform: scale(1.05); }
.dw-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(26,35,50,0.85) 0%,
        rgba(26,35,50,0.15) 45%,
        transparent 100%);
}
.dw-feature-card .meta {
    position: absolute;
    inset: auto 24px 24px 24px;
    color: white;
    z-index: 1;
}
.dw-feature-card .tag {
    display: inline-flex;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.dw-feature-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: white;
}
.dw-feature-card.feature h3 { font-size: 26px; }
.dw-feature-card.feature .meta p {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
    max-width: 400px;
}

/* [스타일: cards] 카드 그리드 3×2 */
.dw-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dw-card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.dw-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line);
    color: inherit;
}
.dw-card .thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mist);
}
.dw-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.dw-card:hover .thumb img { transform: scale(1.04); }
.dw-card .thumb .placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky-400);
    font-size: 32px;
}
.dw-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.dw-card .cat {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 10px;
}
.dw-card h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dw-card .excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
    flex: 1;
}
.dw-card .meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--ink-muted);
}
.dw-card .meta .divider {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--ink-muted);
}

/* [스타일: list] 이미지 + 제목 + 내용 가로 목록 */
.dw-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.dw-list-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.dw-list-item:hover {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
    color: inherit;
}
.dw-list-item .thumb {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--mist);
}
.dw-list-item .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.dw-list-item .body { padding: 4px 0; min-width: 0; }
.dw-list-item h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--ink);
}
.dw-list-item .excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.dw-list-item .meta {
    font-size: 12px;
    color: var(--ink-muted);
}

/* [스타일: photos] 매소닉 갤러리 */
.dw-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}
.dw-photo-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--mist);
    display: block;
}
.dw-photo-item.s-wide { grid-column: span 2; }
.dw-photo-item.s-tall { grid-row: span 2; }
.dw-photo-item.s-large { grid-column: span 2; grid-row: span 2; }
.dw-photo-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dw-photo-item:hover img { transform: scale(1.06); }
.dw-photo-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.7), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.dw-photo-item:hover::after { opacity: 1; }
.dw-photo-item .caption {
    position: absolute;
    inset: auto 16px 14px 16px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
    z-index: 1;
}
.dw-photo-item:hover .caption {
    opacity: 1;
    transform: translateY(0);
}

/* [스타일: videos] 동영상 카드 */
.dw-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dw-video-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.dw-video-card:hover { color: inherit; }
.dw-video-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    margin-bottom: 16px;
}
.dw-video-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: all 0.3s ease;
}
.dw-video-card:hover .dw-video-thumb img {
    opacity: 1;
    transform: scale(1.03);
}
.dw-video-thumb .play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 16px;
    padding-left: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}
.dw-video-card:hover .dw-video-thumb .play {
    transform: translate(-50%, -50%) scale(1.08);
}
.dw-video-info h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dw-video-info .meta {
    font-size: 12px;
    color: var(--ink-muted);
}

/* [스타일: dual] 2단 목록 패널 */
.dw-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.dw-panel {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--line-soft);
}
.dw-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
}
.dw-panel-head h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.dw-panel-head a {
    font-size: 12px;
    color: var(--ink-muted);
    transition: color 0.2s ease;
}
.dw-panel-head a:hover { color: var(--ink); }
.dw-post-list { list-style: none; margin: 0; padding: 0; }
.dw-post-list li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--line-soft);
}
.dw-post-list li:last-child { border-bottom: 0; }
.dw-post-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    text-decoration: none;
    line-height: 1.4;
}
.dw-post-list .num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--accent);
    min-width: 22px;
    flex-shrink: 0;
    line-height: 1.2;
}
.dw-post-list .body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dw-post-list .title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dw-post-list a:hover .title { color: var(--accent-dark); }
.dw-post-list .meta {
    font-size: 11px;
    color: var(--ink-muted);
    line-height: 1.3;
}

/* [스타일: simple] 심플 제목 목록 */
.dw-simple-list {
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    overflow: hidden;
}
.dw-simple-list li {
    border-bottom: 1px solid var(--line-soft);
}
.dw-simple-list li:last-child { border-bottom: 0; }
.dw-simple-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    transition: background 0.2s ease;
}
.dw-simple-list a:hover { background: var(--sky-50); }
.dw-simple-list .title {
    font-size: 14px;
    color: var(--ink);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dw-simple-list .meta {
    font-size: 12px;
    color: var(--ink-muted);
    flex-shrink: 0;
}

/* =================================================================
   반응형
   ================================================================= */
@media (max-width: 1060px) {
    .ce .in_body, .ec .in_body { grid-template-columns: 1fr; }
    .ec .wrap_lnb { order: 0; }
    .wrap_lnb { display: none; }
    .mobile_xe .wrap_lnb { display: none; }

    .nav { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .icon-btn.act_search { display: none; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
    .hero-carousel { aspect-ratio: 16 / 11; }

    .dw-feature-grid { grid-template-columns: 1fr 1fr; }
    .dw-feature-card.feature { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 9; }
    .dw-card-grid { grid-template-columns: repeat(2, 1fr); }
    .dw-photo-grid { grid-template-columns: repeat(3, 1fr); }
    .dw-video-grid { grid-template-columns: repeat(2, 1fr); }
    .dw-dual-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .container { padding: 0 20px; }
    .site-header { padding: 14px 0; }
    .brand-text .en { display: none; }
    .brand-text .ko { font-size: 15px; }
    .brand-mark { width: 32px; height: 32px; }

    .body { padding: 0 0 32px; }
    .page-intro { padding: 24px 0 20px; }
    .content_white .content { padding: 24px; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom .stats { flex-wrap: wrap; gap: 14px; }

    .search-form input[type="text"] { font-size: 24px; }
    .search-overlay { padding: 90px 0; }
    .search-close { top: 24px; right: 20px; }

    .dw-section { padding: 32px 0; }
    .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 20px; }

    .hero-inner { gap: 32px; padding: 40px 0; }
    .hero-carousel { aspect-ratio: 4 / 3; }
    .hero-slide .slide-meta { left: 18px; right: 18px; bottom: 20px; }
    .hero-slide h3 { font-size: 18px; }
    .hero-carousel .swiper-button-prev,
    .hero-carousel .swiper-button-next { display: none; }

    .dw-feature-grid { grid-template-columns: 1fr; }
    .dw-feature-card.feature { grid-column: auto; aspect-ratio: 4 / 3; }
    .dw-card-grid { grid-template-columns: 1fr; gap: 20px; }
    .dw-list-item { grid-template-columns: 1fr; }
    .dw-list-item .thumb { max-width: none; }
    .dw-photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .dw-photo-item.s-large, .dw-photo-item.s-wide { grid-column: auto; }
    .dw-video-grid { grid-template-columns: 1fr; gap: 24px; }
    .dw-panel { padding: 24px; }
}

.hero-carousel a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}
.hero-carousel a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
