/**
 * ProductResources Shortcode Styles
 *
 * Based on rdi-core's theme styles for the same markup.
 *
 * @package EchelonCore\Shortcode\ProductResources
 */

.product_resources-shortcode .documents-wrapper h4 {
	margin: var(--wp--preset--spacing--xs) 0 var(--wp--preset--spacing--xxs);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--global-palette3);
}

.product_resources-shortcode .documents-wrapper h4:first-child {
	margin-top: 0;
}

.product_resources-shortcode .product-document-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product_resources-shortcode .product-document-list li {
	display: flex;
	align-items: flex-start;
	column-gap: 10px;
	margin-bottom: 5px;
}

.product_resources-shortcode .product-document-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 12px;
	margin-top: 2px;
	color: var(--global-palette1);
}

.product_resources-shortcode .product-document-name {
	text-decoration: underline;
}

.product_resources-shortcode .product-resources-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: var(--wp--preset--spacing--sm);
}

.product_resources-shortcode .more-resources {
	width: 100%;
	max-width: 345px;
	text-align: center;
	background-color: var(--global-palette2);
    color: var(--global-palette3);
    border-color: var(--global-palette2);
	box-shadow: none;
}

.product_resources-shortcode .more-resources:hover,
.product_resources-shortcode .more-resources:focus {
	background-color: var(--global-palette1);
    color: var(--global-palette9);
    border-color: var(--global-palette1);
}