.tokki-rec-feed {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px 18px 60px;
	display: flex;
	flex-direction: column;
	gap: 34px;
}


/* Card principal */
.tokki-rec-feed-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 34px;
	border-bottom: 4px solid #424045; /* grosor de línea divisoria */
}

.tokki-rec-feed-card:last-child {
	border-bottom: none;
}

/* Header autor */
.tokki-rec-feed-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tokki-rec-feed-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.tokki-rec-feed-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.tokki-rec-feed-author-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tokki-rec-feed-author-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.tokki-rec-feed-author-text strong {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.tokki-rec-feed-author-text span {
	font-size: 14px;
	color: #75727A;
	margin-top: 3px;
}

.tokki-rec-feed-date {
	font-size: 13px;
	line-height: 1.3;
	color: #75727A;
	white-space: nowrap;

}

/* Intro superior */
.tokki-rec-feed-intro {
	font-size: 16px;
	line-height: 1.5;
	color: #ECE8F5;
	margin: 0;
}

/* =========================================================
   CAJA IMAGEN + CONTENIDO CON COLOR DINÁMICO
   ========================================================= */

.tokki-rec-feed-box {
	--tokki-rec-color: 34, 33, 36;

	position: relative;
	overflow: hidden;
	border: 1px solid rgba(var(--tokki-rec-color), 0.55);
	border-radius: 28px;
	background: rgb(var(--tokki-rec-color));
}

/*
 * Enlace invisible que hace clicable toda la tarjeta.
 */
.tokki-rec-feed-card-link {
	position: absolute;
	z-index: 4;
	inset: 0;
}

/* Imagen destacada */

.tokki-rec-feed-image {
	position: relative;
	z-index: 1;
	display: block;
	overflow: hidden;
}

.tokki-rec-feed-image img {
	display: block;
	width: 100% !important;
	height: auto;
	margin: 0 !important;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* Contenido */

.tokki-rec-feed-body {
	position: relative;
	z-index: 2;
	padding: 22px 78px 26px 22px;
	background: rgb(var(--tokki-rec-color));
}

/*
 * Degradado que nace en el contenido y sube
 * sobre la parte inferior de la imagen.
 */
.tokki-rec-feed-body::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 120px;
	background: linear-gradient(
		to top,
		rgb(var(--tokki-rec-color)) 0%,
		rgba(var(--tokki-rec-color), 0.96) 18%,
		rgba(var(--tokki-rec-color), 0.72) 45%,
		rgba(var(--tokki-rec-color), 0.34) 72%,
		transparent 100%
	);
	pointer-events: none;
}

.tokki-rec-feed-box .tokki-rec-feed-body h2,
.tokki-rec-feed-box .tokki-rec-feed-body h2 a,
.tokki-rec-feed-box .tokki-rec-feed-body h2 a:visited,
.tokki-rec-feed-box .tokki-rec-feed-body h2 a:hover {
	color: #E6E6E7 !important;
	text-decoration: none !important;
	font-size: 25px;
	font-weight: 700;
	margin: 0 0 4px;
}

.tokki-rec-feed-body p {
	font-size: 14px !important;
	line-height: 1.5;
	color: #BFBEC1;
	margin: 0;
}

/* Botón guardar */
.tokki-rec-save-btn {
	width: 48px;
	height: 48px;
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 5;

	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0;

	cursor: pointer;

	display: flex;
	align-items: center;
	justify-content: center;

	color: #fff;
	transition: 0.2s ease;
}

.tokki-rec-save-btn:hover,
.tokki-rec-save-btn:focus,
.tokki-rec-save-btn:active {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	transform: none;
}

.tokki-rec-save-btn svg {
	width: 24px;
	height: 24px;
	fill: #E6E6E7;
	background: transparent !important;
	transition: 0.2s;
}

.tokki-rec-icon-solid {
	display: none;
}

.tokki-rec-save-btn.is-saved .tokki-rec-icon-outline {
	display: none;
}

.tokki-rec-save-btn.is-saved .tokki-rec-icon-solid {
	display: block;
}

/* Mobile */
@media (max-width: 768px) {

	.tokki-rec-feed {
		padding: 24px 14px 50px;
		gap: 26px;
	}

	.tokki-rec-feed-card {
		padding-bottom: 28px;
	}

	.tokki-rec-feed-author-text strong {
		font-size: 16px;
	}

	.tokki-rec-feed-date {
		font-size: 12px;
	}

	.tokki-rec-feed-intro {
		font-size: 15px;
	}

	.tokki-rec-feed-body {
		padding: 18px 64px 20px 18px;
	}

	.tokki-rec-feed-box .tokki-rec-feed-body h2,
	.tokki-rec-feed-box .tokki-rec-feed-body h2 a {
		font-size: 18px !important;
	}

	.tokki-rec-feed-body p {
		font-size: 12px !important;
		line-height: 1.5;
	}

	.tokki-rec-save-btn {
		right: 14px;
		bottom: 14px;
		width: 44px;
		height: 44px;
	}
}



/*para buscador*/
.tokki-rec-search{
	max-width:760px;
	margin:0 auto 32px;
}

.tokki-rec-search input {
	width: 100%;
	padding: 14px 18px;
	border-radius: 16px;

	border: 1px solid #3D3A43;
	background: #222124;

	color: #ECE8F5;
	font-size: 15px;

	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.tokki-rec-search input:focus {
	background: #222124;
	border-color: #B98BDD;
	box-shadow: 0 0 0 3px rgba(185,139,221,.15);
}

.tokki-rec-search input {
	color: #BFBEC1 !important;
	-webkit-text-fill-color: #ECE8F5;
	caret-color: #B98BDD;
}

.tokki-rec-search input::placeholder {
	color: #75727A;
	opacity: 1;
}


/*capsulas*/
.tokki-rec-feed-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 8px 0 12px;
}

.tokki-rec-feed-tag {
	display: inline-flex;
	align-items: center;

	padding: 4px 10px;
	border-radius: 999px;

	border: 1px solid rgba(230, 230, 231, 0.35);
	background: transparent;

	color: #E6E6E7;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
}

/* =========================================================
 * Enlaces al perfil público del staff
 * ========================================================= */

.tokki-rec-feed-avatar-link {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	text-decoration: none;
}

.tokki-rec-feed-avatar-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.18s ease;
}

.tokki-rec-feed-avatar-link:hover img,
.tokki-rec-feed-avatar-link:focus img {
	opacity: 0.82;
}

.tokki-rec-feed-author-link {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.tokki-rec-feed-author-link strong {
	color: inherit;
	transition: color 0.18s ease;
}

.tokki-rec-feed-author-link:hover,
.tokki-rec-feed-author-link:focus {
	background: transparent;
	color: #B98BDD;
	text-decoration: none;
	outline: none;
}

.tokki-rec-feed-author-link:hover strong,
.tokki-rec-feed-author-link:focus strong {
	color: #B98BDD;
}


/* =========================================================
 * Estadísticas debajo de las tarjetas del feed
 * ========================================================= */

.tokki-rec-feed-stats {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;

	margin-top: 0px;
	padding: 0 4px;

	color: #99979D;
	font-size: 12px;
	line-height: 1;
}

.tokki-rec-feed-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 20px;
}

.tokki-rec-feed-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	width: 15px;
	height: 15px;

	color: #99979D;
}

.tokki-rec-feed-stat-icon svg {
	display: block;
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.tokki-rec-feed-stat-icon i {
	display: block;
	font-size: 14px;
	line-height: 1;
}

.tokki-rec-feed-stat-value {
	color: #B9B7C0;
	font-weight: 500;
}

.tokki-rec-feed-reading-time {
	margin-left: auto;
	color: #99979D;
}

@media (max-width: 600px) {
	.tokki-rec-feed-stats {
		gap: 14px;
		margin-top: 0px;
		padding: 0 2px;
		font-size: 11px;
	}

	.tokki-rec-feed-reading-time {
		margin-left: auto;
	}
}



/* =========================================================
 * Cargar más recomendaciones
 * ========================================================= */

.tokki-rec-load-more-container {
	display: flex;
	justify-content: center;
	margin: 26px 0 10px;
}

.tokki-rec-load-more {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 9px;

	width: auto !important;
	min-width: 0 !important;
	min-height: 30px !important;

	margin: 0 !important;
	padding: 4px 10px !important;

	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;

	color: #B98BDD !important;
	font-family: inherit;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;

	cursor: pointer;
	box-shadow: none !important;
	transform: none !important;
	transition: opacity 0.18s ease !important;
}

.tokki-rec-load-more::before,
.tokki-rec-load-more::after {
	content: "";
	display: block;
	width: 52px;
	height: 1px;
	background: #454247;
}

.tokki-rec-load-more:hover,
.tokki-rec-load-more:focus,
.tokki-rec-load-more:active {
	background: transparent !important;
	border: 0 !important;
	color: #B98BDD !important;
	box-shadow: none !important;
	transform: none !important;
	outline: none;
	opacity: 0.82;
}

.tokki-rec-load-more-spinner {
	display: none;
	width: 13px;
	height: 13px;
	border: 2px solid rgba(185, 139, 221, 0.3);
	border-top-color: #B98BDD;
	border-radius: 50%;
	animation: tokki-rec-load-spin 0.7s linear infinite;
}

.tokki-rec-load-more.is-loading::before,
.tokki-rec-load-more.is-loading::after {
	display: none;
}

.tokki-rec-load-more.is-loading
	.tokki-rec-load-more-spinner {
	display: block;
}

.tokki-rec-load-more:disabled {
	cursor: wait;
	opacity: 0.65;
}

@keyframes tokki-rec-load-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 600px) {
	.tokki-rec-load-more-container {
		margin-top: 22px;
	}

	.tokki-rec-load-more::before,
	.tokki-rec-load-more::after {
		width: 34px;
	}
}