/*
 * NKDG V3.5.10 final responsive containment.
 * Loaded after every legacy, route and entity stylesheet by setup-assets.php.
 */
body.nkdg-body {
  max-width: 100%;
  overflow-x: hidden;
}

.nkdg-main,
.nkdg-main .nkdg-container,
.nkdg-main main,
.nkdg-main article,
.nkdg-main section,
.nkdg-main aside,
.nkdg-main [class*="-main"],
.nkdg-main [class*="-sidebar"] {
  min-width: 0;
  max-width: 100%;
}

.nkdg-main img,
.nkdg-main video,
.nkdg-main iframe,
.nkdg-main table,
.nkdg-main pre {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .nkdg-two-col,
  .nkdg-entity-layout,
  .nkdg-pin-layout,
  .nkdg-place-layout,
  .nkdg-pin-intel-layout,
  .nkdg-location-home-layout,
  .nkdg-search-layout,
  .nkdg-tourism-layout,
  .nkdg-correction-layout,
  .nkdg-content-layout,
  .nkdg-people-layout,
  .nkdg-service-layout,
  .nkdg-police-layout,
  .nkdg-mla-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nkdg-main [class*="-sidebar"] {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: 100% !important;
    transform: none !important;
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 820px) {
  .nkdg-main [class*="-sidebar"],
  .nkdg-entity-sidebar-inner,
  .nkdg-pin-intel-sidebar,
  .nkdg-location-home-sidebar,
  .nkdg-search-sidebar,
  .nkdg-tourism-sidebar,
  .nkdg-correction-sidebar {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nkdg-main .nkdg-card,
  .nkdg-main .nkdg-panel,
  .nkdg-main .nkdg-content-card {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .nkdg-main .nkdg-container {
    width: calc(100% - 24px) !important;
  }

  .nkdg-main table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
