.pkp_structure_content {
    padding: 0rem .714rem 0 .714rem;
}

.pkp_structure_footer {
    width: auto;
}

.pkp_footer_content {
    padding: 0;
}

.pkp_brand_footer {
    display: none;
}
.cmp_breadcrumbs{
    display: none;
}

.pkp_structure_main .page h1 {
    margin-top: 1rem;
}
.pkp_structure_head {
    background-color: #17285b;
}

.pkp_navigation_user li a {
    color: white;
}

.pkp_head_wrapper {
  width: auto !important;
  padding-top: 1rem !important;
}

.pkp_site_name_wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 3rem 2rem 2rem;
  position: relative;
}

/* Mobile Menu Toggle - Keep in position */

/* Screen Reader Title */
.pkp_screen_reader {
  position: absolute;
  left: -9999px;
}

/* Site Name - Center Column */
.pkp_site_name {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 12px; /* space between logo and text */
  text-align: center;
  justify-self: center;
}

.pkp_site_name a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #244d81;
  text-decoration: none;
  white-space: nowrap;
}

/* User Navigation - Right Column */
.pkp_navigation_user_wrapper {
    left: 48.5%;
  top: 40px;
  justify-self: end;
}

.pkp_navigation_user {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

/* Task Count Badge */
.task_count {
  background: #dc3545;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

/* Hanging header with padding on all sides */
.pkp_site_nav_menu {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 20px;
  padding-inline: 4.7rem;
  background-color: white;
}

/* Inner wrapper with blue background */
.pkp_navigation_primary_row {
  background-color: #17285b;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pkp_navigation_primary_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation list styling */
.pkp_navigation_primary {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.pkp_navigation_primary > li {
  position: relative;
}

.pkp_navigation_primary > li > a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.pkp_navigation_primary > li > a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.pkp_navigation_primary > li:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: #333333;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  transition: background-color 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

/* Search wrapper styling */
.pkp_navigation_search_wrapper {
  margin-left: auto;
}

.pkp_search {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pkp_search:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

#pkpDropdown0 {
  white-space: nowrap;
  color: white;
}

.pkp_structure_main {
  padding-right: 1.7rem;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.pkp_structure_main:before {
  width: 0;
}

.pkp_structure_main:first-child:last-child:after {
  right: 200px;
}

#pkpDropdown1 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
#pkpDropdown2 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.pkp_page_index .additional_content {
    padding-left: 0;
    padding-right: 0;
    padding: 0.8rem 2rem .714rem .314rem;
    border-top: 0;
}

/* Sidebar background */
.pkp_structure_sidebar {
    width: 280px;
  background-color: white;
  padding-inline: 5px;
  padding-block: 10px;
}

/* Individual blocks */
.pkp_structure_sidebar .pkp_block {
  background-color: #17285b;
  padding: 10px;                /* reduced padding */
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Block titles */
.pkp_structure_sidebar .pkp_block .title {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 6px;
}

/* List reset */
.pkp_structure_sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* List items */
.pkp_structure_sidebar li {
  margin-bottom: 6px;
}

/* Links */
.pkp_structure_sidebar a {
  color: #dbe4ff;
  text-decoration: none;
  font-size: 0.95rem;
}

.pkp_structure_sidebar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Feed icons */
.pkp_block.block_web_feed img {
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1); /* makes icons visible on dark bg */
}

/* Dropdown container */
.dropdown-menu {
  background-color: #17285b !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  padding: 8px 0 !important;
  min-width: 260px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

/* Dropdown list reset */
.dropdown-menu li {
  margin: 0;
  padding: 0;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: #e4ebff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: normal;
}

/* Hover & focus state */
.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Active link (optional) */
.dropdown-menu li.active a {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

/* Prevent dropdown touching trigger */
.dropdown-menu.show {
  margin-top: 6px;
}

.pkp_nav_list ul a {
    border-left: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .pkp_site_nav_menu {
    padding: 10px;
  }

  .pkp_navigation_primary_wrapper {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .pkp_navigation_primary {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .pkp_navigation_search_wrapper {
    margin-left: 0;
    width: 100%;
  }

  .pkp_search {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .pkp_site_name_wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .pkp_site_nav_toggle {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 1rem;
  }

  .pkp_site_name {
    grid-column: 1;
    text-align: center;
  }

  .pkp_site_name a {
    font-size: 1.2rem;
    white-space: normal;
  }

  .pkp_navigation_user_wrapper {
    grid-column: 1;
    justify-self: center;
  }

  .pkp_navigation_user {
    justify-content: center;
  }
}
