/*
Theme Name: Dziurla Retro
Theme URI: https://blog.dziurla.com
Author: Patryk Dziurla
Author URI: https://blog.dziurla.com/autor/
Description: Autorski motyw w klimacie italo disco i city pop lat 80. Zachód słońca w paski, jadąca siatka Outrun, neony, działy jako stacje radiowe, tracklista wpisów z filtrem, karta płyty winylowej i polaroid autora. Zbudowany od zera, bez page buildera.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dziurla
Tags: blog, dark, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ===== Tokeny ===== */
:root {
	--night: #140A2E;
	--night-2: #1B0F3D;
	--violet: #241452;
	--violet-line: #33236B;
	--violet-soft: #5B4A9A;
	--ink: #0B0618;
	--cream: #FFF4E6;
	--lilac: #D7CCF5;
	--muted: #B9ADDE;
	--pink: #FF3D8B;
	--pink-text: #FF5C9E;
	--cyan: #3DE3F5;
	--yellow: #FFD23D;
	--orange: #FF8A3D;
	--f-display: 'Bungee', 'Arial Black', Impact, sans-serif;
	--f-script: 'Mr Dafoe', 'Brush Script MT', cursive;
	--f-body: 'Chivo', system-ui, sans-serif;
	--wrap: 1320px;
	--radius: 18px;
}

/* ===== Baza ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--night);
	color: var(--cream);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--pink-text); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; }
p { margin: 0; }
::selection { background: var(--pink); color: var(--night); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px;
	background: var(--yellow); color: var(--night); padding: 12px 20px; border-radius: 999px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ===== Efekty ===== */
.neon { text-shadow: 0 0 6px var(--pink), 0 0 18px var(--pink), 0 0 40px var(--pink); }
.neon-c { text-shadow: 0 0 6px var(--cyan), 0 0 18px var(--cyan); }
.flicker { animation: flick 4s infinite; }
@keyframes flick { 0%, 92%, 100% { opacity: 1 } 93% { opacity: .4 } 95% { opacity: 1 } 96% { opacity: .6 } }
.spin { animation: spin 4s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg) } }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
.eq { display: inline-flex; align-items: flex-end; gap: 4px; height: 44px; }
.eq span { display: block; width: 8px; background: var(--cyan); border-radius: 2px; animation: eq 1s ease-in-out infinite alternate; }
.eq span:nth-child(2) { animation-delay: .2s; background: var(--pink); }
.eq span:nth-child(3) { animation-delay: .4s; background: var(--yellow); }
.eq span:nth-child(4) { animation-delay: .1s; background: var(--orange); }
.eq span:nth-child(5) { animation-delay: .3s; }
@keyframes eq { from { height: 8px } to { height: 44px } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ===== Przyciski i drobne ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--f-display); font-size: 15px; letter-spacing: .5px; cursor: pointer;
	transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cream); }
.btn-ink { background: var(--pink); color: var(--night); }
.btn-ink:hover { color: var(--night); }
.btn-line { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.btn-line:hover { color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
.btn-paper { background: var(--night); color: var(--yellow); }
.btn-paper:hover { color: var(--yellow); box-shadow: 4px 4px 0 var(--night); }
.btn-shu { background: var(--yellow); color: var(--night); }
.btn-shu:hover { color: var(--night); }
.pill { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 18px; border-radius: 999px; font-family: var(--f-display); font-size: 13px; letter-spacing: .5px; color: var(--night); background: var(--cyan); }
.pill:nth-child(4n+2) { background: var(--yellow); }
.pill:nth-child(4n+3) { background: var(--orange); }
.pill:nth-child(4n) { background: var(--pink); }
.pill:hover { color: var(--night); transform: translateY(-2px); }
.kicker { font-family: var(--f-display); font-size: 14px; letter-spacing: 5px; text-transform: uppercase; color: var(--pink-text); }
.kicker a { color: inherit; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-title { margin-top: 12px; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.section-title em { font-style: normal; color: var(--cyan); }
.section-lead { max-width: 380px; color: var(--muted); }

/* ===== Nagłówek ===== */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { font-family: var(--f-script); font-size: 50px; line-height: 1; color: var(--pink-text); }
.brand:hover { color: var(--pink-text); }
.custom-logo { max-height: 56px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 12px 0; font-family: var(--f-display); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--cyan); }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: -18px; min-width: 240px; display: block;
	background: var(--violet); border: 2px solid var(--cyan); border-radius: 14px; padding: 10px 18px;
	box-shadow: 8px 8px 0 var(--pink); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-size: 13px; padding: 8px 0; }
.header-tools { display: flex; gap: 10px; }
.icon-btn {
	width: 46px; height: 46px; border: 2px solid var(--cyan); background: transparent; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--cyan); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--cyan); color: var(--night); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.site-header .search-panel { display: none; padding-top: 0; padding-bottom: 20px; }
.site-header .search-panel.is-open { display: block; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; }
.search-form label { flex: 1 1 260px; }
.search-form .btn { background: var(--yellow); color: var(--night); }
.search-field, .field {
	width: 100%; height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--cyan);
	background: transparent; color: var(--cream); font: inherit;
}
.search-field::placeholder, .field::placeholder { color: var(--muted); }
.search-field:focus { outline: none; box-shadow: 0 0 0 4px rgba(61, 227, 245, .25); }

@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.main-nav { display: none; width: 100%; order: 3; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { padding: 14px 0; border-bottom: 1px solid var(--violet-line); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; min-height: 780px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 24px 0; }
.hero-sun { position: absolute; top: 110px; left: 50%; width: 520px; max-width: 92vw; height: auto; transform: translateX(-50%); }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 300px; height: 140px; }
.hero-mountains svg { width: 100%; height: 140px; display: block; }
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; background: var(--night); overflow: hidden; }
.hero-floor::before {
	content: ""; position: absolute; left: -60%; right: -60%; top: 0; height: 200%;
	background-image: linear-gradient(var(--pink) 2px, transparent 2px), linear-gradient(90deg, var(--pink) 2px, transparent 2px);
	background-size: 80px 50px; transform: perspective(260px) rotateX(58deg); transform-origin: 50% 0;
	animation: drive 1.4s linear infinite; opacity: .8;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%);
}
@keyframes drive { to { background-position: 0 50px } }
.hero-inner { position: relative; z-index: 1; margin-top: 40px; }
.hero .kicker { color: var(--cyan); letter-spacing: 6px; text-shadow: 0 0 6px var(--cyan), 0 0 18px var(--cyan); }
.hero-title { margin-top: 24px; font-size: clamp(54px, 9vw, 112px); line-height: .92; text-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--violet); }
.hero-title em { font-style: normal; color: var(--yellow); }
.hero-script { margin-top: 8px; font-family: var(--f-script); font-size: clamp(56px, 7vw, 88px); line-height: 1; color: var(--pink-text); transform: rotate(-6deg); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
@media (max-width: 600px) {
	.hero { min-height: 700px; padding-top: 32px; }
	.hero-sun { top: 150px; width: 300px; }
	.hero-mountains { bottom: 190px; height: 90px; }
	.hero-mountains svg { height: 90px; }
	.hero-floor { height: 190px; }
	.hero-title { font-size: 54px; text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--violet); }
	.hero-script { font-size: 44px; white-space: nowrap; margin-top: 14px; }
}

/* ===== Pasek przewijany ===== */
.ribbon { background: var(--yellow); color: var(--night); overflow: hidden; white-space: nowrap; padding: 16px 0; font-family: var(--f-display); font-size: 20px; border-block: 3px solid var(--night); }
.ribbon-track { display: inline-flex; animation: ribbon 34s linear infinite; }
.ribbon-track:hover { animation-play-state: paused; }
.ribbon a { color: var(--night); }
.ribbon a:hover { color: var(--pink); }
.ribbon-sep { padding: 0 16px; }
@keyframes ribbon { to { transform: translateX(-50%) } }

/* ===== Teraz na talerzu ===== */
.now-playing { padding-top: 110px; padding-bottom: 40px; }
.feature-card {
	display: flex; flex-wrap: wrap; gap: 48px; align-items: center; background: var(--violet);
	border: 3px solid var(--cyan); border-radius: 22px; padding: 40px; box-shadow: 14px 14px 0 var(--pink);
	transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { color: var(--cream); transform: translate(-4px, -4px); box-shadow: 18px 18px 0 var(--pink); }
.fc-visual { flex: 1 1 280px; display: flex; justify-content: center; position: relative; min-height: 280px; align-items: center; }
.fc-visual .vinyl { width: 280px; height: 280px; }
.fc-visual .fc-img { position: absolute; width: 210px; height: 210px; object-fit: cover; border-radius: 10px; border: 3px solid var(--night); left: 50%; top: 50%; transform: translate(-85%, -50%) rotate(-6deg); box-shadow: 8px 8px 0 var(--cyan); z-index: 1; }
.fc-body { flex: 999 1 420px; min-width: 0; }
.fc-label { display: flex; align-items: center; gap: 16px; font-family: var(--f-display); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); }
.fc-title { display: block; margin-top: 20px; font-family: var(--f-display); font-size: clamp(32px, 4.5vw, 52px); line-height: 1.02; }
.fc-title span { display: block; color: var(--yellow); }
.fc-meta { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.fc-excerpt { display: block; margin-top: 12px; font-size: 18px; color: var(--lilac); }
.fc-cta { margin-top: 28px; }

/* ===== Stacje (działy) ===== */
.sections { padding-top: 100px; padding-bottom: 100px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.cat-card {
	display: flex; flex-direction: column; gap: 12px; min-height: 220px; padding: 26px;
	border-radius: var(--radius); border: 3px solid var(--night); color: var(--night); background: var(--pink);
	transition: transform .3s, box-shadow .3s, opacity .7s;
}
.cat-card:nth-child(5n+2) { background: var(--cyan); }
.cat-card:nth-child(5n+3) { background: var(--yellow); }
.cat-card:nth-child(5n+4) { background: var(--orange); }
.cat-card:nth-child(5n) { background: var(--violet); color: var(--cream); border-color: var(--cyan); }
.cat-card:hover { color: var(--night); transform: translate(-6px, -6px); box-shadow: 10px 10px 0 var(--pink); }
.cat-card:nth-child(5n):hover { color: var(--cream); }
.cat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cat-freq { font-family: var(--f-display); font-size: 15px; opacity: .85; }
.cat-kanji { font-size: 28px; line-height: 1; opacity: .85; }
.cat-name { margin-top: auto; font-family: var(--f-display); font-size: 25px; line-height: 1.05; }
.cat-desc { font-size: 14px; line-height: 1.45; font-weight: 600; }

/* ===== Tracklista ===== */
.journal { padding-top: 60px; padding-bottom: 120px; }
.journal .section-title em { color: var(--yellow); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
	min-height: 46px; padding: 0 20px; border-radius: 999px; font-family: var(--f-display); font-size: 13px; letter-spacing: 1px;
	background: transparent; color: var(--cream); border: 2px solid var(--violet-soft); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--pink); }
.filter.is-active { background: var(--pink); color: var(--night); border-color: var(--pink); }
.entries { list-style: none; margin: 0; padding: 0; border: 3px solid var(--cyan); border-radius: 22px; overflow: hidden; background: var(--night-2); }
.entry-row { border-bottom: 1px solid var(--violet-line); }
.entry-row:last-child { border-bottom: 0; }
.entry-row[hidden] { display: none; }
.entry-row a { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding: 22px 28px; transition: background .25s; }
.entry-row a:hover { color: var(--cream); background: rgba(255, 61, 139, .12); }
.er-play { flex: 0 0 48px; width: 48px; height: 48px; border: 2px solid var(--pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pink-text); font-size: 14px; transition: background .25s, color .25s; }
.entry-row a:hover .er-play { background: var(--pink); color: var(--night); }
.er-num { width: 40px; font-family: var(--f-display); font-size: 18px; color: var(--cyan); }
.er-title { flex: 999 1 340px; min-width: 0; font-size: 21px; font-weight: 800; line-height: 1.25; }
.er-cat { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 30px; padding: 4px 14px; border-radius: 999px; font-family: var(--f-display); font-size: 12px; letter-spacing: 1px; color: var(--night); background: var(--cyan); }
.er-cat.c-pink { background: var(--pink); }
.er-cat.c-yellow { background: var(--yellow); }
.er-cat.c-orange { background: var(--orange); }
.er-cat:empty { display: none; }
.er-date { flex: 0 0 120px; font-size: 14px; color: var(--muted); }
.er-arrow { display: none; }
.journal-more { display: flex; justify-content: center; margin-top: 44px; }

/* ===== Sekcja wyróżniona ===== */
.spotlight { background: var(--orange); color: var(--night); border-block: 3px solid var(--night); }
.spotlight .wrap { padding-top: 110px; padding-bottom: 110px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.spotlight-body { flex: 999 1 520px; min-width: 0; }
.spotlight .kicker { color: var(--night); }
.spotlight-title { margin-top: 14px; font-size: clamp(42px, 6vw, 68px); line-height: .98; }
.spotlight-text { margin-top: 26px; max-width: 560px; font-size: 19px; font-weight: 600; }
.spotlight .btn { margin-top: 32px; }
.spotlight-art { flex: 1 1 320px; display: flex; justify-content: center; }
.spotlight-art svg { width: 320px; max-width: 100%; height: auto; }
.spotlight-art img { width: 360px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 3px solid var(--night); box-shadow: 12px 12px 0 var(--pink); }

/* ===== Autor ===== */
.about { overflow-x: clip; }
.about .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-photo { flex: 1 1 320px; display: flex; justify-content: center; }
.polaroid { width: 300px; margin: 0; background: var(--cream); padding: 16px 16px 64px; transform: rotate(-4deg); box-shadow: 12px 12px 0 var(--cyan); position: relative; transition: transform .4s; }
.polaroid:hover { transform: rotate(0); }
.polaroid img, .polaroid .ph { width: 100%; height: 280px; object-fit: cover; background: var(--lilac); display: flex; align-items: center; justify-content: center; color: var(--violet); font-family: var(--f-display); font-size: 40px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--f-script); font-size: 36px; line-height: 1; color: var(--night); }
.about-body { flex: 999 1 520px; min-width: 0; }
.about-title { margin-top: 12px; font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.about-title em { font-style: normal; color: var(--cyan); }
.about-text { margin-top: 26px; max-width: 600px; font-size: 19px; color: var(--lilac); }
.about-motto { margin-top: 18px; font-family: var(--f-script); font-size: 46px; line-height: 1.1; color: var(--pink-text); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.socials a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font-family: var(--f-display); font-size: 14px; color: var(--night); background: var(--orange); transition: transform .2s, box-shadow .2s; }
.socials a:nth-child(4n+2) { background: var(--pink); }
.socials a:nth-child(4n+3) { background: var(--cyan); }
.socials a:nth-child(4n) { background: var(--yellow); }
.socials a:hover { color: var(--night); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cream); }

/* ===== Stopka ===== */
.site-footer { background: var(--ink); border-top: 3px solid var(--pink); color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--pink-text); }
.footer-cta { padding-top: 96px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; }
.footer-script { font-family: var(--f-script); font-size: clamp(48px, 6vw, 66px); line-height: 1; color: var(--pink-text); }
.footer-title { margin-top: 14px; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; color: var(--cream); }
.site-footer .btn-shu, .site-footer .btn-shu:hover { color: var(--night); }
.footer-widgets { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; font-size: 15px; }
.footer-widgets .widget-title, .footer-widgets h2 { font-family: var(--f-display); font-size: 16px; color: var(--cyan); margin-bottom: 12px; }
.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets li { padding: 4px 0; }
.footer-bottom { margin-top: 64px; padding-top: 26px; padding-bottom: 36px; border-top: 1px solid #2E2060; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }

/* ===== Wpis ===== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 6px; background: var(--violet); z-index: 100; }
.read-progress span { display: block; height: 6px; width: 0; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.admin-bar .read-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .read-progress { top: 46px; } }
.post-hero .wrap { padding-top: 64px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.post-hero-body { flex: 999 1 560px; min-width: 0; }
.post-hero .kicker { color: var(--cyan); }
.post-title { margin-top: 22px; font-size: clamp(42px, 6vw, 84px); line-height: .98; text-shadow: 5px 5px 0 var(--pink); overflow-wrap: anywhere; }
.post-title span { display: block; margin-top: 10px; font-family: var(--f-script); font-size: clamp(54px, 6.4vw, 86px); line-height: 1; color: var(--yellow); text-shadow: none; transform: rotate(-4deg); transform-origin: left; }
.post-subline { margin-top: 22px; font-size: 19px; color: var(--lilac); max-width: 640px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.post-meta > * { border: 2px solid var(--violet-soft); padding: 6px 16px; border-radius: 999px; font-size: 14px; }
.post-hero-media { flex: 1 1 380px; display: flex; justify-content: center; position: relative; isolation: isolate; }
.post-hero-media img { width: 360px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--night); border-radius: 12px; box-shadow: 14px 14px 0 var(--cyan); }
.post-hero-media .vinyl { width: 320px; height: 320px; max-width: 100%; }
.post-hero-media .archive-kanji { color: var(--pink-text); }
.post-layout { max-width: 1180px; padding-top: 40px; padding-bottom: 100px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.post-layout.no-aside .entry-content { margin: 0 auto; }
.entry-content { flex: 999 1 560px; min-width: 0; max-width: 720px; font-size: 18px; line-height: 1.8; color: var(--lilac); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content > p:first-child { font-size: 24px; line-height: 1.5; font-weight: 800; color: var(--cream); }
.entry-content h2, .entry-content h3 { margin-top: 2em; }
.entry-content h2 { font-size: 34px; color: var(--cyan); }
.entry-content h3 { font-size: 26px; color: var(--yellow); }
.entry-content a { color: var(--pink-text); text-decoration: underline; text-underline-offset: 3px; }

/* --- Bloki list wpisów w treści (Query Loop, Najnowsze wpisy, siatki z wtyczek) ---
   Karty z jasnym tłem dostają wygląd motywu, żeby tekst był zawsze czytelny. */
.entry-content :is(
	.wp-block-post-template > li > .has-background,
	.wp-block-post-template > li.has-background,
	.wp-block-latest-posts.is-grid > li,
	.has-white-background-color,
	.has-base-background-color,
	.has-contrast-3-background-color,
	article
) {
	background: var(--violet) !important;
	color: var(--lilac) !important;
	border: 3px solid var(--cyan);
	border-radius: var(--radius);
	box-shadow: 8px 8px 0 var(--pink);
	padding: 28px !important;
	transition: transform .3s, box-shadow .3s;
}
.entry-content :is(.wp-block-post-template > li, .wp-block-latest-posts.is-grid > li, article):hover,
.entry-content .wp-block-post-template > li:hover > .has-background { transform: translate(-4px, -4px); }
.entry-content :is(.wp-block-post-template, .wp-block-latest-posts, article) :is(h2, h3, h4, .wp-block-post-title, .entry-title, .wp-block-latest-posts__post-title) {
	margin: 0 0 12px;
	font-family: var(--f-display);
	font-size: clamp(20px, 2vw, 26px) !important;
	line-height: 1.1;
	color: var(--cream) !important;
}
.entry-content :is(.wp-block-post-template, .wp-block-latest-posts, article) :is(h2, h3, h4, .wp-block-post-title, .entry-title) a,
.entry-content a.wp-block-latest-posts__post-title {
	color: var(--cream) !important;
	text-decoration: none;
	font-family: var(--f-display);
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.15;
	display: inline-block;
}
.entry-content :is(.wp-block-post-template, .wp-block-latest-posts, article) :is(h2, h3, .wp-block-post-title, .entry-title) a:hover,
.entry-content a.wp-block-latest-posts__post-title:hover { color: var(--pink-text) !important; }
.entry-content :is(.wp-block-post-date, .wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author, .entry-meta, .posted-on, .posted-by, .byline) {
	color: var(--muted) !important;
	font-size: 14px;
	margin: 0 0 12px;
}
.entry-content :is(.entry-meta, .wp-block-post-author-name) a { color: var(--cyan) !important; text-decoration: none; }
.entry-content :is(.wp-block-post-excerpt, .wp-block-post-excerpt__excerpt, .wp-block-latest-posts__post-excerpt, .entry-summary, .entry-summary p) {
	color: var(--lilac) !important;
	font-size: 16px;
	line-height: 1.6;
	margin-top: 0;
}
.entry-content :is(.wp-block-post-excerpt__more-link, .wp-block-read-more, .more-link, .post-more-link, .read-more, a[class*="more-link"], a[class*="read-more"]) {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin-top: 16px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--pink);
	color: var(--night) !important;
	font-family: var(--f-display);
	font-size: 13px;
	letter-spacing: .5px;
	text-decoration: none !important;
}
.entry-content :is(.wp-block-post-excerpt__more-link, .wp-block-read-more, .more-link, .post-more-link, .read-more):hover { background: var(--yellow); }
.entry-content .wp-block-post-excerpt__more-text { margin-top: 0; }
.entry-content .wp-block-latest-posts.is-grid { gap: 1.25em; padding: 0; }
.entry-content .wp-block-latest-posts.is-grid > li { margin: 0 !important; }
.entry-content .wp-block-latest-posts:not(.is-grid) { padding-left: 0; list-style: none; }
.entry-content .wp-block-latest-posts:not(.is-grid) > li { padding: 16px 0; border-bottom: 1px solid var(--violet-line); }
.entry-content .wp-block-post-template { gap: 1.25em; padding-left: 0; list-style: none; }
/* Inne bloki z jasnym tłem: ciemny tekst zamiast liliowego. */
.entry-content .has-background:not(.has-text-color):not(.has-white-background-color):not(.has-base-background-color):not(.has-contrast-3-background-color) { color: var(--night); }
.entry-content .has-background:not(.has-text-color):not(.has-white-background-color):not(.has-base-background-color):not(.has-contrast-3-background-color) a { color: var(--night); }

/* Strony: siatki i bloki mogą być szersze, a tekst zostaje wygodny do czytania. */
.page-content .entry-content { max-width: none; }
.page-content .entry-content > :is(p, h2, h3, h4, ul:not([class*="wp-block-"]), ol:not([class*="wp-block-"]), blockquote, pre, table, hr) { max-width: 760px; }
.entry-content blockquote {
	margin: 2.4em 0; padding: 36px; background: var(--pink); color: var(--night); border-radius: var(--radius);
	border: 3px solid var(--night); box-shadow: 12px 12px 0 var(--yellow); font-family: var(--f-display); font-size: 26px; line-height: 1.25;
}
.entry-content blockquote p { color: var(--night); font-weight: 400; font-size: inherit; line-height: inherit; }
.entry-content blockquote cite { display: block; margin-top: 12px; font-family: var(--f-body); font-size: 15px; font-style: normal; }
.entry-content figure { margin: 2em 0; }
.entry-content img { border-radius: 14px; }
.entry-content figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.entry-content pre, .entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
.entry-content code { background: var(--violet); padding: 2px 8px; border-radius: 6px; color: var(--yellow); }
.entry-content pre { background: var(--ink); border: 2px solid var(--violet-line); border-radius: 14px; padding: 22px; overflow-x: auto; }
.entry-content pre code { background: none; padding: 0; color: var(--cream); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--violet-line); padding: 10px 14px; text-align: left; }
.entry-content hr { border: 0; height: 3px; background: var(--pink); width: 120px; }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.post-tags a, .post-tags a:hover { text-decoration: none; color: var(--night); }
.record-card { flex: 1 1 300px; min-width: 0; position: sticky; top: 40px; background: var(--cream); color: var(--night); border: 3px solid var(--night); border-radius: var(--radius); padding: 30px; box-shadow: 12px 12px 0 var(--pink); }
.record-card .kicker { color: var(--night); font-size: 16px; letter-spacing: 2px; }
.record-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 18px 0 0; font-size: 15px; line-height: 1.4; }
.record-card dt { color: #5B4A7A; }
.record-card dd { margin: 0; font-weight: 800; }
.record-card-foot { margin-top: 24px; }
.record-card .btn { width: 100%; background: var(--night); color: var(--yellow); font-size: 13px; }
.record-card .btn:hover { color: var(--yellow); box-shadow: 4px 4px 0 var(--pink); }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 80px; }
.post-nav a { font-family: var(--f-display); font-size: 17px; line-height: 1.25; }
.post-nav small { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 3px; color: var(--pink-text); }

.related { background: var(--violet); border-top: 3px solid var(--cyan); }
.related .wrap { padding-top: 96px; padding-bottom: 110px; }
.related .section-title { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 3px solid var(--night); border-radius: var(--radius); overflow: hidden; color: var(--night); background: var(--cyan); transition: transform .3s, box-shadow .3s; }
.post-card:nth-child(4n+2) { background: var(--yellow); }
.post-card:nth-child(4n+3) { background: var(--orange); }
.post-card:nth-child(4n) { background: var(--pink); }
.post-card:hover { color: var(--night); transform: translate(-6px, -6px); box-shadow: 10px 10px 0 var(--pink); }
.post-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--night); }
.post-card-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-date { font-size: 13px; font-weight: 800; }
.post-card-title { font-family: var(--f-display); font-size: 24px; line-height: 1.1; }
.post-card-excerpt { font-size: 15px; font-weight: 600; }

/* ===== Archiwa ===== */
.archive-hero { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.archive-kanji { font-family: var(--f-display); font-size: clamp(90px, 14vw, 170px); line-height: .9; color: var(--pink-text); text-shadow: 0 0 10px var(--pink), 0 0 30px var(--pink); }
.archive-title { margin-top: 14px; font-size: clamp(44px, 7vw, 88px); line-height: .95; text-shadow: 6px 6px 0 var(--pink); overflow-wrap: anywhere; }
.archive-desc { margin-top: 20px; max-width: 640px; font-size: 19px; color: var(--lilac); }
.archive-list { padding-bottom: 110px; }
.archive-hero + .filters { margin-bottom: 36px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pagination .page-numbers { min-width: 48px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--violet-soft); border-radius: 999px; font-family: var(--f-display); font-size: 14px; }
.pagination a.page-numbers:hover { border-color: var(--pink); }
.pagination .page-numbers.current { background: var(--pink); border-color: var(--pink); color: var(--night); }
.empty-state { padding: 40px 0 120px; max-width: 640px; }
.empty-state p { color: var(--lilac); margin-bottom: 28px; }
.page-content { padding-top: 20px; padding-bottom: 110px; }

/* ===== Komentarze ===== */
.comments { max-width: 760px; padding-bottom: 100px; }
.comments-title { font-size: 32px; margin-bottom: 32px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { list-style: none; padding-left: 28px; border-left: 2px solid var(--violet-line); }
.comment-body { background: var(--night-2); border: 2px solid var(--violet-line); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; margin: 6px 0 12px; }
.comment-metadata a { color: var(--muted); }
.comment-content { color: var(--lilac); }
.reply a { font-family: var(--f-display); font-size: 12px; color: var(--cyan); }
.comment-respond { margin-top: 40px; }
.comment-reply-title { font-size: 26px; }
.comment-form { display: grid; gap: 16px; margin-top: 20px; }
.comment-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--violet-soft); background: transparent; color: var(--cream); font: inherit; }
.comment-form textarea { width: 100%; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--violet-soft); background: transparent; color: var(--cream); font: inherit; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--cyan); outline: none; }
.comment-form .submit { min-height: 52px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--night); font-family: var(--f-display); font-size: 15px; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; }

/* ===== 404 ===== */
.e404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.e404-num { font-family: var(--f-display); font-size: clamp(120px, 22vw, 260px); line-height: .9; color: var(--cream); text-shadow: 8px 8px 0 var(--pink), 16px 16px 0 var(--violet); }
.e404-title { margin-top: 18px; font-family: var(--f-script); font-size: clamp(54px, 7vw, 80px); line-height: 1; color: var(--pink-text); text-shadow: 0 0 6px var(--pink), 0 0 18px var(--pink); }
.e404 p { margin-top: 20px; color: var(--lilac); max-width: 480px; }
.e404 .search-form { margin-top: 32px; width: min(560px, 100%); }

/* ===== WordPress ===== */
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--muted); }
.sticky, .bypostauthor { position: relative; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
