/* TLA Partner Hub 1.0.295 — coherent tier design, readable light notices,
 * and complete Nationwide Partner copy on all public discovery routes.
 * This stylesheet is scoped; the private partner workspace remains white. */

/* Light alerts stay light, but their text MUST be dark and legible. */
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-sos-note {
  background:#fff9eb!important;border:1px solid #e8c888!important;
  color:#2e2617!important;border-radius:17px!important;
}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-sos-note :is(p,strong,span,small) {
  color:#302818!important;-webkit-text-fill-color:#302818!important;
  opacity:1!important;
}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-v1-sos-note .dashicons {
  color:#a35d00!important;-webkit-text-fill-color:#a35d00!important;
}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-match-query-summary {
  background:#eef6ff!important;border:1px solid #d3e6ff!important;
  color:#163652!important;
}
body.tla-ph-public-dark-page .tla-ph-match-fresh .tla-ph-match-query-summary :is(strong,span) {
  color:#163652!important;-webkit-text-fill-color:#163652!important;
  opacity:1!important;
}
/* Match cards use the same source-of-truth sector marks but a clear visual hierarchy. */
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-trusted .tla-ph-row-inner {
  background:linear-gradient(154deg,#1e4974 0%,#153253 60%,#102845 100%)!important;
  border:1px solid #4784bc!important;
  box-shadow:0 9px 30px rgba(0,10,31,.22),inset 0 3px 0 rgba(72,193,255,.32)!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-verified .tla-ph-row-inner {
  background:linear-gradient(150deg,#122b4b,#10223f)!important;
  border:1px solid #365b86!important;
  box-shadow:0 8px 25px rgba(0,8,29,.16)!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-business .tla-ph-row-inner {
  background:#0b1b34!important;border:1px solid #2a4264!important;
  box-shadow:none!important;
}
/* Premium cards are subtly champagne-gold, with dark text and restrained
 * sector-accent icons. Avoid stacked secondary profile boxes and clipped copy. */
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-inner {
  display:flex!important;flex-direction:column!important;
  grid-template-columns:none!important;grid-template-areas:none!important;
  gap:0!important;min-height:0!important;
  background:linear-gradient(140deg,#f4e7c5 0%,#edd8a5 57%,#dfc48a 100%)!important;
  border:2px solid #e9bd55!important;
  box-shadow:0 0 0 1px rgba(251,214,114,.26),0 0 35px rgba(237,184,63,.18),0 18px 45px rgba(0,7,21,.27)!important;
  color:#242a34!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide :is(.tla-ph-row-header,.tla-ph-row-content,.tla-ph-row-footer,.tla-ph-evidence-strip){
  background:transparent!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide :is(.tla-ph-row-identity h3,.tla-ph-row-identity,.tla-ph-row-summary,.tla-ph-row-location,.tla-ph-row-reasons li,.tla-ph-row-details p,.tla-ph-row-details h4,.tla-ph-row-more>summary,.tla-ph-review-summary,.tla-ph-review-summary strong,.tla-ph-row-availability,.tla-ph-row-offer,.tla-ph-evidence-strip span) {
  color:#293346!important;-webkit-text-fill-color:#293346!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-summary {
  display:block!important;max-height:none!important;height:auto!important;overflow:visible!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
  white-space:pre-line!important;font-size:14px!important;line-height:1.65!important;
  margin:13px 0 16px!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-pills>span:not(.tla-ph-fit-rating),
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-services li {
  background:rgba(255,255,255,.58)!important;border-color:rgba(131,102,46,.4)!important;
  color:#344254!important;-webkit-text-fill-color:#344254!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-services li {
  white-space:normal!important;max-width:100%!important;overflow-wrap:anywhere!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-pills .tla-ph-row-nationwide {
  background:#463218!important;color:#ffe1a6!important;-webkit-text-fill-color:#ffe1a6!important;border-color:#a87924!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-evidence-strip {
  border-color:rgba(124,95,38,.35)!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-footer {
  margin-top:auto!important;border-top:1px solid rgba(111,84,34,.28)!important;
  background:rgba(255,255,255,.24)!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-details-link {
  color:#173954!important;-webkit-text-fill-color:#173954!important;
  background:rgba(255,255,255,.65)!important;border:1px solid #baa064!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-trust {
  background:#0b1934!important;border-radius:12px!important;padding:5px!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-match-sector-label span {
  color:#24314b!important;-webkit-text-fill-color:#24314b!important;
}
/* No duplication of Nationwide profiles, no hiding a business paragraph.
 * Keep section-specific service pills visible across the available width. */
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row .tla-ph-row-services{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-width:100%!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row .tla-ph-row-services li{
  flex:0 1 auto!important;max-width:100%!important;white-space:normal!important;
}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-business :is(.tla-ph-row-reasons,.tla-ph-row-more,.tla-ph-evidence-strip,.tla-ph-row-trust){display:none!important}
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-verified :is(.tla-ph-row-reasons,.tla-ph-row-more){display:none!important}
/* Nationwide listing cards in all public directories use the same warm
 * premium surface. Logo frames stay white so actual artwork is never tinted. */
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-nationwide,
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card {
  background:linear-gradient(140deg,#f4e7c5,#e7cfa0)!important;
  border:2px solid #e4ba63!important;
  box-shadow:0 0 24px rgba(233,186,87,.16),0 12px 33px rgba(0,7,24,.19)!important;
  color:#28354a!important;
}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-nationwide :is(h2,h3,h4,strong,p,small,.tla-ph-directory-description,.tla-ph-directory-location),
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card :is(h4,p,small){
  color:#26384d!important;-webkit-text-fill-color:#26384d!important;
}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-nationwide :is(.tla-ph-directory-description,.tla-ph-directory-details),
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card>p {
  max-height:none!important;overflow:visible!important;display:block!important;
  white-space:pre-line!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;
}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card .tla-ph-region-national-link {
  color:#174775!important;-webkit-text-fill-color:#174775!important;text-decoration:underline;
}
body.tla-ph-public-dark-page .tla-ph-regional-hub .tla-ph-region-national-card .tla-ph-region-national-pill {
  background:#453115!important;border-color:#ab7a23!important;color:#ffe8b3!important;-webkit-text-fill-color:#ffe8b3!important;
}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-visibility-trusted{
  background:linear-gradient(145deg,#1b426b,#163051)!important;border-color:#5187ba!important;
}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-visibility-verified{
  background:#102a48!important;border-color:#365b83!important;
}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-basic{
  background:#0b1a31!important;border-color:#273f60!important;
}
body.tla-ph-public-dark-page .tla-ph-shell .tla-ph-directory-card.is-nationwide .tla-ph-directory-tags span {
  background:rgba(255,255,255,.60)!important;color:#294a61!important;-webkit-text-fill-color:#294a61!important;
  border-color:rgba(109,87,38,.33)!important;
}
/* Partner's own public profile: complete long nationwide About text. */
body.tla-ph-public-dark-page .tla-pp[data-tla-partner-nationwide="1"] :is(.tla-pp-prose,.tla-pp-hero-profile-copy){
  max-height:none!important;overflow:visible!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
}
@media(max-width:767px){
 body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide .tla-ph-row-inner{border-radius:19px!important}
 body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-nationwide :is(.tla-ph-row-identity h3,.tla-ph-row-summary){overflow-wrap:anywhere!important}
}

@media(min-width:1024px){
  body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-lead-pair[data-count="1"] {
    max-width:1080px!important;margin-inline:auto!important;
  }
  body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-list.is-nationwide:not(:has(.tla-ph-lead-pair)):has(> :only-child) {
    max-width:1080px!important;margin-inline:auto!important;
  }
}

/* Basic directory exposure is intentionally only identity + short copy + actions.
   No decorative fit badges or expanded premium information on the basic card. */
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-business .tla-ph-row-pills,
body.tla-ph-public-dark-page .tla-ph-shell.tla-ph-match-fresh .tla-ph-results-292 .tla-ph-match-row.is-visibility-business .tla-ph-row-status{display:none!important}
