@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/*
 * DUMAINPAGE — 2026 리뉴얼 스타일 (modern.css)
 * 기존 마크업/JS 는 그대로 두고 이 파일 하나로 디자인만 덮어쓴다.
 * - 모든 셀렉터는 #tiles 로 시작 → 기존 CSS 가 body 안에서 늦게 로드돼도 이 규칙이 우선 적용됨
 * - 이 파일을 빼면 기존 디자인으로 바로 원복
 */

:root {
    --m-primary:     #2f5bea;
    --m-primary-600: #2247c4;
    --m-primary-50:  #eef2fe;
    --m-ink:         #0f172a;
    --m-text:        #334155;
    --m-muted:       #64748b;
    --m-line:        #e2e8f0;
    --m-line-soft:   #eef2f6;
    --m-bg-soft:     #f6f8fb;
    --m-footer:      #0b1220;

    --m-radius:      16px;
    --m-radius-sm:   10px;
    --m-shadow-sm:   0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
    --m-shadow-md:   0 18px 40px -12px rgba(15, 23, 42, .22);
    --m-ease:        cubic-bezier(.2, .7, .2, 1);
    --m-content-max: 1240px;

    --m-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
              'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

    /* variables.css 토큰 재정의 → 이 변수를 쓰는 board/customer CSS 에 일괄 반영 */
    --color-primary:        #2f5bea;
    --color-primary-dark:   #2247c4;
    --color-accent:         #2f5bea;
    --color-bg:             #f6f8fb;
    --color-text:           #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted:     #64748b;
    --color-border:         #e2e8f0;
    --color-border-light:   #eef2f6;
    --color-border-dark:    #d5dde8;
    --radius-sm:   8px;
    --radius-base: 12px;
    --radius-lg:   16px;
    --font-family: var(--m-font);
}

/* 페이지별로 흩어진 나눔고딕 지정을 Pretendard 로 통일
   (아이콘 폰트, 게시글 본문/에디터 안의 사용자 서식은 제외) */
#tiles :is(div, p, span, a, li, dt, dd, td, th, label, strong, b, em, small, button, input, select, textarea, table,
           h1, h2, h3, h4, h5, h6):not(.fa):not([class*="glyphicon"]):not([class*="note-icon"]):not(.note-editable *):not(.contentBody *) {
    font-family: var(--m-font) !important;
}

/* ── Base ─────────────────────────────────────────────── */
#tiles,
#tiles .body-layout,
#tiles h1, #tiles h2, #tiles h3, #tiles h4, #tiles h5, #tiles h6,
#tiles input, #tiles textarea, #tiles button {
    font-family: var(--m-font);
}
#tiles {
    color: var(--m-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#tiles .sub_link a,
#tiles .dropdown-toggle {
    font-family: var(--m-font) !important;
}

/* ── Header (PC) ──────────────────────────────────────── */
@media screen and (min-width: 992px) {
    #tiles .navbar-inverse {
        height: 80px;
        background: rgba(15, 23, 42, .28);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        transition: height .35s var(--m-ease), background-color .25s ease, box-shadow .25s ease;
    }
    #tiles .navbar-inverse.on {
        height: 340px;
        background: linear-gradient(to bottom, #fff 0, #fff 79px, var(--m-line) 79px, var(--m-line) 80px, #fafbfd 80px);
        border-bottom-color: var(--m-line);
        box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .25);
    }
    #tiles .navbar-brand {
        height: 80px;
        padding: 20px 15px;
    }
    #tiles .navbar-brand img {
        height: 40px;
        width: auto;
        padding: 0;
    }
    /* 로고(왼쪽) | 메뉴(화면 정중앙) | 로고와 같은 폭의 빈칸(오른쪽) */
    #tiles .navbar-inverse > .container {
        display: flex;
        align-items: flex-start;
        width: 100%;
        max-width: 1320px;
        padding: 0 24px;
    }
    #tiles .navbar-inverse > .container:before {
        display: none;
    }
    #tiles .navbar-inverse > .container:after {
        content: '';
        display: block;
        flex: 0 0 240px;
    }
    #tiles .navbar-inverse .navbar-header {
        float: none;
        flex: 0 0 240px;
    }
    #tiles .navbar-inverse .navbar-brand {
        margin-left: 0;
        padding-left: 0;
    }
    #tiles .navbar-inverse .navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: center;
        padding: 0;
        text-align: center;
    }
    #tiles .navbar-inverse .navbar-nav {
        display: flex;
        margin: 0;
    }
    #tiles .navbar-inverse .navbar-nav > li > a {
        padding: 30px 12px;
        min-width: 150px;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -.01em;
        line-height: 20px;
        text-align: center;
        color: #fff;
    }
    /* 하위 메뉴는 각 메뉴 글자 바로 아래 가운데 정렬 */
    #tiles .nav.navbar-nav li .dropdown-menu {
        left: 50%;
        right: auto;
        min-width: 100%;
        transform: translateX(-50%);
    }
    #tiles .nav.navbar-nav li .dropdown-menu li a {
        text-align: center;
        white-space: nowrap;
    }
    #tiles .navbar-inverse.on .navbar-nav > li > a {
        color: var(--m-ink);
    }
    #tiles .navbar-inverse .navbar-nav > li > a:hover,
    #tiles .navbar-inverse .navbar-nav > li:hover > a,
    #tiles .navbar-inverse .navbar-nav > .open > a {
        color: var(--m-primary);
        background: transparent;
    }
    #tiles .navbar-inverse .navbar-nav:hover .dropdown-menu {
        height: auto;
        padding-top: 14px;
    }
    #tiles .nav.navbar-nav li .dropdown-menu li a {
        padding: 9px 12px;
        font-size: 15px;
        font-weight: 500;
        color: var(--m-muted);
    }
}

/* ── Header (모바일/태블릿) ───────────────────────────── */
@media (max-width: 991px) {
    #tiles .navbar-inverse,
    #tiles .navbar-inverse > .container {
        background: #fff;
    }
    #tiles .navbar-inverse {
        border-bottom: 1px solid var(--m-line);
        box-shadow: var(--m-shadow-sm);
    }
    #tiles .navbar-toggle .icon-bar {
        background: var(--m-ink) !important;
        border-radius: 2px;
    }
    #tiles .navbar-inverse .navbar-nav > li > a {
        color: var(--m-ink);
        font-weight: 600;
    }
    #tiles .navbar-inverse .navbar-nav > .open > a,
    #tiles .navbar-inverse .navbar-nav > .open > a:hover,
    #tiles .navbar-inverse .navbar-nav > .open > a:focus {
        background: var(--m-primary-50);
        color: var(--m-primary);
    }
    #tiles .nav.navbar-nav li .dropdown-menu {
        background: var(--m-bg-soft);
    }
}
#tiles .sub_link a:hover {
    color: var(--m-primary) !important;
}

/* ── Hero 슬라이드 ────────────────────────────────────── */
#tiles .main_container_img > .fill,
#tiles .carousel-inner .item .fill {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 920px;
}
#tiles .carousel-inner .item .fill:before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background:
        linear-gradient(90deg, rgba(8, 15, 35, .82) 0%, rgba(8, 15, 35, .5) 45%, rgba(8, 15, 35, .1) 100%),
        linear-gradient(0deg, rgba(8, 15, 35, .55) 0%, rgba(8, 15, 35, 0) 40%);
}
#tiles .carousel-caption {
    width: 90%;
    max-width: var(--m-content-max);
    padding: 0 20px;
    text-align: left;
    text-shadow: none;
}
#tiles .carousel-caption:before {
    content: 'DU C&IT  ·  SINCE 2000';
    display: inline-block;
    margin-bottom: 24px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    white-space: pre;
    color: rgba(255, 255, 255, .9);
}
#tiles #myCarousel .carousel-caption span {
    text-shadow: none;
}
#tiles .carousel-caption h1 {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.035em;
}
#tiles .carousel-caption p {
    margin-top: 20px;
    font-size: clamp(16px, 1.6vw, 21px);
    font-weight: 400;
    color: rgba(255, 255, 255, .82);
}
#tiles .carousel-inner .item.active .carousel-caption:before,
#tiles .carousel-inner .item.active .carousel-caption h1,
#tiles .carousel-inner .item.active .carousel-caption p {
    animation: m-rise .9s var(--m-ease) both;
}
#tiles .carousel-inner .item.active .carousel-caption h1 { animation-delay: .08s; }
#tiles .carousel-inner .item.active .carousel-caption p  { animation-delay: .18s; }

@keyframes m-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* 좌/우 버튼 — glyphicon 폰트가 없어 CSS 로 화살표를 그림 */
#tiles .carousel-control.left,
#tiles .carousel-control.right {
    top: 50%;
    bottom: auto;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 1;
    transition: background-color .2s ease, border-color .2s ease;
}
#tiles .carousel-control.left  { left: 32px; }
#tiles .carousel-control.right { right: 32px; }
#tiles .carousel-control:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .6);
}
#tiles .carousel-control:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    margin: -6px 0 0 -3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
#tiles .carousel-control.right:before {
    margin-left: -8px;
    transform: rotate(-135deg);
}

#tiles .carousel-indicators {
    bottom: 40px;
}

/* 다음 슬라이드까지 남은 시간 게이지
   - home.jsp interval 3500ms, 슬라이드 전환 0.6s 후 .active 가 붙으므로 2.9s 동안 채움
   - 마우스를 올리면 Bootstrap 이 슬라이드를 멈추므로 게이지도 숨김 → 마우스를 떼면 처음부터 다시 */
#tiles #myCarousel .item.active .fill:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 3px;
    background: rgba(255, 255, 255, .12)
        linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .75))
        no-repeat left center / 0% 100%;
    animation: m-progress 2.9s linear forwards;
}
#tiles #myCarousel:hover .item.active .fill:after {
    animation: none;
    opacity: 0;
}
@keyframes m-progress {
    to { background-size: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #tiles #myCarousel .item.active .fill:after {
        display: none;
    }
}
#tiles .carousel-indicators li,
#tiles .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    transition: width .35s var(--m-ease), background-color .2s ease;
}
#tiles .carousel-indicators li.active {
    width: 28px;
    background: #fff;
}

/* ── 공통 섹션 타이틀 ─────────────────────────────────── */
#tiles .main-content .title {
    margin-bottom: 48px;
}
#tiles .main-content .title h3 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--m-ink);
}
#tiles .main-content .title h3:before {
    content: 'BUSINESS';
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--m-primary);
}

/* ── 주요사업분야 카드 ────────────────────────────────── */
#tiles .main-content .main-business {
    padding: 120px 0;
    background: var(--m-bg-soft);
}
#tiles .main-business .container {
    width: auto;
    max-width: var(--m-content-max);
    padding: 0 20px;
}
#tiles .main-business .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: auto;
    margin: 0;
}
#tiles .main-business .row:before,
#tiles .main-business .row:after {
    display: none;
}
#tiles .main-business .row > div {
    float: none;
    width: auto;
    padding: 0;
}
#tiles .main-business .row > .title {
    grid-column: 1 / -1;
}
/* 7개 카드 → 마지막(티피링크) 카드를 2칸으로 펼쳐 빈칸 없이 정렬 */
#tiles .main-business .m-business-box:last-child {
    grid-column: span 2;
}
#tiles .main-business .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    box-shadow: var(--m-shadow-sm);
    transition: transform .4s var(--m-ease), box-shadow .4s var(--m-ease), border-color .2s ease;
}
#tiles .main-business .inner:hover {
    transform: translateY(-6px);
    border-color: transparent;
    background: #fff;
    box-shadow: var(--m-shadow-md);
}
#tiles .main-business .img-box {
    height: 190px;
    overflow: hidden;
    background: var(--m-line-soft);
}
#tiles .main-business img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .7s var(--m-ease);
}
#tiles .main-business .inner:hover img {
    opacity: 1;
    transform: scale(1.06);
}
#tiles .main-business .img-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--m-ink);
}
#tiles .main-business .img-caption:after {
    content: '';
    width: 8px;
    height: 8px;
    margin: 0 4px 0 auto;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .35;
    transition: transform .3s var(--m-ease), opacity .2s ease;
}
#tiles .main-business .img-caption span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: var(--m-radius-sm);
    background: var(--m-primary-50);
    color: var(--m-primary);
    font-size: 13px;
    font-weight: 800;
    transition: background-color .2s ease, color .2s ease;
}
#tiles .main-business .inner:hover .img-caption {
    color: var(--m-primary);
}
#tiles .main-business .inner:hover .img-caption:after {
    opacity: 1;
    transform: translateX(4px) rotate(45deg);
}
#tiles .main-business .inner:hover .img-caption span {
    background: var(--m-primary);
    color: #fff;
}

/* ── 공지사항 / 수주정보 ──────────────────────────────── */
#tiles .main-content .main-bbs {
    padding: 110px 0 60px;
    background: #fff;
}
#tiles .main-content .main-bbs .container {
    width: auto;
    max-width: var(--m-content-max);
    padding: 0 20px;
}
#tiles .main-bbs .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}
#tiles .main-bbs .row:before,
#tiles .main-bbs .row:after {
    display: none;
}
#tiles .main-bbs .main-notice,
#tiles .main-bbs .main-order {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}
#tiles .main-bbs .intro-boardbox {
    height: 100%;
    min-height: 0;
    padding: 28px 30px 18px;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    box-shadow: none;
}
#tiles .intro-boardbox .page-header {
    margin: 0 0 6px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--m-line);
}
#tiles .intro-boardbox .page-header h4 {
    padding-right: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 34px;
    color: var(--m-ink);
}
#tiles .intro-boardbox .page-header h4:after {
    display: none;
}
#tiles .intro-boardbox .page-header h4 .btn,
#tiles .main-partner h3 .more {
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid var(--m-line);
    border-radius: 999px;
    background: #fff;
    color: var(--m-muted);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
#tiles .intro-boardbox .page-header h4 .btn:hover,
#tiles .main-partner h3 .more:hover {
    background: var(--m-primary);
    border-color: var(--m-primary);
    color: #fff;
}
#tiles .main-bbs .dh-front-list2 h6 a {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 -10px;
    padding: 14px 10px;
    border-bottom: 1px solid var(--m-line-soft);
    border-radius: 8px;
    transition: background-color .15s ease;
}
#tiles .main-bbs .dh-front-list2 h6:last-child a {
    border-bottom-color: transparent;
}
#tiles .main-bbs .dh-front-list2 h6 a:hover {
    background: var(--m-bg-soft);
}
#tiles .dh-front-list2 .list-row-subject {
    flex: 1 1 auto;
    float: none;
    min-width: 0;
    max-width: none;
    padding-left: 0 !important;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--m-text);
}
#tiles .dh-front-list2 .list-row-subject:before {
    display: none;
}
#tiles .dh-front-list2 h6 a:hover .list-row-subject {
    color: var(--m-primary);
}
#tiles .dh-front-list2 .list-row-regdate {
    flex: none;
    float: none;
    font-size: 13.5px !important;
    font-variant-numeric: tabular-nums;
    color: #94a3b8 !important;
}

/* ── 주요 협력사 ──────────────────────────────────────── */
#tiles .main-content .main-partner {
    padding: 60px 0 120px;
    background: #fff;
}
#tiles .main-partner .container {
    width: auto;
    max-width: var(--m-content-max);
    padding: 0 20px;
}
#tiles .main-partner h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--m-ink);
}
#tiles .main-partner h3:after {
    display: none;
}
#tiles .main-partner .bxslider .item {
    height: 88px;
    border: 1px solid var(--m-line);
    border-radius: 12px;
}
#tiles .main-partner .bxslider .item img {
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .3s ease, opacity .3s ease;
}
#tiles .main-partner .bxslider .item:hover img {
    filter: none;
    opacity: 1;
}

/* ── Footer ───────────────────────────────────────────── */
#tiles .footer_copy > div {
    padding: 64px 0 36px;
    background: var(--m-footer);
    color: #94a3b8;
}
#tiles .footer_copy .container {
    max-width: var(--m-content-max);
}
#tiles .footer_copy .foot-logo {
    max-width: 170px;
    opacity: .9;
}
#tiles .footer_copy ul {
    margin-bottom: 0;
}
#tiles .footer_copy li {
    font-size: 14px;
    color: #94a3b8;
    border-right-color: rgba(255, 255, 255, .12);
}
#tiles .footer_copy li strong {
    color: #fff;
}
#tiles .footer_copy .footer-office {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 0;
}
#tiles .footer_copy .footer-office li {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    line-height: 1.55;
}
#tiles .footer-office .office-name {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
#tiles .footer-office .office-name:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: var(--m-primary);
    vertical-align: middle;
}
#tiles .footer_copy .copy {
    margin: 32px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
    color: #64748b;
}

/* ── 반응형 ───────────────────────────────────────────── */
@media screen and (min-width: 992px) and (max-width: 1279px) {
    #tiles .navbar-inverse .navbar-header {
        flex-basis: 200px;
    }
    #tiles .navbar-inverse > .container:after {
        flex-basis: 200px;
    }
    #tiles .navbar-inverse .navbar-nav > li > a {
        min-width: 0;
        padding: 30px 18px;
        font-size: 16px;
    }
}
@media (max-width: 1199px) {
    #tiles .main-business .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    /* 3열에서는 7번째 카드가 혼자 남으므로 한 줄 전체로 */
    #tiles .main-business .m-business-box:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 991px) {
    #tiles .main-business .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #tiles .main-bbs .row {
        grid-template-columns: minmax(0, 1fr);
    }
    #tiles .footer_copy .footer-office {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 767px) {
    #tiles .main_container_img > .fill,
    #tiles .carousel-inner .item .fill {
        height: 62vh;
        min-height: 420px;
    }
    #tiles .carousel-caption:before {
        margin-bottom: 16px;
        font-size: 11px;
    }
    #tiles .carousel-indicators {
        bottom: 24px;
    }
    #tiles .main-content .main-business,
    #tiles .main-content .main-bbs {
        padding: 64px 0;
    }
    #tiles .main-content .main-partner {
        padding: 24px 0 64px;
    }
    #tiles .main-content .title {
        margin-bottom: 32px;
    }
    #tiles .main-business .row {
        gap: 12px;
    }
    #tiles .main-business .img-box {
        height: 120px;
    }
    #tiles .main-business .img-caption {
        gap: 8px;
        padding: 12px;
        font-size: 14.5px;
    }
    #tiles .main-business .img-caption span {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    #tiles .main-business .img-caption:after {
        display: none;
    }
    #tiles .main-bbs .intro-boardbox {
        padding: 22px 20px 12px;
    }
    #tiles .footer_copy > div {
        padding: 44px 16px 28px;
    }
}


/* ═══════════════════════════════════════════════════════════
   서브페이지 공통
   ═══════════════════════════════════════════════════════════ */

/* ── 상단 배너 (.ceoInfoHead) ─────────────────────────────── */
#tiles .ceoInfoHead {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    padding: 80px 20px 0;
    background: #0f172a url("/resources/img/etcImg/company_back.jpg") no-repeat center / cover;
    overflow: hidden;
}
#tiles .ceoInfoHead:before {
    content: '';
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(120deg, rgba(8, 15, 35, .88) 0%, rgba(20, 40, 110, .72) 55%, rgba(47, 91, 234, .45) 100%);
}
#tiles .ceoInfoHead:after {
    display: none;
}
#tiles .ceoInfoHead > div {
    position: relative;
    z-index: 1;
    height: auto !important;
    margin: 0;
    text-align: center;
}
#tiles .ceoInfoHead h2,
#tiles .ceoInfoHead > div h2 {
    margin: 0 !important;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff !important;
    text-shadow: none !important;
}
#tiles .ceoInfoHead h2:before {
    content: 'DU C&IT';
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .24em;
    color: rgba(255, 255, 255, .65);
}

/* ── 페이지 타이틀 (배너 아래 h2 + 설명) ──────────────────── */
#tiles #body > h2.text-center {
    margin: 0;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--m-ink);
}
#tiles #body > p.text-center {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--m-muted);
}
#tiles #body > p.text-center strong {
    color: var(--m-primary);
    font-weight: 600;
}
html body:has(#tiles .mainBody),
html body:has(#tiles .bbs-area) {
    background: var(--m-bg-soft);
}

/* ── 버튼 / 입력 / 페이지네이션 (서브페이지 공통) ────────── */
#tiles #body .btn {
    border-radius: var(--m-radius-sm) !important;
    font-weight: 600;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#tiles #body .btn-primary,
#tiles #body .btn-success,
#tiles .mainBody .btn,
#tiles .page .btn {
    background: var(--m-primary);
    border-color: var(--m-primary);
    color: #fff !important;
}
#tiles #body .btn-primary:hover,
#tiles #body .btn-success:hover,
#tiles .mainBody .btn:hover,
#tiles .page .btn:hover,
#tiles .mainBody .btn:focus,
#tiles .page .btn:focus {
    background: var(--m-primary-600);
    border-color: var(--m-primary-600);
    color: #fff !important;
}
#tiles #body .btn-default {
    background: #fff;
    border-color: var(--m-line);
    color: var(--m-text) !important;
}
#tiles #body .btn-default:hover {
    background: var(--m-bg-soft);
    border-color: #cbd5e1;
}
#tiles #body .form-control {
    border-color: #d5dde8;
    border-radius: var(--m-radius-sm);
    box-shadow: none;
    color: var(--m-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
#tiles #body .form-control:focus {
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(47, 91, 234, .14);
    outline: none;
}
#tiles #body .pagination > li > a,
#tiles #body .pagination > li > span {
    min-width: 36px;
    margin: 0 3px;
    border: 1px solid var(--m-line);
    border-radius: 8px !important;
    background: #fff;
    color: var(--m-text);
    text-align: center;
}
#tiles #body .pagination > li > a:hover {
    background: var(--m-primary-50);
    border-color: var(--m-primary-50);
    color: var(--m-primary);
}
#tiles #body .pagination > .active > a,
#tiles #body .pagination > .active > a:hover,
#tiles #body .pagination > .active > a:focus {
    background: var(--m-primary);
    border-color: var(--m-primary);
    color: #fff;
}

/* ── 게시판 목록 (boardList.css / customerList.css) ────────── */
#tiles .mainBody {
    max-width: var(--m-content-max);
}
#tiles .container > .table-responsive {
    padding: 8px 28px 12px;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow-sm);
}
#tiles .mainBody .table thead tr {
    border-top: 0;
    background: transparent;
}
#tiles .mainBody .table thead tr th {
    padding: 16px !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background: transparent;
    font-size: 13px;
    font-weight: 600 !important;
    color: var(--m-muted);
}
#tiles .mainBody .table tbody tr,
#tiles .mainBody .table tbody tr:nth-child(even) {
    background: transparent;
}
#tiles .mainBody .table tbody tr:hover {
    background: var(--m-bg-soft);
}
#tiles .mainBody .table td {
    padding: 16px !important;
    border-top: 1px solid var(--m-line-soft) !important;
    color: var(--m-muted);
}
#tiles .mainBody .table td a {
    font-weight: 600;
    color: var(--m-ink);
}
#tiles .mainBody .table td a:hover {
    color: var(--m-primary);
}

/* ── 게시글 상세 / 글쓰기 (board.css / customerboard.css) ─── */
#tiles .dh-view-box {
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow-sm);
}
#tiles .bbs-area .page-header {
    padding: 28px 32px !important;
    border-bottom: 1px solid var(--m-line) !important;
    background: #fff !important;
}
#tiles .bbs-area .page-header h4 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--m-ink);
}
#tiles .dh-view-info {
    padding: 12px 32px;
    border-bottom-color: var(--m-line);
    background: var(--m-bg-soft);
    color: var(--m-muted);
}
#tiles .contentBody {
    border-bottom-color: var(--m-line) !important;
    color: var(--m-text);
}
#tiles .footerBtn {
    background: var(--m-bg-soft);
    border-top-color: var(--m-line);
}
#tiles .fileDrop {
    border-color: #a5b8f3 !important;
    border-radius: var(--m-radius-sm) !important;
    background: var(--m-primary-50) !important;
    color: var(--m-primary) !important;
}
#tiles .uploadedList li a {
    color: var(--m-primary);
}
#tiles .note-editor.note-frame {
    border-color: #d5dde8 !important;
    border-radius: var(--m-radius-sm);
}

/* ── 상단 배너가 없는 페이지(원격지원 등): 헤더를 흰 배경으로 ── */
@media screen and (min-width: 992px) {
    #tiles:not(:has(.ceoInfoHead, .main_container_img)) .navbar-inverse {
        background: rgba(255, 255, 255, .94);
        border-bottom-color: var(--m-line);
    }
    #tiles:not(:has(.ceoInfoHead, .main_container_img)) .navbar-inverse .navbar-nav > li > a {
        color: var(--m-ink);
    }
    #tiles:not(:has(.ceoInfoHead, .main_container_img)) .navbar-inverse .navbar-nav > li:hover > a {
        color: var(--m-primary);
    }
}

/* ── 로그인 (board/login.jsp 의 인라인 어두운 박스 덮어쓰기) ── */
#tiles .container-fluid[style*="D8E6E7"],
#tiles .height100[style*="D8E6E7"],
#tiles .height200[style*="D8E6E7"] {
    background-color: var(--m-bg-soft) !important;
}
#tiles .form-signin {
    height: auto !important;
    max-width: 400px;
    padding: 40px 36px 36px;
    border: 1px solid var(--m-line);
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--m-shadow-md);
}
#tiles .form-signin h1 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--m-ink);
}
#tiles .form-signin .form-control {
    height: 48px;
    border-radius: var(--m-radius-sm);
}
#tiles .form-signin .txt_lab {
    color: var(--m-text) !important;
    font-size: 14px;
}
#tiles .form-signin .btn-block {
    height: 50px;
    margin-top: 16px;
    font-size: 16px;
}

/* ── 서브페이지 반응형 ────────────────────────────────────── */
@media (max-width: 991px) {
    #tiles .ceoInfoHead {
        height: 220px;
        padding-top: 70px;
    }
}
@media (max-width: 767px) {
    #tiles .ceoInfoHead {
        height: 180px;
    }
    #tiles .ceoInfoHead h2:before {
        margin-bottom: 8px;
        font-size: 11px;
    }
    #tiles #body > p.text-center {
        padding: 0 16px;
        font-size: 14px;
    }
    #tiles .container > .table-responsive {
        padding: 6px 10px;
    }
    #tiles .mainBody .table thead tr th,
    #tiles .mainBody .table td {
        padding: 12px !important;
    }
    #tiles .bbs-area .page-header {
        padding: 18px 18px !important;
    }
    #tiles .bbs-area .page-header h4 {
        font-size: 18px;
    }
    #tiles .dh-view-info {
        padding: 10px 18px;
    }
}

/* 견적/기술문의 댓글: 글자 그대로 출력되므로 줄바꿈 유지 */
#tiles .replyContent {
    white-space: pre-line;
}
