/* File Download Card for Elementor — estructura base (minimalista) */

/* Asegura que el widget llene el ancho disponible tanto en layouts
   clásicos (Sección/Columna) como dentro de Contenedores Flexbox. */
.elementor-widget-efdc-file-download-card,
.elementor-widget-efdc-file-download-card > .elementor-widget-container {
	width: 100%;
}

.efdc-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
}

.efdc-card *,
.efdc-card *::before,
.efdc-card *::after {
	box-sizing: border-box;
}

.efdc-card__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 180px;
	overflow: hidden;
	background-color: #f5f6f8;
	color: #9aa0a6;
}

.efdc-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.efdc-card__generic-icon {
	width: 48px;
	height: 48px;
}

.efdc-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.efdc-card__title {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	color: #1a1a1a;
	word-break: break-word;
}

.efdc-card__meta {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.4;
	color: #6b7280;
}

.efdc-card__description {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
	word-break: break-word;
}

.efdc-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	background-color: #111111;
	color: #ffffff;
	border-radius: 8px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
	cursor: pointer;
}

.efdc-card__button:hover {
	background-color: #333333;
	color: #ffffff;
	opacity: 1;
}

.efdc-card__button-icon {
	flex-shrink: 0;
}

/* Avisos visibles solo dentro del editor de Elementor */
.efdc-editor-placeholder {
	padding: 30px;
	text-align: center;
	border: 2px dashed #d5d8dc;
	border-radius: 8px;
	color: #6b7280;
	font-size: 14px;
}

.efdc-editor-warning {
	padding: 14px 16px;
	border-radius: 8px;
	background-color: #fdecea;
	border: 1px solid #f5c2c0;
	color: #a12622;
	font-size: 13px;
	line-height: 1.5;
}
