.ilwu-voter-registration-graphic {
  margin: 0 0 2.25rem;
}

.ilwu-voter-registration-graphic img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-node-1597 .field--name-body > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 2.25rem;
}

.page-node-1597 .field--name-body > h2 {
  margin-bottom: .75rem;
}

.page-node-1597 .field--name-body > a[href^="#endorsement-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 .45rem .55rem 0;
  padding: .55rem 1rem;
  border: 1px solid #c8d3e2;
  border-radius: 4px;
  color: #073b73;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.page-node-1597 .field--name-body > a[href^="#endorsement-"]:focus,
.page-node-1597 .field--name-body > a[href^="#endorsement-"]:hover,
.page-node-1597 .field--name-body > a[href^="#endorsement-"].is-active {
  background: #ffd800;
  border-color: #ffd800;
  color: #073b73;
}

.page-node-1597 .ilwu-endorsement-tab-panel[hidden] {
  display: none !important;
}

.page-node-1597 .field--name-body h3 {
  margin: 1.75rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 6px 6px 0 0;
  color: #fff;
  background: #073b73;
  border-bottom: 6px solid #ffd800;
}

.page-node-1597 .field--name-body h3 + p {
  margin: 0 0 1rem;
  padding: .75rem 1.1rem;
  border-right: 1px solid #dbe3ee;
  border-bottom: 1px solid #dbe3ee;
  border-left: 1px solid #dbe3ee;
  color: #42526b;
  font-weight: 700;
  background: #f8fafc;
}

.page-node-1597 .field--name-body h4 {
  margin: 1.1rem 0 0;
  padding: .7rem .9rem;
  border: 1px solid #dbe3ee;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  color: #073b73;
  font-size: 1.1rem;
  line-height: 1.2;
  background: #f4f7fb;
}

.page-node-1597 .field--name-body table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  border: 1px solid #dbe3ee;
  table-layout: fixed;
}

.page-node-1597 .field--name-body table th,
.page-node-1597 .field--name-body table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid #e4eaf2;
  vertical-align: top;
  line-height: 1.35;
  background: #fff !important;
}

.page-node-1597 .field--name-body table tr:nth-child(even) th,
.page-node-1597 .field--name-body table tr:nth-child(even) td {
  background: #fbfcfe !important;
}

.page-node-1597 .field--name-body table tr:last-child th,
.page-node-1597 .field--name-body table tr:last-child td {
  border-bottom: 0;
}

.page-node-1597 .field--name-body table th {
  width: 48%;
  color: #42526b !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.page-node-1597 .field--name-body table td {
  color: #061f3f !important;
  font-size: 1.03rem;
  font-weight: 700;
}

.page-node-1597 .field--name-body table + h4 {
  margin-top: 1.25rem;
}

.page-node-1597 .field--name-body p:has(strong:first-child) {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border-left: 5px solid #ffd800;
  color: #061f3f;
  background: #fffbea;
}

.ilwu-endorsement-section {
  margin: 0 0 2.5rem;
  padding-top: .5rem;
}

.ilwu-endorsement-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0 1.5rem;
}

.ilwu-endorsement-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid #c8d3e2;
  border-radius: 4px;
  color: #073b73;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.ilwu-endorsement-tabs a:focus,
.ilwu-endorsement-tabs a:hover {
  background: #ffd800;
  border-color: #ffd800;
  color: #073b73;
}

.ilwu-endorsement-panel {
  display: none;
  margin: 0 0 1.75rem;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 59, 115, .06);
  overflow: hidden;
}

.ilwu-endorsement-section:not(:has(.ilwu-endorsement-panel:target)) #endorsement-hawaii,
.ilwu-endorsement-panel:target {
  display: block;
}

.ilwu-endorsement-panel header {
  padding: 1.1rem 1.25rem;
  color: #fff;
  background: #073b73;
  border-bottom: 6px solid #ffd800;
}

.ilwu-endorsement-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.ilwu-endorsement-panel header p {
  margin: .35rem 0 0;
  color: #fff;
  font-weight: 700;
}

.ilwu-endorsement-body {
  padding: 1.25rem;
}

.ilwu-endorsement-grid {
  display: grid;
  gap: 1.15rem;
}

.ilwu-endorsement-group {
  min-width: 0;
}

.ilwu-endorsement-group h4 {
  margin: 0;
  padding: .7rem .9rem;
  border: 1px solid #dbe3ee;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  color: #073b73;
  font-size: 1.1rem;
  line-height: 1.2;
  background: #f4f7fb;
}

.ilwu-endorsement-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 1px solid #dbe3ee;
  table-layout: fixed;
}

.ilwu-endorsement-table th,
.ilwu-endorsement-table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid #e4eaf2;
  vertical-align: top;
  line-height: 1.35;
}

.ilwu-endorsement-table tr:nth-child(even) th,
.ilwu-endorsement-table tr:nth-child(even) td {
  background: #fbfcfe;
}

.ilwu-endorsement-table tr:last-child th,
.ilwu-endorsement-table tr:last-child td {
  border-bottom: 0;
}

.ilwu-endorsement-table th {
  width: 48%;
  color: #42526b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.ilwu-endorsement-table td {
  color: #061f3f;
  font-size: 1.03rem;
  font-weight: 700;
}

.ilwu-endorsement-note {
  margin: 1.25rem 0 0;
  padding: .85rem 1rem;
  border-left: 5px solid #ffd800;
  color: #061f3f;
  background: #fffbea;
}

.ilwu-back-to-tabs {
  margin: 1rem 0 0;
}

.ilwu-back-to-tabs a {
  color: #073b73;
  font-weight: 700;
}

@media (min-width: 820px) {
  .ilwu-endorsement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilwu-endorsement-group.is-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .ilwu-endorsement-tabs {
    display: grid;
  }

  .ilwu-endorsement-table,
  .ilwu-endorsement-table tbody,
  .ilwu-endorsement-table tr,
  .ilwu-endorsement-table th,
  .ilwu-endorsement-table td {
    display: block;
    width: 100%;
  }

  .ilwu-endorsement-table th {
    padding-bottom: .15rem;
    border-bottom: 0;
  }

  .ilwu-endorsement-table td {
    padding-top: 0;
  }

  .page-node-1597 .field--name-body > a[href^="#endorsement-"] {
    display: flex;
    width: 100%;
  }

  .page-node-1597 .field--name-body table,
  .page-node-1597 .field--name-body table tbody,
  .page-node-1597 .field--name-body table tr,
  .page-node-1597 .field--name-body table th,
  .page-node-1597 .field--name-body table td {
    display: block;
    width: 100%;
  }

  .page-node-1597 .field--name-body table th {
    padding-bottom: .15rem;
    border-bottom: 0;
  }

  .page-node-1597 .field--name-body table td {
    padding-top: 0;
  }
}
