/* ============================================================
   Content Library — Download Frontend Styles (Alternating Layout)
   ============================================================ */

.cl-download-wrapper {
	--cl-download-image_border_radius: 8px;
	--cl-download-image_width: 100%;
	--cl-download-image_shadow: 0 4px 12px rgba(0,0,0,0.08);
	--cl-download-title_font_size: 22px;
	--cl-download-title_color: #222222;
	--cl-download-desc_font_size: 15px;
	--cl-download-desc_color: #555555;
	--cl-download-button_bg_color: #E31E24;
	--cl-download-button_hover_color: #c4181e;
	--cl-download-button_border_radius: 4px;
	--cl-download-button_padding: 12px 28px;
	--cl-download-section_margin: 0 0 60px 0;
	--cl-download-section_gap: 40px;
	--cl-download-section_bg_color: #ffffff;

	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
	font-family: Roboto, Arial, "Helvetica Neue", sans-serif;
}

.cl-download-empty {
	color: #999;
	text-align: center;
	padding: 40px 20px;
}

/* ---------- Row ---------- */
.cl-download-row {
	display: flex;
	align-items: center;
	gap: var(--cl-download-section_gap);
	margin: var(--cl-download-section_margin);
	padding: 40px;
	background: var(--cl-download-section_bg_color);
	border-radius: 4px;
}

.cl-download-row--reverse {
	flex-direction: row-reverse;
}

/* ---------- Image Column ---------- */
.cl-download-image-col {
	flex: 0 0 45%;
	min-width: 0;
}

.cl-download-image {
	border-radius: var(--cl-download-image_border_radius);
	overflow: hidden;
	box-shadow: var(--cl-download-image_shadow);
}

.cl-download-img {
	display: block;
	width: var(--cl-download-image_width);
	height: auto;
	border-radius: var(--cl-download-image_border_radius);
}

/* ---------- Text Column ---------- */
.cl-download-text-col {
	flex: 1;
	min-width: 0;
}

.cl-download-title {
	margin: 0 0 16px;
	font-size: var(--cl-download-title_font_size);
	font-weight: 700;
	color: var(--cl-download-title_color);
	line-height: 1.3;
}

.cl-download-description {
	font-size: var(--cl-download-desc_font_size);
	color: var(--cl-download-desc_color);
	line-height: 1.6;
	margin-bottom: 24px;
}

.cl-download-description p {
	margin: 0 0 12px;
}

.cl-download-description p:last-child {
	margin-bottom: 0;
}

/* ---------- Download Button ---------- */
.cl-download-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--cl-download-button_bg_color);
	color: #ffffff;
	padding: var(--cl-download-button_padding);
	border-radius: var(--cl-download-button_border_radius);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.2s ease;
}

.cl-download-button:hover {
	background: var(--cl-download-button_hover_color);
	transform: translateY(-1px);
	color: #ffffff;
	text-decoration: none;
}

.cl-download-button:active {
	transform: translateY(0);
}

.cl-download-icon {
	flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cl-download-row {
		gap: 30px;
		padding: 30px;
	}

	.cl-download-image-col {
		flex: 0 0 42%;
	}
}

@media (max-width: 768px) {
	.cl-download-row,
	.cl-download-row--reverse {
		flex-direction: column;
		gap: 24px;
		padding: 24px;
		margin-bottom: 40px;
	}

	.cl-download-image-col {
		flex: 1 1 auto;
		width: 100%;
	}

	.cl-download-title {
		font-size: 18px;
	}

	.cl-download-description {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.cl-download-row {
		padding: 16px;
		gap: 16px;
	}

	.cl-download-title {
		font-size: 16px;
	}

	.cl-download-button {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
	}
}
