/* =========================
   CWH Explore (scoped)
   ========================= */

.cwh-explore *{ box-sizing:border-box; }

.cwh-explore{
  --bg: #fbf6ee;
  --card: #ffffff;
  --ink: #111827;
  --muted: rgba(17,24,39,.72);
  --line: rgba(0,0,0,.08);
  --shadow: 0 10px 26px rgba(0,0,0,.08);
  --radius: 18px;

  --accent: #d87d4a;
  --accent-2: #f2b37f;

  /* Featured palette */
  --feat-grad: linear-gradient(180deg, #FFF4C2 0%, #FFFFFF 70%);
  --feat-border: #F2CF6B;
  --feat-grad-strong: linear-gradient(180deg, #FFF7D6 0%, #FFFFFF 70%);
  --feat-border-strong: #F4D27A;
}

/* Explore page background: warm cream, full viewport */
.cwh-explore::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(800px 520px at 50% 0%, rgba(243,200,160,.55) 0%, rgba(255,248,239,0) 65%),
    linear-gradient(180deg, #fff8ef 0%, #fff4ea 40%, #fff8ef 100%);
}

/* Remove theme container white panels on Explore only */
.cwh-explore .site-content,
.cwh-explore .ast-container,
.cwh-explore .content-area,
.cwh-explore .site-content .ast-container{
  background: transparent !important;
}

/* Remove any link underlines inside image cards (theme may re-add) */
.cwh-explore .cwh-discover-card,
.cwh-explore .cwh-discover-card *,
.cwh-explore .cwh-catcard,
.cwh-explore .cwh-catcard *{
  text-decoration: none !important;
}


/* Explore page background: match Home warm cream */
.cwh-explore::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(800px 520px at 50% 0%, rgba(243,200,160,.55) 0%, rgba(255,248,239,0) 65%),
    linear-gradient(180deg, #fff8ef 0%, #fff4ea 40%, #fff8ef 100%);
}

/* Kill any theme container panel backgrounds on this template */
.cwh-explore,
.cwh-explore *{
  box-sizing:border-box;
}

body .ast-container,
body .site-content,
body .content-area,
body .site-content .ast-container{
  background: transparent !important;
}

/* Prevent underline inside image cards (theme anchors) */
.cwh-explore .cwh-discover-card,
.cwh-explore .cwh-discover-card *{
  text-decoration: none !important;
}


.cwh-explore__wrap{
  padding: 28px 16px 46px;
  background: transparent !important;
}

.cwh-explore__row{ max-width: 1180px; margin: 0 auto 22px; }

.cwh-explore__grid{ display:grid; gap: 18px; }
.cwh-explore__grid--2{ grid-template-columns: 1fr 1fr; }
@media (max-width:980px){
  .cwh-explore__grid--2{ grid-template-columns:1fr; }
}

/* -------------------------
   Base cards + headings
   ------------------------- */

.cwh-explore .cwh-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.cwh-explore .cwh-card__head{ margin-bottom:12px; }

.cwh-explore .cwh-card__head--row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
@media (max-width:640px){
  .cwh-explore .cwh-card__head--row{ flex-direction:column; }
}

.cwh-explore .cwh-card__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.70);
}

.cwh-explore .cwh-card__title{
  margin:10px 0 6px;
  font-size: 24px;
  line-height:1.1;
  font-weight:900;
  color: var(--ink);
}

.cwh-explore .cwh-card__sub{
  margin:0;
  font-size:14px;
  line-height:1.45;
  color: var(--muted);
}

/* Row heads */
.cwh-explore .cwh-rowhead{ margin: 0 2px 12px; }
.cwh-explore .cwh-rowhead__title{
  margin:0 0 4px;
  font-size:24px;
  font-weight:900;
  color:var(--ink);
}
.cwh-explore .cwh-rowhead__sub{
  margin:0;
  font-size:14px;
  color:var(--muted);
}
.cwh-explore .cwh-rowhead--split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
@media (max-width:720px){
  .cwh-explore .cwh-rowhead--split{ flex-direction:column; align-items:flex-start; }
}

/* Buttons */
.cwh-explore .cwh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.18);
  text-decoration:none;
  background:#fff;
  color:#111827;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease;
}
.cwh-explore .cwh-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.cwh-explore .cwh-btn--primary{
  border-color: rgba(0,0,0,.12);
  background: #fff;
  font-weight:800;
}
.cwh-explore .cwh-btn--ghost{
  border-color: rgba(0,0,0,.18);
}
.cwh-explore .cwh-muted{ color: var(--muted); }

/* -------------------------
   Breed window
   ------------------------- */

.cwh-explore .cwh-breed-window{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap:14px;
  margin-top: 12px;
}
@media (max-width:640px){
  .cwh-explore .cwh-breed-window{ grid-template-columns:1fr; }
}

.cwh-explore .cwh-breed-window__media{
  display:block;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  min-height: 220px;
  text-decoration:none;
  color:inherit;
}

.cwh-explore .cwh-breed-window__img{
  width:100%;
  height:100%;
  min-height:220px;
  background-size:cover;
  background-position:center;
}

.cwh-explore .cwh-breed-window__name{
  font-weight:900;
  font-size:20px;
  margin: 2px 0 8px;
  color:var(--ink);
}

.cwh-explore .cwh-breed-window__line{
  font-size:14px;
  line-height:1.5;
  color:var(--muted);
  margin:0 0 14px;
}

.cwh-explore .cwh-breed-window__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* -------------------------
   Canine Connect (image left, text right)
   ------------------------- */

.cwh-explore .cwh-connect-feed{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:12px;
}

.cwh-explore .cwh-connect-item{
  display:flex;
  gap:12px;
  align-items:stretch;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.cwh-explore .cwh-connect-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

.cwh-explore .cwh-connect-item__thumb{
  width:160px;
  height:120px;
  flex:0 0 160px;
  border-radius:16px;
  overflow:hidden;
  background: rgba(0,0,0,.05);
}

@media (max-width:520px){
  .cwh-explore .cwh-connect-item__thumb{
    width:130px;
    height:100px;
    flex:0 0 130px;
  }
}

.cwh-explore .cwh-connect-item__thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block;
}

.cwh-explore .cwh-connect-item__meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.cwh-explore .cwh-connect-item__avatar{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
}

.cwh-explore .cwh-connect-item__name{
  font-weight:900;
  font-size:14px;
  color:var(--ink);
}

.cwh-explore .cwh-connect-item__time,
.cwh-explore .cwh-connect-item__dot{
  font-size:12px;
  color: rgba(0,0,0,.55);
}

.cwh-explore .cwh-connect-item__text{
  font-size:14px;
  line-height:1.5;
  color: rgba(0,0,0,.78);
}

/* -------------------------
   Discover (YOUR CHANGE AREA)
   - No blur
   - Text itself is warm/yellow & readable
   - Optional overlay softened so images stay nice
   ------------------------- */

.cwh-explore .cwh-discover{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
@media (max-width:980px){
  .cwh-explore .cwh-discover{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:560px){
  .cwh-explore .cwh-discover{ grid-template-columns: 1fr; }
}

.cwh-explore .cwh-discover-card{
  position:relative;
  min-height:140px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  text-decoration:none;
  color:inherit;
  background-size:cover;
  background-position:center;
  transform: translateZ(0);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cwh-explore .cwh-discover-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* ✅ Optional overlay softening (keeps images bright) */
.cwh-explore .cwh-discover-card__overlay{
  position:absolute;
  inset:0;
  background:
    /* small neutral patch only where the text sits */
    radial-gradient(
      260px 160px at 22% 22%,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.22) 20%,
      rgba(0,0,0,0.00) 72%
    ),
    /* subtle global shading (barely noticeable) */
    linear-gradient(
      180deg,
      rgba(0,0,0,0.06) 0%,
      rgba(0,0,0,0.04) 60%,
      rgba(0,0,0,0.08) 100%
    );
}



.cwh-explore .cwh-discover-card__content{
  position:relative;
  z-index:2;
  padding:14px;
}

/* ✅ Recommended: “highlighted” text colour + stroke (NO boxes) */
.cwh-explore .cwh-discover-card__title{
  font-weight:900;
  font-size:16px;
  line-height:1.25;
  color:#ffffff;
  margin-bottom:6px;

  /* true outline (cross-browser) */
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.70),
     0px -1px 0 rgba(0,0,0,0.70),
     1px -1px 0 rgba(0,0,0,0.70),
    -1px  0px 0 rgba(0,0,0,0.70),
     1px  0px 0 rgba(0,0,0,0.70),
    -1px  1px 0 rgba(0,0,0,0.70),
     0px  1px 0 rgba(0,0,0,0.70),
     1px  1px 0 rgba(0,0,0,0.70),
     0px  3px 10px rgba(0,0,0,0.35);
}

.cwh-explore .cwh-discover-card__sub{
  font-size:13px;
  line-height:1.35;
  color:#ffffff;

  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.65),
     1px -1px 0 rgba(0,0,0,0.65),
    -1px  1px 0 rgba(0,0,0,0.65),
     1px  1px 0 rgba(0,0,0,0.65),
     0px  2px 8px rgba(0,0,0,0.32);
}


/* -------------------------
   Carousel shells (manual scroll enabled)
   ------------------------- */

.cwh-explore .cwh-carousel{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);

  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* scrollbar (visible but subtle) */
.cwh-explore .cwh-carousel::-webkit-scrollbar{ height: 10px; }
.cwh-explore .cwh-carousel::-webkit-scrollbar-track{ background: transparent; }
.cwh-explore .cwh-carousel::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.10);
  border-radius: 999px;
}
.cwh-explore .cwh-carousel{
  scrollbar-color: rgba(0,0,0,.18) transparent;
  scrollbar-width: thin;
}

.cwh-explore .cwh-carousel__track{
  display:inline-flex;
  gap:16px;
  padding: 14px;
  width:max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* Category cards */
.cwh-explore .cwh-catcard{
  position:relative;
  display:block;
  width: 320px;
  flex: 0 0 320px;
  min-height: 220px;
  border-radius:18px;
  overflow:hidden;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-decoration:none;
}
.cwh-explore .cwh-catcard:before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.35) 100%);
}
.cwh-explore .cwh-catcard__title{
  position:absolute;
  left:18px; right:18px; bottom:16px;
  color:#fff;
  font-weight:900;
  font-size: 26px;
  line-height:1.05;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
  letter-spacing:-0.2px;
}
@media (max-width:640px){
  .cwh-explore .cwh-catcard{ width: 280px; flex:0 0 280px; min-height:200px; }
  .cwh-explore .cwh-catcard__title{ font-size:22px; }
}

/* Featured listing cards */
.cwh-explore a.cwh-feature-card{
  background: var(--feat-grad) !important;
  border: 1px solid var(--feat-border) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;
  border-radius: 16px !important;

  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  padding:12px 14px !important;

  text-decoration:none !important;
  color:inherit !important;

  flex: 0 0 330px !important;
  width: 330px !important;
  min-width: 330px !important;
  max-width: 330px !important;
}
@media (max-width:520px){
  .cwh-explore a.cwh-feature-card{
    flex-basis: 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
  }
}

.cwh-explore a.cwh-feature-card.is-featured{
  background: var(--feat-grad-strong) !important;
  border: 1px solid var(--feat-border-strong) !important;
}

.cwh-explore .cwh-feature-logo{
  width: 78px;
  height: 78px;
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  flex-shrink:0;
  display:block;
}
.cwh-explore .cwh-feature-logo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}

.cwh-explore .cwh-title{
  font-weight:900;
  font-size:16px;
  line-height:1.2;
  margin:0;
  color: var(--ink);
}
.cwh-explore .cwh-meta{
  font-size:13px;
  color:#374151;
  opacity:.85;
  line-height:1.35;
  margin-top:4px;
}

.cwh-explore .cwh-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.cwh-explore .cwh-pill--featured{
  background: #fff !important;
  border-color: rgba(244,210,122,.70) !important;
  padding: 3px 8px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

/* Empty / future */
.cwh-explore .cwh-empty{
  border-radius: 16px;
  border: 1px dashed rgba(0,0,0,.18);
  padding: 14px;
  background: rgba(255,255,255,.70);
}
.cwh-explore .cwh-empty__title{
  font-weight:900;
  margin-bottom:4px;
  color: var(--ink);
}
.cwh-explore .cwh-empty__sub{
  color: var(--muted);
  font-size:14px;
  margin-bottom:10px;
}

.cwh-explore .cwh-future{
  text-align:center;
  padding: 22px 12px;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.18);
  background: rgba(255,255,255,.55);
}
.cwh-explore .cwh-future__title{
  font-weight:900;
  color: var(--ink);
  margin-bottom: 4px;
}
.cwh-explore .cwh-future__sub{
  color: var(--muted);
  font-size: 14px;
}

/* ===============================
   FINAL OVERRIDES (stability)
   =============================== */

/* Warm full-page background to match Home */
.cwh-explore{ position: relative; z-index: 1; }
.cwh-explore::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 520px at 50% 0%, rgba(243,200,160,.55) 0%, rgba(255,248,239,0) 65%),
    linear-gradient(180deg, #fff8ef 0%, #fff4ea 40%, #fff8ef 100%);
}

/* Remove any theme white panel backgrounds showing as an 'A4 sheet' */
.site-content,
#content,
#primary,
.content-area,
.ast-container,
.ast-container-fluid,
.ast-container > .ast-row,
.ast-page-builder-template .site-content,
.ast-page-builder-template .content-area{
  background: transparent !important;
}

/* Ensure the Explore wrapper never paints its own panel */
.cwh-explore__wrap{ background: transparent !important; }

/* Kill anchor underlines inside image-based cards (Discover + Services) */
.cwh-discover-card,
.cwh-discover-card *,
.cwh-catcard,
.cwh-catcard *,
.cwh-feature-card,
.cwh-feature-card *{
  text-decoration: none !important;
}

/* --- Fix: remove default underline from breed card links --- */
.cwh-explore .cwh-breed-window__body,
.cwh-explore .cwh-breed-window__body:hover,
.cwh-explore .cwh-breed-window__body:focus,
.cwh-explore .cwh-breed-window__body:active{
  text-decoration: none !important;
  color: inherit;
}
.cwh-explore .cwh-breed-window__body *{
  text-decoration: none !important;
}


/* ===============================
   Dog Facts + Name Generator
   (additive, scoped)
   =============================== */

.cwh-explore .cwh-facts__box{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  padding: 16px 16px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.cwh-explore .cwh-facts__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: rgba(0,0,0,.70);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

.cwh-explore .cwh-facts__text{
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  color: rgba(17,24,39,.88);
}

.cwh-explore .cwh-facts-card .cwh-card__head--row{
  align-items:flex-start;
}
.cwh-explore .cwh-facts-card .cwh-facts__next{
  margin-top: 6px;
}

/* Dog facts image fader */
.cwh-explore .cwh-facts__fader{
  position: relative;
  margin-top: 18px;
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
@media (max-width: 640px){
  .cwh-explore .cwh-facts__fader{ height: 200px; }
}

.cwh-explore .cwh-facts__slide{
  position: absolute;
  inset: 0;
  /* Show the full image (no bottom cropping) */
  background-size: contain;
  background-position: center;
  opacity: 0;
  transition: opacity .35s ease;
}
.cwh-explore .cwh-facts__slide.is-active{
  opacity: 1;
}

/* Name generator */
.cwh-explore .cwh-namegen{
  margin-top: 10px;
}
.cwh-explore .cwh-namegen__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px){
  .cwh-explore .cwh-namegen__grid{ grid-template-columns:1fr; }
}

.cwh-explore .cwh-namegen__field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(17,24,39,.80);
}
.cwh-explore .cwh-namegen__field select{
  width:100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.80);
  font-weight: 700;
}

.cwh-explore .cwh-namegen__actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap:wrap;
}
.cwh-explore .cwh-namegen__result{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.cwh-explore .cwh-namegen__label{
  font-size: 12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(0,0,0,.65);
  font-weight: 900;
  margin-bottom: 6px;
}
.cwh-explore .cwh-namegen__value{
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #111827;
}
.cwh-explore .cwh-namegen__hint{
  margin-top: 10px;
  color: rgba(17,24,39,.70);
  font-size: 13px;
}

/* ==========================================================
   Dog Facts (image-only fader) + Name Generator watermark
   ========================================================== */

/* Dog Facts: image-only area */
.cwh-explore .cwh-facts-card{
  padding: 0 !important;
  overflow: hidden;
}
.cwh-explore .cwh-facts{
  position: relative;
  width: 100%;
  height: 360px;
}
.cwh-explore .cwh-facts__slider,
.cwh-explore .cwh-facts__slides{
  position: absolute;
  inset: 0;
}
.cwh-explore .cwh-facts__slide{
  position: absolute;
  inset: 0;
  /* Fill the whole container (like the Home quotes banner) */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .65s ease;
}
.cwh-explore .cwh-facts__slide.is-active{ opacity: 1; }

@media (max-width: 980px){
  .cwh-explore .cwh-facts{ height: 280px; }
}

/* Name generator: faint logo watermark */
.cwh-explore .cwh-name-card{
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.cwh-explore .cwh-name-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cwh-namegen-watermark);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 360px auto;
  /* Make the watermark a little stronger */
  opacity: .14;
  pointer-events: none;
}
.cwh-explore .cwh-name-card > *{
  position: relative;
  z-index: 1;
}

@media (max-width: 980px){
  .cwh-explore .cwh-name-card{ min-height: unset; }
  .cwh-explore .cwh-name-card::before{ background-size: 280px auto; }
}

/* Hide the temporary “More shops” placeholder on Explore */
.cwh-explore-page .cwh-explore__future{ display: none !important; }

/* Footer safety: make sure the Astra footer can't be clipped/hidden on Explore */
.cwh-explore-page .site-footer,
.cwh-explore-page #colophon,
.cwh-explore-page footer{
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 50 !important;
  clear: both !important;
}
.cwh-explore-page .site-content,
.cwh-explore-page .content-area,
.cwh-explore-page .site-main{
  overflow: visible !important;
}
/* --- Dog Facts: force image to fill the entire card --- */

/* the two-card row should stretch both cards to equal height */
.cwh-tools-row{
  align-items: stretch;
}

/* the Dog Facts card itself must have no padding & must stretch */
.cwh-facts-card{
  padding: 0 !important;
  overflow: hidden;
  height: 100%;
  min-height: 520px; /* adjust if your Name Generator card is taller/shorter */
  display: block;
}

/* everything inside must be 100% height */
.cwh-facts-card .cwh-facts__slider,
.cwh-facts-card .cwh-facts__slides,
.cwh-facts-card .cwh-facts__slide{
  height: 100% !important;
}

/* each slide should occupy the full card */
.cwh-facts-card .cwh-facts__slides{
  display: flex !important;
}

.cwh-facts-card .cwh-facts__slide{
  flex: 0 0 100% !important;
  width: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* ==========================================================
   FINAL OVERRIDE: Dog Facts image must FILL the card
   (no gaps, no partial height)
   ========================================================== */

.cwh-explore .cwh-tools-row{
  align-items: stretch !important;
}

.cwh-explore .cwh-facts-card{
  padding: 0 !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: 360px;
}

.cwh-explore .cwh-facts{
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 360px;
}

.cwh-explore .cwh-facts__slider,
.cwh-explore .cwh-facts__slides{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.cwh-explore .cwh-facts__slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;      /* fills card */
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* keep mobile height sensible */
@media (max-width: 980px){
  .cwh-explore .cwh-facts,
  .cwh-explore .cwh-facts-card{
    min-height: 280px;
  }
}
/* =========================================================
   Dog Facts — MOBILE image fit only (desktop untouched)
   ========================================================= */
@media (max-width: 640px){

  /* Keep the Dog Facts image area stable on mobile */
  .cwh-explore .cwh-facts-card{
    min-height: 220px !important;
  }
  .cwh-explore .cwh-facts{
    height: 220px !important;
    min-height: 220px !important;
  }

  /* Make sure the slide uses the available height */
  .cwh-explore .cwh-facts__slider,
  .cwh-explore .cwh-facts__slides{
    height: 100% !important;
  }

  /* The key fix: stop ugly cropping on mobile */
  .cwh-explore .cwh-facts__slide{
    background-size: contain !important;      /* shows full image */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: rgba(255,255,255,.65) !important; /* soft fallback */
  }
}
/* =========================================================
   DOG FACTS — MOBILE: transparent container + bigger image
   (Wins over the later FINAL OVERRIDE rules)
   Desktop untouched
   ========================================================= */
@media (max-width: 640px){

  /* 1) Make Dog Facts containers transparent (so cream background shows) */
  .cwh-explore .cwh-facts-card{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* If your markup uses the "boxed text + fader" variant */
  .cwh-explore .cwh-facts__fader{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* If your markup uses the "image-only area" variant */
  .cwh-explore .cwh-facts{
    background: transparent !important;
  }

  /* 2) Give the image area a touch more height on mobile (makes image feel bigger) */
  .cwh-explore .cwh-facts__fader{ height: 230px !important; }
  .cwh-explore .cwh-facts{ min-height: 300px !important; }

  /* 3) Override the FINAL OVERRIDE that forces cover !important */
  .cwh-explore .cwh-facts__slide{
    background-repeat: no-repeat !important;
    background-position: center center !important;

    /* Bigger-than-contain, but still no cropping */
    background-size: 100% auto !important;

    /* Ensure no white “panel” behind the image */
    background-color: transparent !important;
  }

  /* 4) If your build is using the "absolute fill" slider wrapper, keep it stable */
  .cwh-explore .cwh-facts__slider,
  .cwh-explore .cwh-facts__slides{
    background: transparent !important;
  }
}
/* =========================================================
   DOG FACTS — MOBILE: remove big gaps above/below (only this section)
   Desktop untouched
   ========================================================= */
@media (max-width: 640px){

  /* Tighten outer spacing of the whole Dog Facts card/section */
  .cwh-explore .cwh-facts-card{
    margin-top: 4px !important;
    margin-bottom: px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* If there’s a “panel/card” wrapper inside, tighten it too */
  .cwh-explore .cwh-facts-card .cwh-card,
  .cwh-explore .cwh-facts-card .cwh-facts__box,
  .cwh-explore .cwh-facts-card .cwh-facts__copy{
    margin: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* Tighten the image fader spacing itself */
  .cwh-explore .cwh-facts__fader,
  .cwh-explore .cwh-facts{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Reduce “gap” effect caused by extra height */
  .cwh-explore .cwh-facts__fader{ height: 210px !important; }
  .cwh-explore .cwh-facts{ min-height: 280px !important; }
}
/* =========================================================
   EXPLORE — DOG FACTS: STOP MOBILE “BOBBING” WHEN SLIDE CHANGES
   Paste at VERY END of cwh-explore.css
   ========================================================= */

/* 1) Disable scroll anchoring on the slider area (prevents page nudges) */
.cwh-explore .cwh-facts-card,
.cwh-explore .cwh-facts,
.cwh-explore .cwh-facts__slider,
.cwh-explore .cwh-facts__slides{
  overflow-anchor: none !important;
}

/* 2) Make the fade purely visual (reduce mobile repaint/reflow weirdness) */
.cwh-explore .cwh-facts__slide{
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 3) HARD lock the height on mobile so it can’t subtly change */
@media (max-width: 980px){
  .cwh-explore .cwh-facts-card{
    height: 280px !important;
    min-height: 280px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .cwh-explore .cwh-facts{
    height: 280px !important;
    min-height: 280px !important;
  }

  .cwh-explore .cwh-facts__slider,
  .cwh-explore .cwh-facts__slides{
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
  }

  .cwh-explore .cwh-facts__slide{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}
/* =========================================================
   EXPLORE — Canine Connect card
   Mobile: stack image ABOVE text (only this component)
   ========================================================= */
@media (max-width: 640px){

  /* Stack the Canine Connect card */
  .cwh-explore .cwh-connect-item{
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Make the thumbnail full-width on mobile */
  .cwh-explore .cwh-connect-item__thumb{
    width: 100% !important;
    flex: 0 0 auto !important;
    height: 180px !important;          /* tweak 160–220 if you want */
    border-radius: 16px !important;
  }

  /* Ensure the image fills the thumb nicely */
  .cwh-explore .cwh-connect-item__thumb img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}
