/* SANT – public directory, profile and public shortcodes. Primary #5A3E70, sand #EBDDD9. */

.sant-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sant-meta { color: #777; font-size: 14px; }
.sant-date { color: #5a3e70; font-weight: 600; font-size: 14px; }
.sant-box { border-radius: 8px; padding: 16px 20px; margin: 0 0 24px; background: #f7f3f2; }
.sant-box p { margin: 0; }
.sant-box--success { background: #e3f3e6; color: #1e5f2b; }
.sant-box--error { background: #fbe9e7; color: #8a1f1f; }
.sant-badge { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 20px; background: #efe6f3; color: #5a3e70; font-size: 13px; font-weight: 600; }

/* Stars: width of the filled layer follows --sant-rating (0–5). */
.sant-stars { position: relative; display: inline-block; white-space: nowrap; font-size: 16px; line-height: 1; letter-spacing: 2px; color: #ddd; vertical-align: middle; }
.sant-stars::before { content: "★★★★★"; }
.sant-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; overflow: hidden; color: #f2b01e; width: calc(var(--sant-rating, 0) / 5 * 100%); }
.sant-rating-text { font-size: 13px; color: #777; vertical-align: middle; }

/* Directory */
.sant-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px 16px; align-items: end; margin-bottom: 16px; }
.sant-filters label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; }
.sant-filters label { min-width: 0; }
.sant-filters select, .sant-filters input[type="search"] { width: 100%; max-width: 100%; box-sizing: border-box; }
.sant-filters .sant-filters__check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; font-weight: 400; font-size: 14px; }
.sant-directory__map { height: 460px; border-radius: 8px; overflow: hidden; z-index: 0; }
.sant-directory__map img { max-width: none !important; max-height: none !important; }
.sant-directory__count { margin: 16px 0; font-weight: 600; }
.sant-directory__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.sant-card-nt { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 10px; }
.sant-card-nt__photo { flex: 0 0 80px; }
.sant-card-nt__photo img, .sant-card-nt__initials { display: flex; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; align-items: center; justify-content: center; background: #efe6f3; color: #5a3e70; font-size: 26px; font-weight: 600; }
.sant-card-nt__body { min-width: 0; }
.sant-card-nt__body h3 { margin: 0 0 6px; font-size: 18px; }
.sant-card-nt__body p { margin: 0 0 4px; font-size: 14px; overflow-wrap: anywhere; }
.sant-card-nt__spec { color: #444; }
.sant-card-nt__more { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 14px; }

.sant-pin span { display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: #5a3e70; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(90, 62, 112, .25); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: #5a3e70; color: #fff; }

/* Public profile */
.sant-back { margin-bottom: 20px; }
.sant-profile-public { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.sant-pp__card { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 10px; padding: 24px 28px; }
.sant-pp__label { margin: -24px -28px 20px; padding: 12px 28px; background: #efe6f3; border-radius: 10px 10px 0 0; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: #5a3e70; }
.sant-pp__head { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.sant-pp__photo { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.sant-pp__photo--empty { display: flex; align-items: center; justify-content: center; background: #efe6f3; color: #5a3e70; font-size: 36px; font-weight: 600; }
.sant-pp__name { margin: 0 0 4px; font-size: 26px; }
.sant-pp__role { margin: 0 0 8px; color: #777; }
.sant-pp__head p { margin-bottom: 6px; }
.sant-pp__facts { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 24px; }
.sant-pp__facts dt { font-weight: 600; color: #555; }
.sant-pp__facts dd { margin: 0; overflow-wrap: anywhere; }
.sant-pp__cta { width: 100%; }
.sant-pp__card h3 { margin: 18px 0 8px; font-size: 16px; }
.sant-pp__card h3:first-of-type { margin-top: 0; }
.sant-pp__specs, .sant-pp__certs { margin: 0 0 8px; padding-left: 20px; }
.sant-pp__specs .is-primary { font-weight: 600; }
.sant-pp__forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sant-form h2 { font-size: 20px; margin-bottom: 4px; }
.sant-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
.sant-form input[type="text"], .sant-form input[type="email"], .sant-form input[type="tel"], .sant-form textarea { width: 100%; }
.sant-form__consent label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.sant-form__consent input { margin-top: 4px; }
.sant-rate { border: 0; padding: 0; margin: 0 0 12px; }
.sant-rate legend { padding: 0; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.sant-rate__stars { display: inline-flex; flex-direction: row-reverse; }
.sant-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sant-rate label { font-size: 30px; line-height: 1; color: #ddd; cursor: pointer; margin: 0; padding: 0 2px; }
.sant-rate input:checked ~ label, .sant-rate label:hover, .sant-rate label:hover ~ label { color: #f2b01e; }
.sant-rate input:focus-visible + label { outline: 2px solid #5a3e70; }

/* Articles and events */
.sant-articles { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sant-article a { display: block; height: 100%; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .07); color: inherit; }
.sant-article__img { width: 100%; height: 170px; object-fit: cover; display: block; }
.sant-article .sant-date, .sant-article h3, .sant-article p { display: block; padding: 0 18px; }
.sant-article .sant-date { padding-top: 16px; }
.sant-article h3 { margin: 6px 0; font-size: 18px; }
.sant-article p { color: #666; font-size: 14px; padding-bottom: 18px; margin: 0; }
.sant-events { list-style: none; margin: 0; padding: 0; }
.sant-event { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.sant-event__date { flex: 0 0 76px; height: 76px; border-radius: 10px; background: #5a3e70; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-transform: uppercase; }
.sant-event__date strong { font-size: 28px; line-height: 1; color: #fff; }
.sant-event__date span { font-size: 12px; }
.sant-event h3 { margin: 0 0 4px; font-size: 19px; }

@media (max-width: 900px) {
	.sant-filters { grid-template-columns: 1fr 1fr; }
	.sant-profile-public, .sant-pp__forms { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.sant-filters { grid-template-columns: 1fr; }
	.sant-directory__map { height: 320px; }
	.sant-directory__list { grid-template-columns: 1fr; }
	.sant-card-nt__photo { flex-basis: 60px; }
	.sant-card-nt__photo img, .sant-card-nt__initials { width: 60px; height: 60px; font-size: 20px; }
	.sant-pp__card { padding: 20px; }
	.sant-pp__label { margin: -20px -20px 16px; padding: 10px 20px; }
	.sant-pp__head { flex-direction: column; align-items: flex-start; }
	.sant-pp__facts { grid-template-columns: 1fr; gap: 2px; }
	.sant-pp__facts dd { margin-bottom: 10px; }
}
