/* ============================================================
   Offcanvas menu (tp-offcanvas-2) - extracted from /assets/css/main.css
   Only the rules the shared menu (partials/header.ejs) needs, so the
   redesign pages don't have to load the whole legacy stylesheet.
   Pairs with /assets/redesign/menu.js (vanilla replacement for the
   jQuery handlers in main.js).
   ============================================================ */

.tp-offcanvas-2-area {
  --tp-common-white: #ffffff;
  --tp-common-black: #141414;
  position: relative;
  font-family: var(--f-body, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 26px;
}

/* keep the closed offcanvas out of the layout entirely */
.tp-offcanvas-2-area:not(.opened) {
  height: 0;
  overflow: hidden;
}

/* scoped resets (the redesign pages don't load bootstrap/main.css) */
.tp-offcanvas-2-area ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-offcanvas-2-area a {
  color: inherit;
  text-decoration: none;
}

.tp-offcanvas-2-area button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.tp-offcanvas-2-area img {
  max-width: 100%;
  height: auto;
}

.tp-offcanvas-2-area p {
  margin: 6px 0 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.56;
  letter-spacing: -0.02em;
}

/* scoped bootstrap utilities used by the partial's markup */
.tp-offcanvas-2-area .d-none {
  display: none !important;
}

@media (min-width: 768px) {
  .tp-offcanvas-2-area .d-md-block {
    display: block !important;
  }

  .tp-offcanvas-2-area .d-md-none {
    display: none !important;
  }
}

.tp-offcanvas-2-area .d-flex {
  display: flex !important;
}

.tp-offcanvas-2-area .d-inline-block {
  display: inline-block !important;
}

.tp-offcanvas-2-area .justify-content-between {
  justify-content: space-between !important;
}

.tp-offcanvas-2-area .align-items-center {
  align-items: center !important;
}

.tp-offcanvas-2-area .text-end {
  text-align: right !important;
}

/* .mt-160 intentionally not shimmed - the 160px margin pushes the right-panel
   content offscreen without the legacy .tp-offcanvas-2-right-inner wrapper */

.tp-offcanvas-2-area .mb-10 {
  margin-bottom: 10px;
}

.tp-offcanvas-2-area .mb-15 {
  margin-bottom: 15px;
}

/* hidden menu source cloned into the offcanvas by menu.js */
.tp-mobile-menu-active.d-none {
  display: none !important;
}

/* underline-on-hover effect for the contact links */
.tp-line-white {
  display: inline;
  transition: all 0.3s linear;
  background-repeat: no-repeat;
  background-size: 0% 1px, 0 1px;
  background-position: 100% 100%, 0 100%;
  background-image: linear-gradient(currentcolor, currentcolor), linear-gradient(currentcolor, currentcolor);
}

.tp-line-white:hover {
  background-size: 0% 1px, 100% 1px;
}

/* numbered menu items (01, 02, ...) */
.counter-row {
  counter-reset: count;
}

/* ── mobile menu base ─────────────────────────────────────── */
.tp-offcanvas-menu {
  margin-bottom: 80px;
}

.tp-offcanvas-menu ul li {
  position: relative;
}

.tp-offcanvas-menu ul li>a {
  padding: 10px 0;
  display: block;
  font-size: 20px;
  font-weight: 500;
}

/* ── offcanvas-2 area ─────────────────────────────────────── */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: 0.45s ease-in-out;
  background: rgba(24, 24, 24, 0.4);
}

.body-overlay.opened {
  opacity: 1;
  visibility: visible;
}

.tp-offcanvas-2-area.opened .tp-offcanvas-2-left,
.tp-offcanvas-2-area.opened .tp-offcanvas-2-right {
  visibility: visible;
  opacity: 1;
}

.tp-offcanvas-2-area .tp-offcanvas-2-wrapper {
  visibility: hidden;
  opacity: 0;
}

.tp-offcanvas-2-area.opened .tp-offcanvas-2-wrapper {
  visibility: visible;
  opacity: 1;
}

.tp-offcanvas-2-area.opened .tp-offcanvas-2-bg.is-left,
.tp-offcanvas-2-area.opened .tp-offcanvas-2-bg.is-right {
  transform: scale(1, 1);
  transition-delay: 0s;
}

.tp-offcanvas-2-area.opened .tp-offcanvas-2-close {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.tp-offcanvas-2-area .tp-offcanvas-menu>nav>ul>li>a {
  font-weight: 700;
  font-size: 50px;
  line-height: 1;
  color: #717172;
  letter-spacing: -0.02em;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-offcanvas-2-area .tp-offcanvas-menu>nav>ul>li>a {
    font-size: 35px;
  }
}

@media (max-width: 767px) {
  .tp-offcanvas-2-area .tp-offcanvas-menu>nav>ul>li>a {
    font-size: 30px;
  }
}

.tp-offcanvas-2-area .tp-offcanvas-menu>nav>ul>li>a::after {
  position: absolute;
  left: 0;
  top: 3px;
  font-weight: 500;
  font-size: 13px;
  content: "0" counter(count);
  counter-increment: count;
  color: rgba(113, 113, 114, 0.8);
}

.tp-offcanvas-2-area .tp-offcanvas-menu>nav>ul>li.is-active>a {
  color: var(--tp-common-white);
}

.tp-offcanvas-2-area .tp-offcanvas-menu ul li>a {
  padding: 0;
  padding-left: 30px;
}

.tp-offcanvas-2-area .tp-offcanvas-menu ul>li:not(:last-child) {
  margin-bottom: 45px;
}

.tp-offcanvas-2-bg.left-box {
  position: fixed;
  top: 0;
  height: 100%;
  width: 60%;
  transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1111;
}

@media (max-width: 767px) {
  .tp-offcanvas-2-bg.left-box {
    width: 100%;
  }
}

.tp-offcanvas-2-bg.right-box {
  position: fixed;
  top: 0;
  height: 100%;
  width: 40%;
  transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1111;
}

@media (max-width: 767px) {
  .tp-offcanvas-2-bg.right-box {
    width: 100%;
  }
}

.tp-offcanvas-2-bg.is-left {
  left: 0;
  transform: scale(1, 0);
  transform-origin: top center;
  background: var(--tp-common-black);
  transition-delay: 1s;
}

.tp-offcanvas-2-bg.is-right {
  right: 0;
  transform-origin: bottom center;
  transform: scale(1, 0);
  background-color: #1C1D20;
  transition-delay: 1s;
}

.tp-offcanvas-2-wrapper .left-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 60%;
  height: 100vh;
  z-index: 9999;
  overflow-y: scroll;
  pointer-events: auto;
  scrollbar-width: none;
  padding: 40px 80px 50px 80px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-offcanvas-2-wrapper .left-box {
    padding: 40px 40px;
  }
}

@media (max-width: 767px) {
  .tp-offcanvas-2-wrapper .left-box {
    width: 100%;
    padding: 40px 40px;
  }
}

.tp-offcanvas-2-wrapper .left-box .tp-offcanvas-menu {
  padding: 0px 125px;
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .tp-offcanvas-2-wrapper .left-box .tp-offcanvas-menu {
    padding: 0 70px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .tp-offcanvas-2-wrapper .left-box .tp-offcanvas-menu {
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .tp-offcanvas-2-wrapper .left-box .tp-offcanvas-menu {
    padding: 0;
  }
}

.tp-offcanvas-2-wrapper .right-box {
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  height: 100vh;
  z-index: 9999;
  padding: 50px 100px 50px 0;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-offcanvas-2-wrapper .right-box {
    padding-right: 40px;
  }
}

.tp-offcanvas-2-wrapper .right-box::-webkit-scrollbar {
  display: none;
}

.tp-offcanvas-2-left {
  visibility: hidden;
  opacity: 0;
  left: 0;
  transition: 0.3s;
  transition-delay: 0.8s;
}

@media (max-width: 767px) {
  .tp-offcanvas-2-left-wrap {
    margin-bottom: 80px;
  }
}

.tp-offcanvas-2-right {
  visibility: hidden;
  opacity: 0;
  right: 0;
  transition: 0.3s;
  transition-delay: 0.8s;
}

.tp-offcanvas-2-right-info-box {
  padding: 0 200px;
}

@media only screen and (min-width: 1400px) and (max-width: 1700px) {
  .tp-offcanvas-2-right-info-box {
    padding: 0 100px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .tp-offcanvas-2-right-info-box {
    padding: 0 100px;
    padding-right: 0;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-offcanvas-2-right-info-box {
    padding: 0 70px;
    padding-right: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-offcanvas-2-right-info-box {
    padding: 0 60px;
    padding-right: 0;
    margin-top: 130px;
  }
}

.tp-offcanvas-2-right-info-title {
  margin: 0 0 35px;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  font-family: var(--f-display, inherit);
  color: var(--tp-common-white);
}

.tp-offcanvas-2-right-info-item {
  margin-bottom: 30px;
}

.tp-offcanvas-2-right-info-item label {
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  display: block;
  color: #717172;
}

.tp-offcanvas-2-right-info-item>a {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--tp-common-white);
}

.tp-offcanvas-2-right-social a {
  height: 40px;
  width: 40px;
  transition: 0.3s;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
  color: var(--tp-common-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-offcanvas-2-right-social a:hover {
  color: var(--tp-common-black);
  border-color: var(--tp-common-white);
  background-color: var(--tp-common-white);
}

.tp-offcanvas-2-close {
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  transition-delay: 0.5s;
  transform: translateY(20px);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-offcanvas-2-close {
    padding-right: 30px;
  }
}

.tp-offcanvas-2-area .tp-offcanvas-2-close-btn {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--tp-common-white);
}

.tp-offcanvas-2-close-btn .text {
  width: 60px;
  height: 20px;
  transition: 0.3s;
  overflow: hidden;
  display: inline-block;
  transform: translateY(4px);
  color: var(--tp-common-white);
}

.tp-offcanvas-2-close-btn .text span {
  transition: 0.3s;
  display: inline-block;
  transform: translateX(120%);
}

.tp-offcanvas-2-close-btn:hover .text span {
  transform: translateX(0%);
}

.tp-offcanvas-2-close-btn:hover span svg {
  transform: rotate(90deg);
}

.tp-offcanvas-2-logo {
  margin-bottom: 105px;
}

@media (max-width: 767px) {
  .tp-offcanvas-2-logo {
    margin-bottom: 0;
  }
}