:root {
  --pk-navy: #062c5c;
  --pk-navy-dark: #041f43;
  --pk-red: #b5121b;
  --pk-red-dark: #941019;
  --pk-white: #ffffff;
  --pk-text: #102a4c;
  --pk-muted: #64748b;
  --pk-border: rgba(6, 44, 92, .10);
  --pk-container: 1480px;
  --pk-header-height: 92px;
}

.pk-skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 10001;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--pk-navy);
  color: #fff !important;
  text-decoration: none !important;
}
.pk-skip-link:focus { top: 12px; }

.pk-header {
  position: relative;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--pk-border);
  transition: box-shadow .22s ease, background .22s ease;
}

.pk-header__inner {
  width: min(calc(100% - 48px), var(--pk-container));
  min-height: var(--pk-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.pk-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: inherit !important;
  text-decoration: none !important;
}

.pk-brand__logo {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 2px;
}

.pk-brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 165px;
}

.pk-brand__name {
  color: var(--pk-navy);
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.35px;
}

.pk-brand__tagline {
  margin-top: 7px;
  color: var(--pk-red);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  line-height: 1;
  font-style: italic;
}

.pk-navigation {
  margin-left: auto;
}

.pk-menu,
.pk-submenu,
.pk-mobile-menu,
.pk-mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk-menu {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 1.55vw, 29px);
}

.pk-menu > li {
  position: relative;
  margin: 0;
}

.pk-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: var(--pk-header-height);
  padding: 1px 0 0;
  color: var(--pk-text) !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color .18s ease;
}

.pk-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  border-radius: 5px;
  background: var(--pk-red);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.pk-menu > li > a:hover,
.pk-menu > li.is-current > a,
.pk-menu > li:focus-within > a {
  color: var(--pk-red) !important;
}

.pk-menu > li > a:hover::after,
.pk-menu > li.is-current > a::after,
.pk-menu > li:focus-within > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.pk-chevron {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.pk-menu-has-children:hover .pk-chevron,
.pk-menu-has-children:focus-within .pk-chevron { transform: rotate(180deg); }

.pk-submenu {
  position: absolute;
  top: calc(100% - 10px);
  left: -20px;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--pk-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(6, 44, 92, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.pk-menu-has-children:hover > .pk-submenu,
.pk-menu-has-children:focus-within > .pk-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.pk-submenu a {
  display: block;
  padding: 11px 13px;
  border-radius: 9px;
  color: var(--pk-text) !important;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
  text-decoration: none !important;
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}

.pk-submenu a:hover,
.pk-submenu a:focus {
  padding-left: 16px;
  background: #f5f7fa;
  color: var(--pk-red) !important;
}

.pk-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}


.pk-member-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--pk-navy);
  border-radius: 11px;
  background: var(--pk-navy);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(6, 43, 87, .16);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .25px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pk-member-login:hover,
.pk-member-login:focus {
  background: #0b4d87;
  border-color: #0b4d87;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(6, 43, 87, .22);
}

.pk-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid var(--pk-red);
  border-radius: 11px;
  background: var(--pk-red);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(181, 18, 27, .17);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pk-donate:hover,
.pk-donate:focus {
  background: var(--pk-red-dark);
  border-color: var(--pk-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(181, 18, 27, .22);
}

.pk-heart {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pk-mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.pk-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 3px;
  background: var(--pk-navy);
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}
.pk-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pk-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.pk-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pk-mobile-navigation {
  border-top: 1px solid var(--pk-border);
  background: #fff;
}
.pk-mobile-navigation[hidden] { display: none !important; }
.pk-mobile-navigation__inner {
  width: min(calc(100% - 36px), 720px);
  margin: 0 auto;
  padding: 10px 0 22px;
}

.pk-mobile-menu > li > a,
.pk-mobile-parent-row > a {
  display: block;
  padding: 14px 3px;
  border-bottom: 1px solid #edf1f5;
  color: var(--pk-navy) !important;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 750;
  text-decoration: none !important;
}

.pk-mobile-parent-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edf1f5;
}
.pk-mobile-parent-row > a {
  flex: 1;
  border-bottom: 0;
}
.pk-submenu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--pk-navy);
  cursor: pointer;
}
.pk-submenu-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.pk-submenu-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.pk-mobile-submenu[hidden] { display: none !important; }
.pk-mobile-submenu { padding: 7px 0 7px 16px; }
.pk-mobile-submenu a {
  display: block;
  padding: 9px 4px;
  color: var(--pk-text) !important;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  text-decoration: none !important;
}

.pk-mobile-member-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 17px;
  min-height: 46px;
  border-radius: 10px;
  background: var(--pk-navy);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none !important;
}

.pk-mobile-member-login + .pk-mobile-donate {
  margin-top: 10px;
}

.pk-mobile-donate {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 17px;
  min-height: 46px;
  border-radius: 10px;
  background: var(--pk-red);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none !important;
}

.pk-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(6, 44, 92, .10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pk-header-spacer { display: none; }
body.pk-has-sticky-header .pk-header-spacer { display: block; }
body.admin-bar .pk-header.is-sticky { top: 32px; }

@media (max-width: 1280px) {
  .pk-header__inner { width: min(calc(100% - 34px), var(--pk-container)); gap: 22px; }
  .pk-brand__copy { min-width: 145px; }
  .pk-brand__name { font-size: 19px; }
  .pk-brand__logo { width: 68px; height: 68px; }
  .pk-menu { gap: 18px; }
  .pk-menu > li > a { font-size: 13px; }
  .pk-donate { padding: 0 15px; }
}

@media (max-width: 1080px) {
  .pk-member-login { display: none; }
  :root { --pk-header-height: 78px; }
  .pk-navigation { display: none; }
  .pk-header__inner { width: calc(100% - 30px); }
  .pk-brand__logo { width: 61px; height: 61px; }
  .pk-brand__name { font-size: 19px; }
  .pk-brand__tagline { font-size: 12px; margin-top: 6px; }
  .pk-header__actions { margin-left: auto; }
  .pk-mobile-toggle { display: block; }
}

@media (max-width: 782px) {
  body.admin-bar .pk-header.is-sticky { top: 46px; }
}

@media (max-width: 560px) {
  .pk-header__inner { width: calc(100% - 22px); gap: 8px; }
  .pk-brand { gap: 8px; }
  .pk-brand__logo { width: 54px; height: 54px; }
  .pk-brand__copy { min-width: 0; }
  .pk-brand__name { font-size: 16px; }
  .pk-brand__tagline { display: none; }
  .pk-donate { min-height: 40px; padding: 0 11px; font-size: 11px; border-radius: 9px; }
  .pk-heart { width: 16px; height: 16px; }
  .pk-mobile-toggle { width: 40px; height: 40px; padding: 8px; }
}

@media (max-width: 390px) {
  .pk-brand__name { display: none; }
  .pk-brand__logo { width: 58px; height: 58px; }
}
