/* The page wrapper supplies the Contact Us heading. Keep the form independent of the legacy columns. */
#joud-contact {
  --ink: #15354a;
  --muted: #465f6d;
  --blue: #105a85;
  --line: #ccd9df;
  --wash: #f2f6f8;
  box-sizing: border-box;
  display: block;
  float: none;
  clear: both;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0;
  color: var(--ink);
  font-family: inherit;
  line-height: 1.5;
  text-align: start;
  container-type: inline-size;
}
#joud-contact *, #joud-contact *::after, #joud-contact *::before { box-sizing: border-box; }
#joud-contact [hidden] { display: none !important; }
#joud-contact .jc-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,1fr); align-items: start; gap: clamp(24px,4vw,64px); }
#joud-contact form, #joud-contact .jc-sidebar, #joud-contact .jc-field, #joud-contact .jc-pair, #joud-contact .jc-code, #joud-contact .jc-info { min-inline-size: 0; max-inline-size: 100%; float: none; }
#joud-contact form { display: grid; gap: 22px; width: 100%; margin: 0; padding: 0; background: transparent; border: 0; }
#joud-contact h2, #joud-contact h3, #joud-contact p, #joud-contact label, #joud-contact details, #joud-contact summary { float: none; position: static; max-width: 100%; width: auto; height: auto; margin: 0; padding: 0; border: 0; text-align: start; text-transform: none; letter-spacing: normal; background: none; }
#joud-contact h2 { color: var(--ink); font: inherit; font-size: clamp(23px,2.4vw,30px); line-height: 1.22; font-weight: 700; }
#joud-contact .jc-form-head p { margin-block: 7px 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
#joud-contact .jc-pair, #joud-contact .jc-optional-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; row-gap: 15px; }
#joud-contact .jc-field { display: grid; align-content: start; gap: 7px; }
#joud-contact label { display: block; color: var(--ink); font: inherit; font-size: 15px; font-weight: 650; line-height: 1.45; }
#joud-contact input:not([type=hidden]), #joud-contact textarea {
  display: block; float: none; width: 100%; min-width: 0; max-width: 100%; height: auto; min-height: 48px;
  margin: 0; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #a3b8c4;
  border-radius: 8px; box-shadow: none; font: inherit; font-size: 16px; line-height: 1.5; text-indent: 0;
}
#joud-contact input[dir=ltr] { text-align: start; }
#joud-contact textarea { min-height: 136px; resize: vertical; }
#joud-contact input:focus, #joud-contact textarea:focus { border-color: var(--blue); outline: 3px solid #c7e2f0; outline-offset: 1px; }
#joud-contact summary:focus-visible, #joud-contact button:focus-visible, #joud-contact a:focus-visible { outline: 3px solid #0876af; outline-offset: 4px; }
#joud-contact input:user-invalid, #joud-contact textarea:user-invalid { border-color: #a13b34; }
#joud-contact .jc-extra { border-block: 1px solid var(--line); }
#joud-contact .jc-extra summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-block: 8px; line-height: 1.45; color: var(--blue); font-size: 15px; font-weight: 650; list-style: none; cursor: pointer; }
#joud-contact summary::-webkit-details-marker { display: none; }
#joud-contact .jc-plus { flex: none; display: grid; place-content: center; width: 22px; height: 22px; background: #e6f0f5; border-radius: 50%; }
#joud-contact .jc-plus::before { content: "+"; font: 17px/1 system-ui,sans-serif; }
#joud-contact details[open] .jc-plus::before { content: "−"; }
#joud-contact .jc-optional-grid { padding: 4px 0 18px; }
#joud-contact .jc-verify { display: grid; gap: 12px; padding: 16px; border: 1px solid #d8e2e7; border-radius: 10px; background: var(--wash); }
#joud-contact .jc-verify p { margin-block: 3px 0; color: var(--muted); font-size: 14px; }
#joud-contact .jc-code { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
#joud-contact .jc-code img { float: none; display: block; width: auto; max-width: 100%; height: auto; max-height: 60px; margin: 0; border: 1px solid #b2c3cc; border-radius: 5px; background: #fff; }
#joud-contact .jc-code input { width: 10em; max-width: 100%; }
#joud-contact .jc-send { justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 166px; min-height: 48px; width: auto; margin: 0; padding: 12px 20px; border: 1px solid #0c5077; border-radius: 8px; background: #105a85; color: #fff; box-shadow: none; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
#joud-contact .jc-send:hover { background: #0a466b; }
#joud-contact .jc-arrow { display: inline-block; font: 20px/1 system-ui,sans-serif; }
#joud-contact[dir=rtl] .jc-arrow { transform: scaleX(-1); }
#joud-contact .jc-error { background: #fff3ef; border-inline-start: 4px solid #a23e2e; padding: 12px 16px; color: #852e21; border-radius: 5px; }
#joud-contact .jc-sidebar { display: grid; overflow: hidden; background: var(--wash); border: 1px solid #d7e3e9; border-radius: 14px; }
#joud-contact .jc-info { padding: clamp(18px,2.5vw,30px); overflow-wrap: anywhere; }
#joud-contact .jc-info h2 { margin-block-end: 16px; }
#joud-contact .jc-info-body { color: #334f60; font-size: 15px; line-height: 1.6; }
#joud-contact .jc-info-body p, #joud-contact .jc-info-body div, #joud-contact .jc-info-body span, #joud-contact .jc-info-body strong, #joud-contact .jc-info-body b, #joud-contact .jc-info-body font, #joud-contact .jc-info-body td { color: inherit !important; font-family: inherit !important; font-size: inherit !important; text-align: start !important; line-height: 1.6; }
#joud-contact .jc-info-body p { margin-block: 0 8px; }
#joud-contact .jc-info-body p:empty { display:none; }
#joud-contact .jc-info-body img, #joud-contact .jc-info-body iframe, #joud-contact .jc-info-body table { max-width: 100% !important; }
#joud-contact .jc-info-body table { width: 100% !important; table-layout: fixed; }
#joud-contact .jc-info-body td { width:auto !important; }
#joud-contact .jc-info-body a { color: var(--blue); overflow-wrap: anywhere; text-decoration: underline; }
#joud-contact .jc-locations { padding: 0 clamp(18px,2.5vw,30px); background: #143e56; }
#joud-contact .jc-locations a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
#joud-contact .jc-locations a + a { border-block-start: 1px solid #416274; }
#joud-contact .jc-locations a:hover { text-decoration: underline; text-underline-offset: 3px; }
#joud-contact .jc-locations a:focus-visible { outline-color: #a9e0ff; outline-offset: -2px; }
@container (max-width: 720px) { #joud-contact .jc-layout { grid-template-columns: minmax(0,1fr); gap: 30px; } }
@container (max-width: 490px) {
  #joud-contact .jc-pair, #joud-contact .jc-optional-grid { grid-template-columns: minmax(0,1fr); }
  #joud-contact .jc-send { justify-self: stretch; width: 100%; }
  #joud-contact .jc-code input { flex: 1 1 110px; }
}
@media(max-width:760px) { #joud-contact .jc-layout { grid-template-columns: minmax(0,1fr); } }
@media(max-width:510px) { #joud-contact .jc-pair, #joud-contact .jc-optional-grid { grid-template-columns: minmax(0,1fr); } #joud-contact .jc-send { width: 100%; } }
