/* Reusable homepage blocks using the Tegelonderhoud visual language. */
.tm-home-block{--tm-home-red:#ad1716;--tm-home-red-dark:#8c1211;--tm-home-ink:#141212;--tm-home-grey:#54595f;--tm-home-bg:#f7f7f7;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);padding:78px 0;overflow:hidden;color:var(--tm-home-ink);font-family:Poppins,Arial,sans-serif;font-size:16px;line-height:1.65}
.tm-home-block *{box-sizing:border-box}
.tm-home-block a{text-decoration:none}
.tm-home-inner{width:min(1280px,calc(100% - 48px));margin:0 auto}
.tm-home-heading{margin-bottom:38px}
.tm-home-heading h2,.tm-home-professionals h2{margin:0;color:var(--tm-home-ink);font-size:clamp(27px,3vw,38px);font-weight:700;line-height:1.2;letter-spacing:-.015em;text-transform:none}
.tm-home-heading p{margin:12px 0 0;color:var(--tm-home-grey)}
.tm-home-block .tm-to-meta{display:block;color:var(--tm-home-red);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
.tm-home-block .tm-to-redline{display:block;width:40px;height:3px;margin:14px 0 0;background:var(--tm-home-red)}
.tm-home-block .tm-to-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:2px solid transparent;border-radius:8px;font-weight:600;line-height:1.25;text-align:center;transition:.18s ease}
.tm-home-block .tm-to-btn-primary{background:var(--tm-home-red);color:#fff}
.tm-home-block .tm-to-btn-primary:hover{background:var(--tm-home-red-dark);color:#fff;transform:translateY(-1px)}
.tm-home-block .tm-to-btn-outline{border-color:var(--tm-home-ink);background:#fff;color:var(--tm-home-ink)}
.tm-home-block .tm-to-btn-outline:hover{background:var(--tm-home-ink);color:#fff;transform:translateY(-1px)}
.tm-home-router{background:var(--tm-home-bg)}
.tm-home-router-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tm-home-card{display:flex;min-width:0;min-height:295px;padding:30px 28px;border:1px solid #e8e8e8;border-radius:12px;background:#fff;flex-direction:column;transition:.18s ease}
.tm-home-card:hover{border-color:#d8d8d8;box-shadow:0 14px 32px rgba(20,18,18,.08);transform:translateY(-3px)}
.tm-home-card h3{margin:12px 0 9px;color:var(--tm-home-ink);font-size:21px;font-weight:700;line-height:1.3}
.tm-home-card p{margin:0 0 24px;color:var(--tm-home-grey)}
.tm-home-card .tm-to-btn{align-self:flex-start;margin-top:auto}
.tm-home-maintenance{background:#fff}
.tm-home-maintenance-actions{display:flex;align-items:center;justify-content:space-between;gap:28px}
.tm-home-chips{display:flex;min-width:0;gap:10px;flex-wrap:wrap}
.tm-home-block .tm-to-chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1.5px solid #d7d7d7;border-radius:999px;background:#fff;color:var(--tm-home-ink);font-size:14px;font-weight:500;line-height:1.35;text-align:center;transition:.15s}
.tm-home-block .tm-to-chip:hover{border-color:var(--tm-home-red);background:rgba(173,23,22,.07);color:var(--tm-home-red)}
.tm-home-maintenance-actions>.tm-to-btn{flex:0 0 auto}
.tm-home-professionals{background:var(--tm-home-bg)}
.tm-home-professionals-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:center;padding:42px;border:1px solid #e8e8e8;border-radius:12px;background:#fff}
.tm-home-professionals .tm-to-meta{margin-bottom:11px}
.tm-home-professionals-copy>p{max-width:900px;margin:20px 0 12px;color:var(--tm-home-grey)}
.tm-home-professionals-copy>small{display:block;color:var(--tm-home-grey);font-size:12.5px}
.tm-home-elementor-host,.tm-home-elementor-host>.e-con-inner,.tm-home-elementor-host .elementor-widget-shortcode,.tm-home-elementor-host .elementor-widget-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
@media(max-width:900px){.tm-home-router-grid{grid-template-columns:1fr}.tm-home-card{min-height:0}.tm-home-maintenance-actions{align-items:flex-start;flex-direction:column}.tm-home-professionals-panel{grid-template-columns:1fr}.tm-home-professionals-panel>.tm-to-btn{justify-self:start}}
@media(max-width:760px){.tm-home-block{padding:52px 0}.tm-home-inner{width:min(100% - 30px,1280px)}.tm-home-heading{margin-bottom:27px}.tm-home-router-grid{gap:13px}.tm-home-card{padding:24px 21px}.tm-home-card h3{font-size:19px}.tm-home-card .tm-to-btn{width:100%}.tm-home-chips{display:grid;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.tm-home-block .tm-to-chip{min-width:0;padding:8px 10px;font-size:12.5px;white-space:normal}.tm-home-maintenance-actions>.tm-to-btn{width:100%}.tm-home-professionals-panel{gap:26px;padding:27px 21px}.tm-home-professionals-panel>.tm-to-btn{width:100%}}
