﻿/*!
Theme Name: Wstronekobiet.pl Theme
Theme URI: http://underscores.me/
Author: Adrian
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wstronekobiet-pl-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Wstronekobiet.pl Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Theme — Design Tokens & Global Base
--------------------------------------------------------------*/

:root {
	--coral:         #E8544A;
	--coral-dark:    #C43D33;
	--coral-faint:   rgba(232, 84, 74, 0.065);
	--ink:           #1C1917;
	--ink-mid:       #4A4540;
	--ink-soft:      #8A8380;
	--ink-muted:     #BAB5B0;
	--rule:          #E2DDD6;
	--bg:            #FAF8F4;
	--bg-warm:       #F5F0E8;
	--white:         #FFFFFF;

	--font-display:  'Playfair Display', Georgia, serif;
	--font-body:     'DM Sans', system-ui, sans-serif;
	--font-serif:    'Libre Baskerville', Georgia, serif;

	--logo-max-width:        120px;
	--logo-max-width-mobile: 80px;
	--nav-h:                 60px;
	--nav-pad:       14px;
	--wrap:          1240px;
	--gutter:        clamp(16px, 4vw, 56px);
	--prose-w:       720px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: var(--coral);
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/*--------------------------------------------------------------
# Navigation — Header
--------------------------------------------------------------*/

/* Sticky outer wrapper */
.nav-outer {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--bg);
}

/* Top row — padding-based so header grows with logo */
.nav-top {
	display: flex;
	align-items: center;
	padding: var(--nav-pad) 0;
}

/* Logo */
.nav-logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	margin-right: auto;
}

.nav-logo .custom-logo-link,
.nav-logo > a {
	display: flex;
	align-items: center;
}

.nav-logo .custom-logo {
	max-width: var(--logo-max-width);
	height: auto;
	width: auto;
}

.nav-logo-text {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ink);
}

/* Desktop nav links — hidden by default (mobile-first) */
.nav-top .nav-links {
	display: none;
	align-self: stretch;
	align-items: stretch;
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.nav-top .nav-links > .menu-item {
	display: flex;
}

.nav-top .nav-links > .menu-item > a {
	display: flex;
	align-items: center;
	padding: 0 14px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mid);
	white-space: nowrap;
	transition: color 0.2s;
	position: relative;
}

.nav-top .nav-links > .menu-item > a:hover {
	color: var(--coral);
}

.nav-top .nav-links > .current-menu-item > a,
.nav-top .nav-links > .current-menu-ancestor > a {
	color: var(--coral);
}

.nav-top .nav-links > .current-menu-item > a::after,
.nav-top .nav-links > .current-menu-ancestor > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--coral);
}

/* Action buttons */
.nav-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--ink-mid);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, color 0.2s;
}

.nav-btn:hover {
	background: var(--bg-warm);
	color: var(--coral);
}

.nav-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
}

/* Hamburger — visible on mobile (shown via .nav-btn), hidden on desktop */
.hamburger .close-icon {
	display: none;
}

.hamburger.is-active .hamburger-icon {
	display: none;
}

.hamburger.is-active .close-icon {
	display: block;
}

/* Mobile category bar — hidden for now */
.nav-cats-wrap {
	display: none;
	border-top: 1px solid var(--rule);
}

.nav-cats {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.nav-cats::-webkit-scrollbar {
	display: none;
}

.nav-cats__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	width: max-content;
}

.nav-cats__list > .menu-item {
	flex-shrink: 0;
}

.nav-cats__list > .menu-item > a {
	display: block;
	padding: 10px 14px;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
	white-space: nowrap;
	transition: color 0.2s;
	border-bottom: 2px solid transparent;
}

.nav-cats__list > .menu-item:first-child > a {
	padding-left: var(--gutter);
}

.nav-cats__list > .menu-item:last-child > a {
	padding-right: var(--gutter);
}

.nav-cats__list > .menu-item > a:hover,
.nav-cats__list > .current-menu-item > a {
	color: var(--coral);
	border-color: var(--coral);
}

/*--------------------------------------------------------------
# Mobile Off-Canvas Drawer
--------------------------------------------------------------*/

.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 300;
	pointer-events: none;
	visibility: hidden;
}

.mobile-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}

.mobile-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(28, 25, 23, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer__overlay {
	opacity: 1;
}

.mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(340px, 88vw);
	height: 100%;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__panel {
	transform: translateX(0);
}

.mobile-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	height: var(--nav-h);
	border-bottom: 1px solid var(--rule);
	flex-shrink: 0;
}

.mobile-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--ink-mid);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, color 0.2s;
}

.mobile-drawer__close:hover {
	background: var(--bg-warm);
	color: var(--coral);
}

.mobile-drawer__close svg {
	width: 22px;
	height: 22px;
}

.mobile-drawer__body {
	flex: 1;
	padding: 24px 0;
}

.mobile-nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav-links > .menu-item > a {
	display: block;
	padding: 16px 24px;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--ink);
	border-bottom: 1px solid var(--rule);
	transition: color 0.2s, background 0.2s;
}

.mobile-nav-links > .menu-item:first-child > a {
	border-top: 1px solid var(--rule);
}

.mobile-nav-links > .menu-item > a:hover {
	color: var(--coral);
	background: var(--coral-faint);
}

.mobile-nav-links > .current-menu-item > a {
	color: var(--coral);
	font-weight: 700;
}

/* Prevent body scroll when drawer is open */
body.drawer-open {
	overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation — Responsive
--------------------------------------------------------------*/

/* Desktop: show nav-links, hide hamburger */
@media (min-width: 1025px) {
	.nav-top .nav-links {
		display: flex;
	}

	.hamburger {
		display: none;
	}
}

/* Tablet/mobile adjustments */
@media (max-width: 1024px) {
	:root {
		--nav-h: 56px;
	}

	.nav-logo .custom-logo,
	.nav-logo img {
		max-width: var(--logo-max-width-mobile);
	}
}

@media (max-width: 680px) {
	:root {
		--nav-h: 52px;
		--gutter: 16px;
	}
}

/*--------------------------------------------------------------
# Homepage — Design Tokens (additions)
--------------------------------------------------------------*/

:root {
	--coral-faint2:  rgba(232, 84, 74, 0.12);
	--rule-soft:     #EDE9E2;
	--bg-dark:       #1C1917;
	--section-gap:   72px;
}

/*--------------------------------------------------------------
# Homepage — Shared Components
--------------------------------------------------------------*/

/* Scroll reveal — hidden only when JS is available */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js .reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }

/* Section header */
.sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 12px;
	margin-bottom: 28px;
}

.sec-head__label {
	font-family: var(--font-display);
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink);
}

.sec-head__link {
	font-family: var(--font-body);
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--coral);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.sec-head__link:hover {
	color: var(--coral-dark);
}

/* Category label */
.art-cat {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 8px;
}

.art-cat:hover {
	color: var(--coral-dark);
}

/* Article meta */
.art-meta {
	display: flex;
	align-items: center;
	gap: 0;
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
}

.art-meta .au {
	color: var(--ink-soft);
}

.art-meta .au:hover {
	color: var(--coral);
}

.art-meta .dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--ink-muted);
	margin: 0 8px;
	flex-shrink: 0;
}

/*--------------------------------------------------------------
# S1 — Najnowsze artykuły
--------------------------------------------------------------*/

.s-latest {
	padding-top: 30px;
}

/* Grid — 3 columns */
.latest-grid {
	display: grid;
	grid-template-columns: 1.62fr 1fr 1fr;
	border-bottom: 1px solid var(--rule);
}

.latest-col {
	position: relative;
	border-right: 1px solid var(--rule);
	overflow: hidden;
}

.latest-col:last-child {
	border-right: none;
}

/* Hover overlay */
.latest-col::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	pointer-events: none;
	z-index: 1;
}

.latest-col:hover::after {
	opacity: 1;
}

.latest-col__img-wrap {
	display: block;
	overflow: hidden;
}

.latest-col__img {
	display: block;
	width: 100%;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-col--feat .latest-col__img {
	aspect-ratio: 16 / 11;
}

.latest-col:not(.latest-col--feat) .latest-col__img {
	aspect-ratio: 16 / 10;
}

.latest-col:hover .latest-col__img {
	transform: scale(1.04);
	filter: saturate(1.02);
}

.latest-col__body {
	padding: 20px 24px 28px;
	position: relative;
	z-index: 2;
}

.latest-col--feat .latest-col__body {
	padding: 24px 28px 32px;
}

/* Featured title */
.latest-col--feat .latest-col__title {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 14px;
}

/* Regular col title */
.latest-col:not(.latest-col--feat) .latest-col__title {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.22;
	margin: 0 0 10px;
}

.latest-col__title a {
	transition: color 0.2s;
}

.latest-col:hover .latest-col__title a {
	color: var(--coral-dark);
}

/* Lead */
.latest-col__lead {
	font-family: var(--font-serif);
	font-style: italic;
	color: var(--ink-soft);
	line-height: 1.72;
	margin: 0 0 14px;
}

.latest-col--feat .latest-col__lead {
	font-size: 14.5px;
	line-height: 1.76;
}

.latest-col:not(.latest-col--feat) .latest-col__lead {
	font-size: 13.5px;
}

/* Strip — 3 cols */
.latest-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.strip-item {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 16px;
	align-items: center;
	padding: 20px 24px;
	border-right: 1px solid var(--rule);
	position: relative;
	transition: background 0.3s;
}

.strip-item:last-child {
	border-right: none;
}

.strip-item:hover {
	background: var(--coral-faint);
}

.strip-item__img-wrap {
	display: block;
	overflow: hidden;
	border-radius: 2px;
}

.strip-item__img {
	display: block;
	width: 88px;
	height: 66px;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.strip-item:hover .strip-item__img {
	transform: scale(1.05);
	filter: saturate(1);
}

.strip-item__title {
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.32;
	margin: 0 0 6px;
}

.strip-item__title a {
	transition: color 0.2s;
}

.strip-item:hover .strip-item__title a {
	color: var(--coral-dark);
}

/*--------------------------------------------------------------
# S2 — Misja
--------------------------------------------------------------*/

.s-mission {
	background: var(--bg-dark);
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
	padding: 80px 0 88px;
	color: var(--white);
}

.mission-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 72px;
}

.mission-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 20px;
}

.mission-title {
	font-family: var(--font-display);
	font-size: 48px;
	font-weight: 900;
	font-style: italic;
	line-height: 1.04;
	margin: 0 0 24px;
	color: var(--white);
}

.mission-title em {
	color: var(--coral);
	font-style: normal;
}

.mission-desc {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.48);
	max-width: 320px;
	margin: 0;
}

.mission-quote {
	border-left: 2px solid var(--coral);
	padding-left: 32px;
	margin: 0 0 48px;
}

.mission-quote p {
	font-family: var(--font-display);
	font-size: 24px;
	font-style: italic;
	line-height: 1.36;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
}

.mission-values {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.mission-val__num {
	display: block;
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 700;
	color: var(--coral);
	line-height: 1.1;
	margin-bottom: 4px;
}

.mission-val__label {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 2px;
}

.mission-val__desc {
	display: block;
	font-family: var(--font-body);
	font-size: 11px;
	color: rgba(255, 255, 255, 0.35);
}

/*--------------------------------------------------------------
# S3 — Temat tygodnia
--------------------------------------------------------------*/

.s-featured {
	padding: var(--section-gap) 0;
}

.feat-card {
	display: grid;
	grid-template-columns: 1fr 1.08fr;
	border: 1px solid var(--rule);
	overflow: hidden;
}

.feat-media {
	position: relative;
	overflow: hidden;
	min-height: 420px;
}

.feat-media a {
	display: block;
	height: 100%;
}

.feat-media__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feat-card:hover .feat-media__img {
	transform: scale(1.04);
	filter: saturate(1);
}

.feat-content {
	padding: 44px 48px;
	display: flex;
	flex-direction: column;
}

.feat-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.feat-kicker__line {
	width: 32px;
	height: 2px;
	background: var(--coral);
	flex-shrink: 0;
}

.feat-kicker__text {
	font-family: var(--font-body);
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--coral);
}

.feat-content__title {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 18px;
}

.feat-content__title a {
	transition: color 0.2s;
}

.feat-card:hover .feat-content__title a {
	color: var(--coral-dark);
}

.feat-content__lead {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.76;
	color: var(--ink-soft);
	margin: 0 0 24px;
}

.feat-content__sep {
	border-top: 1px solid var(--rule);
	margin-bottom: 24px;
}

.feat-author-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.feat-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.feat-author__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.feat-author__name {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink);
}

.feat-author__name:hover {
	color: var(--coral);
}

.feat-author__time {
	display: block;
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
}

.feat-cta {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--coral);
	border: 1px solid var(--coral);
	padding: 10px 20px;
	border-radius: 2px;
	transition: background 0.2s, color 0.2s;
}

.feat-cta:hover {
	background: var(--coral);
	color: var(--white);
}

/*--------------------------------------------------------------
# S4 — Celebryci
--------------------------------------------------------------*/

.s-psych {
	border-top: 1px solid var(--rule);
	padding: var(--section-gap) 0;
}

.psych-wrap {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	border: 1px solid var(--rule);
	overflow: hidden;
}

.psych-main {
	border-right: 1px solid var(--rule);
	position: relative;
	overflow: hidden;
}

.psych-main::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.psych-main:hover::after {
	opacity: 1;
}

.psych-main__img-wrap {
	display: block;
	overflow: hidden;
}

.psych-main__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.psych-main:hover .psych-main__img {
	transform: scale(1.04);
	filter: saturate(1);
}

.psych-main__body {
	padding: 28px 32px;
	position: relative;
	z-index: 1;
}

.psych-main__title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.16;
	margin: 0 0 12px;
}

.psych-main__title a {
	transition: color 0.2s;
}

.psych-main:hover .psych-main__title a {
	color: var(--coral-dark);
}

.psych-main__lead {
	font-family: var(--font-serif);
	font-size: 14px;
	font-style: italic;
	line-height: 1.72;
	color: var(--ink-soft);
	margin: 0 0 14px;
}

/* Side list */
.psych-side {
	display: flex;
	flex-direction: column;
}

.psych-side-item {
	flex: 1;
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 22px 26px;
	border-bottom: 1px solid var(--rule);
	transition: background 0.3s, padding-left 0.3s;
}

.psych-side-item:last-child {
	border-bottom: none;
}

.psych-side-item:hover {
	background: var(--coral-faint);
}

.psych-side-item__img-wrap {
	flex-shrink: 0;
	display: block;
	overflow: hidden;
	border-radius: 2px;
}

.psych-side-item__img {
	display: block;
	width: 80px;
	height: 60px;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.45s;
}

.psych-side-item:hover .psych-side-item__img {
	transform: scale(1.05);
	filter: saturate(1);
}

.psych-side-item__title {
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 6px;
}

.psych-side-item__title a {
	transition: color 0.2s;
}

.psych-side-item:hover .psych-side-item__title a {
	color: var(--coral-dark);
}

/*--------------------------------------------------------------
# S5 — Według kategorii
--------------------------------------------------------------*/

.s-cats {
	border-top: 1px solid var(--rule);
	padding: var(--section-gap) 0;
}

.cats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--rule);
}

.cat-col {
	border-right: 1px solid var(--rule);
	position: relative;
	overflow: hidden;
}

.cat-col:nth-child(4n) {
	border-right: none;
}

/* Add top border for items in row 2+ */
.cat-col:nth-child(n+5) {
	border-top: 1px solid var(--rule);
}

.cat-col::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.cat-col:hover::after {
	opacity: 1;
}

.cat-col__head {
	padding: 15px 22px;
	border-bottom: 3px solid var(--rule);
	transition: border-color 0.3s;
}

.cat-col:hover .cat-col__head {
	border-bottom-color: var(--coral);
}

.cat-col__cat-link {
	font-family: var(--font-body);
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--coral);
}

.cat-col__body {
	padding: 18px 22px 26px;
	position: relative;
	z-index: 1;
}

.cat-col__img-wrap {
	display: block;
	overflow: hidden;
	margin-bottom: 16px;
}

.cat-col__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-col:hover .cat-col__img {
	transform: scale(1.05);
	filter: saturate(1);
}

.cat-col__title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
}

.cat-col__title a {
	transition: color 0.2s;
}

.cat-col:hover .cat-col__title a {
	color: var(--coral-dark);
}

.cat-col__lead {
	font-family: var(--font-body);
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	margin: 0 0 12px;
}

/*--------------------------------------------------------------
# S6 — Astrologia
--------------------------------------------------------------*/

.s-styl {
	border-top: 1px solid var(--rule);
	padding: var(--section-gap) 0;
}

.styl-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--rule);
}

.styl-big {
	border-right: 1px solid var(--rule);
	position: relative;
	overflow: hidden;
}

.styl-big::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.styl-big:hover::after {
	opacity: 1;
}

.styl-big__img-wrap {
	display: block;
	overflow: hidden;
}

.styl-big__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.styl-big:hover .styl-big__img {
	transform: scale(1.04);
	filter: saturate(1);
}

.styl-big__body {
	padding: 24px 28px 32px;
	position: relative;
	z-index: 1;
}

.styl-big__title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.16;
	margin: 0 0 12px;
}

.styl-big__title a {
	transition: color 0.2s;
}

.styl-big:hover .styl-big__title a {
	color: var(--coral-dark);
}

.styl-big__lead {
	font-family: var(--font-serif);
	font-size: 13.5px;
	font-style: italic;
	line-height: 1.72;
	color: var(--ink-soft);
	margin: 0 0 14px;
}

/* Side list */
.styl-list {
	display: flex;
	flex-direction: column;
}

.styl-item {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid var(--rule-soft);
	transition: background 0.3s, padding-left 0.3s;
}

.styl-item:last-child {
	border-bottom: none;
}

.styl-item:hover {
	background: var(--coral-faint);
	padding-left: 32px;
}

.styl-item__img-wrap {
	display: block;
	overflow: hidden;
	border-radius: 2px;
}

.styl-item__img {
	display: block;
	width: 96px;
	height: 72px;
	object-fit: cover;
	filter: saturate(0.87);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.45s;
}

.styl-item:hover .styl-item__img {
	transform: scale(1.04);
	filter: saturate(1.05);
}

.styl-item__title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 6px;
}

.styl-item__title a {
	transition: color 0.2s;
}

.styl-item:hover .styl-item__title a {
	color: var(--coral-dark);
}

/*--------------------------------------------------------------
# S7 — Redakcja
--------------------------------------------------------------*/

.s-team {
	background: var(--bg-warm);
	border-top: 1px solid var(--rule);
	padding: var(--section-gap) 0;
}

.team-intro {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 56px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--rule);
}

.team-intro__title {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 700;
	font-style: italic;
	line-height: 1.1;
	margin: 0;
}

.team-intro__title em {
	color: var(--coral);
	font-style: normal;
}

.team-intro__desc {
	font-family: var(--font-serif);
	font-size: 15.5px;
	font-style: italic;
	line-height: 1.72;
	color: var(--ink-mid);
	margin: 0;
	align-self: center;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 40px;
}

.team-member {
	padding: 0 24px;
	border-right: 1px solid var(--rule);
}

.team-member:last-child {
	border-right: none;
}

.team-member__img-wrap {
	display: block;
	overflow: hidden;
	margin-bottom: 18px;
}

.team-member__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	filter: grayscale(0.2) saturate(0.85);
	transition: filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member:hover .team-member__img {
	filter: grayscale(0) saturate(1);
	transform: scale(1.03);
}

.team-member__name {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px;
}

.team-member__bio {
	font-family: var(--font-body);
	font-size: 12.5px;
	line-height: 1.65;
	color: var(--ink-soft);
	margin: 0;
}

/*--------------------------------------------------------------
# S8 — Newsletter
--------------------------------------------------------------*/

.s-newsletter {
	background: var(--bg-dark);
	background-image: radial-gradient(ellipse at 85% 15%, rgba(232, 84, 74, 0.06) 0%, transparent 55%);
	padding: 72px 0 80px;
	color: var(--white);
}

.nl-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}

.nl-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 16px;
}

.nl-title {
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	font-style: italic;
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	color: var(--white);
}

.nl-desc {
	font-family: var(--font-body);
	font-size: 13.5px;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.42);
	margin: 0;
}

.nl-field {
	margin-bottom: 20px;
}

.nl-label {
	display: block;
	font-family: var(--font-body);
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	margin-bottom: 8px;
}

.nl-input {
	display: block;
	width: 100%;
	padding: 14px 16px!important;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--white)!important;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12)!important;
	border-radius: 2px!important;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
}

.nl-input::placeholder {
	color: rgba(255, 255, 255, 0.25);
}

.nl-input:focus {
	border-color: var(--coral);
	background: rgba(255, 255, 255, 0.09);
}

.nl-btn {
	display: block;
	width: 100%;
	padding: 14px 24px;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--white);
	background: var(--coral);
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 4px;
}

.nl-btn:hover {
	background: var(--coral-dark);
}

.nl-privacy {
	font-family: var(--font-body);
	font-size: 10.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.25);
	margin: 16px 0 0;
}

.nl-message {
	font-family: var(--font-body);
	font-size: 13px;
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: 4px;
	line-height: 1.5;
}

.nl-message--ok {
	background: rgba(72, 187, 120, 0.15);
	color: #68d391;
}

.nl-message--err {
	background: rgba(232, 84, 74, 0.15);
	color: #fc8181;
}

.nl-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

/*--------------------------------------------------------------
# S9 — Ostatnio na portalu
--------------------------------------------------------------*/

.s-recent {
	border-top: 1px solid var(--rule);
	padding: var(--section-gap) 0;
}

.recent-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.recent-item {
	border-right: 1px solid var(--rule);
	padding: 0 16px;
	position: relative;
	overflow: hidden;
}

.recent-item:first-child {
	padding-left: 0;
}

.recent-item:last-child {
	border-right: none;
	padding-right: 0;
}

.recent-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.recent-item:hover::after {
	opacity: 1;
}

.recent-item__img-wrap {
	display: block;
	overflow: hidden;
	margin-bottom: 14px;
}

.recent-item__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: saturate(0.82);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recent-item:hover .recent-item__img {
	transform: scale(1.05);
	filter: saturate(1);
}

.recent-item__body {
	position: relative;
	z-index: 1;
}

.recent-item__title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
}

.recent-item__title a {
	transition: color 0.2s;
}

.recent-item:hover .recent-item__title a {
	color: var(--coral-dark);
}

/*--------------------------------------------------------------
# Homepage — Responsive (Tablet ≤1024px)
--------------------------------------------------------------*/

@media (max-width: 1024px) {
	:root {
		--section-gap: 56px;
	}

	/* S1 */
	.latest-grid {
		grid-template-columns: 1fr 1fr;
	}

	.latest-col:nth-child(3) {
		grid-column: 1 / -1;
		border-right: none;
		border-top: 1px solid var(--rule);
		display: grid;
		grid-template-columns: 200px 1fr;
		gap: 20px;
		align-items: center;
	}

	.latest-col:nth-child(3) .latest-col__img {
		aspect-ratio: 4 / 3;
	}

	.latest-col:nth-child(3) .latest-col__title {
		font-size: 16px;
	}

	.latest-strip {
		grid-template-columns: 1fr 1fr;
	}

	.strip-item:nth-child(3) {
		grid-column: 1 / -1;
		border-right: none;
		border-top: 1px solid var(--rule);
	}

	/* S2 */
	.mission-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.mission-title {
		font-size: 36px;
	}

	/* S3 */
	.feat-card {
		grid-template-columns: 1fr;
	}

	.feat-media {
		min-height: 280px;
	}

	.feat-content {
		padding: 32px;
	}

	.feat-content__title {
		font-size: 28px;
	}

	/* S4 */
	.psych-wrap {
		grid-template-columns: 1fr;
	}

	.psych-main {
		border-right: none;
		border-bottom: 1px solid var(--rule);
	}

	.psych-side {
		flex-direction: row;
	}

	.psych-side-item {
		flex: 1;
		border-bottom: none;
		border-right: 1px solid var(--rule);
		flex-direction: column;
		text-align: center;
	}

	.psych-side-item:last-child {
		border-right: none;
	}

	/* S5 */
	.cats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cat-col:nth-child(2n) {
		border-right: none;
	}

	.cat-col:nth-child(n+3) {
		border-top: 1px solid var(--rule);
	}

	/* S6 */
	.styl-layout {
		grid-template-columns: 1fr;
	}

	.styl-big {
		border-right: none;
		border-bottom: 1px solid var(--rule);
	}

	/* S7 */
	.team-intro {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 0;
	}

	.team-member:nth-child(2n) {
		border-right: none;
	}

	.team-member:nth-child(n+3) {
		padding-top: 32px;
		border-top: 1px solid var(--rule);
	}

	.team-member__img {
		aspect-ratio: 1 / 1;
	}

	/* S8 */
	.nl-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.nl-title {
		font-size: 36px;
	}

	/* S9 */
	.recent-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.recent-item:nth-child(3) {
		border-right: none;
	}

	.recent-item:nth-child(n+4) {
		border-top: 1px solid var(--rule);
		padding-top: 20px;
		margin-top: 20px;
	}
}

/*--------------------------------------------------------------
# Homepage — Responsive (Mobile ≤680px)
--------------------------------------------------------------*/

@media (max-width: 680px) {
	:root {
		--section-gap: 44px;
	}

	/* S1 */
	.latest-grid {
		grid-template-columns: 1fr;
	}

	.latest-col {
		border-right: none;
		border-bottom: 1px solid var(--rule);
	}

	.latest-col:nth-child(3) {
		grid-template-columns: 1fr;
		border-top: none;
	}

	.latest-col--feat .latest-col__title {
		font-size: 26px;
	}

	.latest-col__lead {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.latest-strip {
		grid-template-columns: 1fr;
	}

	.strip-item {
		border-right: none;
		border-bottom: 1px solid var(--rule);
	}

	.strip-item:nth-child(3) {
		border-top: none;
	}

	/* S2 */
	.mission-title {
		font-size: 32px;
	}

	.mission-quote p {
		font-size: 19px;
	}

	.mission-val__num {
		font-size: 28px;
	}

	/* S3 */
	.feat-card {
		border: none;
	}

	.feat-media {
		min-height: 220px;
	}

	.feat-content {
		padding: 24px 0;
	}

	.feat-content__title {
		font-size: 24px;
	}

	.feat-cta {
		width: 100%;
		text-align: center;
	}

	.feat-author-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	/* S4 */
	.psych-side {
		flex-direction: column;
	}

	.psych-side-item {
		flex-direction: row;
		text-align: left;
		border-right: none;
		border-bottom: 1px solid var(--rule);
	}

	.psych-main__title {
		font-size: 22px;
	}

	/* S5 */
	.cats-grid {
		grid-template-columns: 1fr;
	}

	.cat-col {
		border-right: none;
		border-bottom: 1px solid var(--rule);
	}

	.cat-col:nth-child(n+3) {
		border-top: none;
	}

	/* S6 */
	.styl-item {
		grid-template-columns: 80px 1fr;
	}

	.styl-item__img {
		width: 80px;
		height: 60px;
	}

	.styl-item__title {
		font-size: 14.5px;
	}

	.styl-big__title {
		font-size: 22px;
	}

	/* S7 */
	.team-intro__title {
		font-size: 28px;
	}

	.team-member__bio {
		display: none;
	}

	.team-member__name {
		font-size: 15px;
	}

	/* S8 */
	.nl-title {
		font-size: 30px;
	}

	.nl-btn {
		width: 100%;
	}

	/* S9 */
	.recent-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.recent-item:nth-child(2n) {
		border-right: none;
	}

	.recent-item:nth-child(n+3) {
		border-top: 1px solid var(--rule);
		padding-top: 16px;
		margin-top: 16px;
	}

	.recent-item:last-child {
		display: none;
	}
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
	background: var(--bg-dark);
	color: rgba(255, 255, 255, 0.5);
	padding-top: var(--section-gap);
}

/* ---------- Footer top ---------- */

.footer-top {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand column */

.footer-brand {
	padding-right: 24px;
}

.footer-brand .custom-logo-link img {
	max-width: var(--logo-max-width, 120px);
	height: auto;
	filter: brightness(0) invert(1);
}

.footer-brand__logo-text {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--white);
	text-decoration: none;
}

.footer-brand__logo-text:hover {
	color: var(--coral);
}

.footer-brand__tagline {
	margin-top: 16px;
	font-family: var(--font-serif);
	font-size: 14px;
	font-style: italic;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.4);
}

/* Menu columns */

.footer-col {
	padding-top: 4px;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links li a {
	font-family: var(--font-body);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-links li a:hover {
	color: var(--white);
}

/* ---------- Footer bottom ---------- */

.footer-bottom {
	padding: 24px 0;
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-copy {
	font-family: var(--font-body);
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.25);
}

.footer-legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}

.footer-legal li a {
	font-family: var(--font-body);
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.25);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-legal li a:hover {
	color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer responsive ---------- */

@media (max-width: 1024px) {
	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.footer-brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media (max-width: 680px) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.footer-bottom__inner {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}

	.footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}
}


/* ==========================================================================
   SINGLE ARTICLE
   ========================================================================== */

/* ---------- Reading progress bar ---------- */

.read-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--coral);
	z-index: 300;
	transition: width 0.1s linear;
	pointer-events: none;
}

/* ---------- Breadcrumb bar ---------- */

.breadcrumb-bar {
	background: var(--bg);
	border-bottom: 1px solid var(--rule);
	height: 36px;
	display: flex;
	align-items: center;
}

.breadcrumb-bar .wrap {
	width: 100%;
}

.breadcrumb-bar .rank-math-breadcrumb p {
	margin: 0;
}

.breadcrumb-bar .rank-math-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.breadcrumb-bar .rank-math-breadcrumb a {
	color: var(--ink-soft);
	text-decoration: none;
}

.breadcrumb-bar .rank-math-breadcrumb a:hover {
	color: var(--coral);
}

.breadcrumb-bar .rank-math-breadcrumb .separator {
	color: var(--ink-muted);
	font-size: 8px;
}

.breadcrumb-bar .rank-math-breadcrumb .last {
	color: var(--ink-mid);
}

/* ---------- Article header ---------- */

.article-header {
	padding-top: 56px;
	border-bottom: 1px solid var(--rule);
}

.article-header-inner {
	max-width: var(--prose-w);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* Category row */

.art-category-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.art-category-row__left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.art-category-row > .reactions-bar {
	margin: 0;
	padding: 0;
}

.art-cat-badge {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--coral);
	border: 1px solid var(--coral);
	padding: 4px 10px;
	border-radius: 2px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.art-cat-badge:hover {
	background: var(--coral);
	color: var(--white);
}

.art-header-tags {
	display: flex;
	align-items: center;
	gap: 6px;
}

.art-tag {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--ink-muted);
}

.art-tag-sep {
	color: var(--ink-muted);
	font-size: 9.5px;
}

/* Title */

.article-title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(32px, 4.5vw, 52px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0 0 24px;
}

/* Lead */

.article-lead {
	font-family: var(--font-serif);
	font-size: 18px;
	font-style: italic;
	line-height: 1.72;
	color: var(--ink-mid);
	margin: 0 0 32px;
	border-left: 3px solid var(--coral);
	padding-left: 22px;
}

/* Meta row */

.article-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0;
	border-top: 1px solid var(--rule);
	flex-wrap: wrap;
	gap: 14px;
}

.article-meta-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.article-meta-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.15);
}

.article-meta-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.article-meta-name {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-mid);
	text-decoration: none;
}

.article-meta-name:hover {
	color: var(--coral);
}

.article-meta-details {
	display: flex;
	align-items: center;
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
}

.article-meta-details .dot {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: var(--ink-muted);
	margin: 0 6px;
	flex-shrink: 0;
}

/* Share */

.article-share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.article-share-label {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--ink-muted);
	margin-right: 4px;
}

.share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--rule);
	background: none;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-btn svg {
	display: block;
	flex-shrink: 0;
}



.share-btn:hover {
	border-color: var(--coral);
	color: var(--coral);
	background: var(--coral-faint);
}

.share-btn:active {
	border-color: var(--coral);
	color: var(--coral);
	background: var(--coral-faint);
	transition: none;
}

.share-btn.show-tooltip {
	position: relative;
}

.share-btn.show-tooltip::after {
	content: 'Skopiowany URL';
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--white);
	background: var(--ink);
	padding: 5px 10px;
	border-radius: 2px;
	pointer-events: none;
	animation: tooltipFade 1.5s ease forwards;
}

@keyframes tooltipFade {
	0%, 70% { opacity: 1; }
	100% { opacity: 0; }
}

/* ---------- Hero image ---------- */

.article-hero {
	position: relative;
	width: 100%;
	max-height: 560px;
	overflow: hidden;
}

.article-hero__img {
	display: block;
	width: 100%;
	height: 560px;
	object-fit: cover;
	filter: saturate(0.88);
}

.article-hero__caption {
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(28, 25, 23, 0.55);
	padding: 8px 16px;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.55);
}

/* ---------- Article layout ---------- */

.article-layout {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 0;
	align-items: start;
}

/* ---------- Article prose ---------- */

.article-prose {
	padding: 52px 64px 64px 0;
	border-right: 1px solid var(--rule);
	min-width: 0;
}

.article-prose p {
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.82;
	color: var(--ink-mid);
	margin: 0 0 1.7em;
}


.article-prose h2 {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
	margin: 2.2em 0 0.7em;
}

.article-prose h3 {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
	margin: 1.8em 0 0.6em;
}

.article-prose strong {
	font-weight: 700;
	color: var(--ink);
}

.article-prose a {
	color: var(--coral);
	border-bottom: 1px solid rgba(232, 84, 74, 0.3);
	text-decoration: none;
}

.article-prose a:hover {
	border-color: var(--coral);
}

.article-prose ul,
.article-prose ol {
	padding-left: 1.6em;
	margin-bottom: 1.7em;
}

.article-prose li {
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.8;
	color: var(--ink-mid);
}

.article-prose ul li::marker {
	color: var(--coral);
}

.article-prose blockquote {
	margin: 2.4em -20px;
	padding: 28px 32px 28px 40px;
	border-left: 3px solid var(--coral);
	background: var(--bg-warm);
	position: relative;
}

.article-prose blockquote::before {
	content: '\201C';
	position: absolute;
	top: 10px;
	left: 12px;
	font-family: var(--font-display);
	font-size: 72px;
	font-weight: 900;
	color: var(--coral);
	opacity: 0.25;
	line-height: 1;
}

.article-prose blockquote p {
	font-family: var(--font-display);
	font-size: 22px;
	font-style: italic;
	line-height: 1.45;
	color: var(--ink);
	margin-bottom: 10px;
}

.article-prose blockquote cite {
	font-family: var(--font-body);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-soft);
	font-style: normal;
}

.article-prose figure {
	margin: 2.2em -20px;
}

.article-prose figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	filter: saturate(0.88);
}

.article-prose figcaption {
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	letter-spacing: 0.08em;
	padding: 10px 4px 0;
	border-top: 1px solid var(--rule-soft);
}

/* Rank Math TOC block */

.article-prose .wp-block-rank-math-toc-block {
	margin: 2.2em 0;
	padding: 0;
	border: 1px solid var(--rule);
	border-top: 3px solid var(--ink);
	background: var(--white);
}

.article-prose .wp-block-rank-math-toc-block h2 {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--ink);
	font-weight: 500;
	margin: 0;
	padding: 18px 28px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.article-prose .wp-block-rank-math-toc-block h2::after {
	content: '+';
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	color: var(--ink-muted);
	transition: color 0.2s;
}

.article-prose .wp-block-rank-math-toc-block.toc-open h2::after {
	content: '−';
	color: var(--ink);
}

.article-prose .wp-block-rank-math-toc-block h2:hover::after {
	color: var(--ink);
}

.article-prose .wp-block-rank-math-toc-block nav {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.article-prose .wp-block-rank-math-toc-block.toc-open nav {
	max-height: 1000px;
}

.article-prose .wp-block-rank-math-toc-block nav ul {
	list-style: none;
	padding: 0 28px 20px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.article-prose .wp-block-rank-math-toc-block nav ul li {
	font-family: var(--font-body);
	font-size: 13.5px;
	line-height: 1.4;
	padding: 9px 0;
	border-bottom: 1px solid var(--rule-soft);
}

.article-prose .wp-block-rank-math-toc-block nav ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.article-prose .wp-block-rank-math-toc-block nav ul li a {
	color: var(--ink-soft);
	text-decoration: none;
	border-bottom: none;
	transition: color 0.2s;
}

.article-prose .wp-block-rank-math-toc-block nav ul li a:hover {
	color: var(--ink);
}

/* Rank Math FAQ block */

.article-prose .rank-math-block {
	margin: 2.4em 0;
}

.article-prose .rank-math-list-item {
	border-bottom: 1px solid var(--rule);
}

.article-prose .rank-math-question {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
	margin: 0;
	padding: 20px 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.article-prose .rank-math-question strong {
	font-weight: 700;
}

.article-prose .rank-math-question::after {
	content: '+';
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 300;
	color: var(--ink-muted);
	flex-shrink: 0;
	margin-left: 16px;
	transition: color 0.2s, transform 0.3s ease;
}

.article-prose .rank-math-list-item.faq-open .rank-math-question::after {
	content: '−';
	color: var(--coral);
}

.article-prose .rank-math-list-item:hover .rank-math-question::after {
	color: var(--coral);
}

.article-prose .rank-math-answer {
	padding: 0 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
}

.article-prose .rank-math-list-item.faq-open .rank-math-answer {
	max-height: 500px;
}

.article-prose .rank-math-list-item:not(.faq-open) .rank-math-answer {
	padding: 0;
}

.article-prose .rank-math-answer p {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.72;
	color: var(--ink-mid);
	margin: 0;
}

/* Tags */

.article-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 32px;
	margin-top: 16px;
	border-top: 1px solid var(--rule);
}

.article-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.article-tags > .reactions-bar {
	margin: 0;
	padding: 0;
}

.article-tag {
	font-family: var(--font-body);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-soft);
	border: 1px solid var(--rule);
	padding: 5px 12px;
	border-radius: 2px;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.article-tag:hover {
	border-color: var(--coral);
	color: var(--coral);
}

/* Author bio */

.author-bio-block {
	margin-top: 48px;
	padding: 28px;
	background: var(--bg-warm);
	border-top: 2px solid var(--ink);
	display: flex;
	gap: 22px;
	align-items: flex-start;
}

.author-bio-photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.15);
	flex-shrink: 0;
}

.author-bio-name {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
}

.author-bio-name:hover {
	color: var(--coral);
}

.author-bio-text {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.68;
	color: var(--ink-soft);
	margin: 0;
}

/* ---------- Sidebar ---------- */

.article-sidebar {
	padding: 52px 0 64px 40px;
	position: sticky;
	top: calc(var(--nav-h) + 16px);
}

.sidebar-section {
	margin-bottom: 44px;
}

.sidebar-section:last-child {
	margin-bottom: 0;
}

.sidebar-title {
	font-family: var(--font-display);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.26em;
	color: var(--ink);
	font-weight: 400;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
	margin: 0 0 20px;
}

/* Sidebar list */

.sidebar-list {
	display: flex;
	flex-direction: column;
}

.sidebar-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule-soft);
	text-decoration: none;
	transition: background 0.2s, padding 0.2s, margin 0.2s;
}

.sidebar-item:last-child {
	border-bottom: none;
}

.sidebar-item:hover {
	background: var(--coral-faint);
	padding-left: 6px;
	padding-right: 6px;
	margin: 0 -6px;
}

.sidebar-num {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	color: var(--rule);
	flex-shrink: 0;
	width: 26px;
	line-height: 1;
	transition: color 0.2s;
}

.sidebar-item:hover .sidebar-num {
	color: var(--coral);
}

.sidebar-item-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sidebar-item-h {
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.32;
	color: var(--ink);
	transition: color 0.2s;
}

.sidebar-item:hover .sidebar-item-h {
	color: var(--coral-dark);
}

.sidebar-item-cat {
	font-family: var(--font-body);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--coral);
	margin-top: 4px;
}

/* Sidebar categories */

.sidebar-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sidebar-cat-pill {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-soft);
	border: 1px solid var(--rule);
	padding: 5px 11px;
	border-radius: 2px;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.sidebar-cat-pill:hover {
	border-color: var(--coral);
	color: var(--coral);
}

/* ---------- Related articles ---------- */

.s-related {
	border-top: 1px solid var(--rule);
	padding: 64px 0 72px;
}

.related-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--ink);
	margin-bottom: 0;
}

.related-head__label {
	font-family: var(--font-display);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-weight: 400;
	color: var(--ink);
}

.related-head__link {
	font-family: var(--font-body);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--coral);
	text-decoration: none;
	border-bottom: 1px solid var(--coral);
}

.related-head__link:hover {
	opacity: 0.6;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-bottom: 1px solid var(--rule);
}

.related-col {
	padding: 28px 24px 30px 0;
	border-right: 1px solid var(--rule);
	position: relative;
	cursor: pointer;
}

.related-col:not(:first-child) {
	padding-left: 24px;
}

.related-col:last-child {
	border-right: none;
	padding-right: 0;
}

.related-col::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	pointer-events: none;
}

.related-col:hover::after {
	opacity: 1;
}

.related-col__img-wrap {
	display: block;
	overflow: hidden;
	margin-bottom: 16px;
}

.related-col__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-col:hover .related-col__img {
	transform: scale(1.04);
	filter: saturate(1);
}

.related-col__body {
	position: relative;
	z-index: 1;
}

.related-col__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.28;
	color: var(--ink);
	margin: 8px 0 10px;
}

.related-col__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.related-col:hover .related-col__title a {
	color: var(--coral-dark);
}

/* ---------- Article responsive: tablet ---------- */

@media (max-width: 1024px) {
	.article-layout {
		grid-template-columns: 1fr;
	}

	.article-prose {
		border-right: none;
		padding-right: 0;
	}

	.article-sidebar {
		position: static;
		padding: 0 0 48px;
		border-top: 1px solid var(--rule);
		padding-top: 32px;
	}

	.related-grid {
		grid-template-columns: 1fr 1fr;
	}

	.related-col:nth-child(3) {
		grid-column: 1 / -1;
		border-right: none;
		border-top: 1px solid var(--rule);
		padding-top: 24px;
		padding-left: 0;
	}
}

/* ---------- Article responsive: mobile ---------- */

@media (max-width: 680px) {
	.article-title {
		font-size: 28px;
	}

	.article-lead {
		font-size: 16px;
		padding-left: 16px;
	}

	.article-prose {
		padding: 32px 0 40px;
	}

	.article-prose p {
		font-size: 16px;
	}

	.article-prose blockquote {
		margin: 2em 0;
	}

	.article-prose blockquote p {
		font-size: 19px;
	}

	.article-prose figure {
		margin: 2em 0;
	}

	.author-bio-block {
		flex-direction: column;
	}

	.related-grid {
		grid-template-columns: 1fr;
	}

	.related-col {
		border-right: none;
		border-bottom: 1px solid var(--rule);
		padding: 20px 0;
	}

	.related-col:not(:first-child) {
		padding-left: 0;
	}

	.related-col:last-child {
		border-bottom: none;
	}

	.related-col:nth-child(3) {
		border-top: none;
		padding-top: 20px;
	}

	.article-meta-row {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* ---------- Reactions bar ---------- */

.reactions-bar {
	margin-top: 16px;
	padding: 10px 0 0;
}

.reactions-bar__pill {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--rule);
	border-radius: 20px;
	background: none;
	overflow: visible;
	position: relative;
}

/* Left half: Like button */

.reactions-bar__like {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px 7px 12px;
	border: none;
	background: none;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink-mid);
	transition: color 0.2s, background 0.2s;
	white-space: nowrap;
	border-radius: 20px 0 0 20px;
}

.reactions-bar__like:hover {
	color: var(--coral);
	background: var(--coral-faint);
}

.reactions-bar__like.is-active {
	color: var(--coral);
	background: var(--coral-faint);
}

.reactions-bar__like-emoji {
	font-size: 15px;
	line-height: 1;
}

.reactions-bar__like-label {
	line-height: 1;
}

/* Divider between halves */

.reactions-bar__divider {
	width: 1px;
	height: 20px;
	background: var(--rule);
	flex-shrink: 0;
}

/* Right half: summary bubbles + total */

.reactions-bar__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 10px;
	cursor: pointer;
	border-radius: 0 20px 20px 0;
	transition: background 0.2s;
	position: relative;
}

.reactions-bar__summary:hover {
	background: var(--bg-warm);
}

.reactions-bar__bubbles {
	display: flex;
	align-items: center;
}

.reactions-bar__bubble {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
}

.reactions-bar__bubble--back {
	position: relative;
	z-index: 1;
}

.reactions-bar__bubble--front {
	position: relative;
	z-index: 2;
	margin-left: -6px;
}

.reactions-bar__total {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink-soft);
	line-height: 1;
}

/* Expanded reactions panel */

.reactions-panel {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 6px 8px;
	background: var(--white, #fff);
	border: 1px solid var(--rule);
	border-radius: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 50;
	white-space: nowrap;
}

.reactions-bar__summary:hover .reactions-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Mobile: tap to open */
.reactions-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.reactions-panel__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 44px;
	padding: 4px 0;
	border: none;
	background: none;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.25s;
}



.reactions-panel__btn:hover .reactions-panel__emoji {
	transform: scale(1.35);
}

.reactions-panel__btn.is-active {
	background: var(--coral-faint);
}

.reactions-panel__emoji {
	font-size: 20px;
	line-height: 1;
	transition: transform 0.15s ease;
}

.reactions-panel__count {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 500;
	color: var(--ink-muted);
	line-height: 1;
}

/* Responsive */
@media (max-width: 600px) {
	.reactions-bar__like-label {
		font-size: 11px;
	}

	.reactions-panel {
		right: -8px;
	}
}


/* ==========================================================================
   ARCHIVE (Category & Tag)
   ========================================================================== */

/* ---------- Category header ---------- */

.cat-header {
	background: var(--bg);
	border-bottom: 1px solid var(--rule);
	padding: 52px 0 40px;
}

.cat-header-inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.cat-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--coral);
	margin-bottom: 12px;
}

.cat-title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(36px, 5vw, 60px);
	line-height: 1.0;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0;
}

.cat-title em {
	font-style: italic;
	color: var(--coral);
}

.cat-desc {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.68;
	color: var(--ink-soft);
	max-width: 420px;
	margin: 16px 0 0;
}

.cat-stats {
	display: flex;
	gap: 32px;
	flex-shrink: 0;
	padding-bottom: 4px;
}

.cat-stat {
	display: flex;
	flex-direction: column;
}

.cat-stat-num {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1;
	margin-bottom: 4px;
}

.cat-stat-label {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ink-muted);
}

/* ---------- Archive grid ---------- */

.archive-grid-wrap {
	padding-top: 48px;
}

/* Post meta (shared in archive) */

.post-meta {
	display: flex;
	align-items: center;
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	gap: 0;
}

.post-meta .au {
	color: var(--ink-soft);
	text-decoration: none;
}

.post-meta .au:hover {
	color: var(--coral);
}

.post-meta .dot {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: var(--ink-muted);
	margin: 0 8px;
	flex-shrink: 0;
}

/* Post category label (shared) */

.post-cat {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--coral);
}

/* ---------- Post featured ---------- */

.post-featured {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	border: 1px solid var(--rule);
	margin-bottom: 2px;
	position: relative;
	overflow: hidden;
}

.post-featured::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	pointer-events: none;
}

.post-featured:hover::after {
	opacity: 1;
}

.post-featured-img {
	display: block;
	overflow: hidden;
}

.post-featured-img__el {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 10;
	filter: saturate(0.86);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-featured:hover .post-featured-img__el {
	transform: scale(1.04);
	filter: saturate(1);
}

.post-featured-body {
	padding: 44px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid var(--rule);
	position: relative;
	z-index: 1;
}

.post-featured-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.post-featured-kicker__line {
	width: 28px;
	height: 2px;
	background: var(--coral);
	flex-shrink: 0;
}

.post-featured-h {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 16px;
}

.post-featured-h a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.post-featured:hover .post-featured-h a {
	color: var(--coral-dark);
}

.post-featured-lead {
	font-family: var(--font-serif);
	font-size: 14px;
	font-style: italic;
	line-height: 1.72;
	color: var(--ink-soft);
	margin: 0 0 24px;
}

/* ---------- Post grid (3 columns) ---------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--rule);
	border-top: none;
	margin-bottom: 2px;
}

.post-card {
	padding: 28px 28px 32px;
	border-right: 1px solid var(--rule);
	position: relative;
	overflow: hidden;
}

.post-card:last-child {
	border-right: none;
}

.post-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	pointer-events: none;
}

.post-card:hover::after {
	opacity: 1;
}

.post-card-img {
	display: block;
	overflow: hidden;
	margin-bottom: 18px;
	position: relative;
	z-index: 1;
}

.post-card-img__el {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-card:hover .post-card-img__el {
	transform: scale(1.04);
	filter: saturate(1);
}

.post-card-cat {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--coral);
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
}

.post-card-h {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ink);
	margin: 0 0 10px;
	position: relative;
	z-index: 1;
}

.post-card-h a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.post-card:hover .post-card-h a {
	color: var(--coral-dark);
}

.post-card-lead {
	font-family: var(--font-serif);
	font-size: 13px;
	font-style: italic;
	line-height: 1.68;
	color: var(--ink-soft);
	margin: 0 0 16px;
	position: relative;
	z-index: 1;
}

.post-card .post-meta {
	position: relative;
	z-index: 1;
}

/* ---------- Post grid 2 columns (wide cards) ---------- */

.post-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border: 1px solid var(--rule);
	border-top: none;
	margin-bottom: 2px;
}

.post-card-wide {
	display: grid;
	grid-template-columns: 220px 1fr;
	border-right: 1px solid var(--rule);
	position: relative;
	overflow: hidden;
}

.post-card-wide:last-child {
	border-right: none;
}

.post-card-wide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	pointer-events: none;
}

.post-card-wide:hover::after {
	opacity: 1;
}

.post-card-wide-img {
	display: block;
	overflow: hidden;
}

.post-card-wide-img__el {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-card-wide:hover .post-card-wide-img__el {
	transform: scale(1.04);
	filter: saturate(1);
}

.post-card-wide-body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.post-card-wide-h {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ink);
	margin: 8px 0 10px;
}

.post-card-wide-h a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.post-card-wide:hover .post-card-wide-h a {
	color: var(--coral-dark);
}

.post-card-wide-lead {
	font-family: var(--font-serif);
	font-size: 13px;
	font-style: italic;
	line-height: 1.68;
	color: var(--ink-soft);
	margin: 0 0 16px;
}

/* ---------- Pagination ---------- */

.pagination-wrap {
	padding: 56px 0 72px;
	display: flex;
	justify-content: center;
}

.pagination {
	display: flex;
	align-items: center;
	gap: 2px;
}

.page-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--rule);
	border-radius: 2px;
	color: var(--ink-soft);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.page-arrow:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.page-arrow.disabled {
	opacity: 0.3;
	pointer-events: none;
}

.page-gap {
	width: 12px;
}

.page-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-muted);
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.page-btn:hover {
	color: var(--ink);
	border-color: var(--rule);
}

.page-btn.active {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}

.page-btn.active:hover {
	background: var(--coral);
	border-color: var(--coral);
}

.page-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--ink-muted);
	letter-spacing: 0.06em;
}

/* ---------- Archive responsive: tablet ---------- */

@media (max-width: 1024px) {
	.post-featured {
		grid-template-columns: 1fr;
	}

	.post-featured-img__el {
		aspect-ratio: 16 / 9;
	}

	.post-featured-body {
		border-left: none;
		border-top: 1px solid var(--rule);
		padding: 28px;
	}

	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-grid .post-card:nth-child(3) {
		grid-column: 1 / -1;
		border-right: none;
		border-top: 1px solid var(--rule);
	}
}

/* ---------- Archive responsive: mobile ---------- */

@media (max-width: 680px) {
	.cat-header {
		padding: 36px 0 28px;
	}

	.cat-stats {
		display: none;
	}

	.post-grid {
		grid-template-columns: 1fr;
	}

	.post-card {
		border-right: none;
		border-top: 1px solid var(--rule);
	}

	.post-card:first-child {
		border-top: none;
	}

	.post-grid .post-card:nth-child(3) {
		grid-column: auto;
	}

	.post-grid-2 {
		grid-template-columns: 1fr;
	}

	.post-card-wide {
		grid-template-columns: 1fr;
		border-right: none;
		border-top: 1px solid var(--rule);
	}

	.post-card-wide:first-child {
		border-top: none;
	}

	.post-card-wide-img__el {
		height: 180px;
	}
}

/* =========================================================================
   AUTHOR ARCHIVE PAGE
   ========================================================================= */

/* ---------- Breadcrumb (custom, non-Rank Math) ---------- */

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
}

.breadcrumb a {
	color: var(--ink-soft);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--coral);
}

.breadcrumb-sep {
	color: var(--ink-muted);
	font-size: 8px;
}

.breadcrumb-current {
	color: var(--ink-mid);
}

/* ---------- Author header ---------- */

.author-header {
	background: var(--bg-warm);
	border-bottom: 1px solid var(--rule);
	padding: 56px 0 52px;
}

.author-header-inner {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 48px;
	align-items: start;
}

/* Photo */
.author-photo-wrap {
	position: relative;
}

.author-photo {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.1) saturate(0.9);
	display: block;
}

.author-photo-ring {
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 1px solid var(--rule);
	pointer-events: none;
}

/* Text content */
.author-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--coral);
	margin-bottom: 10px;
}

.author-name {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(28px, 3.5vw, 44px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0 0 6px;
}

.author-bio {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.75;
	color: var(--ink-mid);
	max-width: 640px;
	padding-top: 20px;
	border-top: 1px solid var(--rule);
	margin: 0;
}

/* Stats row */
.author-footer-row {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--rule);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.author-stats {
	display: flex;
	gap: 28px;
}

.author-stat {
	display: flex;
	flex-direction: column;
}

.author-stat-num {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1;
	margin-bottom: 3px;
}

.author-stat-label {
	font-family: var(--font-body);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ink-muted);
}

/* ---------- Archive bar ---------- */

.archive-bar {
	background: var(--bg);
	border-bottom: 1px solid var(--rule);
}

.archive-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
}

.archive-bar-label {
	font-family: var(--font-display);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-weight: 400;
	color: var(--ink);
}

.archive-count {
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	letter-spacing: 0.06em;
}

/* ---------- Author grid (4-col) ---------- */

.author-grid-wrap {
	padding-top: 48px;
	padding-bottom: 0;
}

.post-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--rule);
	margin-bottom: 2px;
}

.post-grid-4--second {
	border-top: none;
}

.post-grid-4 .post-card {
	padding: 0 0 28px;
	border-right: 1px solid var(--rule);
	border-top: none;
	position: relative;
}

.post-grid-4 .post-card:last-child {
	border-right: none;
}

.post-grid-4 .post-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--coral-faint);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}

.post-grid-4 .post-card:hover::after {
	opacity: 1;
}

/* Card image in author grid */
.post-grid-4 .post-card-img {
	display: block;
	overflow: hidden;
	margin-bottom: 16px;
}

.post-grid-4 .post-card-img__el {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-grid-4 .post-card:hover .post-card-img__el {
	transform: scale(1.04);
	filter: saturate(1);
}

/* Card body in author grid */
.post-card-body {
	padding: 0 22px;
}

.post-grid-4 .post-card-cat {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--coral);
	margin-bottom: 8px;
	text-decoration: none;
}

.post-grid-4 .post-card-h {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.28;
	color: var(--ink);
	margin: 0 0 10px;
}

.post-grid-4 .post-card-h a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.post-grid-4 .post-card:hover .post-card-h a {
	color: var(--coral-dark);
}

.post-grid-4 .post-card-lead {
	font-family: var(--font-serif);
	font-size: 12.5px;
	font-style: italic;
	line-height: 1.65;
	color: var(--ink-soft);
	margin: 0 0 14px;
}

.post-grid-4 .post-meta {
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.post-grid-4 .post-meta .dot {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: var(--ink-muted);
	flex-shrink: 0;
}

/* ---------- Author responsive: tablet ---------- */

@media (max-width: 1024px) {
	.post-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-grid-4 .post-card:nth-child(2n) {
		border-right: none;
	}

	.post-grid-4 .post-card:nth-child(n+3) {
		border-top: 1px solid var(--rule);
	}
}

/* ---------- Author responsive: mobile ---------- */

@media (max-width: 680px) {
	.author-header {
		padding: 36px 0 32px;
	}

	.author-header-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.author-photo-wrap {
		width: fit-content;
	}

	.author-photo {
		width: 100px;
		height: 100px;
	}

	.author-photo-ring {
		inset: -4px;
	}

	.post-grid-4 {
		grid-template-columns: 1fr;
	}

	.post-grid-4 .post-card {
		border-right: none;
		border-top: 1px solid var(--rule);
	}

	.post-grid-4 .post-card:first-child {
		border-top: none;
	}

	.post-grid-4--second .post-card:first-child {
		border-top: 1px solid var(--rule);
	}
}

/* =========================================================================
   PAGE TEMPLATE (polityka prywatności, regulamin etc.)
   ========================================================================= */

.page-header-simple {
	padding: 56px 0 40px;
	border-bottom: 1px solid var(--rule);
}

.page-title-simple {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(28px, 3.5vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0;
}

.page-content-wrap {
	padding: 48px 0 72px;
}

.page-prose {
	max-width: 720px;
	border-right: none;
	padding: 0;
}

@media (max-width: 680px) {
	.page-header-simple {
		padding: 36px 0 28px;
	}

	.page-content-wrap {
		padding: 32px 0 48px;
	}
}

/* =========================================================================
   SEARCH OVERLAY
   ========================================================================= */

.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(28, 25, 23, 0.85);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 20vh;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

body.search-open {
	overflow: hidden;
}

.search-overlay__inner {
	width: 100%;
	max-width: 640px;
	padding: 0 var(--gutter);
	position: relative;
}

.search-overlay__label {
	display: block;
	font-family: var(--font-display);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 20px;
	font-weight: 400;
}

.search-overlay__field {
	display: flex;
	align-items: center;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 12px;
	gap: 12px;
}

.search-overlay__input {
	flex: 1;
	background: none;
	border: none!important;
	outline: none;
	font-family: var(--font-display);
	font-size: clamp(24px, 4vw, 40px);
	font-weight: 400;
	color: #fff!important;
	line-height: 1.2;
}

.search-overlay__input::placeholder {
	color: rgba(255, 255, 255, 0.3);
}

.search-overlay__submit {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 4px;
	transition: color 0.2s;
}

.search-overlay__submit:hover {
	color: var(--coral);
}

.search-overlay__close {
	position: absolute;
	top: -60px;
	right: var(--gutter);
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 4px;
	transition: color 0.2s;
}

.search-overlay__close:hover {
	color: #fff;
}

.search-overlay__field:focus-within {
	border-color: var(--coral);
}

@media (max-width: 680px) {
	.search-overlay {
		padding-top: 12vh;
	}

	.search-overlay__close {
		top: -48px;
	}
}

/* =========================================================================
   SEARCH RESULTS PAGE
   ========================================================================= */

/* ---------- Search header ---------- */

.search-header {
	background: var(--bg-warm);
	border-bottom: 1px solid var(--rule);
	padding: 48px 0 44px;
}

.search-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--coral);
	margin-bottom: 10px;
}

.search-title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(26px, 3.5vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0 0 8px;
}

.search-meta {
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--ink-muted);
	margin: 0 0 28px;
}

/* Inline search form */
.search-again {
	max-width: 480px;
}

.search-again__field {
	display: flex;
	align-items: center;
	border: 1px solid var(--rule);
	border-radius: 6px;
	background: var(--bg);
	overflow: hidden;
	transition: border-color 0.2s;
}

.search-again__field:focus-within {
	border-color: var(--coral);
}

.search-again__input {
	flex: 1;
	border: none!important;
	outline: none;
	background: none;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink)!important;
	padding: 10px 16px;
}

.search-again__input::placeholder {
	color: var(--ink-muted);
}

.search-again__submit {
	background: none;
	border: none;
	color: var(--ink-soft);
	cursor: pointer;
	padding: 10px 14px;
	transition: color 0.2s;
}

.search-again__submit:hover {
	color: var(--coral);
}

/* ---------- Search results list ---------- */

.search-results-wrap {
	padding: 8px 0 0;
}

.search-result {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 28px;
	align-items: start;
	padding: 32px 0;
	border-bottom: 1px solid var(--rule);
}

.search-result:first-child {
	border-top: none;
}

/* Thumbnail */
.search-result__img {
	display: block;
	overflow: hidden;
	border-radius: 4px;
}

.search-result__img-el {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-result:hover .search-result__img-el {
	transform: scale(1.04);
	filter: saturate(1);
}

/* Body */
.search-result__body {
	padding-top: 2px;
}

.search-result__cat {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--coral);
	text-decoration: none;
	margin-bottom: 6px;
}

.search-result__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.28;
	color: var(--ink);
	margin: 0 0 8px;
}

.search-result__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.search-result:hover .search-result__title a {
	color: var(--coral-dark);
}

.search-result__excerpt {
	font-family: var(--font-serif);
	font-size: 13.5px;
	font-style: italic;
	line-height: 1.65;
	color: var(--ink-soft);
	margin: 0 0 12px;
}

.search-result .post-meta {
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-result .post-meta a {
	color: var(--ink-muted);
	text-decoration: none;
}

.search-result .post-meta a:hover {
	color: var(--coral);
}

.search-result .post-meta .dot {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: var(--ink-muted);
	flex-shrink: 0;
}

/* ---------- No results ---------- */

.search-no-results {
	padding: 72px 0 96px;
	text-align: center;
}

.search-no-results__text {
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-mid);
	margin: 0 0 8px;
}

.search-no-results__hint {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink-muted);
	margin: 0;
}

/* ---------- Search responsive: tablet ---------- */

@media (max-width: 1024px) {
	.search-result {
		grid-template-columns: 160px 1fr;
		gap: 20px;
	}
}

/* ---------- Search responsive: mobile ---------- */

@media (max-width: 680px) {
	.search-header {
		padding: 36px 0 32px;
	}

	.search-result {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.search-result__img-el {
		aspect-ratio: 16 / 9;
	}

	.search-result__title {
		font-size: 18px;
	}
}

/* =========================================================================
   404 PAGE
   ========================================================================= */

.error-404 {
	padding: 0 0 80px;
}

.error-404__hero {
	text-align: center;
	padding: 64px 0 56px;
	border-bottom: 1px solid var(--rule);
}

.error-404__code {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(72px, 12vw, 120px);
	font-weight: 900;
	line-height: 1;
	color: var(--rule);
	letter-spacing: -0.03em;
	margin-bottom: 12px;
}

.error-404__title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 12px;
}

.error-404__desc {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.7;
	color: var(--ink-mid);
	max-width: 480px;
	margin: 0 auto 32px;
}

.error-404__search {
	max-width: 420px;
	margin: 0 auto 24px;
}

.error-404__home {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--coral);
	text-decoration: none;
	border-bottom: 1px solid rgba(232, 84, 74, 0.3);
	padding-bottom: 2px;
	transition: border-color 0.2s;
}

.error-404__home:hover {
	border-color: var(--coral);
}

/* Recent articles on 404 */
.error-404__recent {
	padding-top: 48px;
}

.error-404__recent-title {
	font-family: var(--font-display);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-weight: 400;
	color: var(--ink);
	margin: 0 0 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rule);
}

.error-404__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.error-404__card-img {
	display: block;
	overflow: hidden;
	margin-bottom: 14px;
}

.error-404__card-img-el {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            filter 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.error-404__card:hover .error-404__card-img-el {
	transform: scale(1.04);
	filter: saturate(1);
}

.error-404__card-cat {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--coral);
	text-decoration: none;
	margin-bottom: 6px;
}

.error-404__card-h {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
	margin: 0 0 10px;
}

.error-404__card-h a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.error-404__card:hover .error-404__card-h a {
	color: var(--coral-dark);
}

.error-404__card .post-meta {
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.error-404__card .post-meta a {
	color: var(--ink-muted);
	text-decoration: none;
}

.error-404__card .post-meta .dot {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: var(--ink-muted);
}

@media (max-width: 1024px) {
	.error-404__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.error-404__card:last-child {
		display: none;
	}
}

@media (max-width: 680px) {
	.error-404__hero {
		padding: 48px 0 40px;
	}

	.error-404__grid {
		grid-template-columns: 1fr;
	}

	.error-404__card:last-child {
		display: block;
	}
}

/* =========================================================================
   COMMENTS
   ========================================================================= */

.comments-wrap {
	border-top: 1px solid var(--rule);
	padding: 56px 0 72px;
}

.comments-area {
	max-width: 720px;
}

/* ---------- Comments title ---------- */

.comments-title {
	font-family: var(--font-display);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-weight: 400;
	color: var(--ink);
	margin: 0 0 32px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rule);
}

/* ---------- Comment list ---------- */

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 40px;
	margin: 0;
}

/* ---------- Single comment ---------- */

.wsk-comment {
	padding: 24px 0;
	border-bottom: 1px solid var(--rule-soft);
}

.wsk-comment:last-child {
	border-bottom: none;
}

.wsk-comment__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.wsk-comment__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.1) saturate(0.9);
}

.wsk-comment__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wsk-comment__author {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
}

.wsk-comment__date {
	font-family: var(--font-body);
	font-size: 10.5px;
	color: var(--ink-muted);
	letter-spacing: 0.03em;
}

.wsk-comment__content {
	font-family: var(--font-serif);
	font-size: 15px;
	line-height: 1.75;
	color: var(--ink-mid);
}

.wsk-comment__content p {
	margin: 0 0 0.8em;
}

.wsk-comment__content p:last-child {
	margin-bottom: 0;
}

.wsk-comment__pending {
	font-family: var(--font-body);
	font-size: 12px;
	font-style: italic;
	color: var(--ink-muted);
	margin-bottom: 8px;
}

.wsk-comment__actions {
	margin-top: 10px;
}

.wsk-comment__actions a {
	font-family: var(--font-body);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--coral);
	text-decoration: none;
	transition: color 0.2s;
}

.wsk-comment__actions a:hover {
	color: var(--coral-dark);
}

/* ---------- Comment navigation ---------- */

.comment-navigation {
	display: flex;
	justify-content: space-between;
	padding: 16px 0;
	border-top: 1px solid var(--rule);
	margin-top: 8px;
}

.comment-navigation a {
	font-family: var(--font-body);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--coral);
	text-decoration: none;
}

.comment-navigation a:hover {
	color: var(--coral-dark);
}

.comments-closed {
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--ink-muted);
	font-style: italic;
	margin-top: 16px;
}

/* ---------- Comment form ---------- */

#respond {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--rule);
}

#respond .comment-reply-title {
	font-family: var(--font-display);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-weight: 400;
	color: var(--ink);
	margin: 0 0 24px;
}

#respond .comment-reply-title small {
	display: inline-block;
	margin-left: 10px;
	font-family: var(--font-body);
	text-transform: none;
	letter-spacing: 0;
}

#respond .comment-reply-title small a {
	color: var(--coral);
	text-decoration: none;
}

#respond label {
	display: block;
	font-family: var(--font-body);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-soft);
	margin-bottom: 6px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
	width: 100%;
	border: 1px solid var(--rule);
	border-radius: 4px;
	background: var(--bg);
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink);
	padding: 10px 14px;
	transition: border-color 0.2s;
	outline: none;
}

#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
	border-color: var(--coral);
}

#respond textarea {
	resize: vertical;
	min-height: 120px;
	font-family: var(--font-serif);
	font-size: 15px;
	line-height: 1.7;
}

#respond .comment-form-comment,
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
	margin-bottom: 16px;
}

#respond .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
}

#respond .comment-form-cookies-consent label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 12px;
	color: var(--ink-muted);
	margin-bottom: 0;
}

#respond .form-submit {
	margin: 0;
}

#respond .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #fff;
	background: var(--ink);
	border: none;
	border-radius: 4px;
	padding: 12px 32px;
	cursor: pointer;
	transition: background 0.2s;
}

#respond .submit:hover {
	background: var(--coral);
}

/* ---------- Comments responsive ---------- */

@media (max-width: 680px) {
	.comments-wrap {
		padding: 40px 0 48px;
	}

	.comment-list .children {
		padding-left: 20px;
	}

	.wsk-comment__avatar {
		width: 36px;
		height: 36px;
	}
}

/* =========================================================================
   REDAKCJA PAGE
   ========================================================================= */

.redakcja-header {
	background: var(--bg-warm);
	border-bottom: 1px solid var(--rule);
	padding: 56px 0 48px;
}

.redakcja-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--coral);
	margin-bottom: 10px;
}

.redakcja-title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(28px, 3.5vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0;
}

.redakcja-desc {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.75;
	color: var(--ink-mid);
	max-width: 560px;
	margin: 16px 0 0;
}

/* ---------- Authors grid ---------- */

.redakcja-grid-wrap {
	padding: 52px 0 72px;
}

.redakcja-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 28px;
}

/* ---------- Author card ---------- */

.redakcja-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	padding: 36px 24px 32px;
	border: 1px solid var(--rule);
	border-radius: 6px;
	transition: background 0.3s, border-color 0.3s;
}

.redakcja-card:hover {
	background: var(--coral-faint);
	border-color: var(--rule-soft);
}

/* Photo */
.redakcja-card__photo-wrap {
	position: relative;
	margin-bottom: 20px;
}

.redakcja-card__photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.1) saturate(0.9);
	display: block;
	transition: filter 0.4s;
}

.redakcja-card:hover .redakcja-card__photo {
	filter: grayscale(0) saturate(1);
}

.redakcja-card__ring {
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 1px solid var(--rule);
	pointer-events: none;
}

/* Body */
.redakcja-card__name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
	margin: 0 0 8px;
	transition: color 0.2s;
}

.redakcja-card:hover .redakcja-card__name {
	color: var(--coral-dark);
}

.redakcja-card__bio {
	font-family: var(--font-serif);
	font-size: 13px;
	font-style: italic;
	line-height: 1.6;
	color: var(--ink-soft);
	margin: 0 0 14px;
}

.redakcja-card__count {
	font-family: var(--font-body);
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ink-muted);
}

/* ---------- Redakcja responsive ---------- */

@media (max-width: 1024px) {
	.redakcja-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 680px) {
	.redakcja-header {
		padding: 36px 0 32px;
	}

	.redakcja-grid-wrap {
		padding: 36px 0 48px;
	}

	.redakcja-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.redakcja-card {
		flex-direction: row;
		text-align: left;
		padding: 20px;
		gap: 20px;
	}

	.redakcja-card__photo-wrap {
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.redakcja-card__photo {
		width: 80px;
		height: 80px;
	}

	.redakcja-card__ring {
		inset: -4px;
	}
}


/* ==========================================================================
   AD SLOTS
   ========================================================================== */

.ad-slot {
	position: relative;
	overflow: hidden;
	margin: 2.5rem 0;
	text-align: center;
}

.ad-slot__label {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--ff-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--clr-text-muted, #999);
}

.ad-slot ins.adsbygoogle {
	max-width: 100%;
}

/* Horizontal — full width banner */
.ad-slot--horizontal {
	margin: 3rem 0;
}

/* Square — constrain width so it doesn't stretch parent */
.ad-slot--square {
	max-width: 728px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

/* Vertical — sidebar ad */
.ad-slot--vertical {
	margin: 1.5rem 0;
}

/* In-article — inside post content */
.ad-slot--in-article {
	margin: 2rem 0;
	padding: 1.5rem 0;
	border-top: 1px solid var(--clr-border, #e5e5e5);
	border-bottom: 1px solid var(--clr-border, #e5e5e5);
}

@media (max-width: 768px) {
	.ad-slot {
		margin: 1.5rem 0;
	}

	.ad-slot--horizontal,
	.ad-slot--square {
		margin: 2rem 0;
	}

	.ad-slot--in-article {
		padding: 1rem 0;
	}
}
