/* Pet Rehoming Network — Happy Tails Hub v1.4 */
.prn-happy-tails{--prn-blue:#155fa0;--prn-blue-dark:#0b416f;--prn-green:#2f7d4b;--prn-cream:#fffaf2;--prn-ink:#24313b;--prn-muted:#5d6972;--prn-border:#dce5eb;--prn-white:#fff;color:var(--prn-ink);font-size:17px;line-height:1.7}
.prn-happy-tails *{box-sizing:border-box}.prn-happy-tails .prn-ht-wrap{width:min(1160px,calc(100% - 40px));margin:0 auto}.prn-happy-tails .prn-ht-narrow{max-width:850px}.prn-happy-tails h1,.prn-happy-tails h2,.prn-happy-tails h3{line-height:1.2;margin-top:0;color:#17334a}.prn-happy-tails h1{font-size:clamp(2.35rem,5vw,4.25rem);margin-bottom:20px}.prn-happy-tails h2{font-size:clamp(1.9rem,3.4vw,2.8rem);text-align:center;margin-bottom:20px}.prn-happy-tails h3{font-size:1.25rem;margin-bottom:10px}.prn-happy-tails p{margin:0 0 18px}.prn-happy-tails .prn-ht-eyebrow{display:block;width:100%;text-align:center;margin:0 0 12px;font-size:.78rem;line-height:1.4;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--prn-blue)}
.prn-happy-tails .prn-ht-hero{padding:82px 0 76px;text-align:center;background:linear-gradient(180deg,#eef7fd 0%,#fff 100%);border-bottom:1px solid var(--prn-border)}.prn-happy-tails .prn-ht-hero .prn-ht-wrap{max-width:950px}.prn-happy-tails .prn-ht-lead{max-width:880px;margin:0 auto 28px;font-size:1.15rem;color:#405361}.prn-happy-tails .prn-ht-buttons{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}.prn-happy-tails .prn-ht-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:7px;font-weight:800;text-decoration:none!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.prn-happy-tails .prn-ht-btn:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(18,54,82,.14)}.prn-happy-tails .prn-ht-btn-primary{background:var(--prn-blue);color:#fff!important}.prn-happy-tails .prn-ht-btn-primary:hover{background:var(--prn-blue-dark)}.prn-happy-tails .prn-ht-btn-secondary{background:#fff;color:var(--prn-blue)!important;border:2px solid var(--prn-blue)}
.prn-happy-tails .prn-ht-menu{display:flex;justify-content:center;gap:8px 24px;flex-wrap:wrap;padding:15px 20px;background:var(--prn-blue-dark);position:relative;z-index:2}.prn-happy-tails .prn-ht-menu a{color:#fff!important;text-decoration:none!important;font-size:.94rem;font-weight:700}.prn-happy-tails .prn-ht-menu a:hover{text-decoration:underline!important}.prn-happy-tails .prn-ht-section{padding:68px 0}.prn-happy-tails .prn-ht-intro{text-align:center}.prn-happy-tails .prn-ht-intro p:not(.prn-ht-eyebrow){text-align:left}.prn-happy-tails .prn-ht-promise{
  margin:26px 0 0;
  padding:0;
  border:0;
  background:transparent;
  font-size:inherit;
  font-weight:400;
  text-align:left;
}
.prn-happy-tails .prn-ht-stories{background:var(--prn-cream)}.prn-happy-tails .prn-ht-section-intro{max-width:820px;margin:0 auto 34px;text-align:center;color:var(--prn-muted)}.prn-happy-tails .prn-ht-post-feed{margin-top:30px}.prn-happy-tails .prn-ht-grid{display:grid;gap:24px;margin-top:34px}.prn-happy-tails .prn-ht-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.prn-happy-tails .prn-ht-card{height:100%;padding:28px;background:#fff;border:1px solid var(--prn-border);border-radius:12px;box-shadow:0 7px 24px rgba(28,57,78,.07)}.prn-happy-tails .prn-ht-card p:last-child{margin-bottom:0}.prn-happy-tails .prn-ht-number{display:flex;width:42px;height:42px;align-items:center;justify-content:center;margin:0 auto 16px;border-radius:50%;background:var(--prn-blue);color:#fff;font-weight:900}.prn-happy-tails .prn-ht-process{background:#f4f8fb}.prn-happy-tails .prn-ht-process .prn-ht-card{text-align:center}.prn-happy-tails .prn-ht-meaning .prn-ht-card{border-top:4px solid var(--prn-green)}
.prn-happy-tails .prn-ht-quote{padding:52px 0;background:var(--prn-blue-dark);color:#fff}.prn-happy-tails .prn-ht-quote blockquote{margin:0;padding:0;border:0;text-align:center}.prn-happy-tails .prn-ht-quote blockquote p{margin:0;color:#fff;font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.5;font-weight:700;font-style:italic}.prn-happy-tails .prn-ht-cta{text-align:center;background:linear-gradient(135deg,#eef7fd,#f2faf5)}.prn-happy-tails .prn-ht-cta p{max-width:800px;margin-left:auto;margin-right:auto}.prn-happy-tails .prn-ht-final{text-align:center}.prn-happy-tails .prn-ht-final p{max-width:820px;margin-left:auto;margin-right:auto}.prn-happy-tails a:focus-visible{outline:3px solid #f0b429;outline-offset:3px}
@media(max-width:850px){.prn-happy-tails .prn-ht-grid-3{grid-template-columns:1fr}.prn-happy-tails .prn-ht-card{max-width:650px;width:100%;margin:0 auto}.prn-happy-tails .prn-ht-section{padding:54px 0}.prn-happy-tails .prn-ht-hero{padding:62px 0 58px}}
@media(max-width:560px){.prn-happy-tails{font-size:16px}.prn-happy-tails .prn-ht-wrap{width:min(100% - 28px,1160px)}.prn-happy-tails .prn-ht-menu{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:10px}.prn-happy-tails .prn-ht-buttons{display:grid}.prn-happy-tails .prn-ht-btn{width:100%}.prn-happy-tails .prn-ht-card{padding:23px}.prn-happy-tails .prn-ht-hero{padding:48px 0}.prn-happy-tails .prn-ht-section{padding:46px 0}}

/* v1.1 — Happy Tails branded image hero */
.prn-happy-tails .prn-ht-hero.prn-ht-hero-image{
  padding:0;
  background:#0b416f;
  border-bottom:0;
  line-height:0;
  overflow:hidden;
}
.prn-happy-tails .prn-ht-hero-image img{
  display:block;
  width:100%;
  height:auto;
  margin:0;
}


/* v1.2 — remove orphaned editor spacing around hero/sections */
.prn-happy-tails > p:empty,
.prn-happy-tails section > p:empty,
.prn-happy-tails nav + p:empty,
.prn-happy-tails .prn-ht-intro p:empty{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
  height:0 !important;
}
.prn-happy-tails .prn-ht-hero.prn-ht-hero-image{
  margin:0 !important;
  padding:0 !important;
}
.prn-happy-tails .prn-ht-hero-image + .prn-ht-menu{
  margin-top:0 !important;
}


/* v1.4 — Happy Tails story cards */
.prn-happy-tails .prn-ht-tails-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
.prn-happy-tails .prn-ht-tail-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--prn-border);border-radius:14px;box-shadow:0 8px 26px rgba(28,57,78,.08);transition:transform .18s ease,box-shadow .18s ease}
.prn-happy-tails .prn-ht-tail-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(28,57,78,.13)}
.prn-happy-tails .prn-ht-tail-image{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#eaf2f7;text-decoration:none!important}
.prn-happy-tails .prn-ht-tail-image img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.prn-happy-tails .prn-ht-tail-image-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:4rem}
.prn-happy-tails .prn-ht-featured-badge{position:absolute;left:16px;bottom:16px;padding:7px 11px;border-radius:999px;background:var(--prn-green);color:#fff;font-size:.72rem;line-height:1.2;font-weight:900;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 3px 10px rgba(0,0,0,.18)}
.prn-happy-tails .prn-ht-tail-body{display:flex;flex:1;flex-direction:column;padding:24px}
.prn-happy-tails .prn-ht-tail-kicker{margin:0 0 9px;color:var(--prn-green);font-size:.75rem;line-height:1.45;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
.prn-happy-tails .prn-ht-tail-card h3{margin:0 0 12px;font-size:1.32rem;line-height:1.28}
.prn-happy-tails .prn-ht-tail-card h3 a{color:#17334a!important;text-decoration:none!important}
.prn-happy-tails .prn-ht-tail-card h3 a:hover{color:var(--prn-blue)!important}
.prn-happy-tails .prn-ht-tail-excerpt{margin:0 0 20px;color:#4d5d68;font-size:.96rem;line-height:1.65}
.prn-happy-tails .prn-ht-tail-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding-top:16px;border-top:1px solid #e8eef2}
.prn-happy-tails .prn-ht-tail-link{font-weight:800;color:var(--prn-blue)!important;text-decoration:none!important}
.prn-happy-tails .prn-ht-tail-link:hover{text-decoration:underline!important}
.prn-happy-tails .prn-ht-tail-species{flex:0 0 auto;color:var(--prn-muted);font-size:.82rem;font-weight:700}
.prn-happy-tails .prn-ht-tail-card-featured{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
.prn-happy-tails .prn-ht-tail-card-featured .prn-ht-tail-image{height:100%;min-height:390px;aspect-ratio:auto}
.prn-happy-tails .prn-ht-tail-card-featured .prn-ht-tail-body{padding:32px}
.prn-happy-tails .prn-ht-tail-card-featured h3{font-size:clamp(1.55rem,2.3vw,2.05rem)}
.prn-happy-tails .prn-ht-tail-card-featured .prn-ht-tail-excerpt{font-size:1.02rem}
.prn-happy-tails .prn-ht-empty{text-align:center;color:var(--prn-muted);font-style:italic}
@media(max-width:950px){.prn-happy-tails .prn-ht-tails-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prn-happy-tails .prn-ht-tail-card-featured{grid-column:1/-1}}
@media(max-width:650px){.prn-happy-tails .prn-ht-tails-grid{grid-template-columns:1fr}.prn-happy-tails .prn-ht-tail-card-featured{grid-column:auto;display:flex}.prn-happy-tails .prn-ht-tail-card-featured .prn-ht-tail-image{min-height:0;aspect-ratio:4/3}.prn-happy-tails .prn-ht-tail-card-featured .prn-ht-tail-body{padding:24px}.prn-happy-tails .prn-ht-tail-footer{align-items:flex-start;flex-direction:column}}