/* Wireless Link landing — /page/wireless-link/ */

.wll-page {
  --wll-accent: #2aabe2;
  --wll-accent-deep: #1e5ea8;
  --wll-ink: #0f2744;
  --wll-muted: #64748b;
  --wll-soft: #f0f9ff;
  --wll-border: rgba(42, 171, 226, 0.16);
  --wll-card: #fff;
}

.container_1:has(+ .wll-page) {
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

.container_1:has(+ .wll-page) > .services {
  margin-bottom: 0 !important;
}

/* ─── Buttons: force visible white text (beats global `a` + site-theme) ─── */
.wll-page a.wll-btn,
.wll-page a.wll-btn:link,
.wll-page a.wll-btn:visited,
.wll-page a.wll-btn:hover,
.wll-page a.wll-btn:focus,
.wll-page a.wll-btn:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  background: #2aabe2 !important;
  background-color: #2aabe2 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none !important;
  white-space: normal;
  box-shadow: none;
  transition: background-color 0.15s ease;
}

.wll-page a.wll-btn:hover,
.wll-page a.wll-btn:focus,
.wll-page a.wll-btn:active {
  background: #1e5ea8 !important;
  background-color: #1e5ea8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wll-btn--block {
  display: flex !important;
  width: 100%;
  box-sizing: border-box;
}

.wll-cta-primary {
  min-height: 52px;
  padding: 0 clamp(18px, 4vw, 30px);
  font-size: clamp(14.5px, 2vw, 16px);
  max-width: 100%;
}

.wll-cta-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #fff;
}

.wll-aside-cta {
  min-height: 46px;
  padding: 0 16px;
  font-size: 13.5px;
}

/* ─── Quick Answer box (Featured-snippet / AEO target) ─── */
.wll-answer-box {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--wll-border);
  border-right: 4px solid var(--wll-accent);
  box-shadow: 0 4px 18px rgba(15, 45, 82, 0.05);
}

.wll-answer-box__label {
  display: inline-block;
  margin: 0 0 10px !important;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--wll-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.wll-answer-box p {
  margin: 0 0 10px;
  line-height: 1.95;
}

.wll-answer-box__list {
  margin: 10px 0 !important;
  padding-right: 20px;
}

.wll-answer-box__list li {
  margin-bottom: 6px;
  line-height: 1.8;
}

.wll-answer-box__foot {
  margin: 12px 0 0 !important;
  padding-top: 12px;
  border-top: 1px dashed var(--wll-border);
  font-size: 14px;
  color: var(--wll-muted);
}

/* ─── Hero CTA ─── */
.wll-hero-cta {
  margin: 0 0 24px;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--wll-soft);
  border: 1px solid var(--wll-border);
  text-align: center;
}

.wll-cta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--wll-muted);
  font-weight: 600;
  line-height: 1.7;
}

.wll-inline-cta {
  margin: 28px 0;
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--wll-soft);
  border: 1px solid var(--wll-border);
  text-align: center;
}

.wll-inline-cta p {
  margin: 0 0 14px !important;
  font-weight: 700;
  color: var(--wll-ink);
}

.wll-inline-cta .wll-cta-primary {
  min-height: 46px;
  font-size: 14.5px;
}

/* ─── Layout ─── */
.wll-page .news-article__layout {
  align-items: start;
  gap: 28px;
}

.wll-page .nd-tool-main {
  padding: 0;
  overflow: hidden;
  min-width: 0;
}

.wll-page .nd-tool-main .news-article__content {
  max-width: none;
  width: 100%;
  padding: 26px 28px 34px;
  box-sizing: border-box;
  color: #334155;
}

.wll-page .news-article__content h2 {
  margin-top: 36px;
  padding-top: 8px;
  color: var(--wll-ink);
}

.wll-page .news-article__content h2:first-child {
  margin-top: 0;
}

.wll-page .news-article__content h3 {
  margin-top: 22px;
  color: #1a3f6c;
}

.wll-page .news-article__content blockquote:not(.wll-lead-quote) {
  margin: 20px 0;
  padding: 14px 18px;
  border-right: 4px solid var(--wll-accent);
  background: var(--wll-soft);
  border-radius: 0 12px 12px 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.95;
}

/* ─── Quote / callout ─── */
.wll-lead-quote {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: none;
  border-right: 4px solid var(--wll-accent);
  background: var(--wll-soft);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.85;
  color: var(--wll-ink);
}

.wll-callout {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 14.5px;
  line-height: 1.9;
}

.wll-callout strong {
  color: #78350f;
}

/* ─── Tables ─── */
.wll-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: 12px;
  border: 1px solid var(--wll-border);
  -webkit-overflow-scrolling: touch;
}

.wll-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--wll-card);
  min-width: 420px;
}

.wll-table thead {
  background: var(--wll-accent-deep);
  color: #fff;
}

.wll-table th,
.wll-table td {
  padding: 11px 14px;
  text-align: right;
  border-bottom: 1px solid #eef3f9;
  vertical-align: top;
  line-height: 1.7;
}

.wll-table th {
  font-weight: 800;
  white-space: nowrap;
}

.wll-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.wll-table tbody tr:last-child td {
  border-bottom: none;
}

/* ─── Status cards ─── */
.wll-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.wll-status-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--wll-border);
  background: var(--wll-card);
  min-width: 0;
}

.wll-status-card h3 {
  margin: 0 0 8px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.wll-status-card p {
  margin: 0 !important;
  font-size: 13.5px;
  line-height: 1.75;
  color: #475569;
}

.wll-status-card--excellent { border-top: 3px solid #16a34a; }
.wll-status-card--good { border-top: 3px solid #2aabe2; }
.wll-status-card--weak { border-top: 3px solid #d97706; }
.wll-status-card--fail { border-top: 3px solid #dc2626; }

/* ─── Steps ─── */
.wll-steps {
  counter-reset: wll-step;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wll-steps > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--wll-border);
  background: var(--wll-card);
  line-height: 1.85;
  font-size: 14.5px;
}

.wll-steps > li::before {
  counter-increment: wll-step;
  content: counter(wll-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--wll-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.wll-steps > li strong {
  color: var(--wll-ink);
}

/* ─── FAQ ─── */
.wll-faq details {
  margin: 0 0 10px;
  border: 1px solid var(--wll-border);
  border-radius: 12px;
  background: var(--wll-card);
  overflow: hidden;
}

.wll-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--wll-ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.65;
}

.wll-faq summary::-webkit-details-marker { display: none; }

.wll-faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wll-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.wll-faq details[open] summary::after {
  content: "\2212";
  background: var(--wll-accent-deep);
}

.wll-faq details p {
  margin: 0;
  padding: 0 16px 14px;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
}

/* ─── Related links ─── */
.wll-related-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.wll-related-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--wll-card);
  border: 1px solid var(--wll-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--wll-accent-deep) !important;
  -webkit-text-fill-color: var(--wll-accent-deep) !important;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}

.wll-related-links a:hover {
  border-color: var(--wll-accent);
  background: var(--wll-soft);
}

/* ─── Sidebar: NO sticky, NO scroll — plain vertical stack ─── */
.wll-page .wll-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: static;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ─── TOC — compact grid, fits 300px sidebar ─── */
.wll-toc-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
}

.wll-toc-box.news-aside-box {
  border-radius: 14px;
}

.wll-toc__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fc 100%);
  border-bottom: 1px solid var(--wll-border);
}

.wll-toc__badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--wll-accent);
  color: #fff;
  flex-shrink: 0;
}

.wll-toc__badge svg {
  width: 14px;
  height: 14px;
}

.wll-toc__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--wll-ink);
}

.wll-toc {
  padding: 8px 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

.wll-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.wll-toc__list > li {
  margin: 0;
  padding: 0;
  width: 100%;
}

.wll-toc__link {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 7px 8px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s;
}

.wll-toc__num {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
  line-height: 1.55;
  flex-shrink: 0;
}

.wll-toc__text {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.wll-toc__link:hover {
  background: var(--wll-soft);
}

.wll-toc__link:hover .wll-toc__text {
  color: var(--wll-accent-deep) !important;
  -webkit-text-fill-color: var(--wll-accent-deep) !important;
}

.wll-toc__link:hover .wll-toc__num {
  color: var(--wll-accent);
}

.wll-toc__link.is-active {
  background: var(--wll-soft);
  box-shadow: inset 3px 0 0 var(--wll-accent);
}

.wll-toc__link.is-active .wll-toc__num {
  color: var(--wll-accent);
}

.wll-toc__link.is-active .wll-toc__text {
  color: var(--wll-accent-deep) !important;
  -webkit-text-fill-color: var(--wll-accent-deep) !important;
}

.wll-page .nd-tools-all-btn {
  margin: 0;
}

.wll-page .nd-tools-box .nd-tools-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wll-page .nd-tool-aside-card {
  margin: 0;
}

.wll-content-section {
  scroll-margin-top: 16px;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .wll-page .wll-aside {
    order: -1;
  }

  .wll-page .nd-tool-main .news-article__content {
    padding: 20px 18px 28px;
  }

  .wll-status-grid {
    grid-template-columns: 1fr;
  }

  .wll-toc-box {
    padding: 0 !important;
  }

  .wll-toc {
    padding: 12px 14px 14px;
  }

  .wll-toc__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .wll-toc__list::-webkit-scrollbar {
    display: none;
  }

  .wll-toc__list > li {
    flex: 0 0 auto;
    width: auto;
  }

  .wll-toc__link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: auto;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--wll-border);
    background: #fff;
    box-shadow: none;
  }

  .wll-toc__num {
    display: none;
  }

  .wll-toc__text {
    font-size: 12px;
    white-space: nowrap;
  }

  .wll-toc__link.is-active {
    background: var(--wll-accent);
    border-color: var(--wll-accent);
    box-shadow: none;
  }

  .wll-toc__link.is-active .wll-toc__text {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  .wll-toc__link:hover:not(.is-active) {
    border-color: var(--wll-accent);
    background: var(--wll-soft);
  }

  .wll-related-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wll-hero-cta {
    padding: 18px 14px;
  }

  .wll-page a.wll-cta-primary {
    width: 100%;
  }

  .wll-page .news-article__head {
    padding-bottom: 18px;
  }

  .wll-page .news-article__title {
    font-size: 21px;
    line-height: 1.5;
  }
}
