.pw-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* Hero */
.pw-hero {
  padding: 46px 0 36px;
  background: #1c375b;
  border-bottom: 4px solid #6f8197;
}

.pw-hero-inner {
  display: grid;
  gap: 30px;
}

.pw-eyebrow {
  margin: 0 0 10px;
  color: #6f8197;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pw-hero h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pw-hero-summary {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
}

.pw-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pw-stat {
  display: grid;
  gap: 3px;
}

.pw-stat strong {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.pw-stat span {
  color: #6f8197;
  font-size: 13px;
}

/* Industry quick nav */
.pw-industry-nav {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pw-industry-nav-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pw-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pw-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.pw-industry-tag:hover,
.pw-industry-tag:focus-visible {
  background: #6f8197;
  border-color: #6f8197;
  outline: none;
}

.pw-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 900;
}

/* Shared section styles */
.pw-section {
  padding: 52px 0;
}

.pw-section + .pw-section {
  padding-top: 0;
}

.pw-section-head {
  margin-bottom: 28px;
}

.pw-section-head h2 {
  margin: 0 0 8px;
  color: #1c375b;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}

.pw-section-head p {
  margin: 0;
  color: #6f8197;
  font-size: 15px;
}

/* Recent pathways */
.pw-recent {
  background: #f5f7fa;
  border-bottom: 1px solid rgba(111, 129, 151, 0.24);
}

.pw-recent-grid {
  display: grid;
  gap: 18px;
}

.pw-recent-card {
  display: grid;
  background: #ffffff;
  border: 1px solid rgba(111, 129, 151, 0.28);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pw-recent-card:hover,
.pw-recent-card:focus-visible {
  border-color: #1c375b;
  box-shadow: 0 8px 28px rgba(28, 55, 91, 0.12);
  outline: none;
}

.pw-recent-img {
  height: 160px;
  overflow: hidden;
  background: #1c375b;
}

.pw-recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pw-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c375b;
}

.pw-img-placeholder span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.pw-recent-body {
  padding: 18px;
}

/* Industry groups */
.pw-all {
  background: #ffffff;
}

.pw-industry-group {
  margin-bottom: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(111, 129, 151, 0.22);
  scroll-margin-top: 100px;
}

.pw-industry-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pw-industry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid #1c375b;
}

.pw-industry-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pw-industry-title {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
}

.pw-industry-title a {
  color: #1c375b;
  text-decoration: none;
}

.pw-industry-title a:hover {
  color: #6f8197;
  text-decoration: underline;
}

.pw-industry-count {
  padding: 4px 10px;
  color: #ffffff;
  background: #6f8197;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Pathway cards */
.pw-pathway-grid {
  display: grid;
  gap: 16px;
}

.pw-pathway-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  background: #ffffff;
  border: 1px solid rgba(111, 129, 151, 0.28);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.pw-pathway-card:hover,
.pw-pathway-card:focus-visible {
  border-color: #1c375b;
  transform: translateX(3px);
  outline: none;
}

.pw-pathway-img {
  width: 88px;
  min-height: 88px;
  overflow: hidden;
  background: #1c375b;
  flex-shrink: 0;
}

.pw-pathway-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pw-pathway-body {
  padding: 14px 16px;
}

.pw-card-industry {
  margin: 0 0 4px;
  color: #6f8197;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pw-pathway-body h3,
.pw-recent-body h3 {
  margin: 0 0 6px;
  color: #1c375b;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.pw-card-excerpt {
  margin: 0 0 8px;
  color: #6f8197;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pw-card-link {
  color: #1c375b;
  font-size: 13px;
  font-weight: 800;
}

.pw-pathway-card:hover .pw-card-link,
.pw-recent-card:hover .pw-card-link {
  color: #6f8197;
}

/* Empty state */
.pw-empty {
  padding: 48px 0;
  color: #6f8197;
  text-align: center;
}

/* CTA */
.pw-cta {
  padding: 42px 0;
  background: #f5f7fa;
  border-top: 1px solid rgba(111, 129, 151, 0.24);
}

.pw-cta-inner {
  padding: 34px;
  background: #1c375b;
  text-align: center;
}

.pw-cta-inner h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(20px, 3vw, 28px);
}

.pw-cta-inner p {
  max-width: 580px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

.pw-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pw-btn-primary,
.pw-btn-secondary {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #ffffff;
}

.pw-btn-primary {
  color: #1c375b;
  background: #ffffff;
}

.pw-btn-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.pw-btn-primary:hover {
  background: #6f8197;
  border-color: #6f8197;
  color: #ffffff;
}

.pw-btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .pw-recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pw-pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .pw-container {
    width: min(1180px, calc(100% - 48px));
  }

  .pw-hero-inner {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }

  .pw-recent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pw-pathway-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pw-pathway-card {
    grid-template-columns: 1fr;
  }

  .pw-pathway-img {
    width: 100%;
    height: 140px;
  }
}