/* Iris Government theme extras (on top of uswds-lite.css) */

/* Skip link: off-screen until keyboard focus (USWDS pattern). */
.usa-skipnav {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--primary, #005ea2);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.15s ease-in-out;
}
.usa-skipnav:focus,
.usa-skipnav:focus-visible {
  transform: translateY(0);
  outline: 0.25rem solid var(--accent-warm, #fa9441);
  outline-offset: 0.15rem;
}

/* Logged-in Drupal chrome should not break the landing layout. */
.iris-gov .tabs,
.iris-gov .tabs-primary,
.iris-gov nav.tabs {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.iris-page-node {
  /* Body HTML from Full HTML already contains section markup. */
  display: contents;
}

/* Hide empty Drupal messages region spacing when unused */
.page > .layout-container {
  display: contents;
}

/* User login / password forms — centered card layout */
#main-content:has(.user-login-form),
#main-content:has(.user-pass) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(50vh, 28rem);
  padding: 3rem 1.25rem 4rem;
}

.user-login-form,
.user-pass {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.user-login-form .form-item,
.user-pass .form-item {
  margin: 0 0 1.25rem;
}

.user-login-form .usa-input,
.user-login-form input[type="text"],
.user-login-form input[type="password"],
.user-pass .usa-input,
.user-pass input[type="text"],
.user-pass input[type="email"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.user-login-form .form-actions,
.user-pass .form-actions {
  margin-top: 0.5rem;
}

/* Contact webform — match website-guide .usa-form layout */
.iris-contact-form-wrap {
  max-width: 38rem;
}
.iris-contact-webform .form-item,
.iris-contact-webform .js-form-item {
  margin: 0 0 1.25rem;
}
.iris-contact-webform label.usa-label,
.iris-contact-webform .usa-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.iris-contact-webform .usa-hint,
.iris-contact-webform .description {
  display: block;
  font-size: 0.9rem;
  color: var(--base-dark, #565c65);
  margin: 0.25rem 0 0.4rem;
}
.iris-contact-webform .usa-input,
.iris-contact-webform .usa-select,
.iris-contact-webform .usa-textarea,
.iris-contact-webform input[type="text"],
.iris-contact-webform input[type="email"],
.iris-contact-webform select,
.iris-contact-webform textarea {
  width: 100%;
  max-width: 100%;
}
.iris-contact-webform .form-required::after,
.iris-contact-webform .required::after {
  content: none;
}
.iris-contact-note {
  font-size: 0.85rem;
  color: var(--base-dark, #565c65);
  margin-top: 1rem;
}
.iris-contact-webform .form-actions {
  margin-top: 0.5rem;
}

/* Honeypot — keep off-screen (accessibility: not a CAPTCHA) */
.iris-contact-webform .honeypot-container,
.iris-contact-webform .js-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/*
 * Button / link contrast:
 * .page a { color: var(--primary) } beats .usa-button { color: #fff }.
 * Force white text on filled primary buttons (and keep outline buttons blue).
 */
.page a.usa-button,
.page a.usa-button:link,
.page a.usa-button:visited,
.page a.usa-button:hover,
.page a.usa-button:active,
.page a.usa-button:focus,
.page button.usa-button,
.page input.usa-button,
.page .usa-button.cap-btn {
  color: #fff;
}

.page a.usa-button--outline,
.page a.usa-button--outline:link,
.page a.usa-button--outline:visited {
  color: var(--primary, #005ea2);
}

.page a.usa-button--outline:hover,
.page a.usa-button--outline:focus {
  color: var(--primary-dark, #1a4480);
}

.page .section--ink a.usa-button--outline,
.page .section--ink a.usa-button--outline:link,
.page .section--ink a.usa-button--outline:visited,
.page .section--ink a.usa-button--outline:hover,
.page .hero a.usa-button--outline,
.page .hero a.usa-button--outline:link,
.page .hero a.usa-button--outline:visited,
.page .hero a.usa-button--outline:hover {
  color: #fff;
}

/* Brand logo lockup (export 2 uses .brand-mark text; we keep SVG) */
.brand-logo {
  display: block;
  height: auto;
  width: min(280px, 58vw);
  max-width: 100%;
}
@media (max-width: 640px) {
  .brand-logo {
    width: min(220px, 65vw);
  }
}

/* Organized footer identifier bar (req3.md entity block) */
.footer-base-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem 1.25rem;
}
.footer-entity {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 40rem;
}
.footer-entity p {
  margin: 0 0 0.55rem;
}
.footer-entity p:last-child {
  margin-bottom: 0;
}
.footer-entity__name {
  font-size: 0.95rem;
}
.footer-entity__ids {
  color: #dfe1e2;
}
.footer-entity__contact a,
.footer-entity__links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.footer-entity__contact a:hover,
.footer-entity__links a:hover {
  color: #fa9441;
}
.footer-base-copy {
  margin: 0.35rem 0 0;
  color: #a9aeb1;
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-base-copy {
    text-align: right;
  }
}
@container page (min-width: 40rem) {
  .footer-base-copy {
    text-align: right;
  }
}
@container page (min-width: 64rem) {
  .footer-base-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0.85rem 1.5rem;
  }
  .footer-base-copy {
    margin-top: 0;
    text-align: right;
    align-self: end;
  }
}

/* Contact direct table (req3.md) */
.iris-contact-direct {
  width: 100%;
  margin: 0 0 1.5rem;
  border-collapse: collapse;
}
.iris-contact-direct th,
.iris-contact-direct td {
  padding: 0.45rem 0.75rem 0.45rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--base-lighter, #dfe1e2);
}
.iris-contact-direct th {
  width: 7rem;
  color: var(--base-dark, #565c65);
  font-weight: 600;
}
.section--contact-intro {
  padding-top: 2.5rem;
}

/* Full-bleed photo heroes (royalty-free Unsplash assets in images/heroes/) */
.hero.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--primary-darker, #162e51);
  color: #fff;
  padding: 3rem 0;
  min-height: clamp(18rem, 42vw, 28rem);
  display: flex;
  align-items: center;
}
.hero.hero--photo .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(22, 46, 81, 0.92) 0%, rgba(22, 46, 81, 0.78) 48%, rgba(22, 46, 81, 0.55) 100%),
    linear-gradient(to top, rgba(22, 46, 81, 0.55), transparent 45%);
}
.hero.hero--photo .gc,
.hero.hero--photo .hero-content {
  position: relative;
  z-index: 2;
}
.hero.hero--photo .overline {
  color: #dfe1e2;
}
.hero.hero--photo .display {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.hero.hero--photo .lead,
.hero.hero--photo .prose {
  color: #e6eef7 !important;
}
.hero.hero--photo .prose a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
@container page (min-width: 40rem) {
  .hero.hero--photo {
    padding: 4.25rem 0;
  }
}

/* Ink/hero outline buttons stay light on dark */
.page .section--ink a.usa-button--outline,
.page .hero a.usa-button--outline {
  border-color: #fff;
}

/* —— Teaming page + homepage engage block (req4.md) —— */
.teaming-split {
  display: grid;
  gap: 2rem;
}
.teaming-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  max-width: 40rem;
}
.teaming-list li {
  margin: 0.55rem 0;
  line-height: 1.45;
}
.teaming-credit {
  background: var(--gray-2, #f0f0f0);
  border: 1px solid var(--base-light, #dfe1e2);
  padding: 1.25rem 1.35rem 1.5rem;
  align-self: start;
}
.teaming-credit .iris-data-table,
.teaming-credit .usa-table {
  margin: 0.75rem 0 0;
  border: 0;
}
.teaming-credit .usa-table th,
.teaming-credit .usa-table td {
  border-color: var(--base-light, #dfe1e2);
  padding: 0.55rem 0.65rem;
  font-size: 0.92rem;
}
.teaming-prime-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
}
.teaming-deadline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.25rem 1.35rem 1.4rem;
}
.teaming-deadline h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.15rem;
}
.teaming-deadline ul {
  margin: 0.75rem 0;
  padding-left: 1.15rem;
  color: #dfe1e2;
}
.teaming-deadline li {
  margin: 0.4rem 0;
}
.teaming-deadline-note {
  margin: 1rem 0 0;
  color: #c9d6e5;
  font-size: 0.92rem;
}
.teaming-columns {
  display: grid;
  gap: 2rem;
}
.section--teaming-start {
  background: var(--gray-2, #f0f0f0);
  border-top: 1px solid var(--base-light, #dfe1e2);
}
.teaming-start {
  display: grid;
  gap: 1.5rem;
}
.teaming-disclaimer {
  max-width: 44rem;
  margin: 0;
  color: var(--base-dark, #565c65);
  font-size: 0.9rem;
  line-height: 1.5;
}
.section--home-teaming .teaming-home-panel {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--gray-2, #f0f0f0);
  border: 1px solid var(--base-light, #dfe1e2);
}
.teaming-home-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.teaming-home-panel p {
  margin: 0 0 1rem;
  max-width: 36rem;
}
.teaming-home-points {
  margin: 0;
  padding-left: 1.15rem;
  align-self: center;
}
.teaming-home-points li {
  margin: 0.4rem 0;
}
@container page (min-width: 48rem) {
  .teaming-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.9fr);
    align-items: start;
  }
  .teaming-prime-grid {
    grid-template-columns: 1.15fr 0.95fr;
  }
  .teaming-columns {
    grid-template-columns: 1fr 1fr;
  }
  .section--home-teaming .teaming-home-panel {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}


