.webform-container .webform-container-type-details .js-form-wrapper .form-wrapper {
  font-size: 16pt;
}

.webform-submission-form .form-item input,
.webform-submission-form .form-item textarea,
.webform-submission-form .form-item select {
  color: black;
}

/* Fix GoWilds link-hover overriding button text inside Views tables. */
.views-table a.btn-theme,
.views-table a.btn-theme:visited,
.views-table a.btn-theme:hover,
.views-table a.btn-theme:focus,
.views-table a.btn-theme:active {
  color: #fff !important;
  text-decoration: none;
}

.views-table a.btn-theme:hover,
.views-table a.btn-theme:focus {
  color: #fff !important;
}

.dashboard-block-slot {
  width: 100%;
  overflow-x: auto;
}

.dashboard-block-slot canvas,
.dashboard-block-slot svg {
  max-width: 100% !important;
}

.hr-eforms-page {
  --govi-blue: #003f7d;
  --govi-blue-dark: #002b55;
  --govi-blue-light: #eef6ff;
  --govi-gold: #f5b335;
  --text-dark: #1f2937;
  --text-muted: #5f6b7a;
  --border: #d9e2ec;
  --white: #ffffff;
  --success: #177245;
  --warning: #946200;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  color: var(--text-dark);
}

.hr-eforms-container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.hr-eforms-hero {
  background:
    radial-gradient(circle at top right, rgba(245, 179, 53, 0.25), transparent 30%),
    linear-gradient(135deg, var(--govi-blue-dark), var(--govi-blue));
  color: var(--white);
  padding: 72px 0 96px;
}

.hr-eforms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.hr-eforms-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--govi-gold);
}

.hr-eforms-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hr-eforms-hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
}

.hr-eforms-actions,
.hr-eforms-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hr-eforms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hr-eforms-btn:hover,
.hr-eforms-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  text-decoration: none !important;
}

.hr-eforms-btn-primary,
.hr-eforms-btn-primary:visited,
.hr-eforms-btn-primary:hover,
.hr-eforms-btn-primary:focus,
.hr-eforms-btn-primary:active {
  background: var(--govi-gold);
  color: #1f2937 !important;
}

.hr-eforms-btn-secondary,
.hr-eforms-btn-secondary:visited,
.hr-eforms-btn-secondary:hover,
.hr-eforms-btn-secondary:focus,
.hr-eforms-btn-secondary:active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.34);
}

.hr-eforms-section {
  padding: 76px 0;
}

/*
 * This used to pull application cards upward into the hero.
 * With one application, the pull effect causes the heading to sit under the blue hero.
 * Keep the class harmless in case it still exists in the Drupal page markup.
 */
.hr-eforms-section-pull {
  margin-top: 0 !important;
  padding-top: 76px !important;
  transform: none !important;
}

#hr-applications {
  margin-top: 0 !important;
  padding-top: 76px !important;
  position: relative;
  z-index: 1;
  background: var(--white);
}

.hr-eforms-heading {
  margin-bottom: 32px;
}

.hr-eforms-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--govi-blue-dark);
}

.hr-eforms-heading p {
  color: var(--text-muted);
  margin: 10px 0 0;
  max-width: 760px;
}

/* Single application layout. */
.hr-eforms-cards {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  gap: 22px;
  margin-top: 32px;
}

.hr-eforms-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.hr-eforms-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--govi-blue), var(--govi-gold));
}

.hr-eforms-status {
  align-self: flex-start;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hr-eforms-status-popular {
  color: var(--govi-blue);
  background: var(--govi-blue-light);
}

.hr-eforms-status-available {
  color: var(--success);
  background: #eaf7ef;
}

.hr-eforms-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--govi-blue-dark);
}

.hr-eforms-card p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.hr-eforms-card ul,
.hr-eforms-support-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.hr-eforms-card li {
  display: flex;
  gap: 9px;
  margin-bottom: 8px;
}

.hr-eforms-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.hr-eforms-card-actions {
  margin-top: auto;
}

.hr-eforms-btn-card,
.hr-eforms-btn-card:visited,
.hr-eforms-btn-card:hover,
.hr-eforms-btn-card:focus,
.hr-eforms-btn-card:active {
  background: var(--govi-blue);
  color: var(--white) !important;
}

.hr-eforms-btn-outline,
.hr-eforms-btn-outline:visited,
.hr-eforms-btn-outline:hover,
.hr-eforms-btn-outline:focus,
.hr-eforms-btn-outline:active {
  border-color: var(--border);
  color: var(--govi-blue-dark) !important;
  background: var(--white);
}

.hr-eforms-info-band {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
}

.hr-eforms-info-band h3 {
  margin: 0 0 8px;
  color: var(--govi-blue-dark);
  font-size: 1.35rem;
}

.hr-eforms-info-band p {
  margin: 0;
  color: var(--text-muted);
}

.hr-eforms-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hr-eforms-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.hr-eforms-faq-item h3 {
  color: var(--govi-blue-dark);
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hr-eforms-faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.hr-eforms-support {
  background: var(--govi-blue-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hr-eforms-support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-shadow: var(--shadow);
}

.hr-eforms-support-card h2 {
  margin: 0 0 10px;
  color: var(--govi-blue-dark);
}

.hr-eforms-support-card p,
.hr-eforms-support-card li {
  color: var(--text-muted);
}

.hr-eforms-support-card li {
  margin-bottom: 10px;
}

.hr-eforms-support-card strong {
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .hr-eforms-cards,
  .hr-eforms-faq-grid,
  .hr-eforms-info-band,
  .hr-eforms-support-card {
    grid-template-columns: 1fr;
  }

  .hr-eforms-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hr-eforms-hero {
    padding: 54px 0 72px;
  }

  .hr-eforms-section,
  .hr-eforms-section-pull,
  #hr-applications {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .hr-eforms-actions,
  .hr-eforms-card-actions {
    flex-direction: column;
  }

  .hr-eforms-btn {
    width: 100%;
  }
}
