/* Phase 4 Jobs Premium UI — website presentation only */
.p4-job-hero,.p4-detail-hero{background:radial-gradient(circle at 75% 35%,rgba(47,92,255,.28),transparent 30%),linear-gradient(135deg,#071a48 0%,#0c2d78 58%,#121d6b 100%);color:#fff;position:relative;overflow:hidden}.p4-job-hero:after,.p4-detail-hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:38px 38px;pointer-events:none}.p4-job-hero>.container,.p4-detail-hero>.container{position:relative;z-index:1}.p4-job-hero{padding:24px 0 28px}.p4-breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;margin-bottom:22px;color:#dbe8ff}.p4-breadcrumb a{color:#dbe8ff}.p4-job-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:36px;align-items:center}.p4-hero-copy{display:flex;align-items:center;gap:22px}.p4-hero-icon{width:86px;height:86px;display:grid;place-items:center;border-radius:20px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.15);font-size:42px}.p4-hero-copy h1{font-size:42px;line-height:1.18;margin:0 0 10px;font-weight:900;letter-spacing:-.5px}.p4-hero-copy p{margin:0;max-width:620px;color:#e4edff;font-size:16px;line-height:1.7}.p4-summary-card{padding:20px;border-radius:18px;background:linear-gradient(145deg,rgba(66,91,216,.34),rgba(26,44,133,.38));border:1px solid rgba(255,255,255,.10);box-shadow:0 18px 45px rgba(0,0,0,.18)}.p4-summary-card h3{margin:0 0 15px;font-size:13px}.p4-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.p4-summary-grid>div{min-height:72px;border-radius:13px;background:rgba(255,255,255,.065);display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:11px}.p4-summary-grid i{grid-row:1/3;font-style:normal;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.10)}.p4-summary-grid strong{font-size:21px}.p4-summary-grid span{font-size:11px;color:#d9e4ff}.p4-job-search{display:grid;grid-template-columns:minmax(0,1fr) 190px 190px 110px;gap:8px;margin-top:24px;padding:6px;border-radius:14px;background:#fff;box-shadow:0 14px 35px rgba(0,0,0,.22)}.p4-search-input{display:flex;align-items:center;gap:10px;padding:0 12px}.p4-search-input span{color:#496285;font-size:23px}.p4-search-input input,.p4-job-search select{width:100%;height:44px;border:0;outline:0;background:transparent;font:inherit;color:#172543}.p4-job-search select{border-left:1px solid #e2e9f5;padding:0 10px}.p4-job-search button{border:0;border-radius:10px;background:linear-gradient(135deg,#3b48e8,#d735c9);color:#fff;font-weight:800;cursor:pointer}.p4-job-section{background:#f6f8fc;padding-top:30px}.p4-job-container{max-width:1160px}.p4-category-strip{display:flex;gap:10px;overflow:auto;padding-bottom:8px;margin-bottom:12px}.p4-category-strip>a{min-width:150px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:8px;background:#fff;border:1px solid #e3e8f2;border-radius:13px;padding:10px 12px;color:#172543;box-shadow:0 4px 14px rgba(24,45,88,.04)}.p4-category-strip>a.active{border-color:#6d5cff;box-shadow:0 0 0 2px rgba(109,92,255,.08)}.p4-category-strip img,.p4-category-strip>a>span{width:36px;height:36px;object-fit:cover;border-radius:10px;display:grid;place-items:center;background:#f0edff}.p4-category-strip strong{font-size:12px}.p4-category-strip small{color:#6d5cff;font-weight:800}.p4-subcategory-strip{display:flex;gap:8px;overflow:auto;margin:4px 0 18px}.p4-subcategory-strip a{white-space:nowrap;padding:7px 11px;border:1px solid #e1e7f2;border-radius:999px;background:#fff;font-size:12px}.p4-subcategory-strip a.active{background:#eef0ff;color:#5547df;border-color:#c7c1ff}.p4-list-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 14px}.p4-list-head>div{display:flex;align-items:center;gap:10px}.p4-list-head h2{margin:0;font-size:24px;color:#14254b}.p4-head-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f1eaff;color:#7737dc}.p4-list-head>span{font-size:12px;color:#7e8ba3}.p4-job-list{background:#fff;border:1px solid #e5e9f2;border-radius:17px;padding:16px;box-shadow:0 10px 32px rgba(18,39,78,.06)}.p4-job-card{display:grid;grid-template-columns:82px minmax(0,1fr) 205px;gap:18px;align-items:center;border:1px solid #e6e9f2;border-radius:14px;padding:14px 16px;margin-bottom:12px;background:#fff;transition:.2s ease}.p4-job-card:hover{transform:translateY(-2px);border-color:#c9c6ff;box-shadow:0 10px 24px rgba(49,52,138,.08)}.p4-job-logo{width:70px;height:70px;border-radius:50%;border:1px solid #dce3ef;background:#f8faff;display:grid;place-items:center;overflow:hidden}.p4-job-logo img{width:100%;height:100%;object-fit:contain}.p4-job-logo span{font-size:31px}.p4-job-maincopy h3{font-size:17px;line-height:1.45;margin:0 0 4px;color:#15369b}.p4-job-maincopy p{margin:0 0 9px;color:#596a84;font-size:13px}.p4-job-tags{display:flex;gap:6px;flex-wrap:wrap}.p4-job-tags span{padding:4px 9px;border-radius:999px;background:#f1efff;color:#6152dc;font-size:10px;font-weight:700}.p4-job-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right;border-left:1px solid #edf0f6;padding-left:16px}.p4-job-side small{color:#687891;font-size:11px}.p4-job-side strong{font-size:12px;color:#172543}.p4-job-side a{min-width:124px;text-align:center;padding:8px 12px;border-radius:8px;border:1px solid #7566ff;color:#5547df;font-weight:800;font-size:12px;background:#fff}.p4-pagination{margin-bottom:4px}
/* Detail */
.p4-detail-hero{padding:20px 0 22px}.p4-detail-breadcrumb{margin-bottom:18px}.p4-detail-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:center}.p4-detail-title-area{display:flex;align-items:center;gap:18px}.p4-detail-logo{width:84px;height:84px;flex:0 0 84px;border-radius:50%;background:#fff;border:4px solid rgba(255,255,255,.16);display:grid;place-items:center;overflow:hidden}.p4-detail-logo img{width:100%;height:100%;object-fit:contain}.p4-detail-logo span{font-size:38px}.p4-detail-title-copy h1{margin:0 0 6px;font-size:36px;line-height:1.25}.p4-detail-title-copy p{margin:0 0 10px;color:#dbe7ff}.p4-detail-badges{display:flex;gap:7px;flex-wrap:wrap}.p4-detail-badges span{padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);font-size:11px}.p4-detail-app-card{border-radius:17px;padding:18px;background:linear-gradient(135deg,#126bf5,#9d42e8 62%,#df2ca8);box-shadow:0 17px 38px rgba(0,0,0,.2)}.p4-detail-app-card h3{margin:0 0 10px;font-size:16px}.p4-detail-app-card ul{list-style:none;padding:0;margin:0 0 13px;display:grid;gap:6px;font-size:12px}.p4-detail-app-card a{display:block;padding:11px;text-align:center;border-radius:9px;background:#fff;color:#3041b7;font-weight:900}.p4-detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:18px;border:1px solid rgba(255,255,255,.10);border-radius:13px;overflow:hidden;background:rgba(255,255,255,.05)}.p4-detail-stats>div{padding:12px 15px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;column-gap:9px;background:rgba(255,255,255,.035)}.p4-detail-stats i{grid-row:1/3;font-style:normal;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.10)}.p4-detail-stats span{font-size:10px;color:#cddaff}.p4-detail-stats strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p4-detail-section{background:#f6f8fc;padding-top:22px}.p4-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start;max-width:1160px}.p4-detail-main{display:grid;gap:14px}.p4-content-card{background:#fff;border:1px solid #e3e8f1;border-radius:15px;box-shadow:0 7px 24px rgba(21,43,85,.05);overflow:hidden}.p4-content-card>h2{font-size:17px;color:#2147c8;margin:0;padding:14px 16px;border-bottom:1px solid #edf0f5}.p4-content-card>h2 span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#f0edff;color:#6b4dde;margin-right:6px}.p4-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:16px}.p4-quick-grid>div{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;padding:5px 12px;border-right:1px solid #edf0f6}.p4-quick-grid>div:last-child{border-right:0}.p4-quick-grid i{grid-row:1/3;font-style:normal}.p4-quick-grid span{font-size:10px;color:#7c8ba4}.p4-quick-grid strong{font-size:12px;color:#21314d}.p4-circular-preview{padding:13px;background:#f4f6fa}.p4-circular-preview img{width:100%;max-height:500px;object-fit:contain;background:#fff;border-radius:8px}.p4-full-content-card .job-detail-content{padding:18px 20px}.p4-advice-card{padding-bottom:6px;border-color:#f2dba1;background:linear-gradient(180deg,#fff,#fffaf0)}.p4-advice-card>h2{color:#b97a05;border:0}.p4-advice-card ul{margin:0;padding:0 22px 16px 40px;line-height:1.8;color:#5c4c2f}.p4-detail-sidebar{position:sticky;top:82px;display:grid;gap:12px}.p4-side-card{border-radius:14px;border-color:#e1e6ef;box-shadow:0 7px 24px rgba(21,43,85,.05)}.p4-side-card h3{color:#2147c8;font-size:15px;margin:0 0 8px}.p4-side-card.job-info-card{padding:16px}.p4-side-card.job-info-card>div{font-size:11px}.p4-checklist{padding:16px}.p4-checklist ul{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:9px;font-size:12px}.p4-checklist li:before{content:"✓";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e6f8ec;color:#16a34a;font-weight:900;margin-right:7px}.p4-app-promo{border-radius:14px;padding:17px;background:linear-gradient(135deg,#174ef0,#7346e9);color:#fff}.p4-app-promo h3{margin:0 0 7px}.p4-app-promo p{font-size:12px}.p4-app-promo .btn{width:100%;text-align:center}.p4-detail-sidebar .sj-sidebar-resources{border-radius:14px!important;box-shadow:0 7px 24px rgba(21,43,85,.05)!important}.p4-detail-sidebar .sj-side-action{border-radius:9px!important}.p4-detail-sidebar .sj-side-action-apply{background:#13ae55!important;color:#fff!important}.p4-detail-sidebar .sj-side-action-pdf{background:#3459ef!important;color:#fff!important}.p4-detail-sidebar .sj-side-action-official{background:#7144e8!important;color:#fff!important}
@media(max-width:980px){.p4-job-hero-grid,.p4-detail-hero-grid{grid-template-columns:1fr}.p4-job-search{grid-template-columns:1fr 1fr}.p4-job-search .p4-search-input{grid-column:1/-1}.p4-detail-layout{grid-template-columns:1fr}.p4-detail-sidebar{position:static}.p4-quick-grid{grid-template-columns:1fr 1fr}.p4-detail-stats{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.p4-job-hero{padding-top:18px}.p4-hero-copy{align-items:flex-start}.p4-hero-icon{width:58px;height:58px;font-size:29px}.p4-hero-copy h1{font-size:28px}.p4-job-search{grid-template-columns:1fr}.p4-job-search .p4-search-input{grid-column:auto}.p4-job-search select{border-left:0;border-top:1px solid #eef1f7}.p4-job-search button{height:44px}.p4-job-card{grid-template-columns:58px 1fr;padding:12px}.p4-job-logo{width:54px;height:54px}.p4-job-side{grid-column:1/-1;align-items:stretch;text-align:left;border-left:0;border-top:1px solid #edf0f6;padding:10px 0 0}.p4-job-side a{width:100%}.p4-detail-title-area{align-items:flex-start}.p4-detail-logo{width:60px;height:60px;flex-basis:60px}.p4-detail-title-copy h1{font-size:25px}.p4-detail-stats,.p4-quick-grid{grid-template-columns:1fr 1fr}.p4-quick-grid>div{border-right:0;border-bottom:1px solid #edf0f6}.p4-list-head h2{font-size:20px}}

/* === Phase 4 verified visual polish: keep Smart Job Renderer logic untouched === */
.p4-job-container,.p4-detail-layout,.p4-job-hero>.container,.p4-detail-hero>.container{max-width:1220px!important}
.p4-job-section,.p4-detail-section{background:linear-gradient(180deg,#f8faff 0%,#f4f7fc 100%)}
.p4-job-list{padding:18px;border-radius:18px}
.p4-job-card{min-height:116px;padding:16px 18px;border-color:#e1e7f2;box-shadow:0 3px 12px rgba(25,48,94,.025)}
.p4-job-maincopy h3{font-size:18px;font-weight:900}
.p4-job-side a{background:linear-gradient(180deg,#fff,#fbfaff);box-shadow:0 3px 10px rgba(91,77,222,.07)}
.p4-detail-section{padding-bottom:34px}
.p4-detail-layout{grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.p4-content-card{border-radius:16px;box-shadow:0 8px 26px rgba(25,49,96,.055)}
.p4-content-card>h2{font-weight:900;letter-spacing:-.1px}
.p4-quick-grid{gap:0}
.p4-circular-preview{padding:16px;background:linear-gradient(180deg,#f7f9fc,#f1f4f9)}
.p4-circular-preview img{border:1px solid #e6eaf1;box-shadow:0 7px 20px rgba(24,43,82,.07)}
.p4-full-content-card{overflow:visible}
.p4-full-content-card>.job-detail-content.smart-job-content{border-radius:0 0 16px 16px}
.p4-detail-sidebar{top:76px;gap:14px}
.p4-side-card{background:#fff;border:1px solid #e1e7f0!important}
.p4-side-card h3{font-weight:900}
.p4-checklist li{line-height:1.5}
.p4-app-promo{box-shadow:0 12px 28px rgba(77,65,214,.18)}

/* Do not override tables/content generated by smart-job-content.js.
   These rules only make its container blend with the Phase 4 premium shell. */
.p4-full-content-card .smart-job-content .sj-quick-info,
.p4-full-content-card .smart-job-content .sj-action-panel,
.p4-full-content-card .smart-job-content .sj-section-card,
.p4-full-content-card .smart-job-content .sj-table-shell{max-width:100%}

@media(max-width:980px){.p4-detail-layout{grid-template-columns:1fr}.p4-detail-sidebar{top:auto}}


/* Phase 4.3 — Auto Quick Job Information in hero */
.p4-detail-stats.p4-detail-stats-auto{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:8px;
  background:rgba(255,255,255,.055);
}
.p4-detail-stats.p4-detail-stats-auto>div{
  min-width:0;
  border:1px solid rgba(255,255,255,.10);
  border-radius:11px;
  background:rgba(255,255,255,.07);
  padding:11px 12px;
}
.p4-detail-stats.p4-detail-stats-auto strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.35;
}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-vacancy{background:linear-gradient(135deg,rgba(36,199,111,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-salary{background:linear-gradient(135deg,rgba(42,135,255,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-age{background:linear-gradient(135deg,rgba(246,166,35,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-fee{background:linear-gradient(135deg,rgba(159,82,229,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-start{background:linear-gradient(135deg,rgba(89,85,255,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-deadline{background:linear-gradient(135deg,rgba(255,83,116,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-type{background:linear-gradient(135deg,rgba(24,194,196,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-location{background:linear-gradient(135deg,rgba(66,133,244,.18),rgba(255,255,255,.06));}
.p4-detail-stats.p4-detail-stats-auto .p4-hero-fact-qualification{background:linear-gradient(135deg,rgba(139,92,246,.18),rgba(255,255,255,.06));}
@media(max-width:900px){.p4-detail-stats.p4-detail-stats-auto{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.p4-detail-stats.p4-detail-stats-auto{grid-template-columns:1fr;}}

/* ============================================================
   Phase 4.4 — Mobile responsive hardening
   Presentation-only. No Job/API/Smart Renderer logic changes.
   ============================================================ */
.p4-job-hero-grid > *,
.p4-detail-hero-grid > *,
.p4-detail-layout > *,
.p4-job-card > *{min-width:0}
.p4-pagination{position:static!important;inset:auto!important;transform:none!important;z-index:auto!important;clear:both;width:100%;display:flex!important;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:18px 0 4px!important;padding:0!important;background:transparent!important;box-shadow:none!important}
.p4-pagination .page-numbers{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.p4-pagination .page-btn,.p4-pagination .page-number{position:static!important;float:none!important;transform:none!important;min-width:38px;min-height:38px;padding:8px 10px;border:1px solid #dbe3ef;border-radius:9px;background:#fff;color:#3152c9;font-size:12px;font-weight:800;line-height:1;box-shadow:none}
.p4-pagination .page-number.active{background:#3152c9;color:#fff;border-color:#3152c9}

@media (max-width: 760px){
  /* Landing hero */
  .p4-job-hero{padding:14px 0 20px!important;overflow:hidden}
  .p4-job-hero>.container{width:100%;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}
  .p4-breadcrumb{margin-bottom:14px;font-size:11px;white-space:normal;flex-wrap:wrap}
  .p4-job-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;align-items:stretch!important}
  .p4-hero-copy{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;width:100%;padding:0;background:transparent!important;border:0!important;box-shadow:none!important}
  .p4-hero-icon{width:52px!important;height:52px!important;border-radius:14px!important;font-size:27px!important}
  .p4-hero-copy h1{font-size:27px!important;line-height:1.25!important;letter-spacing:-.2px!important;margin:0 0 6px!important;overflow-wrap:anywhere}
  .p4-hero-copy p{font-size:13px!important;line-height:1.65!important;margin:0!important;color:#e5edff!important;overflow-wrap:anywhere}
  .p4-summary-card{padding:14px!important;border-radius:16px!important;width:100%;box-sizing:border-box}
  .p4-summary-card h3{margin-bottom:10px!important;font-size:12px!important}
  .p4-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .p4-summary-grid>div{min-height:70px!important;padding:9px!important;grid-template-columns:31px minmax(0,1fr)!important;column-gap:7px!important}
  .p4-summary-grid i{width:30px!important;height:30px!important;font-size:14px}
  .p4-summary-grid strong{font-size:20px!important;line-height:1.05}
  .p4-summary-grid span{font-size:10px!important;line-height:1.25}

  /* Search/filter: no squeeze, no overlap */
  .p4-job-search{display:grid!important;grid-template-columns:1fr!important;gap:0!important;width:100%;margin-top:16px!important;padding:6px!important;border-radius:16px!important;box-sizing:border-box;overflow:hidden}
  .p4-search-input{min-height:50px!important;padding:0 12px!important;border-bottom:1px solid #edf1f6}
  .p4-search-input span{font-size:22px!important;flex:0 0 auto}
  .p4-search-input input{height:48px!important;min-width:0!important;font-size:14px!important;padding:0!important}
  .p4-job-search select{height:52px!important;border:0!important;border-bottom:1px solid #edf1f6!important;padding:0 12px!important;font-size:14px!important;background:#fff!important}
  .p4-job-search button{height:50px!important;margin-top:6px!important;border-radius:11px!important;font-size:15px!important}

  /* Landing content */
  .p4-job-section{padding-top:18px!important}
  .p4-job-section>.container,.p4-job-container{width:100%;max-width:100%!important;padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
  .p4-category-strip{gap:9px!important;margin:0 -16px 13px!important;padding:0 16px 10px!important;scroll-padding-left:16px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
  .p4-category-strip>a{flex:0 0 auto!important;min-width:190px!important;max-width:220px!important;min-height:72px!important;padding:10px 12px!important;border-radius:14px!important;scroll-snap-align:start;grid-template-columns:38px minmax(0,1fr) auto!important}
  .p4-category-strip strong{font-size:13px!important;line-height:1.35;white-space:normal}
  .p4-category-strip small{font-size:12px!important}
  .p4-subcategory-strip{margin:0 -16px 15px!important;padding:0 16px 8px!important;-webkit-overflow-scrolling:touch}
  .p4-list-head{margin:14px 0 12px!important;gap:8px}
  .p4-list-head h2{font-size:22px!important;line-height:1.25}
  .p4-list-head>span{font-size:12px!important;white-space:nowrap}
  .p4-head-icon{width:38px!important;height:38px!important;flex:0 0 38px}
  .p4-job-list{padding:10px!important;border-radius:16px!important}
  .p4-job-card{display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;min-height:0!important;padding:14px!important;margin-bottom:12px!important;border-radius:15px!important}
  .p4-job-logo{width:58px!important;height:58px!important;grid-row:1!important;align-self:start}
  .p4-job-maincopy{min-width:0!important}
  .p4-job-maincopy h3{font-size:18px!important;line-height:1.45!important;margin:0 0 5px!important;overflow-wrap:anywhere}
  .p4-job-maincopy p{font-size:13px!important;line-height:1.45!important;margin-bottom:8px!important}
  .p4-job-tags{gap:5px!important}
  .p4-job-tags span{font-size:10px!important;padding:5px 8px!important}
  .p4-job-side{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important;align-items:stretch!important;text-align:left!important;border-left:0!important;border-top:1px solid #edf0f6!important;padding:11px 0 0!important;margin-top:2px!important}
  .p4-job-side small{font-size:11px!important}
  .p4-job-side strong{font-size:12px!important}
  .p4-job-side a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:46px!important;padding:10px 12px!important;font-size:13px!important;border-radius:10px!important;box-sizing:border-box}

  /* Detail page mobile */
  .p4-detail-hero{padding:14px 0 18px!important}
  .p4-detail-hero>.container{width:100%;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}
  .p4-detail-hero-grid{grid-template-columns:1fr!important;gap:14px!important}
  .p4-detail-title-area{display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
  .p4-detail-logo{width:60px!important;height:60px!important;flex-basis:auto!important}
  .p4-detail-title-copy h1{font-size:25px!important;line-height:1.28!important;overflow-wrap:anywhere}
  .p4-detail-title-copy p{font-size:13px!important;line-height:1.5!important}
  .p4-detail-app-card{padding:15px!important}
  .p4-detail-stats,.p4-detail-stats.p4-detail-stats-auto{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:7px!important;margin-top:14px!important}
  .p4-detail-stats>div,.p4-detail-stats.p4-detail-stats-auto>div{padding:10px!important;min-height:67px}
  .p4-detail-stats strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:11px!important;line-height:1.35!important}
  .p4-detail-section>.container,.p4-detail-layout{width:100%;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;box-sizing:border-box}
  .p4-detail-layout{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .p4-content-card{border-radius:14px!important}
  .p4-content-card>h2{font-size:16px!important;padding:13px!important}
  .p4-circular-preview{padding:8px!important}
  .p4-circular-preview img{max-height:none!important;width:100%!important;height:auto!important}
  .p4-full-content-card .job-detail-content{padding:12px!important;overflow-wrap:anywhere}
  .p4-detail-sidebar{position:static!important;width:100%!important;min-width:0!important}

  /* Smart content/table safety on narrow devices */
  .p4-full-content-card .smart-job-content table,
  .p4-full-content-card .job-detail-content table{min-width:620px}
  .p4-full-content-card .smart-job-content .sj-table-shell,
  .p4-full-content-card .job-detail-content .sj-table-shell{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .p4-full-content-card .smart-job-content img,
  .p4-full-content-card .job-detail-content img{max-width:100%!important;height:auto!important}
}

@media (max-width: 430px){
  .p4-job-hero>.container,.p4-job-section>.container,.p4-job-container{padding-left:13px!important;padding-right:13px!important}
  .p4-hero-copy{grid-template-columns:46px minmax(0,1fr)!important;gap:10px!important}
  .p4-hero-icon{width:46px!important;height:46px!important;font-size:24px!important}
  .p4-hero-copy h1{font-size:24px!important}
  .p4-summary-grid>div{min-height:66px!important}
  .p4-category-strip{margin-left:-13px!important;margin-right:-13px!important;padding-left:13px!important;padding-right:13px!important}
  .p4-category-strip>a{min-width:178px!important;max-width:200px!important}
  .p4-list-head h2{font-size:20px!important}
  .p4-job-list{padding:8px!important}
  .p4-job-card{grid-template-columns:54px minmax(0,1fr)!important;padding:12px!important;gap:10px!important}
  .p4-job-logo{width:50px!important;height:50px!important}
  .p4-job-maincopy h3{font-size:17px!important}
  .p4-detail-title-area{grid-template-columns:54px minmax(0,1fr)!important}
  .p4-detail-logo{width:52px!important;height:52px!important}
  .p4-detail-title-copy h1{font-size:22px!important}
  .p4-detail-stats,.p4-detail-stats.p4-detail-stats-auto{grid-template-columns:1fr!important}
}

/* ============================================================
   Phase 4.4 — Reference-match layout polish
   Desktop + Tablet + Mobile presentation only.
   Existing Smart Job parser/table/auto-color logic remains intact.
   ============================================================ */
:root{
  --p4-navy:#071b49;
  --p4-blue:#0b2f78;
  --p4-indigo:#294fe9;
  --p4-purple:#6849e8;
  --p4-pink:#d832c3;
  --p4-ink:#142342;
  --p4-muted:#73829c;
  --p4-line:#e4e9f3;
  --p4-bg:#f6f8fd;
}

/* ---------- LANDING PAGE ---------- */
.p4-job-hero{
  padding:28px 0 30px!important;
  background:
    radial-gradient(circle at 76% 24%,rgba(46,82,255,.30),transparent 32%),
    linear-gradient(128deg,#07183e 0%,#0b2870 58%,#171666 100%)!important;
}
.p4-job-hero>.container{max-width:1240px!important}
.p4-job-hero-grid{grid-template-columns:minmax(0,1fr) 340px!important;gap:42px!important}
.p4-hero-copy{align-items:center!important}
.p4-hero-icon{width:88px!important;height:88px!important;border-radius:20px!important;font-size:43px!important}
.p4-hero-copy h1{font-size:43px!important;line-height:1.17!important;max-width:690px}
.p4-hero-copy p{font-size:15px!important;max-width:700px!important;color:#dce7ff!important}
.p4-summary-card{border-radius:16px!important;padding:18px!important;background:linear-gradient(145deg,rgba(52,79,203,.42),rgba(24,39,123,.48))!important}
.p4-summary-grid>div{min-height:74px!important}
.p4-job-search{margin-top:24px!important;border-radius:14px!important;box-shadow:0 14px 34px rgba(0,0,0,.20)!important}

.p4-job-section{padding:28px 0 42px!important}
.p4-job-container{max-width:1160px!important}
.p4-category-strip{margin-bottom:14px!important}
.p4-category-strip>a{min-width:178px!important;min-height:64px!important;border-radius:14px!important}
.p4-list-head{margin:18px 0 14px!important}
.p4-list-head h2{font-size:24px!important;font-weight:900!important}
.p4-job-list{padding:18px!important;border-radius:18px!important}
.p4-job-card{
  grid-template-columns:76px minmax(0,1fr) 190px!important;
  min-height:112px!important;
  padding:15px 17px!important;
  margin-bottom:12px!important;
  border-radius:14px!important;
}
.p4-job-logo{width:68px!important;height:68px!important}
.p4-job-maincopy h3{font-size:18px!important;line-height:1.38!important}
.p4-job-maincopy p{font-size:12.5px!important}
.p4-job-side{gap:7px!important}
.p4-job-side a{min-width:128px!important;border-radius:9px!important}

/* ---------- DETAIL HERO ---------- */
.p4-detail-hero{
  padding:22px 0 0!important;
  overflow:visible!important;
  background:
    radial-gradient(circle at 75% 28%,rgba(48,86,255,.28),transparent 31%),
    linear-gradient(128deg,#071a47 0%,#0a2c76 58%,#161b69 100%)!important;
}
.p4-detail-hero>.container{max-width:1240px!important}
.p4-detail-breadcrumb{margin-bottom:18px!important}
.p4-detail-hero-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:34px!important;align-items:center!important}
.p4-detail-title-area{gap:18px!important}
.p4-detail-logo{width:88px!important;height:88px!important;flex:0 0 88px!important;border-width:3px!important}
.p4-detail-title-copy h1{font-size:38px!important;line-height:1.2!important;margin-bottom:6px!important;letter-spacing:-.4px}
.p4-detail-title-copy p{font-size:15px!important;margin-bottom:10px!important}
.p4-detail-badges span{font-size:11px!important;padding:5px 10px!important}
.p4-detail-app-card{padding:18px!important;border-radius:16px!important;background:linear-gradient(135deg,#1373f5 0%,#7044e8 52%,#d92fb3 100%)!important}
.p4-detail-app-card h3{font-size:16px!important}
.p4-detail-app-card ul{font-size:12px!important;gap:7px!important}
.p4-detail-app-card a{padding:11px!important;border-radius:9px!important}

/* Auto Quick Job Information replaces the old 4 hero facts.
   It intentionally looks like the reference white information board. */
.p4-detail-stats,
.p4-detail-stats.p4-detail-stats-auto{
  position:relative!important;
  z-index:5!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:22px 0 -38px!important;
  padding:0!important;
  border:1px solid #e3e8f2!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 13px 30px rgba(20,45,92,.12)!important;
}
.p4-detail-stats>div,
.p4-detail-stats.p4-detail-stats-auto>div{
  min-width:0!important;
  min-height:82px!important;
  padding:15px 16px!important;
  border:0!important;
  border-right:1px solid #e9edf4!important;
  border-bottom:1px solid #e9edf4!important;
  border-radius:0!important;
  background:#fff!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  align-items:center!important;
}
.p4-detail-stats>div:nth-child(4n){border-right:0!important}
.p4-detail-stats i{
  grid-row:1/3!important;
  width:38px!important;height:38px!important;
  color:#304ed9!important;
  background:#f2f4ff!important;
  border-radius:11px!important;
  font-size:18px!important;
}
.p4-detail-stats span{font-size:10px!important;color:#667793!important;font-weight:700!important}
.p4-detail-stats strong{
  color:#172643!important;
  font-size:13px!important;
  line-height:1.4!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.p4-detail-stats .p4-hero-fact-vacancy i{background:#eaf9ef!important;color:#16a34a!important}
.p4-detail-stats .p4-hero-fact-salary i{background:#edf5ff!important;color:#1476e8!important}
.p4-detail-stats .p4-hero-fact-age i{background:#fff3e6!important;color:#f28a14!important}
.p4-detail-stats .p4-hero-fact-fee i{background:#f3eeff!important;color:#7048e8!important}
.p4-detail-stats .p4-hero-fact-start i{background:#f1efff!important;color:#5a51ef!important}
.p4-detail-stats .p4-hero-fact-deadline i{background:#fff0f2!important;color:#ef4768!important}
.p4-detail-stats .p4-hero-fact-type i{background:#eafbfb!important;color:#0ba4aa!important}
.p4-detail-stats .p4-hero-fact-location i{background:#edf6ff!important;color:#2474df!important}
.p4-detail-stats .p4-hero-fact-qualification i{background:#f3efff!important;color:#7549e5!important}

/* ---------- DETAIL BODY ---------- */
.p4-detail-section{padding:62px 0 42px!important;background:linear-gradient(180deg,#f8faff,#f4f7fc)!important}
.p4-detail-layout{max-width:1240px!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:18px!important}
.p4-detail-main{gap:14px!important}
.p4-content-card{border-radius:14px!important;border-color:#e2e7f0!important;box-shadow:0 7px 22px rgba(20,42,82,.055)!important}
.p4-content-card>h2{padding:14px 16px!important;font-size:17px!important}
.p4-circular-card{order:1}
.p4-full-content-card{order:2}
.p4-advice-card{order:3}
.p4-circular-preview{padding:13px!important;background:#f2f4f8!important}
.p4-circular-preview img{max-height:570px!important;border-radius:8px!important}
.p4-full-content-card .job-detail-content{padding:16px 18px!important}

.p4-detail-sidebar{top:78px!important;gap:12px!important}
.p4-side-card{border-radius:14px!important;padding:15px!important}
.p4-side-card h3{font-size:15px!important;margin-bottom:10px!important}
.p4-checklist ul{gap:8px!important;font-size:12px!important}
.p4-app-promo{padding:16px!important;border-radius:14px!important}

/* Smart renderer stays visually strong inside the new shell */
.p4-full-content-card .smart-job-content .sj-section-card{border-radius:13px!important}
.p4-full-content-card .smart-job-content .sj-table-shell{border-radius:12px!important;overflow:hidden}
.p4-full-content-card .smart-job-content table{margin-bottom:0}
.p4-full-content-card .smart-job-content img{max-width:100%;height:auto}

/* ---------- TABLET ---------- */
@media (max-width: 1020px){
  .p4-job-hero-grid,.p4-detail-hero-grid{grid-template-columns:1fr!important}
  .p4-detail-app-card{max-width:none!important}
  .p4-detail-stats,.p4-detail-stats.p4-detail-stats-auto{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .p4-detail-stats>div:nth-child(4n){border-right:1px solid #e9edf4!important}
  .p4-detail-stats>div:nth-child(2n){border-right:0!important}
  .p4-detail-layout{grid-template-columns:1fr!important}
  .p4-detail-sidebar{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .p4-detail-sidebar>*{min-width:0}
}

/* ---------- MOBILE ---------- */
@media (max-width: 760px){
  .p4-job-hero{padding:16px 0 20px!important}
  .p4-job-hero>.container,.p4-detail-hero>.container{padding-left:14px!important;padding-right:14px!important}
  .p4-job-hero-grid{gap:14px!important}
  .p4-hero-copy{grid-template-columns:50px minmax(0,1fr)!important;gap:11px!important}
  .p4-hero-icon{width:50px!important;height:50px!important;font-size:25px!important}
  .p4-hero-copy h1{font-size:26px!important;line-height:1.25!important}
  .p4-hero-copy p{font-size:13px!important;line-height:1.55!important}
  .p4-summary-card{padding:13px!important}
  .p4-summary-grid{gap:8px!important}
  .p4-summary-grid>div{min-height:68px!important}

  .p4-job-search{margin-top:15px!important;border-radius:15px!important}
  .p4-category-strip>a{min-width:184px!important;min-height:68px!important}
  .p4-job-list{padding:9px!important}
  .p4-job-card{grid-template-columns:58px minmax(0,1fr)!important;padding:13px!important;gap:10px!important;min-height:0!important}
  .p4-job-logo{width:54px!important;height:54px!important}
  .p4-job-maincopy h3{font-size:17px!important;line-height:1.42!important}
  .p4-job-side{grid-column:1/-1!important}

  .p4-detail-hero{padding:14px 0 0!important}
  .p4-detail-hero-grid{gap:13px!important}
  .p4-detail-title-area{grid-template-columns:58px minmax(0,1fr)!important;gap:11px!important}
  .p4-detail-logo{width:56px!important;height:56px!important;flex-basis:auto!important}
  .p4-detail-title-copy h1{font-size:23px!important;line-height:1.28!important}
  .p4-detail-title-copy p{font-size:12.5px!important}
  .p4-detail-app-card{padding:14px!important}

  .p4-detail-stats,.p4-detail-stats.p4-detail-stats-auto{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin:16px 0 -28px!important;
    border-radius:13px!important;
  }
  .p4-detail-stats>div,.p4-detail-stats.p4-detail-stats-auto>div{min-height:78px!important;padding:12px!important;grid-template-columns:34px minmax(0,1fr)!important;column-gap:8px!important}
  .p4-detail-stats i{width:34px!important;height:34px!important;font-size:16px!important}
  .p4-detail-stats span{font-size:9.5px!important}
  .p4-detail-stats strong{font-size:11.5px!important}

  .p4-detail-section{padding:48px 0 30px!important}
  .p4-detail-layout{padding-left:12px!important;padding-right:12px!important;gap:12px!important}
  .p4-content-card>h2{font-size:15px!important;padding:12px 13px!important}
  .p4-circular-preview{padding:8px!important}
  .p4-circular-preview img{max-height:none!important}
  .p4-full-content-card .job-detail-content{padding:11px!important}
  .p4-detail-sidebar{grid-template-columns:1fr!important;gap:10px!important}
  .p4-side-card,.p4-app-promo{padding:13px!important}

  .p4-full-content-card .smart-job-content .sj-table-shell{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .p4-full-content-card .smart-job-content table{min-width:620px!important}
}

@media (max-width: 430px){
  .p4-hero-copy h1{font-size:23px!important}
  .p4-detail-title-copy h1{font-size:21px!important}
  .p4-detail-stats,.p4-detail-stats.p4-detail-stats-auto{grid-template-columns:1fr 1fr!important}
  .p4-detail-stats>div:nth-child(2n){border-right:0!important}
  .p4-list-head h2{font-size:20px!important}
}

/* ============================================================
   Phase 4.5 — HARD MOBILE WIDTH NORMALIZATION
   Fixes the same Jobs page rendering at mixed widths on Android.
   Presentation only. Smart parser/data/admin/app logic unchanged.
   ============================================================ */
@media (max-width: 760px){
  html{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body.p4-job-detail-page,
  body.p4-jobs-index-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow-x:hidden!important;
  }

  /* Every global shell must use the SAME viewport width. */
  body.p4-job-detail-page .site-header,
  body.p4-job-detail-page main,
  body.p4-job-detail-page .premium-footer,
  body.p4-job-detail-page .footer,
  body.p4-jobs-index-page .site-header,
  body.p4-jobs-index-page main,
  body.p4-jobs-index-page .premium-footer,
  body.p4-jobs-index-page .footer{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  /* Do not let old global .container widths create 2/3-width sections. */
  body.p4-job-detail-page .site-header>.container,
  body.p4-job-detail-page .p4-detail-hero>.container,
  body.p4-job-detail-page .p4-detail-section>.container,
  body.p4-job-detail-page .premium-footer>.container,
  body.p4-job-detail-page .footer>.container,
  body.p4-jobs-index-page .site-header>.container,
  body.p4-jobs-index-page .p4-job-hero>.container,
  body.p4-jobs-index-page .p4-job-section>.container,
  body.p4-jobs-index-page .premium-footer>.container,
  body.p4-jobs-index-page .footer>.container{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }

  /* Header itself remains full bleed, content stays centered. */
  body.p4-job-detail-page .site-header .nav-wrap,
  body.p4-jobs-index-page .site-header .nav-wrap{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin-inline:auto!important;
  }

  /* Detail page: one strict vertical column, no mixed widths. */
  body.p4-job-detail-page .p4-detail-hero-grid,
  body.p4-job-detail-page .p4-detail-layout,
  body.p4-job-detail-page .p4-detail-main,
  body.p4-job-detail-page .p4-detail-sidebar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.p4-job-detail-page .p4-detail-title-area,
  body.p4-job-detail-page .p4-detail-app-card,
  body.p4-job-detail-page .p4-detail-stats,
  body.p4-job-detail-page .p4-content-card,
  body.p4-job-detail-page .p4-side-card,
  body.p4-job-detail-page .p4-app-promo,
  body.p4-job-detail-page .sj-sidebar-resources,
  body.p4-job-detail-page .sj-more-jobs,
  body.p4-job-detail-page .sj-side-video{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Quick Info is always the single hero information board. */
  body.p4-job-detail-page .p4-detail-stats,
  body.p4-job-detail-page .p4-detail-stats.p4-detail-stats-auto{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin:14px 0 -26px!important;
  }
  body.p4-job-detail-page .p4-detail-stats>div,
  body.p4-job-detail-page .p4-detail-stats.p4-detail-stats-auto>div{
    width:100%!important;
    min-width:0!important;
    min-height:78px!important;
    box-sizing:border-box!important;
  }

  /* Content starts at the same width as hero and sidebar. */
  body.p4-job-detail-page .p4-detail-section{
    width:100%!important;
    max-width:100%!important;
    padding:46px 0 28px!important;
  }
  body.p4-job-detail-page .p4-detail-layout{
    padding:0!important;
    gap:12px!important;
  }
  body.p4-job-detail-page .p4-detail-sidebar{
    position:static!important;
    gap:10px!important;
  }

  /* Article can scroll wide tables internally without widening the page. */
  body.p4-job-detail-page .p4-full-content-card,
  body.p4-job-detail-page .job-detail-content,
  body.p4-job-detail-page .smart-job-content,
  body.p4-job-detail-page .smart-job-content .sj-section-card,
  body.p4-job-detail-page .smart-job-content .sj-table-shell{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.p4-job-detail-page .smart-job-content .sj-table-shell{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.p4-job-detail-page .smart-job-content table{
    min-width:620px!important;
    width:max-content!important;
    max-width:none!important;
  }
  body.p4-job-detail-page .smart-job-content img,
  body.p4-job-detail-page .p4-circular-preview img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
  }

  /* Footer must never inherit sidebar/article widths. */
  body.p4-job-detail-page .premium-footer-grid,
  body.p4-jobs-index-page .premium-footer-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:1fr!important;
    box-sizing:border-box!important;
  }
  body.p4-job-detail-page .premium-footer-grid>*,
  body.p4-jobs-index-page .premium-footer-grid>*{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    grid-column:auto!important;
  }

  /* Landing page gets the same strict width system. */
  body.p4-jobs-index-page .p4-job-hero-grid,
  body.p4-jobs-index-page .p4-job-search,
  body.p4-jobs-index-page .p4-job-container,
  body.p4-jobs-index-page .p4-job-list,
  body.p4-jobs-index-page .p4-job-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}

@media (max-width: 430px){
  body.p4-job-detail-page .p4-detail-stats,
  body.p4-job-detail-page .p4-detail-stats.p4-detail-stats-auto{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.p4-job-detail-page .p4-detail-title-copy h1{
    font-size:22px!important;
    overflow-wrap:anywhere!important;
  }
}

/* ============================================================
   JOB DETAIL FOOTER — USE GLOBAL HOME FOOTER MOBILE LAYOUT
   The earlier Jobs mobile normalization forced the footer grid
   to a single column. These scoped overrides intentionally hand
   footer layout back to global-footer-home-match.css.
   ============================================================ */
@media (max-width: 760px){
  body.p4-job-detail-page .premium-footer{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
  }
  body.p4-job-detail-page .premium-footer>.container{
    width:calc(100% - 28px)!important;
    max-width:1180px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:15px 16px!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-grid>*{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    grid-column:auto!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-brand,
  body.p4-job-detail-page .premium-footer .premium-footer-app{
    grid-column:1 / -1!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-brand{
    display:flex!important;
    align-items:center!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-app{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
    gap:12px!important;
  }
}

@media (max-width: 480px){
  body.p4-job-detail-page .premium-footer>.container{
    width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:14px 12px!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-brand,
  body.p4-job-detail-page .premium-footer .premium-footer-app{
    grid-column:1 / -1!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-app{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  body.p4-job-detail-page .premium-footer .premium-footer-app h4{
    grid-column:1 / -1!important;
  }
}
