/**
 * Estilos públicos del shortcode [aside]
 */

.as-container {
	display: grid;
	grid-template-columns: repeat(var(--as-cols, 1), 1fr);
	gap: 20px;
	margin: 20px 0;
}

.as-item {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	background: #ffffff;
	transition: box-shadow 0.3s ease;
}

.as-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.as-image {
	width: 100%;
	height: auto;
	overflow: hidden;
}

.as-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.as-content {
	padding: 20px;
}

.as-name {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333333;
}

.as-text {
	margin: 0 0 15px 0;
	font-size: 14px;
	color: #666666;
	line-height: 1.5;
}

.as-link {
	display: inline-block;
	padding: 8px 16px;
	background-color: #0073aa;
	color: #ffffff;
	text-decoration: none;
	border-radius: 3px;
	transition: background-color 0.3s ease;
	font-size: 14px;
	font-weight: 500;
}

.as-link:hover {
	background-color: #005a87;
	text-decoration: none;
}

.as-empty {
	padding: 20px;
	text-align: center;
	color: #999999;
	font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
	.as-container {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}
