
/* KEP R10 — Shared navigation */

.kep-global-header[hidden] {
 display:none!important;
}

.kep-global-header {
 position:relative;
 z-index:1000;
 background:#fff!important;
 color:#123E45!important;
 border-bottom:3px solid #087F72;
 box-shadow:0 4px 18px rgba(18,62,69,.07);
 font-family:inherit;
}

.kep-global-header * {
 box-sizing:border-box;
}

.kep-global-header .kep-global-inner {
 max-width:1440px;
 margin:auto;
 padding:12px clamp(14px,3vw,34px);
 min-height:80px;
 display:flex;
 align-items:center;
 gap:18px;
}

.kep-global-header .kep-global-brand {
 display:inline-flex;
 align-items:center;
 gap:11px;
 flex:none;
 text-decoration:none!important;
 color:#123E45!important;
}

.kep-global-brand svg {
 width:42px;
 height:42px;
 flex:none;
}

.kep-global-brand strong {
 font-size:17px;
 font-weight:850;
 display:block;
 line-height:1.2;
 letter-spacing:-.025em;
}

.kep-global-brand small {
 font-size:10px;
 letter-spacing:.14em;
 color:#5c7773;
 display:block;
 font-weight:750;
 margin-top:4px;
}

.kep-global-desktop {
 display:none;
 gap:4px;
 align-items:center;
 justify-content:center;
 flex:1;
}

.kep-global-desktop a,
.kep-global-panel a {
 font-size:13px;
 font-weight:750;
 text-decoration:none!important;
 color:#123E45!important;
 border-radius:10px;
 white-space:nowrap;
}

.kep-global-desktop a {
 padding:12px 9px;
}

.kep-global-desktop a:hover,
.kep-global-desktop a[aria-current=page],
.kep-global-panel a:hover {
 background:#e6f4ef!important;
 color:#087F72!important;
}

.kep-global-actions {
 margin-left:auto;
 display:flex;
 align-items:center;
 gap:10px;
 flex:none;
}

.kep-global-language {
 max-width:116px;
 min-width:87px;
 background:#fff!important;
 color:#123E45!important;
 border:1px solid #cfe1dc!important;
 border-radius:12px;
 padding:10px 6px;
 font-size:13px;
 min-height:44px;
}

.kep-global-dropdown {
 position:relative;
}

.kep-global-dropdown summary {
 cursor:pointer;
 list-style:none;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:11px 13px;
 border:1px solid #cfe1dc;
 border-radius:12px;
 font-size:13px;
 font-weight:750;
 white-space:nowrap;
 min-height:44px;
}

.kep-global-dropdown summary::-webkit-details-marker {
 display:none;
}

.kep-global-dropdown[open] summary {
 border-color:#087F72;
}

.kep-global-panel {
 position:absolute;
 right:0;
 top:calc(100% + 8px);
 min-width:min(290px,calc(100vw - 30px));
 max-height:75vh;
 overflow:auto;
 display:flex;
 flex-direction:column;
 gap:2px;
 background:#fff;
 border:1px solid #cfe1dc;
 border-radius:16px;
 box-shadow:0 18px 42px rgba(18,62,69,.2);
 padding:10px;
}

.kep-global-panel a {
 display:block;
 padding:12px 13px;
 white-space:normal;
}

.kep-global-panel form {
 margin:8px 0 0;
}

.kep-global-panel form button {
 cursor:pointer;
 min-height:42px;
 width:100%;
 border:1px solid #cfe1dc;
 background:#fff;
 color:#123E45;
 border-radius:10px;
 font-weight:700;
}

.kep-global-header [data-kep-es] {
 display:none;
}

.kep-global-header[data-kep-lang=es] [data-kep-en] {
 display:none;
}

.kep-global-header[data-kep-lang=es] [data-kep-es] {
 display:inline;
}

@media(min-width:1320px) {
 .kep-global-desktop {
  display:flex;
 }

 .kep-global-dropdown {
  display:none;
 }
}

@media(max-width:440px) {
 .kep-global-header .kep-global-inner {
  gap:7px;
  padding:10px;
 }

 .kep-global-brand svg {
  width:32px;
  height:32px;
 }

 .kep-global-brand strong {
  font-size:13px;
 }

 .kep-global-brand small {
  font-size:8px;
 }

 .kep-global-actions {
  gap:6px;
 }

 .kep-global-language {
  max-width:88px;
  min-width:75px;
  padding:7px 3px;
 }

 .kep-global-dropdown summary {
  padding:10px 7px;
 }
}


/* KEP-NAV-R13-LANGUAGE-BAND */
/* Shared KONNECTROL Jobs language presentation */

.kep-global-header .kep-global-language-band {
    width: 100%;
    background: #F7F5EF;
    border-bottom: 1px solid #E4ECE8;
}

.kep-global-header .kep-global-language-band-inner {
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 8px clamp(16px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.kep-global-header
.kep-global-language-band
[data-kep-language-mount] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.kep-global-header
.kep-global-language-band select {
    max-width: 100%;
    min-height: 42px;
    background: #FFFFFF !important;
    color: #123E45 !important;
    border: 1px solid #D8E5E2 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 7px rgba(18,62,69,.055);
    font-weight: 600;
}

.kep-global-header
.kep-global-language-band select:focus-visible {
    outline: 2px solid #087F72;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .kep-global-header .kep-global-language-band-inner {
        min-height: 48px;
        padding: 6px 16px;
    }

    .kep-global-header
    .kep-global-language-band select {
        min-height: 40px;
        font-size: 14px;
    }
}
/* END KEP-NAV-R13-LANGUAGE-BAND */


/* KEP-NAV-R14E — preserves original shared JS */
.kep-global-header .kep-r14e-desktop-actions{
 display:none;align-items:center;gap:8px;flex:none
}
.kep-global-header .kep-r14e-desktop-actions a,
.kep-global-header .kep-r14e-desktop-actions button{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:42px;padding:10px 12px;border-radius:12px;
 font-size:13px;font-weight:750;text-decoration:none;
 color:#123E45;background:#fff;border:0;
 white-space:nowrap;cursor:pointer
}
.kep-global-header .kep-r14e-desktop-actions form{margin:0}
.kep-global-header .kep-r14e-desktop-actions .kep-r14e-register{
 background:#087F72;color:white!important
}
.kep-global-header .kep-r14e-account{
 display:flex;flex-direction:column;gap:3px;
 border-top:1px solid #e2e8f0;margin-top:8px;padding-top:10px
}
.kep-global-header .kep-r14e-account>a{
 display:block;padding:14px 16px!important;
 font-size:15px;min-height:48px;white-space:normal!important;
 text-decoration:none
}
.kep-global-header .kep-r14e-account .kep-r14e-signin{
 border:1px solid #087F72!important;color:#087F72!important;
 text-align:center;margin:5px 7px;border-radius:12px
}
.kep-global-header .kep-r14e-account .kep-r14e-register{
 background:#087F72!important;color:white!important;
 text-align:center;margin:5px 7px;border-radius:12px
}
.kep-global-header .kep-r14e-username{
 padding:9px 16px;margin:0;color:#94a3b8;font-size:12px;
 font-weight:800;text-transform:uppercase;overflow-wrap:anywhere
}
.kep-global-header .kep-r14e-account form{margin:8px!important}
.kep-global-header .kep-r14e-account form button{
 width:100%;min-height:48px;padding:12px;border-radius:12px;
 border:1px solid #fee2e2;color:#b91c1c;background:#fff;
 text-align:left;font-weight:800;cursor:pointer
}
.kep-global-header [data-kep-native-actions] form[action="/auth/logout"],
.kep-global-header [data-kep-native-actions] a[href="/app"],
.kep-global-header [data-kep-native-actions] a[href*="auth/authentik/redirect"]{
 display:none!important
}
@media(max-width:1439px){
 .kep-global-header{position:relative!important}
 .kep-global-header .kep-global-desktop{display:none!important}
 .kep-global-header .kep-global-dropdown{
  display:block!important;position:static!important
 }
 .kep-global-header .kep-global-inner{min-height:74px!important}
 .kep-global-header .kep-global-panel{
  position:absolute!important;top:100%!important;
  left:0!important;right:0!important;width:100%!important;
  min-width:0!important;max-width:none!important;
  max-height:calc(100dvh - 105px)!important;
  overflow-y:auto!important;overscroll-behavior:contain;
  border:0!important;border-top:1px solid #e2e8f0!important;
  border-radius:0!important;
  padding:16px clamp(14px,4vw,34px) 30px!important;
  background:white!important;
  box-shadow:0 20px 38px rgba(18,62,69,.14)!important;
  z-index:2000!important
 }
 .kep-global-header .kep-global-panel>a{
  display:block!important;min-height:48px!important;
  padding:14px 15px!important;margin:2px 0!important;
  font-size:15px!important;border-radius:12px!important;
  white-space:normal!important
 }
}
@media(min-width:1440px){
 .kep-global-header .kep-r14e-desktop-actions{display:flex!important}
}
.kep-r14e-footer{
 background:#fff;color:#475569;border-top:1px solid #e2e8f0;
 padding:48px 0 26px;font:inherit
}
.kep-r14e-footer *{box-sizing:border-box}
.kep-r14e-container{
 width:min(calc(100% - 32px),1200px);margin:0 auto
}
.kep-r14e-columns{
 display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:38px
}
.kep-r14e-footer a{color:#475569;text-decoration:none}
.kep-r14e-footer a:hover{color:#087F72;text-decoration:underline}
.kep-r14e-footer .kep-r14e-brand{
 display:inline-block;font-size:19px;font-weight:900;
 color:#123E45;margin-bottom:14px
}
.kep-r14e-footer h2{
 font-size:15px;font-weight:800;color:#182830;margin:0 0 16px
}
.kep-r14e-footer p{
 font-size:14px;line-height:1.7;color:#64748b;
 max-width:370px;margin:0
}
.kep-r14e-footer nav a{
 display:block;font-size:14px;padding:5px 0
}
.kep-r14e-bottom{
 display:flex;justify-content:space-between;flex-wrap:wrap;
 gap:16px;border-top:1px solid #e2e8f0;
 margin-top:36px;padding-top:20px;color:#64748b;font-size:13px
}
.kep-r14e-bottom a{
 margin-left:20px;color:#087F72;
 text-decoration:underline;font-weight:700
}
.kep-r14e-footer [data-kep-es]{display:none}
.kep-r14e-footer[data-kep-lang="es"] [data-kep-en]{display:none}
.kep-r14e-footer[data-kep-lang="es"] [data-kep-es]{display:inline}
@media(max-width:700px){
 .kep-r14e-footer{padding:34px 0 22px}
 .kep-r14e-columns{grid-template-columns:1fr;gap:27px}
 .kep-r14e-bottom a:first-child{margin-left:0}
}


/* KEP-NAV-R14G-JOBS-PARITY
   Native navigation JS and mobile links remain unchanged.
*/

.kep-global-header .kep-global-brand small {
 display:none!important;
}

.kep-global-header .kep-global-brand {
 gap:12px!important;
}

.kep-global-header .kep-global-brand strong {
 font-size:17px!important;
 font-weight:850!important;
 letter-spacing:-.025em!important;
}

.kep-global-header .kep-global-brand svg {
 width:40px!important;
 height:40px!important;
}

.kep-global-header .kep-global-dropdown summary {
 width:46px!important;
 height:46px!important;
 min-height:46px!important;
 padding:9px!important;
 background:#fff!important;
 border:1px solid #e2e8f0!important;
 border-radius:14px!important;
 color:#123E45!important;
}

.kep-global-header .kep-global-dropdown[open] summary {
 background:#f8fafc!important;
}

.kep-global-header .kep-global-panel>a[aria-current="page"] {
 background:#e8f3ef!important;
 color:#087F72!important;
}

.kep-global-header .kep-r14e-account {
 border-top:1px solid #e2e8f0!important;
 padding-top:10px!important;
}

.kep-global-header .kep-r14e-account>a {
 font-weight:750!important;
 color:#334155!important;
 border-radius:12px!important;
}

.kep-global-header .kep-r14e-account>a:hover {
 background:#f1f5f9!important;
 color:#087F72!important;
}

.kep-global-header .kep-r14e-account form button {
 border:0!important;
 background:transparent!important;
 color:#b91c1c!important;
 border-radius:12px!important;
 font-size:15px!important;
 min-height:48px!important;
}

.kep-global-header .kep-r14e-account form button:hover {
 background:#fef2f2!important;
}

.kep-r14e-footer {
 font-family:inherit!important;
 background:#fff!important;
 border-top:1px solid #e2e8f0!important;
}

.kep-r14e-footer .kep-r14e-brand {
 font-weight:900!important;
 letter-spacing:-.025em!important;
 color:#123E45!important;
}

.kep-r14e-footer nav a {
 color:#475569!important;
 text-decoration:none!important;
}

.kep-r14e-footer nav a:hover {
 color:#087F72!important;
 text-decoration:underline!important;
}

@media(max-width:1439px) {
 .kep-global-header .kep-global-inner {
  min-height:70px!important;
 }

 .kep-global-header .kep-global-panel {
  border-radius:0!important;
  box-shadow:none!important;
  max-height:calc(100dvh - 106px)!important;
  padding:16px clamp(15px,4vw,34px) 30px!important;
 }

 .kep-global-header .kep-global-panel>a {
  font-size:15px!important;
  font-weight:750!important;
  min-height:48px!important;
  padding:15px!important;
  margin:2px 0!important;
 }

 .kep-global-header .kep-r14e-account>a {
  padding:15px!important;
  min-height:48px!important;
 }
}

@media(max-width:440px) {
 .kep-global-header .kep-global-brand strong {
  font-size:15px!important;
 }

 .kep-global-header .kep-global-brand svg {
  width:36px!important;
  height:36px!important;
 }
}
