/* ADARUG WhatsApp, QR Contact Row, Tablet Readability, Overflow & Selection Fixes (2026-11-28) */
#main {
  overflow-x: clip;
}

.ada-market-heading,
.ada-market-key {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

@media (min-width: 1181px) {
  .anj .vxs .hak.tap {
    grid-column: 9 / 11 !important;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .anj .vxs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 36px !important;
  }
  .anj .vxs .skz { grid-column: 1 / -1 !important; grid-row: 1 !important; margin-bottom: 18px !important; }
  .anj .vxs .rbk.vdt { grid-column: 1 !important; grid-row: 2 !important; white-space: nowrap; }
  .anj .vxs .rbk.job { grid-column: 2 !important; grid-row: 2 !important; white-space: nowrap; }
  .anj .vxs .hak.rci { grid-column: 1 !important; grid-row: 3 !important; }
  .anj .vxs .hak.tap { grid-column: 2 !important; grid-row: 3 !important; }
  .anj .vxs .rbk.xbj { grid-column: 1 !important; grid-row: 4 !important; margin-top: 18px !important; white-space: nowrap; }
  .anj .vxs .hak.jli { grid-column: 1 !important; grid-row: 5 !important; max-width: none !important; }
}

/* Native-matching WhatsApp row & QR box on /contact (sized in px, immune to vw-rem scaling) */
.grd .nbk.ada-rug-wa-nbk {
  grid-column: 6 / 13;
  align-items: flex-end;
}
.ada-rug-wa-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-top: 8px;
  padding: 22px 24px;
  width: min(100%, 600px);
  border: 1px solid #d8d5ce;
  background: #faf9f6;
  color: #171714;
  text-align: left;
  font-family: n, Arial, Helvetica, sans-serif;
}
.ada-rug-wa-info {
  flex: 1 1 240px;
  min-width: 0;
}
.ada-rug-wa-eyebrow {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a675e;
}
.ada-rug-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #171714;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  margin-bottom: 10px;
}
.ada-rug-wa-cta:hover {
  opacity: 0.85;
}
.ada-rug-wa-sub {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #46443e;
}
.ada-rug-wa-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2dfd7;
  flex: 0 0 auto;
}
.ada-rug-wa-qr-wrap img {
  display: block;
  position: static !important;
  width: 156px !important;
  height: 156px !important;
  max-width: 156px !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
}
.ada-rug-wa-qr-wrap span {
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: #5d5a53;
}
@media (max-width: 767.98px) {
  .grd .nbk.ada-rug-wa-nbk {
    align-items: flex-start;
  }
  .ada-rug-wa-box {
    width: 100%;
    padding: 18px 16px;
    gap: 16px;
  }
  .ada-rug-wa-qr-wrap img {
    width: 148px !important;
    height: 148px !important;
  }
}

/* Fix 6.4px microscopic text at tablet / intermediate desktop widths (768px - 1280px) */
@media (min-width: 768px) and (max-width: 1280px) {
  body,
  .fn-b1,
  header.kbp nav a,
  footer.anj,
  footer.anj a,
  footer.anj p,
  .skq,
  .mhu,
  .ufx, .bpn, .fix,
  .kds, .hhr, .ymy,
  .eoc h3, .eoc p,
  .kab {
    font-size: max(13px, 16rem) !important;
    line-height: 1.4 !important;
  }
  .wzy,
  .anj .vxs .skz {
    width: auto !important;
    min-width: 103rem;
    overflow: visible !important;
  }
  .wzy .uzq .xyb,
  .anj .vxs .skz .okf .idk {
    font-size: max(14px, 19rem) !important;
    line-height: 1.08 !important;
  }
}

/* Harmonize #ada-seo-content on dark-themed adarug Journal & News pages */
.ada-journal-page.adarug .ada-content-note {
  background: transparent !important;
  color: var(--ink) !important;
  border-top-color: var(--line) !important;
}
.ada-journal-page.adarug .ada-content-note .ada-reference-source {
  color: var(--muted) !important;
}

.ada-editorial-contact-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
}
@media (max-width: 760px) {
  .ada-editorial-contact-row {
    justify-content: flex-start;
  }
}

/* Native text selection across prose, headings, showrooms, legal, editorial & footers */
#main p, #main h1, #main h2, #main h3, #main h4, #main li, #main span:not([aria-hidden="true"]), #main a,
footer.anj p, footer.anj li, footer.anj a,
.ada-content-note, .ada-content-note *,
.ada-reference-page, .ada-reference-page *,
.ada-journal-page main *, .editorial-footer * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  user-select: text !important;
}


/* === 2026-11-29 Responsive Authority Tables, Engineering Matrices & Visible FAQs === */
.ada-authority-block {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 44px auto;
  padding: 36px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.26);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: inherit;
  user-select: text;
  -webkit-user-select: text;
}
.ada-native-fidelity .ada-authority-block {
  width: min(1240px, 92.36vw);
}
.ada-authority-block *,
.ada-table-wrap *,
.ada-faq-section * {
  box-sizing: border-box;
  transform: none !important;
}
.ada-authority-block h2,
.ada-faq-section h2 {
  font-size: clamp(23px, 2.5vw, 34px) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
  font-weight: 600 !important;
  margin: 34px 0 16px !important;
  max-width: 44ch;
  color: inherit;
}
.ada-authority-block > h2:first-child,
.ada-authority-block > section:first-child > h2:first-child {
  margin-top: 0 !important;
}
.ada-authority-block h3 {
  font-size: clamp(18px, 1.5vw, 21px) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  margin: 24px 0 10px !important;
  color: inherit;
}
.ada-authority-block p,
.ada-content-note .ada-authority-prose p {
  font-size: 16.5px !important;
  line-height: 1.68 !important;
  max-width: 78ch;
  margin: 0 0 16px !important;
  color: inherit;
  opacity: 0.94;
}
.ada-authority-block ul,
.ada-authority-block ol,
.editorial-prose ul {
  padding-left: 22px;
  margin: 12px 0 22px;
  max-width: 78ch;
}
.ada-authority-block li,
.editorial-prose li {
  margin-bottom: 9px;
  line-height: 1.64;
}
.ada-authority-block a,
.ada-table-wrap a,
.ada-faq-section a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ada-boundary-callout {
  margin: 22px 0 28px;
  padding: 18px 22px;
  border-left: 3px solid currentColor;
  background: rgba(128, 128, 128, 0.07);
  max-width: 84ch;
}
.ada-boundary-callout strong {
  font-weight: 600;
}
.ada-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0 30px;
  border: 1px solid rgba(128, 128, 128, 0.28);
  border-radius: 4px;
}
.ada-table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin: 0 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14.5px;
  line-height: 1.56;
  color: inherit;
}
.ada-table-wrap caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.28);
  background: rgba(128, 128, 128, 0.06);
}
.ada-table-wrap th,
.ada-table-wrap td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  word-break: normal;
  overflow-wrap: break-word;
}
.ada-table-wrap th {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(128, 128, 128, 0.09);
}
.ada-table-wrap tr:last-child td {
  border-bottom: none;
}
.ada-faq-section {
  margin: 34px 0 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(128, 128, 128, 0.25);
  max-width: 88ch;
}
.ada-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.ada-faq-item {
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 4px;
  padding: 15px 18px;
  background: rgba(128, 128, 128, 0.03);
}
.ada-faq-item h3 {
  font-size: 17px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  margin: 0 0 8px !important;
}
.ada-faq-item p {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  max-width: 80ch;
  opacity: 0.92;
}
@media (max-width: 767px) {
  .ada-authority-block {
    margin: 28px auto;
    padding: 24px 0;
    font-size: 15.5px;
  }
  .ada-table-wrap table {
    min-width: 560px;
    font-size: 13.5px;
  }
  .ada-table-wrap th,
  .ada-table-wrap td {
    padding: 10px 11px;
  }
  .ada-faq-item {
    padding: 13px 14px;
  }
}
