/* Best Collections category directory pages — v1.7.0 */
.bc-directory {
  --bc-dir-ink: #17221b;
  --bc-dir-green: #183c2d;
  --bc-dir-green-2: #294e3c;
  --bc-dir-cream: #f8f6ef;
  --bc-dir-paper: #fffefa;
  --bc-dir-muted: #6f756c;
  --bc-dir-gold: #d7a85b;
  color: var(--bc-dir-ink);
  background: var(--bc-dir-paper);
  font-family: inherit;
  overflow: hidden;
}
.bc-directory *, .bc-directory *::before, .bc-directory *::after { box-sizing: border-box; }
.bc-directory a { text-decoration: none; }
.bc-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(42px, 5.2vw, 78px) clamp(28px, 5.2vw, 76px) clamp(46px, 5vw, 74px);
  background: var(--bc-dir-cream);
}
.bc-directory-hero-copy { min-width: 0; }
.bc-directory-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 30px; color: #85877e; font-size: 11px; letter-spacing: .04em; }
.bc-directory-breadcrumbs a { color: var(--bc-dir-green); transition: color .2s ease; }
.bc-directory-breadcrumbs a:hover { color: #a56b31; }
.bc-directory-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: #6b705f; font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.bc-directory-eyebrow > span { display: inline-block; width: 24px; height: 2px; background: var(--bc-dir-gold); flex: 0 0 auto; }
.bc-directory-hero h1 { max-width: 640px; margin: 0 0 21px; color: #17211b; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(43px, 5.1vw, 73px); font-weight: 500; letter-spacing: -.055em; line-height: .99; }
.bc-directory-hero h1 em { display: block; margin-top: 8px; color: var(--bc-dir-green); font-weight: 400; }
.bc-directory-intro { max-width: 520px; margin: 0; color: #5f665e; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.85; }
.bc-directory-hero-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; color: #596458; font-size: 11px; font-weight: 600; }
.bc-directory-hero-icon { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid #d9ddcf; border-radius: 50%; background: #fffdf8; color: var(--bc-dir-green); font-size: 21px; }
.bc-directory-hero-divider { width: 1px; height: 24px; background: #d5d7cc; margin: 0 2px; }
.bc-directory-hero-bottom strong { color: var(--bc-dir-green); font-size: 11px; }
.bc-directory-hero-visual { position: relative; min-height: 410px; height: clamp(330px, 37vw, 500px); overflow: hidden; border-radius: 5px 36px 5px 36px; background: linear-gradient(135deg, #d8d7c7, #9eaa8f 55%, #36523d); isolation: isolate; box-shadow: 0 22px 50px rgba(33, 46, 34, .13); }
.bc-directory-hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bc-directory-hero-visual::after { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(180deg, rgba(14, 31, 22, .03) 28%, rgba(12, 30, 21, .73) 100%); }
.bc-directory-visual-caption { position: absolute; z-index: 2; right: clamp(20px, 3vw, 38px); bottom: clamp(24px, 3vw, 40px); display: flex; max-width: 280px; flex-direction: column; gap: 10px; color: #fff9ed; text-align: right; }
.bc-directory-visual-caption span { color: #e6c17d; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.bc-directory-visual-caption strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(24px, 2.5vw, 34px); font-weight: 400; line-height: 1.12; }
.bc-directory-visual-number { position: absolute; z-index: 2; top: 22px; right: 24px; color: rgba(255,255,255,.8); font-family: Georgia, 'Times New Roman', serif; font-size: 15px; letter-spacing: .08em; }
.bc-directory-visual-art { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 65% 24%, rgba(255,255,255,.5), transparent 25%), linear-gradient(135deg, #e9e5d8, #b7c0a8 50%, #526c53); }
.bc-directory-art-circle { position: absolute; width: 300px; height: 300px; top: -40px; right: -20px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.bc-directory-art-leaf { position: absolute; bottom: 18%; right: 25%; width: 105px; height: 190px; border: 1px solid rgba(30,69,42,.45); border-radius: 100% 0 100% 0; transform: rotate(28deg); }
.bc-directory-art-leaf.leaf-two { right: 42%; bottom: 10%; transform: rotate(-27deg) scale(.75); }
.bc-directory-art-vase { position: absolute; right: 30%; bottom: 0; width: 130px; height: 190px; border-radius: 42% 42% 18% 18% / 24% 24% 12% 12%; background: linear-gradient(90deg, #e9e0cb, #fff8e9 45%, #c5bba4); box-shadow: 0 25px 50px rgba(24,60,45,.2); }
.bc-directory-content { max-width: 1440px; margin: 0 auto; padding: clamp(54px, 6vw, 88px) clamp(28px, 5.2vw, 76px) clamp(60px, 7vw, 100px); }
.bc-directory-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 32px; }
.bc-directory-section-heading h2 { margin: 0 0 11px; color: var(--bc-dir-ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.bc-directory-section-heading > div > p:last-child { margin: 0; color: var(--bc-dir-muted); font-size: 13px; line-height: 1.7; }
.bc-directory-total { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; padding: 12px 16px; border: 1px solid #e2e4da; border-radius: 999px; background: #fbfaf5; color: #687063; font-size: 11px; }
.bc-directory-total strong { color: var(--bc-dir-green); font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 500; }
.bc-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; align-items: start; }
.bc-directory-card { min-width: 0; overflow: hidden; border: 1px solid #e6e5dc; border-radius: 7px 20px 7px 20px; background: #fff; box-shadow: 0 7px 24px rgba(27, 41, 29, .055); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.bc-directory-card:hover { transform: translateY(-5px); border-color: #d4d8c8; box-shadow: 0 18px 36px rgba(27, 41, 29, .12); }
.bc-directory-card-image { position: relative; display: block; height: 205px; overflow: hidden; background: linear-gradient(135deg, #d8d8c9, #aab79e 55%, #5a7559); }
.bc-directory-card-image > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bc-directory-card:hover .bc-directory-card-image > img { transform: scale(1.045); }
.bc-directory-card-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(13,32,22,.03), rgba(13,32,22,.28)); pointer-events: none; }
.bc-directory-card-index { position: absolute; z-index: 1; top: 15px; left: 15px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.84); color: var(--bc-dir-green); font-size: 10px; font-weight: 700; }
.bc-directory-card-open { position: absolute; z-index: 1; right: 15px; bottom: 15px; display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: #f7f4e9; color: var(--bc-dir-green); font-size: 19px; transition: transform .2s ease, background .2s ease; }
.bc-directory-card:hover .bc-directory-card-open { transform: rotate(45deg); background: #e9c17c; }
.bc-directory-card-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.86); font-family: Georgia, 'Times New Roman', serif; font-size: 76px; background: radial-gradient(circle at 65% 25%, rgba(255,255,255,.45), transparent 26%), linear-gradient(135deg, #e3dfd1, #b4c0a6 55%, #345b42); }
.bc-directory-card-body { padding: 23px 22px 22px; }
.bc-directory-card-meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 12px; color: #83877a; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bc-directory-card-meta span:last-child { color: #4d6b4f; letter-spacing: .04em; text-align: right; }
.bc-directory-card h3 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.035em; line-height: 1.13; }
.bc-directory-card h3 a { color: var(--bc-dir-ink); }
.bc-directory-card h3 a:hover { color: #a56b31; }
.bc-directory-card-description { min-height: 42px; margin: 0 0 15px; color: var(--bc-dir-muted); font-size: 12px; line-height: 1.75; }
.bc-directory-explore-link { display: inline-flex; align-items: center; gap: 12px; color: var(--bc-dir-green); font-size: 11px; font-weight: 700; }
.bc-directory-explore-link span { font-size: 17px; transition: transform .2s ease; }
.bc-directory-explore-link:hover span { transform: translateX(4px); }
.bc-directory-subcategories { margin-top: 20px; padding-top: 17px; border-top: 1px solid #ecebe3; }
.bc-directory-subcategories > p { margin: 0 0 9px; color: #888a7f; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bc-directory-subcategories ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.bc-directory-subcategories li { min-width: 0; margin: 0; padding: 0; }
.bc-directory-subcategories li.depth-2 { padding-left: 9px; }
.bc-directory-subcategories li.depth-3 { padding-left: 17px; }
.bc-directory-subcategories li.depth-4 { padding-left: 22px; }
.bc-directory-subcategories li a { display: flex; align-items: start; justify-content: space-between; gap: 6px; min-height: 34px; padding: 8px 9px; border: 1px solid #eeeee7; border-radius: 4px 10px 4px 10px; background: #fbfaf6; color: #4f5d4e; font-size: 10px; line-height: 1.45; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.bc-directory-subcategories li a span:first-child { overflow-wrap: anywhere; }
.bc-directory-subcategories li a span:last-child { flex: 0 0 auto; color: #9d7b43; font-size: 11px; }
.bc-directory-subcategories li a:hover { border-color: #c8d1bd; background: #eef1e8; color: var(--bc-dir-green); }
.bc-directory-empty { padding: 70px 25px; border: 1px dashed #d5d9cb; border-radius: 8px 28px 8px 28px; background: #fbfaf5; text-align: center; }
.bc-directory-empty > span { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: #e8ede2; color: var(--bc-dir-green); font-size: 25px; }
.bc-directory-empty h3 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 500; }
.bc-directory-empty p { max-width: 540px; margin: 0 auto; color: var(--bc-dir-muted); font-size: 13px; line-height: 1.75; }
.bc-directory-editor-content { max-width: 1100px; margin: 0 auto; padding: 25px 30px 0; }
.bc-directory-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1440px; margin: 0 auto; padding: clamp(35px, 4vw, 58px) clamp(28px, 5.2vw, 76px); background: var(--bc-dir-green); color: #f8f4e8; }
.bc-directory-bottom-cta .bc-directory-eyebrow { color: #d8c8a7; }
.bc-directory-bottom-cta h2 { margin: 0 0 10px; color: #fff8e9; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(26px, 3vw, 38px); font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
.bc-directory-bottom-cta > div > p:last-child { max-width: 600px; margin: 0; color: #d6dfd3; font-size: 12px; line-height: 1.7; }
.bc-directory-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; flex: 0 0 auto; min-height: 48px; padding: 0 20px; border-radius: 3px 16px 3px 16px; background: #e3b36b; color: #1d3829; font-size: 11px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.bc-directory-cta-button:hover { transform: translateY(-2px); background: #f0c783; color: #1d3829; }
@media (min-width: 1500px) { .bc-directory-hero, .bc-directory-content, .bc-directory-bottom-cta { max-width: 1520px; } }
@media (max-width: 1100px) {
  .bc-directory-hero { gap: 28px; padding: 42px 30px 48px; }
  .bc-directory-hero-visual { min-height: 340px; }
  .bc-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bc-directory-content { padding-right: 30px; padding-left: 30px; }
  .bc-directory-card-image { height: 190px; }
}
@media (max-width: 767px) {
  .bc-directory-hero { grid-template-columns: 1fr; gap: 26px; padding: 28px 18px 32px; }
  .bc-directory-breadcrumbs { margin-bottom: 22px; font-size: 10px; }
  .bc-directory-eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: .15em; }
  .bc-directory-hero h1 { margin-bottom: 16px; font-size: clamp(42px, 12vw, 58px); }
  .bc-directory-intro { font-size: 13px; line-height: 1.75; }
  .bc-directory-hero-bottom { gap: 9px; margin-top: 22px; font-size: 10px; }
  .bc-directory-hero-icon { width: 34px; height: 34px; font-size: 18px; }
  .bc-directory-hero-divider { height: 19px; }
  .bc-directory-hero-visual { height: 300px; min-height: 0; border-radius: 4px 26px 4px 26px; }
  .bc-directory-visual-caption { right: 19px; bottom: 21px; max-width: 230px; gap: 8px; }
  .bc-directory-visual-caption strong { font-size: 25px; }
  .bc-directory-content { padding: 42px 18px 48px; }
  .bc-directory-section-heading { align-items: start; gap: 12px; margin-bottom: 23px; }
  .bc-directory-section-heading h2 { font-size: 32px; }
  .bc-directory-section-heading > div > p:last-child { max-width: 440px; font-size: 12px; }
  .bc-directory-total { gap: 7px; padding: 9px 11px; font-size: 9px; }
  .bc-directory-total strong { font-size: 19px; }
  .bc-directory-grid { grid-template-columns: 1fr; gap: 18px; }
  .bc-directory-card-image { height: clamp(185px, 56vw, 270px); }
  .bc-directory-card-body { padding: 20px 17px 18px; }
  .bc-directory-card h3 { font-size: 25px; }
  .bc-directory-card-description { min-height: 0; }
  .bc-directory-subcategories ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .bc-directory-subcategories li a { font-size: 10px; }
  .bc-directory-bottom-cta { align-items: start; flex-direction: column; gap: 20px; padding: 32px 20px; }
  .bc-directory-bottom-cta h2 { font-size: 29px; }
  .bc-directory-cta-button { width: 100%; }
}
@media (max-width: 380px) {
  .bc-directory-hero h1 { font-size: 39px; }
  .bc-directory-section-heading { flex-direction: column; }
  .bc-directory-subcategories ul { grid-template-columns: 1fr; }
  .bc-directory-subcategories li.depth-2 { padding-left: 6px; }
  .bc-directory-subcategories li.depth-3 { padding-left: 11px; }
  .bc-directory-subcategories li.depth-4 { padding-left: 15px; }
}
@media (prefers-reduced-motion: reduce) { .bc-directory *, .bc-directory *::before, .bc-directory *::after { transition: none !important; scroll-behavior: auto !important; } }


/* Category post-count badge: retain the Collection label and give counts a soft accent. */
.bc-directory-card-meta .bc-directory-post-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #e0e8d8;
  border-radius: 999px;
  background: #edf2e8;
  color: #31543a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}
.bc-directory-card-meta .bc-directory-post-count strong { color: #23462f; font-size: 11px; font-weight: 800; }
.bc-directory-card-meta .bc-directory-post-count span:last-child { color: #526b50; font-size: 9px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.bc-directory-card[hidden] { display: none !important; }
.bc-directory-load-more-wrap { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding-top: 36px; }
.bc-directory-load-more-status { margin: 0; color: var(--bc-dir-muted); font-size: 12px; line-height: 1.5; }
.bc-directory-view-more { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: 178px; min-height: 48px; padding: 0 22px; border: 1px solid #1d4933; border-radius: 4px 16px 4px 16px; background: #1d4933; color: #fffaf0; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(24,60,45,.13); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.bc-directory-view-more span { font-size: 18px; line-height: 1; transition: transform .2s ease; }
.bc-directory-view-more:hover { transform: translateY(-2px); background: #2b6042; box-shadow: 0 12px 26px rgba(24,60,45,.2); color: #fffaf0; }
.bc-directory-view-more:hover span { transform: translateY(3px); }
.bc-directory-view-more:focus-visible { outline: 3px solid #e3b36b; outline-offset: 3px; }
@media (max-width: 767px) {
  .bc-directory-load-more-wrap { padding-top: 26px; }
  .bc-directory-view-more { width: 100%; max-width: 320px; }
}
