/* Classic themes receive an extra Group container from WordPress. */
.tm-privacy-blocks .space-y-12 > :not(:last-child),
.tm-privacy-blocks .space-y-12 > .wp-block-group__inner-container > :not(:last-child) { margin-block-end: 3rem; }
.tm-privacy-blocks .space-y-\[18px\] > :not(:last-child),
.tm-privacy-blocks .space-y-\[18px\] > .wp-block-group__inner-container > :not(:last-child) { margin-block-end: 18px; }

.tm-privacy-blocks .tm-policy-image { margin: 0; }
.tm-privacy-blocks .tm-policy-image img { display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: inherit; object-fit: cover; }

/* Keep the service grid and flex children in their original layout. */
.tm-service-blocks .wp-block-group__inner-container { display: contents; }
.tm-service-blocks .tm-service-link { display: contents; }
.tm-service-blocks .tm-policy-image img { object-position: inherit; }
.tm-designed-page > .wp-block-group__inner-container { display: contents; }
