/*
Theme Name: WPN Eight – wordpress8.se
Template: wpn-base
Description: Child theme for wordpress8.se, the future of WordPress. Bold gradients and rounded type.
Author: A Greater Star
Author URI: https://agreaterstar.com
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: wpn-base
*/

/* wordpress8.se – the future. Violet-to-blue gradient hero, rounded type, colourful card tops. */

.wpn-badge {
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.wpn-hero--eight {
	color: #ffffff;
	background:
		radial-gradient(50rem 30rem at 90% 10%, rgba(96, 165, 250, 0.55), transparent 60%),
		radial-gradient(40rem 30rem at 0% 100%, rgba(167, 139, 250, 0.5), transparent 60%),
		linear-gradient(135deg, #2e1065, #5b21b6 45%, #1d4ed8);
	margin-bottom: var(--wp--preset--spacing--50);
}

.wpn-hero--eight .wpn-eyebrow,
.wpn-hero--eight .wpn-lead {
	color: rgba(255, 255, 255, 0.85);
}

.wpn-hero--eight h1 {
	color: #ffffff;
	max-width: 13ch;
	line-height: 1.02;
}

.wpn-hero--eight .wp-block-button__link {
	background: #ffffff;
	color: #2e1065;
}

.wpn-hero--eight .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.7);
}

.wpn-orb {
	position: absolute;
	right: max(2rem, 6vw);
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 900;
	font-size: clamp(12rem, 30vw, 26rem);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px rgba(255, 255, 255, 0.28);
	pointer-events: none;
}

.wpn-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: var(--wp--preset--spacing--50) 0 0;
}

.wpn-tags-row li {
	padding: 0.35em 0.9em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 0.85rem;
	font-weight: 700;
}

.wpn-card {
	border: 0;
	padding-top: calc(var(--wp--preset--spacing--40) + 6px);
	overflow: hidden;
}

.wpn-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 6px;
	background: linear-gradient(90deg, #7c3aed, #2563eb);
}

.wpn-cards > li:nth-child(3n + 2) .wpn-card::before {
	background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.wpn-cards > li:nth-child(3n + 3) .wpn-card::before {
	background: linear-gradient(90deg, #a855f7, #6366f1);
}

.wpn-card--featured {
	background: linear-gradient(135deg, var(--wp--preset--color--accent-soft), #e8f0ff);
}

@media (max-width: 700px) {
	.wpn-orb {
		opacity: 0.5;
	}
}
