/*
Theme Name: Whale Land Child
Theme URI: https://whale.land/
Description: Child theme for GeneratePress on whale.land.
Author: Whale Land
Author URI: https://whale.land/
Template: generatepress
Version: 1.0.0
Text Domain: whale-land-child
*/

/* Add custom styles below this line. */

:root {
	--wl-surface: rgba(255, 255, 255, 0.08);
	--wl-surface-soft: rgba(255, 255, 255, 0.06);
	--wl-text: #f8fbff;
	--wl-text-dark: #f8fbff;
	--wl-muted: rgba(248, 251, 255, 0.78);
	--wl-accent: #d16ba5;
	--wl-accent-strong: #5ffbf1;
	--wl-shadow: 0 18px 40px rgba(36, 41, 84, 0.18);
}

body {
	background:
		linear-gradient(135deg, #866589 0%, #47597f 52%, #4a97a3 100%);
	color: var(--wl-text);
}

body .site,
body .site-content {
	background: transparent;
}

body.blog #page,
body.home.blog #page,
body.archive #page,
body.single-post #page,
body.blog .site-content,
body.home.blog .site-content,
body.archive .site-content,
body.single-post .site-content,
body.blog #primary,
body.home.blog #primary,
body.archive #primary,
body.single-post #primary,
body.blog .content-area,
body.home.blog .content-area,
body.archive .content-area,
body.single-post .content-area,
body.blog .site-main,
body.home.blog .site-main,
body.archive .site-main,
body.single-post .site-main {
	background: transparent !important;
}

body .inside-header {
	padding-top: 22px;
	padding-bottom: 22px;
}

body .main-navigation,
body .site-header {
	background: transparent;
	backdrop-filter: blur(14px);
	border-bottom: 0;
}

body .site-branding .main-title a,
body .main-navigation a {
	color: #ffffff;
}

body .site-branding .main-title a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

body .site-branding .main-title a::before {
	content: "";
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	background: url("assets/whale-mark.svg") center/contain no-repeat;
}

body .site-description {
	color: #ffffff;
}

body .main-navigation .main-nav ul li a,
body .main-navigation .menu-toggle,
body .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body .main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
body .main-navigation .main-nav ul li a:hover,
body .main-navigation .main-nav ul li a:focus {
	color: #ffffff;
}

body .site-branding .main-title a:hover,
body .main-navigation a:hover,
body .main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: #ffffff;
}

body .site-main {
	padding-top: 16px;
	padding-bottom: 56px;
}

body .content-area,
body .inside-article,
body .site-content,
body #page {
	box-shadow: none;
	border: 0 !important;
	outline: 0 !important;
	background-image: none;
}

body .entry-title,
body h1,
body h2,
body h3,
body h4 {
	color: var(--wl-text-dark);
	letter-spacing: -0.03em;
}

body .entry-content p,
body .entry-summary p,
body .inside-article p {
	color: var(--wl-muted);
}

body .entry-content a,
body .entry-summary a,
body .inside-article a {
	color: #ffffff;
}

body .entry-content a:hover,
body .entry-summary a:hover,
body .inside-article a:hover {
	color: #5ffbf1;
}

.crypto-news-page {
	padding: 48px 0 72px;
	background: transparent;
}

.crypto-news-shell {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	padding: 0;
	background: transparent;
	border: 0;
	outline: 0;
	box-shadow: none;
}

.crypto-news-hero {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
	color: #ffffff;
	border: 0;
	border-radius: 10px;
	padding: 28px 32px 24px;
	box-shadow: 0 18px 40px rgba(34, 41, 78, 0.12);
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
}

.crypto-news-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.crypto-news-hero h1 {
	margin: 16px 0 10px;
	font-size: clamp(1.9rem, 4.2vw, 3.3rem);
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.crypto-news-hero p {
	max-width: 560px;
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.96);
}

.crypto-news-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
	gap: 28px;
	margin-top: 28px;
	align-items: start;
}

.crypto-news-main,
.crypto-news-sidebar {
	display: grid;
	gap: 22px;
	align-content: start;
	align-self: start;
}

.crypto-news-featured,
.crypto-news-card,
.crypto-news-panel {
	background: var(--wl-surface);
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	backdrop-filter: blur(10px);
}

.crypto-news-featured {
	padding: 22px;
}

.crypto-news-media {
	display: block;
	margin: -22px -22px 16px;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
	background: rgba(255, 255, 255, 0.08);
}

.crypto-news-media img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.crypto-news-media-featured {
	margin: -22px -22px 18px;
	border-radius: 12px 12px 0 0;
}

.crypto-news-media-featured img {
	height: 260px;
}

.crypto-news-label {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(95, 251, 241, 0.16);
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.crypto-news-featured h2,
.crypto-news-card h3 {
	margin: 14px 0 10px;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.crypto-news-featured h2 {
	font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.crypto-news-card h3 {
	font-size: clamp(1.08rem, 1.9vw, 1.45rem);
}

.crypto-news-featured p,
.crypto-news-card p,
.crypto-news-panel p,
.crypto-news-list a {
	color: var(--wl-muted);
}

.crypto-news-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	font-size: 0.8rem;
	color: var(--wl-muted);
}

.crypto-news-link {
	display: inline-flex;
	align-items: center;
	margin-top: 14px;
	color: var(--wl-text-dark);
	font-weight: 700;
	text-decoration: none;
}

.crypto-news-link:hover {
	color: #5ffbf1;
}

.crypto-news-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.crypto-news-card {
	padding: 22px;
	overflow: hidden;
}

.crypto-news-card.is-highlight {
	background: rgba(255, 255, 255, 0.1);
}

.crypto-news-panel {
	padding: 20px;
}

.crypto-news-panel h3 {
	margin: 0 0 14px;
	font-size: 1rem;
}

.crypto-news-panel p:last-child {
	margin-bottom: 0;
}

.crypto-news-panel-soft {
	background: rgba(255, 255, 255, 0.06);
}

.crypto-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.crypto-news-list li + li {
	padding-top: 14px;
	border-top: 0;
}

.crypto-news-list a {
	text-decoration: none;
	font-weight: 600;
	line-height: 1.45;
}

.crypto-news-list a:hover {
	color: var(--wl-accent-strong);
}

.crypto-news-topics {
	display: grid;
	gap: 10px;
}

.crypto-news-topic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 0;
	border-radius: 10px;
	text-decoration: none;
	color: var(--wl-text);
	background: rgba(255, 255, 255, 0.08);
}

.crypto-news-topic:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.crypto-news-topic span {
	font-weight: 700;
}

.crypto-news-topic small {
	color: var(--wl-muted);
	font-size: 0.82rem;
}

.crypto-news-empty {
	padding: 28px;
	text-align: center;
	background: var(--wl-surface-soft);
	border: 0;
	border-radius: 12px;
	color: var(--wl-muted);
}

.crypto-post-page {
	padding: 36px 0 72px;
	background: transparent;
}

.crypto-post-shell {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
	gap: 28px;
	background: transparent;
	align-items: start;
}

.crypto-post-article,
.crypto-post-aside {
	display: grid;
	gap: 22px;
	align-content: start;
	align-self: start;
}

.crypto-post-card {
	background: var(--wl-surface);
	border: 0;
	border-radius: 12px;
	box-shadow: var(--wl-shadow);
	padding: 30px;
}

.crypto-post-card .entry-title,
.crypto-post-card h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.04;
	margin-bottom: 16px;
}

.crypto-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-bottom: 24px;
	color: var(--wl-muted);
	font-size: 0.9rem;
}

.crypto-post-card .wp-post-image,
.crypto-post-card img {
	border-radius: 10px;
}

.crypto-post-card .entry-content > *:first-child {
	margin-top: 0;
}

.crypto-post-card .entry-content > *:last-child {
	margin-bottom: 0;
}

.crypto-post-card blockquote {
	margin: 28px 0;
	padding: 20px 24px;
	border-left: 4px solid var(--wl-accent);
	background: linear-gradient(180deg, #fbffff 0%, #f7fbff 100%);
	border-radius: 10px;
	color: var(--wl-text);
}

.crypto-post-card ul,
.crypto-post-card ol {
	color: var(--wl-muted);
}

.crypto-post-card .post-navigation,
.crypto-post-card .nav-links {
	margin-top: 32px;
}

.crypto-post-card .post-navigation a,
.crypto-post-card .nav-links a {
	text-decoration: none;
	font-weight: 700;
}

.crypto-archive-page {
	padding: 36px 0 72px;
	background: transparent;
}

.crypto-archive-header {
	margin-bottom: 28px;
}

.crypto-archive-header p {
	max-width: 720px;
}

.crypto-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.crypto-archive-grid .crypto-news-card h2,
.crypto-archive-grid .crypto-news-card h3 {
	font-size: 1.45rem;
}

@media (max-width: 980px) {
	.crypto-news-grid {
		grid-template-columns: 1fr;
	}

	.crypto-news-card-grid {
		grid-template-columns: 1fr;
	}

	.crypto-post-shell,
	.crypto-archive-grid {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 640px) {
	.crypto-news-page {
		padding: 28px 0 56px;
	}

	.crypto-news-shell {
		width: min(100% - 20px, 1120px);
	}

	.crypto-news-hero,
	.crypto-news-featured,
	.crypto-news-card,
	.crypto-news-panel,
	.crypto-post-card {
		border-radius: 10px;
		padding: 22px;
	}

	.crypto-news-media {
		margin: -22px -22px 18px;
		border-radius: 10px 10px 0 0;
	}

	.crypto-news-media img,
	.crypto-news-media-featured img {
		height: 220px;
	}

	.crypto-news-hero h1 {
		font-size: clamp(1.75rem, 8vw, 2.4rem);
	}

	.crypto-post-shell {
		width: min(100% - 20px, 1120px);
	}
}
