/* Designer Credits — neutral styling der arver farver og fonte fra temaet. */
:root {
	--dc-accent: currentColor;
	--dc-muted: rgba(0, 0, 0, 0.6);
	--dc-line: rgba(0, 0, 0, 0.1);
	--dc-soft: rgba(0, 0, 0, 0.035);
	--dc-radius: 12px;
}

/* Avatar */
.dc-avatar {
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--dc-soft);
	font-weight: 700;
	line-height: 1;
}
.dc-avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.dc-avatar--md { width: 64px; height: 64px; font-size: 20px; }
.dc-avatar--lg { width: 120px; height: 120px; font-size: 36px; }

/* "Designet af" på produktsiden */
.dc-byline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 1em;
	text-decoration: none;
	color: inherit;
	font-size: 0.95em;
}
.dc-byline:hover strong { text-decoration: underline; }

/* I produktlister */
.dc-loop-designer {
	display: block;
	font-size: 0.85em;
	color: var(--dc-muted);
	margin: 2px 0 6px;
}

/* Fane: Designer & licens */
.dc-credit__designer {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 1.2em;
}
.dc-credit__designer h3 { margin: 0 0 4px; }
.dc-credit__tagline { margin: 0 0 4px; color: var(--dc-muted); }
.dc-credit__license {
	padding: 12px 16px;
	background: var(--dc-soft);
	border-radius: var(--dc-radius);
	font-size: 0.92em;
}

/* Designerside-header */
.dc-profile {
	display: flex;
	gap: 28px;
	align-items: center;
	padding: 24px 0 32px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--dc-line);
}
.dc-profile__tagline { font-size: 1.15em; font-weight: 600; margin: 0 0 8px; }
.dc-profile__bio p:last-child { margin-bottom: 0; }
.dc-profile__meta { color: var(--dc-muted); font-size: 0.9em; margin: 10px 0 0; }
.dc-profile__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.dc-profile__links a {
	padding: 6px 14px;
	border: 1px solid var(--dc-line);
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.9em;
}
.dc-profile__links a:hover { border-color: currentColor; }

@media (max-width: 600px) {
	.dc-profile { flex-direction: column; text-align: center; }
	.dc-profile__links { justify-content: center; }
}

/* Designeroversigt */
.dc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin: 24px 0;
}
.dc-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 24px 18px 18px;
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-radius);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35); }
.dc-card__name { margin: 8px 0 0; font-size: 1.1em; }
.dc-card__tagline { margin: 0; font-size: 0.88em; color: var(--dc-muted); }
.dc-card__thumbs { display: flex; gap: 6px; margin-top: 10px; }
.dc-card__thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.dc-card__count { margin-top: auto; padding-top: 10px; font-size: 0.82em; color: var(--dc-muted); }

/* Temaoversigt */
.dc-themes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
	margin: 24px 0;
}
.dc-theme {
	position: relative;
	display: block;
	border-radius: var(--dc-radius);
	overflow: hidden;
	background: var(--dc-soft);
	aspect-ratio: 1;
	text-decoration: none;
	color: inherit;
}
.dc-theme img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-theme span {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 4px 12px;
	background: rgba(255, 255, 255, 0.92);
	color: #222;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9em;
}

@media (prefers-reduced-motion: reduce) {
	.dc-card { transition: none; }
}
