/* AI account article — mirrors the /page/wireless-link/ article template
   (answer-box, callout, inline CTA, tables, steps, clean typography).
   Self-contained under .ad-article; uses wll-* component class names. */

.ad-article {
  --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;

  background: #fff;
  padding: 72px 20px 64px;
  border-bottom: 1px solid #e2e8f0;
  scroll-behavior: smooth;
  direction: rtl;
}
.ad-article__inner { max-width: 860px; margin: 0 auto; }

/* ─── Header ─── */
.ad-article__head {
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--wll-border);
}
.ad-article__label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--wll-soft);
  border: 1px solid var(--wll-border);
  color: var(--wll-accent-deep);
  font-size: 12px;
  font-weight: 800;
}
.ad-article__title {
  margin: 0 0 14px;
  color: var(--wll-ink);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.45;
}
.ad-article__deck {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--wll-muted);
  text-align: justify;
  text-justify: inter-word;
}
.ad-article__deck p { margin: 0; }

/* ─── Content typography ─── */
.ad-article__content { color: #334155; font-size: 16px; line-height: 2; text-align: justify; text-justify: inter-word; }
.ad-article__content > p { margin: 0 0 18px; }
.ad-article__content .wll-answer-box,
.ad-article__content .wll-callout,
.ad-article__content .wll-inline-cta { text-align: right; }
.ad-article__content h2 {
  margin: 38px 0 14px;
  padding-top: 6px;
  color: var(--wll-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}
.ad-article__content h3 {
  margin: 26px 0 12px;
  color: #1a3f6c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}
.ad-article__content ul,
.ad-article__content ol {
  margin: 0 0 20px;
  padding-inline-start: 22px;
}
.ad-article__content li { margin: 0 0 10px; line-height: 1.95; }
.ad-article__content strong { color: var(--wll-ink); font-weight: 700; }
.ad-article__content em { font-style: italic; color: #475569; }
.ad-article__content a {
  color: var(--wll-accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 94, 168, 0.3);
  transition: border-color 0.15s, color 0.15s;
}
.ad-article__content a:hover { color: var(--wll-accent); border-bottom-color: var(--wll-accent); }
.ad-article__content a[href^="http"] { border-bottom-style: dashed; }
.ad-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;
}

/* ─── Section (anchor target) ─── */
.ad-article__section {
  scroll-margin-top: 88px;
  padding: 8px 0 10px;
}
.ad-article__section + .ad-article__section {
  border-top: 1px solid #eef3f9;
  padding-top: 18px;
  margin-top: 14px;
}
.ad-article__section-title { /* h2 — styled above via .ad-article__content h2 */ }
.ad-article__section-body { color: #334155; }

/* ─── Answer box (featured-snippet / AEO) ─── */
.ad-article .wll-answer-box {
  margin: 0 0 28px;
  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);
}
.ad-article .wll-answer-box__label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--wll-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.ad-article .wll-answer-box p { margin: 0 0 10px; line-height: 1.95; }
.ad-article .wll-answer-box__list { margin: 10px 0; padding-inline-start: 20px; }
.ad-article .wll-answer-box__list li { margin-bottom: 6px; line-height: 1.8; }
.ad-article .wll-answer-box__foot {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--wll-border);
  font-size: 14px;
  color: var(--wll-muted);
}

/* ─── Callout ─── */
.ad-article .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;
}
.ad-article .wll-callout strong { color: #78350f; }

/* ─── Inline CTA ─── */
.ad-article .wll-inline-cta {
  margin: 32px 0 8px;
  padding: 22px 18px;
  border-radius: 14px;
  background: var(--wll-soft);
  border: 1px solid var(--wll-border);
  text-align: center;
}
.ad-article .wll-inline-cta p {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--wll-ink);
}
.ad-article .wll-inline-cta .adsl-btn-item {
  display: inline-flex;
  min-height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 800;
}

/* ─── Tables ─── */
.ad-article .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;
}
.ad-article .wll-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--wll-card);
  min-width: 420px;
}
.ad-article .wll-table thead { background: var(--wll-accent-deep); color: #fff; }
.ad-article .wll-table th,
.ad-article .wll-table td {
  padding: 11px 14px;
  text-align: right;
  border-bottom: 1px solid #eef3f9;
  vertical-align: top;
  line-height: 1.7;
}
.ad-article .wll-table th { font-weight: 800; white-space: nowrap; }
.ad-article .wll-table tbody tr:nth-child(even) { background: #f8fafc; }
.ad-article .wll-table tbody tr:last-child td { border-bottom: none; }

/* ─── Steps ─── */
.ad-article .wll-steps {
  counter-reset: wll-step;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ad-article .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;
}
.ad-article .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;
}
.ad-article .wll-steps > li strong { color: var(--wll-ink); }

/* ─── Clickable capability cards (anchor → article section) ─── */
.ad-cap-item--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  cursor: pointer;
  position: relative;
}
.ad-cap-item--link:focus-visible {
  outline: 2px solid var(--wll-accent);
  outline-offset: 3px;
}
.ad-cap-item--link .ad-cap-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wll-accent);
  transition: gap 0.2s, color 0.2s;
}
.ad-cap-item--link:hover .ad-cap-item__cta { gap: 10px; color: var(--wll-accent-deep); }
.ad-cap-item--link:hover .ad-cap-item__title { color: var(--wll-accent); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .ad-article { padding: 52px 16px 44px; }
  .ad-article__title { font-size: 21px; line-height: 1.5; }
  .ad-article__content { font-size: 15px; line-height: 1.95; }
  .ad-article__content h2 { font-size: 19px; }
  .ad-article__content h3 { font-size: 16.5px; }
  .ad-article__section { scroll-margin-top: 72px; }
  .ad-article .wll-table { min-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .ad-article { scroll-behavior: auto; }
}
