/* FINAL LAYOUT — replace the old Jobs Additional CSS with this file. */
/* Compact branding; hide the automatic navigation/page list. */
.main-navigation,#site-navigation,#mobile-header,.secondary-navigation{display:none!important}
.site-header,body.home .site-header{display:block!important}
.site-header .inside-header{padding:12px 20px!important;min-height:0!important}
.site-header .main-title{font-size:22px;line-height:1.3;margin:0}
.site-header .main-title a{color:#172b4d!important;text-decoration:none}
.site-header .header-image{max-height:48px;width:auto}
body.home .entry-header{display:none}

/* Blue qualification and field buttons. */
.entry-content .jp-reference-stack,.entry-content .jp-home-pills{display:block!important;width:100%;max-width:444px;margin:0 auto 20px;padding:0 15px;box-sizing:border-box}
.entry-content .jp-nav-button{display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#1500ff!important;color:#fff!important;padding:8px 26px!important;margin:10px 0!important;border:0!important;border-radius:40px!important;font-size:20px!important;font-weight:700!important;line-height:1.7!important;text-align:center;text-decoration:none!important;box-shadow:0 6px 14px rgba(0,0,0,.18)!important;box-sizing:border-box;transition:transform .15s ease,box-shadow .15s ease;min-height:48px;overflow-wrap:anywhere}
.entry-content .jp-nav-button:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(0,0,0,.22)!important;color:#fff!important}
.entry-content .jp-card-cta{background:#1500ff!important;color:#fff!important;border:0!important;border-radius:6px!important;text-decoration:none!important}
.entry-content .jp-card-cta:hover{background:#1000cf!important;color:#fff!important}
.entry-content [data-jp-ad]:focus-visible,.jp-checklist-offer button:focus-visible{outline:3px solid #f59e0b;outline-offset:4px}
.jp-job-card{overflow-wrap:anywhere}
.jp-job-title:hover{color:#1500ff!important;text-decoration:underline!important}

/* Ad containers: sizing belongs to the ad tag, never crop or scale the creative. */
.jp-ad-wrap{margin:16px auto 24px;max-width:100%;text-align:center;clear:both}
.jp-ad-label{font-size:12px;color:#666;margin-bottom:6px}

/* Optional checklist styling, only used when the new header is installed. */
.jp-checklist-offer{background:#f0f6ff;border:1px solid #cbdcf6;border-radius:14px;padding:20px;margin:24px 0;color:#172b4d}
.jp-checklist-offer h2{font-size:22px}
.jp-checklist-offer p{font-size:16px;line-height:1.65}
.jp-checklist-offer button{padding:12px 16px;margin:4px;border-radius:8px;background:#1849d6;color:white;cursor:pointer}
.jp-checklist-offer button:disabled{background:#65758b;cursor:default}
.jp-checklist-offer .jp-dismiss{background:white;color:#173c75;border:1px solid #b8c8df}
.jp-checklist-offer [hidden],.jp-checklist-offer[hidden]{display:none!important}
.jp-checklist-result{background:white;padding:16px;border-radius:10px}
.jp-checklist-result li{margin-bottom:12px}

/* Mobile: shorter header, readable titles and single-column job cards. */
@media(max-width:768px){
.site-header .inside-header{padding:10px 16px!important}
.site-header .main-title{font-size:20px}
body .site-main .inside-article{padding:16px!important}
.entry-title{font-size:24px!important;line-height:1.3!important}
.entry-content{margin-top:14px!important}
.entry-content .jp-reference-stack,.entry-content .jp-home-pills{padding:0 4px!important}
.entry-content .jp-nav-button{font-size:18px!important;padding:10px 20px!important;line-height:1.45!important}
.jp-checklist-offer{padding:16px}
.jp-checklist-offer button{display:block;width:100%;margin:8px 0}
}
@media(max-width:600px){.jp-job-grid{grid-template-columns:1fr!important}.jp-job-card{padding:20px!important}}
@media(prefers-reduced-motion:reduce){.entry-content .jp-nav-button{transition:none}.entry-content .jp-nav-button:hover{transform:none}}
