.pt-site-nav { position: relative; z-index: 20; background: var(--pt-surface); border-bottom: 1px solid #ffffff12; }
.pt-site-nav-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.pt-site-brand { display: inline-flex; width: fit-content; gap: 10px; align-items: center; color: var(--pt-text); font-weight: 800; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.pt-site-brand .pt-logo { width: 38px; height: 38px; flex-shrink: 0; }
.pt-site-links, .pt-site-account { display: flex; align-items: center; gap: 5px; }
.pt-site-account { justify-self: end; gap: 8px; }
.pt-site-link { padding: 8px 12px; border-radius: 8px; color: var(--pt-muted); font-size: .9rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.pt-site-link:hover, .pt-site-link[aria-current=page] { color: var(--pt-text); background: var(--pt-panel); }
.pt-site-link[aria-current=page], .pt-site-menu-toggle.is-active { box-shadow: inset 0 -2px var(--pt-teal); }
.pt-site-account .btn { border-radius: 9px; }
.pt-site-user { max-width: 210px; }
.pt-site-user-name { min-width: 0; }
.pt-public-hero { padding: clamp(35px, 7vw, 78px) 0 clamp(26px, 4vw, 48px); background: radial-gradient(ellipse at 18% 0%, #ffc7f013, transparent 53%), radial-gradient(ellipse at 85% 0%, #5eead414, transparent 54%); border-bottom: 1px solid var(--pt-panel); }
.pt-public-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--pt-teal); font-size: .8rem; font-weight: 750; margin-bottom: 12px; }
.pt-public-title { font-size: clamp(2.1rem, 5.8vw, 4.1rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.04; overflow-wrap: anywhere; }
.pt-public-title em { color: var(--pt-pink); font-style: normal; }
.pt-public-lead { color: var(--pt-muted); line-height: 1.65; max-width: 62ch; margin: 14px 0 0; overflow-wrap: anywhere; }
.pt-public-body { padding-block: 28px 48px; }
.pt-public-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pt-public-actions .btn { border-radius: 9px; padding: 9px 14px; }
.pt-public-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.pt-public-card { min-width: 0; padding: 20px; border: 1px solid var(--pt-panel); border-radius: 14px; background: var(--pt-surface); overflow-wrap: anywhere; }
.pt-public-card-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 9px; background: #5eead419; color: var(--pt-teal); }
.pt-public-card:nth-child(2n) .pt-public-card-icon { background: #ffc7f01c; color: var(--pt-pink); }
.pt-public-card h2, .pt-public-card h3, .pt-public-card h4 { font-size: 1.07rem; font-weight: 750; }
.pt-public-card p { color: var(--pt-muted); font-size: .9rem; }
.pt-page-embedded .pt-site-nav { display: none; }
@media (max-width: 767px) {
    .pt-site-nav-inner { grid-template-columns: 1fr auto; gap: 7px; padding-block: 10px; }
    .pt-site-links { grid-column: 1 / -1; grid-row: 2; }
    .pt-site-account { grid-column: 2; grid-row: 1; }
    .pt-site-link { padding: 7px 9px; }
    .pt-site-user-name { display: none; }
    .pt-public-cards { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
    .pt-site-brand { font-size: .88rem; gap: 6px; }
    .pt-site-brand .pt-logo { width: 30px; height: 30px; }
    .pt-site-account { gap: 3px; }
    .pt-site-account .pt-site-link { padding-inline: 6px; }
}

/* Give the page links their own row when the full navigation would crowd the account controls. */
@media (max-width: 991px) {
    .pt-site-nav-inner { grid-template-columns: 1fr auto; gap: 7px; padding-block: 10px; }
    .pt-site-links { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
    .pt-site-account { grid-column: 2; grid-row: 1; }
}

.pt-site-brand > img { display: block; width: 156px; max-width: 100%; height: auto; }
@media (max-width: 365px) { .pt-site-brand > img { width: 116px; } }

.pt-site-menu-toggle { display: block; border: 0; background: transparent; }
.pt-site-menu-toggle.show, .pt-site-menu-toggle.is-active { color: var(--pt-text); background: var(--pt-panel); }
.pt-site-links .dropdown-menu { background: var(--pt-surface); border-color: var(--pt-panel); box-shadow: 0 12px 32px #0006; }
.pt-site-links .dropdown-item.active { color: var(--pt-teal); background: var(--pt-panel); }
@media (max-width: 365px) {
    .pt-site-links { gap: 2px; }
    .pt-site-links .pt-site-link { padding-inline: 5px; font-size: .84rem; }
}
