/* v0.5.180 — Triangle Senior Resources Directory; narrow selectors to this page. */
.ths-senior-directory{--dir-ink:#243d53;--dir-navy:#234760;--dir-text:#536874;--dir-line:#d7e3e9;--dir-tint:#edf4f7;--dir-coral:#a94736;color:#293943}
.ths-senior-directory .ths-section{padding:70px 0}
.ths-senior-directory h1,.ths-senior-directory h2,.ths-senior-directory h3{color:#203f59}
.ths-senior-directory button,.ths-senior-directory input,.ths-senior-directory select{font:inherit}
.ths-senior-directory button{cursor:pointer}
.ths-senior-directory button:focus-visible,.ths-senior-directory input:focus-visible,.ths-senior-directory select:focus-visible,.ths-senior-directory a:focus-visible,.ths-senior-directory summary:focus-visible{outline:3px solid #bc6952;outline-offset:3px}
.ths-senior-directory #directory-results,.ths-senior-directory #find-resources{scroll-margin-top:145px}
.ths-dir-hero{background:linear-gradient(115deg,#eaf2f6 0%,#f7f8f6 58%,#fffaf5 100%);padding:45px 0 110px;border-bottom:1px solid #e2e7e9}
.ths-dir-breadcrumb{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#516b7d;font-size:.79rem;margin:0 0 46px}
.ths-dir-breadcrumb a{text-decoration:none;color:#345e7b}
.ths-dir-breadcrumb span[aria-hidden]{color:#95a7b3}
.ths-dir-hero .ths-eyebrow{margin-bottom:15px;color:#9b4839}
.ths-dir-hero h1{font-size:clamp(2.7rem,5.1vw,4.85rem);line-height:1.05;letter-spacing:-.045em;max-width:1000px;margin:0 0 21px}
.ths-dir-lead{max-width:875px;font-size:clamp(1.05rem,1.55vw,1.18rem);color:#536775;line-height:1.72;margin:0 0 27px}
.ths-dir-lead strong{color:#294e67;font-weight:720}
.ths-dir-hero-facts{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ths-dir-hero-facts span{display:inline-flex;gap:5px;align-items:center;border:1px solid #d3e0e8;border-radius:100px;background:rgba(255,255,255,.68);padding:7px 13px;font-size:.8rem;color:#4c6472}
.ths-dir-hero-facts strong{color:#234760}
.ths-dir-search-section{position:relative;margin-top:-71px;z-index:3}
.ths-dir-search-panel{padding:35px 38px 34px;background:#fff;border:1px solid #d4e2e9;border-radius:23px;box-shadow:0 18px 48px rgba(27,58,82,.10)}
.ths-dir-search-heading{display:grid;grid-template-columns:1.3fr .7fr;gap:38px;align-items:end;margin-bottom:28px}
.ths-dir-search-heading h2{font-size:clamp(1.8rem,2.7vw,2.75rem);margin:0;line-height:1.1}
.ths-dir-search-heading>p{font-size:.89rem;color:#5b6f7a;line-height:1.65;margin:0 0 2px}
.ths-dir-filter-form{display:grid;gap:20px}
.ths-dir-filter-form label{display:block;font-size:.82rem;line-height:1.3;color:#2c4960;font-weight:760;margin:0 0 8px}
.ths-dir-filter-form label span{font-size:.75rem;color:#647582;font-weight:550}
.ths-dir-filter-form input,.ths-dir-filter-form select{width:100%;min-height:51px;border:1px solid #cbd9e1;border-radius:10px;background:#fbfcfd;padding:10px 14px;font-size:.92rem;color:#254359;outline:none}
.ths-dir-filter-form input:focus,.ths-dir-filter-form select:focus{border-color:#557990;box-shadow:0 0 0 3px rgba(72,109,134,.12)}
.ths-dir-filter-form input::placeholder{color:#71818e;opacity:1}
.ths-dir-search-icon-wrap{position:relative}
.ths-dir-search-icon-wrap input{padding-right:50px;font-size:1rem;min-height:60px;background:#f6f9fa}
.ths-dir-search-icon-wrap>span{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.65rem;line-height:1;color:#647d8c;pointer-events:none}
.ths-dir-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ths-dir-extra-search{display:grid;grid-template-columns:minmax(250px,1fr) 1.5fr;align-items:end;gap:25px}
.ths-dir-filter-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:6px}
.ths-dir-filter-hint{font-size:.76rem;line-height:1.5;color:#617683}
.ths-dir-clear{border:0;padding:7px 3px;background:none;color:#a44735;text-decoration:underline;font-size:.82rem;font-weight:750;white-space:nowrap}
.ths-dir-submit{justify-self:start;border:0;border-radius:9px;min-height:51px;padding:12px 24px;background:#234760;color:#fff;font-weight:800;font-size:.9rem}
.ths-dir-submit span{padding-left:9px}
.ths-dir-submit:hover{background:#163c57}
.ths-dir-browse{background:#fff}
.ths-dir-section-top{display:grid;grid-template-columns:1.15fr .85fr;gap:35px;align-items:end;margin-bottom:28px}
.ths-dir-section-top h2{font-size:clamp(2.05rem,3.2vw,3.3rem);line-height:1.08;margin:0}
.ths-dir-section-top>p{margin:0;color:#5e7180;max-width:400px;justify-self:end;font-size:.96rem}
.ths-dir-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ths-dir-topic{min-height:207px;padding:24px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #d7e3e8;border-radius:17px;background:#fff;box-shadow:0 4px 15px rgba(31,63,91,.03);transition:border-color .15s,transform .15s,box-shadow .15s}
.ths-dir-topic:hover,.ths-dir-topic[aria-pressed=true]{border-color:#9bb6c6;transform:translateY(-2px);box-shadow:0 8px 24px rgba(31,63,91,.08)}
.ths-dir-topic-icon{display:grid;place-items:center;width:33px;height:33px;border:1px solid #d4e3eb;border-radius:11px;color:#a54b3d;background:#f6f9fb;font-size:1.4rem;line-height:1}
.ths-dir-topic strong{font-size:1.04rem;color:#294960;line-height:1.28}
.ths-dir-topic>span:nth-of-type(2){font-size:.82rem;color:#657984;line-height:1.5}
.ths-dir-topic small{font-weight:800;color:#a44b3b;font-size:.78rem;margin-top:auto}
.ths-dir-locations{background:#f1f6f8}
.ths-dir-county-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:23px}
.ths-dir-county-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:174px;padding:23px 24px;border:1px solid #d2e0e7;border-radius:17px;background:#fff;text-align:left;transition:border-color .16s,transform .16s}
.ths-dir-county-card:hover,.ths-dir-county-card[aria-pressed=true]{border-color:#91afbf;transform:translateY(-2px)}
.ths-dir-county-card strong{font-family:var(--ths-display);font-size:1.52rem;color:#23465d;font-weight:650}
.ths-dir-county-card span{font-size:.82rem;color:#607685;line-height:1.5}
.ths-dir-county-card b{margin-top:auto;font-size:.79rem;color:#9d4636}
.ths-dir-city-links{display:flex;flex-wrap:wrap;gap:9px}
.ths-dir-city-links button{border:1px solid #cbdce5;border-radius:999px;padding:8px 15px;background:#fff;color:#2e536a;font-size:.84rem;font-weight:710}
.ths-dir-city-links button:hover,.ths-dir-city-links button[aria-pressed=true]{border-color:#799cae;background:#e5eef3}
.ths-dir-results-section{background:#fff}
.ths-dir-results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding-bottom:25px;margin-bottom:25px;border-bottom:1px solid #d9e3e9}
.ths-dir-results-head h2{font-size:clamp(2rem,3vw,3.15rem);max-width:780px}
.ths-dir-results-head p:not(.ths-eyebrow):not(.ths-dir-count){color:#617480;margin:0}
.ths-dir-count{flex:none;border:1px solid #d7e3e9;background:#f2f6f9;padding:8px 15px;border-radius:999px;color:#2b536e;font-size:.83rem;font-weight:760;white-space:nowrap;margin:0}
.ths-dir-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.ths-dir-result{display:flex;flex-direction:column;padding:26px 28px 0;background:#fff;border:1px solid #d8e3e9;border-radius:17px;box-shadow:0 4px 18px rgba(22,57,81,.045);min-width:0;overflow:hidden}
.ths-dir-result[hidden],.ths-dir-no-results[hidden],.ths-dir-more-wrap [hidden]{display:none!important}
.ths-dir-card-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.ths-dir-card-category{font-size:.69rem;font-weight:820;text-transform:uppercase;letter-spacing:.055em;color:#496a7e}
.ths-dir-publisher{border:1px solid #e4cbbb;background:#fcf5f0;border-radius:50px;padding:4px 8px;font-size:.67rem;font-weight:800;color:#90442f}
.ths-dir-result h3{font-size:clamp(1.3rem,2vw,1.62rem);line-height:1.16;margin:0 0 6px}
.ths-dir-subcategory{color:#a04a36;font-size:.79rem;font-weight:700;margin:0 0 15px}
.ths-dir-description{color:#435765;font-size:.93rem;line-height:1.65;margin:0 0 22px}
.ths-dir-card-footer{margin-top:auto;border-top:1px solid #ecf0f2;padding:15px 0 19px}
.ths-dir-service-area{font-size:.79rem;color:#566d7b;margin:0 0 12px}
.ths-dir-service-area strong{color:#2f5167}
.ths-dir-contact-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:.85rem;font-weight:750}
.ths-dir-contact-row a,.ths-dir-detail-body a{color:#235b7b}
.ths-dir-contact-row a:last-child{margin-left:auto}
.ths-dir-detail{margin:0 -28px;border-top:1px solid #dce7ec;background:#f8fafb}
.ths-dir-detail summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 28px;list-style:none;cursor:pointer;color:#31556e;font-size:.81rem;font-weight:800}
.ths-dir-detail summary::-webkit-details-marker{display:none}
.ths-dir-detail summary span{font-size:1.16rem;font-weight:450}
.ths-dir-detail[open] summary span{transform:rotate(45deg)}
.ths-dir-detail-body{border-top:1px solid #e6edf1;padding:18px 28px 19px}
.ths-dir-detail-body p{font-size:.83rem;line-height:1.58;color:#516b79;margin:0 0 12px;overflow-wrap:anywhere}
.ths-dir-detail-body p:last-child{margin-bottom:0}
.ths-dir-detail-body strong{color:#284b62}
.ths-dir-more-wrap{text-align:center;margin-top:32px}
.ths-dir-more-wrap button{min-width:224px}
.ths-dir-no-results{padding:28px;border:1px solid #d6e2e8;border-radius:12px;background:#f6f9fb;color:#39566a}
.ths-dir-no-results button{display:inline;border:0;color:#a64d3c;text-decoration:underline;background:none;font-weight:760}
.ths-dir-help-section{background:#ecf3f5}
.ths-dir-help-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}
.ths-dir-help-grid h2{font-size:clamp(2rem,3.4vw,3.5rem)}
.ths-dir-help-grid p{color:#546d7b;max-width:720px;line-height:1.7;margin:0}
.ths-dir-help-actions{display:grid;gap:12px;justify-items:start}
.ths-dir-help-actions .ths-button{width:100%;text-align:center}
.ths-dir-help-actions small{font-size:.76rem;line-height:1.6;color:#5c6e77}
.ths-dir-faq-section{background:#fff}
.ths-dir-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:55px;row-gap:32px}
.ths-dir-faq-grid article{padding-top:18px;border-top:1px solid #d7e3e8}
.ths-dir-faq-grid h3{font-size:1.35rem;line-height:1.25}
.ths-dir-faq-grid p{color:#5a707c;font-size:.92rem;line-height:1.72;margin:0}
.ths-dir-editorial-note{margin:42px 0 0;padding:18px 23px;border-left:3px solid #b3624d;background:#f6f8f9;color:#58707b;font-size:.84rem}
.ths-dir-noscript{color:#586b77;font-size:.85rem}
/* Make room for the extra navigation item without hiding the desktop telephone. */
@media(min-width:1381px){.ths-nav-v5170{gap:clamp(3px,.43vw,7px)!important}.ths-nav-v5170>li>a,.ths-nav-v5170 .ths-nav-parent-row>a{font-size:clamp(.7rem,.76vw,.81rem)!important}}
@media(max-width:1100px){.ths-dir-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ths-dir-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ths-dir-search-heading{gap:18px}.ths-dir-help-grid{gap:35px}}
@media(max-width:760px){
  .ths-senior-directory .ths-section{padding:56px 0}
  .ths-dir-hero{padding:24px 0 87px}
  .ths-dir-breadcrumb{margin-bottom:32px}
  .ths-dir-search-section{margin-top:-55px}
  .ths-dir-search-panel{padding:24px 19px;border-radius:17px}
  .ths-dir-search-heading,.ths-dir-section-top,.ths-dir-extra-search,.ths-dir-help-grid{grid-template-columns:1fr;gap:15px}
  .ths-dir-search-heading{margin-bottom:20px}
  .ths-dir-filter-grid{grid-template-columns:1fr 1fr;gap:12px}
  .ths-dir-filter-bottom{align-items:flex-start;gap:10px}
  .ths-dir-submit{width:100%}
  .ths-dir-topic-grid,.ths-dir-results-grid,.ths-dir-faq-grid{grid-template-columns:1fr}
  .ths-dir-topic{min-height:175px}
  .ths-dir-section-top>p{justify-self:start;max-width:600px}
  .ths-dir-county-row{grid-template-columns:1fr;gap:10px}
  .ths-dir-county-card{min-height:116px}
  .ths-dir-results-head{flex-direction:column;align-items:flex-start;gap:14px}
  .ths-dir-help-actions .ths-button{max-width:420px}
}
@media(max-width:480px){.ths-dir-filter-grid{grid-template-columns:1fr}.ths-dir-results-head h2{font-size:2rem}.ths-dir-result{padding:23px 20px 0}.ths-dir-detail{margin:0 -20px}.ths-dir-detail summary,.ths-dir-detail-body{padding-left:20px;padding-right:20px}.ths-dir-filter-bottom{flex-direction:column}.ths-dir-city-links{gap:7px}.ths-dir-city-links button{padding:7px 12px}}
@media(prefers-reduced-motion:reduce){.ths-dir-topic,.ths-dir-county-card{transition:none}}

/* v0.5.183 — photographic directory hero aligned with the THS interior-page scale. */
.ths-dir-hero{position:relative;isolation:isolate;min-height:690px;padding:143px 0 125px;overflow:hidden;background:#edf3f7;border:0}
.ths-dir-hero-photo{position:absolute;inset:0 0 0 45%;z-index:-2;overflow:hidden}
.ths-dir-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%}
.ths-dir-hero::before{position:absolute;inset:0;content:"";z-index:-1;pointer-events:none;background:linear-gradient(90deg,#edf3f7 0%,#edf3f7 31%,rgba(237,243,247,.98) 40%,rgba(237,243,247,.85) 51%,rgba(237,243,247,.26) 66%,rgba(237,243,247,0) 84%)}
.ths-dir-hero-inner{position:relative;z-index:1}
.ths-dir-hero-copy{max-width:none;padding-inline:clamp(28px,4.8vw,80px)}
.ths-dir-breadcrumb{margin:0 0 25px;max-width:780px;color:#566b7b;font-size:.78rem}
.ths-dir-breadcrumb a{color:#375a70}
.ths-dir-hero .ths-eyebrow{margin:0 0 19px;color:#984b3d;font-size:.86rem;letter-spacing:.07em}
.ths-senior-directory .ths-dir-hero h1{width:100%;max-width:880px;font-family:var(--ths-display);font-size:clamp(2.85rem,4.35vw,4.7rem);font-weight:700;line-height:1.01;letter-spacing:-.042em;margin:0 0 23px;color:#23445c}
.ths-dir-lead{max-width:770px;font-size:clamp(1rem,1.3vw,1.18rem);line-height:1.72;color:#465f73;margin:0 0 24px}
.ths-dir-hero-facts{gap:12px}
.ths-dir-hero-facts span{font-size:.85rem;padding:9px 14px;background:rgba(255,255,255,.84)}
.ths-dir-hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;max-width:100%;padding:13px 24px;margin:27px 0 0;background:#234760;border:1px solid #234760;border-radius:9px;color:#fff!important;font-size:1rem;font-weight:760;text-decoration:none;line-height:1.3}
.ths-dir-hero-cta:hover,.ths-dir-hero-cta:focus-visible{background:#163b55;border-color:#163b55;color:#fff!important}
.ths-dir-hero-cta span{font-size:1.3em;line-height:0}
.ths-dir-search-section{margin-top:-52px}
@media(min-width:1600px){.ths-dir-hero{min-height:730px;padding-top:160px;padding-bottom:130px}}
@media(max-width:920px){
  .ths-dir-hero{min-height:0;padding:40px 0 100px}
  .ths-dir-hero-photo{inset:0 0 auto 0;height:295px}
  .ths-dir-hero-photo img{object-position:center 28%}
  .ths-dir-hero::before{background:linear-gradient(180deg,rgba(237,243,247,.08) 0%,rgba(237,243,247,.10) 190px,rgba(237,243,247,.98) 295px,#edf3f7 340px,#edf3f7 100%)}
  .ths-dir-hero-copy{padding:0 clamp(22px,4vw,34px)}
  .ths-dir-breadcrumb{margin:0 0 0;min-height:280px;align-content:flex-end;justify-content:flex-start;padding-bottom:18px}
  .ths-senior-directory .ths-dir-hero h1{font-size:clamp(2.65rem,7vw,4.1rem);max-width:740px}
  .ths-dir-lead{max-width:720px}
}
@media(max-width:760px){
  .ths-dir-hero{padding:20px 0 94px}
  .ths-dir-hero-photo{height:250px}
  .ths-dir-hero::before{background:linear-gradient(180deg,rgba(237,243,247,.02) 0%,rgba(237,243,247,.08) 160px,rgba(237,243,247,.98) 249px,#edf3f7 280px,#edf3f7 100%)}
  .ths-dir-breadcrumb{min-height:250px;margin-bottom:4px;font-size:.73rem}
  .ths-dir-hero .ths-eyebrow{font-size:.75rem}
  .ths-senior-directory .ths-dir-hero h1{font-size:clamp(2.4rem,9vw,3.55rem)}
  .ths-dir-lead{font-size:1rem}
  .ths-dir-hero-cta{font-size:.92rem;width:100%;text-align:center}
  .ths-dir-search-section{margin-top:-60px}
}
@media(max-width:480px){
  .ths-dir-hero{padding-bottom:89px}
  .ths-dir-hero-photo{height:210px}
  .ths-dir-hero::before{background:linear-gradient(180deg,rgba(237,243,247,.03) 0%,rgba(237,243,247,.1) 130px,#edf3f7 225px,#edf3f7 100%)}
  .ths-dir-breadcrumb{min-height:220px;gap:7px}
  .ths-senior-directory .ths-dir-hero h1{font-size:clamp(2.2rem,10vw,2.85rem)}
  .ths-dir-hero-facts{gap:8px}
  .ths-dir-hero-facts span{font-size:.76rem;padding:7px 10px}
}
/* Use the same full-width content alignment as other THS photographic heroes. */
.ths-senior-directory .ths-dir-hero-inner{width:100%;max-width:none;margin-inline:0}
/* Feather the photographic edge instead of showing a vertical start line. */
@media(min-width:921px){
  .ths-dir-hero-photo{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 22%);mask-image:linear-gradient(90deg,transparent 0%,#000 22%)}
}

/* v0.5.184 — match the established THS full-width photographic heroes:
   preserve the photo's natural contrast, without a translucent white overlay.
   The new wider crop gives the people more room and avoids oversized faces. */
.ths-senior-directory .ths-dir-hero .ths-eyebrow{
  color:#31516c!important; /* same blue as other THS light-background hero labels */
}
@media(min-width:921px){
  .ths-dir-hero{background:#edf3f7}
  .ths-dir-hero-photo{
    left:44%;
    background:#edf3f7;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 13%);
    mask-image:linear-gradient(90deg,transparent 0%,#000 13%);
  }
  .ths-dir-hero-photo img{
    width:100%;height:100%;object-fit:cover;object-position:50% 49%;
  }
  .ths-dir-hero::before{display:none!important}
}
/* On small screens the photo is a separate top panel, not a translucent overlay. */
@media(max-width:920px){
  .ths-dir-hero-photo img{object-fit:cover;object-position:center 39%}
  .ths-dir-hero::before{
    background:linear-gradient(180deg,transparent 0%,transparent 66%,#edf3f7 99%)!important;
  }
}
@media(max-width:760px){
  .ths-dir-hero::before{
    background:linear-gradient(180deg,transparent 0%,transparent 58%,#edf3f7 99%)!important;
  }
}

/* Desktop picture framing and a protected text column at narrower laptop widths. */
@media(min-width:1600px){
 .ths-dir-hero-photo{left:49%}
}
@media(min-width:921px) and (max-width:1599px){
 .ths-senior-directory .ths-dir-hero h1{max-width:650px;font-size:clamp(2.65rem,4.2vw,4.15rem)}
 .ths-dir-lead{max-width:565px}
}
@media(max-width:480px){
 .ths-dir-breadcrumb{min-height:238px;padding-bottom:8px}
}
