.tm-testimonials,.tm-form-section{--tm:#3128bd;--tm2:#6947de;--pale:#f4f1ff;--line:#d9d4f5;color:#17143d}
.tm-testimonials *,.tm-form-section *{box-sizing:border-box}
.tm-filter-heading,.tm-list-heading{text-align:center}
.tm-filter-heading h2,.tm-list-heading h2,.tm-form-section h2{font-family:Georgia,serif;color:var(--tm);font-size:34px;font-weight:500;margin:0}
.tm-filter-heading p,.tm-list-heading p,.tm-form-intro{color:var(--tm);margin:5px 0 16px}
.tm-filters{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.tm-filter,.tm-more,.tm-submit button{border:2px solid var(--tm2);border-radius:24px;background:#fff;color:var(--tm);font-weight:700;padding:10px 18px;cursor:pointer}
.tm-filter.is-active,.tm-submit button{background:linear-gradient(135deg,var(--tm),var(--tm2));color:#fff}
.tm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tm-card{position:relative;border:1px solid var(--line);border-radius:17px;background:linear-gradient(135deg,#fff 45%,#f8f6ff);padding:18px 20px 16px;min-height:265px;box-shadow:0 8px 22px rgba(68,47,160,.04)}
.tm-card[hidden]{display:none!important}
.tm-quote-mark{position:absolute;left:16px;top:8px;color:#9d91f2;font-family:Georgia,serif;font-size:48px;line-height:1}
.tm-card-top{padding-left:48px;min-height:34px}
.tm-category{display:inline-block;background:#e7e2ff;color:var(--tm);border-radius:20px;padding:6px 14px;font-size:14px}
.tm-card h3{font-family:Georgia,serif;color:var(--tm);font-size:22px;margin:10px 0 3px}
.tm-distance{color:var(--tm);font-size:14px;margin:0 0 11px}
.tm-distance:before{content:'▣';margin-right:6px}
.tm-excerpt{font-family:Georgia,serif;font-style:italic;color:#6556b4;line-height:1.42;margin:0 0 12px}
.tm-full summary{color:var(--tm);font-weight:700;cursor:pointer;list-style:none}
.tm-full summary::-webkit-details-marker{display:none}
.tm-full[open] summary{margin-bottom:12px}
.tm-full-text{border-top:1px solid var(--line);padding-top:10px;color:#17143d;line-height:1.55}
.tm-full-text p{margin:0 0 10px}
.tm-more-wrap{text-align:center;margin:18px 0}
.tm-more:before{content:'+';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--tm);color:#fff;margin-right:8px}
.tm-empty{text-align:center}
.tm-form-section{border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#fff,#f8f6ff);padding:22px}
.tm-form-section h2{text-align:left}
.tm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
.tm-form p{margin:0 0 12px}
.tm-form label{display:block;color:var(--tm);font-weight:700;font-size:14px;margin-bottom:5px}
.tm-form input[type=text],.tm-form input[type=email],.tm-form select,.tm-form textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px;color:#17143d;font:inherit}
.tm-checkbox{display:flex;align-items:end;padding-bottom:10px}
.tm-checkbox label{font-weight:400}
.tm-validation{color:var(--tm);font-size:14px;border:1px solid var(--line);border-radius:10px;padding:12px!important}
.tm-validation:before{content:'ⓘ';font-weight:700;margin-right:8px}
.tm-submit{text-align:center!important}
.tm-submit button{min-width:320px}
.tm-form-success{width:100%;max-width:760px;margin:0 auto 18px;background:#eef9f0;color:#216a31;border:1px solid #a8d5b1;border-radius:10px;padding:16px 18px;line-height:1.5;text-align:center;scroll-margin-top:32px}
.tm-form-section input:focus,.tm-form-section select:focus,.tm-form-section textarea:focus{outline:2px solid var(--tm2);outline-offset:1px}

@media(max-width:900px){.tm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:620px){
.tm-filter-heading h2,.tm-list-heading h2,.tm-form-section h2{font-size:27px}
.tm-filters{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:2px 0 8px}
.tm-filter{white-space:nowrap;flex:none;padding:9px 13px}
.tm-grid{grid-template-columns:1fr}
.tm-card{min-height:0;padding:16px}
.tm-form-section{padding:16px}
.tm-form-grid{grid-template-columns:1fr}
.tm-checkbox{align-items:start;padding:0}
.tm-submit button{min-width:0;width:100%}
}
