@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/pt_sans/PTSans-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/pt_sans/PTSans-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  src: url('../fonts/Noto_Sans/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-display: swap;
}

html, body {
  font-family: 'PT Sans', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.024px;
  color: #2D2E2F;
}

h1, h2, h3, h4, h5, h6, span, p, a {
    line-height: 1.5;
    letter-spacing: normal;
    word-spacing: normal;
}

button {
  cursor: pointer;
}

article .grid-container {
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-family: 'PT Sans', sans-serif;
}

table th,
table td {
  border: 1px solid #1b1b1b;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.3;
}

table th {
  background-color: #f0f0f0;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #2d2e2f;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

table tbody th {
  font-weight: 700;
  background-color: #f0f0f0;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Borderless table variant */
.usa-table--borderless {
  border: none;
}

.usa-table--borderless th,
.usa-table--borderless td {
  border-left: none;
  border-right: none;
  border-top: none;
}

.usa-table--borderless tbody tr:last-child th,
.usa-table--borderless tbody tr:last-child td {
  border-bottom: none;
}

/* Striped table variant */
.usa-table--striped tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.usa-table--striped tbody tr:nth-child(even) {
  background-color: #ffffff;
}

.usa-pagination__arrow {
  display: inherit;
}

.icon-left {
  margin-right: 10px;
}

.usa-header {
  font-family: 'PT Sans', serif;
  font-size: 1rem;
}

.fas, .far{
  width: auto;
}

.coga-logo-img{
  max-height: 105px;
}

.fa, .fa-brands, .fa-chisel, .fa-classic, .fa-duotone, .fa-etch, .fa-jelly, .fa-jelly-duo, .fa-jelly-fill, .fa-light, .fa-notdog, .fa-notdog-duo, .fa-regular, .fa-semibold, .fa-sharp, .fa-sharp-duotone, .fa-slab, .fa-slab-press, .fa-solid, .fa-thin, .fa-thumbprint, .fa-whiteboard, .fab, .facr, .fad, .fadl, .fadr, .fadt, .faes, .fajdr, .fajfr, .fajr, .fal, .fands, .fans, .far, .fas, .fasdl, .fasdr, .fasds, .fasdt, .fasl, .faslpr, .faslr, .fasr, .fass, .fast, .fat, .fatl, .fawsb {
    width: auto;
}

/* CTA Button Styling */
.cta-field .field-item {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.cta-field a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #005ea2;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid #005ea2;
  transition: all 0.3s ease;
}

.cta-field a:hover {
  background-color: #0050d8;
  border-color: #0050d8;
  color: white;
  text-decoration: none;
}

/* Card Title Styling */
.card-title {
  margin: 0 0 1rem 0;
  color: #1b1b1b;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Image Callout Styling */
.image-callout-container {
  border: 1px solid #000;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.image-callout-container .callout-image {
  margin-bottom: 1rem;
}

.image-callout-container .callout-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Staff Member Styling - Based on Figma Design */
.staff-member-card {
  background-color: #fcfcfc;
  border: 1px solid #565c65;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 1.5rem;
}

.staff-member-content {
  display: flex;
  gap: 24px;
  align-items: center;
}

.staff-image {
  flex-shrink: 0;
  width: 171px;
  height: 171px;
}

.staff-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.staff-info {
  flex: 1;
  min-width: 0;
}

.staff-full-name {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 33px;
  color: #2d2e2f;
  margin: 0 0 0.25rem 0;
}

.staff-info .field-name-field-title {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 33px;
  color: #2d2e2f;
  margin: 0;
}

/* Directory Grid Layout */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Directory Card Modifications */
.directory-card {
  max-width: 100%;
}

.directory-card .directory-content {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.directory-card .directory-image {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.directory-card .directory-info {
  text-align: center;
}

/* Directory Field Styling */
.directory-info .position-field {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #2d2e2f;
  margin: 0.25rem 0;
}

.directory-info .email-field {
  margin-top: 0.5rem;
}

.directory-info .email-field a {
  color: #005ea2;
  text-decoration: underline;
  font-size: 16px;
  line-height: 24px;
}

/* Link Bar Component - Based on Figma Design */
.link-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.link-bar-card {
  background-color: #fcfcfc;
  border: 2px solid #005ea2;
  border-radius: 4px;
  padding: 24px;
  position: relative;
}

.link-bar-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Badge Styling */
.link-bar-badge {
  align-self: flex-start;
  max-width: 350px;
}

.link-bar-badge .badge-label {
  background-color: #edf5ff;
  color: #565c65;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Link Bar Title Styling */
.link-bar-card .field-name-field-title .card-title {
  color: #005ea2;
  font-family: 'PT Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
  margin: 0;
}

/* Button Placeholder for Dynamic Links */
.button-placeholder {
  margin-top: 12px;
}

.button-placeholder a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #005ea2;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid #005ea2;
  transition: all 0.3s ease;
}

/* Content Grid Layout - Reuses existing patterns */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.quick-links-section {
  background-color: #edf5ff;
  padding: 3.5rem 4.6875rem; /* 56px 75px converted to rem */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  
  /* Break out of parent containers for full width */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.quick-links-section:not(.component-cta-bar .quick-links-section) {
  left: 33%;
  right: 66%;
  margin-bottom: 1rem;
}
[class*="desktop:grid-col-9"] .component-cta-bar .quick-links-section {
  left: 33%;
  right: 66%;
}

.quick-links-container {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* 32px converted to rem */
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 80.625rem; /* 1290px converted to rem */
}

.quick-links-heading {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem; /* 32px converted to rem */
  line-height: 3rem; /* 48px converted to rem */
  color: #000000;
  text-align: center;
  letter-spacing: 0.048px;
  margin: 0;
}

.quick-links-grid {
  display: flex;
  gap: 1.5625rem; /* 25px converted to rem */
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
}

.quick-link-cta {
  width: 12.125rem; /* 194px converted to rem */
}

.quick-link-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px converted to rem */
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.quick-link-wrapper:hover {
  text-decoration: none;
}

.quick-link-icon {
  position: relative;
  width: 6rem; /* 96px converted to rem */
  height: 6rem; /* 96px converted to rem */
  flex-shrink: 0;
}

.icon-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0b4778; /* Blue background matching design */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-background .fad {
  --fa-primary-color: #fcfcfc;  /* Color for the primary layer */
  --fa-secondary-color: #D4E5FF; /* Color for the secondary layer */
  --fa-secondary-opacity: 0.8;   /* Opacity for the secondary layer */
}

/* Handle specific FontAwesome icon adjustments */
.icon-background .fa-user-check,
.icon-background .fa-user-tie {
  font-size: 2rem; /* Slightly smaller for user icons */
}

.icon-background .fa-chalkboard,
.icon-background .fa-chart-line,
.icon-background .fa-chart-bar {
  font-size: 2rem; /* Slightly smaller for detailed icons */
}

.quick-link-text {
  font-weight: 700;
  font-size: 22px;
  color: #0b4778;
  text-align: center;
}

.quick-link-wrapper:hover .icon-background {
  background-color: #1a5490; /* Slightly lighter blue on hover */
}

.quick-link-wrapper:hover .quick-link-text {
  text-decoration: underline;
}

/* Legacy CTA styles for backward compatibility */
.simple-cta {
  background-color: var(--usa-color-primary-lighter);
  border: 1px solid var(--usa-color-primary);
  border-radius: 0.25rem;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.simple-cta a {
  background-color: var(--usa-color-primary);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.simple-cta a:hover {
  background-color: var(--usa-color-primary-dark);
  color: white;
}

h1.publication-detail-title, h1.audit-detail-title {
  margin: 8px 0 32px;
  font-size: 40px;
}

.publication-files .publication-file-item {
  margin-bottom: 12px;
}

.publication-files .publication-file-link {
  display: inline-block; 
  text-align: left;      
}


/* Related Publications Section - Based on Figma Design */
.related-publications {
  background-color: #f9f9f9;
  padding: 1.5rem; /* 24px converted to rem */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* 24px gap between elements */
  margin: 1rem 0;
}

.related-publications-heading {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 1.375rem; /* 22px converted to rem */
  line-height: 2.0625rem; /* 33px converted to rem */
  color: #000000;
  letter-spacing: 0.033px;
  margin: 0;
}

.related-publications-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px gap between links */
  width: 100%;
}

.related-publications-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem; /* 8px gap between icon and text */
}

.related-publications-item::before {
  content: '';
  display: inline-block;
  width: 1rem; /* 16px */
  height: 1rem; /* 16px */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M21 21L16.514 16.506M19 10.5A8.5 8.5 0 1 1 10.5 2A8.5 8.5 0 0 1 19 10.5Z' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.related-publications-item a {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px converted to rem */
  color: #005ea2; /* Blue link color from Figma */
  text-decoration: none;
  letter-spacing: 0.024px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.related-publications-item a:hover {
  text-decoration: underline;
}

.related-publications-item a:visited {
  color: #54278f; /* Visited link color following USWDS */
}

/* Component Feature - Converted from D7 template */
.component-feature {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: 2rem 0;
  align-items: flex-start;
}

.component-feature .feature-image {
  flex: 0 0 auto;
  max-width: 300px;
}

.component-feature .feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.component-feature .feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.component-feature .feature-title h2,
.component-feature .feature-title h3,
.component-feature .feature-title h4 {
  margin: 0;
  color: var(--usa-color-primary-darker);
  font-weight: 700;
}

.component-feature .feature-body {
  line-height: 1.5;
}

.component-feature .feature-links {
  margin-top: 1rem;
}

.component-feature .feature-links a {
  color: var(--usa-color-primary);
  text-decoration: none;
  font-weight: 600;
}

.component-feature .feature-links a:hover {
  text-decoration: underline;
}

/* Field template styling for component feature */
.component-feature .paragraph-image-field {
  margin: 0;
}

.component-feature .paragraph-image-field .field-items {
  margin: 0;
}

.component-feature .paragraph-image-field .field-item {
  margin: 0;
}

.component-feature .paragraph-title-field {
  margin: 0;
}

.component-feature .paragraph-title-field .field-items {
  margin: 0;
}

.component-feature .paragraph-title-field .field-item {
  margin: 0;
}

.component-feature .paragraph-body-field {
  margin: 0;
}

.component-feature .paragraph-body-field .field-items {
  margin: 0;
}

.component-feature .paragraph-body-field .field-item {
  margin: 0;
  line-height: 1.6;
}

.component-feature .paragraph-dynamic-link-field {
  margin: 0;
}

.component-feature .paragraph-dynamic-link-field .field-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.component-feature .paragraph-dynamic-link-field .field-item {
  margin: 0;
}

/* Simple File Paragraph - Converted from D7 generic template */
.simple-file {
  margin: 1rem 0;
}

.simple-file .content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.simple-file .field--name-field-file {
  margin: 0;
}

.simple-file .field--name-field-file .field-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.simple-file .field--name-field-file .field-item {
  margin: 0;
}

.simple-file .field--name-field-file a {
  color: var(--usa-color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.simple-file .field--name-field-file a:hover {
  text-decoration: underline;
}

.simple-file .field--name-field-file a:before {
  content: "📄";
  font-size: 1em;
}

/* Notification Bar - Based on Figma Design */
.notification-bar {
  min-height: 56px;
  width: 100%;
  background-color: #1a4480;
  color: #fcfcfc;
}

.notification-content {
  padding: 16px 75px;
  margin: 0 auto;
  text-align: center;
  max-width: 1440px;
}

.notification-content p {
  margin: 0;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fcfcfc;
}

.notification-content a {
  color: #D4E5FF;
  text-decoration: underline;
}

/* Notification Toggle Button Styling */
.notification-toggle {
  background-color: #1a4480;
  text-align: right;
  padding-top: 1rem;
  padding-left: 15px;
  padding-right: 15px;
}

.notification-toggle-button {
  background: none;
  border: none;
  color: #D4E5FF;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.notification-toggle-button:hover {
  color: #D4E5FF;
  text-decoration: underline;
}

/* Utility Navigation Bar - Based on Figma Design */
.utility-nav {
  background-color: #d4e5ff;
  width: 100%;
}

.utility-nav-content {
  padding: 1rem 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.language-selector {
  flex-shrink: 0;
}

.utility-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.utility-link-item {
  padding: 0.5rem 1rem;
}

.utility-link {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #005ea2;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

.utility-link:hover, .utility-link:hover .utility-icon i {
  color: #002946;
}

.utility-icon {
  margin-right: 8px;
}

.utility-icon i {
  font-size: normal;
  color: #005ea2;
}

.utility-separator {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  color: #dfe1e2;
  line-height: 1.5;
}

/* Main Header - Based on Figma Design */
.main-header {
  background-color: #fcfcfc;
  width: 100%;
  padding: 0;
}

.main-header-content {
  padding: 1.5rem 75px;
  margin: 0 auto;
  min-height: 104px;
  max-width: 1440px;
}

.main-header-content .grid-row{
  align-items: center;
} 

/* Header Logo Link - No hover/active states */
.header-logo-link {
  text-decoration: none;
  color: inherit;
}

.header-logo-link:hover,
.header-logo-link:active,
.header-logo-link:focus {
  text-decoration: none;
  color: inherit;
}

.logo-image {
  float: left;
  max-height: 105px;
  line-height: 0; 
  margin-right: 0.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.session-info {
  font-family: 'PT Serif', serif;
  font-size: 18px;
  color: #112f4e;
  font-weight: 400;
  padding-top: 1rem;
}

.site-title {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  color: #2d2e2f;
  font-weight: 700;

  font-feature-settings: normal;
}

/* Header Search Section */
.header-search {
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-input-wrapper {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1%;
  margin-bottom: 0;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 6px 30px 6px 12px;
  border: 1px solid #565c65;
  background-color: #fcfcfc;
  font-size: 16px;
  line-height: 24px;
  color: #2d2e2f;
}

.search-input::placeholder {
  color: #71767a;
}

.search-input:focus {
  outline: none;
  border-color: #005ea2;
  box-shadow: 0 0 0 1px #005ea2;
}
.hero-button {
 height: 48px;
  padding: 0.375rem 0.75rem;
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  background-color: #FEE685;
  border: 0;
  border-radius: 4px ; 
  text-decoration: none;
  color: #2D2E2F;
  border: solid 1px transparent;
}

.hero-button:hover { 
  background-color: #FACE00;
} 
.search-button {
  height: 48px;
  padding: 0.375rem 0.75rem;
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  background-color: #005ea2;
  border: 0;
  border-radius: 0 4px 4px 0;
  color: #fcfcfc;
  border: solid 1px transparent;
}

.search-button:hover {
  background-color: #0B4778;
}

.search-button:active {
  background-color: #112F4E;
}

.search-icon {
  font-size: 16px;
  line-height: 1;
  padding-right: 3px;
}

/* Clear Search Button Styles */
.clear-search {
  min-width: 24px;
  min-height: 24px;
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #2D2E2F;
  padding: 0;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
}

.clear-search.visible {
  opacity: 1;
  pointer-events: auto;
}

.clear-search:hover {
  background-color: transparent;
  color: #2d2e2f;
}

.clear-search:focus {
  outline: 2px solid #005ea2;
  outline-offset: 2px;
}

.clear-search:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: not-allowed;
}

body.param-hide section#region-info-banner {
  display: none;
}
/* Footer Styling - Based on Figma Design */

/* Footer Language Bar */
.footer-bar {
  background-color: #1a4480;
  border-top: 10px solid #a88f48;
  width: 100%;
  
}
.footer-bar-content {
  max-width: 1440px;
  height: 90px;
  margin: 0 auto;
  padding: 0 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.return-to-top {
  display: flex;
  align-items: center;
}
.return-to-top a {
  color: #D4E5FF;
  text-decoration: underline;
}
.return-to-top a:hover {
  color: #fcfcfc;
}

.return-to-top a i{
  text-decoration: none;
  margin-left: 8px;
}

/* Main Footer */
.usa-footer {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
}
.usa-footer__primary-section {
  background-color: #112f4e;
  width: 100%;
}

.usa-footer__primary-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 75px;
}

/* Override USWDS footer menu styling to match Figma */
.usa-footer__primary-section .usa-list--unstyled {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.usa-footer__primary-section .usa-list--unstyled li {
  margin-bottom: 0;
}

.usa-footer__primary-section .usa-list--unstyled a {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #d4e5ff;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

.usa-footer__primary-section .usa-list--unstyled a:hover {
  color: #fcfcfc;
}

/* Footer column titles */
.usa-footer__primary-section .usa-footer__primary-link {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: #e6e6e6;
  margin-bottom: 32px;
}

.usa-footer .quick-links-section {
 margin-bottom: 0rem; !important
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Footer Section */
.footer-section {
  background-color: #112f4e;
  width: 100%;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 75px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 1.5rem 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-right: 1.5rem;
}

.footer-title {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
  color: #e6e6e6;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0;
}

.footer-link {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #d4e5ff;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: #fcfcfc;
}

.external-icon {
  font-size: 16px;
}

/* Footer Contact Column */
.footer-contact {
  gap: 24px;
  padding-right: 0;
}

.footer-logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-logo-image {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.footer-logo-text {
  max-width: 105px;
  font-family: "PT Serif", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: #fcfcfc;
}

.footer-divider {
  width: 100%;
  height: 7px;
  background-color: #1a4480;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-address {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #e6e6e6;
}

.footer-address p {
  margin: 0;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #d4e5ff;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

.footer-column-title {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: #e6e6e6;
  margin: 0;
}

.contact-icon {
  font-size: 16px;
}

.usa-accordion {
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
}

.footer-content .usa-accordion__content {
    color: #D4E5FF;
    background-color: transparent;
    margin-top: 0;
}

.footer-content  .usa-accordion__heading, .usa-prose .usa-accordion__heading {
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

.footer-content  .usa-accordion__button {
  color: #D4E5FF;
}

.footer-content .usa-accordion__button:hover {
  text-decoration: underline;
}

/* Bottom Footer */
.bottom-footer {
  background-color: #1a1614;
  width: 100%;
}

.bottom-footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 75px;
  display: flex;
  justify-content: center;
}

.bottom-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bottom-footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #fcfcfc;
  text-decoration: none;
}

.bottom-footer-link:hover {
  text-decoration: underline;
}

div.region-content ul.usa-accordion,
section.usa-hero ul.usa-accordion {
  display: none;
}
div.region-content div.budget-docs-section ul.usa-accordion {
  display: block;
}
.budget-filter-heading {
  margin-bottom: 0;
}
.budget-filter-hint {
  font-size: 14px;
  margin-top: 0;
}
/* budget-docs search-page */
div.gray-box {
  background: #f5f5f5;
  padding-left: 10px;
}
article.search-result div.wrapper {
  padding-top: 1em;
  padding-bottom: 1em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.result-title{
  color: #71767A;
  font-weight: 700;
  text-transform: uppercase;
}

div.pb3 {
  padding-bottom: 3px;
}
ul.list-style-none {
  margin-bottom: 0;
  list-style: none;
  padding-inline-start: 0;
  margin-inline-start: 0;
  margin-block-start: 0;
} 
hr.search-listing {
  margin-bottom: 1em;
  margin-top: 1em;
}
span.badge-primary  {
    background-color: #EDF5FF;
    font-weight: 400;
    padding: 4px 8px;
    font-size: 22px;
    color: #565C65;
}
article.search-result h2 a {
  color: #005EA2;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
article.search-result h2 a:hover {
  text-decoration: underline;
}

.search-result ul{
  margin: 0;
  padding-left: 28px;
}

/* Info Banner Section - Based on Figma Design */
section#region-info-banner, section#region-quick-links {
  background-color: #d4e5ff; /* Blue background from Figma */
  background-image: none; /* Remove any existing background image */
  color: #1b1b1b; /* White text */
  padding: 56px 75px; /* Match spacing from Figma design */
  width: 100%;
}
section#region-info-banner .grid-container, section#region-quick-links .grid-container {
  max-width: 1290px; /* Match Figma container width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px; /* 8 * 4px from Figma spacing */
}

.grid-container {
  padding: 0px 75px;
  max-width: 1440px;
}

/* Hero Section - Based on Figma Design */
.usa-hero {
  background-color: #1a4480; /* Blue background from Figma */
  background-image: none; /* Remove any existing background image */
  color: #fcfcfc; /* White text */
  padding: 56px 75px; /* Match spacing from Figma design */
  width: 100%;
}
.usa-header+.usa-hero {
    border-top: 0;
}
.usa-header .grid-container {
    max-width: none;
    padding: 0;
    margin: 0;
}

.usa-hero .grid-container {
  max-width: 1440px; /* Match Figma container width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px; /* 8 * 4px from Figma spacing */
}

.usa-hero .usa-hero__callout {
  background: none;
  padding: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  width: 100%;
}

/* Hero Page Title Styling */
.usa-hero .usa-hero__callout h1 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
  color: #fcfcfc;
  text-align: center;
  letter-spacing: 0.06px;
  margin: 0;
  width: 100%;
}

.usa-hero input.form-submit {
  background-color: #FEE685;
  color: #2D2E2F;
  font-size: 16px;
  font-weight: 700;
  border-color: #565C65;
}
.usa-hero input.form-submit:hover {
  background-color: #FACE00;
}

/* Hero with Background Image - Custom Font */
.usa-hero--bg-image .usa-hero__callout h1 {
  font-family: "freight-text-pro", "Times New Roman", Georgia, serif;
  font-weight: normal;
  font-style: normal;
  font-size: 3.5rem;
  text-shadow: 0px 0px 8px #333;
}

/* Hero Body Text (if present) */
.usa-hero .usa-hero__callout .field--name-body {
  max-width: 743px;
  width: 100%;
}

.usa-hero .usa-hero__callout .field--name-body p {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 33px;
  color: #fcfcfc;
  text-align: center;
  letter-spacing: 0.033px;
  margin: 0;
}

/* Hero Background Image Variant */
.usa-hero--bg-image {
  background-color: transparent; /* Remove solid background */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 400px; /* Match the original implementation */
  position: relative;
  padding: 0; /* Remove padding to let the overlay handle spacing */
}

/* Add overlay for better text readability on background images */
.usa-hero--bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Ensure content appears above the overlay */
.usa-hero--bg-image .grid-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 75px; /* Restore padding on the container */
}

/* Hide the background image field when it's being used as hero background */
article .field--name-field-bg-image {
  display: none;
}

/* Ensure hero callout takes full height and centers content */
.usa-hero--bg-image .usa-hero__callout {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

article.search-result h2 {
  padding-top: 0.4em;
}

a.primary-btn {
  padding: 12px 20px;
  min-height: 48px;
  color: #FCFCFC;
  background: #005EA2;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
}

.primary-btn {
  background: #1F4E7D;
  height: 48px;
  color: #FFFFFF;
}

.primary-btn:hover {
  background: #163758;
  color: #FFFFFF;
}

.primary-btn.btn-disabled {
  pointer-events: none;
  cursor: default;
  background: #163758;
}

.d-md-inline-block {
  display: inline-block !important;
}

.flex-row {
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
  -webkit-flex-direction: row !important;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}
.d-flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.content-text{
  font-size: 20px;
}

/* Person/Staff Component Styles (matching Figma design) */
/* Style the individual fields to work together as a cohesive unit */
.head-image-field,
.head-name-field,
.head-position-field {
  width: 280px;
  float: left;
  clear: left;
  text-align: center;
  margin-bottom: .5rem;
}

/* Head Image Field */
.head-image-field .portrait-container {
  position: relative;
  width: 195px;
  height: 195px;
  flex-shrink: 0;
  margin: 0 auto;
}

.head-image-field .portrait-container img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  max-width: none;
}

/* Head Name and Position Fields */
.head-name-field .field-items,
.head-position-field .field-items {
  width: 100%;
}

.head-name-field .field-item,
.head-position-field .field-item {
  width: 100%;
}

/* Head Name Styling */
.head-name-field .person-name {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.027px;
  color: #2d2e2f;
  margin: 0;
  width: 100%;
}

.head-name-field .person-name p {
  line-height: 27px;
  margin: 0;
}

/* Head Position Styling */
.head-position-field .person-title {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.024px;
  color: #2d2e2f;
  margin: 0;
  width: 100%;
}

.head-position-field .person-title p {
  line-height: 24px;
  margin: 0;
}

/* Head Section Title Styling */
.head-section-title-field {
  margin: 1rem;
}

.head-section-title-field .head-section-title {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #2d2e2f;
  margin: 0;
}

.head-section-title-field .head-section-title p {
  margin: 0;
}


.info-item:not(:last-child){
  border-bottom: 1px solid #C6CACE;
}

.info-item {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.info-item dt {
  font-weight: normal;
  width: 142px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-item dd {
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.info-item dd.subject-tag {
  border-radius: 14px;
  border: 1px solid #C39DEB;
  background: #F7F2FF;
  padding: 2px 8px;
  flex: none;
  margin-right: 0.5rem;
  display: inline-block;
  white-space: nowrap;
}

/* search publications button on publication overview */

.hero-buttons{
  margin-top: 1rem;
}

.hero-buttons.margin-top-0{
  margin-top: 0;
}

a.light-primary-btn {
  color: #2D2E2F;
  background-color: #FEE685;  
  font-size: 16px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 4px;
  margin-top: 1rem;
  margin-right: 1.5rem;
  display: inline-block;
  align-items: center;
  text-decoration: none;
}

a.light-primary-btn:hover {
  background-color: #FACE00;
  color: #2D2E2F;
}

a.light-primary-btn:active {
  background-color: #DDAA01;
  color: #2D2E2F;
}

a.light-primary-btn:last-child {
  margin-right: 0;
}

.most-accessed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* cards for most accessed publications and browse pub by subject*/
.card{
  border: 2px solid #005EA2;
  border-radius: 4px;
  color: #005EA2;
  background-color: #FCFCFC;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: flex;
  position: relative;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  height: 100%;
  width: 100%;
}

.card .arrow-icon {
    display: none;
}

a.card{
  text-decoration: none;
}

.card-body{
  padding: 18px;
  -webkit-box-flex: 1;
  flex: 1 1 auto;
}
.card-item{
  display: flex;
  align-items: center; /* Vertically centers child items */
  justify-content: center; 
  height: 100%;
}
.card-label{
  color: #565C65;
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #EDF5FF;
}
.card-text{
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 700;
}
.card-sm{
  
  font-size: 18px;
}
.card-lg{
  font-size: 22px;
}

.bg-blue{
  background-color: #EDF5FF;
}

.quick-links-section {
  margin-bottom: -4rem;
}


/* ========================================
   Image Gallery Component Styles
   ======================================== */

.image-gallery-component {
  margin: 2rem 0;
  padding: 1.5rem;
}

.image-gallery-title {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 2.5rem;
  color: #000000;
  margin-bottom: 1.5rem;
  text-align: center;
}

.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.image-gallery-item {
  width: 100%;
  max-width: 250px;
}

/* Individual gallery item styles */
.paragraphs-item-simple-image-gallery-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ps-image-wrapper {
  display: block;
  width: 100%;
  max-width: 250px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.ps-image-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ps-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 250px;
}

.gallery-item-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .image-gallery-item {
    max-width: 200px;
  }
  
  .ps-image-wrapper,
  .ps-image-wrapper img {
    max-width: 200px;
  }
  article.search-result div.wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-checkboxes ul{
  list-style: none;
  padding-left: 0;
}

/* Begin Media Queries */
@media (max-width: 63.99em) {

  .usa-nav__primary a:not(.usa-button):not(.usa-current) {
    color: #212529;
  }

  [class*="desktop:grid-col-9"] .component-cta-bar .quick-links-section {
    left: 50%; 
    right: 50%;
    padding: 56px 75px;
  }
  .quick-links-section:not(.component-cta-bar .quick-links-section) {
    left: 50%;
    right: 50%;
}

  .quick-links-section {
    padding: 56px 75px;
  }

  .quick-links-section {
    padding: 56px 75px;;
  }
  
  .quick-links-grid {
    gap: 1rem;
  }
  
  .quick-links-grid {
    align-items: center;
  }
  .quick-link-wrapper {
    gap: 14px;
  }

  .component-feature {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .component-feature .feature-image {
    max-width: 100%;
  }

  .usa-nav__primary-item {
    border-top: 0;
  }
  .usa-nav__submenu-item {
    border-top: 0;
  }
}

@media (max-width: 1199px) {
    .most-accessed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 991px) {

  .usa-nav {
    padding: 0 75px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .usa-header--extended .usa-nav {
    padding: 0 75px;
  }

}
@media (max-width: 991px) {

  [class*="desktop:grid-col-9"] .component-cta-bar .quick-links-section {
    padding: 56px 20px;
  }

  .quick-links-section {
    padding: 56px 20px;
  }

  .utility-nav-content {
    padding: 1rem 0;
  }

  .grid-container {
    padding: 0 20px;
  }

 .usa-header .grid-container {
    padding: 0;
    max-width: none;
  }

  .main-header-content {
    padding: 1.5rem .5rem;
  }


  .footer-content {
    padding: 0;
  }

  .footer-bar-content {
    padding: 0 20px;
  }

  .footer-column {
    gap: 16px;
    padding: 0 20px;
  }
}

/* Hide menu button on desktop */
@media (min-width: 768px) {
  .hidden-desktop {
    display: none;
  }
  .session-info {
    font-size: clamp(0.938rem, calc(-0.082rem + 2.125vw), 1.125rem);
  }
  .site-title{
    font-size: clamp(1.624rem, calc(-0.427rem + 4.273vw), 2rem);
  }
  .notification-toggle {
    display: none;
  }

  .usa-nav__close {
    display: none;
  }

  .usa-nav {
    padding: 0;
  }
  .usa-nav {
      position: relative;
      display: block;
      overflow-y: visible;
      padding: 0;
      width: auto;
  } 

  /* Simple Main Navigation - only desktop target */
  .usa-nav__primary > li > button.usa-nav__link,
  .usa-nav__primary > li > a {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: #2d2e2f;
    text-align: center;
    letter-spacing: 0.027px;
    padding: .5rem;
    border: none;
    background: none;
    text-decoration: none;
  }

  /* Remove any dropdown arrows/carets */
  .usa-nav__primary button[aria-expanded=false] span::after {
    display: none !important;
  }
  .usa-nav__primary .usa-accordion__button span {
    padding-right: 0 !important;
  }
  .usa-header--extended .usa-nav__primary-item>.usa-current {
        color: #1A4480;
  }

  .usa-nav__primary button[aria-expanded=true] span::after{content:none;}
  
  /* Ensure active buttons keep underline when expanded/hovered */
  .usa-header--extended .usa-nav__primary .usa-nav__primary-item button[aria-expanded=true]::after {
        content: "";
        color: #1A4480;
        top: auto;
        left: 4px;
        right: 4px;
        bottom: 0;
        width: auto !important;
        height: 6px !important;
        border-radius: 0 !important;
        position: absolute;
        background-color: #1A4480;
    }

  .usa-header--extended .usa-nav__primary-item>.usa-current::after, 
  .usa-header--extended .usa-nav__primary-item>.usa-nav__link:hover::after,
  .usa-header--extended .usa-nav__primary .usa-nav__primary-item button[aria-expanded=true]::after {
        content: "";
        color: #1A4480;
        height: 6px;
        left: 4px;
        right: 4px;
        bottom: 0;
    }

  /* Fix for active items losing underline when expanded - ultra-specific override */
  .usa-header--extended .usa-nav__primary .usa-nav__primary-item button.usa-current[aria-expanded=true]::after,
  .usa-header--extended .usa-nav__primary .usa-nav__primary-item button.usa-current[aria-expanded=false]::after,
  .usa-header--extended .usa-nav .usa-nav__primary .usa-nav__primary-item button.usa-current[aria-expanded=true]::after,
  .usa-header--extended .usa-nav .usa-nav__primary .usa-nav__primary-item button.usa-current[aria-expanded=false]::after {
        content: "" !important;
        position: absolute !important;
        top: auto !important;
        bottom: -1px !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        height: 6px !important;
        border-radius: 0 !important;
        background-color: #1A4480 !important;
        color: #1A4480 !important;
        display: block !important;
    }

  ul.usa-nav__primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .usa-header--extended .usa-nav__inner {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
  .usa-header--extended .usa-nav__primary {
    margin-left: 0;
    padding: .7rem 0;
  }
  .usa-header--extended .usa-nav__primary::after {
    content: none;
  }
  .usa-header--extended .usa-nav {
    border-top: none;
    float: none;
  }

  /* Navigation JS states */
  /* Dropdown menu styling based on Figma design */
  .usa-nav__submenu {
    background-color: #fcfcfc;
    border: 2px solid #112f4e; /* 2px border as shown in Figma */
    border-radius: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 10rem;
    width: auto;
    z-index: 1000;
    text-wrap: nowrap;
    white-space: none;
    /*display: none;  Hidden by default, shown on hover/click */
    padding: 0.5rem;
    /* flex-direction: column; */
    &::before {
      border-bottom: 9px solid #112F4E;
      border-left: 9px solid rgba(0, 0, 0, 0);
      border-right: 9px solid rgba(0, 0, 0, 0);
      content: "";
      display: inline-block;
      left: 5%;
      position: absolute;
      top: -9px;
    }
    &::after{
        border-bottom: 10px solid #FFFFFF;
        border-left: 9px solid rgba(0, 0, 0, 0);
        border-right: 9px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        left: 5%;
        position: absolute;
        top: -7px;
    }
  }
  .usa-nav__primary-item:last-child .usa-nav__submenu {
    left: auto;
    right: 0;
    &::before{
      left: 78%;
    }
    &::after{
      left: 78%;
    }
  }

  /* Show dropdown when parent is hovered or has menu-open class - let USWDS handle display */

  .usa-nav__submenu-item {
    border-bottom: none; /* Remove individual item borders */
  }

  .usa-nav__submenu-item:last-child {
    border-bottom: none;
  }

  .usa-nav__submenu .usa-nav__submenu-item a {
    padding: 10px 12px !important; /* py-2.5 (10px) px-3 (12px) from Figma - override USWDS */
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px !important;
    color: #2d2e2f !important; 
    text-decoration: none;
  }

  .usa-nav__submenu .usa-nav__submenu-item a:hover,
  .usa-nav__submenu .usa-nav__submenu-item a:active {
    background-color: #005EA2;
    color: white !important;
    text-decoration: none;
  }

  /* Ensure dropdown parent items are positioned relatively */
  .usa-nav__primary-item {
    position: relative;
  }

  .footer-columns .usa-accordion__heading {
    display: none;
  }
  
  .footer-title {
    display: block;
  }
  
  .footer-links.usa-accordion__content {
    display: flex !important;
  }

  .footer-link {
    display: block;
  }
  .footer-link i {
    padding-left: 10px;
  }

}

@media (max-width: 47.99em) {

  [class*="desktop:grid-col-9"] .component-cta-bar .quick-links-section {
    left: 50%; 
    right: 50%;
    padding: 32px 20px;
  }
  .quick-links-section:not(.component-cta-bar .quick-links-section) {
    left: 50%;
    right: 50%;
    margin-bottom: 1rem;
  }

  .quick-links-section {
    padding: 32px 20px;
  }

  .quick-links-heading {
    font-size: 22px;
    line-height: 1.5;
  }
  
  
  .quick-link-text {
    font-size: 1rem;
    font-weight: 400;
    text-decoration: underline;
  }

  .quick-link-icon {
    width: 48px; 
    height: 48px;
  }

  .quick-link-cta {
    width: 163px;
  }

  h1.publication-detail-title, h1.audit-detail-title {
  margin: 8px 0 24px;
  font-size: 26px;
}

  .related-publications {
    padding: 1rem;
    gap: 1rem;
  }
  
  .related-publications-heading {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .related-publications-item a {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .component-feature {
    margin: 1rem 0;
    gap: 1rem;
  }
}
.hero-buttons .display-flex {
    .light-primary-btn {
      margin-right: 0;
    }
}
@media (max-width: 800px) {
  .hero-buttons .display-flex {
    flex-direction: column;
  }
}
@media (max-width: 767px) {

  .card .arrow-icon {
    display: flex;
    font-size: 24px;
  }

  .most-accessed {
    grid-template-columns: repeat(1, 1fr);
  }

  a.light-primary-btn{
    display: flex;
    justify-content: center;
    margin: 0 0 24px 0;
  }
  a.light-primary-btn:last-child {
    margin: 0;
  }
  .search-icon .fas{
    margin-right: 0;
  }

  .search-icon{
    padding:0;
  }

  .icon-background {
    height: 48px;
    width: 48px;
    font-size: 0.5rem;
  }

  .share-widget {
    gap: 16px;
  }
  
  .social-icons {
    gap: 16px;
  }
  
  .icon-circle {
    width: 40px;
    height: 40px;
  }
  
  .icon-circle i {
    font-size: 20px;
  }

  .hidden-mobile {
    display: none;
  }

  .notification-content {
    padding:  10px 20px 16px;
    text-align: left;
  }

  .utility-nav {
    display: none;
  }

  .utility-nav-mobile {
    margin-bottom:  32px;
  }
  
  .utility-nav-mobile .utility-links {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .utility-nav-mobile .utility-link-item {
    text-align: left;
  }
  
  .utility-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-header-content {
    padding: 1.5rem 0.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .header-search-mobile {
    padding: 0 15px 16px;
  }
  
  .session-info {
    display: none;
  }
  
  .logo-image {
    width: 75px;
  }
  
  .site-title {
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    padding-top: 25px;
  }
  
  /* Mobile menu button styling */
  .usa-menu-btn {
    float:right;
    color: #FCFCFC;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    background: rgb(0, 94, 162);
    padding: 8px 16px;
    border: none;
    align-items: center;
    font-family: 'PT Sans', sans-serif;
    text-transform: none;
    height: auto;
    border: 1px solid transparent;
    line-height: 24px;
  }

  .quick-links-container {
    gap: 24px;
  }

  .usa-menu-btn i {
    margin-right: 8px;
  }
  
  .usa-menu-btn:hover {
    background-color: #002d50;
    border-color: #002643;
  }
  
  .usa-menu-btn:active {
    background-color: #002643;
    border-color: #001f36;
    text-decoration: none;
  }
  
  .main-footer-content {
    padding: 0 20px;
  }
  
  .footer-columns {
    /* grid-template-columns: 1fr;
    gap: 32px; */
    padding: 8px 0;
  }
  
  .bottom-footer-content {
    padding: 20px;
  }
  
  .bottom-footer-links {
    flex-direction: initial;
    gap: 24px 24px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    padding: 0;
  }
  .footer-columns {
    display: block;
  }
  
  .footer-column {
    gap: 0;
    margin-bottom: 2px;
    padding: 0;
  }
  
  .footer-column:last-child {
    border-bottom: none;
  }
  
  /* Hide desktop footer titles on mobile */
  .footer-title {
    display: none;
  }
  
  /* Show accordion headings and buttons on mobile */
  .footer-columns .usa-accordion__heading {
    display: block;
    margin: 0;
  }
  
  .footer-content .usa-accordion__button {
    width: 100%;
    background: none;
    background-color: #1A4480;
    border: none;
    text-align: left;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    line-height: 27px;
  }

  .footer-content .usa-accordion__button::before {
    font: var(--fa-font-regular);
    content: "\f105";
    font-size: 24px;
    float: left;
    position: relative;
    margin-top: 0px;
    margin-right: 20px;
  }
  
  .footer-content .usa-accordion__button:hover {
    color: #fcfcfc;
    background-color: #1A4480;
    background-image: none;
  }

  .footer-content .usa-accordion__button:hover::before, .footer-content .usa-accordion__button[aria-expanded=true]::before {
    transform: rotate(90deg);
  }

  .footer-content .usa-accordion__button[aria-expanded=false], .footer-content .usa-accordion__button[aria-expanded=false]:hover {
    background-image: none;
  }
  .footer-content .usa-accordion__button[aria-expanded=false], .footer-content .usa-accordion__button[aria-expanded=false]:hover::before {
    transform: rotate(0deg);
}
  
  .footer-content .usa-accordion__button[aria-expanded="true"]:after {
        content: none;
    }
  
  .footer-content .usa-accordion__button[aria-expanded="true"]:after {
    content: none;
  }
  
  .footer-links{
    padding: 0 20px;
  }

  .footer-links.usa-accordion__content {
    display: block;
    padding: 0;
    margin: 0 0 2.5rem;
  }
  
  /* Hidden accordion content */
  .footer-links.usa-accordion__content[hidden] {
    display: none !important;
  }
  
  .footer-links.usa-accordion__content.accordion-expanded {
    display: block;
  }
  
  .footer-links.usa-accordion__content[aria-hidden="false"] {
    display: block;
  }
  
  /* Contact column should not be an accordion on mobile */
  .footer-contact .usa-accordion__heading {
    display: none;
  }
  
  .footer-contact .footer-title {
    display: block !important;
  }
  
  .footer-contact .footer-links {
    display: block !important;
  }
  .footer-contact {
    gap: 0;
    margin-bottom: 0;
  }

  .footer-logo {
    padding: 1.5rem 0;
    justify-content: center;
    gap: 0px;
  }

  .footer-logo-image {
    float:left;
    margin-right: 12px;
    
  }

  .footer-logo-text {
    float:left;
  }

  .footer-divider {
    width: auto;
    margin: 0 20px;
    background-color: #1a4480;
  }

  .footer-contact-info {
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .footer-address {
    margin-top: 1.5rem;
  }
  .footer-address p {
    display: inline;
    margin: 0;
    text-align: center; 
  }
  .footer-address p:first-child::after {
    content: " | ";
  }

  .footer-link {
    margin: 1.5rem 20px 0;
    gap: 0;
  }

  .usa-hero {
    padding: 32px 20px;
  }
  
  .usa-hero .usa-hero__callout h1 {
    font-size: 32px;
    line-height: 48px;
  }
  
  .usa-hero .usa-hero__callout .field--name-body p {
    font-size: 18px;
    line-height: 27px;
  }

  .usa-hero--bg-image {
    height: 300px; /* Smaller height on tablets */
  }
  
  .usa-hero--bg-image .grid-container {
    padding: 32px 20px;
  }

  .usa-nav {
    width: 100%;
    padding: 0;
  }
  
    .usa-nav__primary button {
    padding: 8px 20px;
    font-size: 16px;
    line-height:24px;
    font-family: 'PT Sans', sans-serif;
    }
    .usa-nav__primary button:hover{
        color: #005ea2;
        background-color: #fff;
        text-decoration: none;
    }

    .usa-nav__primary-item {
        border-top: solid 1px #A9AEB1;
    }
  
    .usa-nav__primary {
        border-bottom: solid 1px #A9AEB1;
    }
    .usa-nav__primary button[aria-expanded=false] span::after {
        margin-right: 20px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font: var(--fa-font-solid);
        content: "\f078";
        background: none;
        mask: none;
        height: auto;
        width: auto;
    }
    .usa-nav__primary button[aria-expanded=true] span::after {
        margin-right: 20px;
        font: var(--fa-font-solid);
        content: "\f078";
        transform: rotate(180deg) translateY(8px);
        transform-origin: center;
        background: none;
        mask: none;
        height: auto;
        width: auto; 
}
    .usa-nav__close {
        height: 24px;
        width: 24px;
        margin: 2rem 1.5rem;
    }
    .usa-nav__submenu-item {
        border-top: 0;
        font-size: 16px;
        color: #212529;
    }
    .usa-nav__submenu li:first-child {
        border-top: solid 1px #A9AEB1;
    }

    .usa-nav__primary .usa-current,
    .usa-nav__primary button.usa-current[aria-expanded],
    .usa-nav__primary button.usa-current[aria-expanded=true],
    .usa-nav__primary button.usa-current[aria-expanded=false] {
        color: #005EA2;
        font-weight: 700;
        text-decoration: underline;
        text-decoration-thickness: 6px;
        text-underline-offset: 10px;
    }
    .usa-nav__primary .usa-current::after {
        content: none;
    }
}
@media (max-width: 639px) {
  .quick-links-section {
    margin-bottom: -2rem;
  }
}
@media (max-width: 480px) {
  .usa-hero {
    padding: 24px 16px;
  }
  
  .usa-hero .usa-hero__callout h1 {
    font-size: 28px;
    line-height: 42px;
  }
  
  .usa-hero .usa-hero__callout .field--name-body p {
    font-size: 16px;
    line-height: 24px;
  }

  .usa-hero--bg-image {
    height: 250px; /* Even smaller height on mobile */
  }
  
  .usa-hero--bg-image .grid-container {
    padding: 24px 16px;
  }
}

/* Extra small screens - 440px and below */
@media (max-width: 440px) {
  .site-title {
    font-size: 18px;
    line-height: 24px;
    width: 200px;
    white-space: normal; /* Allow wrapping at small sizes */
    word-spacing: 100vw; /* Force words to stack by adding large word spacing */
    padding-top: 0;
  }
}

/* Social Share Widget Styling */
.share-widget {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'PT Sans', sans-serif;
}

.share-label {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.024px;
  color: #474747;
  margin: 0;
  white-space: nowrap;
}

.social-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-circle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #005ea2;
}

.icon-circle i {
  font-size: 24px;
  color: #005ea2;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover state */
.social-icon:hover .icon-circle {
  background-color: #E6E6E6;
  border-color: #0B4778;
}

.social-icon:hover .icon-circle i {
  color: #0B4778;
}

/* Active state */
.social-icon:active .icon-circle {
  background-color: #E6E6E6;
  border-color: #112F4E;
}

.social-icon:active .icon-circle i {
  color: #112F4E;
}

/* Individual icon positioning adjustments */
.social-icon.email .icon-circle i {
  position: relative;
  left: 0.5px;
}

.social-icon.facebook .icon-circle i {
  position: relative;
  left: 0.5px;
}

.usa-pagination__button {
  color: #005ea2;
  text-decoration: none;
  border-color: #005EA2;
  font-family: 'PT Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0;
  width: 3rem;
  height: 3rem;
}

.usa-pagination__button:hover {
  border-color: #0B4778;
  color: #0B4778;
}
.usa-pagination__button:active {
  border-color: #112F4E;
  color: #112F4E;
}
.usa-pagination__button:focus-visible {
  outline: 4px solid #2491FF;
}

.usa-pagination__item {
  font-family: 'PT Sans', sans-serif;
}

/* Two-row layout: page numbers on top, prev/next below */
.usa-pagination.usa-pagination--custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Page numbers row */
.usa-pagination__list--numbers {
  justify-content: center;
}

/* Previous/Next buttons row */
.usa-pagination__list--nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Previous/Next button styling to match Figma */
.usa-pagination__list--nav .usa-pagination__link {
  background-color: #fcfcfc;
  color: #005ea2;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  border: 0;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;

}

.usa-pagination__list--nav .usa-pagination__link:hover {
  background-color: transparent;
  color: #0B4778;
  text-decoration: none;
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-wrapper table {
  width: 100%;
  min-width: 900px; 
}

/* Add external link icon to links in main navigation */
.usa-nav a[href^="http"]::after,
.usa-nav a[href^="https"]::after {
  content: "\f08e";
  font: var(--fa-font-regular);
  margin-left: 0.35rem;
  font-size: 0.875em;
  vertical-align: baseline;
  display: inline-block;
}

/* Exclude internal domains - no external icon 
Update this list with any domain that we want to consider internal
This list needs to match the list in the preprocess function uswds_child.theme */
.usa-nav a[href*="leg.colorado.gov"]::after,
.usa-nav a[href*="content.leg.colorado.gov"]::after,
.usa-nav a[href*="cogar-staging.denvertech.org"]::after,
.usa-nav a[href*="content.staging.leg.colorado.gov"]::after,
.usa-nav a[href*="leg.state.co.us"]::after,
.usa-nav a[href^="/"]::after,
.usa-nav a[href*="coleg.gov"]::after,
.usa-nav a[href^="#"]::after {
  content: none;
  display: none;
}

.block-views-exposed-filter-blockbudget-documents-overview-block-1 .usa-label {
  margin-top: 0;
}
