

:root {
  --pw-navy: #004f9f;
  --pw-navy-d: #003a76;
  --pw-blue: #007bff;
  --pw-light: #7db9f5;
  --pw-link: #0a58ca;
  --pw-red: #dc3545;
  --pw-gold: #ffc107;
  --pw-text: #2b2f36;
  --pw-muted: #667085;
  --pw-rule: #e2e8f0;
  --pw-soft: #eef5fe;
  --pw-soft2: #f6f9fc;
  --pw-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--pw-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--pw-text);
  background: var(--pw-soft2);
  padding-bottom: 80px;
}

.pw-topbar { background: var(--pw-navy); color: #fff; }

.pw-topbar__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.pw-topbar a.pw-brandlink { display: inline-flex; align-items: center; text-decoration: none; }

.pw-logo { height: 54px; width: auto; border: 0; display: block; }

.headlinep2 {
  margin: 0;
  color: #fff;
  font-family: var(--pw-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.pw-menu { width: 100%; margin: 0; background: var(--pw-navy-d); }

.pw-menu__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
  border-bottom: 3px solid var(--pw-gold);
}

.pw-menu__group { position: relative; flex: 0 0 auto; }
.pw-menu__group + .pw-menu__group { border-left: 1px solid rgba(255, 255, 255, 0.14); }

.pw-menu__label {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0 18px;
  height: 42px;
  line-height: 42px;
  color: #fff;
  font-family: var(--pw-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.pw-menu__label::-webkit-details-marker { display: none; }
.pw-menu__label::marker { content: ""; }
.pw-menu__label::after { content: "\25BE"; display: inline-block; margin-left: 7px; font-size: 11px; line-height: 1; vertical-align: middle; }

.pw-menu__label:hover,
.pw-menu__label:focus,
.pw-menu__group[open] > .pw-menu__label { background: var(--pw-blue); color: #fff; }
.pw-menu__group[open] > .pw-menu__label::after { content: "\25B4"; }

.pw-menu__drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 240px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #cfd8de;
  border-top: 3px solid var(--pw-navy);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.pw-menu__group:last-child .pw-menu__drop { left: auto; right: 0; }
.pw-menu__drop ul { list-style: none; margin: 0; padding: 0; }
.pw-menu__drop li { margin: 0; padding: 0; }

.pw-menu__drop a {
  display: block;
  padding: 8px 18px;
  border-left: 3px solid transparent;
  color: var(--pw-text);
  font: 14px/1.35 var(--pw-font);
  text-decoration: none;
  white-space: nowrap;
}
.pw-menu__drop a:hover,
.pw-menu__drop a:focus { background: var(--pw-soft); border-left-color: var(--pw-blue); color: var(--pw-link); text-decoration: none; }

.pw-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.pw-breadcrumb { margin: 14px 0 6px; font: 13px var(--pw-font); }
.pw-breadcrumb__list { list-style: none; margin: 0; padding: 0; }
.pw-breadcrumb__list li { display: inline; }
.pw-breadcrumb__list li + li::before { content: "\203A"; margin: 0 7px; color: #9aa4b2; }
.pw-breadcrumb__list a { color: var(--pw-link); text-decoration: none; }
.pw-breadcrumb__list a:hover { text-decoration: underline; }
.pw-breadcrumb__list li[aria-current] { color: var(--pw-muted); }

.pw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding: 6px 0 34px;
}

.pw-article {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--pw-rule);
  border-radius: 12px;
  padding: 26px 30px 34px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pw-text);
}

.pw-title { margin: 4px 0 16px; font: 700 33px/1.22 var(--pw-font); color: var(--pw-navy); letter-spacing: -0.01em; }

.pw-summary { margin: 0 0 24px; padding: 16px 18px 16px 20px; background: var(--pw-soft); border-radius: 10px; border-left: 5px solid var(--pw-gold); font-size: 16px; line-height: 1.65; }
.pw-summary p { margin: 0 0 10px; padding: 0; }
.pw-summary p:last-child { margin-bottom: 0; }

.pw-content p { margin: 0 0 15px; padding: 0; }

.pw-content h2 {
  margin: 34px 0 14px;
  padding: 6px 0 6px 14px;
  border-left: 5px solid var(--pw-navy);
  font: 700 24px/1.3 var(--pw-font);
  color: var(--pw-navy);
  scroll-margin-top: 12px;
}
.pw-content h3 { margin: 24px 0 10px; font: 700 19px/1.3 var(--pw-font); color: var(--pw-blue); }
.pw-content h4 { margin: 18px 0 8px; font: 700 16px/1.3 var(--pw-font); color: var(--pw-navy); }

.pw-content ul, .pw-content ol { margin: 0 0 15px; padding: 0 0 0 22px; }
.pw-content ul { list-style: disc; }
.pw-content ol { list-style: decimal; }
.pw-content li { margin: 0 0 7px; padding: 0; }
.pw-content a { color: var(--pw-link); }
.pw-content strong, .pw-content b { color: #101828; }
.pw-content img { max-width: 100%; height: auto; margin: 8px 0; }
.pw-content blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 4px solid var(--pw-gold); background: #fff9e6; border-radius: 0 8px 8px 0; }
.pw-content hr { border: 0; border-top: 1px solid var(--pw-rule); margin: 24px 0; }

.pw-content table { border-collapse: collapse; width: 100%; margin: 4px 0 18px; display: block; overflow-x: auto; font-size: 15px; }
.pw-content th, .pw-content td { border: 1px solid var(--pw-rule); padding: 9px 13px; text-align: left; vertical-align: top; }
.pw-content thead th, .pw-content tr:first-child th { background: var(--pw-navy); color: #fff; font-weight: 600; border-color: var(--pw-navy); }
.pw-content tbody tr:nth-child(even) td { background: var(--pw-soft2); }

.pw-cell { display: block; color: inherit; text-decoration: none; }
.pw-cell:hover { text-decoration: none; }
.pw-content tr:hover td { background: var(--pw-soft); cursor: pointer; }

.pw-fig { margin: 20px 0 22px; text-align: center; }
.pw-fig img { max-width: min(100%, 460px); height: auto; border: 1px solid var(--pw-rule); border-radius: 8px; }

.pw-aside { min-width: 0; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 14px; }

.pw-card { background: #fff; border: 1px solid var(--pw-rule); border-radius: 12px; padding: 16px 18px; }
.pw-card__title { margin: 0 0 12px; font: 700 15px/1.3 var(--pw-font); color: var(--pw-navy); text-transform: uppercase; letter-spacing: 0.04em; }

.pw-card--cta { background: linear-gradient(180deg, #063e7d 0%, var(--pw-navy) 100%); border-color: var(--pw-navy-d); color: #fff; text-align: center; }
.pw-card--cta .pw-card__title { color: #cfe0f5; }
.pw-card--cta .pw-card__note { margin: 12px 0 0; font-size: 12.5px; color: #bcd3f0; }

.pw-cta { margin: 0; text-align: center; }
.pw-cta a {
  display: block;
  padding: 15px 20px;
  background: var(--pw-red);
  color: #fff;
  font: 700 18px/1.2 var(--pw-font);
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 3px 0 #a71d2a;
}
.pw-cta a:hover, .pw-cta a:focus { background: #e14b57; color: #fff; text-decoration: none; }
.pw-cta a:active { box-shadow: none; transform: translateY(2px); }

.pw-facts__list { margin: 0; padding: 0; list-style: none; }
.pw-facts__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--pw-rule); font-size: 14px; }
.pw-facts__list li:last-child { border-bottom: 0; }
.pw-facts__k { color: var(--pw-muted); }
.pw-facts__v { color: #101828; font-weight: 600; text-align: right; }

.pw-toc[hidden] { display: none; }
.pw-toc__list { margin: 0; padding: 0; list-style: none; }
.pw-toc__list li { margin: 0 0 2px; }
.pw-toc__list a { display: block; padding: 6px 8px; border-radius: 6px; color: var(--pw-link); font-size: 13.5px; text-decoration: none; line-height: 1.4; }
.pw-toc__list a:hover { background: var(--pw-soft); }

.pw-footer { background: var(--pw-navy); color: #cfe0f5; padding: 24px 20px 28px; font: 14px var(--pw-font); }
.pw-footer__inner { max-width: 1160px; margin: 0 auto; }
.pw-footer a { color: #fff; text-decoration: none; }
.pw-footer a:hover { text-decoration: underline; }
.pw-footer p { margin: 0 0 6px; padding: 0; }
.pw-footer__copy { margin-top: 14px; color: #9fc0e8; font-size: 13px; }

.pw-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; background: #17181c; color: #fff; text-decoration: none;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.35);
}
.pw-sticky:hover, .pw-sticky:focus { color: #fff; text-decoration: none; }
.pw-sticky__icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: #000; display: flex; align-items: center; justify-content: center; }
.pw-sticky__text { flex: 1 1 auto; line-height: 1.25; min-width: 0; }
.pw-sticky__title { display: block; font: 700 15px var(--pw-font); color: #fff; }
.pw-sticky__sub { display: block; font: 13px var(--pw-font); color: #9aa0a6; }
.pw-sticky__btn { flex: 0 0 auto; background: #e8113c; color: #fff; font: 700 15px var(--pw-font); padding: 11px 22px; border-radius: 22px; white-space: nowrap; }
.pw-sticky:hover .pw-sticky__btn { background: #ff2b52; }

@media (max-width: 860px) {
  .pw-topbar__inner { padding: 10px 15px; gap: 12px; }
  .pw-logo { height: 44px; }
  .headlinep2 { font-size: 15px; }

  .pw-menu__bar { display: block; border-bottom-width: 2px; }
  .pw-menu__group { position: static; }
  .pw-menu__group + .pw-menu__group { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .pw-menu__label { display: flex; align-items: center; justify-content: space-between; height: auto; line-height: 1.25; padding: 12px 15px; font-size: 13px; white-space: normal; }
  .pw-menu__label::after { margin-left: 10px; font-size: 12px; }
  .pw-menu__drop { position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; }
  .pw-menu__drop a { padding: 12px 15px 12px 26px; font-size: 14px; white-space: normal; border-bottom: 1px solid #eef1f3; }
  .pw-menu__drop li:last-child a { border-bottom: 0; }

  .pw-wrap { padding: 0 14px; }
  .pw-layout { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; }
  .pw-aside { position: static; order: -1; }              
  .pw-toc { display: none; }                               
  .pw-article { padding: 18px 16px 24px; border-radius: 10px; }
  .pw-title { font-size: 26px; }
  .pw-content h2 { font-size: 21px; margin: 26px 0 12px; }
  .pw-content h3 { font-size: 18px; }

  .pw-sticky { gap: 9px; padding: 8px 10px; }
  .pw-sticky__icon { width: 36px; height: 36px; }
  .pw-sticky__title { font-size: 14px; }
  .pw-sticky__sub { font-size: 12px; }
  .pw-sticky__btn { font-size: 14px; padding: 10px 15px; }
  body { padding-bottom: 72px; }
}
