/* Wonderland category 3 only. No shared container or navigation overrides. */
body.category-id-3 .diw-wonderland__hero { min-width: 0; }
body.category-id-3 .diw-wonderland__bleed {
  position: relative;
  isolation: isolate;
  width: var(--diw-art-width, 100%);
  margin-left: var(--diw-art-offset, 0px);
  background: #0d0b0b;
  color: #f1ebdd;
}
body.category-id-3 .diw-wonderland__hero-art {
  display: block;
  width: 100%;
  height: auto;
}
body.category-id-3 .diw-wonderland__hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 6rem);
  background: linear-gradient(90deg, rgba(9,7,8,.65), transparent 68%);
}
body.category-id-3 .diw-wonderland__copy {
  width: 51%;
  max-width: 54rem;
  text-align: center;
  text-shadow: 0 2px 10px #000;
}
body.category-id-3 .diw-wonderland__welcome {
  margin: 0 0 .8rem;
  color: #f1ebdd;
  font: 400 clamp(.75rem, 1.1vw, 1.35rem)/1.5 Georgia, serif;
  letter-spacing: .28em;
}
body.category-id-3 #wonderland-title {
  margin: 0;
  color: #e0c27a;
  font: 400 clamp(2.15rem, 4.6vw, 6.5rem)/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: .015em;
  white-space: nowrap;
}
body.category-id-3 .diw-wonderland__rule {
  display: block;
  width: 9rem;
  height: 1px;
  margin: 1.25rem auto;
  background: linear-gradient(90deg, transparent, #c6a15b, transparent);
}
body.category-id-3 .diw-wonderland__strapline {
  max-width: 36rem;
  margin: 0 auto 1rem;
  font: 400 clamp(.7rem, .95vw, 1.1rem)/1.8 Georgia, serif;
  color: #f1ebdd;
  letter-spacing: .12em;
  text-wrap: balance;
}
body.category-id-3 .diw-wonderland__intro {
  max-width: 33rem;
  margin: 0 auto;
  color: #f1ebdd;
  font: 400 clamp(.95rem, 1.15vw, 1.35rem)/1.75 Georgia, serif;
  text-wrap: pretty;
}
body.category-id-3 .diw-wonderland__categories {
  width: 100%;
  margin-left: 0;
  background: transparent;
  padding: clamp(2rem, 4vw, 4rem) 0;
  color: #f1ebdd;
}
@media (min-width: 1200px) {
  /* Reuse the hero's measured full width; retain the existing smaller layouts. */
  body.category-id-3 .diw-wonderland__categories {
    box-sizing: border-box;
    width: var(--diw-art-width, 100%);
    margin-left: var(--diw-art-offset, 0px);
    padding-inline: clamp(1.5rem, 3vw, 3rem);
  }
}
body.category-id-3 #wonderland-categories-title {
  margin: 0;
  text-align: center;
  color: #e0c27a;
  font: 400 clamp(1.15rem, 2vw, 2rem)/1.5 Georgia, serif;
  letter-spacing: .18em;
}
body.category-id-3 .diw-wonderland__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.5rem);
  margin-top: 1.75rem;
}
body.category-id-3 .diw-wonderland__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #191112, #0d0b0b);
  border: 1px solid #66502f;
  color: #f1ebdd;
  text-decoration: none;
}
body.category-id-3 .diw-wonderland__card-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  /* Fill the shared frame without letterboxing; keep the source artwork intact. */
  object-fit: cover;
}
body.category-id-3 .diw-wonderland__card h3 {
  margin: auto 0 0;
  padding: 1.15rem .6rem;
  color: inherit;
  text-align: center;
  font: 400 clamp(.85rem, 1vw, 1.15rem)/1.5 Georgia, serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.category-id-3 a.diw-wonderland__card:hover {
  border-color: #e0c27a;
  color: #e0c27a;
  background: #231115;
}
body.category-id-3 a.diw-wonderland__card:focus-visible {
  outline: 2px solid #e0c27a;
  outline-offset: 4px;
}
@media (max-width: 1199.98px) {
  body.category-id-3 .diw-wonderland__cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body.category-id-3 .diw-wonderland__card { grid-column: span 2; }
  body.category-id-3 .diw-wonderland__card:nth-child(4) { grid-column: 2 / span 2; }
  body.category-id-3 .diw-wonderland__card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 991.98px) {
  /* Preserve the full Bunny composition on small screens. Real copy follows
     the art when an overlay would cover the mascot or become unreadable. */
  body.category-id-3 .diw-wonderland__hero-inner {
    position: relative;
    padding: 1.75rem max(1rem, 5vw) 2rem;
    background: linear-gradient(#0d0b0b, #170e12);
  }
  body.category-id-3 .diw-wonderland__copy { width: 100%; max-width: 38rem; margin: auto; }
  body.category-id-3 #wonderland-title { font-size: clamp(1.8rem, 7vw, 4rem); }
}
@media (max-width: 575.98px) {
  body.category-id-3 .diw-wonderland__cards { grid-template-columns: minmax(0, 1fr); max-width: 24rem; margin-inline: auto; gap: 1.5rem; }
  body.category-id-3 .diw-wonderland__card,
  body.category-id-3 .diw-wonderland__card:nth-child(4),
  body.category-id-3 .diw-wonderland__card:nth-child(5) { grid-column: auto; }
}
