/* Article previews reuse the published title, summary, image and destination. */
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  border: 0;
}
.guide-results {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.guide-results-head { padding: 0 0 22px; }
.guide-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}
.guide-row[data-article-card],
.directory-card[data-article-card],
.guide-results .guide-row[data-article-card],
.home-refresh .directory-card[data-article-card] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 14px;
  box-shadow: 0 1px 2px #0f172a04;
  transition: border-color .18s, box-shadow .18s;
}
[data-article-card]:hover,
[data-article-card]:focus-visible,
.guide-results .guide-row[data-article-card]:hover,
.home-refresh .directory-card[data-article-card]:hover {
  background: #fff;
  border-color: #0d9668;
  box-shadow: 0 2px 8px #0f172a06, 0 10px 26px #0f172a06;
}
[data-article-card]:focus-visible { outline: 3px solid #0d9668; outline-offset: 4px; }
[data-article-card] .article-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  min-width: 0;
  flex: 0 0 210px;
  padding: 14px 24px;
  overflow: hidden;
  background: #f5f7fa;
  border-bottom: 1px solid #e7ebf0;
}
[data-article-card] .article-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
  mix-blend-mode: normal;
}
[data-article-card] .article-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 23px 23px 22px;
}
[data-article-card] .article-card-category {
  display: block;
  color: #047857;
  font: 650 10px/1.5 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.guide-results .guide-row[data-article-card] h3,
.home-refresh .directory-card[data-article-card] h3,
[data-article-card] .article-card-content h3 {
  margin: 13px 0 0;
  color: #0f172a;
  font: 650 20px/1.35 var(--sans);
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
.guide-results .guide-row[data-article-card] p,
.home-refresh .directory-card[data-article-card] p,
[data-article-card] .article-card-content p {
  margin: 15px 0 0;
  color: #576579;
  font: 400 14px/1.7 var(--sans);
  overflow-wrap: break-word;
}
[data-article-card]:hover .article-card-content h3,
[data-article-card]:focus-visible .article-card-content h3 { color: #047857; }
[data-article-card] .article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
  color: #69758a;
  font: 400 12px/1.5 var(--sans);
}
[data-article-card] .article-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
[data-article-card] .article-card-updated {
  color: #5e6b7b;
  font: 450 11px/1.5 var(--sans);
}
.article-heading h1 { margin-bottom: 14px; }
.article-heading .article-date-line {
  margin: 0 0 22px;
  color: #5e6b7b;
  font: 450 12px/1.6 var(--sans);
}
[data-article-card] .article-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 7px;
  color: #047857;
  font-weight: 650;
  white-space: nowrap;
}
[data-article-card] .article-card-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-refresh .directory-grid,
.home-refresh .directory-groups .directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  border: 0;
}
.home-refresh [data-article-card] .article-card-media { height: 220px; flex-basis: 220px; }
.home-refresh [data-article-card] .article-card-content { padding: 25px 26px 24px; }
.home-refresh .directory-card[data-article-card] h3 { font-size: 22px; line-height: 1.35; }
.home-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  padding: 0;
  border: 0;
}
.home-editorial [data-article-card] .article-card-media { height: 200px; flex-basis: 200px; }
.home-editorial [data-article-card] .article-card-content { padding: 23px 23px 22px; }
.home-editorial .directory-card[data-article-card] h3 { font-size: 21px; }
.home-intro .home-about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  color: #71ebbd;
  font: 600 13px/1.5 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-intro .home-about-link:hover { color: #c3ffe8; }

@media (min-width: 701px) and (max-width: 1100px) {
  .home-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The additional Home entry uses the existing menu at intermediate widths. */
@media (min-width: 701px) and (max-width: 900px) {
  .nav { position: relative; }
  .menu-toggle { display: block; }
  .navlinks {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid #dfe3eb;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 24px #0f172a0a;
    font-size: 14px;
  }
  .navlinks.is-open { display: flex; }
  .navlinks > a { padding: 11px 13px; }
  .navlinks .navcta { align-self: flex-start; margin: 5px 0 0; padding: 11px 17px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .guide-library-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 20px; }
  .guide-list { gap: 18px; }
  [data-article-card] .article-card-content { padding: 20px 18px; }
  .guide-results .guide-row[data-article-card] h3 { font-size: 19px; }
  [data-article-card] .article-card-media { height: 190px; flex-basis: 190px; padding: 14px 18px; }
  .guide-results .guide-row[data-article-card] p { font-size: 13px; }
  [data-article-card] .article-card-footer { gap: 8px; font-size: 11px; }
}
@media (max-width: 700px) {
  .home-editorial { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .guide-sidebar { position: static; top: auto; max-height: none; overflow: visible; }
  .guide-list,
  .home-refresh .directory-grid,
  .home-refresh .directory-groups .directory-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .guide-results-head { padding-bottom: 18px; }
  .guide-results { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .guide-row[data-article-card],
  .guide-results .guide-row[data-article-card],
  .home-refresh .directory-card[data-article-card] { padding: 0; gap: 0; border-radius: 13px; }
  [data-article-card] .article-card-media,
  .home-refresh [data-article-card] .article-card-media,
  .home-editorial [data-article-card] .article-card-media { height: 205px; flex-basis: 205px; padding: 14px 22px; }
  [data-article-card] .article-card-content,
  .home-refresh [data-article-card] .article-card-content { padding: 22px 22px 21px; }
  .guide-results .guide-row[data-article-card] h3,
  .home-refresh .directory-card[data-article-card] h3 { font-size: 21px; line-height: 1.35; }
  .guide-results .guide-row[data-article-card] p { font-size: 14px; line-height: 1.7; }
  [data-article-card] .article-card-footer { padding-top: 25px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-row[data-article-card], .directory-card[data-article-card] { transition: none; }
}

/* The reading page is a continuous canvas, with navigation at the left edge. */
body:has(.article-reading-layout) {
  --paper: #fcfcfc;
  background: #fcfcfc;
}
@media (min-width: 960px) {
  body:has(.article-reading-layout) .header .wrap.nav,
  body:has(.article-reading-layout) .utility .wrap {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
}
.wrap.article-reading-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 244px;
  align-items: start;
  gap: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}
.article-reading-layout > .wrap.article-page {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 54px;
  padding: 36px 40px 48px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.article-related {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 72px;
  align-self: start;
  min-width: 0;
  height: calc(100vh - 72px);
  max-height: calc(100vh - 72px);
  margin: 0;
  padding: 28px 24px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  background: transparent;
  border: 0;
  border-right: 1px solid #ededee;
  border-radius: 0;
  box-shadow: none;
}
.article-related > h2 {
  margin: 0 0 20px;
  color: #475467;
  font: 600 13px/1.5 var(--sans);
  letter-spacing: -.015em;
}
.related-reading-group + .related-reading-group { margin-top: 24px; }
.related-reading-group h3 {
  margin: 0 0 7px;
  color: #69758a;
  font: 600 11px/1.5 var(--sans);
  letter-spacing: .025em;
}
.article-related .related-reading-link {
  display: block;
  min-width: 0;
  margin: 0 -10px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  color: #334155;
}
.article-related .related-source {
  display: block;
  margin-bottom: 6px;
  color: #5e6b7b;
  font: 450 11px/1.5 var(--sans);
  overflow-wrap: anywhere;
}
.article-related .related-title {
  display: block;
  color: #334155;
  font: 450 14px/1.55 var(--sans);
  letter-spacing: -.012em;
  overflow-wrap: break-word;
}
.article-related .related-reading-link:hover .related-title,
.article-related .related-reading-link:focus-visible .related-title { color: #047857; }
.article-related .related-reading-link:hover { background: #f1f1f2; }
.article-related .related-reading-link:focus-visible { outline: 2px solid #0d9668; outline-offset: 4px; }

.article-shopping {
  display: flex;
  flex-direction: column;
  grid-column: 3;
  grid-row: 1;
  position: sticky;
  top: 72px;
  align-self: start;
  min-width: 0;
  min-height: 0;
  height: calc(100vh - 72px);
  max-height: calc(100vh - 104px);
  margin: 0;
  padding: 28px 20px 20px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-left: 1px solid #ededee;
  border-radius: 0;
  box-shadow: none;
}
.shopping-heading { flex: 0 0 auto; padding-bottom: 8px; }
.shopping-heading h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font: 650 14px/1.4 var(--sans);
  letter-spacing: -.015em;
}
.shopping-count {
  margin: 0;
  color: #69758a;
  font: 400 11px/1.5 var(--sans);
}
.article-shopping .shopping-product-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #afc0b7 transparent;
  scrollbar-gutter: stable;
  padding: 0 6px;
}
.article-shopping .shopping-product-list::-webkit-scrollbar { width: 6px; }
.article-shopping .shopping-product-list::-webkit-scrollbar-track { background: transparent; }
.article-shopping .shopping-product-list::-webkit-scrollbar-thumb { background: #afc0b7; border-radius: 6px; }
.article-shopping .shopping-product-list:focus-visible { outline: 2px solid #0d9668; outline-offset: 4px; }
.shopping-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 0 0 auto;
  padding: 13px 12px;
  margin: 0 0 12px;
  background: linear-gradient(145deg, #fff 10%, #f0faf5 100%);
  border: 1px solid #c8e6d7;
  border-radius: 10px;
  box-shadow: 0 1px 2px #0f172a06;
  transition: border-color .16s, box-shadow .16s;
}
.shopping-product-card:last-child { margin-bottom: 0; }
.shopping-product-card:hover, .shopping-product-card:focus-within {
  border-color: #73bc99;
  box-shadow: 0 3px 10px #0d96680c;
}
.shopping-product-image {
  display: block;
  width: 100%;
  height: 110px;
  max-width: 100%;
  margin: 0 0 12px;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}
.shopping-product-brand {
  display: block;
  color: #047857;
  font: 650 9px/1.5 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shopping-product-title,
.shopping-product-card h3 {
  margin: 6px 0 0;
  color: #153f2e;
  font: 650 14px/1.45 var(--sans);
  letter-spacing: -.012em;
  overflow-wrap: break-word;
}
.shopping-product-config {
  margin: 8px 0 13px;
  color: #69758a;
  font: 400 12px/1.6 var(--sans);
  overflow-wrap: break-word;
}
a.shopping-product-link {
  display: block;
  margin-top: auto;
  padding: 9px 10px;
  background: #087853;
  border: 1px solid #087853;
  border-radius: 7px;
  color: #fff;
  font: 600 12px/1.5 var(--sans);
  text-align: center;
  text-decoration: none;
}
a.shopping-product-link:hover { background: #065f46; border-color: #065f46; color: #fff; }
a.shopping-product-link:focus-visible { outline: 3px solid #0d9668; outline-offset: 3px; }
.shopping-note {
  flex: 0 0 auto;
  margin: 9px 0 0;
  color: #69758a;
  font: 400 11px/1.6 var(--sans);
  overflow-wrap: break-word;
}

@media (min-width: 960px) and (max-width: 1279px) {
  .wrap.article-reading-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .article-reading-layout > .article-related { grid-row: 1 / span 2; }
  .article-reading-layout > .article-shopping {
    grid-column: 2;
    grid-row: 2;
    position: static;
    height: auto;
    max-height: none;
    width: calc(100% - 80px);
    max-width: 820px;
    margin: 0 auto 40px;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid #ededee;
  }
  .article-shopping .shopping-product-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    overflow: visible;
    max-height: none;
    padding: 0;
    scrollbar-gutter: auto;
  }
}
@media (max-width: 959px) {
  .wrap.article-reading-layout {
    grid-template-columns: minmax(0, 878px);
    gap: 0;
    justify-content: center;
  }
  .article-reading-layout > .wrap.article-page {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 878px;
    margin: 0 auto 32px;
  }
  .article-reading-layout > .article-related {
    grid-column: 1;
    grid-row: 2;
    position: static;
    width: 100%;
    max-width: 878px;
    height: auto;
    max-height: none;
    margin: 0 auto 32px;
    padding: 0 40px 24px;
    border-right: 0;
    overflow: visible;
  }
  .related-reading-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
  .related-reading-group h3 { grid-column: 1 / -1; }
  .article-reading-layout > .article-shopping {
    display: block;
    grid-column: 1;
    grid-row: 3;
    position: static;
    height: auto;
    width: 100%;
    max-width: 878px;
    max-height: none;
    margin: 0 auto 32px;
    padding: 22px 40px 0;
    overflow: visible;
    border-left: 0;
    border-top: 1px solid #dce2e9;
  }
  .article-shopping > .shopping-heading,
  .article-shopping > .shopping-note,
  .article-shopping > .shopping-products,
  .article-shopping > .shopping-product-list { grid-column: 1 / -1; }
  .article-shopping .shopping-products,
  .article-shopping .shopping-product-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
    padding: 0;
  }
  .shopping-product-image { height: 130px; }
}
@media (max-width: 700px) {
  .wrap.article-reading-layout { padding-left: 0; padding-right: 0; }
  .article-reading-layout > .wrap.article-page {
    width: 100%;
    max-width: none;
    margin: 0 auto 24px;
    padding: 26px 24px 34px;
  }
  .article-reading-layout > .article-related {
    width: 100%;
    max-width: none;
    margin: 0 auto 28px;
    padding: 0 24px 24px;
  }
  .article-reading-layout > .article-shopping {
    width: calc(100% - 48px);
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 auto 28px;
    padding: 22px 0 0;
  }
  .article-shopping .shopping-products,
  .article-shopping .shopping-product-list { grid-template-columns: minmax(0, 1fr); }
  .related-reading-group { grid-template-columns: minmax(0, 1fr); }
}

[data-article-card] .article-card-media img[src*="huawei-matepad-air-productivity"]{object-fit:cover}

.shopping-product-link svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-left:5px;vertical-align:-1px}

/* The guide navigation belongs to the page canvas, with generous text spacing. */
.guide-sidebar {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.guide-sidebar .filter {
  min-height: 50px;
  padding: 14px 14px;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.55;
  border-radius: 8px;
  border-color: transparent;
  color: #374151;
  background: transparent;
}
.guide-sidebar .filter:hover { background: #ededf0; color: #1f2937; }
.guide-sidebar .filter[aria-pressed="true"] {
  color: #1f2937;
  background: #e7e7eb;
  font-weight: 550;
  border-color: transparent;
}
.guide-sidebar .searchbar { margin-top: 28px; padding-top: 0; border: 0; }
.guide-sidebar .searchbar label { font-size: 13px; color: #5e6b7b; }
.guide-sidebar .searchbar input {
  min-height: 46px;
  font-size: 13px;
  background: #ffffff66;
  border-color: #dce2e8;
  box-shadow: none;
}
@media (min-width: 701px) {
  .guide-library-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .guide-library-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .guide-library-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 700px) {
  .guide-sidebar-panel { background: transparent; border-color: #e0e5ec; box-shadow: none; }
  .guide-sidebar .filter { padding: 12px 13px; }
  .guide-sidebar .searchbar { margin-top: 24px; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shopping-product-card { transition: none; }
}

/* The library uses the same edge navigation and open content canvas. */
body:has(.guide-library-layout) .wrap.pagebottom {
  width: 100%;
  max-width: none;
  padding: 0;
}
body:has(.guide-library-layout) .guide-library-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  margin: 0;
}
body:has(.guide-library-layout) .guide-sidebar {
  top: 72px;
  height: calc(100vh - 72px);
  max-height: calc(100vh - 72px);
  padding: 28px 24px;
  border-right: 1px solid #ededee;
  border-radius: 0;
}
body:has(.guide-library-layout) .guide-results {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 40px 56px;
}
body:has(.guide-library-layout) .guide-sidebar .filter {
  min-height: 44px;
  padding: 10px;
  color: #667085;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  border-radius: 6px;
}
body:has(.guide-library-layout) .guide-sidebar .filter:hover { background: #f1f1f2; }
body:has(.guide-library-layout) .guide-sidebar .filter[aria-pressed="true"] {
  background: #f2f2f3;
  color: #475467;
  font-weight: 500;
}
body:has(.guide-library-layout) .guide-sidebar .filters { gap: 4px; }
body:has(.guide-library-layout) .guide-sidebar .searchbar { margin-top: 24px; }
body:has(.guide-library-layout) .guide-sidebar .searchbar label {
  color: #667085;
  font-size: 12px;
  font-weight: 450;
}
body:has(.guide-library-layout) .guide-sidebar .searchbar input {
  min-height: 42px;
  background: transparent;
  border-color: #e7e7e8;
  font-size: 12px;
}
@media (min-width: 701px) and (max-width: 1000px) {
  body:has(.guide-library-layout) .guide-library-layout { grid-template-columns: 210px minmax(0, 1fr); }
  body:has(.guide-library-layout) .guide-sidebar { padding: 28px 20px; }
  body:has(.guide-library-layout) .guide-results { padding: 28px 24px 48px; }
}
@media (max-width: 700px) {
  body:has(.guide-library-layout) .guide-library-layout { grid-template-columns: minmax(0, 1fr); }
  body:has(.guide-library-layout) .guide-sidebar {
    position: static;
    height: auto;
    max-height: none;
    padding: 20px 24px 0;
    border-right: 0;
  }
  body:has(.guide-library-layout) .guide-sidebar-panel {
    border: 0;
    border-bottom: 1px solid #ededee;
    border-radius: 0;
  }
  body:has(.guide-library-layout) .guide-sidebar-panel > summary { padding: 12px 0; }
  body:has(.guide-library-layout) .guide-sidebar-content { padding: 12px 0 20px; }
  body:has(.guide-library-layout) .guide-results { padding: 24px 24px 40px; }
}
