/* v913 — Price Lists compact content + emergency sidebar desktop restore
   Goal: keep the Emergency Visa sidebar as the right-hand model,
   tighten the left content rail so pricing tables, fee checker,
   and Speed Up fees sit comfortably beside the sidebar, and
   remove the extra trust block in the main column. */

html body.price-compact-sidebar-v913 .price-xxx-layout-v871.container,
html body.price-compact-sidebar-v913 .price-xxx-layout-v871{
  display:grid !important;
  grid-template-columns:minmax(0, 860px) 320px !important;
  gap:28px !important;
  width:min(1260px, calc(100vw - 56px)) !important;
  max-width:1260px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  align-items:start !important;
}

html body.price-compact-sidebar-v913 .price-xxx-main-v871,
html body.price-compact-sidebar-v913 .price-xxx-main-v871 .fees-main-rail-v438G,
html body.price-compact-sidebar-v913 .price-xxx-main-v871 .section,
html body.price-compact-sidebar-v913 .price-xxx-main-v871 .section > .container,
html body.price-compact-sidebar-v913 .price-xxx-main-v871 .fees-article-notes-v883 > .container{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}

html body.price-compact-sidebar-v913 .price-xxx-sidebar-v871,
html body.price-compact-sidebar-v913 .price-sidebar-emergency-standard-v889{
  width:320px !important;
  min-width:320px !important;
  max-width:320px !important;
  position:sticky !important;
  top:92px !important;
  align-self:start !important;
}

html body.price-compact-sidebar-v913 .price-xxx-sidebar-v871 .emergency-side-box-v787FR,
html body.price-compact-sidebar-v913 .price-sidebar-emergency-standard-v889 .emergency-side-box-v787FR{
  border-radius:18px !important;
}

html body.price-compact-sidebar-v913 .fees-main-rail-v438G > .section{
  padding-top:20px !important;
  padding-bottom:20px !important;
}

html body.price-compact-sidebar-v913 .fees-main-rail-v438G > .section > .container > h2,
html body.price-compact-sidebar-v913 .fees-main-rail-v438G .fees-check-section h2,
html body.price-compact-sidebar-v913 .fees-main-rail-v438G .fees-article-notes-v883 h2{
  max-width:780px !important;
}

html body.price-compact-sidebar-v913 .fees-check-section > .container.grid.two{
  display:grid !important;
  grid-template-columns:minmax(0, 0.78fr) minmax(340px, 1fr) !important;
  gap:24px !important;
  align-items:start !important;
}

html body.price-compact-sidebar-v913 .fees-check-section > .container.grid.two > div:first-child{
  max-width:300px !important;
}

html body.price-compact-sidebar-v913 .fees-check-section .fee-card[data-fee-checker]{
  max-width:520px !important;
  margin-left:auto !important;
  padding:22px 22px 20px !important;
}

html body.price-compact-sidebar-v913 .fees-check-section .fee-card[data-fee-checker] h2{
  font-size:28px !important;
  line-height:1.2 !important;
}

html body.price-compact-sidebar-v913 .fees-matrix-wrap-v787DN,
html body.price-compact-sidebar-v913 .urgent-table-wrap{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}

html body.price-compact-sidebar-v913 .fees-matrix-v787DN{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}

html body.price-compact-sidebar-v913 .fees-matrix-v787DN th,
html body.price-compact-sidebar-v913 .fees-matrix-v787DN td{
  padding:10px 8px !important;
  font-size:12px !important;
  line-height:1.35 !important;
}

html body.price-compact-sidebar-v913 .fees-matrix-v787DN thead th:first-child,
html body.price-compact-sidebar-v913 .fees-matrix-v787DN tbody th.fees-matrix-processing-v787EP{
  width:31% !important;
}

html body.price-compact-sidebar-v913 #speedup-existing-evisa-fees .urgent-table-wrap,
html body.price-compact-sidebar-v913 #addon-fees .urgent-table-wrap{
  max-width:760px !important;
}

html body.price-compact-sidebar-v913 .fees-inline-notes-v787DN,
html body.price-compact-sidebar-v913 .price-note-block-v883,
html body.price-compact-sidebar-v913 .private-service-bottom-note,
html body.price-compact-sidebar-v913 .hero-actions,
html body.price-compact-sidebar-v913 .fees-consolidated-summary-v787DN,
html body.price-compact-sidebar-v913 .nationality-fee-note-v598U{
  max-width:860px !important;
}

html body.price-compact-sidebar-v913 .guide-seo-entry-strip-v514G{
  max-width:1260px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

@media (max-width: 1279px){
  html body.price-compact-sidebar-v913 .price-xxx-layout-v871.container,
  html body.price-compact-sidebar-v913 .price-xxx-layout-v871{
    grid-template-columns:minmax(0, 1fr) !important;
    width:min(1060px, calc(100vw - 40px)) !important;
    max-width:1060px !important;
  }

  html body.price-compact-sidebar-v913 .price-xxx-sidebar-v871,
  html body.price-compact-sidebar-v913 .price-sidebar-emergency-standard-v889{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    position:static !important;
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:16px !important;
  }

  html body.price-compact-sidebar-v913 .fees-check-section > .container.grid.two{
    grid-template-columns:minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  }
}

@media (max-width: 900px){
  html body.price-compact-sidebar-v913 .price-xxx-layout-v871.container,
  html body.price-compact-sidebar-v913 .price-xxx-layout-v871{
    width:min(100%, calc(100vw - 20px)) !important;
    gap:18px !important;
  }

  html body.price-compact-sidebar-v913 .price-xxx-sidebar-v871,
  html body.price-compact-sidebar-v913 .price-sidebar-emergency-standard-v889,
  html body.price-compact-sidebar-v913 .fees-check-section > .container.grid.two{
    grid-template-columns:1fr !important;
  }

  html body.price-compact-sidebar-v913 .fees-check-section .fee-card[data-fee-checker],
  html body.price-compact-sidebar-v913 #speedup-existing-evisa-fees .urgent-table-wrap,
  html body.price-compact-sidebar-v913 #addon-fees .urgent-table-wrap{
    max-width:100% !important;
  }
}
