.ct-related-posts-container {
	display: var(--visibility, block);
	padding: var(--padding, 50px) 0;
}

.ct-related-posts {
	
	.ct-module-title {
		text-align: var(--horizontal-alignment);
	}

	.ct-media-container {
		border-radius: var(--theme-border-radius, 5px);
	}

	.related-entry-title {
		margin: 15px 0 0 0;
		word-break: break-word;

		a {
			&:not(:hover) {
				color: inherit;
			}
		}
	}

	.entry-meta {
		margin-top: 5px;
		color: var(--theme-text-color);

		--theme-link-initial-color: var(--theme-text-color);
	}


	// slider type
	.flexy-items {
		margin-inline: calc(var(--grid-columns-gap, 30px) / -2);

		.flexy-item {
			flex: 0 0 var(--grid-columns-width, 25%);
			width: var(--grid-columns-width, 25%);
			padding-inline: calc(var(--grid-columns-gap, 30px) / 2);
		}	
	}
}