/* Free tools: the /tools/ list gets the full width, and each tool page shows its card ([umer_tool]). */
.umer-page .wp-block-post-content:has(.umer-tools) { max-width: none; }

.umer-tool { margin: 0 0 40px; }
.umer-tool__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid rgba(242, 237, 226, .15); background: #151810; }
.umer-tool__media { position: relative; min-height: 360px; background: linear-gradient(200deg, var(--lime), #b8e61c); overflow: hidden; }
.umer-tool__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.umer-tool__media--plain { display: flex; align-items: flex-end; padding: 28px; color: var(--ink); }
.umer-tool__ghost { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 7vw, 110px); line-height: .85; letter-spacing: -.03em; text-transform: uppercase; word-break: break-word; }
.umer-tool__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px); color: var(--paper); }
.umer-tool__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.umer-page .wp-block-post-content .umer-tool__name { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 72px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; margin: 0; color: var(--paper); }
.umer-tool__desc { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.umer-page .wp-block-post-content .umer-tool__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 14px 24px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .4s var(--ease); }
.umer-page .wp-block-post-content .umer-tool__btn:hover { transform: translateY(-2px); }

@media (max-width: 800px) {
	.umer-tool__card { grid-template-columns: 1fr; }
	.umer-tool__media { min-height: 220px; }
}

/* The tool card already shows the name, so the page title is kept for screen readers only. */
.umer-page:has(.umer-tool) .umer-page__hero { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
