/*
 * Web Dominance Blog Topic Tabs v3.
 * ONLY the added filter pills are styled. The Axtra header, hero, 2-column
 * cards, image treatments, dates, pagination and footer stay untouched.
 */
.wd-blog-tabs-v2 {
  --wd-bt-ink: #1c1d20;
  --wd-bt-border: #d7d7d9;
  --wd-bt-paper: #fff;
  --wd-bt-count-bg: #ededee;
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 clamp(36px, 4vw, 54px);
  padding: 2px 0 6px;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d7d7d9 transparent;
}
.wd-blog-tabs-v2 *, .wd-blog-tabs-v2 *::before, .wd-blog-tabs-v2 *::after {
  box-sizing: border-box;
}
.wd-blog-tabs-v2__nav {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.55vw, 10px);
  width: max-content;
  min-width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 2px;
  list-style: none;
}
.wd-blog-tabs-v2__pill,
.wd-blog-tabs-v2__pill:link,
.wd-blog-tabs-v2__pill:visited {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px clamp(9px, 0.85vw, 15px);
  margin: 0;
  border: 1px solid var(--wd-bt-border);
  border-radius: 999px;
  background: var(--wd-bt-paper);
  background-image: none;
  color: var(--wd-bt-ink);
  font-family: inherit;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: visible;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.wd-blog-tabs-v2__pill::before, .wd-blog-tabs-v2__pill::after { content: none !important; display: none !important; }
.wd-blog-tabs-v2__pill:hover,
.wd-blog-tabs-v2__pill:focus-visible {
  border-color: var(--wd-bt-ink);
  color: var(--wd-bt-ink);
  background-color: var(--wd-bt-paper);
  text-decoration: none;
}
.wd-blog-tabs-v2__pill:focus-visible { outline: 2px solid var(--wd-bt-ink); outline-offset: -3px; }
.wd-blog-tabs-v2__pill[aria-selected="true"],
.wd-blog-tabs-v2__pill[aria-selected="true"]:hover,
.wd-blog-tabs-v2__pill[aria-selected="true"]:focus-visible {
  background: var(--wd-bt-ink);
  border-color: var(--wd-bt-ink);
  color: #fff;
}
.wd-blog-tabs-v2__pill-count {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: var(--wd-bt-count-bg);
  color: #77777b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.wd-blog-tabs-v2__pill[aria-selected="true"] .wd-blog-tabs-v2__pill-count {
  background-color: #3a3b40;
  color: #fff;
}
.wd-blog-tabs-v2__pill:disabled { opacity: 0.65; cursor: progress; }
.wd-blog-tabs-v2__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.wd-blog-tabs-v2__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
/* Errors are shown only when an AJAX request actually fails. */
.wd-blog-tabs-v2[data-error="true"] .wd-blog-tabs-v2__status {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 12px 0 0;
  clip: auto;
  overflow: visible;
  color: #ae3434;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 767px) {
  /* On smaller screens keep the SAME single row; swipe horizontally. */
  .wd-blog-tabs-v2 { margin-bottom: 32px; }
  .wd-blog-tabs-v2__nav { flex-wrap: nowrap; min-width: 100%; }
  .wd-blog-tabs-v2__pill { font-size: 13px; min-height: 44px; padding: 10px 13px; }
  .wd-blog-tabs-v2__pill-count { font-size: 10px; }
  
  
  .wd-blog-tabs-v2__nav{
       flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        min-width: 0;
        margin-inline: 0;
        padding: 0;
  }
  
}
@media (max-width: 420px) {
  .wd-blog-tabs-v2__nav { display: flex; grid-template-columns: none; flex-wrap: nowrap; gap: 8px; }
  .wd-blog-tabs-v2__pill { flex: 0 0 auto; width: auto; font-size: 12px; min-height: 42px; white-space: nowrap; padding: 9px 13px; }
  .wd-blog-tabs-v2__pill:last-child { grid-column: auto; width: auto; padding: 9px 13px; }
}
@media (prefers-reduced-motion: reduce) { .wd-blog-tabs-v2__pill { transition: none; } }
