/* JobsPoint360 Post Sidebar — layout */
.jp360-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start}

/* Width fix: Astra's narrow single-post container (750px) would squeeze the
   post beside the 330px sidebar — widen single posts to the site width. */
@media (min-width:922px){
  body.single-post .site-content > .ast-container{max-width:1200px!important}
}
.single-post .entry-content[data-ast-blocks-layout] > .jp360-post-layout{max-width:none!important}

/* Post header (title + featured banner) moved inside the content column:
   banner takes the text column's width; sidebar starts at the page top. */
.jp360-post-main > .entry-header{margin:0 0 18px!important}
.jp360-post-main .post-thumb-img-content{margin:0!important}
.jp360-post-main .post-thumb-img-content img{width:100%;height:auto;display:block}

/* Latest / Recent Jobs (Contextual Related Posts) — 3 per row */
.single-post .crp_related ul{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 16px;padding:0!important;margin:0;list-style:none}
.single-post .crp_related li{margin:0!important;padding:0}
.single-post .crp_related .crp_link{display:block;text-decoration:none}
.single-post .crp_related figure{margin:0 0 8px!important}
.single-post .crp_related img.crp_thumbnail{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:10px;display:block}
.single-post .crp_related .crp_title{display:block;font-weight:600;color:#0A2540;line-height:1.35;font-size:14px}
.single-post .crp_related .crp_date{display:block;color:#64748b;font-size:12px;margin-top:3px}
@media (max-width:640px){
  .single-post .crp_related ul{grid-template-columns:repeat(2,1fr)}
}
.jp360-post-main{min-width:0}
.jp360-post-side{min-width:0}
@media (max-width:921px){
  .jp360-post-layout{grid-template-columns:minmax(0,1fr)}
}

/* Panel styles — copied verbatim from the homepage sidebar (same-to-same) */
.jp360-panel{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px rgba(16,24,40,.08);margin-bottom:16px}
.jp360-panel-h{background:linear-gradient(90deg,#0A2540,#046A38);color:#fff!important;font-size:15.5px;font-weight:700;line-height:1.4;padding:10px 14px;margin:0!important}
.jp360-panel .wp-block-query{margin:0!important}
.jp360-panel .wp-block-post-template{display:flex!important;flex-direction:column;gap:0;margin:0!important;padding:0;list-style:none}
.jp360-panel .wp-block-post{margin:0!important}
.jp360-panel .wp-block-post .wp-block-group,.jp360-panel .jp360-row{display:grid!important;grid-template-columns:48px 1fr;grid-template-areas:"thumb title" "thumb date";column-gap:10px;align-items:start;background:#fff!important;padding:9px 14px!important;margin:0!important;border:0!important;border-bottom:1px solid #eef2f6!important;box-shadow:none!important;border-radius:0!important}
.jp360-panel .wp-block-post:last-child .wp-block-group,.jp360-panel .wp-block-post:last-child .jp360-row{border-bottom:0!important}
.jp360-panel--text .wp-block-post .wp-block-group,.jp360-panel--text .jp360-row{grid-template-columns:1fr;grid-template-areas:"title" "date"}
.jp360-panel--text .wp-block-post-featured-image{display:none!important}
.jp360-panel .wp-block-post-featured-image{grid-area:thumb;width:48px!important;height:48px!important;min-width:48px;margin:0!important}
.jp360-panel .wp-block-post-featured-image img,.jp360-panel .wp-block-post-featured-image a{width:48px!important;height:48px!important;object-fit:cover;border-radius:8px;display:block}
.jp360-panel .wp-block-post-title{grid-area:title;margin:0!important;font-size:13.5px!important;line-height:1.35}
.jp360-panel .wp-block-post-title a{color:#0A2540!important;font-weight:600;text-decoration:none}
.jp360-panel .wp-block-post-title a:hover{text-decoration:underline}
.jp360-panel .wp-block-post-date{grid-area:date;margin:0!important;color:#64748b;font-size:11.5px}
.jp360-panel .wp-block-post-terms,.jp360-panel .wp-block-read-more{display:none!important}
.jp360-panel .jp360-btn{display:block!important;margin:0!important}
.jp360-panel .jp360-btn .wp-block-button{display:block!important;width:100%}
.jp360-panel .jp360-btn a{display:block!important;width:100%;background:#059669!important;color:#fff!important;font-weight:700;text-align:center;padding:9px!important;border-radius:0!important;font-size:14px;text-decoration:none}
.jp360-social-mini{display:flex;flex-direction:column;gap:8px;padding:12px 14px}
.jp360-social-mini a{display:flex;align-items:center;gap:10px;color:#fff!important;font-weight:700;padding:9px 14px 9px 9px;border-radius:999px;text-decoration:none!important;font-size:14px;box-shadow:0 4px 14px rgba(10,37,64,.18)}
.jp360-social-mini .jp360-fb{background:linear-gradient(135deg,#1877F2,#0d5cb6)}
.jp360-social-mini .jp360-wa{background:linear-gradient(135deg,#25D366,#1da851)}
.jp360-social-mini .jp360-badge{flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.jp360-social-mini .jp360-badge svg{width:18px;height:18px;display:block}
.jp360-social-mini .jp360-fb .jp360-badge svg{fill:#1877F2}
.jp360-social-mini .jp360-wa .jp360-badge svg{fill:#25D366}

.jp360-social-mini .jp360-yt{background:linear-gradient(135deg,#FF0000,#cc0000)}
.jp360-social-mini .jp360-yt .jp360-badge svg{fill:#FF0000}