/* v1011 — Emergency Visa price table mobile split
   Mobile-only: replace the 5-column price matrix with two compact 3-column tables.
   Desktop remains unchanged. */

.vge-emergency-price-mobile-split-v1011{
  display:none;
}

@media (max-width: 768px){
  body.vge-emergency-page-v788 .emergency-price-table-wrap-v787GD{
    display:none !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-mobile-split-v1011{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:10px 0 16px !important;
    overflow:visible !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
    border-collapse:collapse !important;
    margin:0 !important;
    border:1px solid #d8e4f2 !important;
    background:#fff !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-90-v1011{
    margin-top:12px !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th,
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td{
    min-width:0 !important;
    width:auto !important;
    padding:8px 7px !important;
    line-height:1.25 !important;
    border:1px solid #d8e4f2 !important;
    vertical-align:middle !important;
    text-align:center !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    white-space:normal !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th{
    background:#1476af !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:900 !important;
    letter-spacing:-.01em !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th:first-child{
    background:#f2f7fd !important;
    color:#06284a !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th:first-child,
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:first-child{
    width:34% !important;
    text-align:left !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th:nth-child(2),
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th:nth-child(3),
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:nth-child(2),
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:nth-child(3){
    width:33% !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:first-child{
    background:#f2f7fd !important;
    color:#082b4f !important;
    font-size:12.5px !important;
    font-weight:900 !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:not(:first-child){
    color:#e11d48 !important;
    font-size:14px !important;
    font-weight:900 !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 tbody tr{
    height:auto !important;
  }
}

@media (max-width: 420px){
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th,
  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td{
    padding:7px 6px !important;
    line-height:1.22 !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 th{
    font-size:12.2px !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:first-child{
    font-size:11.8px !important;
  }

  body.vge-emergency-page-v788 .vge-emergency-price-grid-v1011 td:not(:first-child){
    font-size:13.2px !important;
  }
}
