/* Detail layout 0.6.3: qualifications sit in one tall card to the right of the 3 KPIs and below. */
body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid {
 display:grid;grid-template-columns:minmax(0,1fr) 306px;grid-template-rows:auto 1fr;
 column-gap:20px;row-gap:20px;align-items:start;position:relative;z-index:2;margin:-54px 20px 0;
}
body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-stats {
 grid-column:1;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 align-items:stretch;margin:0!important;gap:13px;width:100%;
}
body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-main-col{grid-column:1;grid-row:2;width:100%;min-width:0;}
body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-aside{
 grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;gap:16px;
 min-width:0;align-self:start;
}
body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid .sdb-stats>.sdb-stat{min-height:142px;}
body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid .sdb-qual-feature-card{
 min-height:320px;padding:20px 18px;background:#fff;border:1px solid #c9def5;
 border-top:3px solid #0872d7;border-radius:13px;box-shadow:0 6px 22px rgba(16,79,149,.09);
}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-feature-card h2{font-size:17px!important;line-height:1.45;margin-bottom:14px!important;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-required-note{
 display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;margin:0 0 16px;
 padding:11px 12px;background:#ecf5ff;border-radius:9px;color:#0857a8;line-height:1.45;
}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-required-note strong{font-size:15px;color:#07529f;font-weight:850;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-required-note small{display:block;flex-basis:100%;font-size:11px;color:#53718e;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-required-note .sdb-qual-not-required-icon{display:inline-flex;color:#05725d;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-required-note .sdb-qual-not-required-icon svg{width:16px;height:16px;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-has-required{background:#fff1ec;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-has-required strong{color:#a7441d;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-conditional{background:#fff9e8;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-conditional strong{color:#90600c;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-section-label{
 font-size:13px;font-weight:850;color:#194568;margin:0 0 8px!important;
}
body.sdb-theme-page .sdb-job-v6 .sdb-feature-qualification-list{list-style:none!important;padding:0!important;margin:0 0 14px!important;}
body.sdb-theme-page .sdb-job-v6 .sdb-feature-qualification-list li{
 list-style:none!important;display:flex;flex-direction:column;gap:6px;padding:11px 0!important;
 border-bottom:1px solid #e2edf8;font-size:14px;margin:0!important;
}
body.sdb-theme-page .sdb-job-v6 .sdb-feature-qualification-list li:first-child{padding-top:4px!important;}
body.sdb-theme-page .sdb-job-v6 .sdb-feature-qualification-list li:last-child{border-bottom:0;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-list-badge .sdb-qual-status{
 display:inline-flex;align-items:center;gap:3px;font-size:11px;padding:3px 8px;white-space:nowrap;
}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-list-badge .sdb-qual-status svg{width:12px;height:12px;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-list-name{
 display:block;color:#0e345e;font-weight:760;font-size:14px;line-height:1.5;overflow-wrap:anywhere;
}
body.sdb-theme-page .sdb-job-v6 a.sdb-qual-list-name{color:#0862bd;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-list-name svg{width:13px;height:13px;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-empty-state{font-size:12px;color:#56718e;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-footnote{font-size:11px;color:#647e96;line-height:1.65;margin:12px 0!important;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-db-link{
 display:flex;align-items:center;justify-content:space-between;gap:5px;font-weight:850;font-size:13px;
 padding:11px 12px;border-radius:9px;background:#0867c9;color:#fff!important;
}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-db-link:hover{background:#004e9a;color:#fff!important;}
body.sdb-theme-page .sdb-job-v6 .sdb-qual-db-link svg{width:15px;height:15px;}
@media(max-width:1120px){
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid{grid-template-columns:minmax(0,1fr) 268px;column-gap:15px;margin-left:12px;margin-right:12px;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-stats{gap:9px;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid .sdb-stats>.sdb-stat{padding:13px 9px;gap:7px;}
}
@media(max-width:850px){
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:16px;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-stats{grid-column:1;grid-row:1;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-aside{grid-column:1;grid-row:2;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-main-col{grid-column:1;grid-row:3;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid .sdb-qual-feature-card{min-height:0;}
}
@media(max-width:600px){
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid{margin:-25px 5px 0;row-gap:13px;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid .sdb-stats>.sdb-stat{min-height:122px;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid .sdb-stats>.sdb-stat:last-child{grid-column:1/-1;}
 body.sdb-theme-page .sdb-job-v6 .sdb-overview-grid>.sdb-aside{display:flex;}
}
