/* Download Links Frontend Styles */



.dl-shortcode-above,
.dl-shortcode-below {
	margin: 20px 0;
	width: 100%;
}

.dl-shortcode-above {
	margin-bottom: 10px;
}

.dl-shortcode-below {
	margin-top: 10px;
}





.dl-download-links {
	margin: 30px 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dl-download-link-item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
	position: relative;
	transition: background-color 0.2s ease;
}

.dl-download-link-item:last-child {
	border-bottom: none;
}

.dl-download-link-item:hover {
	background-color: #f9fafb;
}

.dl-link-image {
	flex-shrink: 0;
}

.dl-link-image img {
	max-width: 120px;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.dl-link-content {
	flex: 1;
	min-width: 0;
}

.dl-link-text-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.dl-link-text {
	font-size: 16px;
	font-weight: 600;
	color: #1e40af;
	text-decoration: none;
	transition: color 0.2s;
	line-height: 1.5;
}

.dl-link-text:hover {
	color: #3b82f6;
	text-decoration: underline;
}

.dl-file-size {
    font-size: 14px;
    color: #bebebe;
    white-space: nowrap;
    font-weight: 500;
}

.dl-badge {
	position: absolute;
	top: 12px;
	right: 20px;
	display: inline-block;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #ffffff;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	border-radius: 3px;
	z-index: 1;
	line-height: 1.4;
}

/* Shortcode item styles */
.dl-shortcode-item {
	padding: 20px;
}

.dl-shortcode-item .dl-shortcode-content {
	width: 100%;
}

.dl-shortcode-item .dl-shortcode-content * {
	max-width: 100%;
}