* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
}

/* thin scroll bar */
::-webkit-scrollbar {
  width: 2px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(120, 120, 120, 0.3);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 120, 120, 0.5);
}

/* Left Navigation Bar */
.left-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0);
  border-right: 1px solid rgba(120, 120, 120, 0.15);
  padding: 40px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}

.left-nav-brand {
  margin-bottom: 80px;
}

.left-nav-brand h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: #dc2626;
  margin: 0 0 5px 0;
letter-spacing: -0.02em;
}

.left-nav-brand .tagline {
  font-size: 0.95em;
  color: #dc2626;
  font-weight: 500;
letter-spacing: 0.02em;
}

.left-nav-menu {
  flex: 1;
}

.left-nav-item {
  /* 메뉴 항목은 크롤러가 URL 을 발견할 수 있도록 <a> 로 렌더링한다.
     <a> 는 기본이 인라인이라 세로 마진이 먹지 않으므로 블록으로 고정한다. */
  display: block;
  margin-bottom: 20px;
  font-size: 0.95em;
  color: rgba(120, 120, 120, 1);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.left-nav-item:hover {
  color: #dc2626;
}

.left-nav-item.active {
  color: #dc2626;
  font-weight: 600;
}

.left-nav-item.section-title {
  font-weight: 600;
margin-top: 0;
margin-bottom: 20px;
  cursor: default;
}

.left-nav-item.section-title:not(.collapsible) {
  cursor: pointer;
}

.left-nav-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(120, 120, 120, 0.3);
}

.left-nav-footer .footer-item {
  display: block;
  font-size: 0.85em;
  color: rgba(120, 120, 120, 1);
  margin-bottom: 1cqb;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
}

.left-nav-footer .footer-item:hover {
  color: #dc2626;
}

.left-nav-footer .lang-switcher {
  font-size: 0.85em;
  color: rgba(120, 120, 120, 1);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.left-nav-footer .lang-switcher span {
  cursor: pointer;
  transition: color 0.3s ease;
}

.left-nav-footer .lang-switcher span:hover {
  color: #dc2626;
}

.left-nav-footer .lang-switcher span.active {
  color: #dc2626;
  font-weight: 600;
}

.left-nav-footer .lang-switcher .divider {
  flex: 1;
  height: 1px;
  background: rgba(120, 120, 120, 0.3);
  margin: 0 5px;
}

.mobile-lang-switcher,
.mobile-doc-link {
  display: none;
}

.desktop-en-break,
.desktop-break {
  display: inline;
}

/* History List Styles */
.history-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0; /* 상단 여백, 가로 중앙 정렬 */
  max-width: 600px;    /* 너무 넓게 퍼지지 않도록 너비 제한 */
  width: 80%;
  text-align: left;    /* 텍스트 왼쪽 정렬 */
}

.history-list li {
  position: relative;
  padding-left: 25px;  /* 불릿 공간 확보 */
  margin-bottom: 15px; /* 항목 간 간격 */
  font-size: 1.0em;
  color: rgba(120, 120, 120, 1);
  line-height: 1.6;
}

/* 붉은색 불릿 (Red Dot Bullet) */
.history-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;          /* 텍스트 높이에 맞춰 수직 위치 조정 */
  width: 6px;
  height: 6px;
  background-color: #dc2626; /* 브랜드 붉은색 */
  border-radius: 50%;  /* 원형 */
}

.history-entry {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.history-entry-date {
  color: #4a4a4a;
  font-weight: 700;
  white-space: nowrap;
}

.container {
  /* max-width: 1200px; */
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container {
  /* position: relative; */
  height: 90%;
  /* max-width: 900px; */
  /* margin: 0 auto; */
  padding: 40px;
  /* background: rgba(204, 204, 204, 255); */
  background: rgba(255, 255, 255, 0);

  /* border-radius: 20px; */
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); */
  /* border: 1px solid rgba(220, 38, 38, 0.1); */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.8s ease;
}

.page-section:not(.active-section) .map-container {
  transform: scale(0.9);
  opacity: 0;
}

svg {
  height: 100%;
  width: auto;
  /* filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.1)); */
}

#gravity-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.region {
  cursor: pointer;
  transition: all 0.3s ease;
  /* stroke: #dc2626; */
  stroke: rgba(120, 120, 120, 255);
  stroke-width: 1;
  fill: rgba(220, 38, 38, 0);
  /* fill: rgba(220, 38, 38, 0.05); */
  /* fill: #dc2626; */
}

.region:hover {
  /* fill: rgba(220, 38, 38, 0.2); */
  fill: #dc2626;
  stroke-width: 1;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.5));
}

.data-dot.dimmed {
  fill: rgba(120, 120, 120, 1);
}

.region_btwn {
  cursor: pointer;
  transition: all 0.3s ease;
  /* stroke: #dc2626; */
  /* stroke: gray; */
  stroke: rgba(120, 120, 120, 255);
  stroke-width: 1;
  fill: rgba(220, 38, 38, 0);
  /* fill: #fff; */
}

.region_btwn:hover {
  /* fill: rgba(220, 38, 38, 0.2); */
  fill: #dc2626;
  stroke-width: 1;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.5));
}

.region_chido_2 {
  /* cursor: pointer; */
  transition: all 0.3s ease;
  /* stroke: #dc2626; */
  stroke: rgba(120, 120, 120, 255);
  stroke-width: 1;
  /* fill: rgba(220, 38, 38, 0); */
  fill: #fff;
  /* fill: rgba(204, 204, 204, 255); */
}

/* 지도 느낌의 장식 요소 */
.map-grid {
  stroke: rgba(0, 0, 0, 0.1);
  /* stroke: rgba(0, 0, 0, 0.7); */
  stroke-width: 0.5;
  fill: none;
}

.map-boundary {
  stroke: #dc2626;
  stroke-width: 4;
  fill: none;
  opacity: 0.9;
}

/* 등고선 느낌 */
.contour-line {
  stroke: rgba(220, 38, 38, 0.15);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4, 4;
}

/* 레이블 */
.region-label {
  font-size: 18px;
  font-weight: 700;
  fill: #1a1a1a;
  text-anchor: middle;
  pointer-events: none;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
}

/* 작은 아이콘들 (지도 느낌) */
.map-icon {
  /* fill: #dc2626; */
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease, r 0.3s ease,
    cx 3s cubic-bezier(0.4, 0, 0.2, 1), cy 3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.map-icon:hover {
  opacity: 1;
  r: 6;
}

.data-dot {
  /* fill: #dc2626; */
  fill: rgba(120, 120, 120, 1);
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.3s ease, r 0.3s ease,
    cx 3s cubic-bezier(0.4, 0, 0.2, 1), cy 3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.data-dot:hover {
  opacity: 1;
  fill: rgba(220, 38, 38, 1);
  r: 8;
}

/* Special styling for center MIMLAB dot */
#data-dot-2 {
  fill: rgba(220, 38, 38, 1);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.6));
}

#data-dot-2:hover {
  r: 10;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.8));
}

.info-panel {
  text-align: center;
  margin-top: 40px;
  color: #666;
  font-size: 0.9em;
}

/* 애니메이션 */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* 로고 영역 */
/* .logo-section {
  text-align: center;
  margin-bottom: 30px;
} */

/* .logo-text {
  color: #dc2626;
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 10px;
} */

/* Top right title section */
.info-top-right {
  position: fixed;
  right: clamp(72px, 5.2vw, 100px);
  top: 40px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-10px);
  z-index: 999;
}

.info-top-right.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.info-top-right h3 {
  font-size: 2.5em;
  font-weight: 700;
  /* color: #dc2626; */
  color: rgba(120, 120, 120, 1);
  margin: 0;
  text-align: right;
  position: relative;
  padding-bottom: 20px;
}

/* Decorative line with dot at the end */
.info-top-right h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 1px;
  background: rgba(120, 120, 120, 0.3);
}

.info-top-right h3::before {
  content: '';
  position: absolute;
  bottom: -2.49px;
  right: -6px;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(120, 120, 120, 0.3);
  border-radius: 50%;
}

/* Info panel on the right */
.info-panel-right {
  --info-panel-content-font-size: 0.85rem;
  position: fixed;
  right: clamp(72px, 5.2vw, 100px);
  top: auto;
  /* Collapsed Grid Controls top: viewport bottom - 30px - 82px.
     The detail button is 36px tall with 30px panel padding, so a 46px
     panel offset puts both control tops on the same horizontal line. */
  bottom: 46px;
  width: 350px;
  height: min(76vh, calc(100vh - 160px));
  height: min(76dvh, calc(100dvh - 160px));
  min-height: 0;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0);
  border-left: 1px dotted rgba(120, 120, 120, 0.3);
  /* border: 2px solid #dc2626; */
  /* border-radius: 12px; */
  padding: 30px;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: hidden;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-panel-right.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.panel-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font: inherit;
  font-size: 1.2em;
  line-height: 1;
  cursor: pointer;
}

.panel-close-btn:hover,
.panel-close-btn:focus-visible {
  color: #dc2626;
  outline: none;
}


/* Grid Configuration Panel */
.grid-config-panel {
  position: fixed;
  bottom: 30px;
left: 310px;
  width: 280px;
  max-height: 90vh;
  border: 1px solid rgba(120, 120, 120, 0.3);
  border-radius: 8px;
  padding: 15px;
  z-index: 1001;
  overflow: hidden;
  font-size: 13px;
}

.config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(120, 120, 120, 0.2);
}

.config-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(120, 120, 120, 1);
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: rgba(120, 120, 120, 1);
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.toggle-btn:hover {
  color: #dc2626;
}

.config-content {
  max-height: 50vh; /* 스크롤바가 자연스럽게 생기도록 최대 높이 조정 */
  overflow-y: auto;
  transition: max-height 0.3s ease;
  padding-right: 5px;
}

/* Grid Controls 패널 스크롤바 커스텀 */
.config-content::-webkit-scrollbar {
  width: 4px;
}
.config-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}
.config-content::-webkit-scrollbar-thumb {
  background: rgba(120, 120, 120, 0.4);
  border-radius: 4px;
}

.config-content.collapsed {
  max-height: 0;
  overflow: hidden;
}

.config-section {
  margin-bottom: 15px;
}

.config-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: rgba(120, 120, 120, 1);
}

.config-section input[type='range'] {
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

/* Slider track - gray */
.config-section input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: #d1d5db;
  border-radius: 3px;
}

.config-section input[type='range']::-moz-range-track {
  width: 100%;
  height: 6px;
  background: #d1d5db;
  border-radius: 3px;
}

/* Slider thumb - gray */
.config-section input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6b7280;
  cursor: pointer;
  margin-top: -5px;
}

.config-section input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6b7280;
  cursor: pointer;
  border: none;
}

/* Hover effect */
.config-section input[type='range']::-webkit-slider-thumb:hover {
  background: #4b5563;
}

.config-section input[type='range']::-moz-range-thumb:hover {
  background: #4b5563;
}

.config-section input[type='checkbox'] {
  margin-right: 8px;
  cursor: pointer;
  accent-color: #dc2626; /* 체크박스 색상을 브랜드 색상으로 변경 */
}

#random-controls {
  padding-left: 10px;
  border-left: 2px solid rgba(220, 38, 38, 0.2);
  margin-left: 10px;
}

.reset-btn {
  width: 100%;
  padding: 10px;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  margin-top: 10px;
  transition: background 0.2s;
}

.reset-btn:hover {
  background: #b91c1c;
}

.info-panel-right .subtitle {
  font-size: var(--info-panel-content-font-size);
  margin-bottom: 15px;
  color: rgba(120, 120, 120, 1);
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
  width: 100%;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.info-panel-right .description {
  font-size: var(--info-panel-content-font-size);
  line-height: 1.7;
  color: rgba(120, 120, 120, 1);
  font-weight: 400;
  width: 100%;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.info-panel-right .description img {
  width: min(100%, 260px);
  max-width: 100%; /* 너비가 부모 요소를 넘지 않도록 설정 */
  height: auto; /* 높이를 자동으로 조절하여 이미지 비율 유지 */
  object-fit: contain; /* 이미지가 잘리지 않고 비율에 맞게 포함되도록 설정 */
  display: block;
}

.info-panel-right .description img.sidebar-full-bleed {
  width: min(100%, 300px) !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.info-panel-right .description img:not(.sidebar-full-bleed) {
  max-width: 260px;
}

.info-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.info-panel-right #info-description {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-right: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-panel-right #info-description::-webkit-scrollbar {
  display: none;
}

.info-detail-btn {
  display: none;
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 20px;
  padding: 10px 16px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.info-detail-btn:hover {
  background: #b91c1c;
}

.info-detail-btn.show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Scroll navigation indicator */
.scroll-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.scroll-nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.scroll-nav-dot:hover {
  background: rgba(220, 38, 38, 0.7);
  transform: scale(1.2);
}

.scroll-nav-dot.active {
  background: rgba(220, 38, 38, 0.7);
  /* box-shadow: 0 0 0 5px rgba(120, 120, 120, 0.1); */
}

.scroll-nav-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-53%, -53%);
  width: 15px;
  height: 15px;
  border: 0.1px solid rgba(120, 120, 120, 0);
  border-radius: 50%;
}
.scroll-nav-dot:hover::before {
  border: 0.1px solid rgba(220, 38, 38, 0.7);
}
.scroll-nav-dot.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-53%, -53%);
  width: 15px;
  height: 15px;
  border: 0.1px solid rgba(120, 120, 120, 0.3);
  border-radius: 50%;
}
.scroll-nav-dot.active:hover::before {
  border: 0.1px solid rgba(220, 38, 38, 0.7);
}

/* Sections for scrolling */
.page-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(100vh);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.page-section.active-section {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 10;
}

.page-section.scroll-up {
  transform: translateY(-100vh);
}

.page-section.scroll-down {
  transform: translateY(100vh);
}

.page-section .container {
  text-align: center;
  padding: 40px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section:not(.active-section) .container {
  transform: scale(0.9);
}

.page-section h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
}

.page-section:not(.active-section) h1 {
  opacity: 0;
  transform: translateY(30px);
}

.page-section p {
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.page-section:not(.active-section) p {
  opacity: 0;
  transform: translateY(20px);
}

/* Platform pages move as one panel. Layering the section slide with separate
   container scaling and text drift makes direction feel inconsistent because
   each platform has a different content height. */
.page-section.platform-section .container,
.page-section.platform-section h1,
.page-section.platform-section p {
  transition: none;
}

.page-section.platform-section:not(.active-section) .container,
.page-section.platform-section:not(.active-section) h1,
.page-section.platform-section:not(.active-section) p {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-section,
  .page-section .container,
  .page-section h1,
  .page-section p,
  .platform-home-return,
  .platform-home-return span[aria-hidden='true'] {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Grid background for ABOUT sections */
.page-section.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(120, 120, 120, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(120, 120, 120, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.page-section.about-section .container {
  position: relative;
  z-index: 1;
}

.about-container {
  flex-direction: column;
  color: rgba(120, 120, 120, 1);
}

.about-container p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.platform-home-return {
  position: absolute;
  top: clamp(20px, 3vh, 36px);
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  color: rgba(120, 120, 120, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.platform-home-return:hover,
.platform-home-return:focus-visible {
  color: #dc2626;
  border-bottom-color: rgba(220, 38, 38, 0.45);
  outline: none;
}

.platform-home-return span[aria-hidden='true'] {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.platform-home-return:hover span[aria-hidden='true'],
.platform-home-return:focus-visible span[aria-hidden='true'] {
  transform: translateX(-3px);
}

/* News 페이지 상단 정렬을 위한 추가 스타일 */
.page-section.top-aligned {
  align-items: flex-start; /* 내용을 위로 정렬 */
}
.page-section.top-aligned > .container {
  height: auto;
  min-height: 100vh;
  justify-content: flex-start;
  padding-top: 12vh; /* 화면 상단으로부터의 여백 */
  padding-bottom: 12vh;
}

@media (min-width: 769px) {
  .page-section.top-aligned,
  .page-section.platform-section {
    align-items: flex-start;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page-section.platform-section > .container {
    height: auto;
    min-height: 100vh;
  }
}

@media (min-width: 901px) and (max-height: 950px) {
  html[lang='en'] .page-section.platform-section > .container {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  html[lang='en'] .page-section.platform-section[data-slug='chido'] > .container {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  html[lang='en'] .page-section.platform-section h1 {
    margin-bottom: 16px;
  }

  html[lang='en'] .page-section.platform-section h1 + p {
    margin-top: 8px !important;
    font-size: 1.1em !important;
  }

  html[lang='en'] .page-section.platform-section h1 + p + p {
    margin-top: 12px !important;
    margin-bottom: 16px !important;
    font-size: 1em !important;
  }

  html[lang='en'] .page-section.platform-section .platform-grid {
    gap: 24px;
    margin-top: 16px;
  }

  html[lang='en'] .page-section.platform-section .platform-card {
    padding: 20px 16px;
  }

  html[lang='en'] .page-section.platform-section .platform-card-title {
    margin-bottom: 12px;
    padding-bottom: 12px;
    font-size: 1.08em;
    line-height: 1.3;
  }

  html[lang='en'] .page-section.platform-section .platform-card-desc {
    font-size: 0.9em;
    line-height: 1.5;
  }

  html[lang='en'] .page-section.platform-section .feature-grid {
    gap: 20px;
    margin-top: 36px;
  }

  html[lang='en'] .page-section.platform-section .feature-card {
    padding: 18px;
  }

  html[lang='en'] .page-section.platform-section .platform-chido {
    gap: 16px;
  }

  html[lang='en'] .page-section.platform-section .platform-chido .feature-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  html[lang='en'] .page-section.platform-section .feature-list li {
    margin-bottom: 6px;
    font-size: 0.82em;
    line-height: 1.4;
  }
}

body {
  overflow: hidden;
}

/* --- 메뉴 접기/펼치기용 CSS 추가 --- */
.left-nav-item.collapsible {
  cursor: pointer; /* 클릭 가능하도록 커서 변경 */
  position: relative;
  transition: margin-bottom 0.35s ease-in-out, color 0.3s ease;
}

    .left-nav-item.collapsible.expanded {
margin-bottom: 15px; /* 메뉴가 열렸을 때 하위 메뉴와의 간격을 자연스럽게 좁힘 */
    }

/* 펼침/닫힘 상태 표시 아이콘 (예: 화살표) */
.left-nav-item.collapsible::after {
  content: '▸'; /* 닫혔을 때 (오른쪽 화살표) */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  color: rgba(120, 120, 120, 0.7);
  transition: transform 0.3s ease;
}

/* 'expanded' 클래스가 추가됐을 때 아이콘 회전 */
.left-nav-item.collapsible.expanded::after {
  transform: translateY(-50%) rotate(90deg); /* 열렸을 때 (아래쪽 화살표) */
}

/* 하위 메뉴 컨테이너 기본 상태 (숨김) */
.sub-menu-container {
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  opacity: 0;
  transition: max-height 0.35s ease-in-out, margin-bottom 0.35s ease-in-out, opacity 0.25s ease-in-out;
}

/* --- 하위 메뉴 들여쓰기 추가 --- */
.sub-menu-container .left-nav-item {
  padding-left: 12px;
  margin-bottom: 15px; /* 서브메뉴 항목 간격 */
  transition: padding 0.2s ease, color 0.3s ease; /* 전환 효과 통합(겹침/깜빡임 방지) */
  line-height: 1.4; /* 텍스트 세로 겹침 현상 완벽 방지 */
}

.sub-menu-container .left-nav-item:hover {
  color: #dc2626;
  padding-left: 16px;
}      

.sub-menu-container .left-nav-item:last-child {
  margin-bottom: 0; /* 컨테이너(BFC) 외부 마진과 불규칙하게 더해지는 현상을 막기 위해 0으로 설정 */
}


/* 'expanded' 클래스가 추가됐을 때 컨테이너 펼침 */
.sub-menu-container.expanded {
  max-height: 250px; /* 실제 높이와 유사하게 설정하여 닫힐 때의 딜레이/튀는 현상 방지 */
  margin-bottom: 20px; /* 열렸을 때 다음 메인 타이틀과의 간격 확보 */
  opacity: 1;
  transition: max-height 0.35s ease-in-out, margin-bottom 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

    /* --- Partners Grid Styles --- */
    .partners-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 20px;
margin-top: 40px;
width: 100%;
max-width: 1100px;
    }

    .partner-item {
background: #ffffff;
border: 1px solid rgba(120, 120, 120, 0.15);
border-radius: 8px;
padding: 20px; /* 로고가 테두리에 닿지 않도록 충분한 여백 확보 */
aspect-ratio: 3/2;
display: flex;
justify-content: center;
align-items: center;
transition: all 0.3s ease;
    }

    .partner-item:hover {
transform: translateY(-3px);
box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
border-color: rgba(220, 38, 38, 0.3);
    }

    .partner-item img {
width: 106%;
height: 79%;
max-width: 172px;
object-fit: contain;
filter: grayscale(100%) opacity(0.6);
transition: all 0.3s ease;
    }

    .partner-item:hover img {
filter: grayscale(0%) opacity(1);
    }

    @media (min-width: 901px) and (max-width: 1700px) {
.page-section .partners-container {
  padding-left: 300px;
}
    }

    @media (max-width: 1024px) { .partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    @media (max-width: 768px) { .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    @media (max-width: 480px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Vision 섹션 이미지 스타일 추가 --- */
.vision-image-container {
  margin-top: 80px; /* 텍스트와의 간격 */
  width: 100%;
  display: flex;
  justify-content: center;
}

.vision-image {
  max-width: 50%;      /* 이미지 크기 조절 (화면의 80%) */
  height: auto;        /* 비율 유지 */
  border-radius: 12px; /* 모서리 둥글게 */
  object-fit: cover;   /* 이미지 비율 유지하며 채우기 */
}

.highlight {
  color: #dc2626;
}

    /* --- Project List Styles --- */
    .project-list {
list-style: none;
padding: 0;
margin: 64px auto 0;
max-width: 1360px;
width: 100%;
text-align: left;
    }

.project-list li {
position: relative;
padding-left: 25px;
margin-bottom: 16px;
font-size: 1.05em;
color: rgba(120, 120, 120, 1);
line-height: 1.6;
display: flex;
gap: 20px;
align-items: baseline;
}

    .project-list li::before {
content: '';
position: absolute;
left: 0;
top: 0.6em;
width: 6px;
height: 6px;
background-color: #dc2626;
border-radius: 50%;
    }

    .project-year {
flex: 0 0 100px;
font-weight: 600;
color: #dc2626;
margin-right: 20px;
    }

    .project-name {
flex: 1;
word-break: keep-all;
    }

    .project-client {
flex: 0 0 260px;
text-align: right;
font-weight: 500;
color: #666;
margin-right: -10px;
    }

    .project-link {
flex: 0 0 100px;
text-align: center;
    }

    .project-link a {
background: #dc2626;
color: white;
padding: 4px 12px;
border-radius: 5px;
text-decoration: none;
font-weight: 500;
font-size: 0.9em;
transition: background 0.3s ease;
    }
    .project-link a:hover {
background: #b91c1c;
text-decoration: none;
    }

    #projects-section .project-list {
min-height: clamp(420px, 40vh, 520px);
    }

    .content-pagination {
width: 100%;
max-width: 1200px;
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
margin: 24px auto 0;
    }

    .content-pagination[hidden] {
display: none;
    }

    .content-page-button {
min-width: 112px;
min-height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 12px;
border: 0;
border-bottom: 1px solid rgba(120, 120, 120, 0.35);
background: transparent;
color: #666;
font: inherit;
font-size: 0.9em;
font-weight: 600;
cursor: pointer;
transition: color 0.2s ease, border-color 0.2s ease;
    }

    .content-page-button:hover:not(:disabled),
    .content-page-button:focus-visible {
color: #dc2626;
border-bottom-color: #dc2626;
outline: none;
    }

    .content-page-button:disabled {
color: rgba(120, 120, 120, 0.38);
border-bottom-color: rgba(120, 120, 120, 0.14);
cursor: default;
    }

    .content-page-status {
min-width: 64px;
color: #dc2626;
font-size: 0.86em;
font-weight: 600;
letter-spacing: 0.12em;
text-align: center;
font-variant-numeric: tabular-nums;
    }

    @media (min-width: 901px) {
#projects-section .project-content {
  width: 100%;
}

html[lang='en'] #projects-section .project-list {
  min-height: 576px;
}

html[lang='en'] #projects-section .project-client {
  flex-basis: 360px;
  font-size: 0.75rem;
  line-height: 1.25;
  white-space: nowrap;
}

html[lang='en'] #projects-section .project-link {
  flex-basis: 80px;
}

#projects-section .content-pagination {
  position: absolute;
  right: 40px;
  bottom: 40px;
  left: 40px;
  width: auto;
  max-width: none;
  margin: 0;
}
    }

    @media (min-width: 901px) and (min-height: 951px) {
html[lang='en'] #projects-section .project-list li {
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.5;
}
    }

    @media (min-width: 901px) and (max-height: 950px) {
#projects-section .about-container {
  padding-top: 24px;
  padding-bottom: 24px;
}

#projects-section h1 {
  font-size: 2.5em;
  margin-bottom: 12px;
}

#projects-section .project-content > p {
  margin-bottom: 12px !important;
}

#projects-section .project-list {
  min-height: 320px;
  margin-top: 48px;
}

html[lang='en'] #projects-section .project-list {
  min-height: 500px;
}

html[lang='en'] #projects-section .project-client {
  flex-basis: 320px;
  line-height: 1.2;
}

html[lang='en'] #projects-section .project-link {
  flex-basis: 64px;
}

#projects-section .project-list li {
  gap: 14px;
  margin-bottom: 10px;
  font-size: 0.94em;
  line-height: 1.35;
}

html[lang='en'] #projects-section .project-list li {
  margin-bottom: 16px;
}

#projects-section .project-year {
  flex-basis: 94px;
  margin-right: 10px;
}

#projects-section .project-client {
  flex-basis: 240px;
}

#projects-section .project-link {
  flex-basis: 100px;
}

#projects-section .content-pagination {
  bottom: 24px;
}
    }

    @media (min-width: 901px) and (max-height: 800px) {
#projects-section .about-container {
  padding-top: 16px;
  padding-bottom: 16px;
}

#projects-section h1 {
  font-size: 2.2em;
  margin-bottom: 8px;
}

#projects-section .project-content > p {
  margin-bottom: 8px !important;
  font-size: 1em !important;
}

#projects-section .project-list {
  min-height: 268px;
  margin-top: 32px;
}

html[lang='en'] #projects-section .project-list {
  min-height: 424px;
}

html[lang='en'] #projects-section .project-client {
  flex-basis: 320px;
}

#projects-section .project-list li {
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.86em;
  line-height: 1.25;
}

html[lang='en'] #projects-section .project-list li {
  margin-bottom: 12px;
}

#projects-section .project-client {
  flex-basis: 240px;
}

#projects-section .project-link {
  flex-basis: 72px;
}

#projects-section .content-pagination {
  bottom: 16px;
}
    }

    @media (max-width: 768px) {
.project-list li {
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.project-client {
  text-align: left;
  font-size: 0.9em;
  color: #888;
}
.project-link {
  text-align: left;
  font-size: 0.9em;
}
.project-year {
  flex: auto;
}
    }

  /* --- Platform Card Grid Styles --- */
  .platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 20px;
  }

  .platform-card {
    background: #f8f9fa; /* 은은한 배경색으로 '면'을 강조 */
    border: none; /* 테두리 제거 */
    border-radius: 12px;
    padding: 25px 15px; /* 카드의 상하 높이를 줄이기 위해 여백 축소 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none; /* 평면적인 느낌 유지 */
  }

  .platform-card:hover {
    transform: translateY(-5px);
    background: #ffffff; /* 마우스를 올렸을 때 하얗게 튀어나오는 효과 */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  }

  .platform-card-title {
    color: #1a1a1a;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    word-break: keep-all;
    letter-spacing: -0.05em;
    position: relative;
    padding-bottom: 15px;
  }

  .platform-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #dc2626; /* 타이틀 하단에 브랜드 컬러 포인트 */
    border-radius: 2px;
  }

  .platform-card-desc {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    word-break: keep-all;
  }

  /* --- Shortcut Button Styles --- */
  .shortcut-btn-container {
    margin-top: 50px; /* 그리드(내용)와 버튼 사이, 즉 페이지 하단의 여백 확보 */
    text-align: center;
    width: 100%;
  }

  .shortcut-btn {
    display: inline-block;
    background: #dc2626; /* 붉은색 포인트 컬러 */
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
  }

  .shortcut-btn:hover {
    background: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
  }

  @media (max-width: 900px) {
    .platform-grid {
grid-template-columns: 1fr;
    }
  }

  /* --- Feature Card Grid Styles (2x2) --- */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 60px; /* 상단 Platform Grid와의 여백을 크게 확대하여 구분감 부여 */
  }

  .feature-card {
    background: #ffffff;
    border: 1px solid rgba(120, 120, 120, 0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: left;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
  }

  .feature-card-left {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(120, 120, 120, 0.15);
    padding-right: 20px;
    margin-right: 20px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: #dc2626;
  }

  .platform-features .feature-icon svg {
    display: none;
  }

  .platform-features .feature-icon::before {
    content: "";
    width: 22px;
    height: 22px;
    background: #dc2626;
    -webkit-mask: var(--feature-icon-mask) center / contain no-repeat;
    mask: var(--feature-icon-mask) center / contain no-repeat;
  }

  .platform-kosm .feature-card:nth-child(1) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 3v18'/%3E%3Cpath d='M16 3v18'/%3E%3C/svg%3E"); }
  .platform-kosm .feature-card:nth-child(2) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-7-10a7 7 0 0 1 14 0c0 5.6-7 10-7 10Z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3Cpath d='M18.5 5.5 21 3'/%3E%3Cpath d='M3 21l2.5-2.5'/%3E%3C/svg%3E"); }
  .platform-kosm .feature-card:nth-child(3) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M5 8l3 2'/%3E%3Cpath d='M16 14l3 2'/%3E%3Cpath d='M19 8l-3 2'/%3E%3Cpath d='M8 14l-3 2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E"); }
  .platform-kosm .feature-card:nth-child(4) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='12' cy='18' r='2.5'/%3E%3Cpath d='M8.2 7.4 11 15.7'/%3E%3Cpath d='M15.8 7.4 13 15.7'/%3E%3Cpath d='M8.5 6h7'/%3E%3C/svg%3E"); }

  .platform-qron .feature-card:nth-child(1) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18V6'/%3E%3Cpath d='M8 18V6'/%3E%3Cpath d='M12 18V6'/%3E%3Cpath d='M16 18V6'/%3E%3Cpath d='M20 18V6'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M3 14h18'/%3E%3C/svg%3E"); }
  .platform-qron .feature-card:nth-child(2) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16c4-8 12 0 16-8'/%3E%3Cpath d='M4 8c4 8 12 0 16 8'/%3E%3Cpath d='M12 4v16'/%3E%3C/svg%3E"); }
  .platform-qron .feature-card:nth-child(3) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17h4l3-10 3 14 2-8h4'/%3E%3Cpath d='M5 5h14'/%3E%3C/svg%3E"); }
  .platform-qron .feature-card:nth-child(4) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 16l3-4 3 2 5-7'/%3E%3Cpath d='M17 7h3v3'/%3E%3C/svg%3E"); }

  .platform-chido .feature-card:nth-child(1) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='9' y='14' width='6' height='6' rx='1'/%3E%3Cpath d='M10 7h4'/%3E%3Cpath d='M12 10v4'/%3E%3C/svg%3E"); }
  .platform-chido .feature-card:nth-child(2) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a5 5 0 0 0-3 9v2h6v-2a5 5 0 0 0-3-9Z'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 21h4'/%3E%3Cpath d='M4 12h2'/%3E%3Cpath d='M18 12h2'/%3E%3C/svg%3E"); }
  .platform-chido .feature-card:nth-child(3) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3Ccircle cx='17' cy='7' r='3'/%3E%3Ccircle cx='12' cy='17' r='3'/%3E%3Cpath d='M9.5 8.7 11 14.2'/%3E%3Cpath d='M14.5 8.7 13 14.2'/%3E%3C/svg%3E"); }
  .platform-chido .feature-card:nth-child(4) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Cpath d='M8 9h8'/%3E%3Cpath d='M8 13h5'/%3E%3Cpath d='M15 16l2 2 3-4'/%3E%3C/svg%3E"); }

  .platform-piona .feature-card:nth-child(1) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='8' r='2'/%3E%3Ccircle cx='17' cy='8' r='2'/%3E%3Cpath d='M7 10v6l5 3 5-3v-6'/%3E%3Cpath d='M9 13h6'/%3E%3C/svg%3E"); }
  .platform-piona .feature-card:nth-child(2) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M4 16h16'/%3E%3Cpath d='M10 4v16'/%3E%3Cpath d='M16 4v16'/%3E%3C/svg%3E"); }
  .platform-piona .feature-card:nth-child(3) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M5 12H3'/%3E%3Cpath d='M21 12h-2'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M10 12l1.5 1.5L15 10'/%3E%3C/svg%3E"); }
  .platform-piona .feature-card:nth-child(4) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18c2-5 4-7 8-7s6 2 8 7'/%3E%3Cpath d='M8 18a4 4 0 0 1 8 0'/%3E%3Cpath d='M12 11V5'/%3E%3Cpath d='M9 5h6'/%3E%3C/svg%3E"); }

  .platform-mimex .feature-card:nth-child(1) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M6 7l2 13h8l2-13'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3Cpath d='M9 12h6'/%3E%3C/svg%3E"); }
  .platform-mimex .feature-card:nth-child(2) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h10'/%3E%3Cpath d='M4 18h16'/%3E%3Ccircle cx='8' cy='6' r='2'/%3E%3Ccircle cx='14' cy='18' r='2'/%3E%3Ccircle cx='17' cy='12' r='2'/%3E%3C/svg%3E"); }
  .platform-mimex .feature-card:nth-child(3) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5 5.3.5-4 3.5 1.2 5.2L12 14.5l-4.7 2.7L8.5 12l-4-3.5 5.3-.5L12 3Z'/%3E%3Cpath d='M19 19l2 2'/%3E%3C/svg%3E"); }
  .platform-mimex .feature-card:nth-child(4) { --feature-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 5 3.5 8 7 10 3.5-2 7-5 7-10V6l-7-3Z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E"); }

  .feature-card-title {
    color: #dc2626;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    word-break: keep-all;
    letter-spacing: -0.05em;
  }

  .feature-card-right {
    flex: 1;
  }

  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .feature-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
    word-break: keep-all;
  }

  .feature-list li:last-child {
    margin-bottom: 0;
  }

  .feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    background-color: #dc2626;
    border-radius: 50%;
  }

  @media (max-width: 900px) {
    .feature-grid {
grid-template-columns: 1fr;
    }
    .feature-card {
flex-direction: column;
text-align: center;
    }
    .feature-card-left {
flex: auto;
border-right: none;
border-bottom: 1px solid rgba(120, 120, 120, 0.15);
padding-right: 0;
margin-right: 0;
padding-bottom: 15px;
margin-bottom: 15px;
width: 100%;
    }
    .feature-list li {
text-align: left;
    }
  }

    /* --- News Card Grid Styles --- */
    .news-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 20px;
width: 100%;
max-width: 1100px;
min-height: clamp(420px, 48vh, 510px);
align-content: start;
    }

    .news-card {
background: #ffffff;
border: 1px solid rgba(120, 120, 120, 0.15);
border-radius: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: all 0.3s ease;
text-align: left;
aspect-ratio: 40 / 27;
    }

    .news-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
border-color: rgba(220, 38, 38, 0.3);
    }

    .news-card-image {
width: 100%;
height: 0%;
background-color: #e9ecef;
background-size: cover;
background-position: center;
    }

    .news-card-content {
padding: 15px;;
flex-grow: 1;
min-height: 0;
display: flex;
flex-direction: column;
    }

    .news-card-body {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
    }

    .news-card-category {
display: inline-block;
background: rgba(220, 38, 38, 0.1);
color: #dc2626;
padding: 4px 8px;
border-radius: 6px;
font-size: 0.75em;
font-weight: 600;
margin-bottom: 32px;
align-self: flex-start;
    }

    .news-card-title {
font-size: 1.1em;
font-weight: 600;
color: #4a4a4a;
margin-bottom: 8px;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
    }

    .news-card-date {
font-size: 0.8em;
color: #888;
margin-bottom: 15px;
    }

    .news-card-excerpt[hidden] {
display: none;
    }

    .news-card-link {
font-size: 0.85em;
font-weight: 600;
color: #dc2626;
text-decoration: none;
align-self: flex-start;
transition: color 0.3s;
    }

    .news-card-link:hover {
color: #b91c1c;
    }

    .news-card-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
margin-top: auto;
padding-top: 8px;
    }

    .news-card-actions[hidden],
    .news-card-more[hidden],
    .news-detail-modal[hidden],
    .news-detail-link[hidden] {
display: none;
    }

    .news-card-more {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 0;
border: 0;
background: transparent;
color: #dc2626;
font: inherit;
font-size: 0.85em;
font-weight: 600;
cursor: pointer;
transition: color 0.3s;
    }

    .news-card-more:hover,
    .news-card-more:focus-visible {
color: #b91c1c;
outline: none;
text-decoration: underline;
text-underline-offset: 3px;
    }

    .news-detail-open {
overflow: hidden;
    }

    .news-detail-modal {
position: fixed;
inset: 0;
z-index: 2000;
display: grid;
place-items: center;
padding: 32px;
background: rgba(38, 28, 28, 0.3);
backdrop-filter: blur(6px);
overscroll-behavior: none;
    }

    .news-detail-dialog {
position: relative;
width: min(680px, 100%);
max-height: calc(100vh - 64px);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
padding: 40px;
border: 1px solid rgba(220, 38, 38, 0.18);
border-radius: 12px;
background: #fff;
box-shadow: 0 24px 64px rgba(74, 24, 24, 0.18);
text-align: left;
    }

    .news-detail-close {
position: absolute;
top: 18px;
right: 18px;
display: grid;
place-items: center;
width: 36px;
height: 36px;
padding: 0;
border: 1px solid rgba(120, 120, 120, 0.22);
border-radius: 50%;
background: transparent;
color: #666;
font-size: 1.5rem;
line-height: 1;
cursor: pointer;
    }

    .news-detail-close:hover,
    .news-detail-close:focus-visible {
border-color: #dc2626;
color: #dc2626;
outline: none;
    }

    .news-detail-dialog .news-card-category {
margin-bottom: 18px;
    }

    .news-detail-dialog h2 {
padding-right: 44px;
margin: 0 0 10px;
color: #4a4a4a;
font-size: clamp(1.4rem, 2.4vw, 2rem);
line-height: 1.35;
    }

    #news-detail-date {
margin-bottom: 24px;
    }

    .news-detail-image[hidden] {
display: none;
    }

    .news-detail-image {
display: block;
width: 100%;
min-height: 180px;
aspect-ratio: 16 / 6;
object-fit: cover;
margin-bottom: 24px;
border-radius: 8px;
    }

    #news-detail-excerpt {
margin: 0;
color: #5f5f5f;
font-size: 1rem;
line-height: 1.75;
white-space: pre-line;
overflow-wrap: anywhere;
    }

    .news-detail-link {
display: inline-flex;
margin-top: 28px;
color: #dc2626;
font-size: 0.9rem;
font-weight: 600;
text-decoration: none;
    }

    .news-detail-link:hover,
    .news-detail-link:focus-visible {
color: #b91c1c;
text-decoration: underline;
text-underline-offset: 3px;
outline: none;
    }

    @media (min-width: 769px) and (max-height: 800px) {
.news-card-content {
  padding: 12px 14px;
}

.news-card-category {
  padding: 3px 7px;
  margin-bottom: 16px;
  font-size: 0.72em;
}

.news-card-title {
  margin-bottom: 4px;
  font-size: 1em;
  line-height: 1.3;
}

.news-card-date {
  margin-bottom: 6px;
}

.news-card-actions {
  padding-top: 4px;
}
    }

    @media (max-width: 1024px) {
.news-grid {
  grid-template-columns: repeat(2, 1fr);
}
    }

    @media (max-width: 768px) {
.news-grid {
  grid-template-columns: 1fr;
}

.news-detail-modal {
  padding: 16px;
}

.news-detail-dialog {
  max-height: calc(100vh - 32px);
  padding: 32px 22px 26px;
}
    }

    .site-disclaimer {
width: 100%;
max-width: 1100px;
margin-top: 32px;
color: rgba(120, 120, 120, 0.75);
font-size: 0.82em;
text-align: right;
letter-spacing: 0;
    }

    /* --- Service Page Layout Styles --- */
    .service-layout {
display: flex;
align-items: center;
gap: 80px; /* 텍스트와 이미지 사이 간격 확대 */
width: 100%;
max-width: 1200px;
    }

    .service-text-content {
flex: 1; /* 텍스트 영역이 남은 공간을 모두 차지하도록 설정 */
text-align: left;
    }

    .service-image-content {
flex: 0 0 40%; /* 이미지 영역의 너비를 줄여 텍스트 영역을 넓힘 */
height: auto; /* 이미지 원본 비율에 맞춰 높이가 자동 조절되도록 수정 */
border-radius: 12px;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(120, 120, 120, 0.1);
transition: transform 0.3s ease;
    }
    .service-image-content:hover {
  transform: scale(1.02);
    }

    .service-image-content img {
width: 100%;
height: auto; /* 비율에 맞춰 자동 높이 설정 */
display: block; /* 이미지 하단의 미세한 여백 제거 */
    }

    @media (min-width: 901px) and (max-width: 1700px) {
.service-layout {
  margin-left: 280px;   /* 좌측 여백 최소치 고정*/
  max-width: min(1200px, calc(100vw - 360px));
}
    }

    @media (max-width: 900px) {
.service-layout {
  flex-direction: column-reverse; /* 이미지가 위로 가도록 순서 변경 */
  gap: 40px;
}
.service-text-content { text-align: center; }
.service-text-content h1, .service-text-content p { text-align: center !important; }
    }

    /* --- Team Section Styles --- */
    .team-intro {
font-size: 0.95em;
color: #666;
line-height: 1.5;
margin-top: 10px;
word-break: keep-all;
    }

    .team-photo {
max-width: 100%;
max-height: 180px;
width: auto;
height: auto;
border-radius: 12px;
margin: 15px auto;
display: block;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .team-grid-title {
font-size: 1em;
color: #4a4a4a;
font-weight: 700;
margin-bottom: 8px;
text-align: left;
width: 100%;
border-bottom: 2px solid rgba(220, 38, 38, 0.2);
padding-bottom: 6px;
    }

    .team-grid-leadership {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
width: 100%;
margin-bottom: 15px;
    }

    .team-grid-engineering {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
width: 100%;
margin-bottom: 15px;
    }

    .team-member-card {
background: #ffffff;
border: 1px solid rgba(120, 120, 120, 0.15);
border-radius: 10px;
padding: 10px 8px;
text-align: center;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
    }

    .team-member-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
border-color: rgba(220, 38, 38, 0.3);
    }

    .team-member-role {
font-size: 0.75em;
color: #dc2626;
font-weight: 600;
margin-bottom: 2px;
    }

    .team-member-name {
font-size: 0.95em;
font-weight: 700;
color: #333;
margin-bottom: 4px;
    }

    .team-member-desc {
font-size: 0.7em;
color: #666;
line-height: 1.3;
text-align: center;
word-break: keep-all;
    }
    .team-member-card.sub-platform {
grid-column: 1;
    }


    .team-member-card.sub-ai {
grid-column: 2;
    }

    .team-member-card.sub-3d {
grid-column: 5;
    }

    @media (max-width: 1024px) {
.team-grid-leadership {
  grid-template-columns: repeat(2, 1fr);
}
.team-grid-engineering {
  grid-template-columns: repeat(3, 1fr);
}
.team-member-card.sub-platform,
.team-member-card.sub-ai,
.team-member-card.sub-3d {
  grid-column: auto;
}
    }

    @media (max-width: 600px) {
.team-grid-leadership {
  grid-template-columns: 1fr;
}
.team-grid-engineering {
  grid-template-columns: repeat(2, 1fr);
}
    }

    /* --- Mobile adaptation: navigation and primary content grids --- */
    @media (max-width: 768px) {
body {
  display: block;
  overflow: hidden;
}

.platform-home-return {
  top: 8px;
  left: 18px;
  min-height: 44px;
}

.left-nav {
  width: 100%;
  height: auto;
  min-height: 86px;
  padding: 12px 16px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-right: none;
  border-bottom: 1px solid rgba(120, 120, 120, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.left-nav-brand {
  margin-bottom: 10px;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.left-nav-brand h1 {
  font-size: 1.45em;
  line-height: 1;
  margin: 0;
}

.left-nav-brand .tagline {
  font-size: 0.62em;
  line-height: 1.2;
}

.desktop-en-break,
.desktop-break {
  display: none;
}

.mobile-lang-switcher {
  position: absolute;
  top: 12px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: rgba(120, 120, 120, 1);
  font-size: 0.78em;
  font-weight: 500;
}

.mobile-lang-switcher span {
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-lang-switcher span:hover,
.mobile-lang-switcher span.active {
  color: #dc2626;
}

.mobile-lang-switcher span.active {
  font-weight: 700;
}

.mobile-lang-switcher .divider {
  width: 18px;
  height: 1px;
  background: rgba(120, 120, 120, 0.35);
}

.left-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  /* overflow-y: visible 은 overflow-x: auto 와 함께 쓰면 auto 로 계산되어
     세로 방향도 잘린다. 하위 메뉴는 position: fixed 로 이 영역 밖에 그린다.
     -webkit-overflow-scrolling 은 iOS 13+ 에서 무의미하고,
     구형 iOS 에서는 별도 합성 레이어를 만들어 하위 메뉴를 잘라내므로 제거. */
  scrollbar-width: none;
  padding-bottom: 2px;
}

.left-nav-menu::-webkit-scrollbar {
  display: none;
}

.left-nav-item,
.left-nav-item.section-title,
.sub-menu-container .left-nav-item {
  flex: 0 0 auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.82em;
  line-height: 1.2;
  background: transparent;
}

.left-nav-item.active {
  background: rgba(220, 38, 38, 0.08);
}

.mobile-doc-link.left-nav-item {
  display: flex;
}

.left-nav-item.collapsible {
  padding-right: 26px;
}

.left-nav-item.collapsible.expanded {
  margin-bottom: 0;
}

.left-nav-item.collapsible::after {
  right: 10px;
}

/* position: fixed 로 좌측 내비의 가로 스크롤 영역 밖에 렌더링.
   --nav-bottom 은 JS 가 실제 내비 높이로 갱신한다(기본값 86px). */
.sub-menu-container {
  position: fixed;
  top: var(--nav-bottom, 86px);
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 0;
  margin: 0;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(120, 120, 120, 0.12);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  z-index: 1001;
}

.sub-menu-container.expanded {
  max-height: 260px;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  pointer-events: auto;
}

.sub-menu-container .left-nav-item {
  padding-left: 12px;
  margin-bottom: 0;
  background: rgba(248, 249, 250, 0.95);
}

.sub-menu-container .left-nav-item:hover {
  padding-left: 12px;
}

.left-nav-footer,
.scroll-nav,
.grid-config-panel {
  display: none;
}

.info-top-right {
  top: 104px;
  right: 16px;
}

.info-panel-right {
  top: auto;
  right: 12px;
  /* iOS Safari 하단 툴바/홈 인디케이터 영역을 피한다 */
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  width: auto;
  height: min(58vh, 440px); /* dvh 미지원 구형 브라우저용 폴백 */
  /* vh 는 iOS 에서 '주소창이 숨겨진 상태'의 최대 높이 기준이라
     실제 보이는 영역보다 커져 패널 하단(버튼)이 툴바에 가린다. dvh 사용. */
  height: min(58dvh, 440px);
  padding: 22px;
  border-left: none;
  border-top: 1px dotted rgba(120, 120, 120, 0.3);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(16px);
  /* 패널 자체는 스크롤하지 않고, 설명 영역만 스크롤시켜
     버튼이 스크롤 아래로 밀려나지 않도록 한다 */
  overflow: hidden;
}

.info-panel-right .info-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.info-panel-right #info-description {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
}

.info-panel-right .info-detail-btn.show {
  flex: 0 0 auto;
}

.info-panel-right.show {
  transform: translateY(0);
}

.info-panel-right .description img {
  width: min(100%, 220px);
}

.info-panel-right .description img.sidebar-full-bleed {
  width: min(100%, 240px) !important;
}

.info-panel-right .description img:not(.sidebar-full-bleed) {
  max-width: 220px;
}

.page-section {
  align-items: flex-start;
  height: 100dvh;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 96px;
  -webkit-overflow-scrolling: touch;
}

.page-section .container,
.container {
  width: 100%;
  min-height: calc(100dvh - 96px);
  height: auto;
  padding: 28px 18px 44px;
  justify-content: flex-start;
}

.page-section.top-aligned > .container {
  padding-top: 28px;
  padding-bottom: 44px;
}

.page-section h1 {
  font-size: 2em;
  line-height: 1.18;
  margin-bottom: 14px;
  word-break: keep-all;
}

.page-section p,
.history-list li,
.feature-list li,
.project-list li {
  font-size: 0.95em;
  line-height: 1.65;
}

.map-container {
  width: 100%;
  height: auto;
  min-height: calc(100dvh - 150px);
  padding: 18px;
}

svg {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 170px);
}

.history-list,
.project-list {
  width: 100%;
  max-width: none;
}

#projects-section .project-list {
  margin-top: 18px;
  min-height: 0;
}

.content-pagination {
  gap: 12px;
  margin-top: 20px;
}

.content-page-button {
  min-width: 104px;
}

#projects-section .project-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  align-items: start;
  padding-left: 14px;
  margin-bottom: 10px;
  font-size: 0.88em;
  line-height: 1.4;
}

#projects-section .project-list li::before {
  width: 4px;
  height: 4px;
  top: 0.72em;
}

#projects-section .project-year {
  grid-column: 1;
  flex: none;
  margin-right: 0;
  white-space: nowrap;
  line-height: 1.4;
}

#projects-section .project-name {
  grid-column: 2;
  line-height: 1.45;
}

#projects-section .project-client {
  grid-column: 2;
  flex: none;
  margin-right: 0;
  text-align: left;
  font-size: 0.86em;
  line-height: 1.35;
}

#projects-section .project-link {
  grid-column: 2;
  flex: none;
  text-align: left;
  line-height: 1.2;
  margin-top: 4px;
}

#projects-section .project-link a {
  display: inline-block;
}

#projects-section .project-link:empty {
  display: none;
}

.vision-image-container {
  margin-top: 36px;
}

.vision-image {
  max-width: 92%;
}

.service-layout {
  gap: 22px;
  max-width: none;
}

.service-image-content {
  width: 100%;
  flex: none;
  max-height: 158px;
}

.service-image-content img {
  height: 100%;
  max-height: 158px;
  object-fit: cover;
}

.service-text-content .history-list {
  margin-top: 14px !important;
}

.service-text-content .history-list li {
  margin-bottom: 9px;
  line-height: 1.5;
}

.platform-grid,
.feature-grid,
.news-grid {
  gap: 12px;
  max-width: none;
}

.platform-grid {
  margin-top: 14px;
}

.about-container > p + p {
  margin-bottom: 24px !important;
}

.feature-grid {
  margin-top: 28px;
}

.platform-card {
  padding: 16px 14px;
  border-radius: 8px;
}

.platform-card-title {
  font-size: 1em;
  letter-spacing: 0;
  margin-bottom: 10px;
  padding-bottom: 12px;
}

.platform-card-desc {
  font-size: 0.86em;
  line-height: 1.5;
}

.feature-card {
  align-items: stretch;
  padding: 14px;
  border-radius: 8px;
}

.feature-card-left {
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.feature-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-bottom: 0;
}

.platform-features .feature-icon::before {
  width: 20px;
  height: 20px;
}

.feature-card-title {
  flex: 1;
  text-align: left;
  letter-spacing: 0;
  font-size: 0.86em;
}

.feature-list li {
  font-size: 0.8em;
  line-height: 1.32;
  margin-bottom: 5px;
}

.news-card {
  aspect-ratio: auto;
}

.news-card-image {
  display: none;
}

.news-card-content {
  min-height: 0;
  padding: 14px;
}

.news-card-category {
  margin-bottom: 12px;
}

.news-card-title {
  font-size: 1em;
  margin-bottom: 6px;
}

.news-card-date {
  margin-bottom: 10px;
}

.news-card-excerpt {
  font-size: 0.86em;
  line-height: 1.45;
  margin-bottom: 12px;
  -webkit-line-clamp: 2;
}

#news-section .news-grid {
  min-height: min(500px, 56dvh);
}

.site-disclaimer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.78em;
}

.partners-grid {
  gap: 12px;
}

.partner-item {
  padding: 12px;
  aspect-ratio: 2.2 / 1;
}

.partner-item img {
  width: 94%;
  height: 74%;
  max-width: 150px;
}

.team-intro {
  font-size: 0.9em;
  line-height: 1.5;
  margin-top: 6px;
}

.team-photo {
  width: 100%;
  max-height: 150px;
  margin: 12px auto 18px;
}

.team-grid-title {
  margin-top: 12px;
}

.team-grid-leadership {
  grid-template-columns: repeat(2, 1fr);
}

.team-grid-engineering {
  grid-template-columns: 1fr 1fr;
}

/* 모바일: 왼쪽엔 선임, 오른쪽엔 해당 파트너가 오도록 행을 고정 (파트너 없으면 빈 칸) */
.team-grid-engineering .sr-platform { grid-column: 1; grid-row: 1; }
.team-grid-engineering .sub-platform { grid-column: 2; grid-row: 1; }
.team-grid-engineering .sr-ai { grid-column: 1; grid-row: 2; }
.team-grid-engineering .sub-ai { grid-column: 2; grid-row: 2; }
.team-grid-engineering .sr-spatial { grid-column: 1; grid-row: 3; }
.team-grid-engineering .sr-data { grid-column: 1; grid-row: 4; }
.team-grid-engineering .sr-abm { grid-column: 1; grid-row: 5; }
.team-grid-engineering .sub-3d { grid-column: 2; grid-row: 5; }

.team-member-card {
  min-height: 78px;
  padding: 9px 7px;
}

.team-member-role {
  font-size: 0.68em;
}

.team-member-name {
  font-size: 0.88em;
}

.team-member-desc {
  font-size: 0.66em;
}

.page-section.about-section .history-list[style*="font-size: 1.1em"] {
  margin-top: 18px !important;
  font-size: 0.95em !important;
}

.page-section.about-section .history-list[style*="font-size: 1.1em"] li {
  margin-bottom: 10px;
  line-height: 1.55;
}

.social-icons {
  margin-top: 26px !important;
  gap: 20px !important;
}

.shortcut-btn-container {
  margin-top: 24px;
}

.shortcut-btn {
  width: 100%;
  max-width: 320px;
  padding: 12px 18px;
  font-size: 0.95em;
}
    }

    @media (max-width: 480px) {
.left-nav {
  padding-left: 12px;
  padding-right: 12px;
}

.mobile-lang-switcher {
  right: 12px;
}

.left-nav-brand .tagline {
  display: none;
}

.page-section .container,
.container {
  padding-left: 14px;
  padding-right: 14px;
}

.page-section h1 {
  font-size: 1.75em;
}

.platform-card,
.feature-card,
.news-card-content {
  padding: 16px;
}

.feature-list {
  font-size: 0.92em;
}

#projects-section .project-list {
  margin-top: 14px;
}

.content-pagination {
  gap: 4px;
}

.content-page-button {
  min-width: 92px;
  padding-left: 8px;
  padding-right: 8px;
}

#projects-section .project-list li {
  grid-template-columns: 70px minmax(0, 1fr);
  column-gap: 8px;
  margin-bottom: 8px;
  font-size: 0.84em;
}

.partners-grid {
  gap: 10px;
}

.partner-item {
  padding: 10px;
}

.team-grid-leadership,
.team-grid-engineering {
  grid-template-columns: repeat(2, 1fr);
}
    }

    @media (min-width: 700px) and (max-width: 768px) {
.service-image-content {
  max-height: 210px;
}

.service-image-content img {
  max-height: 210px;
}

.platform-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.news-grid {
  grid-template-columns: repeat(2, 1fr);
}

.news-card-image {
  display: none;
}

.platform-card {
  min-height: 132px;
}

.feature-card {
  min-height: 150px;
}
    }
