/* storefront-articles.css — scoped to .articles-hub / .article-page / .article-*
   No global a/nav/h2 rules; illustrations are supplied separately. */

.articles-hub {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: #0b2e59;
  background-color: #ffffff;
}

.articles-hub h1 {
  font-size: 1.6rem;
  margin: 1rem 0 1.5rem;
  color: #0b2e59;
  overflow-wrap: anywhere;
}

.articles-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
  min-width: 0;
}

.articles-search-label {
  font-size: 0.85rem;
  color: #45607f;
}

.articles-search input[type="search"],
.articles-search select {
  padding: 0.5rem 0.7rem;
  border: 1px solid #d8e3ee;
  border-radius: 4px;
  font-size: 0.9rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.articles-search-submit {
  padding: 0.5rem 1rem;
  border: 1px solid #0b2e59;
  background: #0b2e59;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
}

.articles-search-reset {
  color: #0f766e;
  text-decoration: none;
  font-size: 0.85rem;
}

.articles-search-reset:focus-visible,
.articles-search-submit:focus-visible {
  outline: 2px solid #0b2e59;
  outline-offset: 2px;
}

.articles-count {
  font-size: 0.85rem;
  color: #6b7d94;
  margin: 0 0 1rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  min-width: 0;
}

.articles-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #0b2e59;
  background: #ffffff;
}

.articles-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.articles-card-category {
  font-size: 0.8rem;
  color: #0f766e;
  margin: 0.75rem 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.articles-card h2 {
  font-size: 1.05rem;
  margin: 0.35rem 1rem 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.articles-card p {
  font-size: 0.9rem;
  color: #45607f;
  margin: 0.5rem 1rem 1rem;
  overflow-wrap: anywhere;
}

.articles-empty {
  padding: 2rem 0;
  color: #45607f;
  text-align: center;
}

.articles-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.articles-pagination a {
  color: #0b2e59;
  border: 1px solid #0b2e59;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.articles-pagination a:focus-visible {
  outline: 2px solid #0b2e59;
  outline-offset: 2px;
}

/* Article detail page */

.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: #17233a;
  background-color: #ffffff;
  box-sizing: border-box;
  min-width: 0;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-category {
  font-size: 0.8rem;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.article-page h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  color: #0b2e59;
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-tldr {
  font-size: 1.05rem;
  color: #33455f;
  border-left: 3px solid #0f766e;
  padding-left: 0.85rem;
  margin: 0.75rem 0;
  overflow-wrap: anywhere;
}

.article-byline,
.article-dates {
  font-size: 0.85rem;
  color: #6b7d94;
  margin: 0.35rem 0;
}

.article-cover {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.article-toc {
  background: #f4f8fb;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.article-toc-label {
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #0b2e59;
}

.article-toc ul {
  margin: 0;
  padding-left: 1.1rem;
}

.article-toc a {
  color: #0f766e;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.article-toc a:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.article-block {
  margin: 2rem 0;
  min-width: 0;
}

.article-block h2 {
  font-size: 1.3rem;
  color: #0b2e59;
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-block p {
  line-height: 1.7;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.article-block ul {
  line-height: 1.7;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.article-figure {
  margin: 1rem 0;
}

.article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.article-figure figcaption {
  font-size: 0.85rem;
  color: #6b7d94;
  margin-top: 0.4rem;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.article-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
}

.article-table th,
.article-table td {
  border: 1px solid #d8e3ee;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-size: 0.9rem;
}

.article-table th {
  background: #f4f8fb;
  color: #0b2e59;
}

.article-faq h2,
.article-sources h2,
.article-related h2 {
  font-size: 1.3rem;
  color: #0b2e59;
  margin-bottom: 0.75rem;
}

.article-faq h3 {
  font-size: 1rem;
  margin: 1rem 0 0.35rem;
  color: #17233a;
  overflow-wrap: anywhere;
}

.article-sources ul {
  padding-left: 1.1rem;
  line-height: 1.8;
}

.article-sources a {
  color: #0f766e;
  overflow-wrap: anywhere;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 0.75rem;
}

.article-related-card {
  display: block;
  border: 1px solid #d8e3ee;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #0b2e59;
  font-size: 0.9rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-related-card:focus-visible,
.articles-card:focus-visible {
  outline: 2px solid #0b2e59;
  outline-offset: 2px;
}

@media (max-width: 320px) {
  .articles-hub,
  .article-page {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .article-page h1 {
    font-size: 1.5rem;
  }
  .articles-grid,
  .article-related-grid {
    grid-template-columns: 1fr;
  }
  .articles-search {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Reviewed related product cards */
.article-related {
  min-width: 0;
}

.article-related-intro {
  color: #45607f;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.article-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 720px) {
  .article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .article-related-grid {
    grid-template-columns: 1fr;
  }
}

.article-related-card {
  display: flex;
  flex-direction: column;
  padding: 0;

  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #0b2e59;
  background: #ffffff;
}

.article-related-card:focus-visible {
  outline: 2px solid #0b2e59;
  outline-offset: 2px;
}

.article-related-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #f4f8fb;
  min-width: 0;
}

.article-related-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
}


.article-related-placeholder {
  color: #6b7d94;
  font-size: 0.85rem;
  text-align: center;
  padding: 0 1rem;
}

.article-related-body {
  padding: 0.85rem 1rem 1rem;
  min-width: 0;
}

.article-related-name {
  display: block;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #0b2e59;
  overflow-wrap: anywhere;
}

.article-related-brand {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #6b7d94;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.article-related-cta {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.9rem;

  color: #0f766e;
}

.article-inline-cta{margin:34px 0;padding:22px;border:1px solid #cfe1ee;border-radius:18px;background:linear-gradient(135deg,#f3fbff,#fff);box-shadow:0 12px 28px rgba(12,57,86,.08)}
.article-inline-cta strong{display:block;font-size:1.15rem;color:#0c3956;margin-bottom:8px}.article-inline-cta p{margin:0 0 14px;color:#476174;line-height:1.75}.article-inline-cta-actions{display:flex;gap:10px;flex-wrap:wrap}.article-inline-cta a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 16px;text-decoration:none;font-weight:700}.article-inline-cta-primary{background:#0f6f9f;color:#fff}.article-inline-cta-secondary{background:#eaf4fa;color:#0c5276}
