/* ============================================================
   source layer: articles-hero-fix-20260523r61.css
   ============================================================ */
/* iWander Articles hero spacing repair — 2026-05-23 r61 */
body.articles-page .page-head {
  padding-top: clamp(46px, 5.2vw, 58px);
  padding-bottom: clamp(28px, 3.8vw, 34px);
}

body.articles-page .section--articles-filters {
  padding-top: clamp(34px, 4.5vw, 52px);
  padding-bottom: clamp(48px, 6vw, 70px);
}

@media (max-width: 699px) {
  body.articles-page .page-head {
    padding-top: 44px;
    padding-bottom: 28px;
  }

  body.articles-page .section--articles-filters {
    padding-top: 34px;
    padding-bottom: 44px;
  }
}

/* ============================================================
   source layer: articles-taxonomy-20260530.css
   ============================================================ */
/* iWander articles taxonomy polish - 2026-05-30 */

body.articles-page .section--articles-filters {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(14px, 2vw, 24px);
}

body.articles-page .article-filters {
  display: grid;
  gap: clamp(12px, 1.8vw, 16px);
  justify-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 20px) 0 clamp(16px, 2.2vw, 22px);
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  background: transparent;
  box-shadow: none;
  text-align: center;
}

body.articles-page .home-hero.home-hero--cover {
  padding-top: clamp(8px, 1.4vw, 18px) !important;
}

body.articles-page .container--cover {
  padding-top: 0;
}

body.articles-page .home-hero--cover .home-cover {
  padding-top: clamp(18px, 2.2vw, 30px) !important;
}

body.articles-page .article-filters__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 12px;
  min-width: 0;
}

body.articles-page .article-filters__eyebrow {
  color: color-mix(in srgb, var(--accent) 78%, var(--text) 22%);
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

body.articles-page .article-filters__summary {
  max-width: none;
  color: color-mix(in srgb, var(--text) 74%, transparent);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0;
}

body.articles-page .article-filters__group {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  justify-items: start;
}

body.articles-page .article-filters__group + .article-filters__group {
  margin-top: 0;
}

body.articles-page .article-filters__label {
  justify-self: end;
  color: color-mix(in srgb, var(--text) 48%, transparent);
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

body.articles-page .article-filters__row {
  min-width: 0;
}

body.articles-page .article-filters__row--segmented,
body.articles-page .article-filters__row--products {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-start;
  max-width: 100%;
}

body.articles-page .article-filters__row--segmented {
  padding: 0;
  border: 0;
  background: transparent;
}

body.articles-page .article-filters .chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 7px;
  background: transparent;
  color: color-mix(in srgb, var(--text) 76%, transparent);
  box-shadow: none;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

body.articles-page .article-filters__row--segmented .chip {
  min-height: 34px;
  border-color: color-mix(in srgb, var(--text) 16%, transparent);
  background: transparent;
}

body.articles-page .article-filters .chip:hover,
body.articles-page .article-filters .chip:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  color: var(--text);
}

body.articles-page .article-filters .chip.is-active,
body.articles-page .article-filters__row--segmented .chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  box-shadow: none;
}

body.articles-page #articles-grid .card-title {
  margin-top: 9px;
  color: var(--text);
  font-size: clamp(19px, 1.45vw, 21px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body.articles-page .section--articles-filters {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  body.articles-page .article-filters {
    gap: 14px;
    padding: 14px 0 18px;
    margin-bottom: 0;
  }

  body.articles-page .home-hero.home-hero--cover {
    padding-top: 8px !important;
  }

  body.articles-page .home-hero--cover .home-cover {
    padding-top: 18px !important;
  }

  body.articles-page .article-filters__head {
    display: grid;
    gap: 4px;
  }

  body.articles-page .article-filters__summary {
    font-size: 14px;
  }

  body.articles-page .article-filters__group {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  body.articles-page .article-filters__label {
    justify-self: center;
  }

  body.articles-page .article-filters__row--segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 88px));
    justify-content: center;
    justify-items: stretch;
    gap: 6px;
    max-width: 100%;
  }

  body.articles-page .article-filters__row--segmented .chip:last-child:nth-child(7) {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 72px;
  }

  body.articles-page .article-filters__row--products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 116px));
    justify-content: center;
    justify-items: stretch;
    gap: 7px;
    max-width: 100%;
  }

  body.articles-page .article-filters__row--products .chip:last-child:nth-child(9),
  body.articles-page .article-filters__row--products .chip:last-child:nth-child(11) {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 116px;
  }

  body.articles-page .article-filters .chip {
    min-width: 0;
    min-height: 36px;
    padding-inline: 11px;
    font-size: 13px;
  }

  body.articles-page #articles-grid .card-title {
    font-size: 18px;
    line-height: 1.48;
  }
}

/* ============================================================
   source layer: articles-mobile-filter-pulldown-20260601.css
   ============================================================ */
/* iWander articles mobile filter pulldown - 2026-06-01 */

body.articles-page .article-filter-pulltab {
  display: none;
}

@media (max-width: 760px) {
  body.articles-page .section--articles-filters {
    padding-top: 14px;
    padding-bottom: 10px;
  }

  body.articles-page .article-filters {
    width: min(100%, 372px);
    gap: 10px;
    padding: 12px 0 14px;
  }

  body.articles-page .article-filters__group {
    position: relative;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0;
  }

  body.articles-page .article-filters__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.articles-page .article-filter-pulltab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 13px 0 15px;
    border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    box-shadow: none;
    cursor: pointer;
    font-family: var(--font-base);
    letter-spacing: 0;
  }

  body.articles-page .article-filter-pulltab:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 72%, transparent);
    outline-offset: 3px;
  }

  body.articles-page .article-filter-pulltab__meta {
    color: color-mix(in srgb, var(--text) 48%, transparent);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
  }

  body.articles-page .article-filter-pulltab__value {
    min-width: 0;
    margin-left: auto;
    padding-left: 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.2;
    text-align: right;
  }

  body.articles-page .article-filter-pulltab__chevron {
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
    flex: 0 0 auto;
  }

  body.articles-page .article-filters__group.is-open .article-filter-pulltab {
    border-color: color-mix(in srgb, var(--text) 32%, transparent);
  }

  body.articles-page .article-filters__group.is-open .article-filter-pulltab__chevron {
    transform: translateY(2px) rotate(225deg);
  }

  body.articles-page .article-filters__row--segmented,
  body.articles-page .article-filters__row--products {
    display: none;
    width: 100%;
    max-width: none;
    margin-top: 7px;
    padding: 8px;
    border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg) 96%, var(--text) 4%);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--text) 10%, transparent);
  }

  body.articles-page .article-filters__group.is-open .article-filters__row--segmented,
  body.articles-page .article-filters__group.is-open .article-filters__row--products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
    justify-items: stretch;
  }

  body.articles-page .article-filters__row--segmented .chip:last-child:nth-child(7),
  body.articles-page .article-filters__row--products .chip:last-child:nth-child(9),
  body.articles-page .article-filters__row--products .chip:last-child:nth-child(11) {
    grid-column: auto;
    justify-self: stretch;
    min-width: 0;
  }

  body.articles-page .article-filters .chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    text-align: left;
  }

  body.articles-page .article-filters .chip.is-active::after {
    content: "";
    width: 8px;
    height: 13px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(42deg) translateY(-1px);
    flex: 0 0 auto;
  }
}

/* source layer: articles-search-empty-fix-20260710 */
body.articles-page #load-more[hidden] {
  display: none !important;
}

body.articles-page #articles-grid .search-results__empty {
  grid-column: 1 / -1;
  width: 100%;
}

