/* Narrow-screen fixes for the existing Elementor widgets. */
@media (max-width: 480px) {
  .svc-wrap .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
  .svc-wrap .svc-card,
  .svc-wrap .svc-body,
  .svc-wrap .svc-img {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .svc-wrap .svc-img img { max-width: 100%; }
  .svc-wrap .svc-title,
  .svc-wrap .svc-features,
  .svc-wrap .svc-btn { overflow-wrap: anywhere; }

  .elementor-widget-toggle table.custom-table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
  }
  .elementor-widget-toggle .custom-table thead th:first-child { width: 70%; }
  .elementor-widget-toggle .custom-table thead th:nth-child(2) { width: 30%; }
  .elementor-widget-toggle .custom-table th,
  .elementor-widget-toggle .custom-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 10px 8px;
  }
  .elementor-widget-toggle .custom-table .more-info-button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    height: auto !important;
    padding: 6px 5px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    letter-spacing: .03em;
    line-height: 1.35;
  }
  .elementor-widget-toggle .custom-table .more-info-button br { display: none; }
}

@media (max-width: 768px) {
  .esoft-services .esoft-inner { grid-template-columns: minmax(0, 1fr); }
  .esoft-services .esoft-content { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 600px) {
  .lrw-wrap .lrw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lrw-wrap .lrw-card,
  .lrw-wrap .lrw-body { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .lrw-wrap .lrw-body { overflow-wrap: anywhere; }

  .lrw-wrap .lrw-card.lrw-open .lrw-body > p,
  .lrw-wrap .lrw-card.lrw-open .lrw-body > .lrw-description {
    max-height: none;
  }

  #cookie-law-info-bar {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    max-height: calc(100vh - 24px) !important;
    padding: 18px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    overflow-y: auto;
  }
  #cookie-law-info-bar #wt-cli-cookie-banner-title {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }
  #cookie-law-info-bar #wt-cli-policy-link {
    font-size: inherit !important;
    line-height: inherit !important;
  }
  #cookie-law-info-bar #wt-cli-reject-btn,
  #cookie-law-info-bar #wt-cli-accept-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: calc(50% - 8px) !important;
    min-height: 44px;
    margin: 14px 0 0 !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    vertical-align: top;
  }
  #cookie-law-info-bar #wt-cli-reject-btn { margin-right: 10px !important; }
}
