/* e-ΠΔΕ Πρόσφατες αναρτήσεις – colours of the portal (navy #32396d of the headings). */
.epde-rp {
	--rp-navy: #32396d;
	--rp-ink: #1f2433;
	--rp-muted: #5c6378;
	--rp-line: #dde1ec;
	--rp-soft: #f3f5fa;
	font-family: inherit;
	color: var(--rp-ink);
	line-height: 1.5;
	font-size: 16px;
	text-align: left;
	max-width: 1000px;
	margin: 0 auto;
}
.epde-rp *, .epde-rp *::before, .epde-rp *::after { box-sizing: border-box; }
.epde-rp ul { list-style: none; margin: 0; padding: 0; }
.epde-rp li { margin: 0; padding: 0; }
.epde-rp li::before { content: none; }
.epde-rp a { text-decoration: none; }

/* cards */
.epde-rp__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.epde-rp__cards > li { display: flex; }
.epde-rp__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 22px 18px;
	background: #fff;
	border: 1px solid var(--rp-line);
	border-top: 4px solid var(--rp-navy);
	border-radius: 10px;
	color: var(--rp-ink);
	box-shadow: 0 4px 14px rgba(50, 57, 109, .06);
	transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.epde-rp__card:hover { box-shadow: 0 12px 28px rgba(50, 57, 109, .14); transform: translateY(-2px); border-color: #c5cbe0; border-top-color: var(--rp-navy); }
.epde-rp__card:focus-visible { outline: 3px solid #1e73be; outline-offset: 3px; }
.epde-rp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--rp-muted); }
.epde-rp__tag { background: var(--rp-soft); color: var(--rp-navy); font-weight: 600; padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.epde-rp__title { flex: 1; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--rp-navy); }
.epde-rp__more { font-size: 14px; font-weight: 600; color: #1e73be; }
.epde-rp__card:hover .epde-rp__more { text-decoration: underline; }

/* older posts */
.epde-rp__list { margin-top: 22px !important; border-top: 1px solid var(--rp-line); }
.epde-rp__list a { display: flex; gap: 18px; padding: 12px 4px; border-bottom: 1px solid var(--rp-line); color: var(--rp-ink); font-size: 15px; }
.epde-rp__list a:hover span, .epde-rp__list a:focus-visible span { color: #1e73be; text-decoration: underline; }
.epde-rp__list time { flex: 0 0 auto; min-width: 84px; color: var(--rp-muted); font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 1px; }

/* all posts */
.epde-rp__all { margin: 22px 0 0 !important; text-align: center; }
.epde-rp__all a {
	display: inline-block;
	padding: 10px 26px;
	border: 2px solid var(--rp-navy);
	border-radius: 999px;
	color: var(--rp-navy);
	font-weight: 700;
	font-size: 15px;
	transition: background .15s ease, color .15s ease;
}
.epde-rp__all a:hover, .epde-rp__all a:focus-visible { background: var(--rp-navy); color: #fff; }

@media (max-width: 900px) {
	.epde-rp__cards { grid-template-columns: 1fr; gap: 14px; }
	.epde-rp__card { padding: 16px 18px; }
}
@media (max-width: 480px) {
	.epde-rp__list a { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
	.epde-rp__card { transition: none; }
	.epde-rp__card:hover { transform: none; }
}
