/*
 * tutsvela/resources rows (v3 .list / .item-row). The box around the list (padding, border, radius,
 * background, heading) is a Kadence Section in the Tutorial single Element: edit those there.
 * Colours follow the Kadence palette, so light and dark mode apply.
 */
.tv-resources .tv-res-list { list-style: none; margin: 0; padding: 0; } /* beats Kadence .single-content ul */
.tv-resources .tv-res { margin: 0; border-top: 1px solid var(--global-palette7, #E6E7E7); }
.tv-resources .tv-res:first-child { border-top: 0; }
.tv-res__link {
	display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start;
	padding: 14px 0; color: inherit; text-decoration: none;
}
.tv-res:first-child .tv-res__link { padding-top: 2px; }
.tv-res:last-child .tv-res__link { padding-bottom: 0; }
.tv-res__ic {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
	background: var(--global-palette8, #F5F5F4); color: var(--global-palette3, #1A1A1A);
}
.tv-res__body { display: grid; gap: 2px; min-width: 0; }
.tv-res__title { font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--global-palette3, #1A1A1A); overflow-wrap: anywhere; }
.tv-res__meta { font-size: 13px; line-height: 1.4; color: var(--global-palette5, #5C5F5F); }
.tv-res__desc { font-size: 14px; line-height: 1.5; color: var(--global-palette5, #5C5F5F); margin-top: 2px; }
.tv-res__act { display: inline-flex; align-items: center; gap: 6px; padding-top: 8px; color: var(--global-palette5, #5C5F5F); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
a.tv-res__link:hover .tv-res__title, a.tv-res__link:hover .tv-res__act { color: var(--global-palette1, #F05A35); }
a.tv-res__link:hover .tv-res__ic { background: var(--global-palette1, #F05A35); color: var(--global-palette3, #1A1A1A); }
a.tv-res__link:focus-visible { outline: 3px solid var(--global-palette1, #F05A35); outline-offset: 2px; border-radius: 8px; }
.tv-res__ic, .tv-res__title, .tv-res__act { transition: color .15s, background-color .15s; }
@media (prefers-reduced-motion: reduce) { .tv-res__ic, .tv-res__title, .tv-res__act { transition: none; } }
/* Display settings: without the icon or the action column the grid drops that column. */
.tv-resources--no-icon .tv-res__link { grid-template-columns: minmax(0, 1fr) auto; }
.tv-resources--no-action .tv-res__link { grid-template-columns: 36px minmax(0, 1fr); }
.tv-resources--no-icon.tv-resources--no-action .tv-res__link { grid-template-columns: minmax(0, 1fr); }
.tv-resources--placeholder { font-size: 14px; color: var(--global-palette5, #5C5F5F); }
