/* ===============================
   MAIN LAYOUT FIX (Elementor)
================================= */

.policy-wrapper .e-con-inner {
  display: flex;
  align-items: flex-start !important;
  gap: 60px;
}

/* ===============================
   SIDEBAR (LEFT)
================================= */

.policy-wrapper .policy-sidebar {
  flex: 0 0 220px;
  align-self: flex-start !important;
  position: sticky !important;
  top: 120px;
  height: fit-content;
  z-index: 999;
}

/* remove Elementor flex */
.policy-wrapper .policy-sidebar.e-con {
  display: block !important;
}

.policy-sidebar .elementor-widget-container {
  height: auto !important;
}

/* ===============================
   RIGHT CONTENT
================================= */

.policy-wrapper .policy-content {
  flex: 1;
}

/* ===============================
   NAVIGATION WRAPPER
================================= */

.policy-wrapper .policy-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 18px;
  width: 80px;
}

/* ===============================
   CLICKABLE AREA (IMPORTANT FIX)
================================= */

.policy-wrapper .policy-lines a {
  display: block;
  width: 50%;
  height: 20px;
  /* 👈 BIG clickable area */
  position: relative;
  cursor: pointer;
}

/* ===============================
   LINE (VISUAL ONLY)
================================= */

.policy-wrapper .policy-lines a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 18px;
  height: 2px;
  background: #FFFFFF33;

  transition: all 0.3s ease;
}

/* hover line */
.policy-wrapper .policy-lines a:hover::before {
  width: 28px;
  background: #ffffff;
}

/* active line */
.policy-wrapper .policy-lines a.active::before {
  width: 36px;
  background: #fff;
}

/* ===============================
   TOOLTIP
================================= */

.policy-wrapper .policy-lines a::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);

  background: #191c2d;
  color: #FAFAFA;
  padding: 10px;
  border-radius: 4px;

  opacity: 0;
  white-space: normal;
  max-width: 150px;

  pointer-events: none;
  transition: 0.2s;
  z-index: 9999;
}

/* show tooltip */
.policy-wrapper .policy-lines a:hover::after {
  opacity: 1;
}

/* ===============================
   OPTIONAL HOVER BG (UX POLISH)
================================= */

.policy-wrapper .policy-lines a:hover {
  border-radius: 4px;
}

/* ===============================
   ELEMENTOR FIXES (CRITICAL)
================================= */

.policy-wrapper,
.policy-wrapper .e-con,
.policy-wrapper .e-parent,
.policy-wrapper .e-child {
  overflow: visible !important;
  transform: none !important;
}

.policy-wrapper .e-con-inner,
.policy-wrapper .e-con {
  align-items: flex-start !important;
}

/* ===============================
   CONTENT LIST STYLE
================================= */

.policy-wrapper .policy-content ul {
  margin: 0;
  list-style: none;
  padding: 0;
}

.policy-wrapper .policy-content ul li {
  position: relative;
  padding-left: 35px;
  background: url("../img/white-flag-listing.svg") no-repeat;
  background-position: left top 4px;
  margin: 0 0 20px;
}

.policy-wrapper .policy-content h3 {
  font-weight: 400;
  font-size: 26px;
  line-height: 35px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 15px;
  color: #FAFAFA;
}

.policy-wrapper .policy-content ul li:first-child {
  margin-top: 15px;
}

.policy-wrapper .policy-content ul li:last-child {
  margin: 0;
}

.policy-wrapper .policy-content [id] {
  scroll-margin-top: 120px;
  /* match sticky header height */
}

/* ===============================
   RESPONSIVE
================================= */

@media screen and (max-width: 1024px) {
  .policy-wrapper .policy-sidebar.e-con {
    display: none !important;
  }
}