/* SeekAttorneys Directory. Colors come from the GeneratePress global colors. */

.sa-band { background: var(--contrast-2, #06132e); color: #fff; padding: 2.5rem 1.5rem 3rem; }
.sa-band__inner { max-width: 1200px; margin: 0 auto; }
.sa-band__title { color: #fff; margin: .5rem 0 0; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.2; }
.sa-band__sub { margin: .5rem 0 0; font-size: 1.15rem; opacity: .9; }

.sa-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .95rem; }
.sa-crumbs li + li::before { content: "›"; margin-right: .35rem; opacity: .7; }
.sa-crumbs a { color: #fff; text-decoration: underline; }
.sa-crumbs [aria-current] { opacity: .85; }

.sa-directory #content.site-content { padding-top: 2rem; }
.sa-directory .inside-article { padding-top: 0; }

.sa-btn, .sa-btn:visited { display: inline-block; background: var(--accent, #0b5cc4); color: #fff; border: 2px solid var(--accent, #0b5cc4); border-radius: 4px; padding: .55rem 1rem; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer; }
.sa-btn:hover, .sa-btn:focus { background: var(--accent-2, #094a9e); border-color: var(--accent-2, #094a9e); color: #fff; }
.sa-btn--ghost, .sa-btn--ghost:visited { background: transparent; color: var(--accent, #0b5cc4); }
.sa-btn--ghost:hover, .sa-btn--ghost:focus { background: var(--base, #e6effa); color: var(--accent-2, #094a9e); }
.entry-content a.sa-btn, .entry-content a.sa-btn:visited, .entry-content a.sa-btn:hover, .entry-content a.sa-btn:focus { color: #fff; text-decoration: none; }
.entry-content a.sa-btn--ghost, .entry-content a.sa-btn--ghost:visited { color: var(--accent, #0b5cc4); }
.entry-content a.sa-btn--ghost:hover, .entry-content a.sa-btn--ghost:focus { color: var(--accent-2, #094a9e); }

/* Search form */
.sa-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; background: var(--base-2, #f2f7fa); border: 1px solid var(--base, #e6effa); border-radius: 6px; padding: 1.25rem; margin: 0 0 2rem; }
.sa-search__field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.sa-search select { width: 100%; min-height: 44px; padding: .5rem; border: 1px solid #8a94a6; border-radius: 4px; background: #fff; font-size: 1rem; }
.sa-search .sa-btn { min-height: 44px; width: 100%; }

/* Compact search bar on landing pages: one row on desktop, a "Change search" button on phones. */
.sa-refine { margin: 0 0 1.5rem; }
.sa-refine__toggle { display: none; }
.sa-search--compact { grid-template-columns: 1fr 1fr auto; gap: .75rem; padding: .75rem 1rem; margin: 0; }
.sa-search--compact label { font-size: .85rem; margin-bottom: .15rem; }
.sa-search--compact select, .sa-search--compact .sa-btn { min-height: 40px; }

/* Results */
.sa-results__note { color: #4a5568; font-size: .95rem; }
.sa-results { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.sa-card { position: relative; border: 1px solid #d5dce6; border-radius: 6px; padding: 1.25rem; background: #fff; margin: 0; }
.sa-card--featured { border-color: var(--accent, #0b5cc4); border-width: 2px; }
.sa-card__name { font-size: 1.25rem; margin: 0 0 .25rem; }
.sa-card__name a { color: var(--contrast-2, #06132e); }
.sa-card p { margin: 0 0 .4rem; }
.sa-card__firm { font-weight: 600; }
.sa-card__meta, .sa-card__areas { color: #4a5568; font-size: .95rem; }
.sa-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem !important; }
.sa-badge { display: inline-block; background: var(--contrast-2, #06132e); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; border-radius: 3px; padding: .15rem .5rem; margin-bottom: .5rem; }

/* Related links */
.sa-related { margin: 2rem 0; }
.sa-related h2 { font-size: 1.3rem; }
.sa-related ul { columns: 2 220px; margin: 0; padding-left: 1.2rem; }
.sa-related li { break-inside: avoid; margin-bottom: .35rem; }
/* Link rows (Home "Browse lawyers", state hub grid): plain text links that wrap on phones. */
.sa-linkrow, .sa-related ul.sa-linkrow { display: inline; list-style: none; margin: 0; padding: 0; columns: auto; }
.sa-linkrow li { display: inline; margin: 0; white-space: nowrap; }
.sa-linkrow a, .sa-browse__label, .sa-grid__area { overflow-wrap: normal; word-break: normal; }
.sa-browse__label, .sa-grid__area { white-space: nowrap; }
@media (max-width: 600px) {
	.sa-browse__label, .sa-grid__area { display: block; margin: 0 0 .1rem; }
}
.sa-linkrow li:not(:last-child)::after { content: "\00B7"; margin-left: .45rem; color: #4a5568; }
.sa-browse { margin: 2.5rem 0 1rem; }
.sa-browse h2 { margin-bottom: .5rem; }
.sa-browse__row, .sa-grid__row { margin: 0 0 .6rem; line-height: 1.8; }
.sa-browse__label, .sa-grid__area { font-weight: 600; margin-right: .5rem; }
.sa-grid .sa-grid__area::after { content: ":"; }
.sa-area-of { white-space: nowrap; }
.sa-count { color: #4a5568; font-size: .9rem; }

/* Boxes */
.sa-box { background: var(--base-2, #f2f7fa); border-left: 4px solid var(--accent, #0b5cc4); border-radius: 4px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.sa-box h2 { font-size: 1.3rem; margin-top: 0; }
.sa-intro { margin-bottom: 1.5rem; }
.sa-quick { margin: 0 0 1.25rem; padding: 1rem 1.25rem; }
.sa-quick p { margin: 0; }
.sa-quick .sa-quick__label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent, #0b5cc4); margin-bottom: .35rem; }
.sa-quick .sa-quick__text { font-size: 1.1rem; line-height: 1.55; }
.sa-intro p { margin-bottom: .9rem; }
.sa-intro .sa-sources { margin: .25rem 0 0; overflow-wrap: anywhere; }
.sa-sources__label { font-weight: 600; }
.sa-small { font-size: .9rem; color: #4a5568; }

/* Profile */
.sa-profile { max-width: 820px; } /* the profile wrapper div; page-type body classes use "sa-page-" (1.9.1) */
.sa-profile h2 { font-size: 1.35rem; margin: 1.75rem 0 .6rem; }
.sa-profile__address { font-size: 1.1rem; }
.sa-profile__buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.sa-profile__photo img { max-width: 220px; height: auto; border-radius: 6px; }
.sa-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sa-tags li { margin: 0; }
.sa-tags a, .sa-tags li { display: inline-block; }
.sa-tags a { background: var(--base, #e6effa); border-radius: 999px; padding: .3rem .8rem; }
.sa-tags span { display: inline-block; background: var(--base-2, #f2f7fa); border-radius: 999px; padding: .3rem .8rem; color: #2d3748; } /* chip for a page that is not linked yet (1.9.3) */
.sa-license dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 0 0 1rem; }
.sa-license dt { font-weight: 600; }
.sa-license dd { margin: 0; }

/* Profile: directions, Details, Before you call, related lists (1.5.0) */
.sa-directions { display: inline-block; margin-top: .35rem; font-size: .95rem; }
.sa-details dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0 0 .75rem; }
.sa-details dt { font-weight: 600; }
.sa-details dd { margin: 0; }
.sa-before-call p { margin-bottom: .75rem; }
.sa-before-call ol { margin: 0 0 .75rem 1.25rem; }
.sa-before-call li { margin-bottom: .3rem; }
.sa-related--firm ul, .sa-related--more ul { columns: 1; list-style: none; padding-left: 0; }
.sa-related--firm li, .sa-related--more li { margin-bottom: .5rem; }
.sa-related--firm .sa-count, .sa-related--more .sa-count { display: block; font-size: .9rem; }

/* External links open in a new tab (links.php). Small arrow on text links only; screen readers
   get "(opens in a new tab)" from aria-describedby, so the arrow itself is hidden from them. */
a.sa-ext:not(.sa-btn):not(.wp-block-button__link)::after { content: "\2197" / ""; display: inline-block; margin-left: .15em; font-size: .8em; text-decoration: none; }

/* Listing request form */
.sa-form fieldset { border: 1px solid #d5dce6; border-radius: 6px; padding: 1rem 1.25rem; margin: 0 0 1.25rem; }
.sa-form legend { font-weight: 700; padding: 0 .4rem; }
.sa-form__row { margin: 0 0 .9rem; }
.sa-form__row label { display: block; font-weight: 600; margin-bottom: .25rem; }
.sa-form input[type=text], .sa-form input[type=email], .sa-form input[type=tel], .sa-form input[type=url], .sa-form textarea { width: 100%; min-height: 44px; font-size: 1rem; }
.sa-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.sa-form__grid--3 { grid-template-columns: 2fr 1fr 1fr; }
.sa-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem 1rem; }
.sa-checks label, .sa-form__confirm label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.sa-checks input, .sa-form__confirm input { margin-top: .3rem; }
.sa-help { font-size: .9rem; color: #4a5568; margin: -.4rem 0 .9rem; }
.sa-req { font-weight: 400; color: #4a5568; font-size: .9rem; }
.sa-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sa-notice { background: var(--base-2, #f2f7fa); border-left: 4px solid var(--accent, #0b5cc4); padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-radius: 4px; }
.sa-notice p:last-child, .sa-notice ul:last-child { margin-bottom: 0; }
.sa-notice--ok { border-left-color: #2f855a; }
.sa-notice--error { border-left-color: #c53030; background: #fff5f5; }

@media (max-width: 767px) {
	.sa-refine__toggle { display: inline-block; }
	.sa-js .sa-refine:not(.is-open) .sa-search { display: none; }
	.sa-refine.is-open .sa-search { margin-top: .75rem; }
	.sa-band { padding: 1.75rem 1rem 2.25rem; }
	.sa-search { grid-template-columns: 1fr; padding: 1rem; }
	.sa-results { grid-template-columns: 1fr; }
	.sa-form__grid, .sa-form__grid--3 { grid-template-columns: 1fr; }
	.sa-card__actions .sa-btn, .sa-profile__buttons .sa-btn { flex: 1 1 100%; text-align: center; }
	.sa-license dl, .sa-details dl { grid-template-columns: 1fr; gap: 0; }
	.sa-details dd { margin-bottom: .5rem; }
	.sa-license dd { margin-bottom: .5rem; }
}

/* License box: "Check license" button + copy status (1.9.0). */
.sa-barcheck { margin: 1rem 0 .75rem; }
.sa-barcheck__row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 0 0 .4rem; }
.sa-barcheck__status { font-size: .9rem; font-weight: 600; color: #00703c; }
.sa-barcheck__status:empty { display: none; }
.sa-barcheck__help { margin: 0; }
.sa-barnum { font-weight: 700; -webkit-user-select: all; user-select: all; white-space: nowrap; }
/* Find a Lawyer page (1.21.0) */
.sa-crumbs--page { margin: 0 0 1.25rem; }
.sa-crumbs--page a { color: inherit; }
.sa-findall h2 { margin-top: 2rem; }
.sa-findall__cities, .sa-findall__areas-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.sa-findall__cities li { margin: 0 0 .9rem; }
.sa-findall__city { font-weight: 600; }
.sa-findall__areas { display: block; font-size: .95rem; }
.sa-findall__areas-list li { margin: 0 0 .4rem; }
