/* Location-page concept styling. Loaded only on the custom sale/rescue templates. */
body.cc-location-intent-sale .page-wrapper,
body.page-template-page-cat-rescue .page-wrapper,
body.page-template-page-cat-hub-sale .page-wrapper,
body.page-template-page-cat-hub-rescue .page-wrapper,
body.page-template-page-cat-master-sale .page-wrapper {
  width: min(100% - 40px, 1280px);
  max-width: 1280px;
  padding: 28px 0 72px;
}

body.cc-location-intent-sale .cc-location-hero,
body.page-template-page-cat-rescue .cc-location-hero,
body.page-template-page-cat-hub-sale .cc-location-hero,
body.page-template-page-cat-hub-rescue .cc-location-hero,
body.page-template-page-cat-master-sale .cc-location-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, .72fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 14px 0 26px;
  padding: clamp(25px, 5vw, 62px);
  border: 1px solid #f1e7ed;
  border-radius: 28px;
  background: linear-gradient(120deg, #f1e7ed 0%, #f7f5ed 58%, #f1e7ed 100%);
}

body.cc-location-intent-sale .cc-location-hero::after,
body.page-template-page-cat-rescue .cc-location-hero::after,
body.page-template-page-cat-hub-sale .cc-location-hero::after,
body.page-template-page-cat-hub-rescue .cc-location-hero::after,
body.page-template-page-cat-master-sale .cc-location-hero::after {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -240px;
  width: 470px;
  height: 470px;
  border: 1px solid rgb(47 83 68 / 13%);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgb(47 83 68 / 4%), 0 0 0 82px rgb(47 83 68 / 3%);
  content: "";
  pointer-events: none;
}

body.cc-location-intent-sale .cc-location-hero--sale,
body.page-template-page-cat-hub-sale .cc-location-hero--sale,
body.page-template-page-cat-master-sale .cc-location-hero--sale {
  border-color: #dce5e4;
  background: linear-gradient(120deg, #f1e7ed 0%, #f7f5ed 58%, #f1e7ed 100%);
}

.cc-location-hero-copy,
.cc-location-hero-card,
.cc-location-hero-actions { position: relative; z-index: 1; }
.cc-location-hero-copy { min-width: 0; }
.cc-location-eyebrow,
.cc-location-card-kicker {
  margin: 0 0 12px;
  color: #5e5660;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cc-location-eyebrow span { padding: 0 4px; color: #a7775c; }
body.cc-location-intent-sale .cc-location-hero h1,
body.page-template-page-cat-rescue .cc-location-hero h1,
body.page-template-page-cat-hub-sale .cc-location-hero h1,
body.page-template-page-cat-hub-rescue .cc-location-hero h1,
body.page-template-page-cat-master-sale .cc-location-hero h1 {
  max-width: 18ch;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #5e5660;
  font: 500 clamp(2.2rem, 5.2vw, 4.2rem)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}
.cc-location-hero-copy > p:not(.cc-location-eyebrow) {
  max-width: 66ch;
  margin: 12px 0 0;
  color: #596d63;
  font-size: clamp(.96rem, 1.3vw, 1.08rem);
  line-height: 1.72;
}
.cc-location-hero-copy > p:first-of-type:not(.cc-location-eyebrow) { font-weight: 650; }
.cc-location-hero-copy a { color: #783e5b; text-underline-offset: 3px; }
.cc-location-hero-card {
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 21px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 12px 34px rgb(39 63 54 / 9%);
}
.cc-location-card-kicker { margin-bottom: 8px; color: #9a694d; font-size: .62rem; }
.cc-location-hero-card h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #5e5660;
  font: 500 clamp(1.25rem, 2vw, 1.65rem)/1.2 Georgia, "Times New Roman", serif;
}
.cc-location-hero-card > p:not(.cc-location-card-kicker) { margin: 0; color: #66766d; font-size: .82rem; line-height: 1.6; }
.cc-location-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f1e7ed; }
.cc-location-steps span { color: #758179; font-size: .66rem; line-height: 1.4; }
.cc-location-steps b { display: block; margin-bottom: 3px; color: #5e5660; font-size: .84rem; }
.cc-location-hero-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px; }
.cc-location-primary,
.cc-location-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}
.cc-location-primary { background: #783e5b; color: #fff !important; }
.cc-location-primary:hover { background: #783e5b; }
.cc-location-secondary { border: 1px solid #f1e7ed; background: rgb(255 255 255 / 75%); color: #5e5660 !important; }
.cc-location-secondary:hover { background: #fff; }

.cc-location-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #758179;
  font-size: .74rem;
}
.cc-location-breadcrumbs a { color: #783e5b; font-weight: 650; text-decoration: none; }
.cc-location-breadcrumbs a:hover { color: #783e5b; text-decoration: underline; text-underline-offset: 3px; }
.cc-location-breadcrumbs [aria-current="page"] { color: #5e5660; font-weight: 750; }
.cc-location-breadcrumb-separator { color: #a6b0a8; }
.cc-location-hierarchy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  padding: 11px 13px;
  border: 1px solid #f1e7ed;
  border-radius: 13px;
  background: rgb(255 255 255 / 76%);
  color: #6b7a72;
  font-size: .73rem;
}
.cc-location-hierarchy a,
.cc-location-children a { color: #783e5b; font-weight: 750; text-decoration: none; }
.cc-location-hierarchy [aria-current="page"] { color: #a36d50; font-weight: 800; }
.cc-location-hierarchy .cc-hierarchy-arrow { color: #a6b0a8; }
.cc-location-children { background: #f5f2e9; }
.cc-location-children a { padding: 6px 10px; border-radius: 999px; background: #fff; }

body.cc-location-intent-sale .main-content > h2,
body.page-template-page-cat-rescue .main-content > h2,
body.page-template-page-cat-hub-sale .main-content > h2,
body.page-template-page-cat-hub-rescue .main-content > h2,
body.page-template-page-cat-master-sale .main-content > h2 {
  margin: 38px 0 10px;
  padding: 0;
  border: 0;
  color: #5e5660;
  font: 500 clamp(1.65rem, 3vw, 2.35rem)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  scroll-margin-top: 100px;
}
body.cc-location-intent-sale .main-content > p,
body.page-template-page-cat-rescue .main-content > p,
body.page-template-page-cat-hub-sale .main-content > p,
body.page-template-page-cat-hub-rescue .main-content > p,
body.page-template-page-cat-master-sale .main-content > p { max-width: 78ch; color: #65756c; line-height: 1.72; }
.cc-location-hero ~ .ad-slot { max-width: min(100%, 970px); margin: 26px auto 32px; }
.page-wrapper .product-grid-container { grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(14px, 2vw, 24px); }
.internal-links-section,
.faq-section,
.resource-section {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #f1e7ed;
  border-radius: 20px;
  background: #fff;
}
.internal-links-section h2 { margin: 0 0 16px !important; }
.internal-links-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.internal-links-list li { min-width: 0; break-inside: avoid; }
.internal-links-list a { display: block; padding: 10px 12px; border: 1px solid #f1e7ed; border-radius: 10px; background: #f1e7ed; color: #5e5660; font-size: .8rem; font-weight: 650; text-decoration: none; }
.internal-links-list a:hover { border-color: #f8f3f6; background: #f1e7ed; }
.cc-location-directory { scroll-margin-top: 100px; }

@media (max-width: 900px) {
  body.cc-location-intent-sale .cc-location-hero,
  body.page-template-page-cat-rescue .cc-location-hero,
  body.page-template-page-cat-hub-sale .cc-location-hero,
  body.page-template-page-cat-hub-rescue .cc-location-hero,
  body.page-template-page-cat-master-sale .cc-location-hero { grid-template-columns: minmax(0,1fr) minmax(230px,.78fr); gap: 20px; }
  .internal-links-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body.cc-location-intent-sale .page-wrapper,
  body.page-template-page-cat-rescue .page-wrapper,
  body.page-template-page-cat-hub-sale .page-wrapper,
  body.page-template-page-cat-hub-rescue .page-wrapper,
  body.page-template-page-cat-master-sale .page-wrapper { width: min(100% - 30px, 1280px); padding-top: 18px; }
  body.cc-location-intent-sale .cc-location-hero,
  body.page-template-page-cat-rescue .cc-location-hero,
  body.page-template-page-cat-hub-sale .cc-location-hero,
  body.page-template-page-cat-hub-rescue .cc-location-hero,
  body.page-template-page-cat-master-sale .cc-location-hero { grid-template-columns: 1fr; gap: 17px; margin-top: 6px; padding: 23px 19px; border-radius: 21px; }
  .cc-location-hero-actions { grid-column: auto; }
  .cc-location-steps span { font-size: .62rem; }
  .page-wrapper .product-grid-container { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .internal-links-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 390px) {
  .cc-location-hero-actions { align-items: stretch; flex-direction: column; }
  .cc-location-primary, .cc-location-secondary { width: 100%; }
  .page-wrapper .product-grid-container { grid-template-columns: 1fr; }
  .internal-links-list { grid-template-columns: 1fr; }
}

/* Listing hierarchy: match the sale/rescue concepts while preserving each template's query and cards. */
body.cc-location-intent-sale .cc-location-hero--sale,
body.page-template-page-cat-hub-sale .cc-location-hero--sale,
body.page-template-page-cat-master-sale .cc-location-hero--sale { border-color:#d8e1e4 !important; background:linear-gradient(118deg,#edf2f3 0%,#f7f6f0 58%,#e6eef0 100%) !important; }
body.cc-location-intent-sale .cc-location-hero--sale::after,
body.page-template-page-cat-hub-sale .cc-location-hero--sale::after,
body.page-template-page-cat-master-sale .cc-location-hero--sale::after { border-color:rgb(55 86 106 / 16%); box-shadow:0 0 0 38px rgb(55 86 106 / 5%),0 0 0 82px rgb(55 86 106 / 3%); }
body.cc-location-intent-sale .cc-location-hero--sale h1,
body.page-template-page-cat-hub-sale .cc-location-hero--sale h1,
body.page-template-page-cat-master-sale .cc-location-hero--sale h1 { color:#263e4a !important; }
body.cc-location-intent-sale .cc-location-hero--sale .cc-location-eyebrow,
body.page-template-page-cat-hub-sale .cc-location-hero--sale .cc-location-eyebrow,
body.page-template-page-cat-master-sale .cc-location-hero--sale .cc-location-eyebrow { color:#34495e !important; }
body.cc-location-intent-sale .cc-location-primary,
body.page-template-page-cat-hub-sale .cc-location-primary,
body.page-template-page-cat-master-sale .cc-location-primary { background:#34495e !important; color:#fff !important; }
body.cc-location-intent-sale .cc-location-primary:hover,
body.page-template-page-cat-hub-sale .cc-location-primary:hover,
body.page-template-page-cat-master-sale .cc-location-primary:hover { background:#243f50 !important; }
body.cc-location-intent-sale .cc-location-secondary,
body.page-template-page-cat-hub-sale .cc-location-secondary,
body.page-template-page-cat-master-sale .cc-location-secondary { border-color:#cfdbdf !important; color:#34495e !important; }
body.cc-location-intent-sale .cc-location-hierarchy a,
body.page-template-page-cat-hub-sale .cc-location-hierarchy a,
body.page-template-page-cat-master-sale .cc-location-hierarchy a,
body.cc-location-intent-sale .cc-location-children a,
body.page-template-page-cat-hub-sale .cc-location-children a,
body.page-template-page-cat-master-sale .cc-location-children a { color:#34495e !important; }

.cc-location-listing-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(245px,285px); align-items:start; gap:clamp(22px,3.2vw,42px); margin-top:26px; }
.cc-location-listing-main { min-width:0; }
.cc-location-listing-main > h2:first-child { margin-top:0 !important; }
.cc-location-listing-main .product-grid-container { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:clamp(13px,1.8vw,22px) !important; }
.cc-location-listing-main .pagination { margin:20px 0 0; }
.cc-location-context-card { position:sticky; top:22px; min-width:0; padding:22px; border:1px solid #e1e6df; border-radius:20px; background:#fff; box-shadow:0 12px 32px rgb(34 54 45 / 7%); }
.cc-location-context-kicker { margin:0 0 8px !important; color:#5e5660 !important; font-size:.66rem !important; font-weight:850 !important; letter-spacing:.12em; line-height:1.4 !important; text-transform:uppercase; }
.cc-location-context-card h2,.cc-location-directory-heading h2 { margin:0 0 10px !important; padding:0 !important; border:0 !important; color:#333333 !important; font:500 clamp(1.35rem,2vw,1.7rem)/1.18 Georgia,"Times New Roman",serif !important; letter-spacing:-.02em; }
.cc-location-context-card > p:not(.cc-location-context-kicker),.cc-location-directory-heading > p:not(.cc-location-context-kicker) { margin:0 !important; color:#5e5660 !important; font-size:.84rem !important; line-height:1.65 !important; }
.cc-location-context-card h3 { margin:20px 0 8px !important; color:#5e5660 !important; font-size:.76rem !important; font-weight:800 !important; letter-spacing:.04em; text-transform:uppercase; }
.cc-location-context-links { display:grid; gap:4px; margin:0 !important; padding:0 !important; list-style:none !important; }
.cc-location-context-links li { margin:0 !important; padding:0 !important; border-top:1px solid #f1e7ed; list-style:none !important; }
.cc-location-context-links a,.cc-location-context-back { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; color:#783e5b !important; font-size:.82rem !important; font-weight:750 !important; line-height:1.4; text-decoration:none !important; }
.cc-location-context-links a:hover,.cc-location-context-back:hover { color:#783e5b !important; text-decoration:underline !important; text-underline-offset:3px; }
.cc-location-directory-panel { display:grid; grid-template-columns:minmax(210px,.75fr) minmax(0,1.6fr); align-items:start; gap:clamp(22px,4vw,48px); margin:42px 0 52px; padding:clamp(22px,4vw,36px); border:1px solid #f1e7ed; border-radius:22px; background:#f5f4ec; scroll-margin-top:100px; }
.cc-location-directory-heading h2 { font-size:clamp(1.45rem,2.5vw,2rem) !important; }
.cc-location-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:0 !important; padding:0 !important; list-style:none !important; }
.cc-location-directory-grid li { min-width:0; margin:0 !important; padding:0 !important; list-style:none !important; }
.cc-location-directory-grid a { display:flex; min-height:45px; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid #f1e7ed; border-radius:11px; background:#fff; color:#783e5b !important; font-size:.81rem !important; font-weight:700 !important; line-height:1.35; text-decoration:none !important; }
.cc-location-directory-grid a:hover { border-color:#f8f3f6; background:#f1e7ed; }
body.cc-location-intent-sale .cc-location-directory-grid a,
body.page-template-page-cat-hub-sale .cc-location-directory-grid a,
body.page-template-page-cat-master-sale .cc-location-directory-grid a { color:#34495e !important; }
.cc-location-hierarchy a:focus-visible,.cc-location-children a:focus-visible,.cc-location-context-card a:focus-visible,.cc-location-directory-panel a:focus-visible { outline:3px solid #944f70 !important; outline-offset:3px !important; }

@media(max-width:980px) {
  .cc-location-listing-layout { grid-template-columns:minmax(0,1fr) 250px; gap:20px; }
  .cc-location-directory-panel { grid-template-columns:1fr; gap:17px; }
  .cc-location-directory-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .cc-location-listing-layout { grid-template-columns:1fr; gap:22px; }
  .cc-location-context-card { position:static; }
  .cc-location-context-links { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:14px; }
  .cc-location-context-links li:first-child,.cc-location-context-links li:nth-child(2) { border-top:0; }
  .cc-location-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:520px) {
  .cc-location-listing-main .product-grid-container { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  .cc-location-directory-panel { margin:30px 0 38px; padding:20px 16px; }
  .cc-location-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .cc-location-directory-grid a { min-height:42px; padding:8px 9px; font-size:.74rem !important; }
}
@media(max-width:360px) {
  .cc-location-listing-main .product-grid-container { grid-template-columns:1fr !important; }
  .cc-location-context-links,.cc-location-directory-grid { grid-template-columns:1fr; }
}.cc-location-intent-switch { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:32px 0; padding:22px clamp(18px,3vw,30px); border:1px solid #e1e6df; border-radius:18px; background:#fff; }
.cc-location-intent-switch h2 { margin:0 0 5px !important; padding:0 !important; border:0 !important; color:#333333 !important; font:500 clamp(1.3rem,2.2vw,1.7rem)/1.2 Georgia,"Times New Roman",serif !important; }
.cc-location-intent-switch > div > p:not(.cc-location-context-kicker) { margin:0 !important; color:#5e5660 !important; font-size:.83rem !important; line-height:1.55 !important; }
.cc-location-intent-switch > a { display:inline-flex; flex:0 0 auto; align-items:center; gap:8px; min-height:44px; padding:10px 16px; border-radius:999px; background:#944f70; color:#fff !important; font-size:.8rem; font-weight:800; text-decoration:none !important; }
.cc-location-intent-switch > a:hover { background:#783e5b; }
body.cc-location-intent-sale .cc-location-context-links a,
body.page-template-page-cat-hub-sale .cc-location-context-links a,
body.page-template-page-cat-master-sale .cc-location-context-links a,
body.cc-location-intent-sale .cc-location-context-back,
body.page-template-page-cat-hub-sale .cc-location-context-back,
body.page-template-page-cat-master-sale .cc-location-context-back,
body.cc-location-intent-sale .cc-location-breadcrumbs a,
body.page-template-page-cat-hub-sale .cc-location-breadcrumbs a,
body.page-template-page-cat-master-sale .cc-location-breadcrumbs a,
body.cc-location-intent-sale .cc-location-directory-heading h2,
body.page-template-page-cat-hub-sale .cc-location-directory-heading h2,
body.page-template-page-cat-master-sale .cc-location-directory-heading h2 { color:#34495e !important; }
body.cc-location-intent-sale .cc-location-intent-switch > a,
body.page-template-page-cat-hub-sale .cc-location-intent-switch > a,
body.page-template-page-cat-master-sale .cc-location-intent-switch > a { background:#34495e; }
body.cc-location-intent-sale .cc-location-intent-switch > a:hover,
body.page-template-page-cat-hub-sale .cc-location-intent-switch > a:hover,
body.page-template-page-cat-master-sale .cc-location-intent-switch > a:hover { background:#243f50; }


/* Intent cross-links follow the two palette variants used in the location concept. */
.cc-location-intent-switch {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:1rem !important;
  margin:1.2rem 0 2.5rem !important;
  padding:1.15rem 1.25rem !important;
  border:0 !important;
  border-radius:15px !important;
}
.cc-location-intent-switch--sale { background:#f1e7ed !important; }
.cc-location-intent-switch--rescue { background:#f1e7ed !important; }
.cc-location-intent-switch .cc-location-context-kicker { margin:0 0 .45rem !important; }
.cc-location-intent-switch h2 { margin:0 0 .3rem !important; font-size:clamp(1.2rem,2vw,1.3rem) !important; }
.cc-location-intent-switch > div > p:not(.cc-location-context-kicker) { margin:0 !important; color:#687872 !important; font-size:.72rem !important; line-height:1.55 !important; }
.cc-location-intent-switch > a {
  display:inline-flex !important;
  min-height:45px !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.55rem !important;
  padding:.55rem 1rem !important;
  border:1px solid transparent !important;
  border-radius:11px !important;
  color:#fff !important;
  font-size:.78rem !important;
  font-weight:750 !important;
  text-decoration:none !important;
  white-space:nowrap;
}
.cc-location-intent-switch--sale > a { background:#34495e !important; }
.cc-location-intent-switch--sale > a:hover { background:#243f50 !important; }
.cc-location-intent-switch--rescue > a { background:#783e5b !important; }
.cc-location-intent-switch--rescue > a:hover { background:#783e5b !important; }
.cc-location-intent-switch > a:focus-visible { outline:3px solid #944f70 !important; outline-offset:3px !important; }
body.cc-location-intent-rescue .cc-location-context-links a,
body.cc-location-intent-rescue .cc-location-context-back,
body.cc-location-intent-rescue .cc-location-breadcrumbs a,
body.cc-location-intent-rescue .cc-location-directory-heading h2,
body.cc-location-intent-rescue .cc-location-directory-grid a { color:#783e5b !important; }

/* Rescue success updates are distinct from the active adoption inventory. */
.cc-adoption-stories {
  margin: 40px 0 44px;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid #f1e7ed;
  border-radius: 24px;
  background: linear-gradient(135deg, #f1e7ed 0%, #fbfaf6 74%);
}
.cc-adoption-stories-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.cc-adoption-stories-heading > div { max-width: 650px; }
.cc-adoption-stories-heading .cc-location-eyebrow { margin: 0 0 8px; }
.cc-adoption-stories-heading h2 {
  margin: 0 0 8px;
  color: #5e5660;
  font: 500 clamp(1.65rem, 3vw, 2.35rem)/1.15 Georgia, "Times New Roman", serif;
}
.cc-adoption-stories-heading p:not(.cc-location-eyebrow) {
  margin: 0;
  color: #66766d;
  font-size: .9rem;
  line-height: 1.65;
}
.cc-stories-browse-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #783e5b !important;
  font-size: .8rem;
  font-weight: 750;
  text-underline-offset: 3px;
}
.cc-adoption-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.cc-adoption-story {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f1e7ed;
  border-radius: 17px;
  background: #fff;
}
.cc-adoption-story-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1e7ed;
}
.cc-adoption-story-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-adoption-story-media > span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9e7e0;
  color: #5e5660;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .07em;
}
.cc-adoption-story-body { padding: 17px; }
.cc-adoption-story-kicker {
  margin: 0 0 7px;
  color: #6c8175;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cc-adoption-story-body h3 {
  margin: 0 0 8px;
  color: #333333;
  font: 500 1.3rem/1.2 Georgia, "Times New Roman", serif;
}
.cc-adoption-story-copy { color: #5e5660; font-size: .82rem; line-height: 1.6; }
.cc-adoption-story-copy p { margin: 0 0 8px; }
.cc-adoption-story-copy p:last-child { margin-bottom: 0; }
.cc-adoption-story-body > a {
  display: inline-block;
  margin-top: 12px;
  color: #783e5b !important;
  font-size: .77rem;
  font-weight: 750;
  text-decoration: none;
}
.cc-adoption-story-body > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-adoption-stories a:focus-visible { outline: 3px solid #944f70 !important; outline-offset: 3px !important; }
@media (max-width: 900px) {
  .cc-adoption-stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-adoption-stories-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 560px) {
  .cc-adoption-stories { margin: 30px 0; padding: 20px 16px; }
  .cc-adoption-stories-grid { grid-template-columns: 1fr; gap: 12px; }
  .cc-adoption-story { display: grid; grid-template-columns: minmax(105px, .72fr) minmax(0, 1fr); }
  .cc-adoption-story-media { height: 100%; min-height: 150px; aspect-ratio: auto; }
  .cc-adoption-story-body { padding: 13px; }
  .cc-adoption-story-body h3 { font-size: 1.1rem; }
  .cc-adoption-story-copy { font-size: .76rem; }
}
@media(max-width:520px) {
  .cc-location-intent-switch { grid-template-columns:1fr !important; }
  .cc-location-intent-switch > a { justify-self:start !important; width:auto !important; }
}


/* Use three cards per row on wide desktops; let tighter viewports reflow. */
@media (min-width:1200px) {
  .cc-location-listing-main .product-grid-container {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media (min-width:981px) and (max-width:1199px) {
  .cc-location-listing-main .product-grid-container {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}



/* Location FAQ: editorial heading and calm, keyboard-accessible accordion rows. */
body.cc-location-intent-sale .faq-section,
body.cc-location-intent-rescue .faq-section {
  max-width:1000px;
  margin:clamp(44px,6vw,72px) auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
body.cc-location-intent-sale .faq-section > h2,
body.cc-location-intent-rescue .faq-section > h2 {
  margin:0 0 18px !important;
  padding:0 !important;
  border:0 !important;
  color:#333333 !important;
  font:500 clamp(1.75rem,3vw,2.4rem)/1.15 Georgia,"Times New Roman",serif !important;
  letter-spacing:-.025em;
}
body.cc-location-intent-sale .faq-container,
body.cc-location-intent-rescue .faq-container {
  overflow:hidden;
  margin:0;
  border:1px solid #f1e7ed;
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 20px rgb(35 55 49 / 4%);
}
body.cc-location-intent-sale .faq-item,
body.cc-location-intent-rescue .faq-item {
  margin:0;
  border:0;
  border-bottom:1px solid #f1e7ed;
  background:#fff;
}
body.cc-location-intent-sale .faq-item:last-child,
body.cc-location-intent-rescue .faq-item:last-child { border-bottom:0; }
body.cc-location-intent-sale .faq-item summary,
body.cc-location-intent-rescue .faq-item summary {
  position:relative;
  min-height:62px;
  padding:18px 60px 18px 22px;
  color:#783e5b !important;
  font-size:clamp(.96rem,1.2vw,1.05rem) !important;
  font-weight:750 !important;
  line-height:1.45;
  list-style:none;
  cursor:pointer;
  transition:background-color .18s ease;
}
body.cc-location-intent-sale .faq-item summary::-webkit-details-marker,
body.cc-location-intent-rescue .faq-item summary::-webkit-details-marker { display:none; }
body.cc-location-intent-sale .faq-item summary::after,
body.cc-location-intent-rescue .faq-item summary::after {
  position:absolute;
  top:50%;
  right:20px;
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border:1px solid #f1e7ed;
  border-radius:50%;
  color:#783e5b;
  content:'+';
  font-size:1.2rem;
  font-weight:500;
  line-height:1;
  transform:translateY(-50%);
}
body.cc-location-intent-sale .faq-item[open] summary,
body.cc-location-intent-rescue .faq-item[open] summary { background:#f1e7ed; }
body.cc-location-intent-sale .faq-item[open] summary::after,
body.cc-location-intent-rescue .faq-item[open] summary::after { content:'−'; }
body.cc-location-intent-sale .faq-item summary:hover,
body.cc-location-intent-rescue .faq-item summary:hover { background:#f1e7ed; }
body.cc-location-intent-sale .faq-item summary:focus-visible,
body.cc-location-intent-rescue .faq-item summary:focus-visible {
  z-index:1;
  outline:3px solid #944f70;
  outline-offset:-3px;
}
body.cc-location-intent-sale .faq-content,
body.cc-location-intent-rescue .faq-content {
  padding:0 22px 20px;
  color:#5e5660;
  font-size:.94rem;
  line-height:1.7;
}
body.cc-location-intent-sale .faq-content p,
body.cc-location-intent-rescue .faq-content p { max-width:78ch; margin:0; }
@media(max-width:600px) {
  body.cc-location-intent-sale .faq-section,
  body.cc-location-intent-rescue .faq-section { margin:42px 0; }
  body.cc-location-intent-sale .faq-item summary,
  body.cc-location-intent-rescue .faq-item summary { min-height:56px; padding:16px 52px 16px 16px; }
  body.cc-location-intent-sale .faq-item summary::after,
  body.cc-location-intent-rescue .faq-item summary::after { right:15px; }
  body.cc-location-intent-sale .faq-content,
  body.cc-location-intent-rescue .faq-content { padding:0 16px 17px; font-size:.88rem; }
}
