/* Shared company directory: names and body copy remain readable on small screens. */
.pd-directory{--pd-ink:#0b192e;--pd-muted:#44536a;--pd-yellow:#ffbf12;color:var(--pd-ink);font-size:17px;line-height:1.65;text-align:left}
.pd-directory *{box-sizing:border-box}
.pd-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
.pd-directory .pd-filter{border:1px solid #b7c4d4;background:#fff;color:#24354e;border-radius:12px;padding:10px 16px;font:inherit;font-size:17px;font-weight:750;cursor:pointer;min-height:48px}
.pd-directory .pd-filter.is-active{background:#ffbf12;color:#0b192e;border-color:#ffbf12;box-shadow:0 0 0 2px #ffbf1240}
.pd-directory :is(a,button,input,select):focus-visible{outline:3px solid #1672c8;outline-offset:4px}
.pd-toolbar{display:flex;align-items:end;gap:18px;margin-bottom:14px}
.pd-search-label{display:grid;gap:7px;font-size:16px;font-weight:750;color:inherit;width:min(100%,440px)}
.pd-directory .pd-search{width:100%;border:1px solid #9caec4;border-radius:12px;background:#fff;color:#10213a;padding:13px 16px;font:inherit;font-size:17px;min-height:52px}
.pd-search::placeholder{color:#607088;opacity:1}
.pd-directory .pd-status{font-size:16px;margin:16px 0 24px;color:inherit;font-weight:650}
.pd-category-section{margin:0 0 44px;scroll-margin-top:130px}
.pd-category-header{margin-bottom:20px}
.pd-directory .pd-category-header h3{margin:0 0 7px;color:inherit;font-size:29px;line-height:1.35;letter-spacing:-.04em;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.pd-directory .pd-count{font-size:16px;font-weight:700;border:1px solid currentColor;border-radius:99px;padding:3px 12px;letter-spacing:0}
.pd-directory .pd-category-header p{margin:0;font-size:17px;color:inherit;line-height:1.65}
.pd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.pd-grid.pd-liquor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pd-directory .pd-network-card{min-width:0;border-radius:22px;background:#071326;color:#fff;padding:clamp(28px,4vw,48px);display:flex;flex-direction:column;border:1px solid #213655;box-shadow:0 8px 24px #06152a10}
.pd-network-label{align-self:flex-start;background:#ffbf12;color:#071326;padding:7px 13px;border-radius:8px;font-size:16px;font-weight:850}
.pd-directory .pd-network-title{margin:30px 0 24px;color:#fff;font-size:clamp(25px,2.6vw,34px);line-height:1.45;letter-spacing:-.04em;font-weight:850}
.pd-network-title strong{display:block;color:#ffca2c;font-size:clamp(76px,8vw,108px);letter-spacing:-.06em;line-height:1.12;margin:16px 0}
.pd-network-title>span{display:block}
.pd-directory .pd-network-intro{font-size:22px;line-height:1.65;color:#fff;margin:0 0 27px;font-weight:750}
.pd-network-features{padding:0;margin:0 0 32px;list-style:none;display:grid;gap:18px}
.pd-network-features li{position:relative;padding-left:25px;color:#e4ecf6;font-size:18px;line-height:1.7}
.pd-network-features li:before{content:'✓';position:absolute;left:0;color:#ffca2c;font-weight:850}
.pd-network-foot{margin-top:auto;border-top:1px solid #3b4d64;padding-top:24px}
.pd-directory .pd-network-foot p{color:#e4ecf6;font-size:18px;line-height:1.8;margin:0 0 24px}
.pd-network-foot small{display:block;color:#cbd7e5;font-size:14px;line-height:1.7;margin-top:16px}
@media(max-width:600px){.pd-grid.pd-liquor-grid{grid-template-columns:minmax(0,1fr)}.pd-directory .pd-network-card{padding:28px 24px}.pd-directory .pd-network-title{font-size:27px}.pd-directory .pd-network-intro{font-size:21px}}
.pd-directory .pd-card{min-width:0;overflow:hidden;background:#fff;color:var(--pd-ink);border:1px solid #d5dce6;border-radius:22px;display:flex;flex-direction:column;box-shadow:0 8px 24px #06152a10}
.pd-directory .pd-media{margin:0;position:relative;background:#f4f1e9;aspect-ratio:8/5;overflow:hidden}
.pd-directory .pd-media img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
.pd-directory .pd-media img.pd-contain{object-fit:cover;padding:0}
.pd-directory .pd-image-note{position:absolute;bottom:10px;right:10px;background:#0b192ee8;color:#fff;font-size:13px;font-weight:600;padding:4px 8px;border-radius:6px;max-width:90%}
.pd-image-fallback{height:100%;display:flex;align-items:center;justify-content:center;font-size:28px;background:#ffbf12;color:#0b192e;padding:24px}
.pd-card-body{padding:25px;display:flex;flex-direction:column;flex:1}
.pd-card-category{align-self:flex-start;background:#fff0bc;color:#634700;padding:5px 10px;font-size:15px;font-weight:750;border-radius:7px;margin-bottom:12px}
.pd-directory .pd-name{font-size:25px;line-height:1.4;letter-spacing:-.04em;margin:0 0 16px;color:#0b192e;overflow-wrap:anywhere;word-break:keep-all}
.pd-directory .pd-headline{font-size:19px;line-height:1.65;color:#26374e;font-weight:750;margin:0 0 20px;word-break:keep-all;overflow-wrap:anywhere}
.pd-directory .pd-features{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:11px}
.pd-directory .pd-features li{font-size:17px;line-height:1.65;color:#44536a;padding-left:21px;position:relative;word-break:keep-all;overflow-wrap:anywhere}
.pd-features li::before{content:'✓';color:#936400;position:absolute;left:0;font-weight:800}
.pd-card-foot{margin-top:auto}
.pd-directory .pd-region{font-size:16px;color:#44536a;border-top:1px solid #dce3ec;padding-top:16px;margin:0 0 17px}
.pd-directory .pd-button{display:flex;align-items:center;justify-content:center;min-height:56px;padding:13px 18px;background:#ffbf12;color:#071326;border:0;border-radius:12px;text-decoration:none;font:inherit;font-size:18px;font-weight:850;text-align:center;line-height:1.5;cursor:pointer}
.pd-directory .pd-button:hover{background:#ffd35c}
.pd-directory .pd-secondary-link{display:block;color:inherit;font-size:17px;font-weight:700;margin-top:16px;text-decoration:underline;text-underline-offset:4px}
.pd-directory .pd-empty{background:#f3f6fa;color:#203149;border:1px solid #cbd5e2;padding:30px;border-radius:18px;max-width:760px;font-size:18px}
.pd-directory .pd-empty strong{font-size:22px;color:#0b192e}
.pd-directory .pd-empty p{font-size:17px;color:#44536a;margin:8px 0 18px}
.pd-directory .pd-empty .pd-button{width:fit-content;max-width:100%}
.pd-directory .pd-disclosure{font-size:16px;line-height:1.8;margin:22px 0;color:inherit}
.pd-directory .pd-all-link{display:flex;justify-content:center;padding:17px;border:1px solid currentColor;border-radius:12px;font-size:19px;color:inherit;font-weight:800;text-decoration:none}
#franchise .pd-directory{color:#edf3fc}
#franchise .pd-directory .pd-category-header{color:#f2f6ff}
.pd-page{margin:0;background:#f5f6f8;color:#0b192e;font-family:Arial,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}
.pd-page *{box-sizing:border-box}
.pd-page a{color:inherit}
.pd-page-header{background:#071326;color:#fff;padding:22px max(24px,calc((100% - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.pd-page-header>a{color:#ffbf12;text-decoration:none;font-size:28px;font-weight:900}
.pd-page-header nav{display:flex;gap:22px;flex-wrap:wrap;font-size:17px;font-weight:700}
.pd-page-header nav a{text-decoration:none;min-height:44px;display:flex;align-items:center}
.pd-page main{max-width:1328px;margin:auto;padding:52px 24px 70px}
.pd-page-hero{margin:0 0 38px}
.pd-page-hero>span{font-size:16px;font-weight:750;color:#805700}
.pd-page-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.3;margin:10px 0 18px;letter-spacing:-.05em;word-break:keep-all}
.pd-page-hero p{font-size:19px;line-height:1.8;color:#44536a;max-width:760px;margin:0}
.pd-page-join{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#071326;color:#fff;padding:32px;border-radius:20px;margin-top:44px;flex-wrap:wrap}
.pd-page-join strong{font-size:24px}.pd-page-join p{font-size:17px;line-height:1.7;color:#dbe4f1;margin:10px 0 0}
.pd-page-join a{padding:16px 22px;border-radius:12px;background:#ffbf12;color:#071326;font-size:19px;font-weight:850;text-decoration:none}
.pd-page footer{background:#e8edf3;padding:28px 24px;text-align:center;color:#394b63;font-size:16px;line-height:1.9}
.pd-page footer a{margin:0 10px}
@media(max-width:1100px){.pd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pd-card-body{padding:22px}}
@media(max-width:600px){.pd-grid{grid-template-columns:minmax(0,1fr);gap:22px}.pd-directory .pd-filter{font-size:16px;padding:9px 12px}.pd-filters{gap:7px}.pd-directory .pd-category-header h3{font-size:26px}.pd-directory .pd-name{font-size:25px}.pd-card-body{padding:23px}.pd-directory .pd-button{font-size:19px}.pd-directory .pd-empty{padding:23px}.pd-directory .pd-image-note{font-size:13px}.pd-page main{padding:34px 18px 48px}.pd-page-header{padding:16px 18px}.pd-page-header nav{gap:16px;font-size:16px}.pd-page-join{padding:25px}.pd-page-join a{width:100%;text-align:center}.pd-category-section{margin-bottom:34px}}

/* Keep the introduction readable on the homepage navy section. */
html.sg-photo-layout body #franchise .franchise-heading p{color:#e1e9f5!important;font-size:18px!important;line-height:1.75!important}

/* Keep the model disclaimer clear of NEXT's lower-right company name. */
.pd-directory .pd-media:has(img[src*="/next-tax-manager-"]) .pd-image-note{top:10px;left:10px;bottom:auto;right:auto}
.pd-page-join strong{word-break:keep-all;overflow-wrap:anywhere}
.pd-directory .pd-profile-title{color:inherit;text-decoration:none}
.pd-directory .pd-profile-title:hover{text-decoration:underline}
.pd-directory .pd-profile-image{display:block;width:100%;height:100%;color:inherit}


/* Keep the casual liquor poster's headline and bottom slogan unobstructed. */
.pd-directory .pd-media:has(img[src*="/liquor-all-drinks-"]){aspect-ratio:auto;background:#fff6da}
.pd-directory .pd-media img[src*="/liquor-all-drinks-"]{height:auto;aspect-ratio:1586/992;object-fit:cover;padding:0}
.pd-directory .pd-media:has(img[src*="/liquor-all-drinks-"]) .pd-image-note{position:static;display:block;max-width:none;margin:0;border-radius:0;background:#fff6da;color:#624600;padding:5px 12px;font-size:12px;text-align:right}

/* Show the square repair poster without cropping or covering its lettering. */
.pd-directory .pd-media:has(img[src*="/refrigerator-repair-"]){aspect-ratio:auto;background:#ffbf12}
.pd-directory .pd-media img[src*="/refrigerator-repair-"]{height:auto;aspect-ratio:1;object-fit:cover;padding:0}
.pd-directory .pd-media:has(img[src*="/refrigerator-repair-"]) .pd-image-note{position:static;display:block;max-width:none;margin:0;border-radius:0;background:#fff6da;color:#624600;padding:5px 12px;font-size:12px;text-align:right}

/* Category selection guides: readable on the navy home section and light directory. */
.pd-directory .pd-guide-link{display:inline-block;margin-top:12px;padding:10px 15px;border:1px solid #bac8d9;border-radius:10px;color:#152b47;background:#fff;font-size:18px;font-weight:800;line-height:1.5;text-decoration:none}
#franchise .pd-directory .pd-guide-link{background:#ffce32;border-color:#ffce32;color:#071426}
.pd-guide-nav{margin:0 0 28px;padding:18px 22px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;color:#102238;font-size:18px}
.pd-guide-nav summary{cursor:pointer;font-weight:800}.pd-guide-nav nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.pd-guide-nav a{display:block;padding:10px 14px;border-radius:10px;background:#fff3c5;color:#172b46;text-decoration:none;font-weight:700}

/* Full directory: concise controls and company-first results. */
body.pd-page{background:#f7f8fa}
body.pd-page .pd-page-header{background:#fff;color:#071326;border-bottom:1px solid #e1e5eb;padding:10px max(20px,calc((100% - 1120px)/2));min-height:62px}
body.pd-page .pd-page-header>a{background:#ffbc16;color:#071326;font-size:20px;letter-spacing:-.06em;padding:3px 10px;border-radius:7px}
body.pd-page .pd-page-header nav{font-size:15px;gap:20px}
body.pd-page main{max-width:1160px;padding:30px 20px 36px}
body.pd-page .pd-page-hero{margin-bottom:22px}
body.pd-page .pd-page-hero h1{font-size:30px;line-height:1.3;margin:0 0 8px;letter-spacing:-.04em}
body.pd-page .pd-page-hero p{font-size:16px;line-height:1.6;margin:0}
body.pd-page .pd-toolbar{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);gap:12px;margin:0;padding:16px;border:1px solid #e1e5eb;border-radius:14px;background:#fff}
body.pd-page :is(.pd-select-label,.pd-search-label){display:grid;gap:6px;font-size:14px;color:#526074;font-weight:700;width:auto;min-width:0}
body.pd-page :is(.pd-category-select,.pd-search){width:100%;min-width:0;min-height:48px;border:1px solid #c5ceda;border-radius:9px;background:#fff;color:#071326;font:inherit;font-size:16px;padding:10px 12px}
body.pd-page .pd-category-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23526074' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:34px}
body.pd-page .pd-status{margin:16px 0;font-size:14px;color:#526074}
body.pd-page .pd-category-section{margin-bottom:26px;scroll-margin-top:20px}
body.pd-page .pd-category-header{margin-bottom:12px}
html body.pd-page .pd-category-header h3{font-size:22px;gap:10px;margin:0}
body.pd-page .pd-count{border:0;background:#eaf0f5;font-size:13px;padding:2px 9px}
body.pd-page .pd-grid,body.pd-page .pd-grid.pd-liquor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.pd-page .pd-card{display:grid;grid-template-columns:150px minmax(0,1fr);border-radius:16px;border-color:#e0e5eb;box-shadow:0 3px 12px #07132604;align-items:start}
body.pd-page .pd-media,body.pd-page .pd-media:has(img){aspect-ratio:1;margin:18px 0 18px 18px;width:132px;background:#f5f6f8;border-radius:10px}
body.pd-page .pd-media img,body.pd-page .pd-media img.pd-contain{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;padding:0}
html body.pd-page .pd-card-body{padding:18px;min-width:0}
body.pd-page .pd-card-category{font-size:13px;background:none;color:#6d5724;padding:0;margin-bottom:5px}
html body.pd-page .pd-directory .pd-name{font-size:22px;line-height:1.35;margin:0 0 8px;letter-spacing:-.035em}
html body.pd-page .pd-directory .pd-headline{font-size:16px;line-height:1.6;font-weight:500;margin:0 0 12px;color:#46566b}
body.pd-page .pd-features{gap:5px;margin:0 0 12px}
html body.pd-page .pd-directory .pd-features li{font-size:14px;line-height:1.6;padding-left:13px}
body.pd-page .pd-features li:before{content:'·';color:#526074}
html body.pd-page .pd-directory .pd-region{font-size:14px;line-height:1.6;border-top:0;padding:0;margin:0 0 12px}
body.pd-page .pd-card-actions{display:flex;gap:8px;flex-wrap:wrap}
html body.pd-page .pd-directory .pd-card-actions>a{display:flex;align-items:center;justify-content:center;flex:1 1 85px;padding:10px 12px;min-height:44px;margin:0;border-radius:8px;text-decoration:none;font-size:15px;font-weight:800;line-height:1.4;text-align:center}
body.pd-page .pd-card-actions .pd-secondary-link{border:1px solid #d4dce6;background:white;color:#142239}
body.pd-page .pd-network-compact{grid-column:1/-1;background:#fff;border:1px solid #e0e5eb;border-radius:12px;padding:16px 18px;font-size:16px}
.pd-network-compact summary{font-weight:700;cursor:pointer}.pd-network-compact p{color:#526074}.pd-network-compact .pd-button{width:fit-content;font-size:16px;min-height:44px}
html body.pd-page .pd-directory .pd-disclosure{font-size:14px;line-height:1.6;color:#526074;margin:18px 0}
body.pd-page .pd-guide-nav{padding:14px 16px;margin:24px 0 0;border-color:#e1e5eb;border-radius:12px;font-size:15px}.pd-page .pd-guide-nav a{font-size:14px;padding:8px 12px}
.pd-page-register{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:20px 0 0;font-size:14px;color:#526074}.pd-page-register a{font-weight:700;min-height:40px;display:flex;align-items:center}
body.pd-page footer{background:#fff;border-top:1px solid #e1e5eb;font-size:14px;padding:20px;line-height:1.7;color:#526074}body.pd-page footer p{margin:8px 0 0}
@media(max-width:1000px){body.pd-page .pd-grid,body.pd-page .pd-grid.pd-liquor-grid{grid-template-columns:1fr}body.pd-page .pd-card{grid-template-columns:190px minmax(0,1fr)}body.pd-page .pd-media,body.pd-page .pd-media:has(img){width:172px}}
@media(max-width:600px){
  body.pd-page main{padding:24px 16px 28px}
  body.pd-page .pd-page-header{padding:8px 16px;min-height:56px}
  body.pd-page .pd-page-header nav{gap:16px;font-size:14px}
  body.pd-page .pd-page-hero h1{font-size:27px}
  body.pd-page .pd-toolbar{grid-template-columns:1fr;padding:14px;gap:10px}
  body.pd-page .pd-card{grid-template-columns:84px minmax(0,1fr);gap:10px 14px;padding:14px}
  body.pd-page .pd-media,body.pd-page .pd-media:has(img){width:84px;margin:0;grid-column:1;grid-row:1/3}
  html body.pd-page .pd-card-body{display:contents;padding:0}
  body.pd-page .pd-card-category{grid-column:2;align-self:end;margin:0}
  html body.pd-page .pd-directory .pd-name{grid-column:2;align-self:start;font-size:20px;margin:0}
  html body.pd-page .pd-directory .pd-headline{grid-column:1/-1;margin:0}
  body.pd-page .pd-features{grid-column:1/-1;margin:0}
  body.pd-page .pd-card-foot{grid-column:1/-1;width:100%}
  body.pd-page .pd-card-actions{margin:0}
  body.pd-page .pd-grid{gap:12px}
}

/* Combine category, published location and keyword without squeezing mobile controls. */
.pd-directory [hidden]{display:none!important}
html body .pd-directory .pd-toolbar{display:grid;grid-template-columns:minmax(170px,.4fr) minmax(0,1fr);align-items:end;gap:12px}
html body.pd-page .pd-directory-full .pd-toolbar{grid-template-columns:minmax(150px,.65fr) minmax(140px,.55fr) minmax(0,1.35fr)}
html body .pd-directory .pd-select-label{display:grid;gap:6px;min-width:0;font-size:16px;font-weight:650}
html body .pd-directory .pd-search-label{min-width:0;width:100%}
html body .pd-directory .pd-region-select{width:100%;min-width:0;min-height:48px;border:1px solid #c5ceda;border-radius:9px;background:#fff;color:#071326;font:inherit;font-size:16px;padding:10px 34px 10px 12px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23526074' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
html body .pd-directory .pd-region-help{margin:10px 0 0;font-size:14px;font-weight:400;line-height:1.5;color:inherit}
html body.pd-page .pd-directory .pd-region-help{color:#526074}
html body .pd-directory .pd-clear-filter{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;margin-top:8px;border:1px solid #b9c9df;border-radius:9px;background:#edf3fc;color:#173d62;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
html body .pd-directory .pd-toolbar.pd-toolbar-liquor{grid-template-columns:minmax(0,1fr)}
html body.pd-page .pd-directory-full .pd-toolbar.pd-toolbar-liquor{grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr)}
@media(max-width:720px){
 html body .pd-directory .pd-toolbar{grid-template-columns:minmax(0,1fr)}
 html body.pd-page .pd-directory-full .pd-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body.pd-page .pd-directory-full .pd-search-label{grid-column:1/-1}
 html body.pd-page .pd-directory-full .pd-toolbar.pd-toolbar-liquor{grid-template-columns:minmax(0,1fr)}
}



/* Keep the final site-wide polish from reintroducing letterboxing. */
html body.sg-polish.pd-page .pd-directory .pd-media img{object-fit:cover!important;padding:0}
