/*
Theme Name: Detalistka
Theme URI: https://detalistka.pl
Author: Detalistka
Author URI: https://detalistka.pl
Description: Autorski motyw dla bloga detalistka.pl — recenzje książek. Nowoczesny, szybki, zoptymalizowany pod SEO, czytelny i estetyczny. Kompatybilny z PHP 8.4+. Nie wymaga Redux Framework.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: detalistka
Domain Path: /languages/
Tags: one-column, two-columns, right-sidebar, grid-layout, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog
*/

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Kolory — elegancka paleta dla bloga książkowego */
    --color-primary: #8B5E3C;
    --color-primary-dark: #6D4A2E;
    --color-primary-light: #C49A6C;
    --color-accent: #D4A574;
    --color-accent-hover: #B8895A;

    --color-bg: #FDFBF7;
    --color-bg-alt: #F5F0E8;
    --color-bg-card: #FFFFFF;
    --color-bg-footer: #2C2420;
    --color-bg-topbar: #1E1A17;

    --color-text: #3D3330;
    --color-text-light: #7A706A;
    --color-text-lighter: #A89F99;
    --color-text-inverse: #F5F0E8;
    --color-heading: #2C2420;

    --color-border: #E8E0D6;
    --color-border-light: #F0EBE3;

    --color-link: #8B5E3C;
    --color-link-hover: #6D4A2E;

    --color-star: #E6A817;
    --color-star-empty: #DDD5CB;

    --color-success: #5B8C5A;
    --color-error: #C0392B;

    /* Typografia */
    --font-body: 'Lora', 'Georgia', 'Times New Roman', serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;

    --lh-tight: 1.25;
    --lh-normal: 1.7;
    --lh-relaxed: 1.85;

    /* Odstępy */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 780px;
    --sidebar-width: 340px;
    --gap: 2rem;

    /* Borders & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 12px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 30px rgba(44, 36, 32, 0.1);
    --shadow-card: 0 2px 8px rgba(44, 36, 32, 0.05);
    --shadow-card-hover: 0 8px 25px rgba(44, 36, 32, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover,
a:focus {
    color: var(--color-link-hover);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: var(--lh-tight);
    font-weight: 700;
}

h1 {
    font-size: var(--fs-3xl);
}

h2 {
    font-size: var(--fs-2xl);
}

h3 {
    font-size: var(--fs-xl);
}

h4 {
    font-size: var(--fs-lg);
}

h5 {
    font-size: var(--fs-md);
}

h6 {
    font-size: var(--fs-base);
}

p {
    margin-bottom: var(--space-lg);
}

blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    background-color: var(--color-bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-light);
}

blockquote p:last-child {
    margin-bottom: 0;
}

pre,
code {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

code {
    padding: 2px 6px;
}

pre {
    padding: var(--space-lg);
    overflow-x: auto;
    margin-bottom: var(--space-lg);
}

pre code {
    padding: 0;
    background: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-xl);
}

th,
td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

th {
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--color-heading);
    background-color: var(--color-bg-alt);
}

hr {
    border: none;
    height: 1px;
    background-color: var(--color-border);
    margin: var(--space-2xl) 0;
}

/* ============================================
   WordPress Core Alignments
   ============================================ */
.aligncenter,
div.aligncenter {
    display: block;
    margin: var(--space-lg) auto;
}

.alignright {
    float: right;
    margin: var(--space-sm) 0 var(--space-lg) var(--space-lg);
}

.alignleft {
    float: left;
    margin: var(--space-sm) var(--space-lg) var(--space-lg) 0;
}

.alignnone {
    margin: var(--space-sm) var(--space-lg) var(--space-lg) 0;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: var(--space-lg);
}

.wp-caption img {
    border-radius: var(--radius-md);
}

.wp-caption-text,
.gallery-caption {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    text-align: center;
}

figure {
    margin: 0 0 var(--space-xl);
}

figcaption {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    text-align: center;
}

/* Screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    clip: auto !important;
    color: var(--color-primary);
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   Layout Container
   ============================================ */
.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.content-area {
    flex: 1;
    padding: var(--space-3xl) 0;
}

.content-sidebar {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-3xl);
    align-items: start;
}

.content-full {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo / Branding */
.site-branding {
    flex-shrink: 0;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-heading);
}

.site-branding a:hover {
    color: var(--color-primary);
}

.site-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.site-title a {
    color: inherit;
}

.site-title a:hover {
    color: var(--color-primary);
}

.custom-logo-link img {
    max-height: 50px;
    width: auto;
}

.site-description {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-menu li {
    position: relative;
}

.nav-menu>li>a {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    display: block;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-menu>li>a:hover,
.nav-menu>li.current-menu-item>a,
.nav-menu>li.current_page_item>a {
    color: var(--color-primary);
    background-color: var(--color-bg-alt);
}

/* Submenu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: 100;
}

.nav-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text);
    padding: var(--space-sm) var(--space-lg);
    display: block;
    transition: all var(--transition-fast);
}

.nav-menu .sub-menu a:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-alt);
}

/* Header search */
.header-search {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-toggle:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-alt);
}

.header-search-toggle svg {
    width: 20px;
    height: 20px;
}

.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(44, 36, 32, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay .search-form {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-overlay .search-field {
    width: 100%;
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    color: var(--color-text-inverse);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-md) 0;
    outline: none;
    transition: border-color var(--transition-base);
}

.search-overlay .search-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-overlay .search-field:focus {
    border-bottom-color: var(--color-accent);
}

.search-overlay .search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-inverse);
    cursor: pointer;
    padding: var(--space-sm);
}

.search-overlay .search-submit svg {
    width: 28px;
    height: 28px;
}

.search-close {
    position: absolute;
    top: var(--space-xl);
    right: calc(var(--space-xl) + 60px);
    /* Odsunięcie od prawej krawędzi, by nie najeżdżał na ikonę szukania */
    background: none;
    border: none;
    color: var(--color-text-inverse);
    cursor: pointer;
    padding: var(--space-md);
    font-size: var(--fs-xl);
    opacity: 0.7;
    transition: opacity var(--transition-base);
    z-index: 2;
    /* Upewnienie się, że przycisk jest klikalny */
}

.search-close:hover {
    opacity: 1;
}

/* Mobile Menu Toggle & Close */
.mobile-nav-close {
    display: none;
    /* Domyślnie ukryte na desktopie */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--color-text);
    border-radius: var(--radius-sm);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Post Cards (Index / Archive / Grid)
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.post-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

/* Featured / first post — full width */
.post-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.post-card--featured .post-card__image {
    min-height: 360px;
}

.post-card--featured .post-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl);
}

.post-card--featured .post-card__title {
    font-size: var(--fs-2xl);
}

.post-card__image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 240px;
    /* Dodatkowe wymuszenie min. wysokości */
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    position: absolute;
    /* Aby height 100% działało dobrze z aspect-ratio/min-height */
    top: 0;
    left: 0;
}

.post-card:hover .post-card__image img {
    transform: scale(1.03);
}

.post-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card__category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.post-card__category a {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background-color: var(--color-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base);
}

.post-card__category a:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
}

.post-card__content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__meta {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.post-card__meta .sep {
    width: 3px;
    height: 3px;
    background-color: var(--color-text-lighter);
    border-radius: 50%;
    display: inline-block;
}

.post-card__meta a {
    color: var(--color-text-lighter);
}

.post-card__meta a:hover {
    color: var(--color-primary);
}

.post-card__title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
    line-height: var(--lh-tight);
}

.post-card__title a {
    color: var(--color-heading);
    transition: color var(--transition-base);
}

.post-card__title a:hover {
    color: var(--color-primary);
}

.post-card__excerpt {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-normal);
    flex: 1;
    margin-bottom: var(--space-md);
}

.post-card__excerpt p {
    margin-bottom: 0;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    margin-top: auto;
}

.post-card__readmore {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-base);
}

.post-card__readmore:hover {
    color: var(--color-primary-dark);
    gap: var(--space-sm);
}

.post-card__readmore svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.post-card__readmore:hover svg {
    transform: translateX(3px);
}

.post-card__reading-time {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-card__reading-time svg {
    width: 14px;
    height: 14px;
}

/* Star Rating on cards */
.star-rating {
    display: inline-flex;
    gap: 2px;
    color: var(--color-star);
    font-size: var(--fs-sm);
}

.star-rating .star-empty {
    color: var(--color-star-empty);
}

/* ============================================
   Single Post
   ============================================ */
.single-post-header {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-xl);
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.single-post-header .post-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.single-post-header .post-categories a {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    background-color: var(--color-bg-alt);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.single-post-header .post-categories a:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.single-post-header .entry-title {
    font-size: var(--fs-4xl);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.single-post-meta {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.single-post-meta .sep {
    width: 4px;
    height: 4px;
    background-color: var(--color-text-lighter);
    border-radius: 50%;
}

.single-post-meta a {
    color: var(--color-text-light);
    font-weight: 500;
}

.single-post-meta a:hover {
    color: var(--color-primary);
}

.single-post-meta .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.single-post-meta .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured Image */
.single-featured-image {
    max-width: 960px;
    margin: var(--space-xl) auto var(--space-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.single-featured-image img {
    width: 100%;
    height: auto;
}

/* Post Content */
.entry-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}

.entry-content h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-2xl);
}

.entry-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    font-size: var(--fs-xl);
}

.entry-content h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: var(--space-sm);
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--color-accent);
}

.entry-content a:hover {
    color: var(--color-primary-dark);
    text-decoration-color: var(--color-primary-dark);
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: var(--space-lg) auto;
}

/* Post Tags */
.post-tags {
    max-width: var(--container-narrow);
    margin: var(--space-2xl) auto 0;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.post-tags .tags-label {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-text-light);
    margin-right: var(--space-sm);
}

.post-tags a {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-light);
    background-color: var(--color-bg-alt);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all var(--transition-base);
}

.post-tags a:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Author Bio */
.author-bio {
    max-width: var(--container-narrow);
    margin: var(--space-2xl) auto;
    padding: var(--space-xl);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    display: flex;
    gap: var(--space-xl);
    align-items: start;
}

.author-bio__avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.author-bio__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio__info h4 {
    font-size: var(--fs-md);
    margin-bottom: var(--space-xs);
}

.author-bio__info h4 a {
    color: var(--color-heading);
}

.author-bio__info h4 a:hover {
    color: var(--color-primary);
}

.author-bio__label {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
    display: block;
}

.author-bio__description {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-normal);
}

.author-bio__description p:last-child {
    margin-bottom: 0;
}

/* Related Posts */
.related-posts {
    max-width: var(--container-narrow);
    margin: var(--space-2xl) auto;
}

.related-posts__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    position: relative;
}

.related-posts__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.related-post-item {
    text-align: center;
    overflow: hidden;
}

.related-post-item__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    aspect-ratio: 4 / 3;
}

.related-post-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.related-post-item:hover .related-post-item__image img {
    transform: scale(1.05);
}

.related-post-item__title {
    font-size: var(--fs-sm) !important;
    line-height: var(--lh-tight) !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    margin-top: var(--space-sm) !important;
}

.related-post-item__title a {
    color: var(--color-heading);
}

.related-post-item__title a:hover {
    color: var(--color-primary);
}

.related-post-item__date {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    margin-top: var(--space-xs);
}

/* Post Navigation */
.post-navigation {
    max-width: var(--container-narrow);
    margin: var(--space-2xl) auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.post-navigation .nav-link {
    padding: var(--space-lg);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.post-navigation .nav-link:hover {
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-md);
}

.post-navigation .nav-link--next {
    text-align: right;
}

.post-navigation .nav-label {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-lighter);
    display: block;
    margin-bottom: var(--space-xs);
}

.post-navigation .nav-title {
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--color-heading);
    transition: color var(--transition-base);
}

.post-navigation a:hover .nav-title {
    color: var(--color-primary);
}

/* ============================================
   Page
   ============================================ */
.page-header {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.page-header .entry-title {
    font-size: var(--fs-3xl);
}

.page-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

/* ============================================
   Archive / Category Header
   ============================================ */
.archive-header {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-xl);
    background-color: var(--color-bg-alt);
    margin-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border-light);
}

.archive-header__label {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-lighter);
    margin-bottom: var(--space-sm);
    display: block;
}

.archive-header__title {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-md);
}

.archive-header__description {
    font-size: var(--fs-md);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
    max-width: var(--container-narrow);
    margin: var(--space-3xl) auto;
}

.comments-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    position: relative;
}

.comments-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.comment-list {
    margin-bottom: var(--space-2xl);
}

.comment-list .comment {
    margin-bottom: var(--space-lg);
}

.comment-body {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.comment-body .comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content-wrap {
    flex: 1;
    min-width: 0;
}

.comment-author-name {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--color-heading);
}

.comment-author-name a {
    color: var(--color-heading);
}

.comment-date {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    margin-left: var(--space-sm);
}

.comment-content {
    margin-top: var(--space-sm);
    font-size: var(--fs-sm);
    line-height: var(--lh-normal);
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply-link,
.comment-edit-link {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: var(--space-sm);
    display: inline-block;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
    color: var(--color-primary-dark);
}

.comment-awaiting {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--color-text-lighter);
    font-style: italic;
    margin-top: var(--space-sm);
}

/* Nested comments */
.comment-list .children {
    margin-left: var(--space-2xl);
    margin-top: var(--space-md);
}

.bypostauthor>.comment-body {
    border-left: 3px solid var(--color-primary);
}

/* Comment Form */
.comment-respond {
    margin-top: var(--space-2xl);
}

.comment-reply-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.comment-reply-title small {
    display: block;
    font-size: var(--fs-sm);
    margin-top: var(--space-sm);
}

.comment-reply-title small a {
    color: var(--color-error);
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.comment-form .comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form label {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text-light);
    display: block;
    margin-bottom: var(--space-xs);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--color-text);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all var(--transition-base);
    outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .form-submit {
    grid-column: 1 / -1;
    text-align: center;
}

.comment-form .submit {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #fff;
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-2xl);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comment-form .submit:hover {
    background-color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

.comment-form .comment-form-cookies-consent {
    grid-column: 1 / -1;
}

.comment-form .comment-form-cookies-consent label {
    display: inline;
    margin-left: var(--space-xs);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    position: sticky;
    top: calc(80px + var(--space-lg));
}

.widget {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    color: var(--color-heading);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text);
    transition: color var(--transition-base);
}

.widget ul li a:hover {
    color: var(--color-primary);
}

.widget select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    background-color: var(--color-bg-card);
    color: var(--color-text);
}

/* Widget: Search */
.widget_search .search-form {
    display: flex;
}

.widget_search .search-field {
    flex: 1;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    outline: none;
    transition: border-color var(--transition-base);
}

.widget_search .search-field:focus {
    border-color: var(--color-primary);
}

.widget_search .search-submit {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.widget_search .search-submit:hover {
    background-color: var(--color-primary-dark);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--color-bg-footer);
    color: var(--color-text-inverse);
    padding-top: var(--space-3xl);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.footer-widgets .widget-title {
    color: var(--color-text-inverse);
    border-bottom-color: var(--color-accent);
}

.footer-widgets .widget ul li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.footer-widgets .widget ul li a {
    color: rgba(245, 240, 232, 0.7);
}

.footer-widgets .widget ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-copyright {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: rgba(245, 240, 232, 0.5);
}

.footer-copyright a {
    color: var(--color-accent);
}

.footer-copyright a:hover {
    color: var(--color-text-inverse);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
    font-family: var(--font-ui);
}

.pagination .nav-links {
    display: flex;
    gap: var(--space-xs);
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination .dots {
    border: none;
    background: none;
    color: var(--color-text-lighter);
}

.pagination .dots:hover {
    background: none;
    color: var(--color-text-lighter);
}

/* ============================================
   Search Form (inline)
   ============================================ */
.search-form {
    position: relative;
}

.search-form .search-field {
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background-color: var(--color-bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-xl) var(--space-md) var(--space-lg);
    outline: none;
    transition: all var(--transition-base);
}

.search-form .search-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.1);
}

.search-form .search-submit {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color var(--transition-base);
}

.search-form .search-submit:hover {
    color: var(--color-primary);
}

.search-form .search-submit svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   404 Page
   ============================================ */
.error-404 {
    text-align: center;
    padding: var(--space-4xl) 0;
    max-width: 600px;
    margin: 0 auto;
}

.error-404__number {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-404__title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-lg);
}

.error-404__text {
    font-size: var(--fs-md);
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.error-404 .search-form {
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   Book Review Schema Box
   ============================================ */
.book-review-box {
    max-width: var(--container-narrow);
    margin: var(--space-xl) auto var(--space-2xl);
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #fff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-xl);
    align-items: start;
}

.book-review-box__cover {
    flex-shrink: 0;
    width: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.book-review-box__cover img {
    width: 100%;
    height: auto;
}

.book-review-box__info {
    flex: 1;
}

.book-review-box__title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xs);
}

.book-review-box__author {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.book-review-box__rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.book-review-box__rating .star-rating {
    font-size: var(--fs-lg);
}

.book-review-box__rating-value {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--color-heading);
}

.book-review-box__details {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    color: var(--color-text-light);
}

.book-review-box__details dt {
    font-weight: 600;
    color: var(--color-text);
    display: inline;
}

.book-review-box__details dd {
    display: inline;
    margin: 0 var(--space-md) 0 var(--space-xs);
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Utility Classes
   ============================================ */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   Sticky Post Badge
   ============================================ */
.post-card.sticky .post-card__image::after {
    content: '★ Wyróżniony';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #fff;
    background-color: var(--color-star);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 280px;
        --gap: 1.5rem;
    }

    .content-sidebar {
        gap: var(--space-xl);
    }

    .posts-grid {
        gap: var(--space-lg);
    }

    .post-card--featured {
        grid-template-columns: 1fr;
    }

    .post-card--featured .post-card__image {
        min-height: 250px;
        aspect-ratio: 16 / 9;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    :root {
        --fs-3xl: 1.875rem;
        --fs-4xl: 2.25rem;
    }

    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-bg-card);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-3xl) var(--space-xl);
        transition: right var(--transition-slow);
        z-index: 10000;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        pointer-events: auto !important;
    }

    .nav-menu > li > a {
        padding: var(--space-md) !important;
        border-bottom: 1px solid var(--color-border-light) !important;
        pointer-events: auto !important;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: var(--space-lg);
        background-color: var(--color-bg-alt);
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background-color: transparent;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-slow);
        pointer-events: none;
        /* Domyślnie brak blokowania kliknięć */
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        /* Nie blokujemy kliknięć - menu jest nad overlay */
    }

    .mobile-nav-close {
        display: block;
        /* Widoczne na mobile */
        position: absolute;
        top: var(--space-md);
        right: var(--space-md);
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-text);
        padding: var(--space-sm);
        font-size: var(--fs-xl);
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        padding: var(--space-sm) var(--space-md);
    }

    .content-area {
        padding: var(--space-lg) 0 !important;
    }

    .site-title {
        font-size: var(--fs-xl);
    }

    .single-post-header .entry-title {
        font-size: var(--fs-2xl);
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-review-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    :root {
        --fs-2xl: 1.5rem;
        --fs-3xl: 1.75rem;
        --fs-4xl: 2rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .content-area {
        padding: var(--space-lg) 0 !important;
    }

    .error-404__number {
        font-size: 5rem;
    }

    .related-posts__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .related-post-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .related-post-item__image {
        width: 100%;
        max-width: 300px;
        /* Zabepieczenie szerokości na małych ekranach */
        margin-bottom: var(--space-md);
    }

    .related-post-item__title {
        font-size: var(--fs-md) !important;
        margin-top: var(--space-xs) !important;
        padding: 0 var(--space-sm) !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .comment-list .children {
        margin-left: var(--space-md);
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {

    .site-header,
    .site-footer,
    .sidebar,
    .post-navigation,
    .related-posts,
    .comments-area,
    .scroll-to-top,
    .search-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .entry-content a::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}

/* ============================================
   WordPress Block Editor Compatibility
   ============================================ */

/* Off-screen rendering optimization */
.comments-area,
.related-posts,
.site-footer,
.author-bio {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.wp-block-image {
    margin-bottom: var(--space-xl);
}

.wp-block-image img {
    border-radius: var(--radius-md);
}

.wp-block-gallery {
    margin-bottom: var(--space-xl);
}

.wp-block-quote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    background-color: var(--color-bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.wp-block-pullquote {
    border-top: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
    padding: var(--space-xl) 0;
    margin: var(--space-2xl) 0;
    text-align: center;
    font-style: italic;
}

.wp-block-separator {
    border: none;
    height: 1px;
    background-color: var(--color-border);
    margin: var(--space-2xl) 0;
}

.wp-block-table {
    margin-bottom: var(--space-xl);
}

.wp-block-button__link {
    font-family: var(--font-ui);
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.wp-block-button__link:hover {
    background-color: var(--color-primary-dark);
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-right {
    text-align: right;
}