/* Bonsenhor Oportunidades — identidade azul institucional, layout leve e responsivo */
.bn-op-wrap{--bn-blue:#244580;--bn-ink:#243247;--bn-muted:#697586;--bn-line:#e6eaf0;--bn-soft:#f5f7fa;max-width:900px;margin:32px auto;padding:0 20px;color:var(--bn-ink);font-family:inherit}
.bn-op-hero{background:#fff;border:1px solid var(--bn-line);border-radius:14px;padding:clamp(24px,5vw,48px);box-shadow:0 8px 28px rgba(36,69,128,.06)}
.bn-op-eyebrow{display:inline-block;color:#8a93a2;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px}
.bn-op-hero h1{font-size:clamp(30px,5vw,44px);line-height:1.12;color:var(--bn-blue);margin:0 0 10px;font-weight:750}
.bn-op-company{font-size:17px;font-weight:600;margin:0 0 18px}
.bn-op-tags{display:flex;flex-wrap:wrap;gap:8px}.bn-op-tags span{background:var(--bn-soft);border:1px solid var(--bn-line);border-radius:30px;padding:7px 12px;font-size:13px;color:#46546a}
.bn-op-intro,.bn-op-section,.bn-op-apply{background:#fff;border:1px solid var(--bn-line);border-radius:12px;padding:clamp(20px,4vw,32px);margin-top:16px}
.bn-op-wrap h2{font-size:21px;color:var(--bn-blue);margin:0 0 14px}.bn-op-intro p,.bn-op-apply>p{font-size:16px;line-height:1.7;color:#536174;margin:0}
.bn-op-image{width:100%;height:auto;max-height:360px;object-fit:cover;border-radius:9px;margin-top:22px}
.bn-op-list{margin:0;padding-left:22px}.bn-op-list li{padding:4px 0 4px 4px;line-height:1.65;color:#46546a}
.bn-op-deadline{background:#f5f7fa;border-left:4px solid var(--bn-blue);padding:14px 18px;border-radius:6px}
.bn-op-form{margin-top:24px}.bn-op-field{margin:0 0 18px}.bn-op-field label{display:block;font-size:14px;font-weight:650;margin-bottom:7px}.bn-op-field em,.bn-op-consent em{color:#b54747;font-style:normal}.bn-op-field input,.bn-op-field textarea{box-sizing:border-box;width:100%;border:1px solid #cfd7e2;border-radius:7px;padding:13px 14px;background:#fff;color:var(--bn-ink);font:inherit;min-height:48px}.bn-op-field input:focus,.bn-op-field textarea:focus{outline:2px solid rgba(36,69,128,.18);border-color:var(--bn-blue)}.bn-op-field small{display:block;color:#7b8493;font-size:12px;margin-top:7px}.bn-op-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bn-op-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.55;color:#536174;margin:16px 0}.bn-op-consent input{margin-top:3px;flex:0 0 auto}
.bn-op-submit{display:block;width:100%;border:0;border-radius:7px;background:var(--bn-blue);color:#fff;padding:15px 20px;font:inherit;font-weight:700;cursor:pointer;transition:background .2s}.bn-op-submit:hover{background:#193765}
.bn-op-small{font-size:12px;color:#8a93a2;line-height:1.6;margin-top:14px}.bn-op-closed{background:#f5f7fa;border-radius:9px;padding:22px}.bn-op-closed p{margin:0;color:#697586}.bn-op-footer{text-align:center;font-size:12px;line-height:1.6;color:#8a93a2;padding:24px 10px}
.bn-op-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:640px){.bn-op-wrap{padding:0 12px;margin:18px auto}.bn-op-two{grid-template-columns:1fr;gap:0}.bn-op-hero,.bn-op-intro,.bn-op-section,.bn-op-apply{border-radius:10px}.bn-op-tags{gap:6px}}

.bn-op-hero{border-top:4px solid #244580;position:relative}
.bn-op-hero:after{content:"";display:block;width:54px;height:4px;background:#f28a22;position:absolute;top:-4px;left:0;border-radius:0 0 3px 0}
.bn-op-success{padding:18px 20px;background:#f1f7f1;border:1px solid #cfe3d0;border-left:4px solid #548b55;border-radius:8px;margin:0 0 22px}
.bn-op-success strong{color:#285b31}.bn-op-success p{margin:6px 0 0;color:#4f6652;line-height:1.6}


/* Consentimento e Google reCAPTCHA — alinhamento no padrão dos formulários Bonsenhor */
.bn-op-consent-wrap{display:flex;flex-direction:column;gap:10px;margin:18px 0 16px}
.bn-op-consent{
  display:flex!important;align-items:flex-start!important;gap:10px!important;
  width:100%;box-sizing:border-box;padding:12px 14px;margin:0!important;
  border:1px solid #dfe4ec;border-radius:7px;background:#fff;
  color:#46546a;font-size:13px;line-height:1.55;font-weight:400;
}
.bn-op-consent input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;
  display:inline-block!important;flex:0 0 17px!important;
  width:17px!important;height:17px!important;min-width:17px!important;
  margin:2px 0 0!important;padding:0!important;
  accent-color:#244580;box-shadow:none!important;
}
.bn-op-consent span{display:block;flex:1;min-width:0}
.bn-op-consent a{color:#244580!important;text-decoration:underline!important;font-weight:700}
.bn-op-consent a:hover{color:#193765!important}
.bn-op-consent em{color:#b54747;font-style:normal}
.bn-op-consent-optional{background:#fafbfc}
.bn-op-recaptcha{display:block;width:100%;max-width:100%;min-height:78px;margin:18px 0 22px;overflow-x:auto;overflow-y:hidden}
.bn-op-recaptcha .g-recaptcha{min-width:304px;min-height:78px}
.bn-op-config-warning{margin:20px 0;padding:16px 18px;border:1px solid #e6d6b7;border-left:4px solid #d99a37;border-radius:7px;background:#fffaf1;color:#72551e;font-size:14px;line-height:1.6}
@media(max-width:360px){.bn-op-consent{padding:11px 10px;font-size:12px}}


/* Bonsenhor | acabamento visual final — formulário e tipografia */
body.single-bn_oportunidade .entry-header .entry-title,
body.single-bn_oportunidade .entry-header h1,
body.single-bn_oportunidade .page-header .page-title,
body.single-bn_oportunidade .page-header h1,
body.single-bn_oportunidade .wp-block-post-title,
body.single-bn_oportunidade .elementor-widget-theme-post-title,
body.single-bn_oportunidade .elementor-page-title {
    display: none !important;
}

/* Em alguns temas, o título é colocado dentro do cabeçalho do artigo. */
body.single-bn_oportunidade .entry-header {
    margin: 0 !important;
    padding: 0 !important;
}
body.single-bn_oportunidade .entry-header:empty {
    display: none !important;
}

.bn-op-wrap {
    --bn-blue: #4564AD;
    --bn-navy: #1A2F4E;
    --bn-orange: #F6A40F;
    --bn-green: #7FB466;
    --bn-form-line: #D9E0EA;
    --bn-form-text: #1A2F4E;
}

/* Campos: fine line, fundo branco e sem herdar o rosa do tema/Elementor. */
.bn-op-wrap .bn-op-form .bn-op-field > label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #1A2F4E !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}
.bn-op-wrap .bn-op-form .bn-op-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.bn-op-wrap .bn-op-form .bn-op-field textarea,
.bn-op-wrap .bn-op-form .bn-op-field select {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    color: #1A2F4E !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}
.bn-op-wrap .bn-op-form .bn-op-field textarea {
    min-height: 104px !important;
    resize: vertical !important;
}
.bn-op-wrap .bn-op-form .bn-op-field input::placeholder,
.bn-op-wrap .bn-op-form .bn-op-field textarea::placeholder {
    color: #929CAB !important;
    opacity: 1 !important;
}
.bn-op-wrap .bn-op-form .bn-op-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.bn-op-wrap .bn-op-form .bn-op-field textarea:hover,
.bn-op-wrap .bn-op-form .bn-op-field select:hover {
    border-color: #AAB9D2 !important;
}
.bn-op-wrap .bn-op-form .bn-op-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.bn-op-wrap .bn-op-form .bn-op-field textarea:focus,
.bn-op-wrap .bn-op-form .bn-op-field select:focus {
    border-color: #4564AD !important;
    box-shadow: 0 0 0 2px rgba(69, 100, 173, .12) !important;
    outline: none !important;
}

/* Upload de currículo */
.bn-op-wrap .bn-op-form .bn-op-field input[type="file"] {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 8px !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    color: #536174 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
}
.bn-op-wrap .bn-op-form .bn-op-field input[type="file"]::file-selector-button {
    margin-right: 10px !important;
    padding: 7px 11px !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 3px !important;
    background: #F5F7FA !important;
    color: #1A2F4E !important;
    font: inherit !important;
    cursor: pointer !important;
}

/* Botão: azul institucional em todos os estados, sem estilos rosa do tema. */
.bn-op-wrap .bn-op-form button.bn-op-submit,
.bn-op-wrap .bn-op-form button.bn-op-submit:visited {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 20px 0 0 !important;
    padding: 13px 20px !important;
    border: 1px solid #4564AD !important;
    border-radius: 4px !important;
    background: #4564AD !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    cursor: pointer !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
.bn-op-wrap .bn-op-form button.bn-op-submit:hover {
    border-color: #1A2F4E !important;
    background: #1A2F4E !important;
    color: #FFFFFF !important;
}
.bn-op-wrap .bn-op-form button.bn-op-submit:focus,
.bn-op-wrap .bn-op-form button.bn-op-submit:focus-visible {
    border-color: #1A2F4E !important;
    background: #4564AD !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(69, 100, 173, .18) !important;
    outline: none !important;
}
.bn-op-wrap .bn-op-form button.bn-op-submit:active {
    border-color: #1A2F4E !important;
    background: #1A2F4E !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.12) !important;
}

/* Mensagens e linhas */
.bn-op-wrap .bn-op-form .bn-op-field small {
    color: #697586 !important;
    font-size: 12px !important;
}
.bn-op-wrap .bn-op-form .bn-op-consent {
    border: 1px solid #D9E0EA !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    color: #46546A !important;
}
.bn-op-wrap .bn-op-form .bn-op-consent input[type="checkbox"] {
    accent-color: #4564AD !important;
}
.bn-op-wrap .bn-op-form .bn-op-consent a {
    color: #4564AD !important;
}
.bn-op-wrap .bn-op-form .bn-op-consent a:hover {
    color: #1A2F4E !important;
}
.bn-op-wrap .bn-op-form .bn-op-recaptcha {
    margin: 16px 0 20px !important;
}
