:root{
  --primary:#0066ff;
  --dark:#0f172a;
  --gray:#475569;
  --light:#f8fafc;
  --maxw: 1600px;
  --padx: 5%;
  --splitH: clamp(440px, calc(100vh - 320px), 680px);
}
*{box-sizing:border-box;border-radius:0 !important}
html{scroll-behavior:smooth}
body{margin:0;font-family:Pretendard,system-ui,Segoe UI,Roboto,Arial,sans-serif;background:#fff;color:var(--dark);overflow-x:hidden}
a{text-decoration:none;color:inherit}

/* ==========================
   [추가] 브라우저 스크롤바 숨김(기능/스크롤 유지)
   ========================== */
html, body { overflow-y: scroll; }
body::-webkit-scrollbar { width: 0; height: 0; }
body { scrollbar-width: none; -ms-overflow-style: none; }

/* Quill font class mapping (PATCH E) */
.ql-font-pretendard { font-family: 'Pretendard', sans-serif; }
.ql-font-noto-sans-kr { font-family: 'Noto Sans KR', sans-serif; }
.ql-font-noto-serif-kr { font-family: 'Noto Serif KR', serif; }
.ql-font-nanum-gothic { font-family: 'Nanum Gothic', sans-serif; }
.ql-font-nanum-myeongjo { font-family: 'Nanum Myeongjo', serif; }
.ql-font-nanum-pen-script { font-family: 'Nanum Pen Script', cursive; }
.ql-font-gowun { font-family: 'Gowun Dodum', sans-serif; }
.ql-font-dohyeon { font-family: 'Do Hyeon', sans-serif; }
.ql-font-black-han-sans { font-family: 'Black Han Sans', sans-serif; }
.ql-font-jua { font-family: 'Jua', sans-serif; }
.ql-font-gugi { font-family: 'Gugi', cursive; }
.ql-font-yeon-sung { font-family: 'Yeon Sung', cursive; }
.ql-font-poor-story { font-family: 'Poor Story', cursive; }
.ql-font-gaegu { font-family: 'Gaegu', cursive; }
.ql-font-song-myung { font-family: 'Song Myung', serif; }
.ql-font-east-sea-dokdo { font-family: 'East Sea Dokdo', cursive; }
.ql-font-ibm-plex-sans-kr { font-family: 'IBM Plex Sans KR', sans-serif; }
.ql-font-ibm-plex-serif { font-family: 'IBM Plex Serif', serif; }

.top-header{position:fixed;top:0;left:0;right:0;height:60px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid rgba(0,0,0,.05);z-index:1000}
.logo{font-weight:900;letter-spacing:-1px;font-size:1.6rem;display:flex;align-items:center;min-width:120px}
.top-nav{display:flex;align-items:center}
.top-nav ul{list-style:none;display:flex;gap:22px;margin:0;padding:0;align-items:center}
.top-nav a{font-weight:800;font-size:.9rem;text-transform:uppercase;color:var(--dark)}
.top-nav a:hover{color:var(--primary)}

/* ==========================
   [개선] 메뉴바 드롭다운(대메뉴/소메뉴)
   - 소메뉴는 '대메뉴 바로 아래' 정렬(좌측 정렬)
   - 스크롤은 투명/슬림, 호버 시만 살짝 보임
   ========================== */
.top-nav li{position:relative}

/* 상단 메뉴 버튼 느낌 */
.top-nav > ul > li > a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  transition:background .15s ease,color .15s ease,transform .15s ease, box-shadow .15s ease;
}
.top-nav > ul > li > a:hover{
  background:linear-gradient(90deg, rgba(0,102,255,.14), rgba(2,132,199,.06));
  color:var(--primary);
}

/* 대메뉴(드롭다운 있는 항목) */
.top-nav li.has-sub > a::after{
  content:"";
  width:6px;height:6px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  opacity:.65;
  margin-top:-2px;
}

/* hover 끊김 방지용 브릿지 */
.top-nav li.has-sub::before{
  content:"";
  position:absolute;
  left:-18px; right:-18px;
  top:100%;
  height:24px;
}

/* 드롭다운 패널 */
.top-nav ul.sub{
  position:absolute;
  top:calc(100% + 10px);

  /* ✅ 대메뉴 중앙 아래 정렬 */
  left:50%;
  transform:translate(-50%, 8px);

  display:flex;
  flex-direction:column;
  gap:6px;

  min-width:210px;
  max-width:min(360px, 92vw);

  padding:10px;
  max-height:min(70vh, 420px);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;

  margin:0;
  list-style:none;

  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86));
  border:1px solid rgba(15,23,42,.12);
  border-top:2px solid rgba(0,102,255,.30);
  border-radius:16px;
  box-shadow:0 22px 60px rgba(2,6,23,.16);
  backdrop-filter:blur(14px) saturate(120%);
  z-index:2000;

  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;

  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.top-nav ul.sub:hover{
  scrollbar-color: rgba(15,23,42,.30) transparent;
}
.top-nav ul.sub::-webkit-scrollbar{ width:8px; height:8px; }
.top-nav ul.sub::-webkit-scrollbar-track{ background:transparent; }
.top-nav ul.sub::-webkit-scrollbar-thumb{
  background:transparent;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.70);
}
.top-nav ul.sub:hover::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, rgba(0,102,255,.55), rgba(0,102,255,.22));
}

/* 말풍선 화살표 */
.top-nav ul.sub::before{
  content:"";
  position:absolute;
  top:-8px;
  left:50%;
  width:16px;height:16px;
  transform:translateX(-50%) rotate(45deg);
  background:rgba(255,255,255,.90);
  border-left:1px solid rgba(15,23,42,.12);
  border-top:1px solid rgba(15,23,42,.12);
}

/* 열림 조건 */
.top-nav li.has-sub:hover > ul.sub,
.top-nav li.has-sub:focus-within > ul.sub,
.top-nav li.has-sub.open > ul.sub{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%, 0);
}

/* 소메뉴 링크 */
.top-nav ul.sub li{width:100%}
.top-nav ul.sub a{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  font-weight:900;
  font-size:.92rem;
  text-transform:none;
  color:rgba(15,23,42,.92);

  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid transparent;

  transition:background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.top-nav ul.sub a:hover{
  background:linear-gradient(90deg, rgba(0,102,255,.16), rgba(0,102,255,.06));
  color:var(--primary);
  border-color:rgba(0,102,255,.18);
  transform:translateY(-1px);
}
.top-nav ul.sub a:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(0,102,255,.18);
}

/* 화면이 좁을 때(오버플로 방지) */
@media (max-width: 860px){
  .top-nav ul.sub{
    left:50%;
    right:auto;
    transform:translate(-50%, 8px);
    max-width:min(320px, 92vw);
  }
  .top-nav ul.sub::before{ left:50%; transform:translateX(-50%) rotate(45deg); }
}





.dot-nav{position:fixed;right:26px;top:50%;transform:translateY(-50%);z-index:1000;display:flex;flex-direction:column;gap:14px}
.dot-nav a{width:10px;height:10px;background:rgba(0,0,0,.18);transition:.2s;position:relative}
.dot-nav a.active,.dot-nav a:hover{background:var(--primary);transform:scale(1.35)}
.dot-nav a::before{content:attr(data-label);position:absolute;right:18px;top:50%;transform:translateY(-50%) translateX(8px);background:rgba(15,23,42,.85);color:#fff;padding:5px 10px;font-size:.75rem;font-weight:800;opacity:0;visibility:hidden;transition:.2s;white-space:nowrap}
.dot-nav a:hover::before{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}

/* ==========================
   [추가] dot-nav(기존 오른쪽 스크롤 UI) 숨김 (동작/JS/구조는 유지)
   ========================== */
.dot-nav{display:none !important;}

/* ==========================
   [추가] 오른쪽 퀵메뉴(아이콘)
   ========================== */
.quick-menu{
  position:fixed;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:1100;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.qm-item{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  border:1px solid rgba(226,232,240,.9);
  background:
    linear-gradient(to bottom, rgba(255,255,255,.96), rgba(255,255,255,.82)) top/100% 18px no-repeat,
    linear-gradient(to top, rgba(255,255,255,.96), rgba(255,255,255,.82)) bottom/100% 18px no-repeat,
    rgba(255,255,255,.92);
  background-attachment: local, local, scroll;
  backdrop-filter:blur(10px);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.qm-item i{font-size:18px;color:var(--dark);}
.qm-item:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(0,0,0,.12);border-color:rgba(0,102,255,.25);}
.qm-item:hover i{color:var(--primary);}
.qm-item.disabled{opacity:.45;pointer-events:none;}
.qm-text{
  position:absolute;
  right:62px;
  top:50%;
  transform:translateY(-50%);
  background:rgba(15,23,42,.88);
  color:#fff;
  padding:7px 10px;
  font-size:.78rem;
  font-weight:900;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  transition:.18s ease;
}
.qm-item:hover .qm-text{opacity:1;visibility:visible;}

/* ==========================
   [추가] 화면 중앙(하단 중앙 고정) 상/하 버튼
   ========================== */
.scroll-controls{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:1200;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.sc-btn{
  width:56px;
  height:56px;
  border:1px solid rgba(226,232,240,.95);
  background:
    linear-gradient(to bottom, rgba(255,255,255,.96), rgba(255,255,255,.82)) top/100% 18px no-repeat,
    linear-gradient(to top, rgba(255,255,255,.96), rgba(255,255,255,.82)) bottom/100% 18px no-repeat,
    rgba(255,255,255,.92);
  background-attachment: local, local, scroll;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 22px rgba(0,0,0,.10);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}
.sc-btn i{font-size:18px;color:var(--dark);}
.sc-btn:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(0,0,0,.14);border-color:rgba(0,102,255,.25);}
.sc-btn:hover i{color:var(--primary);}
.sc-btn:disabled{opacity:.35;cursor:not-allowed;transform:none;box-shadow:0 10px 22px rgba(0,0,0,.10);}

.sec{min-height:100vh;width:100%;padding:110px var(--padx) 80px var(--padx);position:relative;border-bottom:1px solid rgba(0,0,0,.03)}
.wrap{max-width:var(--maxw);margin:0 auto;width:100%}
.sec:not(.hero-sec) .wrap{min-height:calc(100vh - 110px - 80px);display:flex;flex-direction:column;justify-content:center;padding-top:10px;}
.section-label{position:absolute;top:76px;left:50%;transform:translateX(-50%);width:min(var(--maxw),calc(100% - (2 * var(--padx))));display:flex;align-items:center;gap:10px;font-size:.95rem;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#64748b;pointer-events:none;}
.section-label i{color:var(--primary)}
.sec-tag{display:inline-block;padding:6px 16px;background:rgba(0,102,255,.08);color:var(--primary);font-weight:900;margin-bottom:14px}
.sec-title{margin:6px 0 14px;font-weight:900;line-height:1.15}

.sec-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.sub-back{font-size:.78rem;font-weight:900;opacity:.78;padding:6px 10px;border:1px solid rgba(15,23,42,.14);background:rgba(255,255,255,.65);backdrop-filter:blur(8px);cursor:pointer}
.sub-back:hover{opacity:1;border-color:rgba(15,23,42,.28)}
/* 서브페이지는 섹션 내부 구성은 동일하되, 전체 화면 스냅/센터링으로 인한 공백은 제거 */
.subpage-sec{min-height:auto !important;padding:90px var(--padx) 44px !important;border-bottom:none !important}
.subpage-sec .wrap{min-height:auto !important;display:block !important;justify-content:flex-start !important;padding-top:0 !important}
.subpage-sec .sec-title{margin:6px 0 10px !important}
.subpage-sec .grid-cards{margin-top:0 !important}


.hero-sec{padding:0;display:flex;align-items:center;justify-content:center}
.hero-sec video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-ov{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:0 20px;max-width:1000px}
.hero-content h1{margin:0;font-size:5rem;font-weight:900;line-height:1.12}
.hero-sub{margin:18px 0 0 0;font-size:1.5rem;font-weight:700;opacity:.92}
.hero-body{margin-top:26px;font-size:1.2rem;opacity:.9;line-height:1.65}

.split-5-5 { display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:stretch; }
.split-6-4 { display:grid; grid-template-columns:1.5fr 1fr; gap:26px; align-items:stretch; }
.split-7-3 { display:grid; grid-template-columns:2.33fr 1fr; gap:26px; align-items:stretch; }
.split-4-6 { display:grid; grid-template-columns:1fr 1.5fr; gap:26px; align-items:stretch; }
.split-3-7 { display:grid; grid-template-columns:1fr 2.33fr; gap:26px; align-items:stretch; }

.img-box{background:transparent;overflow:hidden;height:var(--splitH);display:flex;align-items:center;justify-content:center;position:relative;padding-bottom:0;}
.img-box.has-actions{padding-bottom:44px;}
.img-box img{width:100%;height:100%;object-fit:cover;display:block;}
.img-box.has-actions img{height:calc(100% - 44px);}
.img-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#94a3b8;background:rgba(15,23,42,.04)}
.img-actions{position:absolute;left:12px;right:12px;bottom:10px;display:flex;justify-content:flex-start}
.txt-box{min-height:var(--splitH);padding:6px 2px;display:flex;flex-direction:column;}
.txt-actions{margin-top:auto;display:flex;justify-content:flex-start}
.mini-btn{display:inline-flex;align-items:center;gap:10px;padding:0;font-weight:900;font-size:1.1rem;background:transparent;border:none;color:var(--primary);}
.mini-btn:hover{text-decoration:underline}
.rich{white-space:normal;line-height:1.6;}
.rich *{max-width:100%}

/* (PATCH C) grid-template 기본은 항상 적용되게 */
.grid-cards{
  margin-top:14px;display:grid;gap:18px;height:var(--gridH,min(860px,calc(100vh - 260px)));width:100%;
  grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));
  grid-template-rows:repeat(var(--rows,2),minmax(0,1fr));
}

.g-preset-1-2 { grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto !important; }
.g-preset-1-2 > :nth-child(1) { grid-column: 1 / -1; }
.g-preset-2-1 { grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto !important; }
.g-preset-2-1 > :nth-child(3) { grid-column: 1 / -1; }
.g-preset-1-3 { grid-template-columns: 1fr 1fr 1fr !important; }
.g-preset-1-3 > :nth-child(1) { grid-column: 1 / -1; }
.g-preset-3-1 { grid-template-columns: 1fr 1fr 1fr !important; }
.g-preset-3-1 > :nth-child(4) { grid-column: 1 / -1; }
.g-preset-v-1-2 { grid-template-columns: 1.5fr 1fr !important; }
.g-preset-v-1-2 > :nth-child(1) { grid-row: 1 / -1; height: 100%; }
.g-preset-1-1-60-40 { grid-template-columns: 6fr 4fr; grid-template-rows: 1fr; }
.g-preset-1-1-70-30 { grid-template-columns: 7fr 3fr; grid-template-rows: 1fr; }
.g-preset-1-1-30-70 { grid-template-columns: 3fr 7fr; grid-template-rows: 1fr; }

.grid-cell{display:flex;flex-direction:column;height:100%;min-height:0;position:relative;}
.grid-cell.is-empty{visibility:hidden;}

/* ==========================
   SubPage Grid - Multi Image Carousel
   ========================== */
.grid-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.img-strip{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.img-strip::-webkit-scrollbar{display:none}
.img-frame{flex:0 0 100%;height:100%;scroll-snap-align:start}
.img-frame img{width:100%;height:100%;object-fit:cover;display:block}
/* 캐러셀 화살표(<>): 그리드 하단이 아닌 '양끝'에 오버레이 */
.grid-carousel-controls{
  position:absolute;
  left:12px;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  z-index:30;
  pointer-events:none;
}
.grid-carousel-controls .cbtn{
  pointer-events:auto;
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.65);
  background:rgba(15,23,42,.38);
  color:#fff;
  backdrop-filter:blur(10px);
  box-shadow:0 16px 34px rgba(2,6,23,.18);
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.grid-carousel-controls .cbtn:hover{
  transform:translateY(-1px) scale(1.02);
  background:rgba(15,23,42,.48);
  border-color:rgba(255,255,255,.85);
}
.grid-carousel-controls .cmeta{
  display:none !important;
}

.grid-box{flex:1;position:relative;background:transparent;overflow:hidden;min-height:0;transition:all 0.4s ease;}
.grid-bg-layer{position:absolute;inset:0;background-size:cover;background-position:center;transition:all 0.5s ease;}
.grid-ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.15));opacity:0;transition:opacity 0.3s;}
.grid-box.has-bg .grid-ov{opacity:.25;}
.grid-inner{position:absolute;inset:0;display:flex;padding:14px;z-index:2;}
.grid-hit{position:absolute;inset:0;z-index:10;}
.grid-outside-link{flex-shrink:0;height:32px;margin-top:8px;display:flex;align-items:center;justify-content:center;}
.grid-outside-link a{display:inline-flex;align-items:center;gap:6px;font-weight:900;color:var(--primary);font-size:0.95rem;}
.grid-icon { font-size: 2rem; margin-bottom: 12px; color: var(--primary); }

.effect-zoom:hover .grid-bg-layer { transform: scale(1.1); }
.effect-lift:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index:5; }
.effect-grayscale .grid-bg-layer { filter: grayscale(100%); } .effect-grayscale:hover .grid-bg-layer { filter: grayscale(0%); }
.effect-blur .grid-bg-layer { filter: blur(3px); } .effect-blur:hover .grid-bg-layer { filter: blur(0); }
.effect-rotate:hover { transform: rotate(1deg) scale(1.02); }
.effect-shine::before { content:''; position:absolute; top:0; left:-100%; width:50%; height:100%; background:linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent); transform:skewX(-25deg); transition:.5s; z-index:3; pointer-events:none; }
.effect-shine:hover::before { left:150%; transition:.7s; }
.effect-border:hover { box-shadow: inset 0 0 0 4px var(--primary); }

.only-text{margin-top:10px}
.img-full{width:100%;height:560px;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}
.img-full img{width:100%;height:100%;object-fit:cover;display:block}
.tri{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.tri-item .img-box{height:360px}
.footer{padding:60px var(--padx);background:#0f172a;color:rgba(255,255,255,.75)}
.ft-name{font-weight:900;color:#fff;font-size:1.2rem;margin-bottom:8px}
.ft-copy{opacity:.5;font-size:.9rem}

.board-bg{min-height:100vh;padding:80px 5%}
.board-wrap{max-width:1100px;margin:0 auto;background:
    linear-gradient(to bottom, rgba(255,255,255,.96), rgba(255,255,255,.82)) top/100% 18px no-repeat,
    linear-gradient(to top, rgba(255,255,255,.96), rgba(255,255,255,.82)) bottom/100% 18px no-repeat,
    rgba(255,255,255,.92);
  background-attachment: local, local, scroll;backdrop-filter:blur(8px);padding:22px;border:1px solid #e2e8f0}
.board-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.board-head .bh-left{height:1px;}
.board-head h1{margin:0;font-size:1.4rem;font-weight:900;justify-self:center;text-align:center}
.board-head a{justify-self:end}
.board-search{display:flex;gap:10px;margin:14px 0}
.board-search input{flex:1;padding:12px 12px;border:1px solid #e2e8f0;outline:none}
.board-search button{padding:12px 14px;border:1px solid #e2e8f0;background:#fff;font-weight:900;cursor:pointer}
.btn{padding:10px 14px;border:1px solid #e2e8f0;background:#fff;font-weight:900;cursor:pointer}
.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}
.board-table{width:100%;border-collapse:collapse;margin-top:10px}
.board-table th,.board-table td{border-bottom:1px solid #eef2f7;padding:12px 10px;text-align:left}
.board-table thead th{text-align:center}
.board-table td:nth-child(1),.board-table td:nth-child(3),.board-table td:nth-child(4),.board-table td:nth-child(5){text-align:center}
.dl-mini{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-weight:900;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-more{margin-left:8px;color:#64748b;font-weight:900}
.board-table th{font-size:.9rem;color:#64748b}
.board-table td a:hover{text-decoration:underline}
.empty{text-align:center;color:#94a3b8;font-weight:900;padding:20px}
.pager{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:16px;font-weight:900}
.post-title{font-size:1.5rem;font-weight:900;margin-top:6px}
.post-meta{color:#64748b;margin-top:6px;font-weight:800}
.post-body{margin-top:16px;line-height:1.7}
.files{margin-top:16px;border-top:1px solid #eef2f7;padding-top:12px}
.files-t{font-weight:900;margin-bottom:8px}
.files a{display:block;color:var(--primary);font-weight:900;margin-top:6px}
.post-actions{display:flex;gap:10px;margin-top:18px}
.thread{margin-top:22px;border-top:1px solid #eef2f7;padding-top:12px}
.thread-t{font-weight:900;margin-bottom:10px}
.thread-item{padding:8px 0}
.thread-h{display:flex;gap:10px;align-items:center;font-weight:900}
.thread-h span{color:#64748b;font-weight:800}
.write-form .row{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.write-form label{font-weight:900}
.write-form input[type="text"], .write-form input[type="password"], .write-form input[type="file"]{padding:12px;border:1px solid #e2e8f0}
.write-form .hint{font-size:12px;color:#64748b}
.inline-form{display:inline}
.editor{background:#fff;border:1px solid #e2e8f0;min-height:280px}
.actions{margin-top:14px;display:flex;justify-content:flex-end;gap:10px}

@media (max-width: 1024px){
  .split-5-5,.split-6-4,.split-7-3,.split-4-6,.split-3-7,.g-preset-1-1-60-40,.g-preset-1-1-70-30,.g-preset-1-1-30-70{grid-template-columns:1fr}
  .tri{grid-template-columns:1fr}
  .dot-nav{display:none}
  .top-header{padding:0 16px}
  .hero-content h1{font-size:3.2rem}
  .img-box,.img-full{height:440px}
  .grid-cards, .grid-cards[class*="g-preset-"] { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)) !important; grid-template-rows:auto !important; height:auto; }
  .g-preset-1-2 > :nth-child(1), .g-preset-2-1 > :nth-child(3), .g-preset-1-3 > :nth-child(1), .g-preset-3-1 > :nth-child(4), .g-preset-v-1-2 > :nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .quick-menu{display:none}
}

/* [추가] Quill 폰트(영문) */
.ql-font-inter { font-family: 'Inter', sans-serif; }
.ql-font-poppins { font-family: 'Poppins', sans-serif; }
.ql-font-montserrat { font-family: 'Montserrat', sans-serif; }
.ql-font-nunito { font-family: 'Nunito', sans-serif; }
.ql-font-dm-sans { font-family: 'DM Sans', sans-serif; }
.ql-font-work-sans { font-family: 'Work Sans', sans-serif; }
.ql-font-source-sans-3 { font-family: 'Source Sans 3', sans-serif; }
.ql-font-figtree { font-family: 'Figtree', sans-serif; }
.ql-font-manrope { font-family: 'Manrope', sans-serif; }
.ql-font-rubik { font-family: 'Rubik', sans-serif; }
.ql-font-space-grotesk { font-family: 'Space Grotesk', sans-serif; }
.ql-font-sora { font-family: 'Sora', sans-serif; }
.ql-font-plus-jakarta-sans { font-family: 'Plus Jakarta Sans', sans-serif; }
.ql-font-merriweather { font-family: 'Merriweather', serif; }
.ql-font-playfair-display { font-family: 'Playfair Display', serif; }
.ql-font-lora { font-family: 'Lora', serif; }
.ql-font-oswald { font-family: 'Oswald', sans-serif; }
.ql-font-bebas-neue { font-family: 'Bebas Neue', sans-serif; }

/* [추가] 게시글 보기 - 다운로드 */
.files a.file-dl{display:flex;align-items:center;gap:8px}
.files a.file-dl i{opacity:.9}

/* ==========================
   [추가] 서브페이지 (타이틀/그리드 정렬 + 1-1 이미지 꽉차게)
   - 다른 그리드 프리셋/커스텀은 원래 규칙 그대로 적용
   ========================== */
.subpage{
  padding-top:76px;
  padding-bottom:0;
  background:#fff;
  --subMax:1280px;
}

.subpage .page-head{
  max-width:var(--subMax);
  margin:0 auto 8px;
  padding:0 24px;
}

.subpage .page-head-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.subpage .page-head-left{min-width:0}
.subpage .page-head-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.subpage .page-title{
  margin:0;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.12;
}

/* 부제목을 안 쓰는 모드: 공간 자체 제거 */
.subpage .page-subtitle{display:none !important;}

.subpage .sp-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(2,6,23,.14);
  background:rgba(255,255,255,.88);
  text-decoration:none;
  color:#0f172a;
  font-weight:800;
  white-space:nowrap;
}

.subpage .page-body{
  max-width:var(--subMax);
  margin:0 auto;
  padding:0 24px 16px;
}

.subpage .grid-cards{ margin-top:0; }

/* 1-1: 화면 안에서 스크롤 거의 없게(높이 제한) + 이미지/배경 꽉차게 */
.subpage .grid-cards.g-preset-1-1{
  height:min(560px, calc(100vh - 210px));
  overflow:hidden;
  border-radius:18px;
}

.subpage .grid-cards.g-preset-1-1 .grid-cell,
.subpage .grid-cards.g-preset-1-1 .grid-box{
  height:100%;
  min-height:0;
}

.subpage .grid-cards.g-preset-1-1 .grid-bg-layer,
.subpage .grid-cards.g-preset-1-1 .grid-box.has-bg{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.subpage .grid-cards.g-preset-1-1 .grid-box.isp-imgonly .grid-inner{ padding:0 !important; }
.subpage .grid-cards.g-preset-1-1 .grid-box.isp-imgonly .grid-rich{ height:100%; }
.subpage .grid-cards.g-preset-1-1 .grid-box.isp-imgonly .grid-rich > *{ margin:0 !important; }
.subpage .grid-cards.g-preset-1-1 .grid-box.isp-imgonly .grid-rich img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center;
  margin:0 !important;
}


/* ================================
   UI_SMALL_COLOR_PATCH_V3
   - 중앙 스크롤 버튼: 더 작게 + 컬러 + 바깥박스 제거 + 아이콘 강제 교체
   - 퀵메뉴: 더 작게 + 반전(filter) 제거 + 컬러 정리
   (기존 기능/레이아웃 훼손 없이 CSS override만)
================================ */

/* ---------- 중앙 스크롤 버튼 ---------- */
.scroll-controls{
  position: fixed !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;

  display: flex !important;
  flex-direction: column !important;   /* 위/아래 */
  align-items: center !important;
  gap: 10px !important;

  /* ✅ 바깥 알약/박스 제거 */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;

  z-index: 1600 !important;
}

/* 버튼 공통: 더 작게 */
.scroll-controls .sc-btn,
.scroll-controls button,
.scroll-controls a{
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  cursor: pointer !important;

  box-shadow:
    0 10px 26px rgba(15, 23, 42, .18),
    0 2px 6px rgba(15, 23, 42, .10) !important;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease !important;
}

/* ✅ 기존 아이콘(<i>, <svg>)은 숨기고, 우리가 원하는 아이콘을 ::before로 강제 */
.scroll-controls .sc-btn > *,
.scroll-controls button > *,
.scroll-controls a > *{
  display: none !important;
}

/* 위/아래 버튼 색(그라데이션) */
.scroll-controls .sc-btn:nth-child(1),
.scroll-controls button:nth-child(1),
.scroll-controls a:nth-child(1),
#scrollUp{
  background: linear-gradient(135deg, #22c55e, #10b981) !important;
}
.scroll-controls .sc-btn:nth-child(2),
.scroll-controls button:nth-child(2),
.scroll-controls a:nth-child(2),
#scrollDown{
  background: linear-gradient(135deg, #6366f1, #3b82f6) !important;
}

/* hover */
.scroll-controls .sc-btn:hover,
.scroll-controls button:hover,
.scroll-controls a:hover{
  transform: translateY(-1px) !important;
  filter: brightness(1.05) saturate(1.05) !important;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, .22),
    0 2px 8px rgba(15, 23, 42, .12) !important;
}

/* focus */
.scroll-controls .sc-btn:focus-visible,
.scroll-controls button:focus-visible,
.scroll-controls a:focus-visible{
  outline: none !important;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.65),
    0 0 0 6px rgba(59,130,246,.35),
    0 14px 34px rgba(15, 23, 42, .22) !important;
}

/* ✅ 아이콘 자체를 교체 (깔끔한 둥근 chevron SVG) */
.scroll-controls .sc-btn::before,
.scroll-controls button::before,
.scroll-controls a::before{
  content: "" !important;
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.12)) !important;
}

/* 위 아이콘 */
.scroll-controls .sc-btn:nth-child(1)::before,
.scroll-controls button:nth-child(1)::before,
.scroll-controls a:nth-child(1)::before,
#scrollUp::before{
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M6%2014l6-6%206%206%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
}

/* 아래 아이콘 */
.scroll-controls .sc-btn:nth-child(2)::before,
.scroll-controls button:nth-child(2)::before,
.scroll-controls a:nth-child(2)::before,
#scrollDown::before{
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M6%2010l6%206%206-6%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
}

/* ---------- 퀵메뉴(반전 제거 + 더 작게 + 컬러) ---------- */
.quick-menu, .quickmenu, #quickMenu{
  /* 기존 위치/레이아웃은 유지하되(이미 적용된 가로/세로 정책 존중),
     박스/반전 느낌만 정리 */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;

  /* 혹시 filter 반전이 들어갔다면 완전 제거 */
  filter: none !important;
}

.quick-menu a, .quickmenu a, #quickMenu a,
.quick-menu button, .quickmenu button, #quickMenu button{
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  cursor: pointer !important;

  /* ✅ 반전 제거 + 예쁜 컬러 버튼 */
  color: #fff !important;
  background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
  box-shadow:
    0 10px 26px rgba(15, 23, 42, .16),
    0 2px 6px rgba(15, 23, 42, .10) !important;

  transition: transform .15s ease, filter .15s ease !important;
  filter: none !important;
}

.quick-menu a:hover, .quickmenu a:hover, #quickMenu a:hover,
.quick-menu button:hover, .quickmenu button:hover, #quickMenu button:hover{
  transform: translateY(-1px) !important;
  filter: brightness(1.06) saturate(1.05) !important;
}

/* 아이콘 크기만 살짝 */
.quick-menu i, .quickmenu i, #quickMenu i{
  font-size: 16px !important;
  line-height: 1 !important;
  color: #fff !important;
  filter: none !important;
}

/* 툴팁(텍스트) */
.quick-menu .qm-text, .quickmenu .qm-text, #quickMenu .qm-text{
  filter: none !important;
}

@media (max-width: 1024px){
  .quick-menu, .quickmenu, #quickMenu{ display:none !important; }
}


/* ==========================
   SUBPAGE_CAROUSEL_FIX_V1
   - grid-media가 z-index:0 이면(스택컨텍스트 생성) 내부 버튼이 grid-hit(z=10) 위로 못 올라감
   - 따라서 grid-media의 z-index를 auto로 돌려 버튼 z-index가 부모(그리드박스) 기준으로 동작하게 함
   - overlay가 클릭을 가로채지 않도록 pointer-events 비활성
   ========================== */
.grid-media{ z-index:auto !important; }
.grid-ov, .grid-bg-layer{ pointer-events:none !important; }

/* (안전) 혹시라도 옛 img-nav가 남아있으면 숨김 */
.img-nav{ display:none !important; }

/* ISP_OVERLAY_V5_BEGIN */
body.isp-open{ overflow:hidden !important; }

.isp-overlay{
  position:fixed; inset:0; z-index:999999;
  display:none;
}
.isp-overlay.open{ display:block; }

/* dim을 너무 검게 하지 않기 */
.isp-overlay .isp-dim{
  position:absolute; inset:0;
  background:rgba(2,6,23,0.30);
  backdrop-filter: blur(4px);
}

/* 패널은 적당한 여백 + 밝은 톤 */
.isp-overlay .isp-panel{
  position:absolute; inset:14px;
  background:#ffffff;
  box-shadow:0 18px 60px rgba(0,0,0,0.18);
  border-radius:16px;
  overflow:hidden;
  display:flex; flex-direction:column;
}

/* 상단바: 검은바 느낌 최소화 */
.isp-overlay .isp-top{
  flex:0 0 auto;
  padding:10px 14px;
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(15,23,42,0.06);
  color:#0f172a;
  border-bottom:1px solid rgba(15,23,42,0.10);
}
.isp-overlay .isp-title{ display:none; } /* /p/server 텍스트는 숨김(원하면 다시 살릴 수 있음) */

.isp-overlay .isp-close{
  all:unset;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:13px;
  color:#0f172a;
  opacity:.9;
  line-height:1;
}
.isp-overlay .isp-close:hover{ opacity:1; }
.isp-overlay .isp-close-x{
  display:inline-flex;
  width:28px; height:28px;
  align-items:center; justify-content:center;
  border-radius:10px;
  background:rgba(15,23,42,0.08);
  font-size:20px;
  margin-top:-2px;
}

.isp-overlay .isp-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  background:#f8fafc;
  padding:18px;              /* 홈페이지처럼 여백 */
}

/* ★ 오버레이 내부: "꽉채움 강제(height:100/flex)" 제거하고,
   홈페이지처럼 중앙정렬 + 최대폭으로만 보여주기 */
.isp-overlay .isp-body > *{
  width: min(1280px, 100%);
  margin: 0 auto;
}

/* 오버레이 내부에서 서브페이지 상단 요소는 계속 숨김(원하면 조정 가능) */
.isp-overlay .isp-body section.subpage-sec .sec-title-row,
.isp-overlay .isp-body section.subpage-sec .sec-tag,
.isp-overlay .isp-body section.subpage-sec .sub-back,
.isp-overlay .isp-body section.subpage-sec .page-title{
  display:none !important;
}

/* /p/ 직접 진입(서브페이지)에서 1-1 프리셋 높이 보정: subpage 클래스에만 한정 */
.subpage .grid-cards.g-preset-1-1{
  aspect-ratio: 1920 / 720;
  height:auto;
  max-height:min(820px, calc(100vh - 140px));
}

@media (max-width: 720px){
  .isp-overlay .isp-panel{ inset:0; border-radius:0; }
  .isp-overlay .isp-body{ padding:10px; }
}
/* ISP_OVERLAY_V5_END */


/* SUBPAGE_REWRITE_V3 */

/* 인라인 오버레이 기본 X(상단) 숨기고, 서브페이지 내부 X 사용 */
.isp-wrap .isp-close{display:none !important;}

.subpage-sec .wrap{position:relative}

/* 서브페이지 내부 닫기 버튼(X) */
.subpage-sec .sub-close-float{
  position:absolute; top:12px; right:12px;
  z-index:30;
  width:40px; height:40px; border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.78);
  color:#0f172a;
  font-size:24px; line-height:38px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  backdrop-filter: blur(6px);
}
.subpage-sec .sub-close-float:hover{background:rgba(255,255,255,.92)}

/* 배경 전환 좌/우 버튼 */
.subpage-sec .sub-bg-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:25;
  width:44px; height:44px; border-radius:999px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(0,0,0,.28);
  color:#fff;
  font-size:28px; line-height:40px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  backdrop-filter: blur(6px);
}
.subpage-sec .sub-bg-nav.prev{left:10px}
.subpage-sec .sub-bg-nav.next{right:10px}
.subpage-sec .sub-bg-nav:hover{background:rgba(0,0,0,.40)}
@media (max-width:720px){
  .subpage-sec .sub-bg-nav{width:38px;height:38px;font-size:24px}
  .subpage-sec .sub-bg-nav.prev{left:8px}
  .subpage-sec .sub-bg-nav.next{right:8px}
  .subpage-sec .sub-close-float{top:10px;right:10px;width:38px;height:38px;font-size:22px}
}


/* ISP_MODAL_NO_SCROLL_V1 */

/* 모달(인라인 오버레이)에서는 스크롤이 생기지 않도록 강제 */
html.isp-open, body.isp-open{
  overflow:hidden !important;
  height:100% !important;
}

/* 오버레이 컨테이너 자체 스크롤 제거 */
.isp-wrap, .isp-overlay, .isp-modal, .isp-panel, .isp-body{
  overflow:hidden !important;
}

/* 스크롤바 표시되는 브라우저 대응(있어도 0px) */
.isp-body::-webkit-scrollbar{width:0;height:0}

/* 모달에서 서브페이지는 1화면으로 고정(넘치면 잘리게) */
.isp-body section.subpage-sec{
  height:100vh !important;
  max-height:100vh !important;
  overflow:hidden !important;
}
.isp-body section.subpage-sec .wrap{
  height:100% !important;
  max-height:100% !important;
  overflow:hidden !important;
}

/* 내부 그리드가 높이로 밀어내며 스크롤 만드는 케이스 차단 */
.isp-body section.subpage-sec .grid-cards,
.isp-body section.subpage-sec .grid-rich{
  max-height:100% !important;
  overflow:hidden !important;
}


/* FULLSTACK_TEXTHEIGHT_KEEPDB_V1:business-aiengineering */

/* Full-Stack AI Engineering 섹션: 텍스트 잘림 방지(PC) */
section#business-aiengineering .txt-box,
section#business-aiengineering .only-text,
section#business-aiengineering .grid-rich,
section#business-aiengineering .grid-inner{
  min-height: 260px !important;
  padding-bottom: 18px !important;
  overflow: visible !important;
  max-height: none !important;
}

section#business-aiengineering .grid-cards .grid-cell{
  min-height: 300px !important;     /* 카드 자체도 높이 확보 */
}

section#business-aiengineering .grid-rich p,
section#business-aiengineering .grid-rich li{
  margin: 0 0 8px 0 !important;
  line-height: 1.65 !important;
}

/* 이미지+텍스트 오버레이 타입이면 이미지도 안전하게 */
section#business-aiengineering .grid-rich img{
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}


/* FULLSTACK_MORE_AND_MODAL_CENTER_V1 */


/* ---- Full-Stack AI Engineering: 텍스트/카드 높이 더 증가 + 잘림/클램프 해제 ---- */
section#business-aiengineering .txt-box,
section#business-aiengineering .only-text,
section#business-aiengineering .sec-body,
section#business-aiengineering .grid-inner,
section#business-aiengineering .grid-rich {
  min-height: 380px !important;
  padding-bottom: 22px !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

section#business-aiengineering .grid-cards .grid-cell {
  min-height: 520px !important;
}

section#business-aiengineering .grid-box {
  min-height: 520px !important;
  height: auto !important;
  overflow: visible !important;
}

/* line-clamp/ellipsis 류 강제 해제 */
section#business-aiengineering .grid-rich,
section#business-aiengineering .grid-rich *,
section#business-aiengineering .grid-inner,
section#business-aiengineering .grid-inner * {
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  white-space: normal !important;
  text-overflow: initial !important;
  overflow: visible !important;
}

/* ---- 모랄(인라인 모달): 항상 정중앙 ---- */
.isp-wrap,
.isp-overlay {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
}

.isp-wrap .isp-panel,
.isp-overlay .isp-panel {
  margin: auto !important;
  position: relative !important;
  transform: none !important;  /* 이상한 translate가 있으면 제거 */
}



/* FIX_MODAL_CLOSE_AND_FULLSTACK_MORE_KEEPDB_V1 */


/* =========================================================
   1) 모랄(isp-wrap) 닫기 불가/Loading 잔상 FIX
   - closeOverlay()는 open 클래스 제거만 합니다.
   - 따라서 .isp-wrap은 open 없으면 반드시 display:none 이어야 합니다.
   ========================================================= */
.isp-wrap{ display:none !important; }
.isp-wrap.open{ display:block !important; } /* inline_subpage.js 기본 동작과 동일 */

/* 이전 패치에서 패널 위치를 relative/transform:none으로 강제했던 것 되돌림 */
.isp-wrap .isp-panel{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
}

/* =========================================================
   2) Full-Stack AI Engineering: 더 안 잘리게(섹션 한정)
   ========================================================= */
section#business-aiengineering .grid-cards,
section#business-aiengineering .grid-cell,
section#business-aiengineering .grid-box,
section#business-aiengineering .grid-inner,
section#business-aiengineering .grid-rich,
section#business-aiengineering .txt-box,
section#business-aiengineering .only-text,
section#business-aiengineering .sec-body{
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

section#business-aiengineering .grid-inner,
section#business-aiengineering .grid-rich,
section#business-aiengineering .txt-box,
section#business-aiengineering .only-text{
  min-height: 460px !important;
  padding-bottom: 26px !important;
}

section#business-aiengineering .grid-cards .grid-cell,
section#business-aiengineering .grid-box{
  min-height: 720px !important;
}

/* 줄임/클램프/ellipsis 전부 해제 */
section#business-aiengineering .grid-rich,
section#business-aiengineering .grid-rich *,
section#business-aiengineering .grid-inner,
section#business-aiengineering .grid-inner *{
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  white-space: normal !important;
  text-overflow: initial !important;
  overflow: visible !important;
}


/* MOBILE_ONLY_BUSINESS_AIENG_FIX_V1:business-aiengineering */

/* business-aiengineering: 모바일에서만(PC 영향 0) 깨지는 표시 복구 */
@media (max-width: 980px){
  /* 섹션이 '빈 공간'처럼 보이는 현상 방지 */
  section#business-aiengineering{ 
    min-height: auto !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  /* 리빌 애니메이션/opacity 0 때문에 안 보이는 경우 강제 표시 */
  section#business-aiengineering .m-reveal,
  section#business-aiengineering [class*="reveal"]{
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* 그리드/카드가 높이 0 또는 display 이슈로 사라지는 경우 복구 */
  section#business-aiengineering .grid-cards{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  section#business-aiengineering .grid-cell{
    min-height: 220px !important;
  }
  section#business-aiengineering .grid-box,
  section#business-aiengineering .img-box{
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  /* 배경이미지 레이어가 숨김 처리된 경우 강제 표시 */
  section#business-aiengineering .grid-box.has-bg{
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  section#business-aiengineering .grid-bg-layer{
    display: block !important;
    opacity: 1 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  /* (레이아웃1 계열) 이미지가 찌그러지거나 안 보이는 경우 */
  section#business-aiengineering .img-box img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }

  /* (레이아웃2 계열) 텍스트가 아래로 밀리거나 영역이 꼬이는 경우 */
  section#business-aiengineering .grid-inner{
    max-height: none !important;
    overflow: visible !important;
  }
}
