/*
Theme Name: Simple Base v3
Author: Structzilla
Description: Autorski, czysty motyw magazynowy dla portalu wielotematycznego z rozbudowaną stroną główną i prostymi ustawieniami w panelu Dostosuj.
Version: 3.0.6
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: przeswit
Tags: blog, grid-layout, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --pw-accent: #d65f46;
  --pw-bg: #ffffff;
  --pw-surface: #ffffff;
  --pw-text: #242321;
  --pw-muted: #77736d;
  --pw-line: #dedad3;
  --pw-width: 1240px;
  --pw-reading-width: 720px;
  --pw-radius: 18px;
  --pw-heading: Georgia, "Times New Roman", serif;
  --pw-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pw-bg);
  color: var(--pw-text);
  font-family: var(--pw-body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--pw-accent); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: var(--pw-surface); }
.pw-wrap { width: min(calc(100% - 40px), var(--pw-width)); margin-inline: auto; }

/* Header */
.pw-header { position: relative; z-index: 30; border-bottom: 1px solid var(--pw-line); background: color-mix(in srgb, var(--pw-bg) 94%, transparent); }
.pw-sticky .pw-header { position: sticky; top: 0; backdrop-filter: blur(14px); }
.admin-bar.pw-sticky .pw-header { top: 32px; }
.pw-header__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pw-brand { text-align: left; line-height: 1.1; }
.pw-brand a { text-decoration: none; }
.pw-brand__name { display: block; font-family: var(--pw-heading); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; }
.pw-brand__tagline { display: block; margin-top: 7px; color: var(--pw-muted); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.custom-logo { width: auto; max-height: 54px; }
.custom-logo-link { display: inline-block; }
.pw-nav-row { border-top: 1px solid var(--pw-line); }
.pw-nav { min-height: 48px; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.pw-nav::-webkit-scrollbar { display: none; }
.pw-nav ul { display: flex; flex-wrap: nowrap; gap: 28px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.pw-nav a { text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pw-actions { display: flex; gap: 8px; }
.pw-social { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pw-social a { color: var(--pw-muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.pw-social a:hover { color: var(--pw-accent); }
.pw-social--header { margin-right: 10px; }
.pw-icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--pw-line); border-radius: 50%; background: var(--pw-surface); color: var(--pw-text); cursor: pointer; }
.pw-icon-button:hover { border-color: var(--pw-accent); color: var(--pw-accent); }
.pw-menu-toggle { display: none; }
.pw-search-panel { display: grid; grid-template-rows: 0fr; overflow: hidden; border-bottom: 1px solid transparent; transition: grid-template-rows .25s ease, border-color .25s ease; background: #fff; }
.pw-search-panel.is-open { grid-template-rows: 1fr; border-color: var(--pw-line); }
.pw-search-panel__inner { min-height: 0; display: flex; align-items: center; gap: 16px; }
.pw-search-panel form { flex: 1; padding: 18px 0; }
.pw-search-panel input[type="search"] { border: 0; border-bottom: 1px solid var(--pw-line); border-radius: 0; font-family: var(--pw-heading); font-size: 1.3rem; }

/* Intro and archive */
.pw-intro { padding: clamp(68px, 9vw, 128px) 0 clamp(52px, 7vw, 92px); }
.pw-intro__eyebrow, .pw-meta { color: var(--pw-muted); font-size: .69rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.pw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; }
.pw-meta__item { display: inline-flex; align-items: center; gap: 3px; }
.pw-meta__item > a { display: inline-flex; align-items: center; gap: 4px; }
.pw-meta__item + .pw-meta__item { position: relative; }
.pw-meta__item + .pw-meta__item::before { content: ""; width: 3px; height: 3px; margin-right: 5px; border-radius: 50%; background: currentColor; opacity: .55; }
.pw-meta a { text-decoration: none; }
.pw-intro h1 { max-width: 900px; margin: 12px 0 0; font-family: var(--pw-heading); font-size: clamp(3rem, 8vw, 7.2rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.pw-intro__description { max-width: 650px; margin: 28px 0 0; color: var(--pw-muted); font-size: 1.05rem; }
.pw-grid { display: grid; grid-template-columns: repeat(var(--pw-columns, 3), minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 38px); padding-bottom: 80px; }
.pw-card { min-width: 0; }
.pw-card--lead { grid-column: span 2; }
.pw-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: var(--pw-image-ratio, 4 / 3); border-radius: var(--pw-radius); background: var(--pw-line); }
.pw-card--lead .pw-card__media { aspect-ratio: 16 / 10; }
.pw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.pw-card:hover .pw-card__media img { transform: scale(1.025); }
.pw-card__body { padding: 20px 3px 0; }
.pw-card__title { display: -webkit-box; overflow: hidden; margin: 9px 0 10px; font-family: var(--pw-heading); font-size: clamp(1.3rem, 1.8vw, 1.65rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.pw-card--lead .pw-card__title { max-width: 780px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.pw-card__title a { text-decoration: none; }
.pw-card__excerpt { display: -webkit-box; max-width: 62ch; overflow: hidden; margin: 0; color: var(--pw-muted); font-size: .94rem; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.pw-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pw-muted); background: linear-gradient(135deg, var(--pw-surface), var(--pw-line)); font-family: var(--pw-heading); font-size: 2.2rem; }
.pw-pagination { padding: 12px 0 90px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--pw-line); border-radius: 999px; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { border-color: var(--pw-accent); background: var(--pw-accent); color: #fff; }

/* Portal homepage */
.pw-portal { padding: 46px 0 90px; }
.pw-portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.pw-portal-heading h1, .pw-portal-heading h2 { margin: 0; font-family: var(--pw-heading); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.pw-portal-heading p { max-width: 520px; margin: 0; color: var(--pw-muted); font-size: .9rem; }
.pw-featured { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 78px; }
.pw-featured__side { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pw-feature { position: relative; min-width: 0; overflow: hidden; border-radius: var(--pw-radius); background: var(--pw-surface); }
.pw-feature--lead { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr); align-items: stretch; border: 1px solid var(--pw-line); }
.pw-feature__link, .pw-feature__link img { width: 100%; height: 100%; }
.pw-feature__link { position: absolute; inset: 0; display: block; }
.pw-feature__link img { object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.pw-feature:hover .pw-feature__link img { transform: scale(1.025); }
.pw-feature__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 15 14 / .82), rgb(15 15 14 / 0) 68%); }
.pw-feature__content { position: absolute; z-index: 2; inset: auto 24px 22px; color: #fff; pointer-events: none; }
.pw-feature--lead .pw-feature__link { position: relative; min-height: 440px; }
.pw-feature--lead .pw-feature__link::after { display: none; }
.pw-feature--lead .pw-feature__content { position: static; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 58px); color: var(--pw-text); pointer-events: auto; }
.pw-feature--lead .pw-feature__content .pw-meta { color: var(--pw-muted); }
.pw-feature__content .pw-meta { color: rgb(255 255 255 / .75); }
.pw-feature__content a { pointer-events: auto; }
.pw-feature__title { display: -webkit-box; overflow: hidden; margin: 8px 0 0; font-family: var(--pw-heading); font-size: clamp(1.12rem, 1.45vw, 1.4rem); font-weight: 500; line-height: 1.18; letter-spacing: -.015em; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.pw-feature--lead .pw-feature__title { max-width: 780px; font-size: clamp(2rem, 3.2vw, 3.15rem); line-height: 1.08; -webkit-line-clamp: 6; }
.pw-feature__title a { text-decoration: none; color: #fff; }
.pw-feature--lead .pw-feature__title a { color: var(--pw-text); }
.pw-featured__side .pw-feature { display: flex; flex-direction: column; overflow: visible; }
.pw-featured__side .pw-feature__link { position: relative; flex: none; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--pw-radius) * .8); }
.pw-featured__side .pw-feature__link::after { display: none; }
.pw-featured__side .pw-feature__content { position: static; padding: 15px 2px 0; color: var(--pw-text); pointer-events: auto; }
.pw-featured__side .pw-feature__content .pw-meta { color: var(--pw-muted); }
.pw-featured__side .pw-feature__title a { color: var(--pw-text); }
.pw-latest { padding-top: 6px; }
.pw-latest .pw-grid { padding-bottom: 20px; }
.pw-category-sections { margin-top: 70px; border-top: 1px solid var(--pw-line); }
.pw-category-section { padding: 55px 0; border-bottom: 1px solid var(--pw-line); }
.pw-category-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.pw-category-section__head h2 { margin: 0; font-family: var(--pw-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; }
.pw-category-section__head a { color: var(--pw-muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.pw-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pw-compact-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--pw-radius) * .7); background: var(--pw-line); }
.pw-compact-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pw-compact-card .pw-meta { margin-top: 14px; }
.pw-compact-card h3 { margin: 7px 0 0; font-family: var(--pw-heading); font-size: 1.3rem; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.pw-compact-card h3 a { text-decoration: none; }

/* Single */
.pw-progress { position: fixed; z-index: 50; top: 0; left: 0; width: 0; height: 3px; background: var(--pw-accent); }
.admin-bar .pw-progress { top: 32px; }
.pw-article { padding: clamp(64px, 8vw, 120px) 0 100px; }
.pw-article__header { width: min(calc(100% - 40px), 1040px); margin-inline: auto; }
.pw-content, .pw-author, .pw-comments { width: min(calc(100% - 40px), var(--pw-reading-width)); margin-inline: auto; }
.pw-article__title { overflow-wrap: anywhere; margin: 18px 0 24px; font-family: var(--pw-heading); font-size: clamp(2.45rem, 3.5vw, 3.75rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
.pw-article__dek { margin: 0 0 24px; color: var(--pw-muted); font-size: 1.18rem; }
.pw-article__hero { width: min(calc(100% - 40px), 1100px); margin: 46px auto 58px; overflow: hidden; border-radius: calc(var(--pw-radius) * 1.1); }
.pw-article__hero img { width: 100%; max-height: 680px; object-fit: cover; }
.pw-content { font-family: var(--pw-heading); font-size: clamp(1.08rem, 1.5vw, 1.22rem); }
.pw-content > * { margin-block: 0 1.45em; }
.pw-content h2, .pw-content h3, .pw-content h4 { margin-top: 2.2em; line-height: 1.15; letter-spacing: -.025em; }
.pw-content a { color: var(--pw-accent); }
.pw-content blockquote { margin: 2.2em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid var(--pw-accent); font-size: 1.35em; line-height: 1.45; }
.pw-content .alignwide { width: min(100vw - 40px, 980px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.pw-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.pw-content pre { overflow: auto; padding: 20px; background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 10px; font-size: .85rem; }
.pw-content table { width: 100%; border-collapse: collapse; }
.pw-content th, .pw-content td { padding: 10px; border: 1px solid var(--pw-line); }
.pw-tags { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--pw-line); font-family: var(--pw-body); font-size: .78rem; }
.pw-author { display: grid; grid-template-columns: auto 1fr; gap: 22px; margin-top: 60px; padding: 28px; border: 1px solid var(--pw-line); border-radius: var(--pw-radius); background: var(--pw-surface); }
.pw-author img { border-radius: 50%; }
.pw-author h2 { margin: 0 0 5px; font-family: var(--pw-heading); }
.pw-author p { margin: 0; color: var(--pw-muted); }
.pw-article-tools { width: min(calc(100% - 40px), var(--pw-reading-width)); margin: 50px auto 0; padding-top: 24px; border-top: 1px solid var(--pw-line); font-size: .8rem; }
.pw-source, .pw-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.pw-source + .pw-share { margin-top: 22px; }
.pw-source > span, .pw-share > span { min-width: 88px; color: var(--pw-muted); font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pw-source a, .pw-share a { font-weight: 650; text-decoration: none; }
.pw-copy-link { min-height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--pw-text); font-weight: 650; }
.pw-copy-link:hover { color: var(--pw-accent); }
.pw-related { margin-top: 100px; padding: 70px 0; border-block: 1px solid var(--pw-line); }
.pw-section-title { margin: 0 0 32px; font-family: var(--pw-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; }

/* Pages, forms, comments */
.pw-page { padding: 50px 0; }
.pw-page__header { width: min(calc(100% - 40px), 880px); margin: 0 auto 50px; }
.pw-page__header .pw-article__title { margin: 0; font-size: 26px; line-height: 1.5; letter-spacing: -.025em; }
.pw-page__header .pw-title-rule { margin: 22px 0 24px; }
.pw-comments { margin-top: 75px; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { margin: 28px 0; padding-bottom: 28px; border-bottom: 1px solid var(--pw-line); }
.comment-meta { font-size: .82rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--pw-line); border-radius: 8px; background: var(--pw-surface); color: var(--pw-text); }
button, input[type="submit"], .pw-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--pw-accent); color: #fff; text-decoration: none; cursor: pointer; }

/* Footer and mobile panel */
.pw-footer { padding: 50px 0; border-top: 1px solid var(--pw-line); }
.pw-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--pw-muted); font-size: .82rem; }
.pw-footer__menu { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pw-footer a { text-decoration: none; }
.pw-panel { position: fixed; z-index: 110; inset: 0 0 0 auto; width: min(420px, 92vw); padding: 30px; overflow-x: hidden; overflow-y: auto; transform: translateX(105%); transition: transform .35s ease; background: var(--pw-surface); border-left: 1px solid var(--pw-line); }
.pw-panel.is-open { transform: translateX(0); }
.pw-panel__head { display: flex; justify-content: space-between; align-items: center; }
.pw-panel__menu { margin: 50px 0 0; padding: 0; list-style: none; }
.pw-panel__menu li { border-bottom: 1px solid var(--pw-line); }
.pw-panel__menu a { display: block; padding: 16px 0; text-decoration: none; font-family: var(--pw-heading); font-size: 1.5rem; }
.pw-panel-widgets { margin-top: 45px; padding-top: 35px; border-top: 1px solid var(--pw-line); }
.pw-panel-widget + .pw-panel-widget { margin-top: 38px; }
.pw-panel-widget__title, .pw-panel-widget .wp-block-heading { margin: 0 0 20px; color: #34343b; font-family: var(--pw-heading); font-size: 16px; font-weight: 700; line-height: 1.35; }
.pw-panel-widget__title::after, .pw-panel-widget .wp-block-heading::after { content: "."; color: var(--pw-accent); }
.pw-panel-widget { color: #777; font-size: 13px; line-height: 1.65; }
.pw-panel-widget p { margin: 0 0 14px; }
.pw-panel-widget ul, .pw-panel-widget ol { margin: 0; padding: 0; list-style: none; }
.pw-panel-widget li { padding: 9px 0; border-bottom: 1px solid var(--pw-line); }
.pw-panel-widget a { color: #333; text-decoration: none; }
.pw-panel-widget a:hover, .pw-panel-widget a:focus { color: var(--pw-accent); }
.pw-panel-widget img { max-width: 100%; height: auto; border-radius: var(--pw-radius); }
.pw-overlay { position: fixed; z-index: 105; inset: 0; visibility: hidden; opacity: 0; transition: opacity .25s; background: rgb(0 0 0 / .35); }
.pw-overlay.is-open { visibility: visible; opacity: 1; }
body.pw-panel-open { overflow: hidden; }

@media (max-width: 920px) {
  .pw-nav-row { display: none; }
  .pw-menu-toggle { display: inline-grid; }
  .pw-social--header { display: none; }
  .pw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-card--lead { grid-column: 1 / -1; }
  .pw-feature--lead { grid-template-columns: 1fr; }
  .pw-feature--lead .pw-feature__link { min-height: 0; aspect-ratio: 16 / 10; }
  .pw-featured__side { grid-template-columns: repeat(2, 1fr); }
  .pw-category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .admin-bar.pw-sticky .pw-header { top: 46px; }
  .admin-bar .pw-progress { top: 46px; }
  .pw-wrap { width: min(calc(100% - 28px), var(--pw-width)); }
  .pw-header__inner { min-height: 76px; }
  .pw-brand__name { font-size: 1.8rem; }
  .pw-brand__tagline { display: none; }
  .pw-grid { grid-template-columns: 1fr; gap: 40px; }
  .pw-card--lead { grid-column: auto; }
  .pw-card--lead .pw-card__media { aspect-ratio: var(--pw-image-ratio, 4 / 3); }
  .pw-portal { padding-top: 30px; }
  .pw-portal-heading { display: block; }
  .pw-portal-heading p { margin-top: 12px; }
  .pw-featured { margin-bottom: 58px; }
  .pw-feature--lead { min-height: 0; }
  .pw-featured__side { grid-template-columns: 1fr; }
  .pw-feature { min-height: 0; }
  .pw-category-grid { grid-template-columns: 1fr; }
  .pw-intro h1 { font-size: clamp(2.9rem, 17vw, 4.6rem); }
  .pw-article__header, .pw-content, .pw-author, .pw-comments, .pw-page__header, .pw-article-tools { width: min(calc(100% - 28px), var(--pw-reading-width)); }
  .pw-article__hero { width: calc(100% - 28px); margin-block: 36px 44px; }
  .pw-author { grid-template-columns: 1fr; }
  .pw-footer__inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Alia-inspired editorial baseline — original implementation. */
:root { --pw-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif; --pw-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif; --pw-accent: #ff3d57; --pw-text: #222; --pw-muted: #969696; --pw-line: #ededed; --pw-radius: 5px; }
body { font-size: 17px; line-height: 1.7; }
.pw-svg { width: 18px; height: 18px; display: block; }
.pw-wrap { width: min(calc(100% - 40px), 880px); }
.pw-sticky .pw-header, .admin-bar.pw-sticky .pw-header { position: relative; top: auto; }
.pw-header { border-bottom: 1px solid var(--pw-line); background: #fff; }
.pw-masthead { min-height: 275px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.pw-masthead__avatar img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; }
.pw-social--masthead { gap: 22px; }
.pw-social--masthead a { color: #111; }
.pw-social--masthead .pw-svg { width: 16px; height: 16px; }
.pw-header__inner { min-height: 55px; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; border-top: 1px solid var(--pw-line); }
.pw-brand__name { font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.pw-brand__name::after { content: "."; color: var(--pw-accent); }
.pw-brand__tagline { display: none; }
.custom-logo { display: block; width: auto; max-width: min(240px, 42vw); max-height: 40px; object-fit: contain; }
.custom-logo-link { display: inline-flex; align-items: center; }
.pw-nav { min-width: 0; justify-content: flex-end; }
.pw-nav ul { justify-content: flex-end; gap: 27px; }
.pw-nav a { position: relative; font-family: Arial, Helvetica, sans-serif; color: #222; font-size: 11px; font-weight: 400; line-height: 1; letter-spacing: .015em; }
.pw-nav .current-menu-item > a::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 4px; height: 4px; border-radius: 50%; background: var(--pw-accent); }
.pw-actions { gap: 3px; }
.pw-icon-button { width: 29px; height: 38px; border: 0; border-radius: 0; padding: 0; }
.pw-icon-button .pw-svg { width: 18px; height: 18px; }
.pw-menu-toggle { display: inline-grid; }
.pw-search-panel input[type="search"] { font-family: var(--pw-heading); }
.pw-portal { padding: 50px 0; }
.pw-grid-home .pw-grid { grid-template-columns: repeat(var(--pw-columns, 2), minmax(0, 1fr)); grid-auto-rows: 8px; column-gap: 50px; row-gap: 0; align-items: start; padding-bottom: 0; }
.pw-grid-home .pw-card { align-self: start; }
.pw-card--lead { grid-column: auto; }
.pw-card__media, .pw-card--lead .pw-card__media { aspect-ratio: var(--pw-image-ratio, 16 / 10); border-radius: var(--pw-radius); }
.pw-card__body { padding: 21px 0 0; }
.pw-card__title, .pw-card--lead .pw-card__title { display: block; overflow: visible; max-width: none; margin: 0; font-family: var(--pw-heading); font-size: 18px; font-weight: 700; line-height: 1.38; letter-spacing: -.02em; }
.pw-title-rule { display: block; width: 118px; height: 1px; margin: 17px 0 14px; background: var(--pw-line); }
.pw-title-rule::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: #111; transform: translateY(-2.5px); }
.pw-meta { gap: 5px 12px; color: var(--pw-muted); font-family: var(--pw-body); font-size: 10.5px; font-weight: 400; letter-spacing: .04em; }
.pw-meta__author { color: #333; font-weight: 700; }
.pw-meta__item + .pw-meta__item::before { width: 14px; height: 1px; margin-right: 7px; border-radius: 0; background: #d8d8d8; }
.pw-meta .pw-svg { width: 13px; height: 13px; margin-right: 4px; }
.pw-card__excerpt { display: block; overflow: visible; max-width: none; margin: 10px 0 0; color: #777; font-family: var(--pw-body); font-size: 14px; line-height: 1.55; }
.pw-card__excerpt p { margin: 0; }
.pw-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 13px; }
.pw-read-more { font-size: 13px; font-weight: 700; text-decoration: none; }
.pw-read-more span { color: #d7d7d7; margin-left: 5px; }
.pw-card__signals, .pw-card__signals > span, .pw-card__signals > a { display: flex; align-items: center; gap: 4px; }
.pw-card__signals { gap: 12px; color: #aaa; font-size: 11px; }
.pw-card__signals a { text-decoration: none; }
.pw-card__signals .pw-svg { width: 15px; height: 15px; }
.pw-pagination { border-top: 1px dotted #ddd; padding-top: 45px; }
.pw-grid-home .pw-pagination { padding: 45px 0 0; }
.page-numbers { min-width: 32px; height: 32px; padding: 0 9px; border: 0; border-radius: 4px; font-size: 13px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--pw-accent); color: #fff; }
.pw-home-widgets { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--pw-line); }
.pw-grid-home > .pw-grid + .pw-home-widgets { margin-top: 0; }
.pw-grid-home > .pw-pagination + .pw-home-widgets { margin-top: 50px; }
.pw-home-widgets__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; }
.pw-home-widgets__column { min-width: 0; }
.pw-home-widget + .pw-home-widget { margin-top: 38px; }
.pw-home-widget__title, .pw-home-widget .wp-block-heading { margin: 0 0 20px; font-family: var(--pw-heading); font-size: 16px; font-weight: 700; line-height: 1.35; }
.pw-home-widget__title::after, .pw-home-widget .wp-block-heading::after { content: "."; color: var(--pw-accent); }
.pw-home-widget { color: #777; font-size: 13px; line-height: 1.65; }
.pw-home-widget p { margin: 0 0 14px; }
.pw-home-widget ul { margin: 0; padding: 0; list-style: none; }
.pw-home-widget li { padding: 9px 0; border-bottom: 1px solid var(--pw-line); }
.pw-home-widget a { color: #333; text-decoration: none; }
.pw-home-widget a:hover { color: var(--pw-accent); }
.pw-home-widget img { border-radius: var(--pw-radius); }
.pw-article { padding: 50px 0 0; }
.pw-article__header, .pw-content { width: min(calc(100% - 40px), 880px); }
.pw-author, .pw-comments, .pw-article-tools { width: min(calc(100% - 40px), var(--pw-reading-width)); }
.pw-article__title { margin: 0; font-family: var(--pw-heading); font-size: 26px; font-weight: 700; line-height: 1.5; letter-spacing: -.025em; overflow-wrap: normal; }
.pw-article__header .pw-title-rule { margin: 22px 0 24px; }
.pw-article__byline { display: flex; align-items: center; gap: 14px; }
.pw-article__byline > img { width: 42px; height: 42px; border-radius: 50%; }
.pw-article__byline .pw-meta { flex: 1; column-gap: 6px; }
.pw-article__byline .pw-meta__item + .pw-meta__item::before { width: 8px; margin-right: 4px; }
.pw-article__dek { margin: 25px 0 0; color: #777; font-family: var(--pw-body); font-size: 16px; line-height: 1.8; }
.pw-article__hero { width: min(calc(100% - 40px), 880px); margin: 50px auto 40px; border-radius: 5px; }
.pw-article__hero img { width: 100%; max-height: none; object-fit: cover; }
.pw-content { color: #4e4d58; font-family: var(--pw-body); font-size: 16px; font-style: normal; font-weight: 400; line-height: 1.7; letter-spacing: .2px; overflow-wrap: break-word; }
.pw-content > * { margin-block: 0 20px; }
.pw-content p, .pw-content ul, .pw-content ol, .pw-content dl, .pw-content table { margin-top: 20px; margin-bottom: 20px; }
.pw-content > p:first-child { font-size: 16px; }
.pw-content h1, .pw-content h2, .pw-content h3, .pw-content h4, .pw-content h5, .pw-content h6 { margin: 35px 0 20px; color: #34343b; font-family: var(--pw-heading); font-style: normal; font-weight: 700; letter-spacing: .1px; }
.pw-content h1 { font-size: 32px; line-height: 1.3; }
.pw-content h2 { font-size: 29px; line-height: 1.3; }
.pw-content h3 { font-size: 26px; line-height: 1.35; }
.pw-content h4 { font-size: 23px; line-height: 1.35; }
.pw-content h5 { font-size: 20px; line-height: 1.4; }
.pw-content h6 { font-size: 16px; line-height: 1.5; text-transform: uppercase; }
.pw-content ul, .pw-content ol { padding-left: 40px; }
.pw-content ul { list-style: disc; }
.pw-content li + li { margin-top: 6px; }
.pw-content ul ul, .pw-content ul ol, .pw-content ol ul, .pw-content ol ol { margin: 4px 0; padding-left: 29px; }
.pw-content dt { margin-bottom: 10px; color: #34343b; font-weight: 700; }
.pw-content dd { margin: 0 0 20px; padding-left: 20px; }
.pw-content a:not(.wp-block-button__link) { color: inherit; text-decoration: none; box-shadow: inset 0 -1px 0 currentColor; transition: color .2s ease, box-shadow .2s ease; }
.pw-content a:not(.wp-block-button__link):hover, .pw-content a:not(.wp-block-button__link):focus { color: var(--pw-accent); box-shadow: inset 0 -1px 0 var(--pw-accent); }
.pw-content blockquote { position: relative; margin: 35px 0; padding: 0 0 0 36px; border: 0; border-left: 4px solid var(--pw-line); color: #34343b; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1.6; }
.pw-content blockquote::before { display: none; }
.pw-content blockquote p { margin: 0; font-size: inherit; line-height: inherit; }
.pw-content blockquote cite, .pw-content blockquote footer { display: block; margin-top: 20px; color: #4e4d58; font-size: 17px; font-style: normal; line-height: 1.6; }
.pw-content .wp-block-quote.is-large, .pw-content .wp-block-quote.is-style-large, .pw-content .wp-block-quote.is-style-plain, .pw-content .wp-block-pullquote blockquote { padding: 0 0 0 40px; border: 0; font-size: 24px; font-style: italic; line-height: 1.45; }
.pw-content .wp-block-quote.is-large::before, .pw-content .wp-block-quote.is-style-large::before, .pw-content .wp-block-quote.is-style-plain::before, .pw-content .wp-block-pullquote blockquote::before { display: block; position: absolute; top: -5px; left: -1px; content: "“"; color: #4e4d58; font-family: Georgia, "Times New Roman", serif; font-size: 120px; font-style: normal; line-height: .79; opacity: .12; pointer-events: none; }
.pw-content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--pw-line); }
.pw-content code, .pw-content kbd, .pw-content tt { padding: 4px 6px; border-radius: 6px; background: rgb(78 77 88 / .07); color: inherit; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 15px; }
.pw-content pre { margin: 20px 0; padding: 40px; border: 0; border-radius: 6px; background: #f8f8fa; color: #4e4d58; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 15px; line-height: 1.7; white-space: pre; }
.pw-content pre code { padding: 0; background: transparent; }
.pw-content table { width: 100%; border-collapse: collapse; }
.pw-content th, .pw-content td { padding: 10px 15px; border: 1px solid var(--pw-line); text-align: left; }
.pw-content th { color: #34343b; font-weight: 700; }
.pw-content img { border-radius: 6px; box-shadow: 0 15px 15px -15px rgb(15 14 21 / .2); }
.pw-content figcaption, .pw-content .wp-caption-text { margin: 0; padding: 15px 5px 0; color: #777; font-size: 13px; font-style: normal; font-weight: 400; line-height: 1.55; text-align: center; }
.pw-tags { margin-top: 52px; border: 0; font-size: 12px; font-weight: 700; }
.pw-article-tools { margin-top: 50px; padding: 0 0 35px; border-top: 0; border-bottom: 1px solid var(--pw-line); }
.pw-source, .pw-share { gap: 13px; }
.pw-source > span, .pw-share > span { min-width: 62px; color: #333; font-size: 14px; font-weight: 400; }
.pw-source a { font-size: 12px; }
.pw-share a, .pw-copy-link { display: inline-grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 0; background: transparent; color: #4e4d58; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.pw-share a .pw-svg, .pw-copy-link .pw-svg { width: 14px; height: 14px; }
.pw-share a:hover, .pw-share a:focus-visible, .pw-copy-link:hover, .pw-copy-link:focus-visible, .pw-copy-link.is-copied { color: var(--pw-accent); transform: translateY(-2px); }
.pw-author { margin-top: 45px; padding: 0 0 45px; border: 0; border-bottom: 1px solid var(--pw-line); border-radius: 0; }
.pw-author img { border-radius: 4px; }
.pw-author h2 { font-family: var(--pw-heading); font-size: 18px; font-weight: 700; }
.pw-author p { font-size: 14px; line-height: 1.55; }
.pw-comments { margin-top: 50px; padding-bottom: 50px; }
.pw-comments .form-submit { margin-bottom: 0; }
.pw-section-title, .comments-title, .comment-reply-title { font-family: var(--pw-heading); font-size: 18px; font-weight: 700; }
.pw-comments, .pw-comments input, .pw-comments textarea, .pw-comments button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.7; }
.pw-comments .comment-reply-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.7; }
.pw-comments .logged-in-as, .pw-comments .comment-notes, .pw-comments .comment-form-comment label { font-size: 14px; font-weight: 400; line-height: 1.7; }
.pw-comments textarea { color: #4e4d58; }
.pw-comments input[type="submit"] { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; }
.comment-body { padding: 16px 20px; border: 0; border-radius: 18px; background: #f5f5f5; font-size: 14px; }
.pw-author-archive__header { padding-top: 50px; }
.pw-author-archive__header .pw-article__title { margin: 0; font-size: 26px; line-height: 1.5; letter-spacing: -.025em; }
.pw-author-archive__header .pw-title-rule { margin: 22px 0 24px; }
.pw-author-archive__description { max-width: 880px; color: #4e4d58; font-family: var(--pw-body); font-size: 16px; line-height: 1.7; letter-spacing: .2px; }
.pw-author-archive__description > :last-child { margin-bottom: 0; }
.pw-related { margin-top: 50px; padding: 50px 0; }
.pw-related .pw-wrap { width: min(calc(100% - 40px), 880px); }
.pw-related .pw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
.pw-footer { min-height: 100px; padding: 0; }
.pw-footer__inner { min-height: 100px; font-size: 14px; }
.pw-footer__copyright { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.pw-theme-credit { color: #777; white-space: nowrap; }
.pw-cookie-notice { position: fixed; z-index: 95; right: 32px; bottom: 32px; width: min(342px, calc(100vw - 32px)); border: 1px solid #eee; background: #fff; color: #333; box-shadow: 0 10px 38px rgb(0 0 0 / .13); text-align: center; }
.pw-cookie-notice[hidden] { display: none; }
.pw-cookie-notice__main { padding: 28px 27px 20px; }
.pw-cookie-notice h2 { margin: 0 0 13px; font-family: var(--pw-heading); font-size: 17px; font-weight: 700; line-height: 1.3; }
.pw-cookie-notice p { margin: 0; color: #666; font-size: 13px; line-height: 1.65; }
.pw-cookie-notice__policy { padding: 12px 20px 5px; border-top: 1px solid #f0f0f0; background: #fafafa; font-size: 11.5px; line-height: 1.5; }
.pw-cookie-notice__policy span { margin-right: 4px; }
.pw-cookie-notice__policy a { font-weight: 700; text-decoration: none; }
.pw-cookie-notice__button { width: calc(100% - 40px); min-height: 34px; margin: 8px 20px 16px; padding: 0 16px; border-radius: 3px; background: var(--pw-accent); font-size: 12px; font-weight: 700; }
.pw-cookie-notice__button:hover { background: #e8324d; color: #fff; }
@media (max-width: 920px) {
  .pw-header__inner { grid-template-columns: 1fr auto; }
  .pw-nav { display: none; }
  .pw-grid-home .pw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
  .pw-home-widgets__grid { gap: 30px; }
}
@media (min-width: 921px) {
  .pw-article__byline .pw-meta { flex-wrap: nowrap; white-space: nowrap; }
}
@media (max-width: 600px) {
  .pw-masthead { min-height: 210px; }
  .pw-masthead__avatar img { width: 88px; height: 88px; }
  .pw-header__inner { min-height: 62px; }
  .pw-portal { padding: 50px 0; }
  .pw-grid-home .pw-grid, .pw-related .pw-grid { grid-template-columns: 1fr; display: grid; grid-auto-rows: auto; gap: 50px; }
  .pw-grid-home .pw-card { grid-row-end: auto !important; }
  .pw-home-widgets { margin-top: 50px; padding-top: 50px; }
  .pw-home-widgets__grid { grid-template-columns: 1fr; gap: 38px; }
  .pw-cookie-notice { right: 16px; bottom: 16px; width: calc(100vw - 32px); }
  .pw-article { padding-top: 50px; }
  .pw-article__header, .pw-content, .pw-author, .pw-comments, .pw-page__header, .pw-article-tools { width: min(calc(100% - 28px), 640px); }
  .pw-article__title { font-size: 26px; line-height: 1.35; }
  .pw-article__hero { width: calc(100% - 28px); margin-top: 45px; }
  .pw-content { font-size: 16px; line-height: 1.85; }
  .pw-content blockquote::before { position: static; display: block; height: 32px; }
}

/* simple base. visual identity — modular editorial index. */
:root { --pw-ink: #191919; --pw-paper-soft: #f6f6f3; --pw-notch: 30px; }
.pw-header { border-bottom-color: #deded9; }
.pw-header__inner { position: relative; min-height: 72px; border-top: 0; }
.pw-brand { position: relative; padding-left: 18px; }
.pw-brand::before { content: ""; position: absolute; top: -8px; bottom: -8px; left: 0; width: 4px; background: var(--pw-accent); }
.pw-brand__name { font-size: 20px; font-weight: 800; letter-spacing: .015em; text-transform: none; }
.custom-logo { max-height: 46px; }
.pw-nav a { letter-spacing: .07em; text-transform: uppercase; }
.pw-nav .current-menu-item > a::after { left: 0; bottom: -11px; width: 100%; height: 2px; border-radius: 0; transform: none; }
.pw-actions { position: relative; padding-left: 13px; }
.pw-actions::before { content: ""; position: absolute; top: 11px; bottom: 11px; left: 0; width: 1px; background: var(--pw-line); }
.pw-icon-button:hover, .pw-icon-button:focus-visible { color: var(--pw-accent); transform: rotate(-4deg); }

.pw-grid-home .pw-grid, body.archive .pw-grid { counter-reset: pw-story; column-gap: 64px; }
.pw-grid-home .pw-card, body.archive .pw-card { position: relative; counter-increment: pw-story; padding-top: 28px; border-top: 1px solid var(--pw-ink); }
.pw-grid-home .pw-card::before, body.archive .pw-card::before { content: counter(pw-story, decimal-leading-zero); position: absolute; top: 7px; right: 0; color: var(--pw-muted); font-family: var(--pw-body); font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .12em; }
.pw-grid-home .pw-card::after, body.archive .pw-card::after { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 3px; background: var(--pw-accent); }
.pw-card__media, .pw-card--lead .pw-card__media { border-radius: 0; clip-path: polygon(0 0, calc(100% - var(--pw-notch)) 0, 100% var(--pw-notch), 100% 100%, 0 100%); }
.pw-card__media::after { content: ""; position: absolute; top: 0; right: 0; width: var(--pw-notch); height: var(--pw-notch); background: linear-gradient(225deg, #fff 49%, rgb(255 255 255 / 0) 51%); pointer-events: none; }
.pw-card:hover .pw-card__media img { transform: scale(1.035) rotate(.15deg); }
.pw-card__body { padding-top: 18px; }
.pw-card__title, .pw-card--lead .pw-card__title { font-size: 19px; line-height: 1.34; letter-spacing: -.018em; }
.pw-title-rule { width: 100%; height: 1px; background: linear-gradient(90deg, #d8d8d3 0 74%, transparent 74%); }
.pw-title-rule::before { width: 42px; height: 3px; border-radius: 0; background: var(--pw-accent); transform: translateY(-1px); }
.pw-card__excerpt { color: #666; line-height: 1.65; }
.pw-read-more { display: inline-flex; align-items: center; gap: 7px; }
.pw-read-more span { display: inline-grid; width: 25px; height: 25px; margin: 0; place-items: center; border: 1px solid #cfcfca; border-radius: 50%; color: var(--pw-ink); font-size: 13px; line-height: 1; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.pw-read-more:hover span { border-color: var(--pw-accent); color: var(--pw-accent); transform: translateX(3px); }
.pw-home-widgets { border-top-color: var(--pw-ink); }
.pw-home-widget__title, .pw-home-widget .wp-block-heading { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .06em; }
.pw-home-widget__title::before, .pw-home-widget .wp-block-heading::before { content: ""; width: 8px; height: 8px; background: var(--pw-accent); }

.pw-article__header, .pw-page__header, .pw-author-archive__header { position: relative; padding-left: 28px; }
.pw-article__header::before, .pw-page__header::before, .pw-author-archive__header::before { content: ""; position: absolute; top: 3px; bottom: 0; left: 0; width: 3px; background: linear-gradient(var(--pw-accent) 0 68px, var(--pw-line) 68px 100%); }
.pw-article__title, .pw-page__header .pw-article__title, .pw-author-archive__header .pw-article__title { color: var(--pw-ink); line-height: 1.28; letter-spacing: -.02em; }
.pw-article__header .pw-title-rule, .pw-page__header .pw-title-rule, .pw-author-archive__header .pw-title-rule { width: 136px; background: var(--pw-line); }
.pw-article__hero { border-radius: 0; clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%); }
.pw-content h2::before, .pw-content h3::before { content: ""; display: inline-block; width: .38em; height: .38em; margin-right: .48em; background: var(--pw-accent); vertical-align: .1em; }
.pw-content blockquote { padding: 30px 34px 30px 42px; border: 0; background: var(--pw-paper-soft); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.pw-content blockquote::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--pw-accent); }
.pw-article-tools { border-bottom-color: #d8d8d3; }
.pw-author { position: relative; padding-left: 18px; }
.pw-author::before { content: ""; position: absolute; top: 0; bottom: 45px; left: 0; width: 3px; background: var(--pw-accent); }

.pw-panel { border-left: 0; box-shadow: -24px 0 60px rgb(0 0 0 / .08); background: linear-gradient(90deg, var(--pw-accent) 0 5px, #fff 5px); }
.pw-panel__menu { counter-reset: pw-menu; }
.pw-panel__menu li { position: relative; counter-increment: pw-menu; padding-left: 32px; }
.pw-panel__menu li::before { content: counter(pw-menu, decimal-leading-zero); position: absolute; top: 20px; left: 0; color: var(--pw-muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.pw-panel__menu a { font-size: 1.28rem; font-weight: 650; }
.pw-footer { border-top-color: var(--pw-ink); }
.pw-footer__copyright::before { content: "SB"; display: inline-grid; width: 30px; height: 30px; margin-right: 8px; place-items: center; background: var(--pw-ink); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.pw-cookie-notice { border: 0; border-top: 4px solid var(--pw-accent); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }

@media (max-width: 920px) {
  .pw-grid-home .pw-grid, body.archive .pw-grid { column-gap: 34px; }
}
@media (max-width: 600px) {
  :root { --pw-notch: 22px; }
  .pw-header__inner { min-height: 64px; }
  .pw-brand { padding-left: 13px; }
  .pw-brand::before { top: -5px; bottom: -5px; width: 3px; }
  .pw-brand__name { font-size: 17px; }
  .pw-grid-home .pw-card, body.archive .pw-card { padding-top: 25px; }
  .pw-article__header, .pw-page__header, .pw-author-archive__header { padding-left: 19px; }
  .pw-content blockquote { padding: 24px 22px 24px 28px; }
  .pw-footer__copyright::before { display: none; }
}

/* Simple Base v3 — autorski system redakcyjny inspirowany układem magazynowym. */
:root {
  --sbv3-title: #505050;
  --sbv3-text: #616161;
  --sbv3-muted: #a3a3a3;
  --sbv3-line: #ededed;
  --sbv3-soft: #f7f7f7;
  --pw-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --pw-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}
html { background: #fff; }
body { background: #fff; color: var(--sbv3-text); font-family: var(--pw-body); font-size: 14px; line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { color: var(--sbv3-title); font-family: var(--pw-heading); }
.pw-wrap { width: min(calc(100% - 40px), var(--pw-width, 1200px)); }

.pw-header { position: relative; border: 0; border-bottom: 1px solid var(--sbv3-line); box-shadow: none; background: #fff; }
.pw-header__inner { display: grid; grid-template-columns: 235px minmax(0, 1fr) auto; align-items: center; min-height: 102px; border: 0; }
.pw-brand { padding: 0; }
.pw-brand::before, .pw-actions::before { display: none; }
.pw-brand a { display: inline-flex; flex-direction: column; color: #353535; text-decoration: none; }
.pw-brand__name { font-family: var(--pw-heading); font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: .16em; }
.pw-brand__name::after { color: var(--pw-accent); }
.pw-brand__tagline { margin-top: 8px; color: #b3b3b3; font-size: 9px; font-weight: 600; line-height: 1; letter-spacing: .22em; text-transform: uppercase; }
.custom-logo { display: block; width: auto; max-height: 58px; }
.pw-nav { justify-self: center; }
.pw-nav ul { gap: 30px; }
.pw-nav a { padding: 40px 0; color: #555; font-size: 11px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.pw-nav .current-menu-item > a::after { bottom: 22px; left: 50%; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); }
.pw-actions { display: flex; align-items: center; gap: 8px; padding: 0; }
.pw-header__socials { margin-right: 6px; }
.pw-header__socials .pw-social { gap: 9px; }
.pw-header__socials a { color: #aaa; }
.pw-icon-button { border: 0; border-radius: 0; color: #555; }
.pw-icon-button:hover, .pw-icon-button:focus-visible { color: var(--pw-accent); transform: none; }

.pw-portal { padding: 60px 0 100px; }
.sbv3-lead-wrap { margin-bottom: 58px; }
.pw-grid-home .pw-grid, .pw-grid--v3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto !important; gap: 58px 30px; }
.pw-grid-home .pw-card, .pw-grid--v3 .pw-card, body.archive .pw-card { grid-row-end: auto !important; padding: 0; border: 0; }
.pw-grid-home .pw-card::before, .pw-grid-home .pw-card::after, body.archive .pw-card::before, body.archive .pw-card::after { display: none; }
.pw-card__media, .pw-card--lead .pw-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 7px; clip-path: none; background: #f1f1f1; }
.pw-card__media::after { display: none; }
.pw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pw-card:hover .pw-card__media img { transform: scale(1.025); }
.pw-card__body { padding: 20px 0 0; }
.pw-card__category, .pw-article__category, .pw-article__categories { color: var(--pw-accent); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.pw-card__category a, .pw-article__category a, .pw-article__categories a { color: inherit; text-decoration: none; }
.pw-card__title, .pw-card--lead .pw-card__title { margin: 8px 0 13px; color: var(--sbv3-title); font-family: var(--pw-heading); font-size: 25px; font-weight: 300; line-height: 1.14; letter-spacing: -.025em; }
.pw-card__title a { color: inherit; text-decoration: none; }
.pw-card__excerpt { color: var(--sbv3-text); font-size: 14px; line-height: 1.75; }
.pw-card__excerpt p { margin: 0; }
.pw-card .pw-meta { margin-top: 17px; color: var(--sbv3-muted); font-size: 10px; letter-spacing: .035em; text-transform: uppercase; }
.pw-card__footer { margin-top: 20px; border-top: 1px solid var(--sbv3-line); padding-top: 13px; }
.pw-read-more { color: #666; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pw-read-more span { width: auto; height: auto; border: 0; color: #bbb; }
.pw-card__signals { color: #b7b7b7; }

.pw-card--lead { display: block; }
.pw-card--lead .pw-card__body--lead { padding: 0 7% 30px; text-align: center; }
.pw-card--lead .pw-card__title { max-width: 1080px; margin: 12px auto 16px; font-size: clamp(40px, 5vw, 60px); font-weight: 200; line-height: 1.04; }
.pw-card--lead .pw-meta { justify-content: center; margin-top: 0; }
.pw-card--lead .pw-card__media { aspect-ratio: 1200 / 475; border-radius: 7px; }
.pw-card--lead .pw-card__body--after-media { padding: 28px 0 0; text-align: center; }
.pw-card--lead .pw-card__excerpt { max-width: 800px; margin: 0 auto; font-size: 14px; line-height: 1.8; }
.pw-card--lead .pw-card__footer { max-width: 800px; margin: 26px auto 0; }

.pw-article, .pw-page { padding: 60px 0 90px; }
.pw-article__hero { width: min(calc(100% - 40px), var(--pw-width, 1200px)); margin: 0 auto 38px; overflow: hidden; border-radius: 7px; clip-path: none; }
.pw-article__hero img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.pw-article__header, .pw-page__header { width: min(calc(100% - 40px), var(--pw-reading-width, 1000px)); margin: 0 auto 38px; padding: 0; }
.pw-article__header::before, .pw-page__header::before { display: none; }
.pw-article__title, .pw-page__header .pw-article__title { margin: 12px 0 14px; color: var(--sbv3-title); font-family: var(--pw-heading); font-size: 36px; font-weight: 300; line-height: 1.12; letter-spacing: -.025em; }
.pw-article__byline { margin-top: 18px; }
.pw-article__byline img { width: 32px; height: 32px; }
.pw-article__dek { max-width: 800px; margin-top: 22px; color: #888; font-size: 16px; line-height: 1.75; }
.pw-title-rule { display: none; }
.pw-content { width: min(calc(100% - 40px), var(--pw-reading-width, 1000px)); color: var(--sbv3-text); font-family: var(--pw-body); font-size: 16px; line-height: 1.8; }
.pw-content p { margin: 0 0 1.35em; }
.pw-content h2, .pw-content h3, .pw-content h4 { margin: 2em 0 .75em; color: var(--sbv3-title); font-family: var(--pw-heading); font-weight: 500; line-height: 1.25; }
.pw-content h2::before, .pw-content h3::before { display: none; }
.pw-content h2 { font-size: 28px; }
.pw-content h3 { font-size: 23px; }
.pw-content blockquote { position: relative; margin: 2em 0; padding: 30px 36px; border: 0; border-left: 3px solid var(--pw-accent); background: var(--sbv3-soft); clip-path: none; color: #6d6d6d; font-family: var(--pw-heading); font-size: 20px; font-weight: 300; }
.pw-content blockquote::after { display: none; }
.pw-article-tools, .pw-author, .pw-comments { width: min(calc(100% - 40px), var(--pw-reading-width, 1000px)); }
.pw-article-tools { margin-top: 50px; padding: 20px 0; border-color: var(--sbv3-line); }
.pw-share { gap: 13px; }
.pw-share > span { color: #777; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pw-share a, .pw-copy-link { color: #aaa; }
.pw-author { display: grid; grid-template-columns: 110px 1fr; gap: 30px; margin-top: 38px; padding: 34px; border: 0; border-radius: 7px; background: var(--sbv3-soft); }
.pw-author::before { display: none; }
.pw-author img { width: 110px; height: 110px; }
.pw-author h2 { margin: 3px 0 8px; font-size: 18px; font-weight: 600; }
.pw-author p { margin: 0; color: #888; font-size: 14px; line-height: 1.75; }
.pw-related { margin-top: 55px; padding: 55px 0; border-top: 1px solid var(--sbv3-line); }
.pw-related > .pw-wrap { width: min(calc(100% - 40px), var(--pw-width, 1200px)); }
.pw-section-title, .comment-reply-title { color: var(--sbv3-title); font-family: var(--pw-heading); font-size: 20px; font-weight: 500; }
.pw-comments { margin-top: 50px; padding-top: 45px; border-top: 1px solid var(--sbv3-line); font-size: 16px; }
.pw-comments .comment-form, .pw-comments .logged-in-as, .pw-comments label { font-size: 16px; }

.pw-page .pw-article__header { margin-bottom: 34px; }
.pw-page:not(:has(.pw-article__hero)) .pw-article__header { padding-top: 0; }

.sbv3-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 60px 0 100px; }
.sbv3-archive-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
.sbv3-grid--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 30px; }
.sbv3-author-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 38px; margin-bottom: 35px; padding: 40px; border-radius: 7px; background: var(--sbv3-soft); }
.sbv3-author-card__avatar img { display: block; width: 130px; height: 130px; border-radius: 50%; }
.sbv3-author-card h1 { margin: 2px 0 12px; font-size: 19px; font-weight: 600; }
.sbv3-author-card__bio { color: #888; font-size: 14px; line-height: 1.75; }
.sbv3-author-card__bio p { margin: 0; }
.sbv3-author-card__socials { margin-top: 15px; }
.sbv3-archive-sidebar { min-width: 0; }
.sbv3-archive-sidebar .widget { margin: 0 0 42px; }
.sbv3-archive-sidebar .widget-title, .sbv3-archive-sidebar .wp-block-heading, .pw-post-widget__title { margin: 0 0 18px; padding-bottom: 13px; border-bottom: 1px solid var(--sbv3-line); color: var(--sbv3-title); font-family: var(--pw-heading); font-size: 17px; font-weight: 500; }
.sbv3-archive-sidebar ul { margin: 0; padding: 0; list-style: none; }
.sbv3-archive-sidebar li { padding: 9px 0; border-bottom: 1px solid var(--sbv3-line); }
.sbv3-archive-sidebar a { color: #777; text-decoration: none; }
.pw-intro { padding: 60px 0 40px; }
.pw-intro h1 { font-size: 36px; font-weight: 300; }

.pw-home-widgets { margin-top: 80px; padding-top: 65px; border-color: var(--sbv3-line); }
.pw-home-widget__title, .pw-home-widget .wp-block-heading { font-family: var(--pw-heading); font-size: 17px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pw-home-widget__title::before, .pw-home-widget .wp-block-heading::before { display: none; }
.pw-footer { min-height: 100px; border: 0; background: #2d2d2d; color: #aaa; }
.pw-footer__inner { min-height: 100px; }
.pw-footer a { color: #ccc; }
.pw-footer__copyright { display: flex; gap: .4em; }
.pw-footer__copyright::before { display: none; }
.pw-cookie-notice { clip-path: none; border-top: 3px solid var(--pw-accent); }

@media (max-width: 1040px) {
  .pw-header__inner { grid-template-columns: 210px 1fr auto; }
  .pw-nav ul { gap: 18px; }
  .pw-header__socials { display: none; }
  .sbv3-archive-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 920px) {
  .pw-header__inner { grid-template-columns: 1fr auto; min-height: 82px; }
  .pw-nav { display: none; }
  .pw-grid-home .pw-grid, .pw-grid--v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-card--lead .pw-card__title { font-size: clamp(36px, 7vw, 50px); }
  .sbv3-archive-layout.has-sidebar { grid-template-columns: 1fr; }
  .sbv3-archive-sidebar { padding-top: 45px; border-top: 1px solid var(--sbv3-line); }
}
@media (max-width: 600px) {
  .pw-wrap, .pw-article__hero, .pw-article__header, .pw-page__header, .pw-content, .pw-article-tools, .pw-author, .pw-comments { width: min(calc(100% - 28px), var(--pw-width, 1200px)); }
  .pw-header__inner { min-height: 72px; }
  .pw-brand { padding: 0; }
  .pw-brand__name { font-size: 20px; }
  .pw-brand__tagline { display: none; }
  .pw-portal { padding: 42px 0 70px; }
  .sbv3-lead-wrap { margin-bottom: 48px; }
  .pw-grid-home .pw-grid, .pw-grid--v3, .sbv3-grid--two { grid-template-columns: 1fr; gap: 48px; }
  .pw-card--lead .pw-card__body--lead { padding: 0 0 24px; }
  .pw-card--lead .pw-card__title { font-size: 34px; line-height: 1.08; }
  .pw-card--lead .pw-card__media { aspect-ratio: 16 / 9; }
  .pw-card__title { font-size: 23px; }
  .pw-article, .pw-page { padding: 42px 0 70px; }
  .pw-article__hero { margin: 0 auto 30px; }
  .pw-article__title, .pw-page__header .pw-article__title { font-size: 30px; line-height: 1.16; }
  .pw-content { font-size: 16px; line-height: 1.8; }
  .pw-author { grid-template-columns: 72px 1fr; gap: 20px; padding: 24px; }
  .pw-author img { width: 72px; height: 72px; }
  .sbv3-archive-layout { padding: 42px 0 70px; }
  .sbv3-author-card { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
  .sbv3-author-card__avatar img { width: 96px; height: 96px; }
  .pw-footer__inner { align-items: flex-start; padding: 30px 0; }
  .pw-footer__copyright { flex-wrap: wrap; }
}

/* Simple Base v3.0.2 — precyzyjne rozmiary i rytm odstępów. */
.pw-portal { padding-top: 50px; padding-bottom: 50px; }
.pw-card--lead .pw-card__title { font-size: 34px; line-height: 1.15; }
.pw-grid--v3 .pw-card__title,
.sbv3-grid--two .pw-card__title,
.pw-related .pw-card__title { font-size: 24px; line-height: 1.2; }
.sbv3-lead-wrap { margin-bottom: 25px; }
.pw-grid-home > .pw-grid + .pw-home-widgets,
.pw-grid-home > .pw-pagination + .pw-home-widgets,
.pw-home-widgets { margin-top: 50px; padding-top: 50px; }

.pw-article { padding-top: 50px; padding-bottom: 0; }
.pw-article__title { font-size: 34px; line-height: 1.18; }
.pw-article-tools { margin-top: 50px; }
.pw-related { margin-top: 25px; padding-top: 50px; padding-bottom: 50px; }
.pw-comments { margin-top: 0; padding-top: 25px; padding-bottom: 50px; border-top: 0; }
.pw-comments .form-submit { margin-bottom: 0; }

@media (max-width: 600px) {
  .pw-card--lead .pw-card__title,
  .pw-article__title { font-size: 34px; }
  .pw-grid--v3 .pw-card__title,
  .sbv3-grid--two .pw-card__title,
  .pw-related .pw-card__title { font-size: 24px; }
}

/* Simple Base v3.0.3 — typografia formularza komentarza. */
.pw-comments,
.pw-comments .comment-form,
.pw-comments .comment-reply-title,
.pw-comments .logged-in-as,
.pw-comments .comment-notes,
.pw-comments .comment-form-comment label,
.pw-comments input,
.pw-comments textarea,
.pw-comments button,
.pw-comments input[type="submit"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.pw-comments .comment-reply-title,
.pw-comments input[type="submit"],
.pw-comments button[type="submit"] { font-weight: 700; }
.pw-comments .logged-in-as,
.pw-comments .comment-notes,
.pw-comments .comment-form-comment label { font-weight: 400; }

/* Simple Base v3.0.4 — pełny obraz wyróżniający we wpisie. */
.pw-article__hero {
  width: min(calc(100% - 40px), var(--pw-reading-width, 1000px));
}
.pw-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  .pw-article__hero { width: calc(100% - 28px); }
}

/* Simple Base v3.0.5 — rozmiar tekstu treści artykułu. */
.pw-article .pw-content,
.pw-article .pw-content > p:first-child {
  font-size: 15px;
}

/* Simple Base v3.0.6 — tytuły standardowych wpisów na stronie głównej. */
.pw-grid-home .pw-grid--v3 .pw-card__title {
  font-size: 22px;
}
.single .pw-article__title {
  font-size: 30px;
}
