/* "Recent Projects" grid on the home page (inc/home-content.php). */
.tl-types { width: 100%; max-width: 1310px; margin: 0 auto; padding: 0 12px; }
.tl-types__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tl-types a.tl-types__card {
	position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 22px;
	background: #fff; border: 1px solid #e3e8f8; color: #0b1437; text-decoration: none;
	box-shadow: 0 18px 44px -32px rgba(18, 36, 120, .45);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tl-types a.tl-types__card:hover { transform: translateY(-6px); border-color: #b9c4ff; box-shadow: 0 28px 56px -30px rgba(43, 71, 242, .5); }
.tl-types__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #2b47f2, #7d92ff); box-shadow: 0 14px 26px -14px rgba(43, 71, 242, .8); }
.tl-types__icon svg { width: 26px; height: 26px; }
.tl-types__card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; color: #0b1437; }
.tl-types__card p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: #5b6485; }
.tl-types__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; color: #2b47f2; }
.tl-types__go svg { width: 18px; height: 18px; transition: transform .25s ease; }
.tl-types__card:hover .tl-types__go svg { transform: translateX(4px); }
.tl-types__note { margin: 26px 0 0; text-align: center; color: #5b6485; }
.tl-types__note a { color: #2b47f2; font-weight: 600; }
@media (max-width: 1000px) { .tl-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tl-types__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .tl-types a.tl-types__card { padding: 24px 22px 22px; } }
