/**
 * Radar Records Catalog - Frontend Styles
 *
 * @package RadarRecordsCatalog
 */

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.rr-artists-grid,
.rr-releases-grid,
.rr-playlists-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

/* ==========================================================================
   Artist Styles
   ========================================================================== */

/* Archive - Artist Item */
.rr-artist-item {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rr-artist-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rr-artist-thumbnail {
	position: relative;
	padding-top: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.rr-artist-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rr-artist-info {
	padding: 20px;
}

.rr-artist-name {
	margin: 0 0 10px;
	font-size: 1.2em;
}

.rr-artist-name a {
	color: #333;
	text-decoration: none;
}

.rr-artist-name a:hover {
	color: #0073aa;
}

.rr-artist-location,
.rr-artist-genre {
	margin: 5px 0;
	color: #666;
	font-size: 0.9em;
}

.rr-artist-excerpt {
	margin: 15px 0;
	color: #555;
	font-size: 0.95em;
}

.rr-artist-link {
	margin-top: 15px;
}

/* Single - Artist Page */
.rr-artist-single .rr-artist-header {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.rr-artist-single .rr-artist-photo {
	flex: 0 0 300px;
}

.rr-artist-single .rr-artist-photo img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.rr-artist-single .rr-artist-header-info {
	flex: 1;
	min-width: 300px;
}

.rr-artist-single .rr-artist-title {
	margin: 0 0 20px;
	font-size: 2.5em;
}

.rr-artist-single .rr-artist-bio {
	margin: 30px 0;
}

.rr-artist-single .rr-artist-bio h2 {
	margin-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

/* DSP Links */
.rr-artist-dsps {
	margin: 30px 0;
}

.rr-artist-dsps h2 {
	margin-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

.rr-dsp-links {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.rr-dsp-link {
	display: inline-block;
	padding: 12px 24px;
	background: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background 0.3s ease;
}

.rr-dsp-link:hover {
	background: #005177;
	color: #fff;
}

/* Artist Discography */
.rr-artist-discography,
.rr-artist-playlists {
	margin: 40px 0;
}

.rr-artist-discography h2,
.rr-artist-playlists h2 {
	margin-bottom: 20px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

/* ==========================================================================
   Release Styles
   ========================================================================== */

/* Archive - Release Item */
.rr-release-item {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rr-release-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rr-release-thumbnail {
	position: relative;
	padding-top: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.rr-release-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rr-release-info {
	padding: 20px;
}

.rr-release-title {
	margin: 0 0 10px;
	font-size: 1.2em;
}

.rr-release-title a {
	color: #333;
	text-decoration: none;
}

.rr-release-title a:hover {
	color: #0073aa;
}

.rr-release-type,
.rr-release-date,
.rr-release-artists {
	margin: 5px 0;
	color: #666;
	font-size: 0.9em;
}

.rr-release-excerpt {
	margin: 15px 0;
	color: #555;
	font-size: 0.95em;
}

.rr-release-link {
	margin-top: 15px;
}

/* Single - Release Page */
.rr-release-single .rr-release-header {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.rr-release-single .rr-release-cover {
	flex: 0 0 300px;
}

.rr-release-single .rr-release-cover img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.rr-release-single .rr-release-header-info {
	flex: 1;
	min-width: 300px;
}

.rr-release-single .rr-release-title {
	margin: 0 0 20px;
	font-size: 2.5em;
}

.rr-release-single .rr-release-description {
	margin: 30px 0;
}

.rr-release-single .rr-release-description h2 {
	margin-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

/* ==========================================================================
   Playlist Styles
   ========================================================================== */

/* Archive - Playlist Item */
.rr-playlist-item {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rr-playlist-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rr-playlist-thumbnail {
	position: relative;
	padding-top: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.rr-playlist-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rr-playlist-info {
	padding: 20px;
}

.rr-playlist-name {
	margin: 0 0 10px;
	font-size: 1.2em;
}

.rr-playlist-name a {
	color: #333;
	text-decoration: none;
}

.rr-playlist-name a:hover {
	color: #0073aa;
}

.rr-playlist-type {
	margin: 5px 0;
	color: #666;
	font-size: 0.9em;
}

.rr-playlist-excerpt {
	margin: 15px 0;
	color: #555;
	font-size: 0.95em;
}

.rr-playlist-link {
	margin-top: 15px;
}

/* Single - Playlist Page */
.rr-playlist-single .rr-playlist-header {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.rr-playlist-single .rr-playlist-image {
	flex: 0 0 300px;
}

.rr-playlist-single .rr-playlist-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.rr-playlist-single .rr-playlist-header-info {
	flex: 1;
	min-width: 300px;
}

.rr-playlist-single .rr-playlist-title {
	margin: 0 0 20px;
	font-size: 2.5em;
}

.rr-playlist-single .rr-playlist-description {
	margin: 30px 0;
}

.rr-playlist-single .rr-playlist-description h2 {
	margin-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

/* ==========================================================================
   Archive Pages
   ========================================================================== */

.rr-archive {
	margin: 30px 0;
}

.archive-header {
	margin-bottom: 30px;
	text-align: center;
}

.archive-title {
	font-size: 2em;
	margin-bottom: 10px;
}

.archive-description {
	color: #666;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button,
a.button {
	display: inline-block;
	padding: 10px 20px;
	background: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background 0.3s ease;
	border: none;
	cursor: pointer;
}

.button:hover,
a.button:hover {
	background: #005177;
	color: #fff;
}

.button-primary {
	background: #d63638;
}

.button-primary:hover {
	background: #b32d2e;
}

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

@media (max-width: 768px) {
	.rr-artists-grid,
	.rr-releases-grid,
	.rr-playlists-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 20px;
	}

	.rr-artist-single .rr-artist-header,
	.rr-release-single .rr-release-header,
	.rr-playlist-single .rr-playlist-header {
		flex-direction: column;
	}

	.rr-artist-single .rr-artist-photo,
	.rr-release-single .rr-release-cover,
	.rr-playlist-single .rr-playlist-image {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.rr-artist-single .rr-artist-title,
	.rr-release-single .rr-release-title,
	.rr-playlist-single .rr-playlist-title {
		font-size: 2em;
	}
}
