/* Local related tools review: independent of calculator UI and shared chrome. */
body.ith-tool-page .ith-related-tools { padding-top:34px; }
body.ith-tool-page .ith-related-tools .ith-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
body.ith-tool-page .ith-related-tools .ith-related-card {
 position:relative; display:flex; flex-direction:column; align-items:stretch; gap:0;
 min-height:300px; padding:26px; border:1px solid #dbe3de; border-radius:18px;
 background:#fff; color:#19251f; text-decoration:none; overflow:hidden;
 box-shadow:0 3px 12px #14281c04; transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.ith-tool-page .ith-related-tools .ith-related-card::before,
body.ith-tool-page .ith-related-tools .ith-related-card::after { display:none; content:none; }
body.ith-tool-page .ith-related-tools .ith-related-top { display:flex; align-items:center; gap:14px; margin-bottom:25px; }
body.ith-tool-page .ith-related-tools .ith-related-icon { display:flex; align-items:center; justify-content:center; flex:0 0 56px; width:56px; height:56px; border-radius:15px; background:#125c43; color:#fff; box-shadow:0 4px 9px #125c4315; }
body.ith-tool-page .ith-related-tools .ith-related-icon svg { display:block; width:34px; height:34px; }
body.ith-tool-page .ith-related-tools .ith-related-category { font:600 10px/1.6 Sora,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:#607269; max-width:145px; }
body.ith-tool-page .ith-related-tools .ith-related-card h3 { margin:0 0 10px!important; padding:0; color:#19251f; font:600 22px/1.3 Sora,sans-serif!important; letter-spacing:-.6px!important; }
body.ith-tool-page .ith-related-tools .ith-related-card>p { margin:0 0 24px; padding:0; max-width:32ch; color:#596a60; font:400 14px/1.8 Sora,sans-serif; }
body.ith-tool-page .ith-related-tools .ith-related-card .ith-related-open { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:auto; padding-top:18px; border-top:1px solid #e4eae6; color:#125c43; font:600 12px/1.5 Sora,sans-serif; }
body.ith-tool-page .ith-related-tools .ith-related-arrow { display:flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; border:1px solid #d4dfd7; border-radius:50%; font-size:20px; line-height:1; transition:background .18s,color .18s,border-color .18s; }
body.ith-tool-page .ith-related-tools .ith-related-card:hover { transform:translateY(-3px); border-color:#125c43; box-shadow:0 12px 28px #143a2510; }
body.ith-tool-page .ith-related-tools .ith-related-card:hover .ith-related-arrow { background:#125c43; border-color:#125c43; color:white; }
body.ith-tool-page .ith-related-tools .ith-related-card:focus-visible { outline:3px solid #125c43; outline-offset:4px; border-color:#125c43; }
@media(max-width:1000px) {
 body.ith-tool-page .ith-related-tools .ith-related-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
 body.ith-tool-page .ith-related-tools .ith-related-card { display:grid; grid-template-columns:56px minmax(0,1fr) 34px; gap:0 18px; min-height:0; padding:22px; }
 body.ith-tool-page .ith-related-tools .ith-related-top { display:contents; }
 body.ith-tool-page .ith-related-tools .ith-related-icon { grid-column:1; grid-row:1/5; align-self:start; }
 body.ith-tool-page .ith-related-tools .ith-related-category { grid-column:2; grid-row:1; max-width:none; font-size:9px; margin-bottom:7px; }
 body.ith-tool-page .ith-related-tools .ith-related-card h3 { grid-column:2; grid-row:2; font-size:19px!important; margin:0 0 7px!important; }
 body.ith-tool-page .ith-related-tools .ith-related-card>p { grid-column:2; grid-row:3; font-size:13px; margin:0; max-width:44ch; }
 body.ith-tool-page .ith-related-tools .ith-related-card .ith-related-open { grid-column:2/4; grid-row:4; margin-top:16px; padding-top:14px; }
}
@media(max-width:420px) {
 body.ith-tool-page .ith-related-tools .ith-related-card { grid-template-columns:44px minmax(0,1fr); gap:0 14px; padding:20px; }
 body.ith-tool-page .ith-related-tools .ith-related-icon { width:44px; height:44px; flex-basis:44px; border-radius:12px; }
 body.ith-tool-page .ith-related-tools .ith-related-icon svg { width:28px; height:28px; }
 body.ith-tool-page .ith-related-tools .ith-related-card .ith-related-open { grid-column:1/-1; }
}
@media(prefers-reduced-motion:reduce) {
 body.ith-tool-page .ith-related-tools :is(.ith-related-card,.ith-related-arrow) { transition:none; }
 body.ith-tool-page .ith-related-tools .ith-related-card:hover { transform:none; }
}
