/* Gnuboard + Tailwind 충돌 정리. 시안 디자인을 우선합니다. */
body.spielen-site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-black);
  background: var(--color-cream);
}

body.spielen-site #hd,
body.spielen-site #tnb,
body.spielen-site #ft,
body.spielen-site #top_button {
  display: none !important;
}

body.spielen-site .container {
  width: min(calc(100% - var(--container-gutter) * 2), var(--container-max));
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

body.spielen-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.spielen-site #site-wrap,
body.spielen-site #wrapper,
body.spielen-site #container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

body.spielen-site .ctt_admin {
  position: absolute;
  z-index: 5;
  padding: 8px 16px;
}

.notice-paging .pg_wrap,
.notice-paging .pg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.notice-paging .pg_page,
.notice-paging .pg_start,
.notice-paging .pg_end,
.notice-paging .pg_prev,
.notice-paging .pg_next,
.notice-paging .pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  padding: 0 8px;
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-black);
}

.notice-paging .pg_current {
  background: var(--color-yellow);
}

.notice-card {
  position: relative;
}

.notice-card__check {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.notice-view__files {
  margin-top: 32px;
}

.notice-view__files h3 {
  margin-bottom: 8px;
}

.notice-view__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 32px;
}

.notice-view__siblings {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.notice-box__tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.spielen-site #bo_w .wr_content iframe {
  display: block;
  width: 100%;
  min-height: 412px;
  background: #fff;
}

@media (max-width: 1023px) {
  body.spielen-site {
    --header-height: 72px;
  }
}

@media (max-width: 767px) {
  body.spielen-site {
    --container-gutter: 20px;
    --header-height: 72px;
  }
}
