:root {
    --eh-bg: #f4f7f7;
    --eh-surface: #ffffff;
    --eh-surface-alt: #eaf5f3;
    --eh-text: #17252d;
    --eh-muted: #65747b;
    --eh-border: #dce5e7;
    --eh-accent: #087f73;
    --eh-accent-dark: #075e58;
    --eh-accent-soft: #d8f0ec;
    --eh-header: #102f3b;
    --eh-header-text: #ffffff;
    --eh-link: #087f73;
    --eh-radius: 12px;
    --eh-radius-small: 7px;
    --eh-shadow: 0 14px 40px rgba(20, 45, 55, 0.08);
    --eh-shadow-small: 0 6px 18px rgba(20, 45, 55, 0.07);
    --eh-card-border: 1px solid var(--eh-border);
    --eh-container: 1240px;
    --eh-reading: 780px;
    --eh-gap: 28px;
    --eh-section-gap: 72px;
    --eh-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --eh-font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --eh-body-size: 17px;
    --eh-body-leading: 1.75;
    --eh-heading-weight: 750;
    --eh-card-padding: 22px;
    --eh-image-ratio: 1.52;
}

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

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

body {
    margin: 0;
    background: var(--eh-bg);
    color: var(--eh-text);
    font-family: var(--eh-font-body);
    font-size: var(--eh-body-size);
    line-height: var(--eh-body-leading);
    text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
    --eh-admin-offset: 32px;
}

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

figure {
    margin: 0;
}

a {
    color: var(--eh-link);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover,
a:focus {
    color: var(--eh-accent-dark);
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
input[type="submit"] {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.55em;
    color: var(--eh-text);
    font-family: var(--eh-font-heading);
    font-weight: var(--eh-heading-weight);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.18rem, 2vw, 1.55rem);
}

p {
    margin: 0 0 1.35em;
}

ul,
ol {
    padding-left: 1.35em;
}

blockquote {
    margin: 2em 0;
    padding: 1.2em 1.5em;
    border-left: 5px solid var(--eh-accent);
    background: var(--eh-surface-alt);
    border-radius: 0 var(--eh-radius-small) var(--eh-radius-small) 0;
    font-size: 1.08em;
}

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

.site-container {
    width: min(calc(100% - 40px), var(--eh-container));
    margin-inline: auto;
}

.site-content {
    min-height: 60vh;
}

.site-main {
    padding-block: 38px var(--eh-section-gap);
}

.screen-reader-text {
    position: absolute !important;
    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,
.skip-link:focus {
    z-index: 100000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    background: var(--eh-surface);
    color: var(--eh-text);
    border-radius: 4px;
    box-shadow: var(--eh-shadow);
}

/* Profile stylistyczne */
.eh-profile-clinical {
    --eh-radius: 4px;
    --eh-radius-small: 2px;
    --eh-shadow: none;
    --eh-shadow-small: none;
    --eh-card-border: 1px solid #d7e0e4;
    --eh-section-gap: 64px;
}

.eh-profile-editorial {
    --eh-radius: 0;
    --eh-radius-small: 0;
    --eh-shadow: none;
    --eh-shadow-small: none;
    --eh-card-border: 0;
    --eh-gap: 34px;
    --eh-section-gap: 82px;
}

.eh-profile-minimal {
    --eh-radius: 6px;
    --eh-shadow: none;
    --eh-shadow-small: none;
    --eh-card-border: 0;
    --eh-bg: #ffffff;
    --eh-section-gap: 78px;
}

.eh-profile-soft {
    --eh-radius: 22px;
    --eh-radius-small: 14px;
    --eh-shadow: 0 18px 55px rgba(34, 61, 70, 0.09);
    --eh-card-border: 0;
    --eh-gap: 30px;
}

.eh-profile-bold {
    --eh-radius: 8px;
    --eh-radius-small: 4px;
    --eh-shadow: 7px 7px 0 rgba(15, 28, 36, 0.14);
    --eh-shadow-small: 4px 4px 0 rgba(15, 28, 36, 0.12);
    --eh-card-border: 2px solid var(--eh-text);
    --eh-heading-weight: 850;
}

.eh-profile-classic {
    --eh-radius: 2px;
    --eh-radius-small: 2px;
    --eh-shadow: 0 10px 28px rgba(39, 35, 31, 0.07);
    --eh-card-border: 1px solid #dedbd5;
    --eh-bg: #f8f6f2;
}

.eh-profile-natural {
    --eh-radius: 18px 4px 18px 4px;
    --eh-radius-small: 10px 2px 10px 2px;
    --eh-shadow: 0 18px 44px rgba(52, 76, 55, 0.09);
    --eh-card-border: 1px solid rgba(68, 98, 73, 0.2);
}

.eh-profile-technical {
    --eh-radius: 3px;
    --eh-radius-small: 2px;
    --eh-shadow: none;
    --eh-shadow-small: none;
    --eh-card-border: 1px solid #cfd8df;
    --eh-gap: 22px;
    --eh-card-padding: 18px;
}

.eh-profile-lifestyle {
    --eh-radius: 16px;
    --eh-radius-small: 10px;
    --eh-shadow: 0 16px 48px rgba(58, 36, 48, 0.1);
    --eh-card-border: 0;
    --eh-section-gap: 86px;
}

/* Palety kolorystyczne */
.eh-palette-blue {
    --eh-bg: #f3f6fb;
    --eh-surface-alt: #e8f0fb;
    --eh-text: #17243a;
    --eh-muted: #68758a;
    --eh-border: #d9e1ec;
    --eh-accent: #2267c9;
    --eh-accent-dark: #164a98;
    --eh-accent-soft: #dbe9ff;
    --eh-header: #132e57;
    --eh-link: #1f5fb7;
}

.eh-palette-navy {
    --eh-bg: #f4f5f8;
    --eh-surface-alt: #e8ebf1;
    --eh-text: #101a2b;
    --eh-muted: #626d7f;
    --eh-border: #d8dde6;
    --eh-accent: #294c7d;
    --eh-accent-dark: #172f52;
    --eh-accent-soft: #dce6f3;
    --eh-header: #0c1b31;
    --eh-link: #294c7d;
}

.eh-palette-green {
    --eh-bg: #f3f7f3;
    --eh-surface-alt: #e4f1e6;
    --eh-text: #1a2c21;
    --eh-muted: #65766a;
    --eh-border: #d5e2d7;
    --eh-accent: #287a45;
    --eh-accent-dark: #19592f;
    --eh-accent-soft: #d9efdf;
    --eh-header: #173d27;
    --eh-link: #246c3d;
}

.eh-palette-forest {
    --eh-bg: #f5f5ef;
    --eh-surface-alt: #e8ecdc;
    --eh-text: #202a20;
    --eh-muted: #6d7565;
    --eh-border: #dce0d2;
    --eh-accent: #47683c;
    --eh-accent-dark: #30492a;
    --eh-accent-soft: #e0ead9;
    --eh-header: #263824;
    --eh-link: #47683c;
}

.eh-palette-sky {
    --eh-bg: #f2f8fb;
    --eh-surface-alt: #e1f2f8;
    --eh-text: #17313c;
    --eh-muted: #607984;
    --eh-border: #d2e5ec;
    --eh-accent: #1783aa;
    --eh-accent-dark: #0c607e;
    --eh-accent-soft: #d8f0f8;
    --eh-header: #17485a;
    --eh-link: #14799d;
}

.eh-palette-plum {
    --eh-bg: #f8f4f8;
    --eh-surface-alt: #efe4ef;
    --eh-text: #2d1f2e;
    --eh-muted: #796879;
    --eh-border: #e3d6e2;
    --eh-accent: #7a3c79;
    --eh-accent-dark: #572856;
    --eh-accent-soft: #eedbef;
    --eh-header: #3e233f;
    --eh-link: #753873;
}

.eh-palette-burgundy {
    --eh-bg: #f8f4f4;
    --eh-surface-alt: #f1e3e4;
    --eh-text: #2e1c20;
    --eh-muted: #79666a;
    --eh-border: #e3d5d7;
    --eh-accent: #8b3141;
    --eh-accent-dark: #652331;
    --eh-accent-soft: #f1dce0;
    --eh-header: #491e28;
    --eh-link: #83303e;
}

.eh-palette-amber {
    --eh-bg: #faf7f0;
    --eh-surface-alt: #f5ecd6;
    --eh-text: #33291a;
    --eh-muted: #7f725f;
    --eh-border: #e8dfce;
    --eh-accent: #ad6b09;
    --eh-accent-dark: #7e4c05;
    --eh-accent-soft: #f7e8c6;
    --eh-header: #4e3718;
    --eh-link: #99600b;
}

.eh-palette-terracotta {
    --eh-bg: #faf5f1;
    --eh-surface-alt: #f3e4da;
    --eh-text: #35231d;
    --eh-muted: #7e6d65;
    --eh-border: #e8d9d0;
    --eh-accent: #b55332;
    --eh-accent-dark: #853a24;
    --eh-accent-soft: #f5ded4;
    --eh-header: #583127;
    --eh-link: #a34b2f;
}

.eh-palette-rose {
    --eh-bg: #fbf5f7;
    --eh-surface-alt: #f6e5eb;
    --eh-text: #39232c;
    --eh-muted: #806b74;
    --eh-border: #ead8df;
    --eh-accent: #a9476a;
    --eh-accent-dark: #7b304d;
    --eh-accent-soft: #f5dfe8;
    --eh-header: #532a3a;
    --eh-link: #9b4161;
}

.eh-palette-mono {
    --eh-bg: #f5f5f5;
    --eh-surface-alt: #eaeaea;
    --eh-text: #181818;
    --eh-muted: #6b6b6b;
    --eh-border: #dddddd;
    --eh-accent: #303030;
    --eh-accent-dark: #000000;
    --eh-accent-soft: #e4e4e4;
    --eh-header: #171717;
    --eh-link: #262626;
}

/* Typografia */
.eh-typography-editorial {
    --eh-font-heading: Georgia, "Times New Roman", serif;
    --eh-heading-weight: 700;
    --eh-body-leading: 1.78;
}

.eh-typography-classic {
    --eh-font-body: Georgia, "Times New Roman", serif;
    --eh-font-heading: Georgia, "Times New Roman", serif;
    --eh-body-size: 18px;
    --eh-body-leading: 1.82;
    --eh-heading-weight: 700;
}

.eh-typography-humanist {
    --eh-font-body: Candara, Calibri, "Segoe UI", sans-serif;
    --eh-font-heading: Candara, Calibri, "Segoe UI", sans-serif;
    --eh-body-size: 18px;
    --eh-heading-weight: 700;
}

.eh-typography-geometric {
    --eh-font-body: Avenir, Montserrat, Futura, "Segoe UI", sans-serif;
    --eh-font-heading: Avenir, Montserrat, Futura, "Segoe UI", sans-serif;
    --eh-heading-weight: 800;
    --eh-body-leading: 1.68;
}

.eh-typography-compact {
    --eh-font-body: Arial, Helvetica, sans-serif;
    --eh-font-heading: Arial, Helvetica, sans-serif;
    --eh-body-size: 16px;
    --eh-body-leading: 1.62;
    --eh-heading-weight: 700;
    --eh-section-gap: 58px;
}

.eh-typography-comfortable {
    --eh-font-body: Charter, Georgia, serif;
    --eh-font-heading: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --eh-body-size: 19px;
    --eh-body-leading: 1.88;
    --eh-reading: 740px;
}

.eh-typography-contrast {
    --eh-font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --eh-font-heading: Georgia, "Times New Roman", serif;
    --eh-body-size: 17px;
    --eh-body-leading: 1.8;
    --eh-heading-weight: 700;
}

/* Nagłówek */
.top-strip {
    background: var(--eh-header);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.025em;
}

.top-strip-inner,
.branding-row,
.navigation-inner,
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-strip-inner {
    min-height: 34px;
}

.top-strip-label,
.site-description,
.footer-copyright {
    margin: 0;
}

.top-navigation ul,
.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-navigation a {
    color: inherit;
    text-decoration: none;
}

.branding-row {
    min-height: 128px;
    padding-block: 22px;
}

.site-branding {
    flex: 0 1 380px;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-width: 360px;
    max-height: 86px;
}

.site-title {
    color: var(--eh-text);
    font-family: var(--eh-font-heading);
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    font-weight: var(--eh-heading-weight);
    line-height: 1;
    text-decoration: none;
}

.site-description {
    margin-top: 8px;
    color: var(--eh-muted);
    font-size: 0.92rem;
}

.header-ad {
    flex: 1 1 650px;
    max-width: 760px;
    text-align: center;
}

.header-ad .widget,
.header-ad p,
.header-ad .adsbygoogle {
    margin: 0;
}

.navigation-band {
    position: relative;
    z-index: 20;
    background: var(--eh-surface);
    border-block: 1px solid var(--eh-border);
}

.navigation-inner {
    min-height: 58px;
}

.primary-navigation {
    flex: 1 1 auto;
}

.primary-menu,
.primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 15px;
    color: var(--eh-text);
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-category-ancestor > a {
    color: var(--eh-accent);
}

.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    display: none;
    min-width: 230px;
    padding: 8px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
    box-shadow: var(--eh-shadow);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    display: block;
}

.primary-menu .sub-menu a {
    min-height: 0;
    padding: 10px 12px;
}

.menu-toggle,
.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    color: var(--eh-text);
    font-weight: 700;
}

.menu-toggle {
    display: none;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
}

.menu-toggle-icon {
    position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle-icon::before {
    top: -6px;
}

.menu-toggle-icon::after {
    top: 6px;
}

.search-toggle {
    flex: 0 0 48px;
    height: 48px;
    color: var(--eh-accent);
    font-size: 1.6rem;
}

.header-search {
    padding-block: 14px;
    background: var(--eh-surface-alt);
    border-top: 1px solid var(--eh-border);
}

.header-search .search-form,
.no-results .search-form,
.error-404 .search-form {
    display: flex;
    width: min(100%, 720px);
    gap: 8px;
}

.search-form label {
    flex: 1 1 auto;
}

.search-field {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
}

.search-submit,
.comment-form input[type="submit"] {
    min-height: 46px;
    padding: 10px 18px;
    background: var(--eh-accent);
    color: #ffffff;
    border: 0;
    border-radius: var(--eh-radius-small);
    font-weight: 750;
}

.eh-header-centered .branding-row {
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
    text-align: center;
}

.eh-header-centered .header-ad {
    width: 100%;
}

.eh-header-centered .navigation-inner {
    justify-content: center;
}

.eh-header-centered .primary-navigation {
    flex: 0 1 auto;
}

.eh-header-compact .top-strip {
    display: none;
}

.eh-header-compact .branding-row {
    min-height: 84px;
    padding-block: 12px;
}

.eh-header-compact .custom-logo {
    max-height: 58px;
}

.eh-header-split .branding-row {
    align-items: stretch;
    padding-block: 0;
}

.eh-header-split .site-branding,
.eh-header-split .header-ad {
    display: flex;
    align-items: center;
    min-height: 126px;
    padding: 22px;
}

.eh-header-split .site-branding {
    background: var(--eh-surface-alt);
}

.eh-header-band .branding-row {
    width: 100%;
    max-width: none;
    padding-inline: max(20px, calc((100vw - var(--eh-container)) / 2));
    background: var(--eh-header);
}

.eh-header-band .site-title,
.eh-header-band .site-description {
    color: var(--eh-header-text);
}

/* Nagłówki sekcji i okruszki */
.home-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 28px;
}

.home-intro h1 {
    max-width: 900px;
    margin-bottom: 0.2em;
}

.home-lead,
.archive-description,
.entry-lead {
    max-width: 780px;
    color: var(--eh-muted);
    font-size: 1.08rem;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--eh-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--eh-text);
}

.section-heading h2,
.archive-header h1 {
    margin-bottom: 0;
}

.section-heading-screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.section-more,
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eh-accent);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    color: var(--eh-muted);
    font-size: 0.78rem;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs-yoast > span,
.breadcrumbs-yoast p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.archive-header {
    max-width: 920px;
    margin-bottom: 34px;
}

.archive-header .page-title {
    margin-bottom: 0.2em;
}

/* Karty i strona główna */
.featured-section {
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 0.75fr));
    gap: var(--eh-gap);
}

.post-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--eh-surface);
    border: var(--eh-card-border);
    border-radius: var(--eh-radius);
    box-shadow: var(--eh-shadow-small);
}

.post-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--eh-surface-alt);
    aspect-ratio: var(--eh-image-ratio);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.025);
}

.post-thumbnail-placeholder::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--eh-accent);
    content: "EH";
    font-size: 2rem;
    font-weight: 800;
    opacity: 0.24;
}

.post-card-content {
    padding: var(--eh-card-padding);
}

.post-card-meta,
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: var(--eh-muted);
    font-size: 0.74rem;
    line-height: 1.4;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    background: var(--eh-accent-soft);
    color: var(--eh-accent-dark);
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.post-card-title {
    margin: 13px 0 10px;
}

.post-card-title a {
    color: var(--eh-text);
    text-decoration: none;
}

.post-card-title a:hover {
    color: var(--eh-accent);
}

.post-card-excerpt {
    color: var(--eh-muted);
    font-size: 0.92rem;
    line-height: 1.62;
}

.post-card-excerpt > :last-child {
    margin-bottom: 0;
}

.post-card .read-more {
    margin-top: 16px;
}

.post-card-hero {
    grid-row: span 2;
}

.post-card-hero .post-card-image {
    aspect-ratio: 1.38;
}

.post-card-hero .post-card-title {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.post-card-featured-small {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    border-radius: var(--eh-radius-small);
}

.post-card-featured-small .post-card-image {
    height: 100%;
    min-height: 170px;
    aspect-ratio: auto;
}

.post-card-featured-small .post-card-content {
    padding: 17px;
}

.post-card-featured-small .post-card-title {
    font-size: 1rem;
}

.post-card-featured-small .post-card-excerpt,
.post-card-featured-small .read-more {
    display: none;
}

.topic-directory {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: var(--eh-section-gap);
    padding: 18px 22px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
}

.topic-directory-label {
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 800;
}

.topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    background: var(--eh-surface-alt);
    color: var(--eh-text);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.topic-links a:hover {
    background: var(--eh-accent-soft);
    color: var(--eh-accent-dark);
}

.topic-links span {
    color: var(--eh-muted);
    font-size: 0.68rem;
}

.category-module {
    margin-bottom: var(--eh-section-gap);
}

.category-module-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
    gap: var(--eh-gap);
}

.post-card-category-small .post-card-title {
    font-size: 1.06rem;
}

.post-card-category-small .post-card-excerpt,
.post-card-category-small .read-more {
    display: none;
}

.latest-section {
    margin-top: var(--eh-section-gap);
}

.posts-collection {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--eh-gap);
}

.post-card-archive .post-card-title {
    font-size: 1.28rem;
}

/* Warianty archiwów */
.eh-archive-list .posts-collection,
.eh-archive-mixed .posts-collection {
    grid-template-columns: minmax(0, 1fr);
}

.eh-archive-list .post-card-archive,
.eh-archive-mixed .post-card-archive:nth-child(n+2) {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
}

.eh-archive-list .post-card-image,
.eh-archive-mixed .post-card-archive:nth-child(n+2) .post-card-image {
    height: 100%;
    min-height: 220px;
    aspect-ratio: auto;
}

.eh-archive-mixed .post-card-archive:first-child {
    display: grid;
    grid-template-columns: 52% minmax(0, 1fr);
}

.eh-archive-mixed .post-card-archive:first-child .post-card-title {
    font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.eh-archive-dense {
    --eh-card-padding: 16px;
    --eh-gap: 18px;
}

.eh-archive-dense .posts-collection {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eh-archive-dense .post-card-title {
    font-size: 1.03rem;
}

.eh-archive-dense .post-card-excerpt,
.eh-archive-dense .post-card .read-more {
    display: none;
}

.eh-archive-cards .posts-collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eh-archive-cards .post-card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Artykuł */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: clamp(34px, 5vw, 66px);
}

.single-article,
.page-article {
    min-width: 0;
}

.single-entry-header,
.page-entry-header {
    max-width: 960px;
    margin-bottom: 28px;
}

.single-entry-header .category-badge {
    margin-bottom: 18px;
}

.single-entry-header .entry-title {
    font-size: clamp(2.15rem, 5.5vw, 4.55rem);
}

.entry-meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--eh-border);
}

.entry-updated::before,
.entry-author::before,
.reading-time::before {
    margin-right: 10px;
    content: "•";
    color: var(--eh-border);
}

.entry-lead {
    margin-top: 26px;
    font-size: 1.16rem;
    line-height: 1.72;
}

.entry-lead > :last-child {
    margin-bottom: 0;
}

.single-featured-image {
    margin: 0 0 36px;
    overflow: hidden;
    background: var(--eh-surface-alt);
    border-radius: var(--eh-radius);
}

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

.single-featured-image figcaption,
.wp-caption-text,
.gallery-caption {
    padding: 9px 12px;
    color: var(--eh-muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

.entry-content {
    max-width: var(--eh-reading);
    font-size: 1em;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    scroll-margin-top: 24px;
}

.entry-content h2 {
    margin-top: 2.15em;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.entry-content h3 {
    margin-top: 1.8em;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.entry-content h4 {
    margin-top: 1.65em;
}

.entry-content a:not(.button):not(.orange-btn) {
    font-weight: 600;
}

.entry-content ul,
.entry-content ol {
    margin-block: 1.2em 1.6em;
}

.entry-content li + li {
    margin-top: 0.38em;
}

.entry-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.8em 0;
    overflow-x: auto;
    border-spacing: 0;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
    min-width: 130px;
    padding: 11px 13px;
    border: 1px solid var(--eh-border);
    text-align: left;
    vertical-align: top;
}

.entry-content th {
    background: var(--eh-header);
    color: var(--eh-header-text);
    font-size: 0.88em;
}

.entry-content tr:nth-child(even) td {
    background: var(--eh-surface-alt);
}

.entry-content iframe,
.entry-content video,
.entry-content object,
.entry-content embed {
    max-width: 100%;
}

.entry-content .alignleft {
    float: left;
    margin: 0.4em 1.5em 1em 0;
}

.entry-content .alignright {
    float: right;
    margin: 0.4em 0 1em 1.5em;
}

.entry-content .aligncenter {
    display: block;
    margin-inline: auto;
}

.entry-content::after {
    display: table;
    clear: both;
    content: "";
}

.entry-content .ez-toc-container,
.entry-content #ez-toc-container {
    margin: 1.8em 0;
    padding: 20px 22px;
    background: var(--eh-surface-alt);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
    box-shadow: none;
}

.entry-content .ez-toc-title-container {
    font-family: var(--eh-font-heading);
    font-weight: 800;
}

.entry-content .yarpp-related,
.entry-content .yarpp-related-widget {
    margin-top: 2.5em;
    padding-top: 1.8em;
    border-top: 2px solid var(--eh-text);
}

.entry-footer {
    max-width: var(--eh-reading);
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--eh-border);
    color: var(--eh-muted);
    font-size: 0.82rem;
}

.entry-taxonomy + .entry-taxonomy {
    margin-top: 8px;
}

.entry-tags a {
    display: inline-flex;
    margin: 3px 3px 3px 0;
    padding: 3px 8px;
    background: var(--eh-surface-alt);
    border-radius: 999px;
    text-decoration: none;
}

.after-content-widgets {
    max-width: var(--eh-reading);
    margin-top: 28px;
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: var(--eh-reading);
    margin-top: 38px;
}

.post-navigation > div {
    padding: 18px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
}

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

.post-navigation span {
    display: block;
    margin-bottom: 4px;
    color: var(--eh-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.post-navigation a {
    color: var(--eh-text);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
}

.page-main {
    max-width: 1000px;
}

.page-article .entry-content {
    max-width: 860px;
}

.eh-single-reading .single-layout,
.eh-single-wide .single-layout,
.eh-single-cover .single-layout {
    display: block;
}

.eh-single-reading .single-article {
    max-width: 900px;
    margin-inline: auto;
}

.eh-single-reading .single-entry-header,
.eh-single-reading .single-featured-image,
.eh-single-reading .entry-content,
.eh-single-reading .entry-footer,
.eh-single-reading .post-navigation,
.eh-single-reading .comments-area {
    margin-inline: auto;
}

.eh-single-wide {
    --eh-reading: 920px;
}

.eh-single-cover .single-main {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.eh-single-cover .breadcrumbs,
.eh-single-cover .single-entry-header,
.eh-single-cover .entry-content,
.eh-single-cover .entry-footer,
.eh-single-cover .after-content-widgets,
.eh-single-cover .post-navigation,
.eh-single-cover .comments-area {
    width: min(calc(100% - 40px), var(--eh-reading));
    margin-inline: auto;
}

.eh-single-cover .single-entry-header {
    padding-top: 42px;
}

.eh-single-cover .single-featured-image {
    width: 100%;
    max-height: 680px;
    margin-bottom: 44px;
    border-radius: 0;
}

.eh-single-cover .single-featured-image img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
}

.eh-single-compact {
    --eh-reading: 700px;
    --eh-body-size: 16px;
    --eh-body-leading: 1.68;
}

/* Sidebar i widgety */
.primary-sidebar {
    position: sticky;
    top: calc(var(--eh-admin-offset, 0px) + 24px);
    min-width: 0;
}

.widget {
    margin: 0 0 24px;
    overflow-wrap: anywhere;
}

.primary-sidebar > .widget {
    padding: 20px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
}

.widget-title {
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--eh-text);
    font-size: 1rem;
}

.widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget li + li {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--eh-border);
}

.widget a {
    color: var(--eh-text);
    font-size: 0.88rem;
    line-height: 1.45;
    text-decoration: none;
}

.widget a:hover {
    color: var(--eh-accent);
}

.widget_archive select,
.widget_categories select {
    width: 100%;
}

.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.primary-sidebar .widget_archive ul,
.primary-sidebar .widget_tag_cloud .tagcloud {
    max-height: 340px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.widget_tag_cloud a {
    display: inline-flex;
    padding: 4px 8px;
    background: var(--eh-surface-alt);
    border-radius: 999px;
    font-size: 0.73rem !important;
}

/* Komentarze */
.comments-area {
    max-width: var(--eh-reading);
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--eh-text);
}

.comments-title,
.comment-reply-title {
    font-size: 1.4rem;
}

.comment-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.comment-list .children {
    margin-left: 34px;
    list-style: none;
}

.comment-body {
    margin: 0 0 18px;
    padding: 18px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
}

.comment-meta {
    font-size: 0.78rem;
}

.comment-content {
    margin-top: 12px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 750;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
}

/* Paginacja, 404, przyciski */
.pagination {
    margin-top: 38px;
}

.pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination .current,
.pagination .dots {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    padding: 6px 10px;
    place-items: center;
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius-small);
    color: var(--eh-text);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.pagination .current,
.pagination a:hover {
    background: var(--eh-accent);
    border-color: var(--eh-accent);
    color: #ffffff;
}

.no-results,
.error-404 {
    max-width: 760px;
    margin: 40px auto;
    padding: clamp(28px, 6vw, 64px);
    background: var(--eh-surface);
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius);
    text-align: center;
}

.no-results .search-form,
.error-404 .search-form {
    margin: 24px auto 0;
}

.error-code {
    margin: 0;
    color: var(--eh-accent);
    font-size: clamp(4rem, 15vw, 9rem);
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.error-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.error-categories li {
    list-style: none;
}

.error-categories a,
.orange-btn,
.entry-content .orange-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65em 1.2em;
    background: var(--eh-accent);
    color: #ffffff;
    border-radius: var(--eh-radius-small);
    font-weight: 750;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.error-categories a:hover,
.orange-btn:hover,
.entry-content .orange-btn:hover {
    background: var(--eh-accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Stopka */
.site-footer {
    background: var(--eh-header);
    color: rgba(255, 255, 255, 0.78);
}

.footer-widgets {
    padding-block: 52px 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

.site-footer .widget-title {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.site-footer .widget a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer .widget li + li {
    border-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    padding-block: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.76rem;
}

.footer-bottom a {
    color: #ffffff;
}

.eh-footer-wide-left .footer-grid {
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
}

.eh-footer-wide-right .footer-grid {
    grid-template-columns: 0.7fr 0.7fr 1.6fr;
}

.eh-footer-stacked .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

/* Responsywność */
@media (max-width: 1100px) {
    .featured-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    }

    .post-card-hero {
        grid-row: span 4;
    }

    .category-module-grid,
    .posts-collection,
    .eh-archive-dense .posts-collection {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 34px;
    }

    .header-ad {
        max-width: 560px;
    }
}

@media (max-width: 860px) {
    body.admin-bar .site-header {
        --eh-admin-offset: 46px;
    }

    .top-strip-label {
        display: none;
    }

    .top-strip-inner {
        justify-content: center;
    }

    .branding-row,
    .eh-header-split .branding-row {
        flex-direction: column;
        justify-content: center;
        min-height: 0;
        padding-block: 20px;
        text-align: center;
    }

    .site-branding,
    .header-ad,
    .eh-header-split .site-branding,
    .eh-header-split .header-ad {
        flex: 0 1 auto;
        width: 100%;
        min-height: 0;
        padding: 0;
    }

    .custom-logo-link {
        justify-content: center;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .navigation-inner {
        flex-wrap: wrap;
    }

    .primary-navigation {
        order: 3;
        display: none;
        flex: 1 0 100%;
        padding-bottom: 12px;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu,
    .primary-navigation ul {
        display: block;
    }

    .primary-menu a {
        min-height: 0;
        padding: 12px 8px;
        border-top: 1px solid var(--eh-border);
    }

    .primary-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        margin-left: 16px;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .search-toggle {
        margin-left: auto;
    }

    .content-with-sidebar,
    .eh-archive-list .post-card-archive,
    .eh-archive-mixed .post-card-archive:first-child,
    .eh-archive-mixed .post-card-archive:nth-child(n+2) {
        grid-template-columns: minmax(0, 1fr);
    }

    .primary-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-top: 18px;
    }

    .primary-sidebar > .widget {
        margin: 0;
    }

    .eh-archive-list .post-card-image,
    .eh-archive-mixed .post-card-archive:nth-child(n+2) .post-card-image {
        min-height: 260px;
        aspect-ratio: var(--eh-image-ratio);
    }

    .entry-content {
        max-width: none;
    }
}

@media (max-width: 680px) {
    :root {
        --eh-section-gap: 54px;
        --eh-gap: 18px;
        --eh-card-padding: 18px;
    }

    .site-container,
    .eh-single-cover .breadcrumbs,
    .eh-single-cover .single-entry-header,
    .eh-single-cover .entry-content,
    .eh-single-cover .entry-footer,
    .eh-single-cover .after-content-widgets,
    .eh-single-cover .post-navigation,
    .eh-single-cover .comments-area {
        width: min(calc(100% - 28px), var(--eh-container));
    }

    .site-main {
        padding-top: 26px;
    }

    .top-navigation ul {
        justify-content: center;
        gap: 12px;
    }

    .custom-logo {
        max-width: min(100%, 280px);
        max-height: 72px;
    }

    .featured-grid,
    .category-module-grid,
    .posts-collection,
    .eh-archive-dense .posts-collection,
    .eh-archive-cards .posts-collection,
    .footer-grid,
    .eh-footer-wide-left .footer-grid,
    .eh-footer-wide-right .footer-grid,
    .primary-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-card-hero {
        grid-row: auto;
    }

    .post-card-featured-small {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .post-card-featured-small .post-card-image {
        min-height: 150px;
    }

    .topic-directory {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-more {
        margin-top: -8px;
    }

    .post-navigation {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-navigation-next {
        text-align: left;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .entry-content .alignleft,
    .entry-content .alignright {
        float: none;
        margin: 1em auto;
    }
}

@media (max-width: 430px) {
    .post-card-featured-small {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-card-featured-small .post-card-image {
        min-height: 0;
        aspect-ratio: var(--eh-image-ratio);
    }

    .post-card-featured-small .post-card-excerpt {
        display: block;
    }

    .entry-updated::before,
    .entry-author::before,
    .reading-time::before {
        display: none;
    }

    .entry-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ===== EDITORIAL HUB 0.1.1: GLOBAL WIDGET LAYOUT ===== */
.content-without-sidebar {
    min-width: 0;
}

.home-lower-section {
    margin-top: var(--eh-section-gap);
}

.home-lower-section .latest-section {
    width: 100%;
    max-width: none;
    padding: 0;
}

.home-content-with-sidebar .posts-collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-module-grid {
    align-items: start;
}

.category-module-grid .post-card {
    align-self: start;
    height: auto;
    min-height: 0;
}

.category-module-grid .post-card:not(:first-child) .post-card-title,
.post-card-featured-small .post-card-title {
    font-size: clamp(0.96rem, 1.3vw, 1.12rem);
    line-height: 1.2;
}

.footer-grid.footer-grid-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

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

.footer-grid.footer-grid-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer .widget_tag_cloud .tagcloud {
    max-height: 280px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.site-footer .widget_tag_cloud a {
    background: rgba(255, 255, 255, 0.94);
    color: var(--eh-header);
}

.site-footer .widget_tag_cloud a:hover {
    background: #ffffff;
    color: var(--eh-accent-dark);
}

@media (max-width: 860px) {
    .home-content-with-sidebar .posts-collection {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-content-with-sidebar .posts-collection,
    .footer-grid.footer-grid-count-2,
    .footer-grid.footer-grid-count-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* ===== END EDITORIAL HUB 0.1.1 ===== */

/* ===== EDITORIAL HUB 0.1.2: FINAL VISUAL POLISH ===== */
.home-intro h1 {
    max-width: 940px;
    font-size: clamp(2.75rem, 5.7vw, 4.9rem);
    line-height: 0.98;
}

.home-lead {
    max-width: 760px;
    margin-top: 12px;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.55;
}

.home-lower-section {
    margin-top: clamp(56px, 6vw, 84px);
}

.archive-with-sidebar .posts-collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.archive-header h1,
.archive-header .page-title {
    max-width: 1000px;
    font-size: clamp(2.35rem, 4.6vw, 3.8rem);
    line-height: 1.02;
}

.footer-widgets {
    padding-block: 38px 28px;
}

.footer-grid.footer-grid-count-1 .footer-column {
    width: 100%;
    max-width: 980px;
}

.site-footer .widget_tag_cloud .tagcloud {
    max-height: 220px;
}

.pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pagination ul.page-numbers > li {
    margin: 0;
    padding: 0;
    border: 0;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
    white-space: nowrap;
}

@media (max-width: 860px) {
    .top-strip {
        display: none;
    }
}

@media (max-width: 680px) {
    .home-intro h1 {
        font-size: clamp(2.15rem, 10.5vw, 2.75rem);
        line-height: 1.02;
    }

    .home-lead {
        font-size: 0.98rem;
    }

    .archive-header h1,
    .archive-header .page-title {
        font-size: clamp(2.05rem, 10vw, 2.55rem);
        line-height: 1.04;
    }

    .archive-with-sidebar .posts-collection {
        grid-template-columns: minmax(0, 1fr);
    }

    .pagination ul.page-numbers {
        gap: 6px;
    }

    .pagination .page-numbers a,
    .pagination .page-numbers span {
        min-width: 38px;
        padding-inline: 10px;
    }

    .footer-widgets {
        padding-block: 32px 24px;
    }
}
/* ===== END EDITORIAL HUB 0.1.2 ===== */

/* ===== EDITORIAL HUB 0.1.3: HOME INTRO SCALE ===== */
.home-intro h1 {
    max-width: 780px;
    margin-bottom: 10px;
    font-size: clamp(2.45rem, 3.7vw, 3.25rem);
    line-height: 1.07;
    letter-spacing: -0.035em;
}

.home-intro .home-lead {
    max-width: 760px;
}

@media (max-width: 680px) {
    .home-intro h1 {
        max-width: none;
        margin-bottom: 10px;
        font-size: clamp(1.95rem, 9.2vw, 2.1rem);
        line-height: 1.08;
        letter-spacing: -0.025em;
    }
}
/* ===== END EDITORIAL HUB 0.1.3 ===== */

/* ===== EDITORIAL HUB 0.1.4: COMPACT HOME INTRO ===== */
html body .home-main .home-intro h1 {
    max-width: 920px;
    margin-bottom: 8px;
    font-size: clamp(2rem, 3vw, 2.5rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em;
}

html body .home-main .home-intro .home-lead {
    max-width: 780px;
}

@media (max-width: 680px) {
    html body .home-main .home-intro h1 {
        max-width: none;
        margin-bottom: 8px;
        font-size: 1.875rem !important;
        line-height: 1.14 !important;
        letter-spacing: -0.018em;
    }
}
/* ===== END EDITORIAL HUB 0.1.4 ===== */

/* EDIVA_RANDOM_POSTS_THUMBNAILS_V3_START */
[id^="arpw-widget-"] {
    --ediva-random-thumb-width: 88px;
    --ediva-random-thumb-height: 70px;
    --ediva-random-thumb-radius: 8px;
    --ediva-random-thumb-gap: 14px;
}

[id^="arpw-widget-"] .arpw-ul,
[id^="arpw-widget-"] > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

[id^="arpw-widget-"] .arpw-li,
[id^="arpw-widget-"] > ul > li {
    display: flow-root;
    min-height: var(--ediva-random-thumb-height);
}

[id^="arpw-widget-"] .arpw-thumbnail,
[id^="arpw-widget-"] li > a:first-child img,
[id^="arpw-widget-"] li > img:first-child {
    display: block;
    float: left !important;
    width: var(--ediva-random-thumb-width) !important;
    min-width: var(--ediva-random-thumb-width) !important;
    max-width: var(--ediva-random-thumb-width) !important;
    height: var(--ediva-random-thumb-height) !important;
    margin: 0 var(--ediva-random-thumb-gap) 8px 0 !important;
    border-radius: var(--ediva-random-thumb-radius);
    object-fit: cover;
    object-position: center;
}

[id^="arpw-widget-"] .arpw-title,
[id^="arpw-widget-"] .arpw-summary,
[id^="arpw-widget-"] .arpw-time,
[id^="arpw-widget-"] .arpw-meta {
    min-width: 0;
}

@media (max-width: 620px) {
    [id^="arpw-widget-"] {
        --ediva-random-thumb-width: 72px;
        --ediva-random-thumb-height: 58px;
        --ediva-random-thumb-gap: 12px;
    }
}
/* EDIVA_RANDOM_POSTS_THUMBNAILS_V3_END */

/* EDITORIAL_HUB_0_1_9_ARTICLE_SPACING_START */
.single-layout .single-article > .single-entry-header,
.single-layout .single-article > .entry-content,
.page-main .page-article > .page-entry-header,
.page-main .page-article > .entry-content {
    box-sizing: border-box;
    padding-inline: clamp(30px, 3vw, 42px);
}

.single-layout .single-article > .entry-content,
.page-main .page-article > .entry-content {
    padding-bottom: 48px;
}

@media (max-width: 620px) {
    .single-layout .single-article > .single-entry-header,
    .single-layout .single-article > .entry-content,
    .page-main .page-article > .page-entry-header,
    .page-main .page-article > .entry-content {
        padding-inline: 20px;
    }
}
/* EDITORIAL_HUB_0_1_9_ARTICLE_SPACING_END */

/* EDITORIAL_CONTENT_LINK_STYLE_V1_START */

/* Linki tekstowe w treści: podkreślenie i kolor, bez ikon. */
.entry-content p a,
.entry-content li a,
.entry-content td a,
.entry-content th a,
.entry-content blockquote a,
.entry-content figcaption a {
    color: var(
        --kaldria-accent,
        var(
            --arvella-accent,
            var(
                --fenora-accent,
                var(--eh-color-accent, currentColor)
            )
        )
    );
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    text-decoration-skip-ink: auto;
}

.entry-content p a:hover,
.entry-content li a:hover,
.entry-content td a:hover,
.entry-content th a:hover,
.entry-content blockquote a:hover,
.entry-content figcaption a:hover,
.entry-content p a:focus-visible,
.entry-content li a:focus-visible,
.entry-content td a:focus-visible,
.entry-content th a:focus-visible,
.entry-content blockquote a:focus-visible,
.entry-content figcaption a:focus-visible {
    text-decoration-thickness: 2px;
}

/* EDITORIAL_CONTENT_LINK_STYLE_V1_END */
