
:root {
  --gold: #C5A059;
  --navy: #0B3954;
  --iron: #1A1C1E;
  --bg: #FCFCFC;
  --muted: #6B7280;
  --border: #E5E7EB;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--iron);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--iron);
  margin: 0;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

.pb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .pb-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .pb-container { padding: 0 2rem; } }

/* Navbar */
.pb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--navy);
}
.pb-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
@media (min-width: 640px) { .pb-nav-inner { height: 80px; } }
.pb-nav-logo img { height: 48px; width: auto; }
@media (min-width: 640px) { .pb-nav-logo img { height: 56px; } }

.pb-nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .pb-nav-links { display: flex; } }
.pb-nav-links > a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.pb-nav-links > a:hover { color: #fff; }
.pb-nav-active { color: #fff !important; }

.pb-btn-outline {
  border: 1px solid #fff; color: #fff !important;
  padding: 10px 16px; border-radius: 6px; font-weight: 600; font-size: 14px;
  transition: background 0.2s;
}
.pb-btn-outline:hover { background: #fff; color: var(--navy) !important; }

.pb-btn-primary {
  background: var(--gold); color: var(--iron) !important;
  padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px;
  transition: opacity 0.2s;
}
.pb-btn-primary:hover { opacity: 0.9; }

.pb-btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--iron) !important;
  padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 16px;
  transition: opacity 0.2s;
}
.pb-btn-gold:hover { opacity: 0.9; }

.pb-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important;
  padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 16px;
  transition: background 0.2s;
}
.pb-btn-ghost:hover { background: rgba(255,255,255,0.2); }

.pb-mobile-toggle {
  display: block; background: none; border: none; color: #fff;
  padding: 8px; margin-right: -8px; cursor: pointer;
}
@media (min-width: 768px) { .pb-mobile-toggle { display: none; } }
.pb-mobile-menu {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #fff; padding: 8px 16px 16px;
}
.pb-mobile-menu.open { display: block; }
@media (min-width: 768px) { .pb-mobile-menu { display: none !important; } }
.pb-mobile-menu a {
  display: block; padding: 12px 0;
  font-size: 16px; font-weight: 500;
  color: rgba(26,28,30,0.8);
  border-bottom: 1px solid var(--border);
}
.pb-mobile-menu a:last-child { border: none; }
.pb-mobile-call {
  border: 1px solid var(--navy);
  color: var(--navy) !important;
  padding: 12px 20px !important; border-radius: 6px;
  margin-top: 8px; font-weight: 600;
  text-align: center;
}

/* Page header */
.pb-page-header {
  background: var(--navy); color: #fff;
  padding: 112px 0 48px;
}
@media (min-width: 640px) { .pb-page-header { padding: 128px 0 64px; } }
.pb-eyebrow {
  font-size: 14px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin: 0 0 12px;
}
.pb-eyebrow a { color: var(--gold); }
.pb-page-header h1 {
  font-family: 'Barlow', sans-serif; font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #fff;
}
@media (min-width: 640px) { .pb-page-header h1 { font-size: 36px; } }
@media (min-width: 1024px) { .pb-page-header h1 { font-size: 44px; } }
.pb-page-lede {
  color: rgba(255,255,255,0.7); font-size: 16px;
  max-width: 640px; margin: 0;
}
@media (min-width: 640px) { .pb-page-lede { font-size: 18px; } }

/* Listing */
.pb-listing { padding: 48px 0 64px; }
@media (min-width: 640px) { .pb-listing { padding: 64px 0 80px; } }

.pb-card-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pb-card-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .pb-card-grid { grid-template-columns: repeat(3, 1fr); } }

.pb-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.pb-card-img-wrap {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: #F3F4F6;
}
.pb-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.pb-card:hover .pb-card-img-wrap img { transform: scale(1.04); }
.pb-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pb-card-date { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.pb-card-title {
  font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: 20px; line-height: 1.3; margin: 0 0 12px;
}
.pb-card-title a { color: var(--iron); }
.pb-card-title a:hover { color: var(--navy); }
.pb-card-excerpt {
  color: rgba(26,28,30,0.7); font-size: 15px;
  margin: 0 0 16px; flex: 1;
}
.pb-card-link {
  font-size: 14px; font-weight: 600; color: var(--navy);
  align-self: flex-start;
}
.pb-card-link:hover { color: var(--gold); }
.pb-empty { color: var(--muted); font-style: italic; }

/* Post page */
.pb-post-header {
  background: var(--navy); color: #fff;
  padding: 112px 0 40px;
}
@media (min-width: 640px) { .pb-post-header { padding: 128px 0 56px; } }
.pb-post-narrow { max-width: 760px !important; }
.pb-post-header h1 {
  font-family: 'Barlow', sans-serif; font-weight: 900;
  font-size: 28px; line-height: 1.15;
  color: #fff; margin: 0 0 16px;
}
@media (min-width: 640px) { .pb-post-header h1 { font-size: 36px; } }
@media (min-width: 1024px) { .pb-post-header h1 { font-size: 44px; } }
.pb-post-meta {
  font-size: 14px; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 8px;
}
.pb-meta-sep { color: rgba(255,255,255,0.4); }

.pb-post-hero-img {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1rem;
}
.pb-post-hero-img img {
  width: 100%; max-height: 540px; object-fit: cover;
  border-radius: 16px;
  margin-top: -40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Post content */
.pb-post-content {
  padding: 48px 0 32px;
  font-size: 17px; line-height: 1.75;
  color: rgba(26,28,30,0.88);
}
.pb-post-content > *:first-child { margin-top: 0; }
.pb-post-content h2 {
  font-size: 28px; margin: 40px 0 16px;
  color: var(--iron);
}
.pb-post-content h3 {
  font-size: 22px; margin: 32px 0 12px;
  color: var(--iron);
}
.pb-post-content h4 {
  font-size: 18px; margin: 24px 0 8px;
}
.pb-post-content p { margin: 0 0 20px; }
.pb-post-content ul, .pb-post-content ol {
  margin: 0 0 20px; padding-left: 1.5rem;
}
.pb-post-content li { margin: 8px 0; }
.pb-post-content a {
  color: var(--navy); text-decoration: underline;
  text-underline-offset: 3px;
}
.pb-post-content a:hover { color: var(--gold); }
.pb-post-content strong { font-weight: 700; color: var(--iron); }
.pb-post-content blockquote {
  border-left: 4px solid var(--gold);
  margin: 24px 0; padding: 8px 20px;
  color: rgba(26,28,30,0.75); font-style: italic;
  background: rgba(197,160,89,0.05);
  border-radius: 0 8px 8px 0;
}
.pb-post-content img {
  border-radius: 12px; margin: 24px 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.pb-post-content code {
  background: #F3F4F6; padding: 2px 6px; border-radius: 4px;
  font-size: 0.9em; font-family: 'Menlo', 'Monaco', monospace;
}
.pb-post-content pre {
  background: #F3F4F6; padding: 16px; border-radius: 8px;
  overflow-x: auto; font-size: 14px;
}
.pb-post-content pre code { background: transparent; padding: 0; }
.pb-post-content hr {
  border: none; border-top: 1px solid var(--border);
  margin: 32px 0;
}

.pb-post-cta {
  background: linear-gradient(135deg, rgba(11,57,84,0.04), rgba(197,160,89,0.08));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  margin: 32px 0 64px;
  text-align: center;
}
.pb-post-cta h3 {
  font-family: 'Barlow', sans-serif; font-weight: 800;
  font-size: 22px; margin: 0 0 8px;
}
.pb-post-cta p {
  margin: 0 0 20px; color: rgba(26,28,30,0.7);
}

/* Related */
.pb-related {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
}
.pb-related h2 {
  font-family: 'Barlow', sans-serif; font-weight: 800;
  font-size: 24px; margin: 0 0 24px;
}

/* CTA section */
.pb-cta {
  background: var(--navy); color: #fff;
  padding: 56px 0; text-align: center;
}
@media (min-width: 640px) { .pb-cta { padding: 80px 0; } }
.pb-cta h2 {
  font-family: 'Barlow', sans-serif; font-weight: 900;
  font-size: 26px; color: #fff;
  margin: 0 0 12px;
}
@media (min-width: 640px) { .pb-cta h2 { font-size: 32px; } }
.pb-cta p {
  color: rgba(255,255,255,0.7); margin: 0 0 32px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.pb-cta-buttons {
  display: flex; flex-direction: column; gap: 16px;
  justify-content: center; align-items: center;
}
@media (min-width: 640px) {
  .pb-cta-buttons { flex-direction: row; }
}

/* Footer */
.pb-footer {
  background: var(--iron); color: rgba(255,255,255,0.7);
  padding: 56px 0 80px;
}
.pb-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .pb-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pb-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.pb-footer h4 {
  font-family: 'Barlow', sans-serif; font-weight: 700;
  color: #fff; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin: 0 0 16px;
}
.pb-footer-grid > div > a {
  display: block;
  font-size: 14px; color: rgba(255,255,255,0.6);
  padding: 4px 0;
}
.pb-footer-grid > div > a:hover { color: var(--gold); }
.pb-footer-grid > div > p {
  font-size: 14px; margin: 4px 0;
  color: rgba(255,255,255,0.6);
}
.pb-footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.pb-footer-tagline {
  font-size: 14px; color: rgba(255,255,255,0.5);
  max-width: 280px; line-height: 1.6;
  margin: 0;
}
.pb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.pb-footer-legal {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px 16px;
  margin-bottom: 16px;
}
.pb-footer-legal a {
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.pb-footer-legal a:hover { color: var(--gold); }
.pb-footer-copy {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
}
@media (min-width: 640px) {
  .pb-footer-copy { flex-direction: row; justify-content: space-between; }
}
.pb-footer-copy p {
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Not found */
.pb-notfound {
  text-align: center;
  padding: 160px 0 80px;
}
.pb-notfound h1 {
  font-family: 'Barlow', sans-serif; font-weight: 900;
  font-size: 32px; margin: 0 0 16px;
}
.pb-notfound p {
  color: var(--muted); margin: 0 0 24px;
}
