/* ClinicsRise blog components.
   Extracted from the blog hub page so archive and search templates render
   identically to /blog/. Keep in sync if the hub's inline styles change. */

  /* ============================================================
     BRAND TOKENS (CSS custom properties)
     ============================================================ */
  :root {
    --navy:        #0F172A;
    --teal:        #2D9B7E;
    --teal-dark:   #25826A; /* hover darken ~10% */
    --slate:       #334155;
    --ink:         #1E293B;
    --slate-grey:  #64748B;
    --mist:        #F8FAFC;
    --teal-tint:   #E7F3EE;
    --hairline:    #E2E8F0;
    --white:       #FFFFFF;

    --font-display: 'Space Grotesk', Georgia, serif;
    --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

    --maxw: 1180px;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
    --shadow-md: 0 8px 24px rgba(15,23,42,0.08);
    --shadow-lg: 0 16px 40px rgba(15,23,42,0.14);
  }

  /* ============================================================
     BASE / RESET
     ============================================================ */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
  }
  img { max-width: 100%; display: block; }
  a { color: var(--teal); text-decoration: none; }
  ul { margin: 0; padding: 0; }

  h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--navy);
    margin: 0;
  }
  h1 { font-weight: 700; font-size: 48px; line-height: 1.1; }
  h2 { font-weight: 600; font-size: 34px; line-height: 1.2; }
  h3 { font-weight: 500; font-size: 26px; line-height: 1.3; }
  h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: var(--navy);
    margin: 0;
  }
  p { margin: 0 0 1.1em; }

  .container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
  }

  .section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
  }
  .section-head h2 { margin-bottom: 8px; }
  /* Teal underline rule under centered H2s */
  .section-head h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin: 18px auto 0;
  }
  .section-head p {
    margin: 14px 0 0;
    color: var(--slate-grey);
    font-size: 17px;
  }

  /* ============================================================
     ACCESSIBILITY: skip link + focus states
     ============================================================ */
  .skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 12px 18px;
    z-index: 200;
    border-radius: 0 0 8px 0;
  }
  .skip-link:focus { left: 0; }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  summary:focus-visible,
  [tabindex]:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ============================================================
     BUTTONS
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
  .btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

  .btn-primary-inverted { background: var(--white); color: var(--teal); border-color: var(--white); min-height: 48px; padding: 16px 32px; }
  .btn-primary-inverted:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

  .btn-outline { background: transparent; color: var(--navy); border-color: var(--hairline); }
  .btn-outline:hover { border-color: var(--teal); color: var(--teal); }

  /* ============================================================
     HEADER / NAV  (matches homepage)
     ============================================================ */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    gap: 24px;
  }
  .logo { display: inline-flex; align-items: center; line-height: 0; }
  .logo img { height: 92px; width: auto; display: block; }

  .primary-nav { display: flex; align-items: center; gap: 4px; }
  .nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
  .nav-list > li { position: relative; }
  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: var(--slate);
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
  }
  .nav-link:hover { color: var(--navy); }

  .dropdown-arrow { width: 10px; height: 10px; transition: transform .25s ease; fill: currentColor; }
  .has-dropdown[aria-expanded="true"] .dropdown-arrow.nav-item-dropdown:hover .nav-link .dropdown-arrow { transform: rotate(180deg); }

  .mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 760px;
    max-width: calc(100vw - 32px);
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-item-dropdown:hover .mega-menu.nav-item-dropdown:focus-within .mega-menu.mega-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mega-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
  .mega-col { padding: 0 26px; border-left: 1px solid var(--hairline); }
  .mega-col:first-child { padding-left: 0; border-left: none; }
  .mega-col:last-child  { padding-right: 0; }

  .mega-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border: none;
    border-bottom: 1px solid var(--hairline);
    background: none;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    cursor: default;
  }
  .mega-col-list { list-style: none; }
  .mega-col-list a {
    display: block;
    padding: 7px 0;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    transition: color .2s ease;
  }
  .mega-col-list a:hover.mega-col-list a:focus-visible { color: var(--teal); }

  .mega-hub {
    display: inline-block;
    margin-top: 14px;
    color: var(--teal);
    font-weight: 700;
    font-size: 15px;
    transition: color .2s ease;
  }
  .mega-hub:hover.mega-hub:focus-visible { color: var(--teal-dark); }

  .mega-acc-arrow { display: none; width: 12px; height: 12px; fill: currentColor; transition: transform .2s ease; }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    min-height: 44px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    transition: background .2s ease, border-color .2s ease;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

  .header-actions { display: flex; align-items: center; gap: 12px; }

  .hamburger {
    display: none;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    width: 44px; height: 44px;
    font-size: 22px;
    color: var(--navy);
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  /* ============================================================
     SHARED SECTION SPACING
     ============================================================ */
  .section { padding: 80px 0; }
  .bg-white { background: var(--white); }
  .bg-mist  { background: var(--mist); }
  .bg-tint  { background: var(--teal-tint); }
  .bg-navy  { background: var(--navy); }

  /* Shared category-tag pill (teal) used on cards */
  .cat-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: var(--teal-tint);
    padding: 5px 12px;
    border-radius: 999px;
  }
  .post-meta {
    font-size: 14px;
    color: var(--slate-grey);
  }
  .read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--teal);
    transition: gap .2s ease, color .2s ease;
  }
  .read-link:hover { color: var(--teal-dark); gap: 10px; }

  /* ============================================================
     SECTION 1: HERO  (navy, centered, search + filters)
     ============================================================ */
  .blog-hero {
    background: var(--mist);
    color: var(--ink);
    text-align: center;
    padding: 84px 0 72px;
  }
  .blog-hero h1 { color: var(--navy); margin: 0 auto 22px; max-width: 880px; }
  .blog-hero-sub {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto 36px;
  }

  .blog-search {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 26px;
  }
  .blog-search input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 14px 18px;
  }
  .blog-search input::placeholder { color: var(--slate-grey); }
  .blog-search input:focus { outline: none; box-shadow: 0 0 0 3px rgba(45,155,126,0.45); }
  .blog-search .btn-primary { min-height: 50px; }

  .blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .filter-btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--slate);
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 9px 20px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .filter-btn:hover { border-color: var(--teal); color: var(--white); }
  .filter-btn.is-active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
  }

  /* ============================================================
     SECTION 2: FEATURED POSTS  (3-card grid on mist)
     ============================================================ */
  .post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .post-thumb {
    aspect-ratio: 16 / 9;
    background: var(--teal-tint);
    position: relative;
    overflow: hidden;
  }
  /* Placeholder thumbnail pattern until real featured images are added */
  .post-thumb svg { width: 100%; height: 100%; display: block; }
  .post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
  }
  .post-body .cat-tag { align-self: flex-start; margin-bottom: 14px; }
  .post-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .post-card h3 a { color: var(--navy); transition: color .2s ease; }
  .post-card h3 a:hover { color: var(--teal); }
  .post-excerpt {
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .post-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
  }

  /* ============================================================
     SECTION 3: CATEGORY GRID  (3 columns on white)
     ============================================================ */
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .cat-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 32px 30px 30px;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .cat-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .cat-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-tint);
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .cat-icon svg { width: 30px; height: 30px; }
  .cat-card h3 { font-size: 23px; margin-bottom: 12px; }
  .cat-card p { color: var(--ink); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
  .cat-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
  }
  .cat-card .read-link { margin-top: auto; }

  /* ============================================================
     SECTION 4: LATEST POSTS  (feed on mist + Load More)
     ============================================================ */
  .latest-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .latest-feed .post-card.is-hidden { display: none; }
  .latest-feed .post-foot .post-meta { font-size: 13.5px; }
  .post-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--slate-grey);
    margin-bottom: 12px;
  }
  .post-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-grey); display: inline-block; }
  .load-more-wrap { text-align: center; margin-top: 48px; }
  .feed-empty {
    display: none;
    text-align: center;
    color: var(--slate-grey);
    font-size: 17px;
    padding: 24px 0 0;
  }
  .feed-empty.is-visible { display: block; }

  /* ============================================================
     SECTION 5: NEWSLETTER  (teal-tint, centered)
     ============================================================ */
  .newsletter { background: var(--teal-tint); }
  .newsletter-inner { max-width: 680px; margin: 0 auto; text-align: center; }
  .newsletter h2 { margin-bottom: 16px; }
  .newsletter h2::after {
    content: "";
    display: block;
    width: 64px; height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin: 18px auto 0;
  }
  .newsletter-sub { color: var(--ink); font-size: 17px; line-height: 1.65; margin-bottom: 28px; }
  .newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
  }
  .newsletter-form input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 14px 18px;
  }
  .newsletter-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,155,126,0.15); }
  .newsletter-form .btn-primary { min-height: 50px; white-space: nowrap; }
  .newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
    max-width: 520px;
    margin: 16px auto 0;
    font-size: 13px;
    color: var(--slate-grey);
    text-align: left;
  }
  .newsletter-consent input { margin-top: 3px; }
  .newsletter-trust { margin: 18px 0 0; font-size: 14px; color: var(--slate-grey); }
  .newsletter-success {
    display: none;
    background: var(--white);
    border: 1px solid var(--teal);
    border-radius: 12px;
    padding: 28px 24px;
    max-width: 520px;
    margin: 0 auto;
  }
  .newsletter-success.is-visible { display: block; }
  .newsletter-success h3 { font-size: 22px; margin-bottom: 8px; }
  .newsletter-success p { margin: 0; color: var(--ink); }

  /* ============================================================
     SECTION 6: POPULAR TOPICS  (tag cloud on white)
     ============================================================ */
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
  }
  .topic-tag {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--teal);
    background: var(--white);
    border: 1px solid var(--teal);
    border-radius: 999px;
    padding: 8px 18px;
    transition: background .2s ease, color .2s ease;
  }
  .topic-tag:hover { background: var(--teal); color: var(--white); }

  /* ============================================================
     SECTION 7: CTA  (navy, centered)
     ============================================================ */
  .blog-cta { background: var(--teal); color: var(--white); text-align: center; padding: 80px 0; }
  .blog-cta-inner { max-width: 720px; margin: 0 auto; }
  .blog-cta h2 { color: var(--white); margin-bottom: 18px; }
  .blog-cta p { font-size: 18px; color: rgba(255,255,255,0.9); margin: 0 0 28px; }
  .blog-cta .btn-primary-inverted { font-size: 17px; padding: 18px 40px; }
  .blog-cta .trust-line {
    margin: 22px auto 0;
    max-width: 560px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
  }

  /* ============================================================
     FOOTER (matches homepage)
     ============================================================ */
  .site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
  }
  .footer-brand .footer-logo { display: inline-block; margin-bottom: 18px; }
  .footer-brand .footer-logo img { height: 104px; width: auto; }
  .footer-brand p { color: rgba(255,255,255,0.7); font-size: 15px; }

  .footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 16px; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a { color: rgba(255,255,255,0.72); font-size: 15px; }
  .footer-col a:hover { color: var(--teal); }

  .footer-social { display: flex; gap: 14px; margin-top: 16px; }
  .footer-social a {
    width: 40px; height: 40px;
    border: 1px solid var(--slate);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
  }
  .footer-social a:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
  .footer-social svg { width: 18px; height: 18px; fill: currentColor; }

  .footer-bottom {
    border-top: 1px solid var(--slate);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--slate-grey);
  }
  .footer-bottom a { color: var(--slate-grey); }
  .footer-bottom a:hover { color: var(--teal); }
  .footer-bottom .legal-links a { margin-left: 16px; }

  /* ============================================================
     RESPONSIVE, breakpoint 920px / 768px
     ============================================================ */
  @media (max-width: 920px) {
    .post-grid, .cat-grid, .latest-feed { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }

    .header-inner { min-height: 92px; }
    .logo img { height: 68px; }

    /* Nav: collapse into hamburger panel */
    .hamburger { display: inline-flex; }
    .primary-nav {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--white);
      border-bottom: 1px solid var(--hairline);
      box-shadow: var(--shadow-md);
      padding: 8px 16px 20px;
      display: none;
    }
    .primary-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { width: 100%; }
    .nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; }
    .mega-menu {
      position: static;
      width: auto;
      max-width: none;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      border: none;
      border-radius: 0;
      padding: 0 0 8px 12px;
      display: none;
    }
    .mega-menu.is-open { display: block; }
    .mega-inner { grid-template-columns: 1fr; }
    .mega-col { padding: 0; border-left: none; border-bottom: 1px solid var(--hairline); }
    .mega-col:last-child { border-bottom: none; }
    .mega-col-head { margin: 0; padding: 14px 4px; border-bottom: none; cursor: pointer; }
    .mega-acc-arrow { display: inline-block; }
    .mega-col.is-open .mega-acc-arrow { transform: rotate(180deg); }
    .mega-col-list { display: none; padding: 0 4px 8px; }
    .mega-col.is-open .mega-col-list { display: block; }
    .mega-hub { margin: 0 4px 14px; }
    .mega-col:not(.is-open) .mega-hub { display: none; }

    .section { padding: 56px 0; }
    .blog-hero { padding: 56px 0 52px; }

    /* Search + newsletter stack */
    .blog-search { flex-direction: column; }
    .newsletter-form { flex-direction: column; }

    /* Card grids collapse to single column */
    .post-grid, .cat-grid, .latest-feed { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom .legal-links a { margin: 0 16px 0 0; }
  }

  @media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }
  
  /* --- Clickable hub headings in Services mega menu --- */
  .mega-col-head { cursor: default; }
  .mega-col-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    text-decoration: none;
    transition: color .2s ease;
  }
  .mega-col-title:hover.mega-col-title:focus-visible { color: var(--teal); }
  .mega-col-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin: -4px -4px -4px 8px;
    color: var(--navy);
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 768px) {
    .mega-col-toggle { display: inline-flex; }
  }

  

/* ============================================================
   ARCHIVE + SEARCH additions (templates added 2026-08-12)
   ============================================================ */
.archive-desc { color: var(--slate-grey); max-width: 70ch; margin: 0 auto 8px; }

.cr-pagination { margin-top: 44px; }
.cr-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.cr-pagination li { margin: 0; }
.cr-pagination a,
.cr-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cr-pagination a:hover { border-color: var(--teal); color: var(--teal); }
.cr-pagination .current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* the filter chips are links now, not buttons */
a.filter-btn { text-decoration: none; display: inline-flex; align-items: center; }
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.is-active:hover { color: var(--white); }
