/* Office homepage custom tweaks */

/* Brand sky — accents + header/footer only (page heroes keep photo clear) */
:root {
  --primary-color: #5ecfff;
  --primary-color-rgb: 94, 207, 255;
  --secondary-color: #3bbef0;
  --secondary-color-rgb: 59, 190, 240;
  --bg-dark-1: #0d2740;
  --bg-dark-2: #133552;
  --bg-dark-3: #1a4466;
  --bg-dark-1-rgb: 13, 39, 64;
  --footer-background-color: #1a8fd4;
}

header,
header.transparent,
header.transparent.smaller,
header.smaller,
header.header-mobile {
  background: #1a8fd4 !important;
}

footer,
footer.section-dark,
footer.text-light,
#extra-wrap,
#extra-wrap.bg-dark {
  background: #1a8fd4 !important;
  background-color: #1a8fd4 !important;
}

/* 문의/서비스 등 상단 jarallax: 파란 배경·오버레이 제거 */
main > section.jarallax.bg-dark,
main > section.jarallax.section-dark,
main > section.bg-dark.jarallax,
main > section.section-dark.jarallax {
  background: transparent !important;
  background-color: transparent !important;
}

main > section.jarallax > .sw-overlay,
main > section.jarallax > .gradient-edge-bottom,
main > section.jarallax > .gradient-edge-top,
main > section.relative.jarallax > .sw-overlay,
main > section.relative.jarallax > .gradient-edge-bottom,
main > section.relative.jarallax > .gradient-edge-top {
  display: none !important;
}

/* 오버레이 제거 후에도 흰 글씨 가독성 */
main > section.jarallax h1,
main > section.jarallax .crumb,
main > section.jarallax .crumb a,
main > section.jarallax p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* Korean multi-line titles: avoid cramped line spacing */
h1,
h2,
.h1,
.h2,
.hs-1,
.hs-2,
.fs-28,
.fs-36,
.fs-40 {
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 어두운 히어로: 메인 텍스트는 흰색 (글로벌 갈색 heading 차단) */
.dc-vo-hero h1,
.dc-vo-hero .dc-vo-h1,
.dc-pt-hero h1,
.dc-pt-hero .dc-pt-hero-title,
.dc-pt-hero .dc-pt-brand,
.dc-hero .dc-hero-brand,
.dc-hero .dc-hero-title {
  color: #ffffff !important;
  text-transform: none;
}

#services-carousel h2.fs-40,
#projects-carousel h2 {
  margin-bottom: 0;
}

/* Scroll reveal: image scale-in (Owl + WOW conflict workaround) */
.dc-img-reveal {
  overflow: hidden;
}

.dc-img-reveal > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.45);
  transform-origin: center center;
  transition:
    transform 1.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s ease;
  will-change: transform, opacity;
}

.dc-img-reveal.is-revealed > img {
  opacity: 1;
  transform: scale(1);
}

#extra-content .dc-img-reveal > img {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .dc-img-reveal > img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

#content {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hero slightly taller than default mh-1000 */
#section-intro .mh-1000 {
  min-height: 1120px;
}

@media (max-width: 991px) {
  #section-intro .mh-1000 {
    min-height: 92vh;
  }
}

/* ===== Main hero ===== */
.dc-hero {
  --dc-hero-ink: #ffffff;
  --dc-hero-muted: rgba(255, 255, 255, 0.9);
  --dc-hero-accent: #b8ebff;
}

.dc-hero-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #1c1410;
}

.dc-hero-swiper,
.dc-hero-swiper .swiper-wrapper,
.dc-hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.dc-hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dc-hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dc-hero-image {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  animation: none;
}

.swiper-slide-active .dc-hero-image,
.swiper-slide-duplicate-active .dc-hero-image {
  animation: dc-hero-ken-in 6.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.dc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 18, 12, 0.38) 0%, rgba(28, 18, 12, 0.12) 42%, rgba(28, 18, 12, 0.08) 100%),
    linear-gradient(180deg, rgba(28, 18, 12, 0.18) 0%, rgba(28, 18, 12, 0.05) 45%, rgba(28, 18, 12, 0.42) 100%);
  pointer-events: none;
}

.dc-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
  padding: 8rem 0 5rem;
  box-sizing: border-box;
}

.dc-hero-copy {
  position: relative;
  max-width: 720px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 6px 28px rgba(0, 0, 0, 0.4);
}

.dc-hero-brand {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dc-hero-ink);
  word-break: keep-all;
  opacity: 0;
  transform: translateY(28px);
  animation: dc-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.dc-hero-title {
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--dc-hero-ink);
  word-break: keep-all;
  opacity: 0;
  transform: translateY(24px);
  animation: dc-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.dc-hero-lead {
  margin: 0 0 34px;
  max-width: 34em;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dc-hero-muted);
  word-break: keep-all;
  opacity: 0;
  transform: translateY(20px);
  animation: dc-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.dc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  opacity: 0;
  transform: translateY(18px);
  animation: dc-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

.dc-hero-link {
  color: var(--dc-hero-ink) !important;
  text-decoration: none !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(247, 243, 238, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.dc-hero-link:hover {
  border-bottom-color: var(--dc-hero-accent);
  color: var(--dc-hero-accent) !important;
}

.dc-hero-pagination {
  position: absolute !important;
  left: auto !important;
  right: 40px !important;
  bottom: 48px !important;
  width: auto !important;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dc-hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(247, 243, 238, 0.35);
  opacity: 1;
  border-radius: 999px;
  transition: width 0.35s ease, background 0.35s ease;
}

.dc-hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--dc-hero-accent);
}

.dc-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dc-hero-muted);
  text-decoration: none !important;
  opacity: 0;
  animation: dc-hero-rise 0.8s ease 1.1s forwards;
}

.dc-hero-scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(247, 243, 238, 0.05), rgba(247, 243, 238, 0.85));
  transform-origin: top center;
  animation: dc-hero-scroll-pulse 1.8s ease-in-out infinite;
}

.dc-hero-scroll-text {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes dc-hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dc-hero-ken-in {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2%, -1.2%, 0);
  }
}

@keyframes dc-hero-scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .dc-hero-shell {
    min-height: 92vh;
  }

  .dc-hero-content {
    align-items: center;
    padding: 7rem 0 5rem;
  }

  .dc-hero-brand {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .dc-hero-title {
    font-size: clamp(1.25rem, 4.8vw, 1.65rem);
  }

  .dc-hero-lead {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .dc-hero-pagination {
    right: 20px !important;
    bottom: 88px !important;
  }

  .dc-hero-scroll {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-hero-brand,
  .dc-hero-title,
  .dc-hero-lead,
  .dc-hero-cta,
  .dc-hero-scroll,
  .dc-hero-image,
  .swiper-slide-active .dc-hero-image,
  .swiper-slide-duplicate-active .dc-hero-image,
  .dc-hero-scroll-line {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .dc-hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.04);
  }
}

footer {
  position: relative;
  z-index: 1;
  clear: both;
}

/* Header: sky-navy bar so white/sky menu & logo stay readable */
header.transparent {
  background: rgba(var(--bg-dark-1-rgb, 26, 143, 212), 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

header.transparent.smaller,
header.smaller {
  background: var(--bg-dark-1, #1a8fd4);
}

header.transparent #mainmenu a,
header.transparent #mainmenu > li > a {
  color: #fff;
}

header.transparent #btn-extra span {
  border-bottom-color: #fff;
}

header.transparent #menu-btn,
header.transparent #menu-btn:before {
  color: #fff;
}

header.transparent .logo-main {
  display: inline-block;
}

header.transparent .logo-scroll {
  display: none;
}

/* Mobile: only logo-mobile — avoid double logo with forced .logo-main */
@media only screen and (max-width: 767px) {
  header.transparent .logo-main,
  header.transparent .logo-scroll {
    display: none !important;
  }

  header.transparent .logo-mobile {
    display: block !important;
  }
}

/* Extra panel close (X) — visible on dark header */
#extra-wrap #btn-close span,
#extra-wrap.bg-dark #btn-close span {
  background: #ffffff;
}

/* Blog list (notice-style rows) */
.dc-blog-section {
  padding-top: 80px;
  padding-bottom: 100px;
  background: #fff;
}

.dc-blog-list {
  max-width: 1100px;
  margin: 0 auto;
}

.dc-blog-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 28px;
  gap: 28px;
  align-items: start;
  padding: 34px 4px 32px;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #e8e8e8;
  margin-top: -1px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.dc-blog-item:first-child {
  border-top-color: #2a2a2a;
}

.dc-blog-item:hover {
  background-color: #fafafa;
}

.dc-blog-item:hover .dc-blog-title {
  color: var(--primary-color, #5ecfff);
}

.dc-blog-item:hover .dc-blog-icon {
  color: var(--primary-color, #5ecfff);
}

.dc-blog-date {
  font-size: 15px;
  line-height: 1.5;
  color: #9a9a9a;
  letter-spacing: 0.02em;
  padding-top: 4px;
  white-space: nowrap;
}

.dc-blog-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.dc-blog-title {
  display: block;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  color: #1a1a1a;
  word-break: keep-all;
  transition: color 0.2s ease;
}

.dc-blog-excerpt {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  color: #9a9a9a;
  word-break: keep-all;
}

.dc-blog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  padding-top: 6px;
  transition: color 0.2s ease;
}

@media (max-width: 767px) {
  .dc-blog-section {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .dc-blog-item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 12px 16px;
    padding: 26px 0 24px;
  }

  .dc-blog-date {
    grid-column: 1 / -1;
    font-size: 13px;
    padding-top: 0;
  }

  .dc-blog-title {
    font-size: 18px;
  }

  .dc-blog-excerpt {
    font-size: 14px;
  }

  .dc-blog-icon {
    align-self: start;
    padding-top: 2px;
  }
}

/* Blog detail (notice-style) */
.dc-blog-detail-section {
  padding-top: 80px;
  padding-bottom: 100px;
  background: #fff;
}

.dc-blog-detail {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid #2a2a2a;
}

.dc-blog-detail-head {
  padding: 36px 4px 28px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  position: relative;
  z-index: 1;
}

.dc-blog-detail-title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: #1a1a1a;
  word-break: keep-all;
}

.dc-blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  line-height: 1.5;
  color: #9a9a9a;
}

.dc-blog-detail-body {
  padding: 56px 4px 64px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  word-break: keep-all;
}

.dc-blog-detail-body p {
  margin: 0 0 0.35em;
}

.dc-blog-detail-body p:last-child {
  margin-bottom: 0;
}

.dc-blog-detail-actions {
  display: flex;
  justify-content: center;
  padding-top: 48px;
}

.dc-blog-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 36px;
  background: #2f2f2f;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border: 0;
  transition: background-color 0.2s ease;
}

.dc-blog-list-btn:hover {
  background: var(--primary-color, #5ecfff);
  color: #fff !important;
}

@media (max-width: 767px) {
  .dc-blog-detail-section {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .dc-blog-detail-head {
    padding: 28px 0 22px;
  }

  .dc-blog-detail-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .dc-blog-detail-meta {
    gap: 6px 16px;
    font-size: 13px;
  }

  .dc-blog-detail-body {
    padding: 36px 0 44px;
    font-size: 15px;
  }

  .dc-blog-detail-actions {
    padding-top: 32px;
  }

  .dc-blog-list-btn {
    min-width: 140px;
    height: 44px;
  }
}

/* Lenis/body overflow:hidden 때문에 긴 글이 잘리는 문제 방지 */
body[data-blog-page] {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
}

html:has(body[data-blog-page]) {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

.dc-blog-status {
  max-width: 1100px;
  margin: 0 auto 20px;
  text-align: center;
  color: #9a9a9a;
  font-size: 14px;
}

.dc-blog-empty {
  max-width: 1100px;
  margin: 24px auto 0;
  text-align: center;
  color: #9a9a9a;
  font-size: 15px;
}

.dc-blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 40px auto 0;
  flex-wrap: wrap;
}

.dc-blog-pager[hidden] {
  display: none !important;
}

.dc-blog-pager__pages {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.dc-blog-pager__btn,
.dc-blog-pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dc-blog-pager__btn:hover,
.dc-blog-pager__num:hover {
  border-color: var(--primary-color, #5ecfff);
  color: var(--primary-color, #5ecfff);
}

.dc-blog-pager__num.is-active {
  background: #2f2f2f;
  border-color: #2f2f2f;
  color: #fff;
}

.dc-blog-pager__btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.dc-blog-detail-cat {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--primary-color, #5ecfff);
  font-weight: 600;
}

.dc-blog-detail-body h2 {
  margin: 1.6em 0 0.6em;
  font-size: 1.35em;
  line-height: 1.4;
  font-weight: 700;
  color: #1a1a1a;
}

.dc-blog-detail-body h3 {
  margin: 1.3em 0 0.45em;
  font-size: 1.1em;
  font-weight: 700;
  color: #222;
}

.dc-blog-detail-body ul,
.dc-blog-detail-body ol {
  margin: 0.6em 0 1em;
  padding-left: 1.25em;
}

.dc-blog-detail-body li {
  margin: 0.25em 0;
}

.dc-blog-detail-body blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--primary-color, #5ecfff);
  background: #eef6fb;
  color: #444;
}

.dc-blog-detail-body table {
  width: 100%;
  margin: 1.2em 0;
  border-collapse: collapse;
  font-size: 0.95em;
}

.dc-blog-detail-body th,
.dc-blog-detail-body td {
  border: 1px solid #e5e5e5;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.dc-blog-detail-body th {
  background: #f5f5f5;
  font-weight: 600;
}

.dc-blog-cta {
  margin: 2rem 0 0;
  padding: 24px 20px;
  background: #f7f4f1;
  text-align: center;
}

.dc-blog-cta p {
  margin: 0 0 16px !important;
  color: #333;
}

.dc-blog-faq {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.dc-blog-faq > h2 {
  margin-top: 0;
}

.dc-blog-faq__item {
  margin: 0 0 1.1rem;
}

.dc-blog-faq__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02em;
}

.dc-blog-faq__item p {
  margin: 0 !important;
  color: #555;
}

/* ===== Auth nav + pages ===== */
.menu_side_area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dc-auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dc-auth-btn[hidden] {
  display: none !important;
}

.dc-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dc-auth-btn:hover,
.dc-auth-btn:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  text-decoration: none;
}

header.smaller .dc-auth-btn,
header.transparent.smaller .dc-auth-btn {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

header.smaller .dc-auth-btn:hover,
header.transparent.smaller .dc-auth-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

header.smaller #mainmenu a,
header.smaller #mainmenu > li > a,
header.transparent.smaller #mainmenu a,
header.transparent.smaller #mainmenu > li > a {
  color: #fff !important;
}

header.smaller #menu-btn,
header.smaller #menu-btn:before,
header.transparent.smaller #menu-btn,
header.transparent.smaller #menu-btn:before {
  color: #fff !important;
}

header.smaller #btn-extra span,
header.transparent.smaller #btn-extra span {
  border-bottom-color: #fff;
}

.dc-auth-section {
  padding-top: 70px;
  padding-bottom: 90px;
}

.dc-auth-panel {
  padding: 36px 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.dc-auth-title {
  margin: 0 0 8px;
  font-size: 28px;
}

.dc-auth-lead {
  margin-bottom: 28px;
  color: rgba(0, 0, 0, 0.55);
}

.dc-auth-lead a {
  color: inherit;
  text-decoration: underline;
}

.dc-auth-message {
  margin: 0 0 14px;
  font-size: 14px;
}

.dc-auth-message.is-error {
  color: #c0392b;
}

.dc-auth-message.is-success {
  color: #1e7a46;
}

/* 데스크톱: 햄버거 안 로그인/회원가입 숨김 — 헤더 버튼만 표시 */
.dc-auth-menu-item {
  display: none !important;
}

/* designesia header-mobile 기준과 동일 (≤992px) */
@media (max-width: 992px) {
  .menu_side_area {
    gap: 8px;
  }

  /* 모바일: 헤더의 로그인/회원가입은 숨기고 햄버거 메뉴로 */
  .menu_side_area .dc-auth-nav {
    display: none !important;
  }

  .dc-auth-menu-item {
    display: list-item !important;
  }

  .dc-auth-menu-item[hidden] {
    display: none !important;
  }

  .dc-auth-menu-logout {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .dc-auth-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .dc-auth-panel {
    padding: 28px 20px;
  }
}

/* ===== Admin ===== */
.dc-admin-gate {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  text-align: center;
}

.dc-admin-gate p {
  margin-bottom: 24px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

.dc-admin-gate-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dc-admin-home-btn {
  border-color: rgba(0, 0, 0, 0.25);
  color: #222;
  min-height: 44px;
  padding: 0 18px;
}

.dc-admin-panel {
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.dc-admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dc-admin-table-wrap {
  overflow-x: auto;
}

.dc-admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.dc-admin-table th,
.dc-admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}

.dc-admin-table th {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.02);
}

.dc-admin-empty {
  text-align: center !important;
  color: rgba(0, 0, 0, 0.45);
  padding: 36px 12px !important;
}

.dc-admin-role {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 12px;
}

.dc-admin-role.is-admin {
  border-color: rgba(0, 0, 0, 0.45);
  font-weight: 600;
}

.dc-admin-actions-cell {
  white-space: nowrap;
}

.dc-admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  color: #222;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dc-admin-action:hover:not(:disabled),
.dc-admin-action:focus:not(:disabled) {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.45);
}

.dc-admin-action.is-promote {
  border-color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
}

.dc-admin-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Footer branch name → admin link */
.dc-footer-admin-entry {
  display: inline;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.dc-footer-admin-entry.is-inactive {
  pointer-events: none;
  cursor: default;
}

.dc-footer-admin-entry:not(.is-inactive) {
  pointer-events: auto;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 1;
}

.dc-footer-admin-entry:not(.is-inactive):hover {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .dc-admin-panel {
    padding: 20px 14px;
  }

  /* 모바일: 하단 푸터 바로가기·메뉴(회사) 숨김 — 로고·문의·연락처는 유지 */
  footer .col-md-6 > .row.g-4 {
    display: none !important;
  }
}

/* Text logo — duck mark beside 워크캔버스 */
.dc-text-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.18em;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.dc-text-logo::before {
  content: "";
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  flex: 0 0 1.7em;
  margin: 0;
  background: url("../images/brand/wc-duck-logo.svg") center / contain no-repeat;
}

/* keep theme logo visibility rules (do not force-show scroll/mobile) */
header #logo .logo-main.dc-text-logo {
  display: inline-flex;
}

header #logo .logo-scroll.dc-text-logo {
  display: none;
}

header #logo .logo-mobile.dc-text-logo {
  display: none;
}

header.smaller.scroll-light #logo .logo-main.dc-text-logo {
  display: none;
}

header.smaller.scroll-light #logo .logo-scroll.dc-text-logo {
  display: inline-flex;
}

@media only screen and (max-width: 767px) {
  header #logo .logo-main.dc-text-logo,
  header #logo .logo-scroll.dc-text-logo {
    display: none !important;
  }

  header #logo .logo-mobile.dc-text-logo {
    display: inline-flex !important;
  }
}

.dc-text-logo--light {
  color: #e8f8ff;
}

.dc-text-logo--dark {
  color: #1a8fd4;
}

.dc-text-logo--md {
  font-size: 1.5rem;
}

.dc-text-logo--lg {
  font-size: 1.75rem;
}

#logo a {
  text-decoration: none;
}

#logo .dc-text-logo {
  transition: color 0.25s ease;
}

header.smaller:not(.scroll-light) .logo-scroll.dc-text-logo--dark {
  color: #e8f8ff;
}

footer .dc-text-logo,
footer .dc-text-logo.d-inline-block,
#extra-content .dc-text-logo {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
}

footer .dc-text-logo::before,
#extra-content .dc-text-logo::before {
  position: relative;
  top: 0.1em;
  background-position: center 58%;
}

footer .dc-text-logo--light,
#extra-content .dc-text-logo--light {
  color: #e8f8ff;
}

footer .op-5,
footer .widget .op-5,
footer .fs-15.op-5 {
  color: #d6f3ff !important;
  opacity: 1 !important;
}

footer h2,
footer h3,
footer .hs-5,
footer a {
  color: #fff;
}

footer a:hover {
  color: #e8f8ff;
}

@media only screen and (max-width: 767px) {
  #logo .dc-text-logo {
    font-size: 1.2rem;
  }
}
