/* General layout */
.post-author{
  color: #6E7E85;
font-size: 15px;
font-style: normal;
font-weight: 700;
line-height: 135%; /* 20.25px */
letter-spacing: 0.75px;
text-transform: uppercase;
}
.pwr-post-sidebar {
  position: relative; /* Ensures the sticky sidebar is bound within its container */
}
.sidebar-complete {
  position: sticky;
  top: 112px; /* Distance from the top of the viewport */
  z-index: 10; /* Optional: to ensure it remains above other elements */
  margin-bottom:40px;
}
.pwr-post-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0px auto;
  padding-top: 32px;
}

.pwr-post-content {
  flex: 1;
  min-width: 0; /* Prevent overflow in flex layout */
}

.pwr-post-sidebar {
  width: 413px;
  flex-shrink: 0;
}

/* Sidebar sections */
.pwr-sidebar-section {
  margin-bottom: 20px;
}

.pwr-sidebar-section h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.pwr-sidebar-section ul.post-cat {
  list-style: none;
  padding: 0;
  margin: 0;
    display: flex;
padding: 24px 0px;
align-items: flex-start;
align-content: flex-start;
gap: 16px;
align-self: stretch;
flex-wrap: wrap;
}

.pwr-sidebar-section li {
  margin-bottom: 10px;
}

.pwr-sidebar-section li a {
  text-decoration: none;
  color: #1A1B41;
  transition: color 0.3s ease;
    display: flex;
padding: 8px 16px;
justify-content: center;
align-items: center;
gap: 8px;
  border-radius: 8px;
border: 1px solid var(--border-border-light, #E0E4E5);
background: var(--surface-surface-primary, #F6F6F6);
}

.pwr-sidebar-section li a:hover {
  color: var(--clr-link-html);
  background: #E0E4E5;
}
.pwr-sidebar-section-recent {
  margin-bottom: 20px;
}

.pwr-sidebar-section-recent h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.pwr-sidebar-section-recent ul {
  list-style: none;
  padding: 0;
  margin: 0;
text-align:left;
}

.pwr-sidebar-section-recent ul li {
  margin: 24px 0;
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
}
.pwr-sidebar-section-recent ul li::before {
background-color: transparent;
  background-image: url(https://www.countrynavigator.com/hubfs/2024%20new%20site%20images/chevron-right.svg);
  background-size: cover;
  content: "";
  height: 16px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 16px;
}
.pwr-sidebar-section-recent li a {
  text-decoration: none;
  color: #1A1B41;
  transition: color 0.3s ease;
}
.pwr-sidebar-section-recent li a:hover {
  color: var(--clr-link-html);
}
/* Responsive Design */
@media (max-width: 991px) {
  .pwr-post-wrapper {
    flex-direction: column;
  }

  .pwr-post-sidebar {
    width: 100%;
  }
.sidebar-complete{
    position: static; /* Disable sticky behavior on smaller screens */
  }
    .sidebar-complete {
position: static;
  top: 40px;
  z-index: 10;
  margin: 0px 20px 40px 20px;
}
  .pwr-post-content {
  padding-bottom: 40px!important;
}
@media (max-width:575px) {
  .sidebar-complete {
position: static;
  top: 40px;
  z-index: 10;
  margin: 0px 20px 40px 20px;
}
  .pwr-post-content {
  padding-bottom: 40px!important;
}
}