/* 2026 accessibility and responsive upgrade. The original red/green visual system is preserved. */
:root {
  --bd-green: #578c41;
  --bd-green-dark: #3f6f2f;
  --bd-red: #b51f2e;
  --bd-red-dark: #8e1622;
  --bd-ink: #343434;
  --bd-muted: #686868;
  --bd-panel: #f5f6f3;
  --bd-border: #d7d9d4;
  --bd-white: #fff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  color: var(--bd-ink);
  min-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f2b705 !important;
  outline-offset: 3px;
}

.box {
  max-width: 978px;
  width: calc(100% - 32px);
}

#header {
  height: 136px;
  padding-top: 18px;
}

#header_left { position: relative; }

#logo {
  float: left;
  padding-top: 8px;
  width: min(540px, 64%);
}

#logo a {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
}

#logo img {
  display: block;
  height: auto;
  max-height: 82px;
  max-width: 100%;
  width: 426px;
}

#language_bar {
  align-items: center;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(36, 53, 31, 0.08);
  display: inline-flex;
  float: none;
  gap: 8px;
  left: auto;
  max-width: calc(100% - 12px);
  min-height: 44px;
  padding: 7px 10px;
  position: absolute;
  right: 0;
  top: 34px;
  margin: 0;
  border-radius: 7px;
  background: #fff;
  width: max-content;
}

#language_bar a {
  align-items: center;
  color: #333;
  display: inline-flex;
  float: none;
  font-size: 15px;
  line-height: 1.2;
  min-height: 28px;
  padding: 0;
  text-decoration: none;
}

#language_bar a:hover { text-decoration: underline; }

#language_bar img {
  display: block;
  float: none;
  height: 20px;
  margin: 0;
  object-fit: cover;
  width: 32px;
}

@media (min-width: 1001px) {
  html[lang="es"] #language_bar { right: 90px; }
}

@media (min-width: 1001px) and (max-width: 1040px) {
  html[lang="es"] #logo { width: min(400px, calc(100% - 235px)); }
}

#navigation {
  align-items: center;
  background: linear-gradient(180deg, #c92c3b 0%, #a81725 100%);
  border-radius: 4px;
  display: flex;
  height: auto;
  min-height: 44px;
  overflow: visible;
  position: relative;
}

#navigation > ul {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

#navigation li { background-position: left center; }

#navigation li a {
  align-items: center;
  display: flex;
  line-height: 1.25;
  min-height: 44px;
  padding: 0 22px;
  white-space: nowrap;
}

#navigation li a:hover,
#navigation li a:focus-visible { color: #d7efcf; }

#navigation .nav-cluster { position: relative; }

#navigation .nav-cluster summary {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  list-style: none;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

#navigation .nav-cluster summary::-webkit-details-marker { display: none; }

#navigation .nav-cluster summary::after {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  height: 6px;
  margin-top: -4px;
  transform: rotate(45deg);
  width: 6px;
}

#navigation .nav-cluster summary:hover,
#navigation .nav-cluster summary:focus-visible,
#navigation .nav-cluster details[open] > summary { color: #e3f2dd; }

#navigation .cluster-links {
  background: #fff;
  border: 1px solid #d5ddd2;
  border-radius: 0 0 9px 9px;
  box-shadow: 0 12px 24px rgba(29, 40, 27, 0.18);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  left: 0;
  padding: 10px;
  position: absolute;
  top: 100%;
  width: min(510px, calc(100vw - 32px));
  z-index: 50;
}

#navigation .nav-cluster details:not([open]) > .cluster-links { display: none; }

#navigation .cluster-links li {
  background: none;
  border: 0;
  float: none;
  flex: none;
  min-width: 0;
  width: auto;
}

#navigation .cluster-links a {
  align-items: center;
  border-radius: 5px;
  color: #384437;
  justify-content: flex-start;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 44px;
  padding: 10px 12px;
  text-align: left;
  white-space: normal;
}

#navigation .cluster-links a:hover,
#navigation .cluster-links a:focus-visible {
  background: #edf5e9;
  color: var(--bd-green-dark);
}

.menu-toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  font: 700 15px/1 Verdana, Arial, sans-serif;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  background: currentColor;
  border-radius: 1px;
  display: block;
  height: 2px;
  position: relative;
  width: 22px;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  left: 0;
  position: absolute;
}

.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }

#login {
  flex: 0 0 auto;
  float: none;
  height: auto;
  margin: 0 8px 0 0;
  width: auto;
}

.login-link {
  align-items: center;
  background: #fff;
  border-radius: 4px;
  color: var(--bd-red-dark) !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  white-space: nowrap;
}

#showcase,
#showcase_home {
  display: grid;
  float: none;
  grid-template-columns: 1fr 1.03fr;
  height: auto;
  min-height: 325px;
  overflow: hidden;
}

#showcase_left,
#showcase_right {
  float: none;
  height: auto;
  min-height: 325px;
  width: auto;
}

#showcase_left img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#showcase_right {
  align-items: center;
  background: linear-gradient(145deg, #5e9647 0%, #477d35 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 34px;
}

#showcase_right h2 {
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.25;
}

#form.application-cta {
  background: linear-gradient(180deg, #fff 0%, #f7f8f5 100%);
  border: 1px solid rgba(104, 133, 92, 0.35);
  border-top: 5px solid var(--bd-red);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(28, 58, 20, 0.2);
  box-sizing: border-box;
  color: var(--bd-ink);
  float: none;
  margin: 22px auto 0;
  max-width: 390px;
  min-height: 0;
  padding: 20px 22px 22px;
  text-align: center;
  width: 100%;
}

#form.application-cta h3 {
  color: var(--bd-red);
  font-size: clamp(20px, 2.2vw, 24px);
  font-style: normal;
  line-height: 1.2;
  margin: 0 0 16px;
  padding: 0;
}

#form.application-cta p {
  color: #555 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  padding: 9px 0 15px !important;
}

.primary-cta {
  align-items: center;
  background: linear-gradient(180deg, #c92c3b 0%, #9f1724 100%);
  border-radius: 5px;
  box-shadow: 0 3px 0 #76111b;
  color: #fff !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 10px 23px;
}

.primary-cta:hover { background: var(--bd-red-dark); }

.trust-note,
.contact-transparency,
.application-disclosure {
  background: #f7f8f5;
  border: 1px solid var(--bd-border);
  border-left: 5px solid var(--bd-green);
  border-radius: 5px;
  color: #555;
  font-size: 13px;
  line-height: 1.65;
  margin: 18px 0 24px;
  padding: 18px 20px;
}

.trust-note h2,
.contact-transparency h2,
.application-disclosure h2 {
  color: var(--bd-green-dark);
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.trust-note p,
.contact-transparency p,
.application-disclosure p { margin: 8px 0; }

.application-page {
  margin: 22px auto 0;
  max-width: 920px;
  padding: 0 0 30px;
}

.application-page > h1 {
  color: var(--bd-green-dark);
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.application-form-shell {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: 7px;
  min-height: 526px;
  overflow-x: hidden;
  padding: 8px;
  width: 100%;
}

.embed-fallback {
  background: #fff8e4;
  border: 1px solid #e6ca7a;
  color: #5c4b1e;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
  padding: 12px 14px;
}

.eeat-page {
  color: var(--bd-ink);
  margin: 26px auto 0;
  max-width: 920px;
  padding: 0 0 38px;
}

.eeat-page section { margin-top: 34px; }

.eeat-page h1,
.eeat-page h2,
.eeat-page h3 {
  color: var(--bd-green-dark);
  line-height: 1.25;
}

.eeat-page h1 { font-size: clamp(30px, 5vw, 42px); margin: 2px 0 12px; }
.eeat-page h2 { font-size: clamp(22px, 3.2vw, 28px); margin: 0 0 14px; }
.eeat-page h3 { font-size: 18px; margin: 0 0 8px; }

.entity-intro {
  background: linear-gradient(135deg, #f4f8f1 0%, #fff 70%);
  border: 1px solid var(--bd-border);
  border-left: 6px solid var(--bd-green);
  border-radius: 8px;
  margin-top: 0 !important;
  padding: 28px 30px;
}

.eyebrow {
  color: var(--bd-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.lead { font-size: 17px; line-height: 1.7; margin: 0; }
.reviewed { color: var(--bd-muted); font-size: 12px; margin: 14px 0 0; }

.entity-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entity-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(41, 63, 34, .08);
  min-width: 0;
  padding: 20px;
}

.entity-card p,
.company-facts p,
.data-transparency p,
.external-records p,
.consumer-resources p { font-size: 14px; line-height: 1.65; }

/* The legacy CRC artwork used fixed-width background slices and floats. */
#rightcol .crc-detail,
#rightcol .crc-detail .detail_mid,
#rightcol .crc-detail .detail_top,
#rightcol .crc-detail .detail_bottom {
  background: none;
  float: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

#rightcol .crc-detail { margin: 0 0 24px; }

#rightcol .CRCBlock {
  background: #f8faf7;
  border: 1px solid #d8e2d4;
  border-top: 4px solid var(--bd-green);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(30, 55, 28, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  width: 100%;
}

#rightcol .CRCBlock h3 {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#rightcol .CRCBlock a.imgLink {
  align-self: flex-start;
  float: none;
  margin: 0;
  max-width: 100%;
}

#rightcol .CRCBlock img {
  background: #fff;
  border: 1px solid #e2e6df;
  border-radius: 6px;
  display: block;
  height: auto;
  max-width: 100%;
  width: 210px;
}

#rightcol .CRCBlock p {
  color: #404a41;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

#rightcol .CRCBlock ul.crc-benefits {
  display: grid;
  float: none;
  gap: 9px;
  margin: 0;
  padding: 0;
}

#rightcol .CRCBlock .crc-benefits li {
  color: #404a41;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

#rightcol .CRCBlock .crc-benefits li::before {
  color: var(--bd-green-dark);
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
}

#rightcol .CRCBlock a.apply {
  align-items: center;
  align-self: flex-start;
  background: var(--bd-red);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  float: none;
  font-size: 15px;
  font-weight: 700;
  height: auto;
  justify-content: center;
  line-height: 1.4;
  margin: 0;
  min-height: 44px;
  padding: 10px 20px;
  text-decoration: none;
  width: auto;
}

#rightcol .CRCBlock a.apply:hover,
#rightcol .CRCBlock a.apply:focus-visible {
  background: var(--bd-red-dark);
}

.card-number {
  align-items: center;
  background: var(--bd-red);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  margin-bottom: 13px;
  width: 32px;
}

.company-facts {
  align-items: start;
  background: var(--bd-panel);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  padding: 26px;
}

.fact-list { margin: 0; }
.fact-list div { border-bottom: 1px solid var(--bd-border); padding: 10px 0; }
.fact-list div:first-child { padding-top: 0; }
.fact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list dt { color: var(--bd-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.fact-list dd { color: var(--bd-ink); font-size: 14px; margin: 3px 0 0; overflow-wrap: anywhere; }

.data-transparency,
.external-records,
.consumer-resources {
  border: 1px solid var(--bd-border);
  border-radius: 8px;
  padding: 24px 26px;
}

.inline-links,
.resource-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}

.inline-links a { font-weight: 700; text-decoration: underline; }

.record-buttons {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.record-button {
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: 9px;
  box-shadow: 0 7px 20px rgba(37, 53, 31, .12);
  color: var(--bd-ink) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 176px;
  overflow: hidden;
  padding: 0;
  transition: transform .16s ease, box-shadow .16s ease;
}

.record-button:hover,
.record-button:focus-visible {
  box-shadow: 0 10px 26px rgba(37, 53, 31, .2);
  transform: translateY(-2px);
}

.record-logo {
  align-items: center;
  background: #fff;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 112px;
  padding: 16px 20px;
}

.record-logo-scc { background: #173e62; }

.record-logo img {
  display: block;
  height: auto;
  max-height: 78px;
  max-width: 100%;
  width: auto;
}

.record-logo-scc img { max-height: 82px; }

.record-copy {
  background: linear-gradient(180deg, #c92c3b 0%, #9f1724 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 70px;
  padding: 13px 16px;
}

.record-copy strong { font-size: 15px; line-height: 1.3; }
.record-copy small { color: #ffe8eb; font-size: 11px; line-height: 1.35; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .record-button { transition: none; }
}

.resource-buttons a {
  align-items: center;
  border: 2px solid var(--bd-green);
  border-radius: 6px;
  color: var(--bd-green-dark) !important;
  display: inline-flex;
  font-weight: 700;
  min-height: 46px;
  padding: 9px 15px;
}

.resource-buttons a:hover,
.resource-buttons a:focus-visible { background: #edf5e9; }

.fullWidthCol img,
#showcase img { max-width: 100%; }

#footer {
  padding: 34px 0;
}

#footer .box { display: block; }

#footer_left {
  float: none;
  width: 100%;
}

#footer_navigation {
  margin-bottom: 20px;
  overflow: hidden;
}

#footer_navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

#footer_navigation li { padding: 0; }

#footer_navigation a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}

.footer-reference-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 0;
  border-top: 1px solid #c8cac6;
  border-bottom: 1px solid #c8cac6;
}

.footer-reference-logo {
  display: flex;
  width: 142px;
  height: 54px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  overflow: hidden;
  border: 1px solid rgba(35, 45, 38, .15);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 36, 28, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.footer-reference-logo:hover,
.footer-reference-logo:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(25, 36, 28, .14);
}

.footer-reference-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-reference-logo-scc { background: #173e62; }

.footer-reference-logo-dfpi { width: 198px; }

.logo-ccards { display: none; }

#footer_right {
  display: flex;
  float: none;
  width: 100%;
  justify-content: center;
  padding: 14px 0 4px;
  text-align: center;
}

#footer_right img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88px;
}

.disclaimer {
  margin-top: 8px;
}

.disclaimer p {
  color: #555;
  font-size: 11px;
  line-height: 1.55;
}

/* Keep the Spanish contact header's legacy service panel clear of the logo. */
.bdp-contact-page-es #header {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 269px;
  height: auto;
  min-height: 146px;
  padding: 12px 0;
}

.bdp-contact-page-es #header_left {
  float: none;
  min-width: 0;
  width: auto;
}

.bdp-contact-page-es #logo {
  float: none;
  padding-top: 0;
  width: min(426px, calc(100% - 145px));
}

.bdp-contact-page-es #language_bar {
  margin: 0;
  position: absolute;
  right: 90px;
  top: 34px;
  width: max-content;
}

.bdp-contact-page-es #service {
  box-sizing: border-box;
  float: none;
  margin: 0;
  min-height: 120px;
  padding: 12px 8px 12px 82px;
  position: relative;
  width: 269px;
}

.bdp-contact-page-es #girl {
  left: -76px;
  top: 8px;
}

.bdp-contact-overview {
  background: linear-gradient(135deg, #f2f7ef 0%, #fff 68%);
  border: 1px solid #d7e2d2;
  border-top: 5px solid var(--bd-green);
  border-radius: 8px;
  clear: both;
  margin: 24px 0 20px;
  padding: clamp(20px, 3vw, 32px);
}

.bdp-contact-page #showcase,
.bdp-contact-page #showcase_left,
.bdp-contact-page #showcase_right { min-height: 240px; }

.bdp-contact-page #showcase_right p {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 0 18px;
}

.bdp-contact-heading { max-width: 760px; }

.bdp-contact-eyebrow {
  color: var(--bd-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

#container .bdp-contact-heading h1 {
  color: var(--bd-green-dark);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}

.bdp-contact-heading > p:last-child {
  color: #4b5249;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.bdp-contact-methods {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.bdp-contact-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: 7px;
  box-shadow: 0 3px 10px rgba(37, 62, 30, .06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.bdp-contact-card-label {
  color: var(--bd-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.bdp-contact-card h2 {
  color: var(--bd-green-dark);
  font-size: 21px;
  line-height: 1.25;
  margin: 8px 0 10px;
}

.bdp-contact-value {
  color: #333;
  display: inline-block;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.bdp-contact-value:hover { color: var(--bd-red); text-decoration: underline; }
.bdp-contact-email { font-size: clamp(14px, 1.55vw, 16px); }

.bdp-contact-card p {
  color: var(--bd-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 14px 0 20px;
}

.bdp-contact-action {
  align-self: flex-start;
  background: linear-gradient(180deg, #c92c3b, #a81725);
  border-radius: 5px;
  color: #fff !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  margin-top: auto;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none !important;
}

.bdp-contact-action:hover,
.bdp-contact-action:focus-visible { background: var(--bd-red-dark); }

.bdp-contact-guidance {
  border-top: 1px solid #d7e2d2;
  color: #4b5249;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 24px;
  padding-top: 18px;
}

.bdp-contact-guidance a { color: var(--bd-green-dark); font-weight: 700; }

.bdp-contact-page #leftcol > .bdp-contact-faq-title {
  color: var(--bd-green-dark);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
}

.bdp-contact-answer-links { list-style: none; padding: 0; }
.bdp-contact-answer-links li { border-bottom: 1px solid #e6e9e3; padding: 6px 0; }
.bdp-contact-answer-links a { color: var(--bd-green-dark); display: block; line-height: 1.35; }

@media (max-width: 650px) {
  .bdp-contact-page #showcase_left { display: none; }
  .bdp-contact-page #showcase_right { min-height: 195px; padding: 22px 18px; }
  .bdp-contact-overview { margin-top: 18px; padding: 20px; }
  .bdp-contact-methods { grid-template-columns: minmax(0, 1fr); }
  .bdp-contact-card { padding: 18px; }
  .bdp-contact-heading > p:last-child { font-size: 15px; }
  .bdp-contact-action { align-self: stretch; }
}

.bdp-contact-page #leftcol a[href^="mailto:"],
.bdp-contact-page-es #service a[href^="mailto:"] {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 600px) {
  .bdp-contact-page-es #header {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 0;
  }

  .bdp-contact-page-es #header_left {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .bdp-contact-page-es #logo { width: min(260px, 100%); }
  .bdp-contact-page-es #logo img { max-height: 56px; width: 100%; }
  .bdp-contact-page-es #language_bar { margin-top: 8px; position: static; }

  .bdp-contact-page-es #service {
    min-height: 116px;
    padding: 10px 8px 10px 116px;
    width: 100%;
  }

  .bdp-contact-page-es #girl {
    left: 0;
    top: 4px;
    transform: scale(.72);
    transform-origin: left top;
  }

  .bdp-contact-page-es #service p { line-height: 1.35; margin: 4px 0; }
  .bdp-contact-page-es #service a[href^="mailto:"] { font-size: 12px; white-space: normal; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .bdp-contact-page-es #header { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bdp-contact-page-es #header_left { align-items: flex-start; display: flex; flex-direction: column; }
  .bdp-contact-page-es #logo { width: min(426px, 100%); }
  .bdp-contact-page-es #language_bar { margin-top: 8px; position: static; }
  .bdp-contact-page-es #service { min-height: 116px; padding-left: 116px; width: 100%; }
  .bdp-contact-page-es #girl { left: 0; top: 4px; transform: scale(.72); transform-origin: left top; }
}

@media (max-width: 1040px) {
  .box { width: calc(100% - 24px); }

  #header { height: 116px; }

  #logo { width: min(460px, 70%); }

  #language_bar { top: 30px; }

  .menu-toggle { display: inline-flex; }

  #navigation { align-items: stretch; flex-wrap: wrap; }

  #navigation > ul {
    background: #fff;
    border: 1px solid #cfcfcf;
    border-top: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    display: none;
    flex: 1 0 100%;
    order: 3;
    width: 100%;
    z-index: 20;
  }

  #navigation.menu-open > ul { display: block; }

  #navigation li,
  #navigation li.none {
    background: none;
    border-bottom: 1px solid #e5e5e5;
    float: none;
  }

  #navigation li:last-child { border-bottom: 0; }

  #navigation li a {
    color: var(--bd-ink);
    min-height: 48px;
    padding: 0 18px;
    white-space: normal;
  }

  #navigation li a:hover,
  #navigation li a:focus-visible {
    background: #edf4e9;
    color: var(--bd-green-dark);
  }

  #navigation .nav-cluster summary {
    color: var(--bd-ink);
    min-height: 48px;
    padding: 0 18px;
  }

  #navigation .nav-cluster summary:hover,
  #navigation .nav-cluster summary:focus-visible,
  #navigation .nav-cluster details[open] > summary { color: var(--bd-green-dark); }

  #navigation .cluster-links {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 1px;
    grid-template-columns: minmax(0, 1fr);
    padding: 2px 12px 12px;
    position: static;
    width: 100%;
  }

  #navigation .cluster-links li { border: 0; width: 100%; }
  #navigation .cluster-links a { padding: 10px 18px; }

  #login { margin: 5px 7px 5px auto; }

  .login-link { min-height: 44px; }

  #showcase,
  #showcase_home { grid-template-columns: 1fr; }

  #showcase_left,
  #showcase_right { min-height: 0; }

  #showcase_left { max-height: 360px; }

  #showcase_left img { min-height: 240px; }

  #showcase_right { padding: 26px 20px 30px; }

  h1.feature { margin-top: 0; padding: 22px 18px; }

  #leftcol,
  #rightcol { float: none; margin-left: 0; width: 100%; }

  #rightcol .detail,
  #rightcol .testimonial { max-width: 100%; }

  .fullWidthCol { overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  .entity-grid,
  .record-buttons,
  .company-facts { grid-template-columns: 1fr; }

  .company-facts { gap: 18px; }
}

@media (min-width: 561px) and (max-width: 760px) {
  #logo { width: min(426px, calc(100% - 200px)); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .box { width: calc(100% - 20px); }

  #header { height: auto; min-height: 0; padding: 10px 0; }

  #header_left { align-items: flex-start; display: flex; flex-direction: column; }

  #logo { float: none; width: 100%; }

  #logo a { min-height: 72px; }

  #logo img { max-height: 72px; width: 100%; }

  #rightcol .CRCBlock { padding: 20px; }
  #rightcol .CRCBlock a.apply { align-self: stretch; }

  #language_bar {
    align-self: flex-end;
    bottom: auto;
    left: auto;
    margin: 6px 0 0;
    position: static;
    right: auto;
    top: auto;
  }

  #navigation { min-height: 50px; }

  .menu-toggle { min-height: 50px; }

  #login { align-self: center; }

  #showcase,
  #showcase_home { margin-top: 12px; }

  #showcase_left img { min-height: 205px; }

  #showcase_right h2 { font-size: 22px; }

  #form.application-cta {
    margin-top: 18px;
    padding: 18px 16px 20px;
  }

  .primary-cta { min-height: 48px; width: 100%; }

  .eeat-page { margin-top: 18px; }
  .entity-intro,
  .company-facts,
  .data-transparency,
  .external-records,
  .consumer-resources { padding: 20px 18px; }

  .record-button,
  .resource-buttons a { width: 100%; }

  h1.feature,
  #container h1 { font-size: 24px; line-height: 1.3; }

  #container h1 strong { display: block; font-size: 20px; margin-top: 5px; }

  .common,
  .common.none {
    background-color: #f6f6f4;
    background-image: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    float: none;
    margin: 12px 0 0;
    min-height: 150px;
    width: 100%;
  }

  .info { max-width: calc(100% - 70px); width: auto; }

  #leftcol p,
  #leftcol ul,
  #rightcol p,
  #rightcol ul,
  .fullWidthCol p,
  .fullWidthCol { font-size: 15px; line-height: 1.65; }

  .application-page > h1 { font-size: 26px; }

  .application-form-shell { margin-left: -5px; width: calc(100% + 10px); }

  #footer_navigation ul { display: block; }

  #footer_navigation a { min-height: 44px; }

  .footer-reference-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-reference-logo {
    width: auto;
    height: 52px;
    padding: 7px 10px;
  }

  .footer-reference-logo-dfpi { grid-column: 1 / -1; }

  .privacyTable,
  .privacyTable tbody,
  .privacyTable tr,
  .privacyTable td { display: block; width: 100% !important; }
}

/* Keep every step's image, copy and action inside an auto-height card. */
#container > .common,
#container > .common.none {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 12px;
  float: left;
  width: calc((100% - 40px) / 3);
  max-width: none;
  height: auto;
  min-height: 240px;
  margin: 15px 20px 18px 0;
  padding: 20px 16px;
  background: #f6f6f4;
  border: 1px solid #ddd;
  border-radius: 6px;
}
#container > .common.none { margin-right: 0; }
#container > .common > img {
  display: block;
  float: none;
  width: 48px;
  height: auto;
  max-width: 100%;
  margin: 0;
}
#container > .common > .info {
  float: none;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
}
#container > .common h4 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
#container > .common p { font-size: 14px; line-height: 1.5; padding: 0; margin: 0; }
#container > .common > a {
  grid-column: 2;
  justify-self: start;
  float: none;
  width: auto;
  height: auto;
  min-height: 42px;
  padding: 10px 15px;
  margin: 0;
  background: linear-gradient(#c92c3b, #a81725);
  border-radius: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
#container > #leftcol { clear: both; }
#container > h2.feature,
#container > h2:first-child { color: #50803b; font-size: 28px; line-height: 1.3; margin: 20px 0 10px; font-weight: normal; }
#container > h2.feature strong,
#container > h2:first-child strong { color: #ac1a27; font-size: inherit; }
@media (max-width: 800px) {
  #header a[href^="mailto:"] { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  #container > .common,
  #container > .common.none {
    float: none;
    width: 100%;
    min-height: 0;
    margin: 12px 0;
    padding: 20px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 16px;
  }
  #container > h2.feature,
  #container > h2:first-child { font-size: 24px; }
}
