.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  transition: box-shadow 0.2s ease;
  z-index: 100;
}
.wp-site-blocks > header.wp-block-template-part.is-sticky {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.partner-header .header-links {
  flex: 1;
}

.pc-mobile-menu {
  display: none;
}

.header-link {
  margin: 0;
}
.header-link a {
  border-top: 2px solid transparent;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  padding-top: 4px; 
  text-decoration: none;
}
.header-link a:hover,
.header-link a:focus-visible {
  color: rgb(50, 159, 255);
  text-decoration: none;
  border-top: 2px solid rgb(50, 159, 255);
}

/* CTA buttons */
.partner-header .wp-block-buttons {
	flex: 0 0 auto;
}
.partner-header .btn-header .wp-block-button__link {
	display: inline-block;
	width: auto;
	white-space: nowrap;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	padding: 10px 24px;
	transition: transform 0.2s ease;
}
.partner-header .btn-header.is-style-outline .wp-block-button__link {
	background: #fff;
	border: 1px solid #005199;
	color: #005199;
}
.partner-header .btn-header.is-style-outline .wp-block-button__link:hover,
.partner-header .btn-header.is-style-outline .wp-block-button__link:focus-visible {
	transform: translateY(-3px);
}
.partner-header .btn-header-primary .wp-block-button__link {
	background: #005199;
	border: 1px solid #005199;
	color: #fff;
}
.partner-header .btn-header-primary .wp-block-button__link:hover,
.partner-header .btn-header-primary .wp-block-button__link:focus-visible {
	transform: translateY(-3px);
}

/* ===== Mobile (<= 781px) ===== */
@media (max-width: 781px) {
  /* logo + hamburger on one row */
  .partner-header > .wp-block-group.alignwide {
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  /* hide desktop links AND buttons on mobile */
  .partner-header > .wp-block-group.alignwide > .header-links,
  .partner-header > .wp-block-group.alignwide > .wp-block-buttons {
    display: none;
  }

  .pc-mobile-menu {
    display: block;
    position: fixed;
    right: 24px;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 14px);
    z-index: 300;
  }

  .pc-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }

  .pc-mobile-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
  }

  .pc-mobile-icon span {
    background: #000;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 100%;
  }

  .pc-mobile-panel[hidden] {
    display: none;
  }

  .pc-mobile-panel {
    background: #fff;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: grid;
    gap: 12px;
    min-width: 220px;
    padding: 16px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 300;
  }

  .pc-mobile-panel a {
    color: #000;
    display: block;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }

  .pc-mobile-panel a:hover {
    color: #005199;
  }
}
