/* =====================================================================
   components.css - CUSTOM strona glowna (cv-*) + restyl nawigacji.
   Strona glowna jest w pelni custom (markup: homepage-423.html + shortcode'y
   [certherverse_stories]/[certherverse_updates]); NIE natywne karty Fictioneera.
   Kolory brandowe (ember #e06c50, ciepla kosc sloniowa 232,213,196) wprost tutaj.
   ===================================================================== */

/* ---------- Karty bez okladek na pozostalych powierzchniach (lista/opowiadanie) ---------- */
.card__image,
.card .cell-img {
	display: none !important;
}
.card__title,
.card__title a {
	font-family: var(--ff-story-title);
}

/* =====================================================================
   STRONA GLOWNA - .certherverse-home / .cv-*
   ===================================================================== */
.certherverse-home .cv-home {
	/* .main (site-width) + .main__wrapper (padding) Fictioneera juz daja szerokosc/inset. */
	width: 100%;
}

.cv-kicker {
	font-family: var(--ff-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e06c50;
	margin: 0;
}
.cv-muted {
	color: rgba(232, 213, 196, 0.55);
}

/* ---------- HERO ---------- */
.cv-hero {
	position: relative;
	text-align: center;
	padding: 3.5rem 1rem 2.75rem;
	overflow: hidden;
}
.cv-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(80% 60% at 50% 0%, rgba(224, 108, 80, 0.12), transparent 60%);
	pointer-events: none;
}
.cv-hero > * {
	position: relative;
}
.cv-hero .cv-kicker {
	margin-bottom: 1rem;
}
.cv-wordmark {
	font-family: var(--ff-heading);
	font-weight: 600;
	font-size: clamp(42px, 7vw, 78px);
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: rgba(232, 213, 196, 0.95);
	margin: 0;
}
.cv-wordmark span {
	color: #e06c50;
}
.cv-hero__sub {
	font-family: var(--ff-heading);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(18px, 2.4vw, 24px);
	color: rgba(232, 213, 196, 0.55);
	max-width: 560px;
	margin: 1rem auto 2rem;
}
.cv-hero__cta {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- Przyciski ---------- */
.cv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ff-base);
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.01em;
	padding: 14px 28px;
	border-radius: var(--layout-border-radius-large, 4px);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.14s, border-color 0.14s, color 0.14s, box-shadow 0.14s;
	white-space: nowrap;
}
.cv-btn--sm {
	padding: 7px 16px;
	font-size: 13px;
}
.cv-btn--primary {
	background: #e06c50;
	color: #14100c;
	box-shadow: 0 6px 22px rgba(224, 108, 80, 0.22);
}
.cv-btn--primary:hover {
	background: #e8866f;
	color: #14100c;
	box-shadow: 0 0 0 1px rgba(224, 108, 80, 0.2), 0 10px 40px rgba(224, 108, 80, 0.22);
}
.cv-btn--secondary {
	background: transparent;
	color: rgba(232, 213, 196, 0.95);
	border-color: rgba(232, 213, 196, 0.18);
}
.cv-btn--secondary:hover {
	border-color: rgba(224, 108, 80, 0.28);
	color: #e8866f;
}

/* ---------- Sekcje + naglowki ---------- */
.cv-section {
	margin-top: 4rem;
}
.cv-section__head {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.cv-section__head h2 {
	font-family: var(--ff-heading);
	font-weight: 600;
	font-size: clamp(28px, 4vw, 52px);
	color: rgba(232, 213, 196, 0.95);
	margin: 0;
}
.cv-section__head .cv-kicker {
	flex: none;
}
.cv-section__head::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(232, 213, 196, 0.1), transparent);
}

/* ---------- Latest updates ([certherverse_updates]) ---------- */
.cv-updates {
	background: rgba(12, 10, 15, 0.45);
	border: 1px solid rgba(232, 213, 196, 0.1);
	border-radius: var(--layout-border-radius-large, 4px);
}
.cv-update {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	padding: 14px 20px;
	border-bottom: 1px solid rgba(232, 213, 196, 0.06);
	text-decoration: none;
}
.cv-update:last-child {
	border-bottom: none;
}
.cv-update__title {
	font-family: var(--ff-heading);
	font-size: 1.05rem;
	font-weight: 600;
	color: rgba(232, 213, 196, 0.92);
	flex: 1;
	min-width: 0;
}
.cv-update:hover .cv-update__title {
	color: #e8866f;
}
.cv-update__story {
	font-size: 0.8rem;
	color: rgba(232, 213, 196, 0.5);
	flex: none;
}
.cv-update__when {
	font-family: var(--ff-mono);
	font-size: 11px;
	color: rgba(232, 213, 196, 0.36);
	flex: none;
}

/* ---------- Discover: CUSTOM karty ([certherverse_stories]) ---------- */
.cv-stories {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.cv-story-card {
	display: block;
	background: rgba(22, 19, 30, 0.62);
	border: 1px solid rgba(232, 213, 196, 0.1);
	border-radius: var(--layout-border-radius-large, 4px);
	box-shadow: 0 12px 38px rgba(0, 0, 0, 0.5);
	padding: 1.5rem;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.cv-story-card:hover {
	border-color: rgba(224, 108, 80, 0.2);
	box-shadow: 0 0 0 1px rgba(224, 108, 80, 0.2), 0 10px 40px rgba(224, 108, 80, 0.22);
}
.cv-story-card--featured {
	grid-column: 1 / -1;
	border-color: rgba(224, 108, 80, 0.2);
	box-shadow: 0 0 0 1px rgba(224, 108, 80, 0.2), 0 12px 38px rgba(0, 0, 0, 0.5);
	padding: 2rem;
}
.cv-story-card__flag {
	font-family: var(--ff-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e06c50;
	margin-bottom: 0.75rem;
}
.cv-story-card__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}
.cv-story-card__title {
	font-family: var(--ff-heading);
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.12;
	color: rgba(232, 213, 196, 0.95);
	margin: 0;
}
.cv-story-card--featured .cv-story-card__title {
	font-size: 2.25rem;
}
.cv-story-card:hover .cv-story-card__title {
	color: #e8866f;
}
.cv-story-card__meta {
	font-family: var(--ff-mono);
	font-size: 12px;
	color: rgba(232, 213, 196, 0.55);
	margin-top: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}
.cv-story-card__meta span + span::before {
	content: "\00b7";
	margin-right: 0.55rem;
	color: rgba(232, 213, 196, 0.3);
}
.cv-story-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 1rem;
}
.cv-tag {
	font-family: var(--ff-base);
	font-size: 12px;
	font-weight: 500;
	padding: 4px 11px;
	border-radius: 999px;
	border: 1px solid rgba(232, 213, 196, 0.1);
	color: rgba(232, 213, 196, 0.55);
}
.cv-tag--accent {
	border-color: rgba(224, 108, 80, 0.28);
	color: #e8866f;
	background: rgba(224, 108, 80, 0.08);
}
/* Status badge (dot + label) */
.cv-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--ff-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: rgba(232, 213, 196, 0.6);
	flex: none;
	white-space: nowrap;
}
.cv-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #66c295;
	box-shadow: 0 0 8px #66c295;
}
.cv-badge--completed::before,
.cv-badge--complete::before {
	background: #8aa0ff;
	box-shadow: 0 0 8px #8aa0ff;
}
.cv-badge--hiatus::before {
	background: #d9a441;
	box-shadow: 0 0 8px #d9a441;
}

/* =====================================================================
   Sekcja "O MNIE"
   ===================================================================== */
.cv-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: start;
}
.cv-card {
	background: rgba(22, 19, 30, 0.62);
	border: 1px solid rgba(232, 213, 196, 0.1);
	border-radius: var(--layout-border-radius-large, 4px);
	box-shadow: 0 12px 38px rgba(0, 0, 0, 0.5);
	padding: 2rem;
}
.cv-about__side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.cv-about__side .cv-card {
	padding: 1.5rem;
}
.cv-about__id {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}
.cv-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(224, 108, 80, 0.28);
	box-shadow: 0 0 0 4px rgba(224, 108, 80, 0.08);
	flex: none;
}
.cv-about__name {
	font-family: var(--ff-heading);
	font-weight: 600;
	font-size: 1.75rem;
	color: rgba(232, 213, 196, 0.95);
}
.cv-about__role {
	font-family: var(--ff-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	color: #e06c50;
}
.cv-about__bio p {
	font-size: 15px;
	line-height: 1.65;
	color: rgba(232, 213, 196, 0.78);
}
.cv-about__follow,
.cv-about__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 1rem;
}
.cv-about__links {
	margin-top: 0.75rem;
}
.cv-iconlink {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--ff-base);
	font-size: 14px;
	font-weight: 500;
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid rgba(232, 213, 196, 0.1);
	background: rgba(12, 10, 15, 0.45);
	color: rgba(232, 213, 196, 0.78);
	text-decoration: none;
	transition: all 0.14s;
}
.cv-iconlink:hover {
	border-color: rgba(224, 108, 80, 0.28);
	background: rgba(224, 108, 80, 0.08);
	color: #e8866f;
}

/* ---------- Anime Vault ---------- */
.cv-vault {
	display: block;
	border-radius: var(--layout-border-radius-large, 4px);
	padding: 2px;
	background: linear-gradient(118deg, #6a82fb 0%, #c850c0 52%, #e06c50 100%);
	box-shadow: 0 12px 38px rgba(0, 0, 0, 0.5);
	text-decoration: none;
}
.cv-vault__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-radius: calc(var(--layout-border-radius-large, 4px) - 1px);
	background: var(--bg-900, #0c0a0f);
	padding: 1rem 1.5rem;
}
.cv-vault__title {
	display: block;
	font-family: var(--ff-heading);
	font-weight: 600;
	font-size: 20px;
	color: rgba(232, 213, 196, 0.95);
}
.cv-vault__desc {
	display: block;
	font-size: 13px;
	color: rgba(232, 213, 196, 0.55);
}
.cv-vault i {
	color: #e8866f;
	flex: none;
}

/* ---------- Ko-fi (czysty przycisk) ---------- */
.cv-kofi {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.cv-kofi__title {
	font-family: var(--ff-heading);
	font-weight: 600;
	font-size: 18px;
	color: rgba(232, 213, 196, 0.95);
}

/* =====================================================================
   Blog na stronie glownej (native article_cards) + archiwa kategorii
   ===================================================================== */
.cv-section--blog article.post {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(232, 213, 196, 0.06);
}
.cv-section--blog article.post:last-child {
	border-bottom: none;
}
.cv-section--blog .post__title {
	font-family: var(--ff-heading);
	font-size: 1.15rem !important;
	margin: 0 !important;
	flex: 1;
}
.cv-section--blog .post__title a {
	color: rgba(232, 213, 196, 0.9) !important;
}
.cv-section--blog .post__title a:hover {
	color: #e06c50 !important;
}
.cv-section--blog .post__date {
	font-size: 0.8em;
	opacity: 0.4;
	font-family: var(--ff-mono);
}
.cv-section--blog .post__date i {
	display: none;
}
.cv-section--blog .post__main,
.cv-section--blog .post__excerpt,
.cv-section--blog img,
.cv-section--blog figure {
	display: none !important;
}

.category-posts article.post,
.category-reviews article.post {
	display: block;
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(232, 213, 196, 0.06);
}
.category-posts .post__title,
.category-reviews .post__title {
	font-family: var(--ff-heading);
	font-size: 1.6rem !important;
	font-weight: 600;
	margin-bottom: 0.5rem !important;
}
.category-posts .post__title a,
.category-reviews .post__title a {
	color: rgba(232, 213, 196, 0.9) !important;
}
.category-posts .post__title a:hover,
.category-reviews .post__title a:hover {
	color: #e06c50 !important;
}

/* =====================================================================
   NAWIGACJA - lekki glass restyl (pelny wordmark+Patreon button = nast. iteracja)
   ===================================================================== */
.main-navigation {
	background: rgba(8, 7, 11, 0.6);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(232, 213, 196, 0.1);
}
.main-navigation a {
	font-family: var(--ff-base);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
	.cv-about__grid,
	.cv-stories {
		grid-template-columns: 1fr;
	}
	.cv-hero {
		padding: 3rem 0.5rem 2.25rem;
	}
	.cv-section {
		margin-top: 2.5rem;
	}
	.cv-card,
	.cv-story-card,
	.cv-story-card--featured {
		padding: 1.5rem;
	}
}
