/**
 * Mixes Archive Styles
 * Matches visual design patterns from blog archive
 *
 * @package DNB_Mixes
 */

/* ==========================================================================
   Mixes Archive Container
   ========================================================================== */

.mixes-archive-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	background-image: url('../../../themes/dnb-proper/assets/images/backgrounds/blog-main-bg.png');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	display: grid;
	grid-template-columns: 1fr 418px;
	gap: 0;
}

.mixes-archive__sidebar {
	background-color: #1a1a1a;
	background-image: url('../../../themes/dnb-proper/assets/images/backgrounds/blog-sidebar-bg.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 0;
	padding: 2rem 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 600px;
	position: relative;
}

.mixes-archive__main {
	padding: 2rem 2.5rem;
	min-height: 600px;
}

/* ==========================================================================
   Mixes List Grid Layout
   ========================================================================== */

.mixes-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ==========================================================================
   Mix Card Styling
   ========================================================================== */

.mix-card {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 2rem 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.mix-card:first-child {
	border-top: none;
	padding-top: 0;
}

.mix-card__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -1.2px;
	margin: 0 0 0.5rem 0;
}

.mix-card__title a {
	color: #ffff02;
	text-decoration: none;
	text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.15);
}

.mix-card__title a:hover {
	text-decoration: underline;
	color: #d4d400;
}

.mix-card__excerpt {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.875rem;
	color: #ffffff;
	line-height: 1.6;
	letter-spacing: -0.7px;
	margin-bottom: 1rem;
}

.mix-card__excerpt p {
	margin: 0 0 0.5rem 0;
}

.mix-card__excerpt p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   SoundCloud Embed Styling
   ========================================================================== */

.mix-card__embed {
	margin-top: 1rem;
	width: 100%;
}

.mix-card__embed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: none;
}

/* ==========================================================================
   Shows Sidebar Widget
   ========================================================================== */

.shows-widget {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 0;
}

.shows-widget__title {
	font-family: 'Roboto Condensed', sans-serif !important;
	font-weight: 100;
    font-size: 24px;
	color: #ffff02;
	margin: 0 0 12px 0;
	letter-spacing: -0.9px;
	text-transform: none;
	padding: 0 0 12px 0;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: none;
	line-height: 1.2;
}

.shows-widget__list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.shows-widget__item {
	margin: 0;
	padding: 0;
}

.shows-widget__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Roboto Condensed', sans-serif !important;
	font-size: 14px !important;
	color: rgba(255, 255, 255, 0.85) !important;
	line-height: 1.4 !important;
	padding: 0 !important;
	margin: 0 !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.shows-widget__link:hover {
	color: #ffff02 !important;
	text-decoration: none !important;
}

.shows-widget__count {
	font-size: 14px !important;
	color: rgba(255, 255, 255, 0.6) !important;
	margin-left: 8px;
}

.shows-widget__empty {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	font-style: italic;
	margin: 0;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0.5rem 0.75rem;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	color: #ffffff;
	background-color: transparent;
	border: 1px solid #333333;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pagination .page-numbers:hover {
	background-color: #feff02;
	color: #000000;
	border-color: #feff02;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background-color: #feff02;
	color: #000000;
	border-color: #feff02;
}

.pagination .page-numbers.dots {
	border: none;
	background: none;
	cursor: default;
}

.pagination .page-numbers.dots:hover {
	background: none;
	color: #ffffff;
}

.pagination .prev,
.pagination .next {
	font-weight: 600;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.mixes-archive__main > p {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	color: #999999;
	font-style: italic;
	text-align: center;
	padding: 3rem 0;
}

/* ==========================================================================
   Single Mix Styles
   ========================================================================== */

.mix-single {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.mix-single__header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.sep-header {
	height: 1px;
}

.mix-single__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -1.6px;
	margin: 0;
	color: #ffff02;
	text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.15);
}

.mix-single__embed {
	width: 100%;
	margin: 0;
}

.mix-single__embed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: none;
}

.mix-single__thumbnail {
	width: 100%;
	margin: 0;
}

.mix-single__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.mix-single__content {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	color: #ffffff;
	line-height: 1.6;
	letter-spacing: -0.8px;
}

.mix-single__content p {
	margin: 0 0 1rem 0;
}

.mix-single__content p:last-child {
	margin-bottom: 0;
}

.mix-single__meta {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mix-single__meta-label {
	font-weight: 600;
	color: #ffff02;
	margin-right: 0.5rem;
}

.mix-single__meta a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

.mix-single__meta a:hover {
	color: #ffff02;
	text-decoration: underline;
}

.mix-single__navigation {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mix-single__nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.mix-single__nav-prev,
.mix-single__nav-next {
	display: flex;
	flex-direction: column;
}

.mix-single__nav-prev a,
.mix-single__nav-next a {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.mix-single__nav-prev a:hover,
.mix-single__nav-next a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: #ffff02;
}

.mix-single__nav-next {
	text-align: right;
}

.mix-single__nav-links .nav-label {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: rgba(255, 255, 255, 0.6);
}

.mix-single__nav-links .nav-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #ffff02;
	letter-spacing: -0.8px;
}

.mix-single__back-link {
	text-align: center;
}

.mix-single__back-link a {
	display: inline-block;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mix-single__back-link a:hover {
	background-color: #ffff02;
	color: #000000;
	border-color: #ffff02;
}

/* ==========================================================================
   Taxonomy Archive Styles
   ========================================================================== */

.taxonomy-description {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	letter-spacing: -0.75px;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.taxonomy-description p {
	margin: 0 0 0.75rem 0;
}

.taxonomy-description p:last-child {
	margin-bottom: 0;
}

.shows-widget__item.current-show .shows-widget__link {
	color: #ffff02 !important;
	font-weight: 600;
}

.shows-widget__all-link {
	display: inline-block;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	width: 100%;
	text-align: center;
}

.shows-widget__all-link:hover {
	background-color: #ffff02;
	color: #000000;
	border-color: #ffff02;
	text-decoration: none;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.mixes-archive-wrap {
		padding: 0;
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.mixes-archive__sidebar {
		order: 2;
	}

	.mixes-archive__main {
		padding: 1.5rem 1rem;
		order: 1;
	}

	.mix-card {
		padding: 1.5rem 0;
	}

	.mix-card__title {
		font-size: 1.25rem;
	}

	.mix-card__excerpt {
		font-size: 0.8125rem;
	}

	.pagination {
		flex-wrap: wrap;
		gap: 0.25rem;
		margin-top: 2rem;
		padding-top: 1.5rem;
	}

	.pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0.4rem 0.6rem;
		font-size: 0.8125rem;
	}

	/* Single Mix Mobile */
	.mix-single__title {
		font-size: 1.5rem;
		letter-spacing: -1.2px;
	}

	.mix-single__nav-links {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.mix-single__nav-next {
		text-align: left;
	}
}

@media (max-width: 600px) {
	.mixes-archive__main {
		padding: 1rem 0.75rem;
	}

	.mixes-archive__sidebar {
		padding: 1.5rem;
	}

	.mix-card__title {
		font-size: 1.125rem;
		letter-spacing: -0.9px;
	}

	.mix-card__excerpt {
		font-size: 0.75rem;
	}

	.pagination .page-numbers {
		min-width: 32px;
		height: 32px;
		padding: 0.35rem 0.5rem;
		font-size: 0.75rem;
	}

	/* Single Mix Mobile */
	.mix-single__title {
		font-size: 1.25rem;
		letter-spacing: -1px;
	}

	.mix-single__content {
		font-size: 0.9375rem;
	}

	.mix-single__nav-prev a,
	.mix-single__nav-next a {
		padding: 0.75rem;
	}

	.mix-single__nav-links .nav-title {
		font-size: 0.875rem;
	}
}
