/*
Pet Rehoming Network
Location Rehoming Pages v1.4
Reusable stylesheet for city / province / state pet rehoming service pages.
Mobile typography, alignment and spacing cleanup.
Suggested live path: /css/prn-location-rehoming-pages.css
*/

.prn-rehome-location-page{
  --green:#2f6b4f;
  --green-dark:#214f3a;
  --green-soft:#edf6ef;
  --blue:#2673a8;
  --blue-dark:#19577f;
  --blue-soft:#eef7fb;
  --ink:#243238;
  --muted:#5d6a70;
  --border:#dfe7e2;
  --white:#fff;
  --shadow:0 10px 28px rgba(24,49,38,.10);
  --radius:14px;
  color:var(--ink);
  line-height:1.7;
}
.prn-rehome-location-page *,
.prn-rehome-location-page *:before,
.prn-rehome-location-page *:after{box-sizing:border-box}
.prn-rehome-location-page img{max-width:100%;height:auto}

/* Headings and body alignment */
.prn-rehome-location-page h1,
.prn-rehome-location-page h2,
.prn-rehome-location-page h3{
  line-height:1.2;
  color:var(--green-dark);
  text-align:center;
}
.prn-rehome-location-page h1{font-size:clamp(2.15rem,4.5vw,3.75rem);margin:0 0 20px}
.prn-rehome-location-page h2{font-size:clamp(1.75rem,3vw,2.45rem);margin:0 0 18px}
.prn-rehome-location-page h3{font-size:1.2rem;margin:0 0 10px}
.prn-rehome-location-page p{
  margin:0 0 1.05em;
  text-align:left;
}
.prn-rehome-location-page a{color:var(--blue)}
.prn-rehome-location-page section{scroll-margin-top:90px}

.prn-rehome-eyebrow{
  display:block;
  margin-bottom:9px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--blue);
  text-align:center;
}
.prn-rehome-lead{
  font-size:1rem;
  color:var(--ink);
  text-align:left;
}
.prn-rehome-narrow{max-width:900px;margin:auto}
.prn-rehome-heading{max-width:860px;margin:0 auto 32px;text-align:center}
.prn-rehome-heading p{text-align:left}

.prn-rehome-universal-hero{max-width:1536px;margin:0 auto 24px}
.prn-rehome-universal-hero a{display:block}
.prn-rehome-universal-hero img{display:block;width:100%;height:auto}

.prn-rehome-hero{max-width:1240px;margin:0 auto 24px;display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;overflow:hidden;border-radius:18px;background:linear-gradient(135deg,var(--green-dark),var(--blue-dark));box-shadow:var(--shadow)}
.prn-rehome-hero__content{padding:54px 48px;color:#fff}
.prn-rehome-hero h1,.prn-rehome-hero .prn-rehome-eyebrow{color:#fff}
.prn-rehome-hero__lead{font-size:1.14rem;color:#fff;text-align:left}
.prn-rehome-hero__image{min-height:420px}
.prn-rehome-hero__image img{display:block;width:100%;height:100%;object-fit:cover}
.prn-rehome-trust-row{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:24px;justify-content:center}
.prn-rehome-trust-row span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:.86rem;font-weight:700}

.prn-rehome-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:24px}
.prn-rehome-buttons--center{justify-content:center}
.prn-rehome-button{display:inline-block;padding:12px 20px;border-radius:8px;background:var(--blue);color:#fff!important;text-decoration:none;font-weight:800;text-align:center}
.prn-rehome-button:hover{background:var(--blue-dark)}
.prn-rehome-button--secondary{background:#fff;color:var(--green-dark)!important}
.prn-rehome-button--light{background:#fff;color:var(--green-dark)!important}
.prn-rehome-button--outline-light{background:transparent;border:2px solid #fff}
.prn-rehome-text-link{font-weight:800}
.prn-rehome-text-link--light{color:#fff!important}

.prn-rehome-menu{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;max-width:1180px;margin:20px auto 35px;padding:14px 18px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 4px 16px rgba(24,49,38,.06)}
.prn-rehome-menu strong{color:var(--green-dark)}
.prn-rehome-menu a{text-decoration:none;font-weight:600}

.prn-rehome-intro,.prn-rehome-areas,.prn-rehome-adoption,.prn-rehome-faq,.prn-rehome-testimonial,.prn-rehome-service-callout{max-width:1180px;margin:0 auto;padding:54px 28px}
.prn-rehome-intro{text-align:center}
.prn-rehome-intro p{text-align:left}
.prn-rehome-note{margin-top:25px;padding:17px 20px;text-align:left;background:var(--green-soft);border-left:4px solid var(--green);border-radius:8px}

.prn-rehome-band{padding:64px max(28px,calc((100vw - 1180px)/2));margin:25px 0}
.prn-rehome-band--soft{background:var(--green-soft)}
.prn-rehome-band--blue{background:linear-gradient(135deg,var(--blue-soft),#f6fbfd)}

.prn-rehome-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1180px;margin:auto}
.prn-rehome-feature-card{padding:25px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 7px 20px rgba(24,49,38,.07)}
/* v1.3: decorative dash removed */
.prn-rehome-feature-card:before{content:none;display:none}
.prn-rehome-feature-card h3{text-align:center}
.prn-rehome-feature-card p{text-align:left}
.prn-rehome-feature-card p:last-child{margin-bottom:0}

.prn-rehome-split{max-width:1180px;margin:38px auto;display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:48px;align-items:center;padding:40px 28px}
.prn-rehome-split--reverse .prn-rehome-split__image{order:2}
.prn-rehome-split--reverse .prn-rehome-split__content{order:1}
.prn-rehome-split__image{width:100%;aspect-ratio:1/1;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:var(--green-soft)}
.prn-rehome-split__image img{display:block;width:100%;height:100%;object-fit:cover}
.prn-rehome-split__content p{text-align:left}

.prn-rehome-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1180px;margin:auto}
.prn-rehome-process-card{position:relative;padding:28px 24px 24px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 7px 20px rgba(24,49,38,.06)}
.prn-rehome-process-card h3{text-align:center}
.prn-rehome-process-card p{text-align:left}
.prn-rehome-step{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  margin:0 auto 15px;
  border-radius:50%;
  background:var(--green-dark);
  color:#fff;
  font-weight:900;
}
.prn-rehome-centered-actions{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;align-items:center;margin-top:30px}

.prn-rehome-testimonial{text-align:center}
.prn-rehome-testimonial__inner{max-width:850px;margin:auto}
.prn-rehome-testimonial blockquote{margin:25px auto;padding:28px;border-radius:14px;background:var(--green-soft);border:0}
.prn-rehome-testimonial blockquote p{font-size:1.2rem;font-weight:700;color:var(--green-dark);text-align:left}
.prn-rehome-testimonial cite{font-style:normal;color:var(--muted)}

.prn-rehome-city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.prn-rehome-city-card{display:flex;flex-direction:column;padding:25px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease}
.prn-rehome-city-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(24,49,38,.14)}
.prn-rehome-city-card p{flex:1;color:var(--muted);text-align:left}
.prn-rehome-city-card a{display:inline-block;margin-top:8px;font-weight:800;text-decoration:none}

.prn-rehome-area-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.prn-rehome-area-card{padding:17px 15px;text-align:center;border-radius:10px;background:#fff;border:1px solid var(--border);box-shadow:0 5px 16px rgba(24,49,38,.06);color:var(--green-dark)}
.prn-rehome-area-note{max-width:900px;margin:28px auto 0;padding:18px 20px;text-align:center;border-radius:10px;background:var(--blue-soft)}
.prn-rehome-area-note p{text-align:left}

.prn-rehome-service-callout__content{max-width:950px;margin:auto;padding:35px;border-radius:16px;background:var(--green-soft);border:1px solid var(--border)}
.prn-rehome-service-callout__content p{text-align:left}
.prn-rehome-service-callout__content .prn-rehome-buttons{justify-content:center}
.prn-rehome-area-note p:last-child{text-align:center}

.prn-rehome-adoption{padding-top:60px;padding-bottom:60px}
.prn-rehome-adoption-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;align-items:center;margin-top:28px}

.prn-rehome-faq-list{max-width:900px;margin:auto}
.prn-rehome-faq-item{margin:0 0 12px;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}
.prn-rehome-faq-item summary{position:relative;padding:18px 50px 18px 20px;cursor:pointer;font-weight:800;color:var(--green-dark);list-style:none}
.prn-rehome-faq-item summary::-webkit-details-marker{display:none}
.prn-rehome-faq-item summary:after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:1.45rem;color:var(--blue)}
.prn-rehome-faq-item[open] summary:after{content:"–"}
.prn-rehome-faq-item[open] summary{background:var(--blue-soft)}
.prn-rehome-faq-item>div{padding:18px 20px 8px;border-top:1px solid var(--border)}
.prn-rehome-faq-item p{text-align:left}

.prn-rehome-final-cta{
  margin-top:35px;
  padding:68px max(28px,calc((100vw - 950px)/2));
  background:var(--blue);
  color:#fff;
  text-align:center;
}
.prn-rehome-final-cta h2,.prn-rehome-final-cta .prn-rehome-eyebrow{color:#fff}
.prn-rehome-final-cta__content{max-width:900px;margin:auto}
.prn-rehome-final-cta p{text-align:left;color:#fff;font-size:1.1rem}

/* v1.2 — robust city-card grid overrides */
.prn-rehome-location-page .prn-rehome-city-grid,
.prn-rehome-location-page .prn-rehome-city-grid--cards{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
  width:100% !important;
}
.prn-rehome-location-page .prn-rehome-city-grid > .prn-rehome-city-card{
  display:flex !important;
  flex-direction:column !important;
  float:none !important;
  clear:none !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
}
.prn-rehome-location-page .prn-rehome-city-card h3{margin-top:0 !important}
.prn-rehome-location-page .prn-rehome-city-card a{margin-top:auto}

@media(max-width:900px){
  .prn-rehome-location-page .prn-rehome-city-grid,
  .prn-rehome-location-page .prn-rehome-city-grid--cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .prn-rehome-hero{grid-template-columns:1fr}
  .prn-rehome-hero__image{min-height:300px;order:-1}
  .prn-rehome-feature-grid,.prn-rehome-process-grid,.prn-rehome-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prn-rehome-split{grid-template-columns:1fr;gap:25px}
  .prn-rehome-split--reverse .prn-rehome-split__image,.prn-rehome-split--reverse .prn-rehome-split__content{order:initial}
  .prn-rehome-split__image{max-width:560px;margin:auto}
  .prn-rehome-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:640px){
  /* v1.3 — mobile typography */
  .prn-rehome-location-page h1{
    font-size:clamp(1.7rem,7vw,1.9rem);
    line-height:1.14;
    margin-bottom:16px;
  }
  .prn-rehome-location-page h2{
    font-size:clamp(1.45rem,6vw,1.65rem);
    line-height:1.18;
    margin-bottom:15px;
  }
  .prn-rehome-location-page h3{
    font-size:1.08rem;
    line-height:1.25;
  }
  .prn-rehome-eyebrow{
    font-size:.74rem;
    letter-spacing:.09em;
    line-height:1.5;
  }

  .prn-rehome-location-page .prn-rehome-city-grid,
  .prn-rehome-location-page .prn-rehome-city-grid--cards{grid-template-columns:1fr !important}

  .prn-rehome-hero{margin-left:12px;margin-right:12px}
  .prn-rehome-hero__content{padding:34px 20px}
  .prn-rehome-menu{margin:16px 12px 26px;padding:13px 15px}

  /* More usable width, less desktop-scale whitespace */
  .prn-rehome-intro,
  .prn-rehome-areas,
  .prn-rehome-adoption,
  .prn-rehome-faq,
  .prn-rehome-testimonial,
  .prn-rehome-service-callout{
    padding:38px 18px;
  }

  .prn-rehome-band{
    padding:44px 18px;
    margin:18px 0;
  }

  .prn-rehome-heading{margin-bottom:24px}

  .prn-rehome-feature-grid,
  .prn-rehome-process-grid,
  .prn-rehome-city-grid,
  .prn-rehome-area-grid{grid-template-columns:1fr}

  .prn-rehome-feature-grid,
  .prn-rehome-process-grid{gap:16px}

  .prn-rehome-feature-card,
  .prn-rehome-process-card{padding:21px 19px}

  .prn-rehome-split{
    margin:20px auto;
    padding:26px 18px;
    gap:18px;
  }
  .prn-rehome-split__image{max-width:none}

  .prn-rehome-service-callout__content{padding:25px 20px}
  .prn-rehome-area-note{padding:16px 18px}
  .prn-rehome-testimonial__inner{max-width:none}
  .prn-rehome-testimonial blockquote{padding:22px 20px}
  .prn-rehome-testimonial blockquote p{font-size:1.05rem}

  .prn-rehome-buttons,
  .prn-rehome-adoption-links{
    flex-direction:column;
    align-items:stretch;
    gap:11px;
    margin-top:20px;
  }
  .prn-rehome-button,.prn-rehome-text-link{text-align:center}

  .prn-rehome-final-cta{
    margin-top:24px;
    padding:48px 20px;
  }

  .prn-rehome-faq-item summary{padding:16px 46px 16px 18px}
}
