@charset "utf-8";

/* ============================================================
   SAVE-M Theme CSS — mrsys.co.kr Style
   ============================================================ */

/* ===== Webfont: SUIT ===== */
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: #333; line-height: 1.6; font-size: 15px; overflow-x: hidden; background: #fff; }
/* 한국어 페이지에만 SUIT 적용 */
html[lang="ko"] body { font-family: 'Suit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
a:hover { color: #ed6c00; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
.sound_only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Hide Gnuboard5 Default Elements ===== */
#skip_to_container { position: absolute; top: -9999px; left: -9999px; z-index: -1; }
#skip_to_container a { position: absolute; }
#win_layer, .win_layer, #hd_pop { display: none !important; }
#hd_pop h2, .hd_pop_title { display: none !important; }
#hd_login_msg { display: none; }

/* ===== Font Classes ===== */
.font-default {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.font-ja {
    font-family: 'Noto Sans JP', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}
.font-zh {
    font-family: 'Noto Sans SC', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Layout — 좌10% 우10% 여백 기준 ===== */
.layout {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10%;
    position: relative;
}

/* ===== Admin Login Message ===== */
#hd_login_msg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 4px 20px;
    text-align: right;
}
#hd_login_msg a { color: #ed6c00; margin-left: 10px; }

/* ============================================================
   HEADER — mrsys.co.kr style (white bg, always visible)
   ============================================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    height: 120px;
    border-bottom: 1px solid #eee;
}
#header .header-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 120px;
    padding: 0 5%;
}

/* Logo — left side, original color */
#logo {
    flex-shrink: 0;
    margin-right: 40px;
}
#logo a {
    display: flex;
    align-items: center;
}
#logo .logo-img {
    height: 36px;
    width: auto;
}
.logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #0068b7;
}

/* GNB Navigation — positioned to align with mega menu */
#gnb {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
}
#gnb > h2 { display: none; }
#gnb_1dul {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}
.gnb_1dli {
    position: relative;
}
.gnb_1da {
    display: block;
    padding: 28px 55px;
    font-size: 21px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    white-space: nowrap;
}
.gnb_1da:hover,
.gnb_1dli:hover .gnb_1da { color: #0068b7; }

/* ===== Mega Menu — full-width dropdown (mrsys style) ===== */
.mega-menu {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}
.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-inner {
    position: relative;
    padding: 25px 0;
    margin: 30px 0;
    min-height: 250px;
}
.mega-col {
    padding: 0;
    transition: background 0.2s;
    overflow: visible;
    position: absolute;
    top: 0;
}
/* 5칼럼 균등 (견적문의 제외) */
.mega-col.highlight {
    background: none;
    border-radius: 0;
}
/* Mega column — no title, sub-items only */
.mega-col ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid #ddd; padding-left: 20px; }
.mega-col li { margin-bottom: 0; }
.mega-col a {
    display: block;
    padding: 5px 0;
    font-size: 17px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}
/* English Products column — "Pachinko/Home Appliance" 줄바꿈 */
html[lang="en"] .mega-col[data-menu="2"] li:nth-child(3) a {
    white-space: normal;
    max-width: 150px;
    word-break: keep-all;
    line-height: 1.35;
}
.mega-col a::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: #ed6c00;
    border-radius: 2px;
    transition: height 0.2s;
}
.mega-col a:hover {
    color: #ed6c00;
    padding-left: 6px;
}
.mega-col a:hover::before {
    height: 19px;
}
/* Active menu indicator line — orange underline matching text width */
.gnb_1dli:hover .gnb_1da::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 55px;
    right: 55px;
    height: 3px;
    background: #ed6c00;
    border-radius: 2px;
    z-index: 101;
}
.gnb_1dli { position: relative; }
.gnb_1da { position: relative; }

/* Header Right: Language + Sitemap btn */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language Selector */
.language {
    position: relative;
}
.language > button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
    background: #fff;
}
.language > button:hover { border-color: #0068b7; color: #0068b7; }
.language > button i { font-size: 10px; margin-left: 3px; }
.language-list {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    border-radius: 4px;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 10;
}
.language:hover .language-list,
.language.active .language-list {
    opacity: 1;
    visibility: visible;
}
.language-list a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #555;
    transition: all 0.2s;
}
.language-list a:hover,
.language-list a.active {
    background: #0068b7;
    color: #fff;
}

/* Sitemap (hamburger) Button — always visible like mrsys */
.siteMap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #333;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
    background: #fff;
}
.siteMap-btn:hover { border-color: #0068b7; color: #0068b7; }

/* Full Menu (Sitemap Overlay) — mrsys style slide-in */
#siteMap {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: #0068b7;
    z-index: 10001;
    transition: right 0.4s ease;
    overflow-y: auto;
    padding: 80px 35px 35px;
}
#siteMap.active { right: 0; }
#siteMap .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 28px;
}
#siteMap .depth1 > li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
#siteMap .depth1 > li > a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}
#siteMap .depth2 {
    padding: 0 0 15px 15px;
}
#siteMap .depth2 a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
#siteMap .depth2 a:hover { color: #ed6c00; }
.siteMap-lang {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.siteMap-lang a {
    padding: 6px 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    border-radius: 3px;
    transition: color 0.3s;
}
.siteMap-lang a:hover { color: #fff; }
.siteMap-lang a.active { color: #ed6c00; font-weight: 600; }

/* 사이트맵 내 로그인/로그아웃/관리자 링크 */
.siteMap-auth {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.siteMap-auth .auth-link {
    padding: 6px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    transition: all 0.3s;
}
.siteMap-auth .auth-link:hover {
    color: #fff;
    border-color: #ed6c00;
    background: rgba(237,108,0,0.15);
}
#siteMap-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
#siteMap-bg.active { opacity: 1; visibility: visible; }

/* ============================================================
   MAIN PAGE SECTIONS
   ============================================================ */
.section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   HERO SLIDER — mrsys.co.kr style
   ============================================================ */
.hero-section {
    height: calc(100vh - 120px);
    margin-top: 120px;
    min-height: 500px;
}

/* Slides */
.visual-slider { position: relative; width: 100%; height: 100%; }
.visual-slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; z-index: 1;
    transition: opacity 1.2s ease;
}
.visual-slide.active { opacity: 1; z-index: 2; }

/* Background — Ken Burns zoom */
.slide-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease;
}
.visual-slide.active .slide-bg { transform: scale(1.06); }

/* Dark overlay */
.slide-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27,58,92,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Content — center text + right screens */
.slide-content {
    position: relative; z-index: 3;
    height: 100%;
    display: flex; align-items: center;
    justify-content: center;
    padding: 0 10%;
    text-align: center;
}
.slide-text {
    max-width: 750px;
    flex: 1;
}

/* Right side product screens — monitor/display style */
.slide-screens {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 5;
}
.screen-item {
    opacity: 0;
    transform: translateX(40px);
}

/* Monitor frame — glowing display style */
.screen-frame {
    display: block;
    width: 180px;
    height: 120px;
    position: relative;
    overflow: visible;
    background: rgba(10,20,40,0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px;
    transition: all 0.4s;
    text-decoration: none;
    cursor: pointer;
}
a.screen-frame { color: inherit; }
.screen-frame:hover {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 20px rgba(100,180,255,0.15);
}

/* Monitor outer frame — 4 corner brackets */
.screen-frame::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.6) 100%) 1;
    pointer-events: none;
}

/* Inner glow border */
.screen-frame::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border: 1px solid rgba(100,180,255,0.2);
    pointer-events: none;
}

/* Corner brackets — top-left */
.screen-frame .corner-tl,
.screen-frame .corner-tr,
.screen-frame .corner-bl,
.screen-frame .corner-br {
    position: absolute;
    width: 16px; height: 16px;
    z-index: 3;
}
.screen-frame .corner-tl { top: -3px; left: -3px; border-top: 2px solid rgba(255,255,255,0.7); border-left: 2px solid rgba(255,255,255,0.7); }
.screen-frame .corner-tr { top: -3px; right: -3px; border-top: 2px solid rgba(255,255,255,0.7); border-right: 2px solid rgba(255,255,255,0.7); }
.screen-frame .corner-bl { bottom: -3px; left: -3px; border-bottom: 2px solid rgba(255,255,255,0.7); border-left: 2px solid rgba(255,255,255,0.7); }
.screen-frame .corner-br { bottom: -3px; right: -3px; border-bottom: 2px solid rgba(255,255,255,0.7); border-right: 2px solid rgba(255,255,255,0.7); }

.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
    display: block;
}
.screen-frame:hover img { opacity: 1; }

/* Text elements — centered */
.slide-sub {
    font-size: 18px; font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0; text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0; transform: translateY(30px);
}
.slide-title {
    font-size: 70px; font-weight: 700;
    color: #fff; line-height: 1.15;
    margin-bottom: 22px; letter-spacing: -1px;
    opacity: 0; transform: translateY(30px);
}
.slide-desc {
    font-size: 20px; font-weight: 500;
    color: rgba(255,255,255,0.8); line-height: 1.7;
    margin-bottom: 0;
    opacity: 0; transform: translateY(30px);
}

/* Active slide text animation — handled by JS for reliable cycling */

/* --- Section Navigation — fixed right side (mrsys style) --- */
.section-nav {
    position: fixed;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sec-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.sec-nav-line {
    display: block;
    width: 25px; height: 2px;
    background: rgba(150,150,150,0.3);
    transition: all 0.4s;
}
.sec-nav-num {
    font-size: 13px;
    font-weight: 500;
    color: rgba(150,150,150,0.4);
    transition: all 0.3s;
}
/* Active state */
.sec-nav-item.active .sec-nav-line {
    width: 40px;
    background: #0068b7;
}
.sec-nav-item.active .sec-nav-num {
    color: #0068b7;
    font-size: 16px;
    font-weight: 700;
}
/* Hover */
.sec-nav-item:hover .sec-nav-num { color: rgba(100,100,100,0.7); }
.sec-nav-item:hover .sec-nav-line { background: rgba(100,100,100,0.5); }

/* Dark section adaptation — when over dark backgrounds */
.section-nav.on-dark .sec-nav-line { background: rgba(255,255,255,0.2); }
.section-nav.on-dark .sec-nav-num { color: rgba(255,255,255,0.35); }
.section-nav.on-dark .sec-nav-item.active .sec-nav-line { width: 40px; background: #fff; }
.section-nav.on-dark .sec-nav-item.active .sec-nav-num { color: #fff; }
.section-nav.on-dark .sec-nav-item:hover .sec-nav-num { color: rgba(255,255,255,0.7); }
.section-nav.on-dark .sec-nav-item:hover .sec-nav-line { background: rgba(255,255,255,0.5); }

/* --- Bottom: Timeline Dots --- */
.slide-timeline {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 10;
    display: flex; align-items: center; gap: 15px;
}
.timeline-track { display: flex; align-items: center; }
.timeline-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer; transition: all 0.4s;
    position: relative; z-index: 2;
    flex-shrink: 0;
}
.timeline-dot.active {
    width: 10px; height: 10px;
    background: #fff;
    border: none;
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
}
/* Spinning octagon ring around active dot */
.timeline-dot.active::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 28px; height: 28px;
    margin: -14px 0 0 -14px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 3px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: spinOctagon 4s linear infinite;
}
.timeline-dot.active::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 22px; height: 22px;
    margin: -11px 0 0 -11px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: spinOctagon 4s linear infinite reverse;
}
@keyframes spinOctagon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.timeline-dot:hover { background: rgba(255,255,255,0.7); }
.timeline-line {
    width: 40px; height: 2px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Play/Pause */
.slide-playpause {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 18px; cursor: pointer;
    transition: color 0.3s;
}
.slide-playpause:hover { color: #fff; }

/* Progress Bar */
.slide-progress {
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 10;
}
.slide-progress-bar {
    height: 100%; background: #ed6c00;
    width: 0%; transition: width 0.1s linear;
}

/* ===== Core Competence Section — Image Card Layout ===== */
.comp-section {
    background: #f5f6f8;
    padding: 100px 0;
    min-height: auto;
}
.section-title {
    display: block;
    text-align: center;
    margin-bottom: 60px;
}
.section-title span {
    display: block;
    font-size: 52px;
    font-weight: 900;
    color: #0068b7;
    letter-spacing: 0px;
}
.section-title b {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #888;
    margin-top: 15px;
    line-height: 1.6;
}

/* Grid: Left large + Right 2 small */
.comp-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.comp-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* Card base */
.comp-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}
.comp-large {
    flex: 1.2;
    min-height: 480px;
}
.comp-small {
    flex: 1;
    min-height: 230px;
}

/* Background image */
.comp-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.comp-card:hover .comp-card-bg {
    transform: scale(1.08);
}

/* Dark overlay — gradient from bottom */
.comp-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to top,
        rgba(10,20,40,0.85) 0%,
        rgba(10,20,40,0.4) 40%,
        rgba(10,20,40,0.15) 100%
    );
    transition: background 0.4s;
}
.comp-card:hover .comp-card-overlay {
    background: linear-gradient(
        to top,
        rgba(10,20,40,0.9) 0%,
        rgba(27,58,92,0.5) 40%,
        rgba(27,58,92,0.2) 100%
    );
}

/* Content */
.comp-card-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    width: 100%;
}
.comp-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    margin-bottom: 18px;
    transition: all 0.3s;
}
.comp-card:hover .comp-card-icon {
    background: #ed6c00;
    border-color: #ed6c00;
    transform: scale(1.1);
}
.comp-card-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.comp-small .comp-card-title {
    font-size: 22px;
}
.comp-card-desc {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 20px;
}
.comp-card-btn {
    display: inline-block;
    padding: 9px 28px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    transition: all 0.3s;
}
.comp-card:hover .comp-card-btn {
    background: #fff;
    color: #0068b7;
    border-color: #fff;
}

/* Card number watermark */
.comp-card-num {
    position: absolute;
    top: 25px; right: 30px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
    z-index: 1;
    line-height: 1;
    letter-spacing: -2px;
}
.comp-small .comp-card-num {
    font-size: 45px;
    top: 18px; right: 22px;
}

/* Scroll Animation — uses IntersectionObserver, no fullpage.js */
.active-motion {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.active-motion.animated {
    opacity: 1;
    transform: translateY(0);
}
/* Fallback: if JS fails, show everything */
.no-js .active-motion { opacity: 1; transform: none; }
.active-motion1 { transition-delay: 0.1s; }
.active-motion2 { transition-delay: 0.3s; }
.active-motion3 { transition-delay: 0.5s; }
.active-motion4 { transition-delay: 0.7s; }

/* ===== Products Section — mrsys style Dark bg + Icons ===== */
.prod-section {
    position: relative;
    background: #0a1628;
    padding: 120px 0;
    min-height: auto;
    overflow: hidden;
}
.prod-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/main/prod-section-bg.jpg) center / cover no-repeat;
    opacity: 0.6;
}
.prod-section .layout { position: relative; z-index: 1; }
.prod-section .section-title { margin-bottom: 20px; }
.prod-section .section-title span { color: #fff; }

/* Header with corner decoration */
.prod-header { text-align: center; margin-bottom: 80px; }
.prod-corner-deco {
    width: 20px; height: 20px;
    border-top: 2px solid rgba(255,255,255,0.4);
    border-left: 2px solid rgba(255,255,255,0.4);
    margin: 0 auto 15px;
}
.prod-subtitle {
    font-size: 19px;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Icon Cards Row */
.prod-icons-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

/* Vertical Divider */
.prod-divider {
    width: 1px;
    height: 200px;
    background: rgba(255,255,255,0.12);
    align-self: center;
    flex-shrink: 0;
}

/* Individual Card */
.prod-icon-card {
    flex: 1;
    text-align: center;
    padding: 40px 30px;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: all 0.4s;
    border-radius: 12px;
}
.prod-icon-card:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    transform: translateY(-8px);
}

/* SVG Icon */
.prod-icon-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.8);
    transition: all 0.4s;
}
.prod-icon-circle svg,
.prod-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.4s;
}
.prod-icon-card:hover .prod-icon-circle img {
    filter: none;
    opacity: 1;
}
.prod-icon-card:hover .prod-icon-circle {
    color: #ed6c00;
    transform: scale(1.1);
}

/* Title */
.prod-icon-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* VIEW Button */
.prod-icon-btn {
    display: inline-block;
    padding: 10px 32px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}
.prod-icon-card:hover .prod-icon-btn {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ===== Section 3: KOREA MOLD CENTER (Infrastructure) — Light bg ===== */
.infra-section {
    position: relative;
    background: #f5f6f8;
    padding: 110px 0;
    min-height: auto;
    overflow: hidden;
}
.infra-bg-overlay { display: none; }
.infra-section .layout { position: relative; z-index: 1; }

.infra-wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.infra-text { text-align: center; }
.infra-badge {
    display: inline-block;
    padding: 5px 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 20px;
}
.infra-title {
    font-size: 52px;
    font-weight: 900;
    color: #0068b7;
    margin-bottom: 20px;
    line-height: 1.2;
}
.infra-desc {
    font-size: 16px;
    font-weight: 400;
    color: #777;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.infra-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
    justify-content: center;
}
.infra-stat strong {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #ed6c00;
    line-height: 1;
    margin-bottom: 6px;
}
.infra-stat span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #aaa;
}
.infra-btn {
    border-color: #0068b7 !important;
    color: #0068b7 !important;
}
.infra-btn:hover {
    background: #0068b7 !important;
    border-color: #0068b7 !important;
    color: #fff !important;
}
.infra-btn i { margin-left: 8px; font-size: 13px; }

/* Infra Cards — horizontal row */
.infra-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}
.infra-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 35px 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.infra-card:hover {
    border-color: #0068b7;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    color: #333;
}
.infra-card-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0068b7, #2C5F7C);
    border-radius: 50%;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.3s;
}
.infra-card:hover .infra-card-icon {
    background: linear-gradient(135deg, #ed6c00, #f09040);
    transform: scale(1.1);
}
.infra-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0068b7;
    margin-bottom: 0;
}
.infra-card p {
    font-size: 14px;
    color: #999;
}

/* ===== Section 4: CERTIFICATION & AWARDS ===== */
.cert-section {
    background: #fff;
    padding: 100px 0;
    min-height: auto;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cert-item {
    text-align: center;
    padding: 45px 25px;
    border: 1px solid #eee;
    border-radius: 14px;
    transition: all 0.4s;
}
.cert-item:hover {
    border-color: #0068b7;
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.cert-icon {
    width: 65px; height: 65px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0068b7, #2C5F7C);
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    transition: all 0.3s;
}
.cert-item:hover .cert-icon {
    background: linear-gradient(135deg, #ed6c00, #f09040);
    transform: scale(1.1);
}
.cert-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0068b7;
    margin-bottom: 10px;
}
.cert-item p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* ===== Section 5: CONTACT CTA ===== */
.cta-section {
    position: relative;
    background: #0068b7;
    padding: 180px 0;
    min-height: 540px;
    overflow: hidden;
    text-align: center;
}
.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#e9e9e900, rgb(212 245 255 / 0%)), url(../img/main/cta-section-bg.jpg) center / cover no-repeat;
    opacity: 1;
}
.cta-section .layout { position: relative; z-index: 1; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-title {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.25);
}
.cta-desc {
    font-size: 21px;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    line-height: 1.7;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
}
.cta-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 45px;
}
.cta-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,1);
    font-size: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.25);
}
.cta-info-item i {
    font-size: 28px;
    color: #ed6c00;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.btn-cta-large {
    display: inline-block;
    padding: 18px 55px;
    background: #ed6c00;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.btn-cta-large:hover {
    background: #d06a1e;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232,119,34,0.4);
}
.btn-cta-large i { margin-left: 10px; font-size: 14px; }

/* ============================================================
   FOOTER (Original, polished)
   ============================================================ */
#footer {
    background: #1a1a2e;
    color: #aaa;
}
.footer-btn {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}
.footer-btn .layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-btn ul {
    display: flex;
    gap: 28px;
}
.footer-btn a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.25s;
    letter-spacing: 0.2px;
}
.footer-btn a:hover { color: #ed6c00; }
.topBtn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18) !important;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    transition: all 0.25s;
    cursor: pointer;
}
.topBtn:hover {
    background: #ed6c00;
    border-color: #ed6c00 !important;
    color: #fff;
    transform: translateY(-2px);
}

.footer-copy {
    padding: 36px 0 28px;
}
.footer-copy .layout {
    display: flex;
}
.footer-info-wrap { width: 100%; }
.footer-logo {
    margin-bottom: 18px;
}
.footer-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.95;
    margin: 0;
}
.footer-info span {
    margin-right: 22px;
}

/* ---------- Bottom bar (separate row with copyright) ---------- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    background: rgba(0,0,0,0.18);
}
.footer-bottom .layout {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-copyright {
    font-size: 12.5px;
    color: #777;
    margin: 0;
    letter-spacing: 0.2px;
}
.footer-adm {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #aaa;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.2s;
}
.footer-adm:hover {
    color: #fff;
    border-color: #ed6c00;
    background: #ed6c00;
    opacity: 1;
}

/* ============================================================
   SUB PAGE LAYOUT
   ============================================================ */
/* Page Title Banner */
.page-title-area {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #0068b7 0%, #2C5F7C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Sub page wrapper needs margin-top for fixed header */
#wrapper { margin-top: 120px; }
.page-title-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/common/pattern.png') repeat;
    opacity: 0.05;
}
.page-title-area h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}
.page-title-area .breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.page-title-area .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-title-area .breadcrumb span { margin: 0 8px; }
.page-title-area .breadcrumb .current { color: #ed6c00; }

/* Sub Content */
.sub-content {
    padding: 80px 0;
}
.sub-content .layout {
    display: flex;
    gap: 50px;
}

/* Side Navigation */
.snb {
    width: 230px;
    flex-shrink: 0;
}
.snb h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0068b7;
    padding-bottom: 20px;
    border-bottom: 3px solid #0068b7;
    margin-bottom: 0;
}
.snb ul { }
.snb li { border-bottom: 1px solid #eee; }
.snb a {
    display: block;
    padding: 14px 15px;
    font-size: 15px;
    color: #555;
    transition: all 0.2s;
    position: relative;
}
.snb a:hover,
.snb a.active {
    color: #0068b7;
    font-weight: 600;
    background: #f8f9fa;
    padding-left: 20px;
}
.snb a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ed6c00;
}

/* Sub Page Content Area */
.sub-page-content {
    flex: 1;
    min-width: 0;
}
.sub-page-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0068b7;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

/* ============================================================
   COMMON COMPONENTS
   ============================================================ */

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #ed6c00;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
}
.btn-primary:hover {
    background: #d06a1e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232,119,34,0.3);
}
.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid #0068b7;
    color: #0068b7;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    background: transparent;
}
.btn-outline:hover {
    background: #0068b7;
    color: #fff;
}

/* Tables */
.tbl-wrap { overflow-x: auto; }
.tbl-wrap table {
    width: 100%;
    border-collapse: collapse;
}
.tbl-wrap th {
    background: #0068b7;
    color: #fff;
    padding: 14px 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.tbl-wrap td {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.tbl-wrap tr:hover td { background: #f8f9fa; }

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.form-group .required { color: #ed6c00; margin-left: 3px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: #2C5F7C;
    box-shadow: 0 0 0 3px rgba(44,95,124,0.1);
}
textarea.form-control { min-height: 150px; resize: vertical; }

/* Floating Contact Buttons */
.floating-btns {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.floating-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.floating-btns a:hover { transform: scale(1.1); }
.floating-btns .btn-tel { background: #0068b7; }
.floating-btns .btn-kakao { background: #FEE500; color: #3C1E1E; }
.floating-btns .btn-top-float {
    background: #333;
    font-size: 16px;
}

/* ============================================================
   RESPONSIVE - Tablet
   ============================================================ */
@media screen and (max-width: 1199px) {
    .gnb_1da { padding: 28px 15px; font-size: 16px; }
    .slide-title { font-size: 50px; }
    .slide-numbers { right: 2%; }
    .comp-large { min-height: 400px; }
    .comp-card-title { font-size: 22px; }
    .prod-icon-card { padding: 30px 20px; }
    .prod-icon-circle { width: 120px; height: 120px; }
    .table { gap: 20px; }
    .table-box { padding: 40px 25px; }
    .product-cate ul { gap: 20px; }
    .news-slider li { min-width: calc(33.333% - 17px); }
    .sub-content .layout { gap: 30px; }
    .snb { width: 200px; }
}

/* ============================================================
   RESPONSIVE - Mobile
   ============================================================ */
@media screen and (max-width: 767px) {
    /* Header */
    #header { height: 60px; }
    #header .header-inner { height: 60px; padding: 0 15px; }
    #logo a { font-size: 22px; }
    #logo img { height: 30px; }
    #gnb_1dul { display: none; }
    .gnb_menu_btn { display: block; }
    .language > button { padding: 4px 10px; font-size: 12px; }

    /* Hero */
    .hero-section { height: calc(100vh - 60px); margin-top: 60px; }
    .slide-title { font-size: 26px; }
    .slide-sub { font-size: 13px; }
    .slide-desc { font-size: 14px; margin-bottom: 20px; }
    .slide-cta { padding: 12px 28px; font-size: 13px; }
    .slide-content { padding: 0 6%; }
    .slide-screens { display: none; }
    .section-nav { display: none !important; }
    .mega-menu { display: none !important; }
    .slide-timeline { bottom: 20px; }
    .timeline-line { width: 20px; }
    .timeline-dot { width: 10px; height: 10px; }
    .timeline-dot.active { width: 14px; height: 14px; }

    /* Sections */
    .section-title span { font-size: 30px; letter-spacing: 0px; }
    .section-title b { font-size: 13px; }
    .section-title { margin-bottom: 40px; }

    /* Competence Cards */
    .comp-grid { flex-direction: column; }
    .comp-large { min-height: 300px; }
    .comp-small { min-height: 200px; }
    .comp-card-title { font-size: 22px !important; }
    .comp-card-content { padding: 25px; }
    .comp-card-num { font-size: 40px !important; }

    /* Infra */
    .infra-section { padding: 60px 0; }
    .infra-wrap { gap: 30px; }
    .infra-title { font-size: 28px; }
    .infra-stats { gap: 20px; }
    .infra-stat strong { font-size: 28px; }
    .infra-cards { flex-direction: column; }
    .infra-card { padding: 25px 20px; }

    /* Certification */
    .cert-section { padding: 60px 0; }
    .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cert-item { padding: 28px 15px; }
    .cert-icon { width: 50px; height: 50px; font-size: 20px; }
    .cert-item h4 { font-size: 15px; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-title { font-size: 33px; }
    .cta-desc { font-size: 17px; color: rgba(255, 255, 255, 1); }
    .cta-info { flex-direction: column; gap: 15px; align-items: center; }
    .cta-info-item { font-size: 20px; }
    .cta-info-item i { font-size: 24px; }
    .btn-cta-large { padding: 14px 40px; font-size: 15px; }

    /* Products */
    .prod-section { padding: 60px 0; }
    .prod-header { margin-bottom: 40px; }
    .prod-icons-wrap { flex-direction: column; align-items: center; gap: 0; }
    .prod-divider { width: 120px; height: 1px; }
    .prod-icon-card { padding: 30px 20px; }
    .prod-icon-circle { width: 100px; height: 100px; margin-bottom: 20px; }
    .prod-icon-title { font-size: 18px; margin-bottom: 18px; }
    .prod-icon-btn { padding: 8px 24px; font-size: 12px; }

    /* News */
    .news-slider li { min-width: calc(80%); }

    /* Footer */
    .footer-btn .layout { flex-direction: column; gap: 15px; text-align: center; }
    .footer-btn ul { justify-content: center; flex-wrap: wrap; gap: 18px; }
    .footer-copy { padding: 30px 0 22px; }
    .footer-copy .layout { text-align: center; }
    .footer-info-wrap { text-align: center; }
    .footer-info span { display: inline-block; margin-right: 14px; }
    .footer-bottom .layout { justify-content: center; }
    .footer-copyright { text-align: center; }

    /* Sub Page */
    .page-title-area { height: 200px; margin-top: 60px; }
    .page-title-area h2 { font-size: 24px; }
    .sub-content { padding: 40px 0; }
    .sub-content .layout { flex-direction: column; }
    .snb { width: 100%; }
    .snb ul { display: flex; flex-wrap: wrap; gap: 0; }
    .snb li { flex: 1; min-width: 50%; border-right: 1px solid #eee; }
    .snb a { text-align: center; padding: 12px 10px; font-size: 13px; }
    .sub-page-content h3 { font-size: 22px; }

    /* Floating */
    .floating-btns { right: 10px; bottom: 15px; }
    .floating-btns a { width: 42px; height: 42px; font-size: 18px; }
}

/* ============================================================
   GNUBOARD5 Override
   ============================================================ */
#wrapper { margin-top: 0; padding: 0; }
#container_wr { max-width: 100%; padding: 0; margin: 0; }
#container { max-width: 100%; padding: 0; margin: 0; }
#container_title { display: none; }
#aside { display: none; }
hr { display: none; }

/* Fullpage container must be direct child flow */
body.main-page #wrapper,
body.main-page #container_wr,
body.main-page #container {
    width: 100%;
    height: 100%;
    overflow: visible;
    position: static;
}

/* Gnuboard5 default popup layer */
#win_layer { display: none !important; }
.win_layer { display: none !important; }
#hd_pop { display: none !important; }
.hd_pops { display: none !important; }
#hd_pop_layer { display: none !important; }
