.ct-widget {
	padding: 0.25rem 0 0.75rem;
}

.ct-widget .ct-tabs {
	display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.65rem;
    padding: 2rem 0.15rem 1rem;
    margin: 0 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 43, 77, 0.35) transparent;
    border-bottom: 1px solid rgba(13, 43, 77, 0.9);
}

.ct-widget .ct-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 20px;
	background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    color: #10335e;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(13, 43, 77, 0.18);
	transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.ct-widget .ct-tab:hover {
	background: linear-gradient(135deg, #174a86 0%, #123b6d 100%);
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 5px 0px 25px 0px rgba(13, 43, 77, 0.24);
}

.ct-widget .ct-tab--active {
	background: linear-gradient(135deg, #174a86 0%, #123b6d 100%);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 24px rgba(13, 43, 77, 0.24);
}

.ct-widget .ct-tab:active {
	transform: translateY(0);
}

.ct-widget .ct-tab:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(24, 118, 210, 0.18), 0 10px 24px rgba(13, 43, 77, 0.24);
}

.ct-widget .ct-tab--ext {
	color: #1a5ea8;
}

.ct-widget .ct-tab__ext-icon {
	font-size: 0.65rem;
	opacity: 0.75;
}

.ct-widget .ct-panel {
	display: none;
}

.ct-widget .ct-panel--active {
	display: block;
}

/* Aliniere stil cards cu category-evenimente.css */
.ct-widget .event-card {
	display: block;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(10, 36, 64, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	text-decoration: none;
}

.ct-widget .event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(10, 36, 64, 0.14);
	text-decoration: none;
}

.ct-widget .event-card__image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.ct-widget .page-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.ct-widget .event-card:hover .page-card__img {
	transform: scale(1.04);
}

.ct-widget .page-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eceae6;
	color: #a0a09c;
	font-size: 2.3rem;
}

.ct-widget .event-card__date-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #0a2440;
	color: #fff;
	border-radius: 8px;
	padding: 0.45rem 0.65rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
	min-width: 52px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ct-widget .event-card__day {
	font-family: "Oswald-Regular", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.ct-widget .event-card__month {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 2px;
	color: #e5bd07;
	font-weight: 600;
}

.ct-widget .page-card__body {
	padding: 1.25rem 1.25rem 1.5rem;
}

.ct-widget .page-card__title {
	font-family: "Oswald-Regular", sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: #0a2440;
	margin: 0 0 0.5rem;
	line-height: 1.3;
	transition: color 0.15s;
}

.ct-widget .event-card:hover .page-card__title {
	color: #1f5489;
}

.ct-widget .page-card__desc {
	font-size: 0.9rem;
	color: #6b6b68;
	line-height: 1.55;
	margin: 0 0 0.75rem;
}

.ct-widget .page-card__link {
	font-size: 0.8rem;
	color: #a0a09c;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.ct-widget .page-card__link i {
	color: #e5bd07;
}

.ct-widget .ct-see-all {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1a5ea8;
	text-decoration: none;
}

.ct-widget .ct-see-all:hover {
	text-decoration: underline;
}

.ct-widget .ct-empty {
	font-size: 0.95rem;
	color: #a0a09c;
	font-style: italic;
	margin: 0.35rem 0 0;
}

.ct-widget .ct-post-content {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #3d3d3a;
}

/* Paginare widget (same visual language with events pagination) */
.ct-widget .ct-pagination {
	/* padding: 0.8rem 0 0.2rem;
	text-align: center; */
	display: flex;
    justify-content: center;
    margin: 20px auto;
    border-radius: 4px;
}

.ct-widget .ct-pagination .page-numbers {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	background: none;
    border: none;
	margin: 0;
	padding: 0;
}

.ct-widget .ct-pagination .page-numbers li {
	margin: 0;
	padding: 0;
}

.ct-widget .ct-pagination .page-numbers a,
.ct-widget .ct-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #3d3d3a;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eceae6;
	transition: all 0.15s;
}

.ct-widget .ct-pagination .page-numbers a:hover {
	background: #f0f4f8;
	color: #0a2440;
	border-color: #1f5489;
}

.ct-widget .ct-pagination .page-numbers .current {
	background: #0a2440;
	color: #fff;
	border-color: #0a2440;
	font-weight: 700;
}

.ct-widget .ct-pagination .page-numbers .prev,
.ct-widget .ct-pagination .page-numbers .next {
	background: transparent;
	border: none;
	color: #1f5489;
	font-size: 0.85rem;
}

@media (max-width: 575.98px) {
	.ct-widget .ct-tabs {
		gap: 0.4rem;
		padding: 0.3rem 0.05rem 0.75rem;
		margin-bottom: 1.1rem;
	}

	.ct-widget .ct-tab {
		font-size: 0.72rem;
		padding: 0.5rem 0.8rem;
	}
}
