@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Plumbers home (Night Shift 2026-10-30 design, card ap-f14370c1). Loaded only on
   plumbers via config 'custom_css'; every rule scoped to .ph-home so city and listing
   pages keep the shared look. Bar: thumbtack.com/k/plumbers/near-me. */
.ph-home{--ink:#1d2329;--mute:#5b6570;--line:#e3e6e9;--navy:#0b3150;--navy2:#0e4069;--green:#0f8a5f;--soft:#f6f7f8;
  font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
.ph-home *{box-sizing:border-box}
.ph-home h1,.ph-home h2,.ph-home h3,.ph-home h4,.ph-home p,.ph-home ul{margin:0;padding:0;font-family:inherit;color:inherit}
.ph-home a{color:inherit;text-decoration:none}
.ph-home .wrap{max-width:1080px;margin:0 auto;padding:0 28px}

.ph-home .ph-hero{background:var(--soft);border-bottom:1px solid var(--line)}
.ph-home .ph-hero .wrap{display:grid;grid-template-columns:1fr 470px;gap:56px;align-items:center;padding-top:64px;padding-bottom:64px}
.ph-home .eyebrow{font-size:14px;font-weight:600;color:var(--green);margin-bottom:14px;display:flex;align-items:center;gap:8px}
.ph-home .eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green)}
.ph-home h1{font-size:40px;line-height:1.15;letter-spacing:-.8px;font-weight:700;max-width:540px}
.ph-home .lede{color:var(--mute);font-size:17px;margin:16px 0 28px;max-width:500px}
.ph-home .find{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;max-width:520px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.ph-home .find label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.ph-home .field{display:flex;align-items:center;border:1px solid #c9ced3;border-radius:8px;height:50px;padding:0 14px;gap:10px;margin-bottom:12px;background:#fff}
.ph-home .field svg{flex:none}
.ph-home .field input{border:0;outline:0;font:inherit;font-size:16px;width:100%;color:var(--ink);background:transparent;padding:0;box-shadow:none}
.ph-home .btn{display:block;width:100%;background:var(--navy);color:#fff;font-weight:600;font-size:16px;height:50px;border:0;border-radius:8px;cursor:pointer;text-align:center;line-height:50px;padding:0}
.ph-home .btn:hover{background:var(--navy2)}
.ph-home .photo{position:relative}
.ph-home .photo img{width:100%;height:440px;object-fit:cover;object-position:30% center;border-radius:12px;display:block}
.ph-home .stamp{position:absolute;left:-28px;bottom:28px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 18px;box-shadow:0 8px 24px rgba(11,49,80,.12)}
.ph-home .stamp b{display:block;font-size:24px;letter-spacing:-.4px}
.ph-home .stamp span{font-size:13px;color:var(--mute)}
.ph-home .facts{display:flex;gap:40px;margin-top:30px;font-size:14px;color:var(--mute)}
.ph-home .facts b{display:block;font-size:22px;color:var(--ink);letter-spacing:-.3px}

.ph-home h2{font-size:28px;letter-spacing:-.5px;line-height:1.2;font-weight:700}
.ph-home h2.top{margin-top:48px}
.ph-home .sub{color:var(--mute);margin-top:8px;max-width:680px}
.ph-home .rule{border:0;border-top:1px solid var(--line);margin:28px 0}
.ph-home .grid{display:grid;grid-template-columns:220px 1fr;gap:44px}
.ph-home aside{position:sticky;top:20px;align-self:start}
.ph-home aside h3{font-size:16px;margin-bottom:12px}
.ph-home aside ul{list-style:none;border-right:1px solid var(--line);padding-right:20px}
.ph-home aside li a{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:7px 0;color:var(--ink)}
.ph-home aside li a:hover{color:var(--navy2);text-decoration:underline}
.ph-home aside li span{color:var(--mute)}
.ph-home .listhead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:6px}
.ph-home .listhead h3{font-size:20px;letter-spacing:-.3px}
.ph-home .listhead span{font-size:13px;color:var(--mute)}
.ph-home .pro{display:grid;grid-template-columns:110px 1fr 150px;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);align-items:start}
.ph-home .rank{font-size:14px;font-weight:700;color:var(--mute);padding-top:2px}
.ph-home .pro h4{font-size:17px;font-weight:600}
.ph-home .pro h4 a:hover{text-decoration:underline}
.ph-home .rate{color:var(--green);font-weight:600;font-size:15px;margin:3px 0 6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ph-home .stars{letter-spacing:1px}
.ph-home .rate em{font-style:normal;color:var(--mute);font-weight:400}
.ph-home .meta{font-size:14px;color:var(--mute)}
.ph-home .tag{display:inline-block;font-size:12px;font-weight:600;color:var(--navy);background:#eaf1f7;border-radius:4px;padding:2px 7px;margin-top:8px}
.ph-home .act a{display:block;text-align:center;font-weight:600;font-size:15px;border-radius:8px;padding:11px 0}
.ph-home .act .call{background:var(--navy);color:#fff}
.ph-home .act .call:hover{background:var(--navy2)}
.ph-home .act .view{color:var(--ink);font-size:14px;margin-top:4px;text-decoration:underline;text-underline-offset:3px}
.ph-home .more{display:inline-block;margin-top:20px;font-weight:600;color:var(--navy2)}
.ph-home .more:hover{text-decoration:underline}
.ph-home .note{background:var(--soft);border-left:3px solid var(--navy);padding:16px 20px;margin-top:26px;font-size:15px}

.ph-home .cost{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:72px}
.ph-home .cost .wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;padding-top:60px;padding-bottom:60px;align-items:start}
.ph-home .cost p{color:var(--mute);margin:12px 0 22px;max-width:420px}
.ph-home .cost .btn{max-width:300px}
.ph-home table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:15px}
.ph-home th{font-size:13px;text-align:left;color:var(--mute);font-weight:600;padding:12px 18px;border-bottom:1px solid var(--line)}
.ph-home td{padding:14px 18px;border-bottom:1px solid var(--line)}
.ph-home tr:last-child td{border-bottom:0}
.ph-home td.p{font-weight:600;text-align:right;white-space:nowrap}
.ph-home th.p{text-align:right}
.ph-home .src{font-size:12px;color:var(--mute);margin-top:10px}

.ph-home .cities{padding-top:64px;padding-bottom:24px}
.ph-home .clist{display:grid;grid-template-columns:repeat(4,1fr);gap:0 36px;margin-top:24px;list-style:none}
.ph-home .clist a{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px}
.ph-home .clist a:hover b{text-decoration:underline}
.ph-home .clist b{font-weight:600}
.ph-home .clist span{color:var(--mute)}
.ph-home .how{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;padding:44px 0 72px}
.ph-home .how h3{font-size:17px;margin-bottom:6px}
.ph-home .how p{color:var(--mute);font-size:15px}
.ph-home .how .n{font-size:13px;font-weight:700;color:var(--green);margin-bottom:10px;display:block}

@media (max-width:900px){
  .ph-home .ph-hero .wrap,.ph-home .cost .wrap,.ph-home .grid{grid-template-columns:1fr;gap:28px}
  .ph-home .ph-hero .wrap{padding-top:36px;padding-bottom:40px}
  .ph-home .photo{order:-1}
  .ph-home .photo img{height:220px}
  .ph-home .stamp{left:12px;bottom:12px;padding:8px 12px}
  .ph-home .stamp b{font-size:18px}
  .ph-home .stamp span{font-size:12px}
  .ph-home aside{display:none}
  .ph-home .clist{grid-template-columns:1fr 1fr}
  .ph-home .how{grid-template-columns:1fr;gap:24px}
}
@media (max-width:520px){
  .ph-home .wrap{padding:0 18px}
  .ph-home h1{font-size:29px;letter-spacing:-.5px}
  .ph-home .lede{font-size:16px;margin:12px 0 20px}
  .ph-home h2{font-size:23px}
  .ph-home .facts{gap:22px}
  .ph-home .facts b{font-size:18px}
  .ph-home .pro{grid-template-columns:1fr;gap:10px;padding:18px 0}
  .ph-home .act{display:flex;gap:14px;align-items:center}
  .ph-home .act .call{flex:1}
  .ph-home .act .view{margin:0}
  .ph-home .clist{grid-template-columns:1fr}
  .ph-home .listhead{flex-direction:column;gap:2px}
  .ph-home table{font-size:14px}
  .ph-home th,.ph-home td{padding:11px 12px}
}
