:root {
  --primary-color: #333;
  --accent-color: #0066cc;
  --header-height: 80px;
  --menu-bg: #fff;
  --menu-text: #333;
  --menu-hover-bg: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: var(--font-family); 
  font-size: var(--pc-font-size, 16px); 
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Main slide (MainSectionRenderer) */
.main-visual { width: 100%; }

.main-slide-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-slide-wrapper.slide-full-width {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.main-slide-items,
.main-slide-item {
  width: 100%;
  height: var(--slide-height, 600px);
}

.main-slide-items { position: relative; }

.main-slide-item {
  position: relative;
  display: none;
}
.main-slide-item.active { display: block; }

.slide-bg-image,
.slide-bg-youtube,
.slide-layer {
  position: absolute;
  inset: 0;
}
.slide-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-bg-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.slide-content {
  position: relative;
  z-index: 5;
  height: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.slide-content.text-left { align-items: flex-start; text-align: left; }
.slide-content.text-center { align-items: center; text-align: center; }
.slide-content.text-right { align-items: flex-end; text-align: right; }

.slide-content.align-top { justify-content: flex-start; padding-top: 50px; }
.slide-content.align-center { justify-content: center; }
.slide-content.align-bottom { justify-content: flex-end; padding-bottom: 50px; }

.slide-content h1 { font-size: 42px; line-height: 1.1; margin: 0; font-weight: 800; }
.slide-content p { font-size: 16px; margin: 0; opacity: 0.92; max-width: 720px; }

.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
}
.slide-prev { left: 14px; }
.slide-next { right: 14px; }

.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.slide-dot.active { background: rgba(255,255,255,0.95); }

@media (max-width: 768px) {
  .slide-content h1 { font-size: 28px; }
  .slide-content p { font-size: 14px; }
}

/* Main slide (MainSlideRenderer) */
.main-slide-container { position: relative; width: 100%; overflow: hidden; }
.main-slide-wrapper { position: relative; width: 100%; overflow: hidden; }
.main-slide-wrapper .slide-track { display: flex; height: 100%; }
.main-slide-wrapper.slide-type-vertical .slide-track { flex-direction: column; }
.main-slide-wrapper .slide-item {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
}

.main-slide-wrapper.slide-type-fade .slide-track { display: block; }
.main-slide-wrapper.slide-type-fade .slide-item { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.main-slide-wrapper.slide-type-fade .slide-item.active { opacity: 1; position: relative; }

.slide-bg,
.slide-youtube-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.slide-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-youtube-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.slide-overlay { position: absolute; inset: 0; z-index: 2; }

.slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slide-content.text-left { text-align: left; align-items: flex-start; }
.slide-content.text-center { text-align: center; align-items: center; }
.slide-content.text-right { text-align: right; align-items: flex-end; }
.slide-content.align-top { justify-content: flex-start; padding-top: 50px; }
.slide-content.align-center { justify-content: center; }
.slide-content.align-bottom { justify-content: flex-end; padding-bottom: 50px; }

.slide-title { font-size: 48px; font-weight: 800; margin: 0 0 10px; line-height: 1.15; }
.slide-subtitle,
.slide-description { font-size: 18px; margin: 0 0 16px; line-height: 1.6; max-width: 760px; }

.slide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  transition: transform .2s ease, filter .2s ease;
}
.slide-button:hover { transform: translateY(-2px); filter: brightness(0.98); }

.main-slide-wrapper .slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
}
.main-slide-wrapper .slide-prev { left: 14px; }
.main-slide-wrapper .slide-next { right: 14px; }

.main-slide-wrapper .slide-indicators {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.main-slide-wrapper .slide-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.main-slide-wrapper .slide-indicator.active { background: rgba(255,255,255,0.95); }

@media (max-width: 768px) {
  .slide-title { font-size: 28px; }
  .slide-subtitle,
  .slide-description { font-size: 14px; }
}

/* Main exposed slider section (full width background) */
.main-exposed-slider {
  background: #f1f1f1;
  padding: 70px 0;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.main-exposed-slider .latest-header { border-bottom-color: rgba(0,0,0,0.12); display: none;}

.top-bar {
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
  height: 35px;
  font-size: 13px;
  color: #666;
}

.top-bar .top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.top-bar .top-bar-actions {
  display: flex;
  gap: 20px;
}

.logo-img {
  object-fit: contain;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom:#ddd solid 1px;
}

.header-inner {
  max-width: var(--site-width);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
}

.logo a { display: flex; align-items: center; }

.logo-text {
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
  font-size: var(--logo-text-size, 24px);
}

.tenant-wrap {
  max-width: var(--site-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.main-menu { height: 100%; margin-left: auto; }
.main-menu > ul { display: flex; height: 100%; list-style: none; }
.main-menu > ul > li { position: relative; height: 100%; }

.main-menu > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  font-weight: 600;
  font-size: 19px;
  color: var(--menu-text);
  transition: all 0.2s;
  position: relative;
}

.main-menu > ul > li:hover > a::after,
.main-menu > ul > li.active > a::after { width: 70%; }

.main-menu > ul > li:hover > a,
.main-menu > ul > li.active > a {
  color: var(--accent-color);
  background: #f1f1f1;
}

.main-menu .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  list-style: none;
  border: 1px solid #ddd;
  border-top: 3px solid var(--accent-color);
  z-index: 10000;
  padding: 0px;
}

.main-menu li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu .dropdown li { position: relative; }
.main-menu .dropdown li:last-child { border-bottom: none; }

.main-menu .dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 16px !important;
  border-bottom: #ddd solid 1px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

.main-menu .dropdown li:hover > a,
.main-menu .dropdown li.active > a {
  background: #888;
  color: #fff;
}

.main-menu .dropdown li.active > a {
  font-weight: 600;
  color: #fff;
  background: #666;
}

.main-menu .dropdown .dropdown-sub {
  position: absolute;
  top: -10px;
  left: 100%;
  min-width: 200px;
  background: #fff;
  box-shadow: 10px 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  border-left: 1px solid #eee;
  z-index: 2010;
  padding: 10px 0;
}

.main-menu .dropdown li:hover > .dropdown-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--menu-text);
  margin-left: 10px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 20000;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 20010;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open { transform: translateX(0); }
.mobile-overlay.show { display: block; }

.mobile-drawer-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #eee;
}

.mobile-drawer-header .close-btn {
  border: 0;
  background: transparent;
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
}

.mobile-auth {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.mobile-auth .auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-auth a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f7f9;
  border: 1px solid #eee;
}

.mobile-nav { overflow: auto; padding: 10px 0; }
.mobile-nav ul { list-style: none; }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
  border-bottom: 1px solid #f3f3f3;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
}

.mobile-nav-link {
  flex: 1;
  border-bottom: 0;
}

.mobile-nav .sub { display: none; background: #fafafa; }
.mobile-nav li.open > .sub { display: block; }
.mobile-nav .sub a { font-size: 14px; padding-left: 28px; }
.mobile-nav .sub .sub a { padding-left: 40px; }

.mobile-nav .toggle {
  border: 0;
  background: transparent;
  padding: 8px;
  margin-left: 6px;
  cursor: pointer;
  color: #666;
}

.sub-header {
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
}

.sub-container { display: flex; gap: 40px; }
/* unified_write(글쓰기/수정) 화면은 항상 100% 폭 우선 */
.page-type-unified_write .sub-container {
  display: block;
}

.page-type-unified_write .sub-sidebar {
  display: none;
}

.page-type-unified_write .sub-content {
  width: 100%;
}

.subpage-wrap {
  padding: 50px 0;
  min-height: 600px;
}

.sub-container.sidebar-right { flex-direction: row-reverse; }
.sub-container.sidebar-left { flex-direction: row; }

.sub-sidebar {
  width: var(--sidebar-width, 250px);
  flex-shrink: 0;
}

.sidebar-box {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.sidebar-title {
  margin-bottom: 20px;
  font-size: 18px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li { margin-bottom: 10px; }
.sidebar-list li.is-active > a { font-weight: 700; color: var(--accent-color); }

.sidebar-box ul li a {
  display: block;
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-box ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.tenant-wrap {
  max-width: var(--site-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-inner { height: 60px; padding: 0 15px; justify-content: space-between; }
  .main-menu { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  
  .tenant-wrap { padding: 40px 15px; max-width: none; width: 100% !important; }
  .sub-container { flex-direction: column !important; }
  aside { width: 100% !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6 { transition-delay: 0.6s; }

/* Latest sections (helpers.php) */
.latest-section { margin: 45px 0; }

.latest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

.latest-header h3 {
    font-size: 28px !important;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin:12px auto;
    position: relative;
}

.latest-header h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #999;
    margin: 12px auto 0;
    border-radius: 2px;
}

.btn-more { font-size: 14px; color: #888; text-decoration: none; font-weight: 600; }

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 15px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

.mosaic-item .item-thumb {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mosaic-item .item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.mosaic-item:hover .item-thumb img { transform: scale(1.1); }
.mosaic-item.item-large { grid-column: span 2; grid-row: span 2; }

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
}

.item-category { font-size: 12px; opacity: 0.8; margin-bottom: 8px; display: block; }
.item-title { font-size: 18px; font-weight: 600; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-large .item-title {
  font-size: 24px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .mosaic-item.item-large { grid-column: span 2; height: 300px; }
  .mosaic-item.item-small { height: 180px; }
}

.grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.grid-item a { text-decoration: none; color: inherit; display: block; }
.grid-thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; margin-bottom: 12px; }
.grid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.grid-item:hover .grid-thumb img { transform: scale(1.1); }
.grid-category { width: fit-content !important;text-align:center !important;margin:0 auto !important;font-size: 15px !important; padding:2px 12px;color:#fff; background: #999; border-radius: 4px; margin-bottom: 8px !important; display: block; font-weight: 600; }
.grid-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.grid-date { font-size: 13px; color: #999; }
@media (max-width: 1024px) { .grid-4col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-4col { grid-template-columns: 1fr; } }

/* Wide slider */
.wide-slider-section { margin-bottom: 60px; background: #f4f4f4; padding: 80px 0; overflow: hidden; }
.container-inner { max-width: var(--site-width); margin: 0 auto; padding: 0 20px; }
.slider-header h3 { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 40px; }
.wide-slider:not(.loop) .slider-item { display: none; }
.wide-slider:not(.loop) .slider-item.active { display: block; animation: fadeIn 0.8s; }
.wide-slider.loop { position: relative; overflow: hidden; }
.wide-slider.loop .slider-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.wide-slider.loop .slider-item {
  display: block;
  flex: 0 0 100%;
  width: 100%;
}
.wide-slider .slider-link { display: block; color: inherit; text-decoration: none; }
.wide-slider .slider-link:focus-visible { outline: 2px solid rgba(37,99,235,0.5); outline-offset: 4px; border-radius: 8px; }
.wide-slider .item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  color: #777;
}
.wide-slider .item-meta span { white-space: nowrap; }

.wide-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.wide-slider .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  transition: all .2s ease;
}
.wide-slider .slider-dot.active {
  width: 24px;
  background: rgba(0,0,0,0.55);
}
.item-content { display: flex; align-items: center; gap: 50px; padding: 0px; }
.item-content .item-board {width: fit-content;background: #444;padding:4px 12px;font-size:15px;color: #fff;}
.item-img { flex: 1; height: 320px; overflow: hidden; border-radius: 12px; }
.item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-text { flex: 1; }
.item-board { font-size: 15px; color: var(--pc-main-color); font-weight: 700; display: block; margin-bottom: 15px; }
.item-text h4 { font-size: 28px; font-weight: 700; margin-bottom: 20px; color: #111;letter-spacing:-1px; line-height: 36px;}
.item-text p { font-size: 16px !important; color: #666; line-height: 1.8; margin-bottom: 24px; }
.btn-more-view { display: inline-block; padding: 8px 30px; background: #333; color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600; transition: all 0.3s; }
.btn-more-view:hover { background: var(--pc-main-color); transform: translateY(-3px); }
@keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 992px) {
  .item-content { flex-direction: column; padding: 20px; }
  .item-img { width: 100%; height: 250px; }
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: #333;
  padding: 20px 0px;
  color: #fff;
  margin-top: 40px;
}

/* Page header (sublayout-driven via CSS vars) */
.page-header {
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
  background: var(--page-header-bg, #dedede);
  padding-top: var(--page-header-pt, 15px);
  padding-bottom: var(--page-header-pb, 15px);
}

/* Sub navigation */
.sub-nav-bar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.sub-nav-inner {
  max-width: var(--site-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.sub-nav-left {
  display: flex;
  height: 100%;
  align-items: center;
}

.sub-nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 100%;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  color: #666;
  background: #fcfcfc;
}

.sub-nav-item {
  position: relative;
  height: 100%;
  border-right: 1px solid #ddd;
  min-width: 240px;
}

.sub-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  background: #fff;
}

.sub-nav-link i {
  font-size: 10px;
  margin-left: 10px;
  color: #999;
}

.sub-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border:#ddd solid 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: 0.2s ease;
  list-style: none;
  padding: 0px;
}

.sub-nav-item:hover .sub-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  color: #666;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.sub-nav-dropdown li a:hover {
  background: #888;
  color: #fff;
}

.sub-nav-dropdown li.active a {
  background: #666;
  color: #fff;
}

.sub-nav-breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #999;
  font-size: 14px;
}

.sub-nav-breadcrumb i {color:#aaa;}

@media (max-width: 768px) {
  .sub-nav-left { width: 100%; }
  .sub-nav-item { flex: 1; min-width: 0; }
  .sub-nav-item:not(.is-last) { display: none; }
  .sub-nav-breadcrumb { display: none; }
  .sub-nav-inner { padding: 0 10px; }
  .sub-nav-home { width: 40px; }
}

.page-header-content {
  text-align: var(--page-header-align, center);
}

.page-header .breadcrumb {
  margin-bottom: 15px;
}

.page-header .page-title {
  font-family: var(--page-header-font, "Noto Sans KR");
  font-size: var(--page-header-size, 32px);
  font-weight: var(--page-header-weight, 500);
  color: var(--page-header-color, #4d4d4d);
  margin: 0;
  line-height: 1.3;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb-item {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-item:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.breadcrumb-separator { opacity: 0.5; }

@media (max-width: 768px) {
  .page-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .breadcrumb { font-size: 12px; }
  .page-header .breadcrumb { margin-bottom: 10px; }
}

.site-footer-inner {
  max-width: var(--site-width);
  margin: 0 auto;
}

.site-footer-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer-col { flex: 1;min-width: 100%; }
.site-footer-company { flex: 1; min-width: 100%; text-align:center !important; }
.site-footer-links { 
  text-align: center;
  border-bottom:#555 solid 1px;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.site-footer-brand {
  font-size: 16px;
  font-weight: 800;
  margin-right: 10px;
}

.site-footer-line {
  color: #c9c9c9;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8;
}

.site-footer-line i,
.site-footer-contacts i {
  opacity: 0.7;
  margin: 0 6px 0 12px;
}

.site-footer-contacts {
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.site-footer-links-inner {
  flex-wrap: wrap;
  font-size: 15px;
  color: #c9c9c9;
}

.site-footer-links-inner a {
  color: inherit;
  text-decoration: none;
}

.site-footer-links-inner .sep { opacity: 0.35; padding:0 10px;}

.site-footer-bottom {
  text-align: center !important;
  margin-top:8px;
  padding-top: 6px;
  border-top: 1px solid #444;
  color: #8a8a8a;
  font-size: 12px;
  margin-bottom:20px;
}

@media (max-width: 768px) {
  .site-footer-inner {
    padding:0 15px;
    text-align: center !important;
  }
  .site-footer-brand {
    font-size: 15px;
    font-weight: 700;
    margin-right: 10px;
  }

  .site-footer-line {
    color: #c9c9c9;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.8;
  }

  .site-footer-line i,
  .site-footer-contacts i {
    opacity: 0.7;
    margin: 0 4px 0 6px;
  }

}