/* Office homepage custom tweaks */

/* Korean branch logo — midway size between theme 130px and oversized 320px */
:root {
  --logo-width: 220px;
  --logo-footer-width: 200px;
}

header #logo,
header #logo a {
  display: inline-block;
  max-width: none !important;
}

header #logo img.logo-main,
header #logo img.logo-scroll,
header #logo img.logo-mobile,
header .logo-main,
header .logo-scroll,
header .logo-mobile,
div#logo img {
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
}

footer img[src*="logo-white"],
#extra-content img[src*="logo-white"] {
  width: 200px !important;
  max-width: 200px !important;
  height: auto !important;
}

@media (max-width: 767px) {
  header #logo img.logo-main,
  header #logo img.logo-scroll,
  header #logo img.logo-mobile,
  header .logo-main,
  header .logo-scroll,
  header .logo-mobile,
  div#logo img {
    width: 180px !important;
    max-width: 180px !important;
  }
}

/* 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;
}

#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: #d4b896;
}

.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: flex-end;
  width: 100%;
  padding: 140px 0 120px;
}

.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: flex-end;
    padding: 120px 0 110px;
  }

  .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;
}

/* Mobile footer: hide 바로가기 + 메뉴/회사 link columns */
@media (max-width: 767px) {
  footer .col-md-6 > .row.g-4 {
    display: none !important;
  }
}

/* Header: keep brown bar so white menu/logo stay readable at page top */
header.transparent {
  background: rgba(var(--bg-dark-1-rgb, 52, 36, 28), 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

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 brown */
#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: #805231;
}

.dc-blog-item:hover .dc-blog-icon {
  color: #805231;
}

.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: #805231;
  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[hidden] {
  display: none !important;
}

.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__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: #805231;
  color: #805231;
}

.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: #805231;
  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 #805231;
  background: #f7f4f1;
  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(0, 0, 0, 0.25);
  color: #222;
}

header.smaller .dc-auth-btn:hover,
header.transparent.smaller .dc-auth-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.45);
  color: #111;
}

.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;
}

@media (max-width: 991px) {
  .menu_side_area {
    gap: 8px;
  }

  .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;
  }
}
