/* Article (New) template styles */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap");
:root {
  --wp--style--global--content-size: 720px;
  --wp--style--global--wide-size: 1340px;
}
html {
  scroll-behavior: smooth;
}
.article-header .article-disclaimer {
  font-size: 13px;
  color: var(--wp--preset--color--accent-4);
  margin-bottom: 1rem;
  font-style: italic;
}

.article-header .article-title {
  color: var(--wp--preset--color--text-1);
}

.article-header .article-meta {
  gap: 0.25rem;
  color: var(--wp--preset--color--accent-4);
  font-size: 0.875rem;
  align-items: center;
}

.article-header .article-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.article-header .article-meta-item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
}

.article-header .article-meta-item p {
  margin: 0;
}

.article-header .article-meta .wp-block-post-author-name__link {
  color: #151d89;
  font-weight: 600;
  line-height: inherit;
}

.article-header .article-author .article-author__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.featured-product-container {
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background-color: white;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

/* Two-column layout: image left, text/button right */
.featured-product-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.featured-product-wrapper .featured-product-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}
@media (max-width: 468px) {
  .featured-product-wrapper {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .featured-product-wrapper p {
    margin-left: 0 !important;
  }
  .featured-product-wrapper a.bttn {
    margin-left: 0;
    min-width: 100%;
    width: 100%;
    white-space: wrap;
    text-align: center;
    padding: 14px 26px;
  }
  .article-body .featured-product-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100px;
  }
}

.featured-product-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.featured-product-wrapper .featured-product-name {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-product-wrapper p:last-of-type {
  margin-left: auto;
}

.article-body .bttn {
  font-size: 15px;
  font-weight: 700;
  padding: 18px 30px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  color: #232323;
  box-shadow: none;
  text-decoration: none;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: max-content;
  width: fit-content;
}

.article-body .bttn:hover {
  background-color: var(--primary-hover);
  box-shadow: none;
}

.featured-product-wrapper .featured-product-bttn {
  width: fit-content;
}

/* Normalize any inherited flex reordering within article wrappers */
.article-header p:last-of-type,
.article-body p:last-of-type {
  order: 0;
}

/* When scrolling to a product section by anchor, leave breathing room at the top */
.article-body .item-block {
  scroll-margin-top: 120px;
}

.featured-product-container .featured-product-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--wp--preset--color--text-1);
  line-height: 1.2;
  letter-spacing: -0.5px;
  order: 0;
}

.top-picks-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.top-picks-container .top-picks-title {
  font-weight: 700;
  font-size: 32px;
  color: #000;
  line-height: 1.2;
  margin: 0;
}

.top-picks-container .top-pick-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.top-picks-container .top-pick-wrapper .top-pick-label {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  line-height: 1.2;
  margin: 0;
}

.top-picks-container .top-pick-wrapper a {
  text-decoration: none;
  box-shadow: none;
}

.top-picks-container .top-pick-wrapper a:hover {
  box-shadow: none;
}

.top-picks-container .top-pick-wrapper .top-pick-product {
  font-size: 16px;
  text-decoration: underline;
  color: #151d89;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  transition: text-decoration 0.2s ease;
}

.top-picks-container .top-pick-wrapper .top-pick-product:hover {
  text-decoration: none;
}

.top-picks-container .top-pick-wrapper .top-pick-link {
  font-size: 16px;
  color: #212529;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-body .item-block {
  display: flex;
  flex-direction: column;
  margin: 32px 0;
  padding: 32px 0;
  border-bottom: solid 1px var(--border-color);
  gap: 12px;
}

.article-body .item-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.article-body .item-block .item-block-label {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  color: #212529;
  line-height: 1.2;
  margin: 0;
}

.article-body .item-block .block-headline {
  margin: 0;
}

.article-body .item-block .item-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
}

.article-body .item-block .item-links-wrapper .bttn {
  max-width: 352px;
  width: 100%;
  min-width: unset;
  white-space: wrap;
  text-align: center;
}

.article-body .item-block p:last-of-type {
  display: block;
}

.article-body .item-block .item-body {
  order: unset;
  margin: 0;
}

.article-body .item-block .item-section {
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-body .item-block .item-section .item-points-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
}

.article-body .item-block .item-section .item-points-wrapper .item-point-wrapper {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: nowrap;
}

.article-body .item-block .item-section .item-points-wrapper .item-point-wrapper svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.article-body .item-block .item-section .item-points-wrapper .item-point-wrapper .item-point-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #212529;
  flex: 1;
  min-width: 0;
}

.article-body .item-block .item-section.item-pros-cons-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* Pros/Cons section titles: use Roboto Condensed Bold */
.article-body .item-section-title,
.article-body .item-highlights-title,
.article-body .item-pros-cons-title {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

@media (max-width: 468px) {
  .article-body .item-block .item-section.item-pros-cons-wrapper {
    grid-template-columns: 1fr;
  }
}

.article-body .item-block .item-features-wrapper .item-feature-wrapper > p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #333333;
}

.article-body .item-block .item-features-wrapper {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 12px;
}

.article-body .item-block .item-features-wrapper .item-feature-wrapper {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.article-body .item-block .item-features-wrapper .item-feature-wrapper .item-feature-title {
  font-weight: 700;
}

.article-body .item-block .item-features-wrapper .item-feature-wrapper:not(:last-child)::after {
  content: "|";
  font-weight: 200;
  line-height: 18px;
  font-size: 16px;
  color: #333333;
}
