/**
 * Fünfgroschenverlag - Custom Styles
 * Schwarz + Gold M/M Romance Romanheft-Verlag Theme
 */

/* ============================================
   BASE & RESETS
   ============================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

::selection {
	background-color: rgba(201, 168, 76, 0.3);
	color: #F5F0E8;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
	background: #2A2A2A;
	border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
	background: #C9A84C;
}

/* ============================================
   GOLD DECORATIVE ELEMENTS
   ============================================ */

.wp-block-separator.has-primary-background-color {
	opacity: 0.4;
}

/* Gold line accent above section headings */
.fgv-gold-accent::before {
	content: '';
	display: block;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #C9A84C, transparent);
	margin: 0 auto 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */

.wp-block-site-title a {
	text-decoration: none !important;
}

.wp-block-site-title a:hover {
	color: #E8D5A3 !important;
}

/* Navigation hover glow */
.wp-block-navigation a:hover {
	color: #C9A84C !important;
	text-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: #0A0A0A !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.wp-block-cover {
	overflow: hidden;
}

.wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

/* ============================================
   CARDS - Hefte & Serien
   ============================================ */

.fgv-heft-card,
.fgv-serie-card {
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}

.fgv-heft-card:hover,
.fgv-serie-card:hover {
	transform: translateY(-4px);
	border-color: #C9A84C !important;
	box-shadow: 0 8px 32px rgba(201, 168, 76, 0.15);
}

.fgv-heft-card .wp-block-post-featured-image img,
.fgv-serie-card .wp-block-post-featured-image img {
	transition: transform 0.4s ease;
}

.fgv-heft-card:hover .wp-block-post-featured-image img,
.fgv-serie-card:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}

/* ============================================
   BUTTONS
   ============================================ */

.wp-element-button,
.wp-block-button__link {
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* Amazon Button */
.fgv-amazon-btn .wp-block-button__link,
.fgv-amazon-button {
	background-color: #C9A84C !important;
	color: #0A0A0A !important;
	border-color: #C9A84C !important;
	font-weight: 700;
}

.fgv-amazon-btn .wp-block-button__link:hover,
.fgv-amazon-button:hover {
	background-color: #E8D5A3 !important;
	box-shadow: 0 0 25px rgba(201, 168, 76, 0.4);
}

/* ============================================
   HEAT LEVEL (Chili-Anzeige)
   ============================================ */

.fgv-heat-level {
	display: inline-flex;
	gap: 0.15em;
	font-size: 1.2em;
}

.fgv-chili--inactive {
	opacity: 0.2;
	filter: grayscale(100%);
}

.fgv-chili--active {
	filter: none;
}

/* ============================================
   TROPE TAGS
   ============================================ */

.wp-block-post-terms a {
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.wp-block-post-terms a:hover {
	color: #C9A84C !important;
}

/* ============================================
   FOOTER
   ============================================ */

.fgv-footer-links {
	list-style: none;
}

.fgv-footer-links li {
	position: relative;
}

/* ============================================
   LINKS & TYPOGRAPHY
   ============================================ */

.wp-block-post-title a {
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.wp-block-post-title a:hover {
	color: #E8D5A3 !important;
	text-shadow: 0 0 15px rgba(201, 168, 76, 0.2);
}

/* Blockquote styling */
.wp-block-quote {
	border-left: 3px solid #C9A84C !important;
	padding-left: 1.5em;
}

.wp-block-quote cite {
	color: #9A9488;
	font-size: 0.85em;
}

/* ============================================
   IMAGES
   ============================================ */

.wp-block-image img {
	transition: filter 0.3s ease;
}

.fgv-serie-cover img {
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* ============================================
   SEARCH
   ============================================ */

.wp-block-search__input {
	background-color: #141414 !important;
	color: #F5F0E8 !important;
}

.wp-block-search__input:focus {
	border-color: #C9A84C !important;
	outline: none;
	box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}

.wp-block-search__button {
	background-color: #C9A84C !important;
	color: #0A0A0A !important;
	border: none !important;
	font-family: 'Cinzel', serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	cursor: pointer;
}

.wp-block-search__button:hover {
	background-color: #E8D5A3 !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes goldPulse {
	0%, 100% {
		box-shadow: 0 0 5px rgba(201, 168, 76, 0.2);
	}
	50% {
		box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
	}
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 781px) {
	.fgv-heft-card:hover,
	.fgv-serie-card:hover {
		transform: none;
	}
}

@media (max-width: 600px) {
	.wp-block-query-loop .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
