/* Arcencore brand overrides */

/* Logo mark in brand burgundy wherever the logo sits on a light background */
.nav.light .logo .logo_dot,
.footer_logo .logo_dot {
  color: var(--crimson);
}

@media (min-width: 993px) {
  /* Homepage: three audience cards in one row */
  .strategies_blocks {
    grid-column: 2 / 12;
    grid-template-columns: repeat(3, 1fr);
  }

  /* Industries: six bars as two staggered rows of three */
  .oci_bars {
    grid-template-columns: repeat(3, 1fr);
  }
  .oci_bar--block:nth-child(3n + 1) { margin-top: 0; }
  .oci_bar--block:nth-child(3n + 2) { margin-top: 5em; }
  .oci_bar--block:nth-child(3n) { margin-top: 10em; }
}

/* Apply page: readable spacing for the pilot list beside the form */
.contact_form--section .ci_links {
  gap: 0.5em;
}
.contact_form--section .ci_links p {
  line-height: 1.4;
}

/* Cookie banner: Arcencore colours */
.cky-switch input[type="checkbox"]:checked { background: var(--crimson); }
.cky-notice-des a, .cky-accordion-body strong, .cky-always-active { color: var(--crimson); }
.cky-notice-des a { text-decoration: underline; }
.cky-accordion-body p { font-size: 13px; margin: 0; }

/* Arcencore forms (sent by /_brand/forms.js) */
.arc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.arc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-bottom: 1.5em; }
.arc-form-grid .arc-wide { grid-column: 1 / -1; }
.arc-field { display: block; }
@media (max-width: 992px) { .arc-form-grid { grid-template-columns: 1fr; } }
.contact_form .arc-consent { display: flex; align-items: flex-start; gap: 0.75em; margin-bottom: 1.5em; cursor: pointer; }
.contact_form .arc-consent input[type="checkbox"] {
  appearance: auto !important; width: 1.1em !important; height: 1.1em !important; padding: 0 !important;
  margin: 0.15em 0 0 !important; flex-shrink: 0; accent-color: var(--crimson); background: none !important;
}
.arc-consent a, .arc-form-done a { color: var(--crimson); text-decoration: underline; }
.arc-form button[disabled] { opacity: 0.6; cursor: wait; }
.arc-form-status { margin-top: 1em; min-height: 1.2em; }
.arc-form-status.is-error { color: var(--crimson); }
.arc-form-done { padding: 1.5em; background: var(--white); border-left: 3px solid var(--crimson); }
/* footer newsletter: underlined field with the button on the right, as before */
.ss_form .arc-news { position: relative; }
.ss_form .arc-news .gform_button { position: absolute; right: 0; top: 0; bottom: 0; height: auto !important; padding: 0 1.5em !important; display: flex; align-items: center; }
.ss_form .arc-news .arc-form-status { position: absolute; left: 0; top: 100%; margin-top: 0.4em; }
.ss_form .arc-news input[type="email"] { padding: 1em 0 !important; padding-right: 9em !important; background-color: transparent !important; border: none !important; border-bottom: 0.0625em solid var(--sand) !important; }
.arc-form input, .arc-form textarea, .arc-form button { font-family: var(--geist), sans-serif !important; }
.contact_form--section .ci_links { display: flex; flex-direction: column; gap: 0.5em; }
.contact_form--section .ci_links p { line-height: 1.4 !important; }
/* dropdown fields in forms, matching the text fields */
.contact_form .arc-form select {
  appearance: none; width: 100%; padding: 1.25em 2.5em 1.25em 1.25em; font: inherit; font-family: var(--geist), sans-serif;
  font-size: 1em; line-height: 1; color: var(--charcoal); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23790D08'/%3E%3C/svg%3E") no-repeat right 1.25em center;
  border: 0.0625em solid transparent; border-radius: 0; outline: none; cursor: pointer;
}
.contact_form .arc-form select:invalid { color: var(--char_o-50); }
.contact_form .arc-form select:hover { border-color: var(--sand); }
.contact_form .arc-form select:focus { border-color: var(--charcoal); }

/* Product cards sit above the background contour art */
.strategies_blocks .str_block { position: relative; z-index: 1; }
.strategies_blocks .str_block.bg_ivory { background-color: var(--ivory); }

/* FAQ sections on product and industry pages (accordions reuse the About page design) */
.faq_section { padding: var(--section_spacing) 0; border-top: 0.0625em solid var(--sand); }
.faq_headline { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 1em; align-self: start; }
.faq_section .history_acc { margin-top: 0; }
.faq_link { color: var(--crimson); text-decoration: underline; }
@media (max-width: 992px) {
  .faq_headline { grid-column: 1 / 13; margin-bottom: 2em; }
  .faq_section .history_acc { grid-column: 1 / 13; padding-left: 0; }
}
