/* FoneClaw Hub and long-form article brand system. */

:root {
  --content-ink: #0f1b27;
  --content-text: #263647;
  --content-muted: #607184;
  --content-line: #d7e0e5;
  --content-light: #f3f6f7;
  --content-mint: #e3efea;
  --content-teal: #087d8f;
  --content-green: #147d55;
  --content-dark: #101923;
}

body[class*="page-hub-"],
body.page-article {
  background: #fff;
  color: var(--content-text);
}

body[class*="page-hub-"]::before,
body[class*="page-hub-"]::after,
body.page-article::before,
body.page-article::after {
  content: none;
}

body[class*="page-hub-"] h1,
body[class*="page-hub-"] h2,
body[class*="page-hub-"] h3,
body.page-article h1,
body.page-article h2,
body.page-article h3 {
  color: var(--content-ink);
  letter-spacing: 0;
}

/* Hub hero */
body[class*="page-hub-"] .hub-hero {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 78px max(24px, calc((100vw - 960px) / 2)) 72px;
  overflow: hidden;
  text-align: left;
  background: #edf3f2;
  border-bottom: 1px solid var(--content-line);
}

body[class*="page-hub-"] .hub-hero::before {
  content: "";
  position: absolute;
  inset: 0 52px 0 0;
  z-index: -2;
  opacity: 1;
  background: var(--hub-hero-image) right center / auto 100% no-repeat;
}

body[class*="page-hub-"] .hub-hero::after {
  content: none;
}

body[class*="page-hub-"] .hub-hero > * {
  position: relative;
  z-index: 1;
}

body[class*="page-hub-"] .hub-hero h1 {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--content-ink);
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 860;
  text-wrap: balance;
}

body[class*="page-hub-"] .hub-hero .subtitle {
  max-width: 520px;
  margin: 0 0 26px;
  color: #46596a;
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}

body[class*="page-hub-"] .hub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  width: min(100%, 430px);
  gap: 0;
  margin: 0 0 28px;
  border-block: 1px solid #bfd0cc;
}

body[class*="page-hub-"] .hub-stat {
  min-width: 0;
  padding: 15px 16px 14px 0;
  text-align: left;
  border-inline-end: 1px solid #cbd8d5;
}

body[class*="page-hub-"] .hub-stat + .hub-stat {
  padding-inline-start: 18px;
}

body[class*="page-hub-"] .hub-stat:last-child {
  border-inline-end: 0;
}

body[class*="page-hub-"] .hub-stat .num {
  margin: 0 0 4px;
  color: var(--content-teal);
  font-size: 25px;
  line-height: 1;
  font-weight: 850;
}

body[class*="page-hub-"] .hub-stat .label {
  color: #536678;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

body[class*="page-hub-"] .hub-cta {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
}

body[class*="page-hub-"] .hub-cta .bp,
body[class*="page-hub-"] .hub-cta .bo {
  min-width: 180px;
  padding: 13px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 780;
  text-align: center;
}

body[class*="page-hub-"] .hub-cta .bp {
  color: #fff;
  background: var(--content-dark);
  border: 1px solid var(--content-dark);
}

body[class*="page-hub-"] .hub-cta .bo {
  color: var(--content-ink);
  background: rgba(255, 255, 255, .58);
  border: 1px solid #9fb1bb;
}

/* Hub filtering */
body[class*="page-hub-"] .hub-tabs {
  position: sticky;
  top: 50px;
  z-index: 80;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  overflow-x: auto;
  background: var(--content-dark);
  border: 0;
  border-bottom: 1px solid #273642;
}

body[class*="page-hub-"] .hub-tabs .tab-btn {
  position: relative;
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 18px;
  color: #afbdc8;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
}

body[class*="page-hub-"] .hub-tabs .tab-btn::after {
  content: "";
  position: absolute;
  inset: auto 18px -1px;
  height: 3px;
  background: transparent;
}

body[class*="page-hub-"] .hub-tabs .tab-btn:hover {
  color: #fff;
}

body[class*="page-hub-"] .hub-tabs .tab-btn.active {
  color: #fff;
  background: #172431;
}

body[class*="page-hub-"] .hub-tabs .tab-btn.active::after {
  background: #69d2bd;
}

/* Hub content */
body[class*="page-hub-"] .hub-featured,
body[class*="page-hub-"] .hub-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 20px;
}

body[class*="page-hub-"] .hub-featured {
  padding-bottom: 42px;
}

body[class*="page-hub-"] .featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16, 25, 35, .08);
}

body[class*="page-hub-"] .featured-card:hover {
  border-color: #91aba9;
  transform: translateY(-2px);
}

body[class*="page-hub-"] .featured-img {
  min-height: 390px;
  background-position: center;
  background-size: cover;
}

body[class*="page-hub-"] .featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px;
}

body[class*="page-hub-"] .featured-tag,
body[class*="page-hub-"] .card-tag {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 0;
  color: var(--content-teal);
  background: transparent;
  border-radius: 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 850;
  text-transform: uppercase;
}

body[class*="page-hub-"] .featured-content h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.12;
  text-wrap: balance;
}

body[class*="page-hub-"] .featured-content p {
  margin: 0;
  color: var(--content-muted);
  font-size: 15px;
  line-height: 1.7;
}

body[class*="page-hub-"] .featured-content .bp {
  align-self: flex-start;
  width: auto;
  padding: 0 0 4px;
  color: var(--content-ink);
  background: transparent;
  border-bottom: 1px solid var(--content-teal);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

body[class*="page-hub-"] .related-hubs {
  max-width: none;
  margin: 0;
  padding: 72px max(20px, calc((100vw - 960px) / 2));
  color: #dce7ed;
  background: var(--content-dark);
}

body[class*="page-hub-"] .related-hubs > h2 {
  max-width: 960px;
  margin: 0 auto 28px;
  color: #f5f8fa;
  font-size: 34px;
}

body[class*="page-hub-"] .related-hubs .hub-grid {
  max-width: 960px;
  margin: 0 auto;
  gap: 0;
  border-top: 1px solid #394854;
}

body[class*="page-hub-"] .hub-card {
  padding: 24px 24px 22px;
  color: inherit;
  background: transparent;
  border: 0;
  border-inline-end: 1px solid #394854;
  border-radius: 0;
}

body[class*="page-hub-"] .hub-card:last-child {
  border-inline-end: 0;
}

body[class*="page-hub-"] .hub-card:hover {
  background: #172431;
  transform: none;
}

body[class*="page-hub-"] .hub-card i {
  color: #69d2bd;
}

body[class*="page-hub-"] .hub-card h3 {
  color: #f5f8fa;
}

body[class*="page-hub-"] .hub-card p {
  color: #aebbc6;
}

body[class*="page-hub-"] .hub-card .link {
  color: #8fe4d1;
}

body[class*="page-hub-"] .hub-section {
  padding-top: 76px;
}

body[class*="page-hub-"] .hub-section > h2 {
  margin: 0 0 30px;
  color: var(--content-ink);
  font-size: 36px;
}

body[class*="page-hub-"] .article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body[class*="page-hub-"] .article-card {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 8px;
}

body[class*="page-hub-"] .article-card:hover {
  border-color: #91aba9;
  box-shadow: 0 14px 34px rgba(16, 25, 35, .08);
  transform: translateY(-2px);
}

body[class*="page-hub-"] .card-img {
  height: auto;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
}

body[class*="page-hub-"] .card-body {
  padding: 20px;
}

body[class*="page-hub-"] .card-title {
  margin: 0 0 8px;
  color: var(--content-ink);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 760;
}

body[class*="page-hub-"] .card-desc {
  color: var(--content-muted);
  font-size: 13px;
  line-height: 1.65;
}

body[class*="page-hub-"] .card-meta {
  margin-top: 16px;
  padding-top: 12px;
  color: #718191;
  border-top: 1px solid #e3e9ec;
}

body[class*="page-hub-"] .hub-download-cta {
  margin-top: 0;
  padding: 76px 20px;
  background: #edf3f2;
  border-top: 1px solid var(--content-line);
}

/* Article reading system */
body.page-article {
  background: #fff;
}

body.page-article .reading-progress {
  background: #58c5b0;
}

body.page-article .art-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 24px 84px;
}

body.page-article .breadcrumb {
  margin: 0 0 32px;
  color: #748391;
  font-size: 12px;
}

body.page-article .breadcrumb a {
  color: #607184;
}

body.page-article .breadcrumb a:hover {
  color: var(--content-teal);
}

body.page-article .breadcrumb .sep {
  color: #a5b1ba;
}

body.page-article .art-header {
  margin: 0 0 34px;
}

body.page-article .art-header .cat {
  margin: 0 0 18px;
  padding: 6px 10px;
  color: #0d6e61;
  background: var(--content-mint);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 850;
}

body.page-article .art-header .meta-row {
  margin: 0 0 18px;
  color: #748391;
  font-size: 12px;
}

body.page-article .art-header .meta-row a {
  color: var(--content-teal) !important;
}

body.page-article .art-header h1 {
  margin: 0 0 20px;
  color: var(--content-ink);
  font-size: clamp(40px, 4.4vw, 52px);
  line-height: 1.08;
  font-weight: 850;
  text-wrap: balance;
}

body.page-article .art-header .art-desc {
  max-width: 740px;
  margin: 0;
  color: #34495b;
  font-size: 18px;
  line-height: 1.72;
}

body.page-article .art-hero {
  width: 100%;
  margin: 0 0 34px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--content-line);
  border-radius: 8px;
}

body.page-article .art-wrap > .foneclaw-apk-cta {
  margin-bottom: 32px;
}

body.page-article .article-page .foneclaw-apk-cta {
  color: #e9f0f5;
  background: #101923;
  border-color: #314654;
  box-shadow: 0 12px 28px rgba(17, 31, 43, .16);
}

body.page-article .article-page .foneclaw-apk-cta__title {
  color: #fff;
}

body.page-article .article-page .foneclaw-apk-cta__copy {
  color: #f0f5f8 !important;
}

body.page-article .article-page .foneclaw-apk-cta__meta,
body.page-article .article-page .foneclaw-apk-cta__fallback {
  color: #d5e0e8;
}

body.page-article .summary-box,
body.page-article .toc {
  margin: 0 0 24px;
  padding: 22px 24px;
  background: var(--content-light);
  border: 1px solid var(--content-line);
  border-radius: 6px;
}

body.page-article .summary-box {
  border-inline-start: 4px solid var(--content-green);
}

body.page-article .summary-box .box-title,
body.page-article .toc .box-title {
  margin: 0 0 12px;
  color: var(--content-ink);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 850;
}

body.page-article .summary-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-article .summary-box li {
  position: relative;
  padding: 5px 0;
  padding-inline-start: 20px;
  color: #2f4354;
  font-size: 14px;
  line-height: 1.7;
}

body.page-article .summary-box li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .87em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--content-green);
}

body.page-article .toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

body.page-article .toc li {
  counter-increment: toc;
  padding: 7px 0;
  border-bottom: 1px solid #dde5e8;
}

body.page-article .toc li:last-child {
  border-bottom: 0;
}

body.page-article .toc li::before {
  content: counter(toc, decimal-leading-zero);
  display: inline-block;
  min-width: 30px;
  color: var(--content-teal);
  font-size: 11px;
  font-weight: 850;
}

body.page-article .toc a {
  color: #2f4354;
  font-size: 14px;
  font-weight: 650;
}

body.page-article .toc a:hover {
  color: var(--content-teal);
}

body.page-article .art-body {
  color: #1b2a38;
  font-size: 17px;
  line-height: 1.84;
}

body.page-article .art-body h2 {
  margin: 54px 0 16px;
  padding: 26px 0 0;
  color: var(--content-ink);
  border-top: 1px solid var(--content-line);
  font-size: 28px;
  line-height: 1.25;
}

body.page-article .art-body h2:first-child {
  margin-top: 36px;
}

body.page-article .art-body h3 {
  margin: 32px 0 12px;
  color: #1b2a38;
  font-size: 20px;
  line-height: 1.35;
}

body.page-article .art-body p {
  margin: 0 0 20px;
}

body.page-article .art-body ul,
body.page-article .art-body ol {
  margin: 0 0 20px;
  padding-inline-start: 24px;
}

body.page-article .art-body li {
  margin-bottom: 7px;
}

body.page-article .art-body strong {
  color: #152331;
}

body.page-article .art-body a {
  color: #006f83;
  text-decoration-color: #71b8c2;
  text-underline-offset: 3px;
}

body.page-article .art-body .callout {
  color: #243746;
  background: #edf6f2;
  border: 1px solid #c8ded4;
  border-inline-start: 4px solid var(--content-green);
  border-radius: 6px;
}

body.page-article .art-body .table-wrap {
  width: 100%;
  margin: 26px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--content-line);
  border-radius: 6px;
}

body.page-article .art-body table,
body.page-article .art-body .tb {
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  margin: 26px 0 30px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #34495b;
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 6px;
}

body.page-article .art-body .table-wrap table {
  margin: 0;
  border: 0;
  border-radius: 0;
}

body.page-article .art-body th,
body.page-article .art-body td,
body.page-article .art-body .tb th,
body.page-article .art-body .tb td {
  padding: 12px 13px;
  overflow-wrap: anywhere;
  border-inline-end: 1px solid #dde5e8;
  border-bottom: 1px solid #dde5e8;
  font-size: 13px;
  line-height: 1.55;
  text-align: start;
  vertical-align: top;
}

body.page-article .art-body td,
body.page-article .art-body .tb td {
  color: #1f3343;
  background: #fff;
}

body.page-article .art-body th:last-child,
body.page-article .art-body td:last-child {
  border-inline-end: 0;
}

body.page-article .art-body tbody tr:last-child td {
  border-bottom: 0;
}

body.page-article .art-body th {
  color: var(--content-ink);
  background: #edf3f2;
  font-weight: 800;
}

body.page-article .art-body code {
  padding: 2px 5px;
  color: #0d685f;
  background: #e8f2ee;
  border-radius: 4px;
  font-size: .9em;
}

body.page-article .art-faq {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--content-line);
}

body.page-article .art-faq h2 {
  color: var(--content-ink);
  font-size: 28px;
}

body.page-article .faq-item {
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 6px;
}

body.page-article .faq-item:hover {
  border-color: #9cb5b3;
}

body.page-article .faq-q {
  width: 100%;
  padding: 17px 18px;
  color: var(--content-ink);
  background: transparent;
  border: 0;
  text-align: left;
}

body.page-article .faq-q::after {
  color: var(--content-teal);
}

body.page-article .faq-a-inner {
  color: #34495b;
}

body.page-article .related-section {
  border-top: 1px solid var(--content-line);
}

body.page-article .related-section h3 {
  color: var(--content-ink);
}

body.page-article .related-card {
  background: var(--content-light);
  border: 1px solid var(--content-line);
  border-radius: 6px;
}

body.page-article .related-card:hover {
  border-color: #91aba9;
}

body.page-article .related-card .rc-cat {
  color: var(--content-teal);
}

body.page-article .related-card .rc-title {
  color: var(--content-ink);
}

html[dir="rtl"] body[class*="page-hub-"] .hub-hero {
  align-items: flex-start;
  text-align: right;
}

html[dir="rtl"] body[class*="page-hub-"] .hub-hero::before {
  inset: 0 0 0 52px;
  transform: scaleX(-1);
}

html[dir="rtl"] body[class*="page-hub-"] .hub-hero::after {
  content: none;
}

html[dir="rtl"] body[class*="page-hub-"] .hub-stat {
  text-align: right;
}

html[dir="rtl"] body.page-article .faq-q {
  text-align: right;
}

@media (min-width: 781px) and (max-width: 1180px) {
  body[class*="page-hub-"] .hub-hero h1,
  body[class*="page-hub-"] .hub-hero .subtitle {
    max-width: 48vw;
  }

  body[class*="page-hub-"] .hub-hero::before {
    inset: 0 24px 0 0;
    background-size: auto 82%;
  }

  html[dir="rtl"] body[class*="page-hub-"] .hub-hero::before {
    inset: 0 0 0 24px;
    background-size: auto 74%;
  }

  html[dir="rtl"] body[class*="page-hub-"] .hub-hero {
    padding-inline-start: max(88px, calc((100vw - 960px) / 2));
  }
}

@media (max-width: 780px) {
  body[class*="page-hub-"] .hub-hero {
    min-height: auto;
    padding: 72px 20px 58px;
  }

  body[class*="page-hub-"] .hub-hero::before {
    inset: 0;
    opacity: .18;
    background-position: center;
  }

  body[class*="page-hub-"] .hub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(237, 243, 242, .72);
  }

  body[class*="page-hub-"] .hub-hero h1 {
    font-size: 40px;
  }

  body[class*="page-hub-"] .hub-stats {
    width: 100%;
  }

  body[class*="page-hub-"] .hub-cta {
    width: 100%;
    flex-direction: column;
  }

  body[class*="page-hub-"] .hub-cta .bp,
  body[class*="page-hub-"] .hub-cta .bo {
    width: 100%;
    max-width: none;
  }

  body[class*="page-hub-"] .hub-tabs {
    top: 50px;
    justify-content: flex-start;
  }

  body[class*="page-hub-"] .featured-card {
    grid-template-columns: 1fr;
  }

  body[class*="page-hub-"] .featured-img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body[class*="page-hub-"] .featured-content {
    padding: 28px 24px;
  }

  body[class*="page-hub-"] .featured-content h2 {
    font-size: 27px;
  }

  body[class*="page-hub-"] .related-hubs,
  body[class*="page-hub-"] .hub-featured,
  body[class*="page-hub-"] .hub-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  body[class*="page-hub-"] .related-hubs .hub-grid {
    grid-template-columns: 1fr;
  }

  body[class*="page-hub-"] .hub-card {
    border-inline-end: 0;
    border-bottom: 1px solid #394854;
  }

  body[class*="page-hub-"] .article-grid {
    grid-template-columns: 1fr;
  }

  body.page-article .art-wrap {
    padding: 64px 18px 72px;
  }

  body.page-article .breadcrumb > span:last-child,
  body.page-article .breadcrumb .sep:nth-of-type(2) {
    display: none;
  }

  body.page-article .art-header h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  body.page-article .art-header .art-desc {
    font-size: 16px;
  }

  body.page-article .art-body {
    font-size: 16px;
  }

  body.page-article .art-body h2,
  body.page-article .art-faq h2 {
    font-size: 24px;
  }

  body.page-article .art-body th,
  body.page-article .art-body td,
  body.page-article .art-body .tb th,
  body.page-article .art-body .tb td {
    padding: 9px 7px;
    font-size: 12px;
  }
}

/* Author, policy, and error pages */
body.page-author,
body.page-privacy,
body.page-cookie,
body.page-404 {
  color: var(--content-text);
  background: #fff;
}

body.page-author::before,
body.page-author::after,
body.page-privacy::before,
body.page-privacy::after,
body.page-cookie::before,
body.page-cookie::after,
body.page-404::before,
body.page-404::after {
  content: none;
}

body.page-author h1,
body.page-author h2,
body.page-author h3,
body.page-privacy h1,
body.page-privacy h2,
body.page-cookie h1,
body.page-cookie h2,
body.page-404 h1 {
  color: var(--content-ink);
  letter-spacing: 0;
}

.content-kicker {
  margin: 0 0 13px;
  color: var(--content-teal);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
  text-transform: uppercase;
}

.content-section-heading h2 {
  margin: 0;
  color: var(--content-ink);
  font-size: 38px;
  line-height: 1.12;
}

.author-hero {
  padding: 94px 20px 76px;
  background: #edf3f2;
  border-bottom: 1px solid var(--content-line);
}

.author-hero-inner {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  width: min(100%, 960px);
  margin: 0 auto;
  gap: 52px;
  align-items: center;
}

.author-avatar {
  display: block;
  width: 184px;
  height: 184px;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(31, 52, 63, .16);
}

.author-profile h1 {
  margin: 0 0 16px;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 860;
}

.author-bio {
  max-width: 640px;
  margin: 0;
  color: #4f6172;
  font-size: 18px;
  line-height: 1.7;
}

.author-social {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
}

.author-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3e5264;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.author-social a:hover {
  color: var(--content-teal);
}

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), 960px);
  margin: 0 auto;
  border-bottom: 1px solid var(--content-line);
}

.author-stats > div {
  display: flex;
  min-width: 0;
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  border-inline-end: 1px solid var(--content-line);
}

.author-stats > div:last-child {
  border-inline-end: 0;
}

.author-stats strong {
  color: var(--content-teal);
  font-size: 31px;
  line-height: 1;
}

.author-stats span {
  margin-top: 9px;
  color: var(--content-muted);
  font-size: 13px;
  line-height: 1.4;
}

.author-about {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 86px 20px;
  gap: 70px;
  align-items: center;
}

.author-about-copy p {
  margin: 0 0 18px;
  color: #34485a;
  font-size: 16px;
  line-height: 1.82;
}

.author-about-copy p:last-child {
  margin-bottom: 0;
}

.author-articles {
  padding: 82px max(20px, calc((100vw - 1000px) / 2));
  background: var(--content-light);
  border-block: 1px solid var(--content-line);
}

.author-articles .content-section-heading {
  margin-bottom: 34px;
}

.author-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.author-article-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #cfdbdf;
  border-radius: 7px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.author-article-card:hover {
  border-color: #8db7b9;
  box-shadow: 0 14px 34px rgba(31, 52, 63, .1);
  transform: translateY(-2px);
}

.author-article-card picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8efef;
}

.author-article-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-article-body {
  display: flex;
  min-height: 220px;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.author-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  color: var(--content-teal);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
}

.author-article-meta span:last-child {
  color: #788895;
}

.author-article-body h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  line-height: 1.34;
}

.author-article-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #596b7b;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.author-article-body time {
  margin-top: auto;
  padding-top: 18px;
  color: #788895;
  font-size: 12px;
}

.author-empty {
  color: var(--content-muted);
}

.author-final-cta {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 82px 20px;
}

.policy-hero {
  padding: 92px 20px 72px;
  background: #edf3f2;
  border-bottom: 1px solid var(--content-line);
}

.policy-hero-inner {
  width: min(100%, 820px);
  margin: 0 auto;
}

.content-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  color: #71818e;
  font-size: 13px;
}

.content-breadcrumb a {
  color: var(--content-teal);
  text-decoration: none;
}

.policy-hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 860;
}

.policy-hero-inner > p:not(.content-kicker) {
  max-width: 690px;
  margin: 0;
  color: #4e6172;
  font-size: 18px;
  line-height: 1.72;
}

.policy-hero time {
  display: block;
  margin-top: 26px;
  color: #71818e;
  font-size: 13px;
}

.policy-content {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 74px 20px 96px;
}

.policy-content h2 {
  margin: 46px 0 14px;
  padding-top: 28px;
  color: var(--content-ink);
  border-top: 1px solid var(--content-line);
  font-size: 27px;
  line-height: 1.25;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin: 0;
  color: #34485a;
  font-size: 16px;
  line-height: 1.85;
}

.not-found-page {
  display: grid;
  min-height: min(760px, calc(100vh - 50px));
  place-items: center;
  padding: 100px 20px 90px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)),
    #edf3f2;
}

.not-found-inner {
  width: min(100%, 680px);
}

.not-found-code {
  margin: 0 0 6px;
  color: #b8d7d5;
  font-size: clamp(92px, 16vw, 176px);
  line-height: .86;
  font-weight: 900;
}

.not-found-page h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.08;
}

.not-found-copy {
  max-width: 580px;
  margin: 0 auto;
  color: #536678;
  font-size: 17px;
  line-height: 1.75;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.content-button {
  display: inline-flex;
  min-width: 150px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.content-button--primary {
  color: #fff;
  background: var(--content-dark);
  border: 1px solid var(--content-dark);
}

.content-button--secondary {
  color: var(--content-ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid #9fb1bb;
}

html[dir="rtl"] .content-breadcrumb,
html[dir="rtl"] .author-profile,
html[dir="rtl"] .author-about,
html[dir="rtl"] .author-articles,
html[dir="rtl"] .policy-page {
  text-align: right;
}

@media (max-width: 900px) {
  .author-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .author-hero {
    padding: 72px 20px 58px;
    text-align: center;
  }

  .author-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .author-avatar {
    width: 144px;
    height: 144px;
    margin: 0 auto;
  }

  .author-profile h1 {
    font-size: 46px;
  }

  .author-social {
    justify-content: center;
  }

  .author-stats > div {
    min-height: 104px;
    padding: 18px 10px;
    text-align: center;
  }

  .author-stats strong {
    font-size: 26px;
  }

  .author-stats span {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .author-about {
    grid-template-columns: 1fr;
    padding-block: 66px;
    gap: 30px;
    align-items: start;
  }

  .author-articles {
    padding-block: 66px;
  }

  .author-articles-grid {
    grid-template-columns: 1fr;
  }

  .author-final-cta {
    padding-block: 66px;
  }

  .policy-hero {
    padding: 72px 20px 58px;
  }

  .content-breadcrumb {
    margin-bottom: 34px;
  }

  .policy-hero h1 {
    font-size: clamp(28px, 7.2vw, 42px);
    line-height: 1.12;
    overflow-wrap: normal;
    hyphens: auto;
  }

  .policy-hero-inner > p:not(.content-kicker) {
    font-size: 17px;
  }

  .policy-content {
    padding-block: 58px 76px;
  }

  .policy-content h2 {
    font-size: 24px;
  }

  .not-found-page {
    min-height: 680px;
    padding-block: 84px 70px;
  }

  .not-found-page h1 {
    font-size: 36px;
  }

  .not-found-actions {
    flex-direction: column;
  }

  .content-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  body[class*="page-hub-"] .hub-hero h1 {
    font-size: 36px;
  }

  body[class*="page-hub-"] .hub-stat {
    padding-inline-end: 8px;
  }

  body[class*="page-hub-"] .hub-stat + .hub-stat {
    padding-inline-start: 10px;
  }

  body[class*="page-hub-"] .hub-stat .num {
    font-size: 22px;
  }

  body[class*="page-hub-"] .hub-stat .label {
    font-size: 9px;
  }

  body.page-article .art-header h1 {
    font-size: 32px;
  }

  body.page-article .summary-box,
  body.page-article .toc {
    padding: 18px;
  }
}

/* Hub intent architecture */
body[class*="page-hub-"] .hub-hero {
  min-height: 480px;
  padding-top: 72px;
  padding-bottom: 66px;
}

body[class*="page-hub-"] .hub-hero .subtitle {
  margin-bottom: 18px;
}

body[class*="page-hub-"] .hub-collection-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 26px;
  color: #536678;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
}

body[class*="page-hub-"] .hub-collection-meta strong {
  color: var(--content-teal);
  font-size: 19px;
  line-height: 1;
  font-weight: 850;
}

body[class*="page-hub-"] .hub-topic-path,
body[class*="page-hub-"] .hub-featured,
body[class*="page-hub-"] .hub-latest,
body[class*="page-hub-"] .hub-section {
  width: min(100%, 1000px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 20px;
}

body[class*="page-hub-"] .hub-topic-path {
  padding-bottom: 44px;
}

body[class*="page-hub-"] .hub-featured {
  padding-top: 44px;
  padding-bottom: 44px;
}

body[class*="page-hub-"] .hub-latest {
  padding-top: 44px;
  padding-bottom: 52px;
}

body[class*="page-hub-"] .hub-section {
  padding-top: 58px;
  padding-bottom: 72px;
  border-top: 1px solid var(--content-line);
}

body[class*="page-hub-"] .hub-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
}

body[class*="page-hub-"] .hub-section-heading h2 {
  margin: 0;
  color: var(--content-ink);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 820;
}

body[class*="page-hub-"] .hub-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

body[class*="page-hub-"] .hub-topic-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  min-height: 126px;
  padding: 20px;
  overflow: hidden;
  color: var(--content-ink);
  font: inherit;
  text-align: left;
  background: #f7f9f9;
  border: 1px solid var(--content-line);
  border-radius: 7px;
  cursor: pointer;
}

body[class*="page-hub-"] .hub-topic-card:hover {
  background: #eef5f2;
  border-color: #8eaaa4;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 25, 35, .07);
}

body[class*="page-hub-"] .hub-topic-count {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: var(--content-teal);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 820;
  text-transform: uppercase;
}

body[class*="page-hub-"] .hub-topic-title {
  align-self: end;
  min-width: 0;
  color: var(--content-ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 780;
  text-wrap: balance;
}

body[class*="page-hub-"] .hub-topic-arrow {
  align-self: end;
  color: var(--content-teal);
  font-size: 21px;
  line-height: 1;
}

body[class*="page-hub-"] .featured-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  border-radius: 7px;
}

body[class*="page-hub-"] .featured-img {
  min-height: 340px;
}

body[class*="page-hub-"] .featured-content {
  padding: 38px 36px;
}

body[class*="page-hub-"] .featured-content h3 {
  margin: 0 0 14px;
  color: var(--content-ink);
  font-size: 29px;
  line-height: 1.16;
  font-weight: 820;
  text-wrap: balance;
}

body[class*="page-hub-"] .featured-link {
  align-self: flex-start;
  margin-top: 18px;
  padding-bottom: 3px;
  color: var(--content-ink);
  border-bottom: 1px solid var(--content-teal);
  font-size: 14px;
  font-weight: 750;
}

body[class*="page-hub-"] .article-grid-latest .article-card {
  background: #f7f9f9;
}

body[class*="page-hub-"] .hub-browse-heading {
  margin-bottom: 18px;
}

body[class*="page-hub-"] .hub-result-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #607184;
  font-size: 12px;
  font-weight: 750;
}

body[class*="page-hub-"] .hub-result-summary strong {
  color: var(--content-ink);
  font-size: 16px;
}

body[class*="page-hub-"] .hub-tabs {
  position: sticky;
  top: 50px;
  z-index: 70;
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  margin: 0 0 24px;
  padding: 6px;
  overflow-x: auto;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--content-line);
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(16, 25, 35, .06);
  backdrop-filter: blur(10px);
}

body[class*="page-hub-"] .hub-tabs .tab-btn {
  min-height: 40px;
  padding: 0 15px;
  color: #526577;
  border-radius: 5px;
  font-size: 13px;
}

body[class*="page-hub-"] .hub-tabs .tab-btn::after {
  content: none;
}

body[class*="page-hub-"] .hub-tabs .tab-btn:hover {
  color: var(--content-ink);
  background: #edf3f2;
}

body[class*="page-hub-"] .hub-tabs .tab-btn.active {
  color: #fff;
  background: var(--content-dark);
}

body[class*="page-hub-"] [data-hub-card][hidden] {
  display: none !important;
}

body[class*="page-hub-"] .hub-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

body[class*="page-hub-"] .hub-load-more {
  min-width: 210px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--content-ink);
  background: #fff;
  border: 1px solid #94a8b2;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 780;
}

body[class*="page-hub-"] .hub-load-more:hover {
  background: #edf3f2;
  border-color: #718b91;
}

body[class*="page-hub-"] .related-hubs {
  max-width: none;
  margin: 0;
  padding: 60px max(20px, calc((100vw - 960px) / 2));
  color: var(--content-text);
  background: #edf3f2;
  border-top: 1px solid var(--content-line);
}

body[class*="page-hub-"] .related-hubs .hub-section-heading {
  max-width: 960px;
  margin: 0 auto 22px;
}

body[class*="page-hub-"] .related-hubs .hub-section-heading h2 {
  color: var(--content-ink);
  font-size: 27px;
}

body[class*="page-hub-"] .related-hubs .hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
  gap: 12px;
  border: 0;
}

body[class*="page-hub-"] .related-hubs .hub-card {
  position: relative;
  min-height: 118px;
  padding: 20px 48px 20px 20px;
  color: var(--content-ink);
  background: #fff;
  border: 1px solid #ced9dc;
  border-radius: 7px;
  text-align: start;
}

body[class*="page-hub-"] .related-hubs .hub-card:hover {
  background: #f9fbfb;
  border-color: #8fa9a5;
  transform: translateY(-2px);
}

body[class*="page-hub-"] .hub-card-count {
  display: block;
  margin-bottom: 14px;
  padding: 0;
  color: var(--content-teal);
  background: transparent;
  border-radius: 0;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 820;
  text-transform: uppercase;
}

body[class*="page-hub-"] .related-hubs .hub-card h3 {
  margin: 0;
  color: var(--content-ink);
  font-size: 16px;
  line-height: 1.35;
}

body[class*="page-hub-"] .hub-card-arrow {
  position: absolute;
  inset-inline-end: 20px;
  bottom: 20px;
  color: var(--content-teal);
  font-size: 20px;
  line-height: 1;
}

body[class*="page-hub-"] .hub-download-cta {
  margin: 0;
  padding: 72px 20px;
  background: var(--content-dark);
  border: 0;
}

body[class*="page-hub-"] .hub-download-cta .foneclaw-apk-cta {
  width: min(100%, 460px);
  margin: 0 auto;
  color: #e9f0f5;
  background: #182632;
  border-color: #3b5162;
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

body[class*="page-hub-"] .hub-download-cta .foneclaw-apk-cta__title {
  color: #fff;
}

body[class*="page-hub-"] .hub-download-cta .foneclaw-apk-cta__copy {
  color: #e5edf4 !important;
}

body[class*="page-hub-"] .hub-download-cta .foneclaw-apk-cta__meta,
body[class*="page-hub-"] .hub-download-cta .foneclaw-apk-cta__fallback {
  color: #cbd8e2;
}

html[dir="rtl"] body[class*="page-hub-"] .hub-topic-card {
  text-align: right;
}

html[dir="rtl"] body[class*="page-hub-"] .hub-topic-arrow,
html[dir="rtl"] body[class*="page-hub-"] .hub-card-arrow {
  transform: scaleX(-1);
}

@media (max-width: 780px) {
  body[class*="page-hub-"] .hub-hero {
    padding-top: 66px;
    padding-bottom: 52px;
  }

  body[class*="page-hub-"] .hub-topic-path,
  body[class*="page-hub-"] .hub-featured,
  body[class*="page-hub-"] .hub-latest,
  body[class*="page-hub-"] .hub-section {
    padding: 48px 18px;
  }

  body[class*="page-hub-"] .hub-topic-path {
    padding-bottom: 34px;
  }

  body[class*="page-hub-"] .hub-featured,
  body[class*="page-hub-"] .hub-latest {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  body[class*="page-hub-"] .hub-section-heading {
    align-items: baseline;
    margin-bottom: 20px;
  }

  body[class*="page-hub-"] .hub-section-heading h2 {
    font-size: 26px;
  }

  body[class*="page-hub-"] .hub-topic-grid,
  body[class*="page-hub-"] .related-hubs .hub-grid {
    grid-template-columns: 1fr;
  }

  body[class*="page-hub-"] .hub-topic-card {
    min-height: 104px;
    padding: 17px 18px;
  }

  body[class*="page-hub-"] .hub-topic-count {
    margin-bottom: 12px;
  }

  body[class*="page-hub-"] .featured-card {
    grid-template-columns: 1fr;
  }

  body[class*="page-hub-"] .featured-img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body[class*="page-hub-"] .featured-content {
    padding: 26px 22px;
  }

  body[class*="page-hub-"] .featured-content h3 {
    font-size: 25px;
  }

  body[class*="page-hub-"] .article-grid {
    grid-template-columns: 1fr;
  }

  body[class*="page-hub-"] .hub-tabs {
    top: 50px;
    margin-inline: -4px;
  }

  body[class*="page-hub-"] .related-hubs {
    padding: 50px 18px;
  }

  body[class*="page-hub-"] .related-hubs .hub-card {
    min-height: 104px;
    border: 1px solid #ced9dc;
  }

  body[class*="page-hub-"] .hub-download-cta {
    padding: 58px 18px;
  }
}
