/* Mobile-only presentation for the three protected Lakshmir Bhandar guides. */
@media (max-width: 640px) {
  /* Dedicated page scope: these rules cannot affect other government guides. */
  body.lakshmir-status-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.lakshmir-status-page #rti-qd-pill,
  body.lakshmir-status-page #rti-mobile-share,
  body.lakshmir-scheme-page #rti-qd-pill,
  body.lakshmir-scheme-page #rti-mobile-share {
    display: none !important;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body h1 {
    font-size: clamp(1.75rem, 8vw, 2rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline,
  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody,
  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr,
  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline {
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent !important;
  }

  /* Keep the headings available to assistive technology while removing them visually. */
  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:first-child {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) {
    margin: 0 0 1rem !important;
    overflow: hidden;
    border: 1px solid #d8dee6 !important;
    border-radius: 0.625rem;
    background: #fff !important;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td {
    min-width: 0 !important;
    padding: 0.75rem 0.875rem !important;
    overflow-wrap: anywhere;
    border: 0 !important;
    background: #fff !important;
    text-align: start !important;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td + td {
    border-top: 1px solid #e7ebf0 !important;
  }

  body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td::before {
    display: block;
    margin: 0 0 0.3rem;
    font-weight: 700;
    line-height: 1.3;
  }

  html[lang="en"] body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td:nth-child(1)::before {
    content: "What you know now";
  }

  html[lang="en"] body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td:nth-child(2)::before {
    content: "Safe next action";
  }

  html[lang="en"] body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td:nth-child(3)::before {
    content: "Record to request";
  }

  html[lang="bn"] body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td:nth-child(1)::before {
    content: "আপনার সমস্যা";
  }

  html[lang="bn"] body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td:nth-child(2)::before {
    content: "প্রথম যাচাই";
  }

  html[lang="bn"] body.lakshmir-status-page article.google-anno-skip .wiki-body .table table.inline > tbody > tr:not(:first-child) > td:nth-child(3)::before {
    content: "তারপর নিরাপদ পদক্ষেপ";
  }

  body.lakshmir-status-page article.google-anno-skip img[src*="lakshmir-bhandar-status-flow"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 1rem auto !important;
    box-sizing: border-box;
  }
}
