/* HorsePony.pl · Equestrian Journal 1.1.0
 * CSS jest izolowany w #hpj-root. Nie ustawia tła body ani globalnego tła Newspaper.
 */
#hpj-root {
  --hpj-forest:#203e35; --hpj-forest-deep:#143329; --hpj-forest-light:#315246;
  --hpj-bronze:#885124; --hpj-bronze-light:#c18c55;
  --hpj-cream:#f5efe5; --hpj-cream-light:#fcf7ef; --hpj-sand:#e9ddcc;
  --hpj-paper:#f8f2e8; --hpj-ink:#22332d; --hpj-muted:#58645c;
  color:var(--hpj-ink); background:var(--hpj-cream); width:min(100%,1440px);
  margin:26px auto 38px; position:relative; z-index:1;
  font:400 16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  box-shadow:0 16px 70px rgba(12,25,20,.14); isolation:isolate;
}
#hpj-root, #hpj-root *, #hpj-root *::before, #hpj-root *::after {box-sizing:border-box;}
#hpj-root [hidden]{display:none!important}
#hpj-root a{color:inherit;text-decoration:none;transition:color .2s ease,background-color .2s ease,opacity .2s ease,transform .2s ease;}
#hpj-root a:hover{color:var(--hpj-bronze)}
#hpj-root a:focus-visible, #hpj-root button:focus-visible, #hpj-root summary:focus-visible, #hpj-root input:focus-visible{outline:3px solid #bf8147;outline-offset:3px;}
#hpj-root h1,#hpj-root h2,#hpj-root h3,#hpj-root h4,#hpj-root h5,#hpj-root h6{font-family:Georgia,"Times New Roman",serif;color:var(--hpj-ink);font-weight:700;line-height:1.12;margin-top:0;overflow-wrap:anywhere;}
#hpj-root p{margin:0 0 1em;} #hpj-root img{max-width:100%;vertical-align:middle;height:auto;}
#hpj-root button,#hpj-root input,#hpj-root textarea,#hpj-root select{font:inherit;}
#hpj-root ul,#hpj-root ol{margin-top:0;}
#hpj-root .hpj-skip{position:absolute;left:14px;top:-9999px;background:#fff;color:#12362b;padding:10px 16px;z-index:9999;}
#hpj-root .hpj-skip:focus{top:5px;}
#hpj-root .hpj-topline{min-height:29px;background:var(--hpj-forest);color:#f7f2e9;padding:5px 3.8%;font-size:10px;letter-spacing:1.25px;display:flex;justify-content:space-between;align-items:center;gap:12px;}
#hpj-root .hpj-topline-slogan{color:#e1c39b;letter-spacing:.4px;text-transform:none;font-style:italic;font-family:Georgia,serif;font-size:12px;}
#hpj-root .hpj-header{min-height:107px;padding:16px clamp(26px,4.2%,62px);display:flex;align-items:center;gap:clamp(12px,2.4vw,38px);background:var(--hpj-cream-light);position:relative;z-index:30;border-bottom:1px solid rgba(36,57,45,.08);}
#hpj-root .hpj-brand{display:flex;gap:10px;align-items:center;flex-shrink:0;color:var(--hpj-forest);min-width:258px;}
#hpj-root .hpj-brand:hover{color:var(--hpj-forest)}
#hpj-root .hpj-brand-mark{width:67px;height:67px;object-fit:contain;}
#hpj-root .hpj-brand-text{display:flex;flex-direction:column;gap:1px;white-space:nowrap;}
#hpj-root .hpj-brand-name{font-family:Georgia,"Times New Roman",serif;font-size:27px;letter-spacing:-1.5px;font-weight:700;color:#1e362f;line-height:1.05;}
#hpj-root .hpj-brand-domain{font-size:17px;letter-spacing:-1px;text-transform:none;}
#hpj-root .hpj-brand-subtitle{color:#69746d;font-size:12px;letter-spacing:1px;}
#hpj-root .hpj-main-nav{flex:1;min-width:0;}
#hpj-root .hpj-main-nav ul{display:flex;align-items:center;flex-wrap:wrap;gap:4px clamp(8px,1.1vw,17px);justify-content:flex-end;list-style:none;margin:0;padding:0;}
#hpj-root .hpj-main-nav li{margin:0;padding:0;line-height:1.3;}
#hpj-root .hpj-main-nav a{font-size:12.5px;font-weight:600;color:#1c322c;display:inline-block;padding:9px 0;border-bottom:2px solid transparent;white-space:nowrap;}
#hpj-root .hpj-main-nav a:hover,#hpj-root .hpj-main-nav a.is-current{border-bottom-color:var(--hpj-bronze);color:var(--hpj-bronze);}
#hpj-root .hpj-header-actions{display:flex;align-items:center;gap:10px;}
#hpj-root .hpj-search-details{position:relative;}
#hpj-root .hpj-search-details>summary{cursor:pointer;list-style:none;display:grid;place-items:center;width:35px;height:35px;color:var(--hpj-ink);}
#hpj-root .hpj-search-details>summary::-webkit-details-marker{display:none}
#hpj-root .hpj-search-details svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
#hpj-root .hpj-search-form{position:absolute;top:calc(100% + 22px);right:-4px;width:min(360px,90vw);padding:20px;background:#f9f2e7;box-shadow:0 16px 45px rgba(28,40,31,.25);border:1px solid #dbc9ad;z-index:90;}
#hpj-root .hpj-search-form label{display:block;font-size:13px;font-weight:700;color:var(--hpj-forest);margin-bottom:10px;}
#hpj-root .hpj-search-form>div{display:flex;gap:6px;}
#hpj-root .hpj-search-form input{width:100%;min-width:0;padding:11px;border:1px solid #aaac9f;background:#fff;color:#243830;border-radius:3px;}
#hpj-root .hpj-search-form button{padding:10px 14px;background:var(--hpj-forest);border:0;color:#fff;cursor:pointer;white-space:nowrap;}
#hpj-root .hpj-mobile-menu{display:none;}
/* HERO — zdjęcie pozostaje w kontenerze, a tło Newspaper poza kontenerem nie jest ruszane. */
#hpj-root .hpj-hero{min-height:540px;background:linear-gradient(90deg,#f5eadd 0%,#f0e1ca 55%,#d3ba92 100%);position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;}
#hpj-root .hpj-hero-photo{position:absolute;right:0;top:0;bottom:0;width:69%;z-index:0;background-image:linear-gradient(90deg,#f5eadd 0%,rgba(245,234,221,.88) 8%,rgba(245,234,221,.15) 35%,transparent 55%),url('../img/hero.webp');background-position:center,left 47%;background-size:cover,cover;background-repeat:no-repeat;}
#hpj-root .hpj-hero-copy{position:relative;z-index:1;padding:46px 0 38px clamp(34px,5.7%,81px);width:55%;max-width:680px;}
#hpj-root .hpj-kicker{font-size:11px;font-weight:750;color:var(--hpj-bronze);letter-spacing:2.25px;text-transform:uppercase;}
#hpj-root .hpj-hero h1{font-size:clamp(47px,5vw,74px);letter-spacing:-2.8px;color:#173b31;margin:18px 0 20px;line-height:.97;}
#hpj-root .hpj-hero h1 span{color:var(--hpj-bronze);}
#hpj-root .hpj-hero-copy>p{font-size:19px;line-height:1.45;max-width:430px;color:#263c35;margin-bottom:28px;}
#hpj-root .hpj-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:3px;background:#9c632f;color:white;padding:14px 23px;box-shadow:0 4px 15px rgba(67,38,15,.12);font-size:14px;font-weight:700;}
#hpj-root .hpj-button:hover{background:#7c491e;color:white;transform:translateY(-2px);}
#hpj-root .hpj-hero-perks{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:46px;}
#hpj-root .hpj-hero-perks span{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.35;color:#263930;font-weight:600;}
#hpj-root .hpj-hero-perks i{font:normal 34px/1 Georgia,serif;color:var(--hpj-bronze);}
#hpj-root .hpj-hero-stamp{display:none;position:absolute;top:62px;right:50px;transform:rotate(-11deg);font:italic 26px/1.25 Georgia,serif;color:rgba(255,245,224,.86);text-shadow:0 1px 9px rgba(30,41,33,.7);text-align:center;pointer-events:none;}
#hpj-root .hpj-home-inner{padding:6px clamp(24px,4.4%,62px) 46px;}
#hpj-root .hpj-home-section{margin:44px 0 0;}
#hpj-root .hpj-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:21px;}
#hpj-root .hpj-section-head-left{display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-width:0;}
#hpj-root .hpj-section-head h2{font-size:clamp(27px,2.65vw,39px);letter-spacing:-1.1px;margin:0;}
#hpj-root .hpj-head-line{width:48px;height:1px;background:var(--hpj-bronze);flex-shrink:0;}
#hpj-root .hpj-section-overline{font-size:10px;color:#645a4d;letter-spacing:1.25px;text-transform:uppercase;white-space:normal;}
#hpj-root .hpj-more{font-size:12px;font-weight:700;white-space:nowrap;padding-bottom:4px;color:#30473c;}
#hpj-root .hpj-more span{margin-left:4px;font-size:17px;}
#hpj-root .hpj-topics-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;}
#hpj-root .hpj-topic-card{height:270px;position:relative;border-radius:3px;overflow:hidden;color:white;box-shadow:0 5px 12px rgba(33,43,33,.1);}
#hpj-root .hpj-topic-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
#hpj-root .hpj-topic-card:hover img{transform:scale(1.07);}
#hpj-root .hpj-topic-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(5,38,28,.18) 47%,rgba(10,39,30,.99) 100%);}
#hpj-root .hpj-topic-label{position:absolute;bottom:15px;left:12px;right:8px;display:flex;flex-direction:column;gap:4px;}
#hpj-root .hpj-topic-label strong{font:700 17px/1.06 Georgia,serif;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.25);}
#hpj-root .hpj-topic-label small{font-size:8.5px;letter-spacing:.65px;color:#fff;text-transform:uppercase;opacity:.91;font-weight:600;}
#hpj-root .hpj-topic-card:hover .hpj-topic-label strong{color:#f6e1c3;}
#hpj-root .hpj-featured-section{margin-top:52px;}
#hpj-root .hpj-featured-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(275px,.9fr);gap:15px;}
#hpj-root .hpj-feature-lead{min-height:345px;position:relative;overflow:hidden;background:#203e35;border-radius:3px;display:flex;align-items:flex-end;justify-content:flex-end;}
#hpj-root .hpj-feature-lead::before{position:absolute;content:"";inset:0;background:linear-gradient(90deg,rgba(19,45,36,0) 12%,rgba(20,45,37,.15) 40%,rgba(15,42,34,.94) 100%);z-index:1;}
#hpj-root .hpj-feature-lead>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:25% center;}
#hpj-root .hpj-feature-lead-content{position:relative;z-index:2;width:49%;color:white;padding:22px 24px;}
#hpj-root .hpj-feature-chip{display:inline-block;border-radius:20px;background:#fff7eb;color:#284035;font-size:10px;font-weight:800;letter-spacing:.2px;padding:5px 10px;text-transform:uppercase;}
#hpj-root .hpj-feature-lead h3{font-size:clamp(23px,2vw,29px);margin:12px 0 14px;color:#fff;line-height:1.08;}
#hpj-root .hpj-feature-lead h3 a{color:#fff;}
#hpj-root .hpj-feature-lead h3 a:hover{color:#f4d4ab;}
#hpj-root .hpj-feature-lead p{font-size:12px;line-height:1.5;color:#f4eee5;margin-bottom:12px;}
#hpj-root .hpj-feature-read{font-size:12px;font-weight:750;color:#f4dac0;}
#hpj-root .hpj-feature-secondary{background:#fbf6ee;border-radius:3px;overflow:hidden;box-shadow:0 3px 14px rgba(49,42,32,.05);}
#hpj-root .hpj-feature-secondary>a{display:block;height:155px;overflow:hidden;}
#hpj-root .hpj-feature-secondary>a img{height:100%;width:100%;object-fit:cover;}
#hpj-root .hpj-feature-secondary-content{padding:15px 22px 18px;}
#hpj-root .hpj-feature-secondary .hpj-feature-chip{color:var(--hpj-bronze);font-size:9px;border:1px solid #d8c8b1;padding:4px 9px;}
#hpj-root .hpj-feature-secondary h3{font-size:20px;line-height:1.14;margin:10px 0;}
#hpj-root .hpj-feature-secondary p{font-size:12px;line-height:1.5;color:#4f5b53;margin-bottom:8px;}
#hpj-root .hpj-text-link{font-size:12px;color:#985e2e;font-weight:800;}
#hpj-root .hpj-text-link:hover{color:#5f401f;}
#hpj-root .hpj-latest-section{margin-top:51px;}
#hpj-root .hpj-post-grid{display:grid;gap:15px;}
#hpj-root .hpj-post-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));}
#hpj-root .hpj-post-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));}
#hpj-root .hpj-post-card{background:#fcf8f1;overflow:hidden;border-radius:3px;display:flex;flex-direction:column;min-width:0;box-shadow:0 3px 14px rgba(45,43,32,.04);}
#hpj-root .hpj-post-card-image{position:relative;height:187px;overflow:hidden;display:block;background:#d9c6a9;}
#hpj-root .hpj-post-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
#hpj-root .hpj-post-card:hover .hpj-post-card-image img{transform:scale(1.05);}
#hpj-root .hpj-label-chip{position:absolute;left:13px;bottom:0;background:#fef9f0;color:#935827;padding:7px 10px 5px;border-radius:5px 5px 0 0;text-transform:uppercase;letter-spacing:.3px;font-size:9px;font-weight:800;max-width:calc(100% - 20px);}
#hpj-root .hpj-post-card-content{display:flex;flex:1;flex-direction:column;padding:14px 16px 20px;}
#hpj-root .hpj-post-card-content time{font-size:11px;color:#5e665a;letter-spacing:.1px;}
#hpj-root .hpj-post-card-content time::before{content:"◷";color:var(--hpj-bronze);margin-right:6px;font-size:13px;}
#hpj-root .hpj-post-card-content h3{font-size:20px;line-height:1.12;margin:10px 0 11px;}
#hpj-root .hpj-post-card-content h3 a{color:#1d322b;}
#hpj-root .hpj-post-card-content p{font-size:12px;color:#596057;line-height:1.55;margin-bottom:14px;}
#hpj-root .hpj-post-card-content .hpj-text-link{margin-top:auto;}
#hpj-root .hpj-about-band{display:grid;grid-template-columns:1.5fr 1fr;background:#efe2cf;min-height:250px;}
#hpj-root .hpj-about-copy{padding:45px 35px 45px clamp(30px,5%,70px);display:grid;grid-template-columns:minmax(175px,.8fr) 1.25fr;gap:28px;align-content:center;}
#hpj-root .hpj-about-copy .hpj-kicker{grid-column:1/-1;margin-bottom:-16px;}
#hpj-root .hpj-about-copy h2{font-size:34px;margin:0;letter-spacing:-1.3px;}
#hpj-root .hpj-about-copy p{font-size:14px;line-height:1.65;color:#3d4e43;}
#hpj-root .hpj-about-copy .hpj-button{padding:10px 18px;font-size:12px;gap:12px;}
#hpj-root .hpj-about-photo{background-image:url('../img/about-horse.webp');background-size:cover;background-position:50% center;min-height:260px;position:relative;}
#hpj-root .hpj-about-photo::after{content:"♡";position:absolute;right:8%;top:13%;font:italic 44px Georgia,serif;color:#fff2d9;text-shadow:0 1px 8px #4c3423;}
/* Podstrony: jeden ciągły jasny panel, bez białych prostokątów pod artykułami. */
#hpj-root .hpj-inner{padding:37px clamp(25px,4.5%,64px) 65px;background:var(--hpj-cream);min-height:600px;}
#hpj-root .hpj-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#67736a;font-size:12px;margin-bottom:28px;max-width:100%;}
#hpj-root .hpj-breadcrumb span:last-child{overflow-wrap:anywhere;}
#hpj-root .hpj-breadcrumb a{font-weight:650;color:var(--hpj-bronze);}
#hpj-root .hpj-article-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(265px,315px);gap:44px;align-items:start;}
#hpj-root .hpj-article{min-width:0;background:transparent;}
#hpj-root .hpj-article-head{margin:4px 0 25px;}
#hpj-root .hpj-article-cat{display:inline-block;border-radius:50px;padding:6px 13px;background:#d8e2d8;color:#174337;font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;margin-bottom:15px;}
#hpj-root .hpj-article-head h1{font-size:clamp(35px,3.7vw,54px);letter-spacing:-1.3px;line-height:1.1;color:#18392f;margin:0 0 18px;}
#hpj-root .hpj-article-meta{display:flex;flex-wrap:wrap;gap:11px 23px;font-size:12px;color:#526153;padding-bottom:14px;border-bottom:1px solid #dfd2c0;}
#hpj-root .hpj-article-intro{margin:18px 0 0;font-size:18px;line-height:1.6;color:#4d5e51;}
#hpj-root .hpj-article-cover{margin:0 0 27px;width:100%;overflow:hidden;border-radius:4px;background:#d1c7b2;}
#hpj-root .hpj-article-cover img{display:block;width:100%;max-height:470px;object-fit:cover;}
#hpj-root .hpj-article-body{font-size:17px;line-height:1.85;color:#263c32;background:transparent;overflow-wrap:break-word;min-height:70px;}
#hpj-root .hpj-article-body p,#hpj-root .hpj-article-body ul,#hpj-root .hpj-article-body ol{margin:0 0 1.28em;}
#hpj-root .hpj-article-body h2{font-size:clamp(28px,2.45vw,34px);margin:1.55em 0 .6em;line-height:1.22;color:#1e3e33;}
#hpj-root .hpj-article-body h3{font-size:clamp(23px,1.95vw,27px);margin:1.4em 0 .55em;line-height:1.2;color:#285040;}
#hpj-root .hpj-article-body h4{font-size:20px;color:#2b493d;margin:1.4em 0 .5em;}
#hpj-root .hpj-article-body :is(h2,h3){scroll-margin-top:30px;}
#hpj-root .hpj-article-body a{color:#985e2e;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere;}
#hpj-root .hpj-article-body a:hover{color:#5d3a1c;}
#hpj-root .hpj-article-body :is(ul,ol){padding-left:1.4em;}
#hpj-root .hpj-article-body li{padding-left:3px;margin-bottom:.35em;}
#hpj-root .hpj-article-body blockquote{margin:28px 0;padding:23px 29px;border-left:4px solid var(--hpj-bronze);background:#eae0ce;color:#264035;font:italic 21px/1.6 Georgia,serif;}
#hpj-root .hpj-article-body :is(blockquote p,blockquote cite){color:inherit;}
#hpj-root .hpj-article-body :is(img,video,iframe){max-width:100%;}
#hpj-root .hpj-article-body img{height:auto;}
#hpj-root .hpj-article-body figure{max-width:100%;margin:25px auto;}
#hpj-root .hpj-article-body figcaption{font-size:13px;color:#667369;text-align:center;}
#hpj-root .hpj-article-body :is(pre,table){max-width:100%;overflow-x:auto;}
#hpj-root .hpj-article-body pre{font-size:14px;padding:16px;background:#e8dcc9;color:#2a382f;border:1px solid #d8c3a6;}
#hpj-root .hpj-article-body table{border-collapse:collapse;width:100%;display:block;overflow-x:auto;margin:20px 0;}
#hpj-root .hpj-article-body th,#hpj-root .hpj-article-body td{border:1px solid #cec4b3;padding:9px 12px;}
#hpj-root .hpj-article-body th{background:#dce8dc;color:#1a382c;}
#hpj-root .hpj-article-body td{background:#f4ecdf;color:#24362e;}
#hpj-root .hpj-article-body :is(input:not([type=checkbox]),textarea,select){max-width:100%;padding:10px;border:1px solid #acac9d;background:#fffdf9;color:#172c23;}
#hpj-root .hpj-article-body :is(button,input[type=submit]){border:0;padding:11px 20px;background:#1e4134;color:#fff;cursor:pointer;}
#hpj-root .hpj-article-body .wp-block-cover{color:#fff;}
#hpj-root .hpj-article-body .wp-block-cover :is(p,h2,h3,h4){color:inherit;}
#hpj-root .hpj-article-body :is(.aligncenter,.wp-block-image.aligncenter){margin-left:auto;margin-right:auto;text-align:center;}
#hpj-root .hpj-article-body .alignleft{float:left;margin:0 22px 14px 0;}
#hpj-root .hpj-article-body .alignright{float:right;margin:0 0 14px 22px;}
#hpj-root .hpj-article-body::after{content:"";display:table;clear:both;}
#hpj-root .hpj-article-tail{background:#ebe0ce;color:#284236;padding:22px 27px;margin-top:38px;border-left:4px solid #a5743d;}
#hpj-root .hpj-article-tail p{color:inherit;font-size:14px;line-height:1.65;margin:0 0 9px;}
#hpj-root .hpj-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;}
#hpj-root .hpj-tags a{font-size:11px;display:inline-flex;color:#224536;background:#dfebdf;padding:6px 11px;border-radius:3px;}
#hpj-root .hpj-comments{padding-top:28px;margin-top:35px;border-top:1px solid #d5c7b3;}
#hpj-root .hpj-comments h2{font-size:26px;}
#hpj-root .hpj-comments :is(input,textarea){max-width:100%;background:#fdf9f0;color:#1b3329;border:1px solid #c7bba8;padding:11px;}
#hpj-root .hpj-comments :is(button,input[type=submit]){background:var(--hpj-forest);color:white;border:0;padding:11px 17px;cursor:pointer;}
#hpj-root .hpj-sidebar{min-width:0;position:relative;}
#hpj-root .hpj-sidebar-stack{
  position:sticky;
  /* Jeśli panel wyższy niż ekran, najpierw przesuwa się wraz z tekstem;
   * po dojściu do jego końca zatrzymuje się bez osobnego paska przewijania. */
  top:min(18px,calc(100dvh - var(--hpj-sidebar-content-height, 900px) - 18px));
  max-height:none;overflow:visible;overscroll-behavior:auto;padding:1px 3px 5px 1px;
}
#hpj-root .hpj-side-box{background:#e9dfcf;padding:25px 23px;margin-bottom:17px;border:1px solid rgba(113,106,81,.14);}
#hpj-root .hpj-side-eyebrow{font-size:10px;color:#765026;letter-spacing:1.7px;font-weight:750;display:block;margin-bottom:5px;}
#hpj-root .hpj-side-box h2{font-size:25px;letter-spacing:-.5px;padding-bottom:11px;margin:0 0 14px;border-bottom:1px solid #bdaa8d;}
#hpj-root .hpj-toc-box{background:#25483b;color:#f8f1e8;}
#hpj-root .hpj-toc-box .hpj-side-eyebrow{color:#dec198;}
#hpj-root .hpj-toc-box h2{color:#fffaf1;border-bottom-color:rgba(248,249,233,.28);}
#hpj-root #hpj-toc-links{display:flex;flex-direction:column;gap:3px;}
#hpj-root #hpj-toc-links a{font-size:13px;line-height:1.45;display:block;padding:8px 9px;border-left:2px solid transparent;color:#f3f3e8;}
#hpj-root #hpj-toc-links a[data-level="3"]{padding-left:20px;font-size:12px;color:#dde7dc;}
#hpj-root #hpj-toc-links a:hover,#hpj-root #hpj-toc-links a[aria-current="location"]{background:#356450;border-left-color:#d5ae79;color:white;}
#hpj-root .hpj-side-articles{list-style:none;margin:0;padding:0;}
#hpj-root .hpj-side-articles li+li{padding-top:13px;margin-top:13px;border-top:1px solid #d4c5ae;}
#hpj-root .hpj-side-articles a{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:start;gap:12px;}
#hpj-root .hpj-side-articles img{width:62px;height:62px;object-fit:cover;border-radius:2px;}
#hpj-root .hpj-side-articles strong{font-size:12px;line-height:1.35;display:block;font-weight:700;color:#244036;}
#hpj-root .hpj-side-articles small{color:#836e54;font-size:10px;margin-top:6px;display:block;}
#hpj-root .hpj-side-topics ul,#hpj-root .hpj-side-related ul{list-style:none;padding:0;margin:0;}
#hpj-root .hpj-side-topics li+li,#hpj-root .hpj-side-related li+li{border-top:1px solid #d4c5ae;}
#hpj-root .hpj-side-topics a{font-size:13px;font-weight:700;color:#29483b;padding:11px 0;display:flex;align-items:center;justify-content:space-between;gap:9px;}
#hpj-root .hpj-side-topics a:hover{color:var(--hpj-bronze);}
#hpj-root .hpj-side-related li a{display:block;font-size:12px;color:#29483b;padding:10px 0;line-height:1.35;}
#hpj-root .hpj-below-related{margin-top:70px;padding-top:31px;border-top:1px solid #d7c7b1;}
#hpj-root .hpj-below-related .hpj-post-card-image{height:190px;}
/* Kategorie, tagi, autorzy, daty i wyniki wyszukiwania — osobny układ atlasu. */
#hpj-root .hpj-archive-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);background:#dfd2bd;border-radius:3px;min-height:290px;overflow:hidden;margin-bottom:22px;}
#hpj-root .hpj-archive-hero>div:first-child{padding:37px 30px 30px 42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;}
#hpj-root .hpj-archive-hero h1{font-size:clamp(36px,3.9vw,55px);margin:12px 0 15px;color:#153c2e;letter-spacing:-1.5px;}
#hpj-root .hpj-archive-hero p,#hpj-root .hpj-archive-description{font-size:15px;color:#345244;line-height:1.6;max-width:680px;}
#hpj-root .hpj-archive-description :is(p,div){color:#345244;margin-bottom:8px;}
#hpj-root .hpj-archive-hero-art{background:linear-gradient(90deg,#dfd2bd 0%,rgba(223,210,189,.2) 21%,transparent 50%),url('../img/hero.webp') center /cover;min-height:250px;}
#hpj-root .hpj-archive-quicknav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:34px;}
#hpj-root .hpj-archive-quicknav strong{font-size:12px;letter-spacing:.5px;color:#5d6355;margin-right:4px;}
#hpj-root .hpj-archive-quicknav a{border:1px solid #c7b699;color:#315141;background:#ede4d5;font-size:12px;font-weight:700;padding:7px 12px;border-radius:2px;}
#hpj-root .hpj-archive-quicknav a:hover{background:var(--hpj-forest);color:#fff;}
#hpj-root .hpj-archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:40px;align-items:start;}
#hpj-root .hpj-post-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr));}
#hpj-root .hpj-post-grid-archive .hpj-post-card-image{height:225px;}
#hpj-root .hpj-post-grid-archive .hpj-post-card-content h3{font-size:22px;}
#hpj-root .hpj-pagination{margin-top:35px;}
#hpj-root .hpj-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
#hpj-root .hpj-pagination .page-numbers{font-size:13px;border:1px solid #cdbba3;padding:10px 13px;background:#f7f0e7;color:#28503e;}
#hpj-root .hpj-pagination .page-numbers.current,#hpj-root .hpj-pagination .page-numbers:hover{background:#224c3a;color:white;}
#hpj-root .hpj-empty{background:#e8ddcd;padding:30px;color:#3d5446;}
#hpj-root .hpj-not-found{min-height:520px;padding-top:100px;text-align:center;}
#hpj-root .hpj-not-found h1{font-size:clamp(36px,4vw,54px);max-width:720px;margin:15px auto;}
#hpj-root .hpj-not-found>p{max-width:610px;margin:12px auto 25px;color:#526459;}
#hpj-root .hpj-not-found-topics{justify-content:center;margin:35px auto;}
/* Stopka stale obecna na każdym typie podstrony. */
#hpj-root .hpj-footer{background:var(--hpj-forest-deep);color:#e8eee8;position:relative;overflow:hidden;padding:45px clamp(28px,5%,70px) 17px;}
#hpj-root .hpj-footer::before{content:"";position:absolute;bottom:0;left:0;right:0;height:90px;opacity:.09;pointer-events:none;background:repeating-linear-gradient(116deg,transparent 0 21px,#e1cfaa 22px 23px,transparent 24px 53px);}
#hpj-root .hpj-footer-grid{position:relative;display:grid;grid-template-columns:minmax(200px,1.3fr) minmax(145px,.85fr) minmax(140px,.85fr) minmax(245px,1.4fr);gap:32px;}
#hpj-root .hpj-footer-logo{display:flex;align-items:center;gap:7px;color:#f8f7f1;}
#hpj-root .hpj-footer-logo:hover{color:#f8f7f1;}
#hpj-root .hpj-footer-logo img{filter:brightness(1.8) saturate(.65);width:59px;height:59px;}
#hpj-root .hpj-footer-logo>span{display:flex;flex-direction:column;}
#hpj-root .hpj-footer-logo strong{font:700 24px/1.05 Georgia,serif;letter-spacing:-.7px;}
#hpj-root .hpj-footer-logo small{font-size:14px;}
#hpj-root .hpj-footer-logo em{font-size:11px;font-style:normal;letter-spacing:.6px;color:#dedecf;}
#hpj-root .hpj-footer-brand>p{font-size:12px;color:#ced8cc;margin-top:13px;max-width:240px;}
#hpj-root .hpj-footer-mini{display:flex;gap:5px;margin-top:16px;}
#hpj-root .hpj-footer-mini img{width:28%;max-width:80px;height:62px;object-fit:cover;border:1px solid rgba(255,255,255,.23);border-radius:2px;}
#hpj-root .hpj-footer-col h2{font:700 16px/1.25 Georgia,serif;color:#fff4e6;margin:4px 0 15px;}
#hpj-root .hpj-footer-col ul{margin:0;padding:0;list-style:none;}
#hpj-root .hpj-footer-col li{margin-bottom:7px;line-height:1.35;}
#hpj-root .hpj-footer-col li a{font-size:12px;color:#e6ede5;}
#hpj-root .hpj-footer-col li a:hover{color:#efd2a9;}
#hpj-root .hpj-footer-follow>p{font-size:13px;color:#d4ded5;line-height:1.6;margin-bottom:15px;}
#hpj-root .hpj-footer-cta{display:inline-flex;align-items:center;gap:15px;font-size:12px;font-weight:750;background:#9b683a;color:#fff;padding:12px 15px;border-radius:2px;}
#hpj-root .hpj-footer-cta:hover{background:#be874e;color:white;}
#hpj-root .hpj-footer-quote{font:italic 17px Georgia,serif;color:#e4c5a0;line-height:1.35;max-width:280px;margin-top:21px;}
#hpj-root .hpj-footer-base{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;position:relative;padding-top:18px;margin-top:35px;border-top:1px solid rgba(239,239,222,.2);font-size:11px;color:#c3d1c6;}
#hpj-root .hpj-statlinks{position:relative;text-align:center;margin-top:18px;padding-top:14px;border-top:1px solid rgba(239,239,222,.14);line-height:1.8;overflow-wrap:anywhere;}
#hpj-root .hpj-statlinks strong{font-weight:600;display:flex;gap:8px 17px;justify-content:center;flex-wrap:wrap;}
#hpj-root .hpj-statlinks span{font-size:11px;color:#f7ead7;}
#hpj-root .hpj-statlinks a{color:#f7ead7;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
#hpj-root .hpj-statlinks a:hover{color:#ffdc9e;}
/* Zawartość z wtyczek: formularze, YARPP i Gutenberg. */
#hpj-root :is(.yarpp-related,.yarpp-related-widget){background:transparent;color:#263c32;}
#hpj-root :is(.wp-block-buttons,.wp-block-columns){max-width:100%;}
#hpj-root .wp-block-button__link{background:var(--hpj-forest);color:white;}
#hpj-root :is(.screen-reader-text,.sr-only){clip:rect(1px,1px,1px,1px);position:absolute;height:1px;width:1px;overflow:hidden;white-space:nowrap;}
@media (max-width:1250px){
  #hpj-root .hpj-header{gap:14px;padding-left:32px;padding-right:32px;}
  #hpj-root .hpj-brand{min-width:230px;}
  #hpj-root .hpj-brand-mark{width:55px;height:55px;}
  #hpj-root .hpj-brand-name{font-size:24px;}
  #hpj-root .hpj-main-nav ul{gap:3px 11px;}
  #hpj-root .hpj-main-nav a{font-size:12px;}
  #hpj-root .hpj-article-layout{gap:27px;}
}
@media (max-width:1100px){
  #hpj-root .hpj-main-nav{display:none;}
  #hpj-root .hpj-header{justify-content:space-between;min-height:90px;}
  #hpj-root .hpj-mobile-menu{display:block;position:relative;}
  #hpj-root .hpj-mobile-menu>summary{cursor:pointer;display:flex;gap:7px;align-items:center;color:#243d32;padding:7px 11px;background:#eae2d4;border:1px solid #cbbb9f;border-radius:2px;list-style:none;font-size:13px;font-weight:750;}
  #hpj-root .hpj-mobile-menu>summary::-webkit-details-marker{display:none;}
  #hpj-root .hpj-mobile-menu>summary span:first-child{font-size:19px;line-height:1;}
  #hpj-root .hpj-mobile-nav{position:absolute;right:0;top:calc(100% + 16px);width:270px;max-width:82vw;max-height:70vh;overflow-y:auto;background:#f7f0e5;border:1px solid #cdbc9f;box-shadow:0 13px 40px rgba(22,38,27,.19);padding:12px;z-index:95;}
  #hpj-root .hpj-mobile-nav ul{list-style:none;padding:0;margin:0;}
  #hpj-root .hpj-mobile-nav a{display:block;padding:10px 12px;border-bottom:1px solid #e6d6c0;color:#294335;font-size:14px;}
  #hpj-root .hpj-mobile-nav a:hover{background:#eee0c9;}
  #hpj-root .hpj-hero-copy{width:66%;}
  #hpj-root .hpj-hero-photo{width:73%;}
  #hpj-root .hpj-topics-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  #hpj-root .hpj-topic-card{height:275px;}
  #hpj-root .hpj-post-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));}
  #hpj-root .hpj-featured-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);}
  #hpj-root .hpj-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:30px;}
  #hpj-root .hpj-article-layout,#hpj-root .hpj-archive-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px;}
  #hpj-root .hpj-side-box{padding:19px 17px;}
}
@media (max-width:800px){
  #hpj-root{margin:0 auto;box-shadow:none;}
  #hpj-root .hpj-topline{padding-left:19px;padding-right:19px;font-size:9px;}
  #hpj-root .hpj-topline-slogan{display:none;}
  #hpj-root .hpj-header{padding:11px 18px;}
  #hpj-root .hpj-brand{min-width:0;}
  #hpj-root .hpj-brand-name{font-size:23px;}
  #hpj-root .hpj-brand-subtitle{font-size:10px;}
  #hpj-root .hpj-hero{min-height:460px;}
  #hpj-root .hpj-hero-copy{width:83%;padding-left:28px;}
  #hpj-root .hpj-hero h1{font-size:clamp(42px,8vw,65px);}
  #hpj-root .hpj-hero-copy>p{font-size:16px;max-width:370px;}
  #hpj-root .hpj-hero-photo{width:80%;opacity:.83;}
  #hpj-root .hpj-hero-stamp{display:none;}
  #hpj-root .hpj-hero-perks{gap:18px;margin-top:35px;}
  #hpj-root .hpj-home-inner{padding-left:20px;padding-right:20px;}
  #hpj-root .hpj-featured-grid{grid-template-columns:1fr;}
  #hpj-root .hpj-feature-secondary{display:grid;grid-template-columns:39% 1fr;}
  #hpj-root .hpj-feature-secondary>a{height:100%;min-height:190px;}
  #hpj-root .hpj-about-band{grid-template-columns:1fr;}
  #hpj-root .hpj-about-copy{padding:34px 26px;}
  #hpj-root .hpj-about-photo{height:250px;}
  #hpj-root .hpj-inner{padding:29px 22px 46px;}
  #hpj-root .hpj-article-layout,#hpj-root .hpj-archive-layout{grid-template-columns:1fr;gap:35px;}
  #hpj-root .hpj-sidebar-stack{position:static;max-height:none;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
  #hpj-root .hpj-side-box{margin-bottom:0;}
  #hpj-root .hpj-archive-hero{grid-template-columns:1fr 32%;}
  #hpj-root .hpj-archive-hero>div:first-child{padding:27px 25px;}
  #hpj-root .hpj-archive-hero h1{font-size:38px;}
  #hpj-root .hpj-post-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:570px){
  #hpj-root .hpj-header{min-height:72px;gap:5px;padding:9px 11px;}
  #hpj-root .hpj-brand-mark{width:47px;height:47px;}
  #hpj-root .hpj-brand-name{font-size:20px;letter-spacing:-1px;}
  #hpj-root .hpj-brand-domain{font-size:12px;}
  #hpj-root .hpj-brand-subtitle{font-size:9px;letter-spacing:.3px;}
  #hpj-root .hpj-header-actions{gap:0;}
  #hpj-root .hpj-search-details>summary{width:31px;}
  #hpj-root .hpj-mobile-menu>summary{font-size:11px;padding:7px;gap:5px;}
  #hpj-root .hpj-mobile-nav{right:0;}
  #hpj-root .hpj-search-form{right:-85px;}
  #hpj-root .hpj-hero{min-height:460px;align-items:flex-end;background:#efe3d1;}
  #hpj-root .hpj-hero-photo{top:0;bottom:auto;width:100%;height:255px;opacity:1;background-image:linear-gradient(180deg,rgba(246,238,225,0) 55%,#f2e5d4 100%),url('../img/hero.webp');background-size:cover,cover;background-position:center,center 35%;}
  #hpj-root .hpj-hero-copy{padding:190px 24px 25px;width:100%;max-width:none;}
  #hpj-root .hpj-hero .hpj-kicker{font-size:9px;}
  #hpj-root .hpj-hero h1{font-size:43px;letter-spacing:-1.6px;margin:9px 0 12px;}
  #hpj-root .hpj-hero-copy>p{font-size:14px;margin-bottom:15px;max-width:330px;}
  #hpj-root .hpj-hero .hpj-button{font-size:12px;padding:10px 15px;}
  #hpj-root .hpj-hero-perks{margin-top:22px;gap:14px;}
  #hpj-root .hpj-hero-perks span{font-size:9px;gap:4px;}
  #hpj-root .hpj-hero-perks i{font-size:21px;}
  #hpj-root .hpj-home-inner{padding-left:14px;padding-right:14px;padding-bottom:27px;}
  #hpj-root .hpj-home-section{margin-top:33px;}
  #hpj-root .hpj-section-head{align-items:flex-start;gap:8px;}
  #hpj-root .hpj-section-head-left{gap:7px;}
  #hpj-root .hpj-section-head h2{font-size:27px;}
  #hpj-root .hpj-head-line,#hpj-root .hpj-section-overline{display:none;}
  #hpj-root .hpj-more{font-size:10px;white-space:normal;text-align:right;max-width:124px;line-height:1.45;}
  #hpj-root .hpj-topics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  #hpj-root .hpj-topic-card{height:218px;}
  #hpj-root .hpj-topic-label{left:9px;bottom:10px;}
  #hpj-root .hpj-topic-label strong{font-size:17px;}
  #hpj-root .hpj-topic-label small{font-size:8px;}
  #hpj-root .hpj-feature-lead{min-height:280px;}
  #hpj-root .hpj-feature-lead-content{width:73%;padding:16px;}
  #hpj-root .hpj-feature-lead h3{font-size:22px;}
  #hpj-root .hpj-feature-lead::before{background:linear-gradient(90deg,rgba(19,45,36,.12) 0%,rgba(15,42,34,.88) 92%);}
  #hpj-root .hpj-feature-secondary{display:block;}
  #hpj-root .hpj-feature-secondary>a{height:154px;min-height:0;}
  #hpj-root .hpj-post-grid-four,#hpj-root .hpj-post-grid-three,#hpj-root .hpj-post-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  #hpj-root .hpj-post-card-image,#hpj-root .hpj-post-grid-archive .hpj-post-card-image{height:135px;}
  #hpj-root .hpj-post-card-content{padding:10px 10px 14px;}
  #hpj-root .hpj-post-card-content h3,#hpj-root .hpj-post-grid-archive .hpj-post-card-content h3{font-size:17px;line-height:1.14;}
  #hpj-root .hpj-post-card-content p{font-size:11px;line-height:1.5;}
  #hpj-root .hpj-label-chip{font-size:8px;padding:5px 7px;}
  #hpj-root .hpj-about-copy{grid-template-columns:1fr;gap:10px;}
  #hpj-root .hpj-about-copy .hpj-kicker{margin-bottom:-5px;}
  #hpj-root .hpj-about-copy h2{font-size:30px;}
  #hpj-root .hpj-inner{padding:22px 16px 39px;}
  #hpj-root .hpj-breadcrumb{font-size:10px;margin-bottom:23px;}
  #hpj-root .hpj-article-head h1{font-size:35px;}
  #hpj-root .hpj-article-meta{font-size:11px;}
  #hpj-root .hpj-article-body{font-size:16px;line-height:1.75;}
  #hpj-root .hpj-article-body h2{font-size:28px;}
  #hpj-root .hpj-article-body h3{font-size:23px;}
  #hpj-root .hpj-article-cover img{max-height:310px;}
  #hpj-root .hpj-sidebar-stack{grid-template-columns:1fr;}
  #hpj-root .hpj-archive-hero{display:block;}
  #hpj-root .hpj-archive-hero-art{height:145px;min-height:0;background-position:center 40%;}
  #hpj-root .hpj-archive-hero h1{font-size:34px;}
  #hpj-root .hpj-archive-description{font-size:14px;}
  #hpj-root .hpj-footer{padding:35px 22px 17px;}
  #hpj-root .hpj-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px;}
  #hpj-root .hpj-footer-brand,#hpj-root .hpj-footer-follow{grid-column:1/-1;}
  #hpj-root .hpj-footer-col li a{font-size:11px;}
  #hpj-root .hpj-footer-base{font-size:10px;}
}
@media (prefers-reduced-motion:reduce){#hpj-root *,#hpj-root *::before,#hpj-root *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important;}}

/* 1.1.0: spójna powierzchnia treści stron i wpisów, kontrastowe elementy. */
#hpj-root .hpj-article-page,
#hpj-root .hpj-article,
#hpj-root .hpj-article-body,
#hpj-root .hpj-paper,
#hpj-root .hpj-archive-page {background-color:var(--hpj-cream);color:var(--hpj-ink);}
#hpj-root .hpj-article-body :is(.wp-block-group:not(.has-background),.wp-block-columns:not(.has-background),.wp-block-column:not(.has-background),.td-post-content,.tdb-block-inner,.tdb-post-content,.tdc-row,.tdc-row-content){background:transparent;color:inherit;}
#hpj-root .hpj-article-body :is(p,li,dt,dd){color:inherit;}
#hpj-root .hpj-article-body .has-background{padding:clamp(12px,2vw,25px);}
#hpj-root .hpj-article-body .has-background:not(.has-text-color):not(.wp-block-cover){color:#24392e;}
#hpj-root .hpj-article-body .wp-block-cover.has-background,
#hpj-root .hpj-article-body .wp-block-cover.has-background :is(p,h2,h3){color:#fff;}
#hpj-root .hpj-article-body :is(a,button,summary,input,textarea):focus-visible{outline:2px solid #995d31;outline-offset:3px;}
#hpj-root .hpj-article-body .wp-block-table{overflow-x:auto;}
#hpj-root .hpj-sidebar-stack{align-self:start;}
