/* Keller archive templates adapted from Kline's saved Site Editor templates. */
.keller-practice-archive .keller-practice-grid { gap:28px; align-items:stretch; }
.keller-practice-archive .keller-practice-grid > li { display:flex; height:100%; }
.keller-practice-archive .keller-practice-card {
 position:relative; width:100%; height:100%; min-height:390px;
 display:flex; flex-direction:column; border:2px solid var(--wp--preset--color--brand-primary);
 background-color:var(--wp--preset--color--base-0); color:var(--wp--preset--color--base-900);
 transition:background-color .25s,border-color .25s,color .25s,transform .25s,box-shadow .25s;
}
.keller-practice-archive .wp-block-post-title { margin-top:0; }
.keller-practice-archive .wp-block-post-title a { color:inherit; text-decoration:none; }
.keller-practice-archive .wp-block-post-title a::after { content:""; position:absolute; inset:0; z-index:1; }
.keller-practice-archive .keller-practice-excerpt { margin-top:20px; margin-bottom:24px; }
.keller-practice-archive .keller-practice-learn-more { margin-top:auto !important; position:relative; z-index:2; align-self:flex-start; color:inherit; }
.keller-practice-archive .keller-practice-card:is(:hover,:focus-within) {
 background:var(--wp--preset--color--brand-tertiary) !important;
 border-color:var(--wp--preset--color--brand-tertiary) !important;
 color:var(--wp--preset--color--brand-primary) !important;
 transform:translateY(-4px); box-shadow:var(--wp--preset--shadow--elevation-2);
}
.keller-practice-archive .keller-practice-card:is(:hover,:focus-within) * { color:inherit !important; }
.keller-practice-archive a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.keller-testimonial-archive .wp-block-post-template { gap:28px; align-items:stretch; }
.keller-testimonial-archive .wp-block-post { display:flex; }
.keller-testimonial-archive .jem-post-view-testimonial { width:100%; height:100%; display:flex; flex-direction:column; background-color:var(--wp--preset--color--base-0); color:var(--wp--preset--color--base-900); }
.keller-testimonial-archive .jem-post-title { margin-top:0; }
.keller-testimonial-archive .jem-post-title a { color:inherit; text-decoration:none; }
.keller-testimonial-archive .jem-testimonial-source-name { margin-top:var(--wp--preset--spacing--m); font-weight:700; }
.keller-testimonial-archive .jem-testimonial-platform { margin-top:auto; padding-top:var(--wp--preset--spacing--m); }
@media (min-width:601px) and (max-width:1000px) {
 .keller-practice-archive .keller-practice-grid, .keller-testimonial-archive .wp-block-post-template { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
 .keller-practice-archive .keller-practice-grid, .keller-testimonial-archive .wp-block-post-template { grid-template-columns:1fr; }
 .keller-practice-archive .keller-practice-card { min-height:auto; }
}
@media (prefers-reduced-motion:reduce) { .keller-practice-archive .keller-practice-card { transition:none; } .keller-practice-archive .keller-practice-card:is(:hover,:focus-within) { transform:none; } }

/* Practice archive icons need an explicit size; Toolkit defaults to 1em. */
.keller-practice-archive .keller-practice-card > .wp-block-jem-toolkit-practice-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex: 0 0 48px;
    align-self: flex-start;
}
