/* template.custom.css */
/* ... */

ul.pagination-custom>li.active>a.page-link,
ul.pagination-custom>li.active>a.page-link:hover,
ul.pagination-custom>li.active>a.page-link:focus,
ul.pagination-custom>li.active>a.page-link:active {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: none !important;
}

ul.pagination-custom>li>a.page-link,
ul.pagination-custom>li>a.page-link:hover,
ul.pagination-custom>li>a.page-link:focus,
ul.pagination-custom>li>a.page-link:active {
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: none !important;
}

.footable-pagination-wrapper ul.pagination>li.active>a.footable-page-link,
.footable-pagination-wrapper ul.pagination>li.active>a.footable-page-link:hover,
.footable-pagination-wrapper ul.pagination>li.active>a.footable-page-link:focus,
.footable-pagination-wrapper ul.pagination>li.active>a.footable-page-link:active {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: none !important;
}

.footable-pagination-wrapper ul.pagination>li>a.footable-page-link,
.footable-pagination-wrapper ul.pagination>li>a.footable-page-link:hover,
.footable-pagination-wrapper ul.pagination>li>a.footable-page-link:focus,
.footable-pagination-wrapper ul.pagination>li>a.footable-page-link:active {
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: none !important;
}

@media (max-width: 1399.98px) {
	nav.nav-desktop>ul>li {
		margin: 0 10px;
	}
}


.form-control,
.form-control:focus {
	font-size: 18px !important;
}


.table-rkk-condensed table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9em;
}

.table-rkk-condensed th {
	padding: 4px 8px;
	border: 1px solid #ddd;
	background-color: #f2f2f2;
	text-align: left;
}

.table-rkk-condensed td {
	padding: 4px 8px;
	border: 1px solid #ddd;
	text-align: left;
}

.table-rkk-condensed tr:nth-child(even) {
	background-color: #f9f9f9;
}

.table-rkk-condensed tr:hover {
	background-color: #f1f1f1;
}

.table-rkk-condensed h6 {
	margin-bottom: 0px;
}

@media (min-width: 1200px) {
	.golden-border-left {
		border-left: 5px solid #dcb426;
	}

	.golden-border-bottom {
		border-bottom: 5px solid #dcb426;
	}
}

figcaption {
	font-size: 90%;
	color: #6c757d;
}

.table tr:last-child td{
	border-bottom: 1px solid #dee2e6;
}

/* ===== Audio-Kachel (RKKAudioTile) ===== */
.audiotile-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	background: #222;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	transition: transform .18s ease, box-shadow .18s ease;
}

.audiotile-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

.audiotile-card:focus {
	outline: 3px solid #111;
	outline-offset: 2px;
}

.audiotile-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease, filter .3s ease;
}

.audiotile-card:hover .audiotile-photo {
	transform: scale(1.05);
}

.audiotile-card.is-playing .audiotile-photo {
	filter: saturate(1.1) brightness(.9);
}

.audiotile-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111;
	color: #fff;
	font-size: 4rem;
	font-weight: 600;
	transform: none !important;
}

.audiotile-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, 0) 70%);
}

.audiotile-meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 14px 12px;
	color: #fff;
}

.audiotile-name {
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
}

.audiotile-role {
	font-size: .8rem;
	opacity: .82;
	margin-top: 2px;
}

.audiotile-play {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	transition: background .2s ease, transform .2s ease;
}

.audiotile-card:hover .audiotile-play {
	transform: scale(1.08);
}

.audiotile-card.is-playing .audiotile-play {
	background: #111;
	color: #fff;
}

.audiotile-play svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.audiotile-ic-pause {
	display: none;
}

.audiotile-card.is-playing .audiotile-ic-play {
	display: none;
}

.audiotile-card.is-playing .audiotile-ic-pause {
	display: block;
}

/* animated "speaking" bars, only visible while playing */
.audiotile-wave {
	position: absolute;
	top: 18px;
	left: 14px;
	display: none;
	align-items: flex-end;
	gap: 3px;
	height: 22px;
}

.audiotile-card.is-playing .audiotile-wave {
	display: flex;
}

.audiotile-wave span {
	display: block;
	width: 4px;
	height: 100%;
	background: #fff;
	border-radius: 2px;
	transform-origin: bottom;
	animation: audiotileWave 1s ease-in-out infinite;
}

.audiotile-wave span:nth-child(2) { animation-delay: .15s; }
.audiotile-wave span:nth-child(3) { animation-delay: .30s; }
.audiotile-wave span:nth-child(4) { animation-delay: .45s; }

@keyframes audiotileWave {
	0%, 100% { transform: scaleY(.25); }
	50% { transform: scaleY(1); }
}

.audiotile-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: rgba(255, 255, 255, .25);
}

.audiotile-progress > i {
	display: block;
	height: 100%;
	width: 0;
	background: #111;
	transition: width .15s linear;
}

@media (prefers-reduced-motion: reduce) {
	.audiotile-wave span { animation: none; }
}