/* PMA shared styles extracted from _pages/pma/pma.html for reuse across Tailwind layout pages */

/* Keyframes */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ===================== */
/* Custom PMA Navigation */
/* ===================== */
.pnav {
  position: relative;
  z-index: 300;
  background: #FFFFFF;
}

.pnav-container {
  max-width: none;
  margin: 0 auto;
  height: 56px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.pnav-logo img {
  width: auto;
  height: auto;
  display: block;
}

.pnav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
  align-items: center;
}

.pnav-item {
  position: relative;
}

.pnav-button {
  background: transparent;
  border: 0;
  font: 500 14px/20px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0A0D12;
  padding: 8px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pnav-link {
  background: transparent;
  border: 0;
  font: 500 14px/20px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0A0D12;
  padding: 8px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.pnav-link:link,
.pnav-link:visited {
  color: #0A0D12;
  text-decoration: none;
}

.pnav-button:hover {
  background: #F5F5F5;
  color: #0A0D12;
}

.pnav-link:hover {
  background: #F5F5F5;
  color: #0A0D12;
}

.pnav-button[aria-expanded="true"] {
  box-shadow: 0 0 0 3px #1B63FF;
}

.pnav-caret {
  width: 4px;
  height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  display: inline-block;
  vertical-align: middle;
  transform: rotate(45deg) translateY(1px);
  transition: transform .15s ease;
  margin-left: 6px;
  margin-top: -2px;
}

.pnav-button[aria-expanded="true"] .pnav-caret {
  transform: rotate(-135deg) translateY(0);
}

@media (max-width: 768px) {
  .pnav-container {
    max-width: none;
    margin: 0 auto;
    height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 24px;
  }
}

.pnav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  padding: 16px 16px;
  min-width: 280px;
  width: max-content;
  display: block;
}

.pnav-submenu[hidden] {
  display: none;
}

.pnav-submenu-link {
  display: block;
  padding: 8px 0;
  font: 400 14px/16px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0A0D12;
  text-decoration: none;
}

.pnav-submenu-link:hover {
  text-decoration: underline;
}

/* Megamenu grid */
.pnav-mega {
  width: clamp(720px, 70vw, 1040px);
}

.pnav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .pnav-list {
    display: flex;
  }

  .pnav-right-link {
    display: inline-flex;
  }

  .pnav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.pnav-col {
  width: 100%;
}

.pnav-right {
  margin-left: auto;
}

/* Hamburger button (mobile only) */
.pnav-hamburger {
  display: none;
  margin-left: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.pnav-hamburger:focus {
  outline: none;
  box-shadow: 0 0 0 3px #1B63FF;
}

.pnav-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #0A0D12;
  border-radius: 0;
}

.pnav-hamburger-bar+.pnav-hamburger-bar {
  margin-top: 0.5px;
}

/* Mobile panel */
.pnav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 400;
  display: grid;
  place-items: start end;
}

.pnav-mobile[hidden] {
  display: none;
}

.pnav-mobile-list,
.pnav-mobile-subpanel {
  list-style: none;
  margin: 0;
}

.pnav-mobile-panel {
  background: #fff;
  width: min(90vw, 360px);
  max-width: 90vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pnav-mobile-header {
  background: #fff;
  width: min(90vw, 360px);
  max-width: 90vw;
  box-shadow: none;
}

.pnav-mobile-header .pnav-mobile-subpanel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
}

.pnav-mobile-header .pnav-mobile-subpanel-title {
  flex: 1;
  text-align: center;
  font: 600 14px/20px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.pnav-mobile-header.pnav-header-default .pnav-mobile-subpanel-title {
  text-align: left;
}

.pnav-mobile-header .pnav-mobile-close {
  position: static;
  border: 1px solid #D5D7DA;
  border-radius: 6px;
  background: transparent;
  padding: 6px 10px;
  color: #0A0D12;
}

.pnav-mobile-list {
  background: #fff;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 20px;
}

.pnav-mobile-list li {
  list-style: none;
}

.pnav-mobile-link {
  display: block;
  padding: 10px 0;
  color: #0A0D12;
  text-decoration: none;
  font: 400 14px/20px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.pnav-mobile-link:link,
.pnav-mobile-link:visited,
.pnav-mobile-link:active {
  color: #0A0D12;
  text-decoration: none;
}

.pnav-mobile-link:hover {
  text-decoration: underline;
}

/* Subpanel to show dropdown content on mobile */
.pnav-mobile-subpanel {
  background: #fff;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pnav-mobile-subpanel[hidden] {
  display: none;
}

.pnav-mobile-subpanel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
}

.pnav-mobile-back,
.pnav-mobile-close {
  background: transparent;
  border: 1px solid #D5D7DA;
  border-radius: 6px;
  padding: 6px 10px;
  font: 500 14px/20px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
  color: #0A0D12;
}

.pnav-mobile-subpanel-title {
  font: 600 14px/20px 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0A0D12;
}

.pnav-mobile-subcontent {
  padding: 12px 16px;
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

.pnav-mobile-subcontent .pnav-mobile-link {
  padding: 8px 0;
}

/* Responsive visibility */
@media (max-width: 1024px) {
  .pnav-hamburger {
    display: inline-flex;
    margin-left: auto;
    flex-direction: column;
    gap: 4px;
  }

  .pnav .pnav-right,
  .pnav-link.pnav-right {
    display: none !important;
  }

  .pnav .pnav-list {
    display: none !important;
  }
}

/* Utility */
.animate-spin-slow {
  animation: spin-slow 75s linear infinite;
}

/* Max-width utility */
.u-max-w-720 {
  max-width: 720px;
}

/* Center block element horizontally */
.u-mx-auto {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Linked card wrapper: remove underline and inherit color */
a.pma-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.pma-card:hover {
  text-decoration: none;
}

/* Base typography smoothing */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Inline hero logo (for cards) */
.pma-card-hero {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 12px auto;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.pma-card-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.pma-card-hero img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.pma-card-hero .pma-card-hero-ring {
  animation: spin-slow 75s linear infinite;
  z-index: 1;
}

.pma-card-hero .pma-card-hero-mark {
  z-index: 2;
}

/* Full-width background hero inside a card */
.pma-card-hero-wide {
  position: relative;
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 16px 0;
}

.pma-card-hero-wide::after {
  content: none;
}

.pma-card-hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(50%, 360px);
  height: min(50%, 360px);
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media (max-width: 640px) {
  .pma-card-hero-wide {
    height: 260px;
  }

  .pma-card-hero-center {
    width: min(65%, 280px);
    height: min(65%, 280px);
  }
}

@media (min-width: 1200px) {
  .pma-card-hero-wide {
    height: 420px;
  }

  .pma-card-hero-center {
    width: min(45%, 400px);
    height: min(45%, 400px);
  }
}

.pma-card-hero-center img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pma-card-hero-center .pma-card-hero-ring {
  animation: spin-slow 75s linear infinite;
  z-index: 2;
}

.pma-card-hero-center .pma-card-hero-mark {
  z-index: 3;
}

html,
body {
  max-width: 100vw;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* GT America font-face declarations */
@font-face {
  font-family: 'GT America';
  src: url('../fonts/GT-America-Standard-Regular.woff2') format('woff2'),
    url('../fonts/GT-America-Standard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT America';
  src: url('../fonts/GT-America-Standard-Medium.woff2') format('woff2'),
    url('../fonts/GT-America-Standard-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT America';
  src: url('../fonts/GT-America-Standard-Bold.woff2') format('woff2'),
    url('../fonts/GT-America-Standard-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Compressed variant as a separate family to ensure correct glyph width */
@font-face {
  font-family: 'GT America Compressed';
  src: url('../fonts/GT-America-Compressed-Black.woff2') format('woff2'),
    url('../fonts/GT-America-Compressed-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Hero Section */
.pma-hero {
  position: relative;
  background-color: #010728;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.pma-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(auto, 720px) 1fr;
  gap: 0;
  align-items: center;
  min-height: calc(100vh - 80px);
  max-height: 1080px;
}

.pgov-hero {
  position: relative;
  background-color: #010728;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.pgov-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(auto, 720px) 1fr;
  grid-template-areas: "content logo";
  gap: 0;
  align-items: center;
  min-height: calc(100vh - 80px);
  max-height: 1080px;
}

.pgov-content {
  grid-area: content;
}

.pgov-logo-container {
  grid-area: logo;
}

.pgov-grid {
  display: contents;
}

.pgov-content {
  color: white;
  padding: 96px min(80px, 5vw);
  max-width: 720px;
}

.pgov-subtitle {
  font-family: 'GT America Compressed', 'GT America', sans-serif;
  font-size: 22px;
  font-weight: 900;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.pgov-title {
  font-family: "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  font-size: 60px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.15px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.pgov-title-word {
  display: block;
  border-bottom: 1px solid #45508D;
  padding-bottom: 6px;
  width: 100%;
  line-height: 1;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.pgov-description {
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 28px;
  color: #E9EAEB;
}

.pgov-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: url('../images/pgov-cover-bw.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pgov-logo-svg {
  max-width: 400px;
  max-height: 400px;
  width: auto;
  height: auto;
  padding: 20px;
}

@media (min-width: 1600px) {
  div.pma-container {
    max-height: 900px !important;
  }

  .pma-logo-container img.pma-logo-svg {
    max-width: 500px !important;
    max-height: 500px !important;
    width: 500px !important;
    height: auto !important;
  }

  div.pgov-container {
    max-height: 900px !important;
  }

  .pgov-logo-container img.pgov-logo-svg {
    max-width: 500px !important;
    max-height: 500px !important;
    width: 500px !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .pma-container {
    grid-template-columns: 1fr;
    padding: 60px min(40px, 5vw);
    padding-top: 36px;
    gap: 1rem;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Match PMA hero spacing on home hero */
  .pgov-container {
    grid-template-columns: 1fr;
    grid-template-areas: "content" "logo";
    padding: 60px min(40px, 5vw);
    gap: 1rem;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
    min-height: 100vh;
  }

  /* PGOV hero mobile typography and spacing (mirror PMA) */
  .pgov-title {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .pgov-subtitle {
    font-size: 18px;
    line-height: 1.3;
  }

  .pgov-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }

  /* Reduce top padding so text starts 16px from container edge on mobile */
  .pgov-content {
    padding: 0 min(24px, 5vw) 0 min(24px, 5vw);
  }

  /* Let the hero image take available vertical space on mobile */
  .pgov-logo-container {
    align-self: stretch;
    min-height: 40vh;
    height: auto;
  }
}

/* Desktop: flip PGOV hero columns (logo left, content right) */
@media (min-width: 1024px) {

  /* Make content column wider and reduce logo column slightly */
  .pgov-container {
    grid-template-columns: 0.8fr minmax(auto, 700px);
    grid-template-areas: "logo content";
  }
}

.pma-grid {
  display: contents;
}

.pma-content {
  color: white;
  padding: 96px min(80px, 5vw);
  max-width: 720px;
}

.pma-subtitle {
  font-family: 'GT America Compressed', 'GT America', sans-serif;
  font-size: 22px;
  font-weight: 900;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.pma-title {
  font-family: "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  font-size: 60px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.15px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.pma-title-word {
  display: block;
  border-bottom: 1px solid #45508D;
  padding-bottom: 6px;
  width: 100%;
  line-height: 1;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.pma-description {
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  font-style: normal;
  line-height: 32px;
  color: #E9EAEB;
}

.pma-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: url('../images/pma-cover-bw.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pma-logo-wrapper {
  position: relative;
  width: 324px;
  height: 324px;
  margin: 1rem;
}

.pma-logo-svg {
  max-width: 400px;
  max-height: 400px;
  width: auto;
  height: auto;
  padding: 20px;
}

@media (min-width: 1900px) {
  .pma-logo-wrapper {
    width: 340px;
    height: 340px;
  }
}

/* Main Content */
.pma-main {
  background-color: #F5F5F5;
  padding: 3.5rem 0;
}

.pma-main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .pma-main-container {
    padding: 0 min(40px, 5vw);
  }

  .pma-main {
    padding: 40px 0;
  }

  .pma-title {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .pma-subtitle {
    font-size: 18px;
    line-height: 1.3;
  }

  .pma-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }

  .pma-content {
    padding: 16px min(24px, 5vw) 0 min(24px, 5vw);
  }
}

/* Priorities badge */
.pma-priorities-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  gap: 1rem;
}

.pma-priorities-line {
  flex: 1;
  height: 1px;
  background-color: #D5D7DA;
}

.pma-priorities-badge {
  background-color: #0A0D12;
  color: #FAFAFA;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'GT America', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .pma-priorities-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .pma-priorities-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 56px;
    gap: 1rem;
  }
}



/* Categories */
.pma-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .pma-categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
  }
}

.pma-category {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Ensure consistent typography at mid breakpoints (769–1023px) */
.pma-category-title {
  font-family: "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  font-size: 28px;
  font-weight: 400;
  font-style: normal;
  line-height: 38px;
  color: #0A0D12;
  text-align: center;
  margin: 0 0 20px 0;
}

@media (min-width: 1024px) {
  .pma-category {
    padding: 0 1rem;
  }

  .pma-category:first-child {
    padding: 0 1.25rem 0 0;
  }

  .pma-category:last-child {
    padding: 0 0 0 1.25rem;
  }

  .pma-category:not(:first-child):not(:last-child) {
    padding: 0 1.25rem;
  }

  .pma-category:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2.5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to right, #414651 0px, #414651 1px, transparent 1px, transparent 4px, #414651 4px, #414651 5px);
    background-size: 5px 100%;
  }

  .pma-category-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #414651;
    margin: 1rem auto 0;
    position: relative;
  }

  .pma-category-title {
    font-family: "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  }

}

.pma-category-count {
  color: #181D27;
  text-align: center;
  font-family: 'GT America', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .pma-category {
    padding: 0 0;
  }

  .pma-category-title {
    font-family: "century-old-style-std", serif;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    line-height: 34px;
    color: #0A0D12;
    text-align: center;
    margin: 0 0 16px 0;
  }

}

/* Cards */

@media (max-width: 768px) {
  .pma-goals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .pma-goals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
  }
}


.pma-goals {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.pma-card {
  background: white;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: left;
  cursor: pointer;
}

.pma-card:hover {
  outline: 1px solid #D5D7DA;
  outline-offset: 0px;
}

.pma-card:hover .pma-objectives-pill {
  background: #0A0D12;
  color: #FAFAFA;
}

.pma-card-title {
  color: #0A0D12;
  font-family: "century-old-style-std", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #D5D7DA;
  padding-bottom: 8px;
  margin-bottom: 12px;
  margin-block-start: 0em;
}

.pma-card-description {
  color: #535862;
  font-family: 'GT America', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 1rem;
}

.pma-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pma-objectives-pill {
  display: flex;
  padding: 3px 8px;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border-radius: 6px;
  background: #F5F5F5;
  color: #414651;
  text-align: center;
  font-family: 'GT America', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

/* Quote */
.pma-quote-section {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto 3rem auto;
}

.pma-dots {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 4px;
}

.pma-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #2563eb;
  border-radius: 50%;
}

.pma-quote {
  color: #223080;
  text-align: center;
  font-family: "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 34px;
  margin-bottom: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pma-citation {
  color: #181D27;
  text-align: center;
  text-overflow: ellipsis;
  font-family: 'GT America', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.18px;
}

.pma-citation-title {
  color: #181D27;
  text-align: center;
  font-family: 'GT America', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  display: block;
}

.pma-citation-backslash {
  font-weight: 400;
}

.pma-italic-serif {
  color: #223080;
  text-align: center;
  font-family: "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


/* CTA */
.pma-cta {
  display: flex;
  height: 48px;
  padding: 8px 0px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}

.pma-button {
  border-radius: 3px;
  background: #0A0D12;
  font-family: 'GT America', sans-serif;
  border: none;
  cursor: pointer;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  padding: 8px 28px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  white-space: nowrap;
}

.pma-button:link,
.pma-button:visited {
  color: #FFF;
  text-decoration: none;
}

.pma-button:hover {
  background-color: #1f2937;
}

/* CTA variant for hero (dark navy background) */
.pgov-hero .pma-cta,
.pma-hero .pma-cta {
  justify-content: flex-start;
}

.pgov-hero .pma-button,
.pma-hero .pma-button {
  background: #FFFFFF;
  color: #0A0D12;
}

.pgov-hero .pma-button:hover,
.pma-hero .pma-button:hover {
  background: #F5F5F5;
}

@media (max-width: 768px) {
  .pma-cta {
    margin-top: 0px;
  }

  .pma-quote-section {
    margin: 0 auto 2rem auto;
  }
}

/* Modal */
.pma-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.pma-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.pma-modal-container {
  max-width: 580px;
  background: white;
  border-radius: 0;
  padding: 8px 7px 8px 8px;
  box-sizing: border-box;
  border: none;
}

.pma-modal-content {
  background: white;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #D5D7DA;
}

.pma-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
}

.pma-modal-priority {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0px;
}

.pma-modal-priority-label {
  color: #414651;
  font-family: 'GT America', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  margin-right: 6px;
}

.pma-modal-priority-title {
  color: #0A0D12;
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.pma-modal-priority-divider {
  width: 1px;
  height: 18px;
  background-color: #A4A7AE;
  flex-shrink: 0;
  margin-right: 10px;
}

.pma-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
}

.pma-modal-close img {
  transition: filter 0.2s;
  cursor: pointer;
}

.pma-modal-close:hover img {
  filter: brightness(0);
}

.pma-modal-body {
  padding-top: 20px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  border-top: 1px solid #E5E7EB;
}

.pma-modal-goal-badge {
  display: inline-block;
  background: #111827;
  color: #FAFAFA;
  font-family: 'GT America', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  padding: 2px 10px;
  border-radius: 16px;
  margin-bottom: 12px;
}

.pma-modal-goal-title {
  color: #0A0D12;
  font-family: "Century Old Style Std", "century-old-style-std", Georgia, 'Times New Roman', Times, serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 4px;
  margin-top: 0;
}

.pma-modal-objectives-count {
  color: #0A0D12;
  font-family: 'GT America', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 12px;
}

.pma-modal-objectives-list {
  list-style: none;
  padding: 16px 24px;
  margin: 0;
  background-color: #FAFAFA;
}

.pma-modal-objectives-list li {
  color: #252B37;
  font-family: 'GT America', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  border-bottom: 1px solid #D5D7DA;
  padding-bottom: 8px;
}

.pma-modal-objectives-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pma-modal-objectives-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #111827;
  font-weight: 700;
}

/* Footer */
.pma-footer {
  background-color: #0A0D12;
  color: #fff;
  padding: 40px 0;
  font-size: 14px;
  font-family: 'GT America', sans-serif;
}

.pma-footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pma-footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pma-footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.pma-footer-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.pma-footer-subtitle {
  color: #bbb;
  font-weight: 400;
}

.pma-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #bbb;
}

.pma-footer-links a {
  color: inherit;
  text-decoration: none;
}

.pma-footer-links a:hover {
  text-decoration: underline;
}

.pma-footer-note {
  border-top: 1px solid #333;
  padding-top: 16px;
  color: #bbb;
}

.pma-footer-note a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.pma-footer-note a:hover {
  text-decoration: underline;
}

@media (min-width: 769px) and (max-width: 1300px) {
  .pma-container {
    grid-template-columns: minmax(auto, 600px) 1fr;
  }

  .pma-content {
    max-width: 600px;
  }
}


@media (min-width: 769px) and (max-width: 1300px) {
  .pma-container {
    grid-template-columns: minmax(auto, 600px) 1fr;
  }

  .pma-content {
    max-width: 600px;
  }
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .pma-modal-overlay {
    padding: 12px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
  }

  .pma-modal-container {
    max-width: calc(100% - 24px);
    margin: 0 auto;
  }

  .pma-modal-header {
    padding: 12px 16px 8px 16px;
  }

  .pma-modal-priority {
    gap: 8px;
  }

  .pma-modal-priority-label {
    font-size: 11px;
    margin-right: 4px;
  }

  .pma-modal-priority-title {
    font-size: 13px !important;
    line-height: 16px !important;
  }

  .pma-modal-priority-divider {
    height: 16px;
    margin-right: 8px;
  }

  .pma-modal-body {
    padding: 16px;
  }

  .pma-modal-goal-title {
    font-size: 24px !important;
    line-height: 28px !important;
  }

  .pma-modal-objectives-count {
    font-size: 13px;
    margin-bottom: 10px;
    margin-top: 5px;
  }

  .pma-modal-objectives-list {
    padding: 12px 12px !important;
  }

  .pma-modal-objectives-list li {
    font-size: 14px;
    line-height: 20px !important;
    padding-left: 20px;
  }

  .pma-modal-objectives-list li:before {
    left: 6px;
    width: 5px;
    height: 5px;
  }

  .pma-button {
    font-size: 14px !important;
    padding: 14px 20px;
    line-height: 20px !important;
  }

  .pma-card {
    padding: 16px 14px;
  }

  .pma-card-title {
    font-size: 22px;
    line-height: 28px;
  }

  .pma-logo-container {
    padding: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .pma-logo-svg {
    max-width: calc(100vw - 120px);
    max-height: calc(100% - 40px);
    width: auto;
    height: auto;
  }

  .pma-quote {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .pma-footer {
    padding: 40px 32px;
  }
}

/* USA Banner (Performance.gov) */
.pgov-banner {
  height: 24px;
  display: flex;
  align-items: center;
  /* vertical centering */
  justify-content: center;
  /* horizontal centering of flag + text */
  gap: 6px;
  /* 6px space between flag and text */
  padding: 0;
  /* remove inner padding */
  background-color: #0A0D12;
  /* corrected background */
  width: 100%;
}

.pgov-banner-icon {
  width: 16px;
  height: 10px;
  display: block;
}

.pgov-banner-text {
  margin: 0;
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #D5D7DA;
  line-height: 11px;
  font-size: 11px;
}

/* PMA Navigation (desktop header) */
/* Visibility: by default show mobile header, hide desktop bar */
.usa-header.usa-header--basic {
  display: block;
}

#main-nav {
  display: none;
}

/* At desktop and up, hide mobile header and show desktop bar */
@media (min-width: 1024px) {
  .usa-header.usa-header--basic {
    display: none;
  }

  #main-nav {
    display: block;
  }
}

#main-nav {
  height: 56px;
  /* requested height */
  padding-left: 32px;
  /* requested horizontal padding */
  padding-right: 32px;
  display: flex;
  /* center contents vertically */
  align-items: center;
  position: relative;
  /* anchor dropdown stacking */
  z-index: 200;
  /* above hero */
  overflow: visible;
  /* allow submenu to extend */
  background: #FFFFFF;
  /* ensure panel overlaps cleanly */
}

/* Ensure inner row also centers */
#main-nav .pma-navbar {
  min-height: 56px;
  align-items: center;
  display: flex;
  width: 100%;
}

#main-nav .grid-col-auto {
  flex: 0 0 auto;
}

#main-nav .grid-col-fill {
  flex: 1 1 auto;
  min-width: 0;
}

header .usa-nav__primary {
  display: flex;
  gap: 20px;
  /* space between top-level items */
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  /* remove bullets */
  margin: 0;
  padding: 0;
  /* reset spacing */
}

/* Make USWDS nav buttons look like links (no chevron) */
header .usa-accordion__button.usa-nav__link,
header .usa-nav__link {
  /* cover both button and <a> links */
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  /* bold, per PMA look */
  font-size: 14px;
  line-height: 20px;
  color: #535862;
  /* default gray like site */
  cursor: pointer;
}

/* Chevron for dropdowns */
header .usa-accordion__button.usa-nav__link::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

header .usa-accordion__button.usa-nav__link[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* Hover/active states */
header .usa-accordion__button.usa-nav__link:hover,
header .usa-nav__link:hover {
  background-color: #F5F5F5;
  color: #0A0D12;
}

header .usa-accordion__button.usa-nav__link[aria-expanded="true"],
header .usa-accordion__button.usa-nav__link:active {
  box-shadow: 0 0 0 3px #1B63FF;
  /* blue focus/active ring without layout shift */
}

header .usa-accordion__button.usa-nav__link[aria-expanded="true"]>span,
header .usa-accordion__button.usa-nav__link:active>span {
  color: #1B63FF;
  /* active label in blue */
}

/* Dropdown panel styling (positioned by USWDS) */
header .usa-nav__submenu {
  background: #FFFFFF;
  border: 1px solid #BBD3FF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 13, 18, 0.08);
  padding: 16px 20px;
  z-index: 1000;
  position: absolute;
  /* overlap page content */
  top: calc(100% + 8px);
  /* below the trigger */
  left: 0;
  min-width: 280px;
  list-style: none;
  margin: 0;
  padding-left: 0;
  /* remove default ul indent */
}

header .usa-nav__submenu .usa-nav__submenu-item a,
header .pma-nav__submenu .pma-nav__submenu-item a {
  display: block;
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #0A0D12;
  padding: 10px 0;
  text-decoration: none;
}

header .usa-nav__submenu .usa-nav__submenu-item,
header .pma-nav__submenu .pma-nav__submenu-item {
  list-style: none;
  margin: 0;
}

/* Ensure hero sits below nav for proper overlap */
.pma-hero {
  z-index: 0;
}

header .usa-nav__submenu .usa-nav__submenu-item a:hover,
header .pma-nav__submenu .pma-nav__submenu-item a:hover {
  text-decoration: underline;
}

/* Primary item wrapper reset to avoid inherited spacing */
header .usa-nav__primary-item {
  margin: 0;
}

header .usa-nav__primary-item {
  position: relative;
}

/* Desktop row with right-side link */
.pma-desktop-nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pma-desktop-nav-row nav {
  flex: 1 1 auto;
}

.pma-desktop-nav-row nav .usa-nav__inner {
  display: flex;
}

.pma-right-link {
  font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #0A0D12;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  margin-left: auto;
  /* push to the right */
}

.pma-right-link:hover {
  background: #F5F5F5;
}

/* Mobile adjustments (basic) */
@media (max-width: 1024px) {
  header .usa-nav__primary {
    gap: 12px;
  }

  header .usa-accordion__button.usa-nav__link {
    font-size: 13px;
    padding: 8px;
  }

  .pma-right-link {
    display: none;
  }
}

/* --- Recreate minimal USWDS grid utilities for megamenu --- */
/* Container becomes grid inside submenu */
header .usa-nav__submenu .grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* Map legacy USWDS utility used in markup */
header .usa-nav__submenu .grid-gap-4 {
  gap: 32px;
}

/* Desktop: 3 equal columns */
@media (min-width: 1024px) {
  header .usa-nav__submenu .grid-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 8px 0;
  }
}

/* Column blocks */
header .usa-nav__submenu .desktop\:grid-col {
  width: 100%;
}

header .usa-nav__submenu .margin-top-neg-205 {
  margin-top: 0 !important;
}

/* Megamenu width similar to default nav */
header .usa-nav__submenu.usa-megamenu,
header .pma-nav__submenu {
  width: clamp(720px, 70vw, 1040px);
}

/* Submenu item spacing */
header .pma-nav__submenu .pma-nav__submenu-item,
header .usa-nav__submenu .usa-nav__submenu-item {
  margin: 0;
  padding: 6px 0;
}

/* Skip link: hidden until focus for accessibility */
.usa-skipnav {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.usa-skipnav:focus,
.usa-skipnav:active {
  position: absolute;
  left: 32px;
  top: 8px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #1B63FF;
  color: #fff;
  border-radius: 4px;
  z-index: 2000;
}

/* Focus-visible styles for keyboard users (USWDS guidance) */
.pma-button:focus-visible,
.pnav-link:focus-visible,
.pnav-button:focus-visible,
.pma-right-link:focus-visible,
.pma-card-clickable:focus-visible,
a:focus-visible {
  outline: 3px solid #1B63FF;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Prefer-reduced-motion: disable decorative spins and transitions */
@media (prefers-reduced-motion: reduce) {
  .animate-spin-slow {
    animation: none !important;
  }

  img[style*="spin-slow"],
  [style*="animation: spin-slow"] {
    animation: none !important;
  }
}