@import "reset.css";
@import "common.css";

/* WordPress bar */
/* #wpadminbar {
  position: fixed !important;
}
body.admin-bar header {
  top: 32px;
}
@media screen and (max-width: 992px) {
  body.admin-bar header {
    top: 46px;
  }
} */

/* 숨겨질 때 */
#wpadminbar.hide {
  transform: translateY(-100%);
}

/* body.admin-bar header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header {
    top: 46px;
  }
} */

/* Header */

/* header css */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  margin: 0 auto;
  background: var(--main-bg);
  z-index: 3;
}
.header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  height: 50px;
  max-width: 500px;
  margin: 0 auto;
}
.header .header-inner .util-left {
  display: flex;
  gap: 10px;
}
.header .header-inner .logo {
}
.header .header-inner .logo a {
  display: block;
}
.header .header-inner .util-right {
  display: flex;
  gap: 10px;
}

/* Dropdown Menu 전체 박스 */

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: #181818;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 80px 20px;
  z-index: 3;
}

.mobile-menu.open {
  right: 0;
}

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

.mobile-menu .menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .menu a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 15px 0;
}

/* 서브메뉴 (depth2) */
.mobile-menu .sub-menu {
  display: none;
  padding-left: 15px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .menu-item-has-children > a::after {
  content: "▾";
  float: right;
  transition: transform 0.2s;
}

.mobile-menu .menu-item-has-children.open > a::after {
  transform: rotate(180deg);
}

.mobile-menu .menu-item-has-children.open > .sub-menu {
  display: block;
}

.close-btn--block {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Footer */
/* footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 3;
  border-top: 3px solid #fff;
  background: var(--main-bg);
}
.footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 500px;
  margin: 0 auto;
}
.footer-person-select--btn {
  word-wrap: break-word;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: #767676;
  text-decoration: underline;
  cursor: pointer;
}
.footer-icon--wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-btn {
  width: 132px;
  word-wrap: break-word;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0;
  font-weight: 600;
  height: 52px;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  outline: none;
}

@media screen and (max-width: 400px) {
  .footer .footer-inner {
    padding: 10px;
  }
  .footer-btn {
    font-size: 12px;
    width: 80px;
    height: 45px;
    padding: 0;
  }
}
