.jtl-rest-hub,.jtl-rest-post-intro{box-sizing:border-box;max-width:1170px;width:calc(100% - 40px);margin:48px auto 54px;color:#555;font:400 15px/1.8 Poppins,Arial,sans-serif}
.jtl-rest-hub{display:grid;grid-template-columns:1fr .9fr;gap:56px;align-items:center}
.jtl-rest-hub__copy{min-width:0}
.jtl-rest-kicker{margin:0 0 13px!important;color:#c51132!important;font:600 11px/1.5 Poppins,Arial,sans-serif!important;letter-spacing:1.5px;text-transform:uppercase}
.jtl-rest-hub h2,.jtl-rest-post-intro h2{font:500 32px/1.4 Poppins,Arial,sans-serif;color:#282828;margin:0 0 18px}
.jtl-rest-hub p,.jtl-rest-post-intro p{font-size:15px;line-height:1.85;margin:0 0 16px}
.jtl-rest-hub__photo{margin:0;min-width:0;position:relative}
.jtl-rest-hub__photo:before{content:'';position:absolute;z-index:-1;right:-18px;top:18px;bottom:-18px;left:18px;background:#fbeef1;border-radius:4px}
.jtl-rest-hub__photo img{display:block;width:100%;height:330px;object-fit:cover;border-radius:4px}
.jtl-rest-hub__photo figcaption{position:absolute;left:18px;right:18px;bottom:18px;padding:12px 16px;background:rgba(24,31,34,.82);color:#fff;font-size:12px;line-height:1.5;border-radius:3px}
.jtl-rest-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
.jtl-rest-button{display:inline-flex;min-height:48px;box-sizing:border-box;align-items:center;justify-content:center;padding:11px 20px;border-radius:3px;background:#cf1232;color:#fff!important;text-decoration:none!important;font:600 13px/1.5 Poppins,Arial,sans-serif}
.jtl-rest-button:hover{background:#ac0f2b;color:#fff!important}
.jtl-rest-button--outline{background:transparent;color:#b20e2c!important;border:1px solid #cf1232}
.jtl-rest-button--outline:hover{background:#fbeef1;color:#9d0c27!important}
.jtl-rest-actions a:focus-visible,.jtl-rest-topiclinks a:focus-visible{outline:3px solid #b20e2c;outline-offset:3px}
.jtl-rest-topiclinks{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.jtl-rest-topiclinks a{display:inline-flex;padding:8px 12px;border-radius:3px;background:#f4f4f4;color:#333!important;font-size:12px;text-decoration:none}
.jtl-rest-topiclinks a:hover{background:#fbeef1;color:#b20e2c!important}

/* Career guide archive: keep the live post loop and pagination. */
body.blog #wrapper>.container.right-sidebar{max-width:1170px;width:calc(100% - 40px);margin:0 auto 72px}
body.blog #wrapper>.container.right-sidebar>.sidebar{display:none}
body.blog #wrapper>.container.right-sidebar>.eleven.columns{float:none;width:100%;margin:0;padding:0}
body.blog article.post-container{display:grid;grid-template-columns:minmax(260px,.38fr) minmax(0,1fr);overflow:hidden;margin:0 0 24px;border:0!important;box-shadow:0 7px 24px rgba(30,40,55,.07);border-radius:4px;background:#fff}
body.blog article.post-container .post-img{min-width:0;height:100%;margin:0}
body.blog article.post-container .post-img>a{display:block;height:100%;overflow:hidden}
body.blog article.post-container .post-img img{display:block;width:100%;height:100%;min-height:260px;object-fit:cover}
body.blog article.post-container .post-content{padding:30px 34px;min-width:0;border:0}
body.blog article.post-container .post-title{font-size:23px;font-weight:500;line-height:1.45;margin:0 0 10px;color:#282828}
body.blog article.post-container .meta-tags{font-size:12px;color:#777}
body.blog article.post-container p{font-size:14px;line-height:1.8;color:#656565}
body.blog article.post-container .button{border:0;background:#cf1232;color:#fff;border-radius:3px}
body.blog article.post-container .button:hover{background:#a90f2b}

/* Company archive preserves the searchable company list and its filters. */
body.post-type-archive-company #wrapper>.container.wpjm-container{max-width:1170px;width:calc(100% - 40px);margin:0 auto 70px}
body.post-type-archive-company .wpjmc-companies>li{border:0!important;box-shadow:0 6px 24px rgba(30,40,55,.07);border-radius:4px;background:#fff;margin-bottom:22px}
body.post-type-archive-company .company-inner{border:0!important}
body.post-type-archive-company .company-title--link:hover .company-title{color:#b20e2c}
body.post-type-archive-company .mas-wpjmc-search input[type=submit]{background:#cf1232;border:0;color:#fff;border-radius:3px}

/* Keep the dynamic WP Job Manager form, with clear guidance beside it. */
.jtl-rest-post-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px;margin-bottom:30px;background:#f7f7f7;padding:32px 36px;border-radius:4px}
.jtl-rest-post-intro h2{font-size:27px}.jtl-rest-post-intro p:last-child{margin-bottom:0}
.jtl-rest-post-intro ol{display:flex;flex-wrap:wrap;gap:15px;list-style:none;margin:0;padding:0;color:#333;font-size:12px;font-weight:500}
.jtl-rest-post-intro li{display:flex;align-items:center;gap:7px;white-space:nowrap}
.jtl-rest-post-intro li span{display:inline-flex;align-items:center;justify-content:center;background:#cf1232;color:#fff;border-radius:50%;width:24px;height:24px;font-size:12px}
body.page-id-158 #wrapper>.container.left-sidebar{max-width:900px;width:calc(100% - 40px);margin:0 auto 70px}
body.page-id-158 #wrapper>.container.left-sidebar>.sidebar{display:none}
body.page-id-158 #wrapper>.container.left-sidebar>.eleven.columns{float:none;width:100%;margin:0;padding:0}
body.page-id-158 .job-manager-message{background:#fbeef1;color:#6d2433;border-left:3px solid #cf1232}
body.page-id-158 .job-manager-message a.button{background:#cf1232;color:#fff;border:0;border-radius:3px}
body.page-id-158 .notification.notice{background:#fbeef1;color:#5d2530;border:0;border-left:3px solid #cf1232;box-shadow:none}
body.page-id-158 .notification.notice .button{background:#cf1232;color:#fff;border:0;border-radius:3px;text-decoration:none}
body.page-id-158 .notification.notice .button:hover{background:#a90f2b}

/* All published guides share the same reading width and typographic rhythm. */
body.single-post #wrapper>.container.left-sidebar{max-width:880px;width:calc(100% - 40px);margin:40px auto 64px}
body.single-post .container.left-sidebar>.sidebar{display:none}
body.single-post .container.left-sidebar>.eleven.columns{float:none;width:100%;margin:0}
body.single-post .container.left-sidebar>.eleven.columns>.padding-right{padding:0}
body.single-post article.post-container{border:0!important;box-shadow:none!important}
body.single-post article .post-img{overflow:hidden;border-radius:4px}
body.single-post article .post-img img{display:block;width:100%;height:320px;object-fit:cover}
body.single-post article .post-content{padding:30px 0 0;border:0!important;color:#565656;font-size:16px;line-height:1.85}
body.single-post article .post-title{font-size:32px;line-height:1.38;font-weight:500;color:#282828;margin:0 0 14px}
body.single-post article .post-content>a:has(.post-title){text-decoration:none!important;color:#282828!important}
body.single-post article .post-content>a:has(.post-title):hover .post-title{color:#b20e2c}
body.single-post article .post-content p{font-size:16px;line-height:1.85;margin-bottom:19px;color:#565656}
body.single-post article .post-content h2{font-size:26px;line-height:1.45;font-weight:500;margin:42px 0 15px;color:#282828}
body.single-post article .post-content h3{font-size:20px;line-height:1.5;font-weight:500;margin:28px 0 12px;color:#282828}
body.single-post article .post-content h4{font-size:17px;line-height:1.5;font-weight:500;margin:24px 0 10px;color:#282828}
body.single-post article .post-content a:not(.jtl-rest-button){color:#b20e2c;text-decoration:underline;text-underline-offset:3px}
body.single-post article .post-content figure{max-width:100%;margin:24px auto}
body.single-post article .post-content figure img{max-width:100%;height:auto}
body.single-post article .post-content :is(ul,ol){margin-bottom:22px;padding-left:26px}
body.single-post article .post-content li{margin-bottom:9px}
.jtl-updated-guide .jtl-guide-updated{display:inline-block;margin:0 0 16px;padding:5px 10px;background:#f7f7f7;color:#5d5d5d;font-size:12px;border-radius:3px}
.jtl-updated-guide .jtl-guide-toc{margin:28px 0 36px;padding:22px 28px;background:#f7f7f7;border-radius:4px}
.jtl-updated-guide .jtl-guide-toc-label{font-weight:600;color:#282828;margin:0 0 9px}
.jtl-updated-guide .jtl-guide-toc ol{margin:0;columns:2;column-gap:30px}
.jtl-updated-guide .jtl-guide-toc li{break-inside:avoid;margin:3px 0}
.jtl-updated-guide .jtl-guide-screenshot{margin:28px 0 34px;padding:16px;background:#f7f7f7;border-radius:4px}
.jtl-updated-guide .jtl-guide-screenshot picture,.jtl-updated-guide .jtl-guide-screenshot img{display:block;width:100%;height:auto}
.jtl-updated-guide .jtl-guide-screenshot figcaption{font-size:13px;line-height:1.6;color:#555;margin:12px 2px 2px}
.jtl-updated-guide .jtl-guide-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:3px;background:#cf1232;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:600}
.jtl-updated-guide .jtl-guide-button:hover{background:#a90f2b}
.jtl-updated-guide .jtl-guide-button:focus-visible{outline:3px solid #282828;outline-offset:3px}
.jtl-updated-guide .jtl-guide-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0}
.jtl-updated-guide .jtl-guide-flow span{display:flex;align-items:center;gap:9px;padding:14px 12px;background:#f7f7f7;border-radius:3px;font-size:13px;line-height:1.4;color:#333}
.jtl-updated-guide .jtl-guide-flow b{display:inline-flex;flex:none;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#cf1232;color:#fff;font-size:12px}
.jtl-updated-guide blockquote{margin:22px 0;padding:18px 22px;background:#f7f7f7;border-left:3px solid #cf1232;color:#333;font-style:normal}
.jtl-updated-guide .jtl-guide-table-wrap{max-width:100%;overflow:auto;margin:24px 0;border-radius:4px}
.jtl-updated-guide .jtl-guide-table-wrap:focus-visible{outline:3px solid #cf1232;outline-offset:2px}
.jtl-updated-guide .jtl-guide-table{width:100%;min-width:480px;border-collapse:collapse;font-size:14px;line-height:1.6}
.jtl-updated-guide .jtl-guide-table caption{text-align:left;color:#333;font-weight:600;margin-bottom:10px}
.jtl-updated-guide .jtl-guide-table :is(th,td){padding:12px 15px;text-align:left;border:0;border-bottom:1px solid #e6e6e6}
.jtl-updated-guide .jtl-guide-table th{background:#f7f7f7;color:#282828}
.jtl-palm-current{padding:20px 24px;margin:0 0 28px;background:#f7f7f7;border-left:3px solid #cf1232;border-radius:3px}
.jtl-palm-current p{margin:0 0 7px!important}.jtl-palm-current p:last-child{margin-bottom:0!important}
.jtl-rest-article-next{margin-top:48px;padding:30px 32px;background:#f7f7f7;border-radius:4px}
body.single-post .jtl-rest-article-next h2{margin-top:0!important;font-size:24px!important}

/* Policy pages are documents, so readability takes precedence over decorative art. */
body:is(.page-id-3,.page-id-14,.page-id-387) #wrapper>.container{max-width:900px;width:calc(100% - 40px);margin:34px auto 70px}
body:is(.page-id-3,.page-id-14,.page-id-387) .page-content{color:#555;line-height:1.8}
body:is(.page-id-3,.page-id-14,.page-id-387) :is(h2,h3){font-weight:500;color:#282828;line-height:1.45;margin-top:32px}

@media(max-width:800px){.jtl-rest-hub{grid-template-columns:1fr;gap:26px}.jtl-rest-hub__photo img{height:270px}.jtl-rest-post-intro{grid-template-columns:1fr;gap:20px}}
@media(max-width:600px){
 .jtl-rest-hub,.jtl-rest-post-intro{width:calc(100% - 40px);margin:32px auto 40px}
 .jtl-rest-hub h2{font-size:26px}.jtl-rest-hub__photo img{height:230px}
 .jtl-rest-hub__photo:before{right:-8px;bottom:-8px}
 .jtl-rest-actions{flex-direction:column}.jtl-rest-button{width:100%}
 .jtl-rest-post-intro{padding:24px}.jtl-rest-post-intro h2{font-size:24px}.jtl-rest-post-intro ol{gap:12px}
 body.blog article.post-container{grid-template-columns:1fr}
 body.blog article.post-container .post-img{height:205px}
 body.blog article.post-container .post-img img{min-height:0;height:205px}
 body.blog article.post-container .post-content{padding:22px}
 body.blog article.post-container .post-title{font-size:20px}
 body.single-post #wrapper>.container.left-sidebar{margin-top:25px}
 body.single-post article .post-img img{height:200px}
 body.single-post article .post-content{padding-top:22px}
 body.single-post article .post-title{font-size:27px}
 body.single-post article .post-content h2{font-size:23px}
 .jtl-updated-guide .jtl-guide-toc{padding:20px}
 .jtl-updated-guide .jtl-guide-toc ol{columns:1}
 .jtl-updated-guide .jtl-guide-screenshot{padding:8px}
 .jtl-updated-guide .jtl-guide-button{width:100%}
 .jtl-updated-guide .jtl-guide-flow{grid-template-columns:1fr 1fr}
 .jtl-updated-guide .jtl-guide-flow span{padding:12px 9px;font-size:12px}
 .jtl-rest-article-next{padding:22px}
}

/* Keep the company directory beside its filters within the existing container. */
@media (min-width: 992px) {
 body.post-type-archive-company .wpjm-container.right-sidebar {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:start;}
 body.post-type-archive-company .wpjm-container.right-sidebar::before,body.post-type-archive-company .wpjm-container.right-sidebar::after {display:none;}
 body.post-type-archive-company .wpjm-container.right-sidebar > .columns {width:auto;min-width:0;margin:0;float:none;}
 body.post-type-archive-company .wpjm-container.right-sidebar > article {grid-column:1;grid-row:1;}
 body.post-type-archive-company .wpjm-container.right-sidebar > .sidebar {grid-column:2;grid-row:1;}
 body.post-type-archive-company .wpjm-container.right-sidebar > article .padding-right {padding-right:0;}
}
