/* EDRACHE – BRITISH ISLES JOURNAL | Newspaper compatible, scoped visual system.
   UWAGA: celowo nie definiujemy tła html/body – ustawienie Background Newspaper pozostaje aktywne. */
.edr-shell {
  --edr-green: #103d34;
  --edr-deep: #092f29;
  --edr-ink: #132b27;
  --edr-muted: #556760;
  --edr-paper: #f5f1e9;
  --edr-paper-darker: #ebe5d9;
  --edr-gold: #bf894e;
  --edr-gold-dark: #89501e;
  --edr-line: #d6ccbc;
  background: var(--edr-paper) !important;
  color: var(--edr-ink);
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  box-shadow: 0 8px 45px rgba(12, 31, 26, .13);
  position: relative;
  isolation: isolate;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
.edr-shell *, .edr-shell *::before, .edr-shell *::after { box-sizing: border-box; }
.edr-shell h1, .edr-shell h2, .edr-shell h3, .edr-shell h4, .edr-shell h5, .edr-shell h6 {
  color: var(--edr-ink); font-family: Georgia, 'Times New Roman', serif; line-height: 1.14; font-weight: 700; letter-spacing: -.025em;
  margin: 0;
}
.edr-shell p { margin: 0 0 1.3em; }
.edr-shell img { display: block; max-width: 100%; }
.edr-shell a { color: #276052; text-decoration: none; transition: color .2s ease, background-color .2s ease, opacity .2s ease; }
.edr-shell a:hover { color: var(--edr-gold-dark); }
.edr-shell :where(a, button, input, textarea, select):focus-visible { outline: 3px solid #c28d51; outline-offset: 3px; }
.edr-shell button, .edr-shell input, .edr-shell textarea { font: inherit; }
.edr-shell button { cursor: pointer; }
.edr-shell :where(strong,b) { font-weight: 700; }
.edr-skip-link { position: absolute; left: 12px; top: -110px; background: #fff; color: #173d35; padding: 12px 16px; z-index: 90000; }
.edr-skip-link:focus { top: 6px; }

/* Header – wspólny dla home, wpisów, stron, kategorii i archiwów */
.edr-topline { min-height: 42px; padding: 8px 27px; color: #f6f0e4; background: var(--edr-deep); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edr-topline-slogan { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 10px; letter-spacing: .21em; white-space: nowrap; }
.edr-rule { display: inline-block; width: 30px; height: 1px; background: var(--edr-gold); }
.edr-topline-links { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.edr-shell .edr-topline-links a { color: #f1ece3; font-size: 11px; font-weight: 600; white-space: nowrap; }
.edr-shell .edr-topline-links a:hover { color: #ecc28c; }
.edr-site-header { min-height: 94px; padding: 14px 28px; display: flex; align-items: center; gap: 19px; position: relative; background: var(--edr-paper); border-bottom: 1px solid rgba(50, 64, 48, .1); z-index: 25; }
.edr-shell .edr-brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--edr-deep); min-width: 247px; }
.edr-brand-compass { flex: 0 0 auto; width: 52px; height: 52px; object-fit: contain; }
.edr-brand-lines { display: flex; flex-direction: column; line-height: 1; }
.edr-brand-lines strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(27px, 2.7vw, 37px); letter-spacing: -.05em; line-height: 1.08; font-weight: 500; }
.edr-brand-lines small { font-size: 8px; letter-spacing: .18em; margin-top: 5px; font-weight: 700; white-space: nowrap; }
.edr-navigation { border-left: 1px solid #c7bbaa; padding-left: 20px; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: space-around; gap: 9px; }
.edr-shell .edr-navigation a { font-size: 12.5px; font-weight: 650; color: #152d28; padding: 11px 3px; white-space: nowrap; }
.edr-shell .edr-navigation a:hover { color: #9c612b; }
.edr-search-toggle, .edr-menu-toggle { border: none; padding: 7px; background: transparent; color: var(--edr-deep); flex: 0 0 auto; }
.edr-search-toggle svg { display: block; }
.edr-search-toggle:hover { color: var(--edr-gold-dark); }
.edr-menu-toggle { display: none; gap: 8px; align-items: center; font-weight: 700; }
.edr-search-form { display: none; position: absolute; right: 20px; top: calc(100% - 5px); width: min(355px, calc(100vw - 44px)); padding: 17px; background: var(--edr-paper); box-shadow: 0 16px 35px rgba(0,0,0,.16); z-index: 40; border: 1px solid var(--edr-line); border-radius: 3px; }
.edr-search-form.is-open { display: block; }
.edr-search-form label, .edr-page-search label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.edr-search-row { display: flex; gap: 6px; align-items: stretch; }
.edr-search-row input { width: 100%; min-width: 0; min-height: 40px; border: 1px solid #b5bfb7; border-radius: 2px; color: #112a25; background: #fffdf8; padding: 10px 12px; }
.edr-search-row button { border: 1px solid var(--edr-green); border-radius: 2px; background: var(--edr-green); color: white; padding: 9px 16px; font-weight: 700; }
.edr-search-row button:hover { background: #235e4d; }
.edr-main { background: var(--edr-paper); }

/* Home – wierne odtworzenie układu projektu */
.edr-homepage { padding: 0 27px 30px; }
.edr-hero { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 9px; }
.edr-hero-primary { position: relative; overflow: hidden; height: 386px; display: block; border-radius: 0 8px 0 0; color: white !important; background: #245344; }
.edr-hero-primary > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 53% center; transform: scale(1); transition: transform .6s ease; }
.edr-hero-primary:hover > img, .edr-hero-mini:hover img, .edr-category-tile:hover img { transform: scale(1.045); }
.edr-hero-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,48,39,.98) 0%,rgba(7,50,43,.89) 27%,rgba(9,43,37,.41) 53%,rgba(9,43,37,.02) 80%); }
.edr-hero-copy { position: absolute; z-index: 1; top: 25px; left: 34px; width: 75%; color: #fbf4e9; }
.edr-kicker { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--edr-gold-dark); }
.edr-hero-copy .edr-kicker { color: #e9bd7e; }
.edr-shell .edr-hero-copy h1 { color: #fff8ec; font-size: clamp(38px, 4.7vw, 53px); font-weight: 600; line-height: .99; max-width: 620px; margin-top: 16px; letter-spacing: -.045em; text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.edr-gold-stroke { display: block; width: 50px; height: 2px; background: var(--edr-gold); margin-top: 16px; }
.edr-hero-copy p { font: italic 19px/1.22 Georgia, serif; margin: 12px 0 14px; color: #fff7ea; }
.edr-shell .edr-hero-cta { background: #b98144; color: #fffaf4; display: inline-flex; gap: 15px; align-items: center; justify-content: center; padding: 10px 19px; border-radius: 2px; font: 700 16px/1.2 Georgia,serif; }
.edr-shell .edr-hero-cta:hover { background: #a56c31; color: #fff; }
.edr-hero-aside { display: grid; grid-template-rows: 1fr 1fr; gap: 9px; }
.edr-hero-mini { min-height: 0; position: relative; display: flex; align-items: end; overflow: hidden; border-radius: 8px; padding: 20px 19px; color: #fff !important; isolation: isolate; }
.edr-hero-mini img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.edr-hero-mini::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,rgba(2,15,12,.85) 0%,transparent 72%); }
.edr-hero-mini strong { font: 700 22px/1.04 Georgia, serif; color: #fff; margin-right: auto; text-shadow: 0 2px 8px #072820; }
.edr-hero-mini > span { font-size: 25px; line-height: 1; font-weight: 300; padding: 0 3px 1px; }
.edr-regions { min-height: 70px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; margin: 0 -27px; padding: 5px 27px; background: #ede7dd; }
.edr-regions a { color: var(--edr-ink); font-family: Georgia,serif; font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; border-right: 1px solid #c5b9a7; }
.edr-regions a:last-child { border-right: none; }
.edr-regions a:hover { color: #95612c; }
.edr-region-symbol { font-size: 31px; font-family: Georgia,serif; font-weight: 400; color: #254e43; line-height: 1; }
.edr-home-categories { padding-top: 26px; }
.edr-section-intro { text-align: center; margin-bottom: 18px; }
.edr-section-deco { color: var(--edr-gold); font-size: 30px; line-height: 1; display: block; }
.edr-shell .edr-section-intro h2 { display: flex; align-items: center; gap: 24px; justify-content: center; font-size: clamp(29px,3.6vw,43px); font-weight: 600; }
.edr-section-intro h2::before, .edr-section-intro h2::after { content: ''; width: 100px; max-width: 14%; height: 1px; background: var(--edr-gold); }
.edr-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.edr-category-tile { height: 162px; position: relative; overflow: hidden; display: block; border-radius: 8px; background: #2d4a40; color: white !important; isolation: isolate; }
.edr-category-tile > img { width: 100%; height: 100%; position: absolute; object-fit: cover; inset: 0; z-index: -2; transition: transform .5s ease; }
.edr-category-tile::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(5,22,17,.94) 0%,rgba(5,25,20,.18) 68%,transparent 100%); }
.edr-category-overlay { position: absolute; bottom: 14px; left: 17px; right: 16px; display: flex; align-items: center; gap: 11px; }
.edr-tile-icon { display: inline-block; font: 33px/1 Georgia,serif; width: 34px; text-align: center; color: #fff2d7; }
.edr-category-overlay strong { color: #fff !important; font: 700 19px/1.1 Georgia,serif; max-width: 205px; margin-right: auto; }
.edr-tile-arrow { font-size: 24px; line-height: 1; }
.edr-latest { padding-top: 28px; }
.edr-section-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.edr-shell .edr-section-heading h2 { font-size: clamp(29px,3.5vw,39px); font-weight: 600; flex: 0 0 auto; }
.edr-line-grow { flex: 1 1 auto; border-top: 1px solid #b5a68f; margin-top: 8px; }
.edr-shell .edr-section-heading > a { color: #804b25; font: 600 13px/1.2 Georgia,serif; white-space: nowrap; }
.edr-shell .edr-section-heading > a:hover { color: #315348; }
.edr-latest-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.45fr); gap: 18px; }
.edr-latest-featured { min-height: 290px; display: block; position: relative; overflow: hidden; border-radius: 7px; color: #fff !important; isolation: isolate; }
.edr-latest-featured img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.edr-latest-featured:hover img { transform: scale(1.045); }
.edr-latest-featured::after { content: ''; inset: 0; position: absolute; z-index: -1; background: linear-gradient(0deg,rgba(7,34,27,.9),rgba(7,34,27,.10) 65%); }
.edr-featured-label { position: absolute; top: 15px; left: 16px; padding: 6px 11px; color: white; background: #103e32; border-radius: 2px; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .12em; max-width: calc(100% - 30px); }
.edr-latest-featured-info { display: block; position: absolute; bottom: 19px; left: 19px; right: 20px; }
.edr-latest-featured-info strong { display: block; color: white; font: 700 clamp(21px,2.3vw,31px)/1.1 Georgia,serif; }
.edr-latest-featured-info time { display: block; margin-top: 10px; font-size: 12px; color: #f5eee4; }
.edr-latest-small-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); column-gap: 15px; row-gap: 14px; }
.edr-latest-small { display: grid; grid-template-columns: minmax(72px,.81fr) minmax(0,1fr); gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #e0d7c9; min-width: 0; }
.edr-latest-small-img { display: block; overflow: hidden; border-radius: 6px; align-self: stretch; min-height: 125px; }
.edr-latest-small-img img { width: 100%; height: 100%; object-fit: cover; }
.edr-latest-small-copy { align-self: center; min-width: 0; }
.edr-overline { display: block; color: #8d4f21; text-transform: uppercase; font-size: 10px; line-height: 1.3; font-weight: 800; letter-spacing: .12em; margin-bottom: 6px; }
.edr-shell .edr-latest-small h3 { font-size: clamp(14px,1.45vw,18px); letter-spacing: -.026em; }
.edr-shell .edr-latest-small h3 a { color: var(--edr-ink); }
.edr-shell .edr-latest-small h3 a:hover { color: #8d552b; }
.edr-latest-small-copy time { color: #4d594f; font-size: 10px; display: block; margin-top: 8px; }

/* Wewnętrzne podstrony: JEDNO jednolite kremowe tło – żadnych białych kart pod treścią */
.edr-inner-page { padding: 27px 36px 58px; background: var(--edr-paper) !important; min-height: 470px; }
.edr-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: #697770; font-size: 12px; padding-bottom: 23px; }
.edr-shell .edr-breadcrumb a { color: #436a5d; }
.edr-shell .edr-breadcrumb span[aria-current] { color: #56635b; }
.edr-page-heading { border-bottom: 1px solid var(--edr-line); margin-bottom: 28px; padding: 6px 0 26px; }
.edr-shell .edr-page-heading h1 { font-size: clamp(32px,4.4vw,51px); font-weight: 600; max-width: 860px; margin-top: 10px; }
.edr-page-heading .edr-archive-description { font-size: 16px; line-height: 1.75; max-width: 850px; color: #41534a; margin-top: 13px; }
.edr-page-heading .edr-archive-description p { margin: 0 0 7px; }
.edr-content-with-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 292px; align-items: start; gap: 36px; }
.edr-primary-area { min-width: 0; background: transparent !important; }
.edr-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 31px 21px; }
.edr-post-card { display: block; min-width: 0; background: transparent !important; }
.edr-post-card-photo { display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 1.66; background: #d8d0c0; }
.edr-post-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.edr-post-card-photo:hover img { transform: scale(1.04); }
.edr-post-card-info { padding-top: 12px; }
.edr-shell .edr-post-card h2 { font-size: clamp(21px,2.1vw,27px); margin-bottom: 9px; }
.edr-shell .edr-post-card h2 a { color: var(--edr-ink); }
.edr-shell .edr-post-card h2 a:hover { color: #9c602e; }
.edr-post-card p { color: #46594d; font-size: 13.5px; line-height: 1.62; margin: 0 0 8px; }
.edr-post-card time { color: #68736d; font-size: 12px; }
.edr-pagination { margin-top: 34px; }
.edr-pagination .nav-links, .edr-index-pagination { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.edr-shell .edr-pagination a, .edr-shell .edr-pagination span, .edr-shell .edr-index-pagination a, .edr-shell .edr-index-pagination span { display: inline-flex; min-width: 37px; height: 37px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #cabca9; color: #244d40; font-size: 12px; }
.edr-shell .edr-pagination .current, .edr-shell .edr-index-pagination .current { color: white; border-color: var(--edr-green); background: var(--edr-green); }

/* Artykuł / Strona */
.edr-article-heading { margin: 0 0 23px; }
.edr-article-kicker { margin-bottom: 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.edr-shell .edr-article-kicker a { color: var(--edr-gold-dark); }
.edr-shell .edr-article-heading h1 { font-size: clamp(32px,3.7vw,49px); margin-bottom: 14px; font-weight: 600; }
.edr-post-meta { color: #59655c; display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.edr-article-cover { margin: 0 0 28px; }
.edr-article-cover img { width: 100%; height: auto; border-radius: 6px; }
.edr-entry, .edr-entry :where(p,li,td,th,span) { color: #263c35; }
.edr-entry { font-family: Georgia, 'Times New Roman',serif; font-size: 18px; line-height: 1.78; background: transparent !important; }
.edr-entry p { margin: 0 0 1.35em; }
.edr-entry :where(h2,h3,h4,h5,h6) { scroll-margin-top: 26px; }
.edr-shell .edr-entry h2 { font-size: clamp(27px,2.8vw,34px); margin: 1.4em 0 .6em; }
.edr-shell .edr-entry h3 { font-size: clamp(23px,2.2vw,27px); margin: 1.25em 0 .55em; }
.edr-shell .edr-entry h4 { font-size: 22px; margin: 1.1em 0 .5em; }
.edr-entry a { color: #155d48; text-decoration: underline; text-decoration-color: #b6ae8c; text-underline-offset: 3px; }
.edr-entry a:hover { color: #8d5625; }
.edr-entry ul, .edr-entry ol { padding-left: 1.7em; margin: 0 0 1.4em; }
.edr-entry li { margin: .3em 0; }
.edr-entry blockquote { border-left: 3px solid var(--edr-gold); background: rgba(218,205,181,.26); padding: 20px 23px; margin: 24px 0; font-style: italic; }
.edr-entry blockquote p:last-child { margin-bottom: 0; }
.edr-entry :where(img,iframe,video,embed,figure) { max-width: 100%; }
.edr-entry img { height: auto; }
.edr-entry figure { margin: 20px 0 28px; }
.edr-entry figcaption, .edr-entry .wp-caption-text { color: #647066; font: 12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; margin-top: 8px; }
.edr-entry table { border-collapse: collapse; display: block; max-width: 100%; overflow-x: auto; margin: 25px 0; }
.edr-entry td, .edr-entry th { padding: 10px 13px; border: 1px solid #cfc3b3; }
.edr-entry th { background: #e8dece; color: #172f27; }
.edr-entry .wp-block-table table { display: table; width: 100%; }
.edr-entry :where(.td-post-content,.td_block_wrap,.tdc-row,.tdc-row-composer,.wp-block-post-content) { background: transparent !important; }
.edr-entry .aligncenter { margin-left: auto; margin-right: auto; }
.edr-entry .alignleft { float: left; margin: 6px 22px 12px 0; }
.edr-entry .alignright { float: right; margin: 6px 0 12px 22px; }
.edr-entry::after { content: ''; display: table; clear: both; }
.edr-post-bottom-tags { padding: 19px 0; margin: 25px 0; border-top: 1px solid var(--edr-line); border-bottom: 1px solid var(--edr-line); font-size: 13px; }
.edr-post-bottom-tags span { font-weight: 700; }
.edr-related { margin-top: 27px; }
.edr-shell .edr-related h2 { font-size: 29px; margin-bottom: 15px; }
.edr-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.edr-related-grid img { width: 100%; height: 112px; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.edr-shell .edr-related-grid a strong { display: block; color: var(--edr-ink); font: 700 15px/1.3 Georgia,serif; }
.edr-shell .edr-related-grid a:hover strong { color: #895127; }
.edr-entry-pages { padding: 14px 0; }

/* Sidebar – tylko Na skróty ma własny pasek przewijania */
.edr-sidebar { min-width: 0; overflow: visible !important; max-height: none !important; background: transparent !important; }
.edr-sidebar-box { background: #ebe5d8; border: 1px solid #ddd3c3; padding: 19px 19px 18px; margin-bottom: 16px; border-radius: 4px; overflow: visible; }
.edr-shell .edr-sidebar-box h2 { font-size: 22px; padding-left: 12px; border-left: 3px solid var(--edr-gold); margin-bottom: 13px; }
.edr-sidebar-intro { font-size: 11px; color: #54665d; margin: -3px 0 8px !important; }
.edr-toc-scroll { overflow-y: auto; overflow-x: hidden; max-height: 356px; scrollbar-width: thin; scrollbar-color: #b98b55 #e6ddce; padding: 0 4px 0 0; }
.edr-toc-scroll::-webkit-scrollbar { width: 6px; }
.edr-toc-scroll::-webkit-scrollbar-thumb { background: #b98b55; border-radius: 6px; }
.edr-toc-scroll::-webkit-scrollbar-track { background: #e6ddce; }
.edr-shell .edr-toc-scroll a { display: block; padding: 7px 8px 7px 11px; border-left: 2px solid #bdc4b9; margin-bottom: 2px; color: #274a3f; font-size: 12px; line-height: 1.42; }
.edr-shell .edr-toc-scroll a:hover, .edr-shell .edr-toc-scroll a.is-active { border-color: var(--edr-gold); background: #e0d7c9; color: #162e25; }
.edr-shell .edr-toc-scroll a.edr-toc-h3 { margin-left: 9px; font-size: 11px; }
.edr-toc-empty { font-size: 12px; color: #65726a; margin-bottom: 0 !important; }
.edr-sidebar-list, .edr-sidebar-category-list { list-style: none; margin: 0; padding: 0; }
.edr-sidebar-list li { padding: 9px 0; border-bottom: 1px solid #d9cfc0; }
.edr-sidebar-list li:first-child { padding-top: 0; }
.edr-sidebar-list li:last-child { border: 0; padding-bottom: 0; }
.edr-shell .edr-sidebar-list a { color: #1d473b; font-size: 13px; line-height: 1.4; font-weight: 650; display: block; }
.edr-shell .edr-sidebar-list a:hover { color: #855529; }
.edr-sidebar-list small { display: block; color: #708076; font-size: 10px; margin-top: 3px; }
.edr-sidebar-category-list li { border-bottom: 1px solid #d9cfc0; }
.edr-sidebar-category-list li:last-child { border: none; }
.edr-shell .edr-sidebar-category-list a { font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #21483c; padding: 9px 0; }
.edr-sidebar-category-list span { color: #945d2c; }
.edr-sidebar-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.edr-shell .edr-sidebar-tags a { display: inline-block; padding: 5px 9px; border: 1px solid #bfb3a0; background: #f5f0e7; color: #224c40; font-size: 11px; border-radius: 3px; }
.edr-shell .edr-sidebar-tags a:hover { background: #e1d4bf; }

/* Komentarze bez białej podkładki */
.edr-comments { margin-top: 35px; border-top: 1px solid var(--edr-line); padding-top: 24px; background: transparent !important; }
.edr-shell .edr-comments h2 { font-size: 27px; margin-bottom: 18px; }
.edr-comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.edr-comment-list li { padding: 15px 0; border-bottom: 1px solid #dcd2c4; list-style: none; }
.edr-comment-list .children { margin-left: 20px; }
.edr-comments .comment-author, .edr-comments .comment-metadata { font-size: 13px; }
.edr-comments .comment-content { margin-top: 12px; font: 15px/1.55 Georgia,serif; }
.edr-comments .comment-form label { display: block; font-weight: 650; margin: 8px 0 5px; }
.edr-comments .comment-form :where(textarea,input:not([type=submit])) { background: #fffdf8; border: 1px solid #c5b9a9; width: 100%; max-width: 100%; border-radius: 3px; padding: 10px; color: #1d3029; }
.edr-comments .comment-form input[type=checkbox] { width: auto; }
.edr-comments .comment-form input[type=submit] { background: var(--edr-green); color: #fff; border: 0; padding: 11px 19px; }

/* Wbudowane: Kontakt / Spis treści / Kategorie / Nawigacja */
.edr-virtual-content { color: #31463c; font-size: 16px; line-height: 1.75; }
.edr-shell .edr-virtual-content h2 { font-size: 27px; margin: 5px 0 15px; }
.edr-index-categories { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 16px 0 30px; }
.edr-shell .edr-index-categories a { display: flex; justify-content: space-between; align-items: center; gap: 9px; border: 1px solid #d4c5b5; background: #eee6d9; padding: 16px; color: #21483a; font-size: 14px; }
.edr-index-categories small { white-space: nowrap; color: #566c5b; font-size: 11px; }
.edr-shell .edr-mailto { color: #8d4b21; font-size: 18px; font-weight: 700; }
.edr-index-posts { list-style-position: outside; margin: 0 0 27px; padding-left: 24px; }
.edr-index-posts li { padding: 8px 0; border-bottom: 1px solid #dfd5c6; }
.edr-shell .edr-index-posts li a { color: #224d40; font-weight: 650; }
.edr-index-posts time { display: block; color: #6b7b6c; font-size: 11px; }
.edr-index-links { margin: 4px 0 24px; }
.edr-index-links a { font-weight: 650; }
.edr-page-search { margin: 10px 0 32px; }
.edr-empty { background: #e8dfd0; padding: 25px; color: #345144; }
.edr-404 { padding: 70px 15px 90px; text-align: center; }
.edr-shell .edr-404 h1 { font-size: clamp(34px,5vw,52px); margin: 12px 0; }
.edr-404 p { max-width: 540px; margin: 0 auto 25px; }

/* Promo + footer – te same na WSZYSTKICH typach podstron */
.edr-footer-banner { height: 177px; overflow: hidden; position: relative; isolation: isolate; color: white; background: #265142; }
.edr-footer-banner > img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; inset: 0; }
.edr-footer-banner::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(8,52,42,.98),rgba(11,53,41,.84) 26%,rgba(11,52,42,.25) 62%,rgba(8,39,31,.02)); }
.edr-banner-content { padding: 26px 0 25px 62px; }
.edr-banner-content .edr-kicker { color: #e1bb82; font-size: 9px; }
.edr-shell .edr-banner-content h2 { color: #fffaf0; font-size: clamp(27px,3.5vw,40px); font-style: italic; line-height: .99; margin-top: 7px; text-shadow: 0 2px 6px #06251f; }
.edr-banner-content .edr-gold-stroke { margin-top: 16px; }
.edr-footer { background: var(--edr-deep); color: #f6f0e7; padding: 27px 31px 16px; }
.edr-footer-grid { display: grid; grid-template-columns: 1.35fr 1.1fr 1.14fr .8fr; gap: 24px; padding-bottom: 20px; }
.edr-footer-grid > :not(:last-child) { border-right: 1px solid rgba(212,176,125,.65); padding-right: 19px; }
.edr-shell .edr-brand-light { min-width: 0; color: #f6f1e7 !important; }
.edr-brand-light .edr-brand-lines strong { font-size: 34px; }
.edr-brand-light .edr-brand-lines small { font-size: 7px; }
.edr-shell .edr-footer h2 { color: #d4a266; text-transform: uppercase; font: 800 10px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; letter-spacing: .14em; margin-bottom: 9px; }
.edr-footer-pairs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 11px; row-gap: 5px; }
.edr-shell .edr-footer a { color: #f2eee6; font-size: 12px; line-height: 1.5; }
.edr-shell .edr-footer a:hover { color: #e7b87d; }
.edr-footer-brief p { color: #f1e9d9; font-size: 12px; line-height: 1.48; margin: 0; }
.edr-footer-more a { display: block; margin-bottom: 5px; }
.edr-footer-statlink { border-top: 1px solid rgba(220,203,175,.4); padding: 14px 3px; text-align: center; color: #f9f3e8; line-height: 1.8; }
.edr-footer-statlink b { font-weight: 600; }
.edr-shell .edr-footer-statlink a { color: #ffedd1 !important; text-decoration: underline; text-underline-offset: 3px; }
.edr-footer-separator { padding: 0 6px; color: #bb966a; }
.edr-footer-bottom { border-top: 1px solid rgba(220,203,175,.6); padding-top: 14px; font-size: 11px; display: flex; justify-content: space-between; gap: 15px; color: #eee6d8; }
.edr-footer-bottom a { font-size: 11px !important; }
.edr-footer-bottom span span { display: inline-block; margin: 0 8px; color: #a6b5a8; }

/* Kompatybilność z typowymi wtyczkami i blokami WP, bez zmiany tła motywu */
.edr-shell .screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; width: 1px; white-space: nowrap; }
.edr-shell .screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; padding: 10px; background: #fff; z-index: 10; }
.edr-shell iframe { max-width: 100%; }
.edr-shell .wp-block-image { background: transparent; }
.edr-shell .wp-block-button__link { background: var(--edr-green); color: #fff; border-radius: 3px; }
.edr-shell .wp-block-button__link:hover { background: #236149; color: white; }

@media (max-width: 1110px) {
  .edr-topline { justify-content: center; gap: 25px; }
  .edr-topline-slogan { font-size: 9px; }
  .edr-site-header { gap: 12px; padding: 13px 19px; }
  .edr-shell .edr-brand { min-width: 204px; }
  .edr-brand-lines strong { font-size: 29px; }
  .edr-brand-compass { width: 45px; height: 45px; }
  .edr-brand-lines small { font-size: 7px; }
  .edr-navigation { padding-left: 10px; gap: 6px; }
  .edr-shell .edr-navigation a { font-size: 11px; }
  .edr-hero-copy { left: 26px; }
  .edr-shell .edr-hero-copy h1 { font-size: 44px; }
  .edr-latest-layout { gap: 13px; }
  .edr-latest-small { gap: 9px; }
}
@media (max-width: 920px) {
  .edr-topline { flex-direction: column; gap: 6px; padding: 8px 12px; }
  .edr-topline-links { justify-content: center; }
  .edr-site-header { flex-wrap: wrap; min-height: 80px; }
  .edr-shell .edr-brand { margin-right: auto; }
  .edr-menu-toggle { display: inline-flex; }
  .edr-navigation { display: none; order: 5; flex: 1 0 100%; border: none; border-top: 1px solid #ded6c9; padding: 10px 0; margin: 7px 0 -3px; grid-template-columns: repeat(3,1fr); gap: 4px; }
  .edr-navigation.is-open { display: grid; }
  .edr-shell .edr-navigation a { font-size: 13px; padding: 10px; background: #ebe3d6; }
  .edr-hero { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); }
  .edr-hero-primary { height: 340px; }
  .edr-shell .edr-hero-copy h1 { font-size: 39px; }
  .edr-hero-copy { top: 20px; }
  .edr-hero-mini strong { font-size: 18px; }
  .edr-latest-layout { grid-template-columns: 1fr; }
  .edr-latest-featured { min-height: 265px; }
  .edr-latest-small-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edr-latest-small-img { min-height: 115px; }
  .edr-content-with-sidebar { grid-template-columns: minmax(0,1fr) 242px; gap: 22px; }
  .edr-sidebar-box { padding: 15px; }
  .edr-shell .edr-sidebar-box h2 { font-size: 19px; }
  .edr-footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .edr-footer-more { display: none; }
  .edr-footer-grid > :nth-child(3) { border-right: 0; }
}
@media (max-width: 700px) {
  .edr-homepage { padding: 0 15px 24px; }
  .edr-topline-slogan { white-space: normal; text-align: center; letter-spacing: .1em; }
  .edr-topline-links { gap: 13px; }
  .edr-site-header { padding: 11px 15px; }
  .edr-hero { grid-template-columns: 1fr; }
  .edr-hero-primary { height: 365px; border-radius: 6px; }
  .edr-hero-copy { top: 26px; width: 90%; }
  .edr-shell .edr-hero-copy h1 { font-size: clamp(36px,8vw,47px); }
  .edr-hero-aside { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .edr-hero-mini { height: 148px; padding: 15px; }
  .edr-hero-mini strong { font-size: 17px; }
  .edr-regions { grid-template-columns: repeat(2,1fr); margin: 9px -15px 0; padding: 7px 10px; gap: 3px; }
  .edr-regions a:nth-child(2) { border-right: 0; }
  .edr-regions a { font-size: 11px; justify-content: center; gap: 9px; }
  .edr-region-symbol { font-size: 24px; }
  .edr-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edr-category-tile { height: 150px; }
  .edr-category-overlay { bottom: 12px; left: 10px; right: 10px; gap: 5px; }
  .edr-category-overlay strong { font-size: 16px; }
  .edr-tile-icon { font-size: 24px; width: 24px; }
  .edr-section-heading { gap: 8px; flex-wrap: wrap; }
  .edr-section-heading h2 { font-size: 28px !important; }
  .edr-latest-layout { gap: 12px; }
  .edr-inner-page { padding: 20px 20px 35px; }
  .edr-content-with-sidebar { grid-template-columns: 1fr; gap: 30px; }
  .edr-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .edr-sidebar-box { margin: 0; }
  .edr-toc-box { grid-column: 1 / -1; }
  .edr-toc-scroll { max-height: 420px; }
  .edr-entry { font-size: 17px; }
  .edr-footer-banner { height: 162px; }
  .edr-banner-content { padding: 20px 20px; }
  .edr-footer-grid { grid-template-columns: 1fr 1fr; }
  .edr-footer-grid > :nth-child(2) { border-right: 0; }
  .edr-footer-brief { border-right: 0 !important; grid-column: 1 / -1; }
  .edr-footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .edr-shell .edr-brand { min-width: 0; gap: 5px; }
  .edr-brand-compass { width: 35px; height: 35px; }
  .edr-brand-lines strong { font-size: 25px; }
  .edr-brand-lines small { font-size: 6px; letter-spacing: .11em; }
  .edr-menu-toggle { font-size: 12px; }
  .edr-site-header { gap: 7px; }
  .edr-navigation.is-open { grid-template-columns: repeat(2, 1fr); }
  .edr-shell .edr-navigation a { font-size: 12px; }
  .edr-hero-primary { height: 345px; }
  .edr-hero-copy { top: 20px; left: 17px; width: 94%; }
  .edr-hero-copy .edr-kicker { font-size: 8px; }
  .edr-shell .edr-hero-copy h1 { margin-top: 20px; font-size: 35px; }
  .edr-hero-copy p { font-size: 17px; }
  .edr-hero-mini strong { font-size: 15px; }
  .edr-hero-mini { padding: 9px; height: 117px; }
  .edr-region-symbol { font-size: 20px; }
  .edr-regions a { font-size: 9px; letter-spacing: .04em; }
  .edr-category-grid { gap: 8px; }
  .edr-category-tile { height: 118px; }
  .edr-category-overlay strong { font-size: 14px; }
  .edr-tile-icon { font-size: 19px; width: 19px; }
  .edr-tile-arrow { font-size: 16px; }
  .edr-section-intro h2::before,.edr-section-intro h2::after { width: 18px; }
  .edr-shell .edr-section-intro h2 { font-size: 28px; gap: 9px; }
  .edr-line-grow { display: none; }
  .edr-latest-small-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .edr-latest-small { grid-template-columns: 110px 1fr; }
  .edr-latest-small-img { min-height: 96px; }
  .edr-shell .edr-latest-small h3 { font-size: 17px; }
  .edr-post-grid { grid-template-columns: 1fr; }
  .edr-sidebar { grid-template-columns: 1fr; }
  .edr-related-grid { grid-template-columns: 1fr 1fr; }
  .edr-related-grid img { height: 100px; }
  .edr-index-categories { grid-template-columns: 1fr; }
  .edr-footer { padding: 22px 19px 16px; }
  .edr-footer-grid { gap: 20px 12px; }
  .edr-shell .edr-brand-light { min-width: 0; }
  .edr-brand-light .edr-brand-lines strong { font-size: 27px; }
  .edr-footer-grid > :first-child { border-right: 0; grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .edr-shell *, .edr-shell *::before, .edr-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Formularz kontaktu – adres administracyjny nie jest ujawniany publicznie. */
.edr-contact-form { max-width: 640px; padding: 18px 0 25px; }
.edr-contact-field { margin-bottom: 18px; }
.edr-contact-field label { display: block; margin-bottom: 6px; color: #223f35; font-size: 13px; font-weight: 750; }
.edr-contact-field input, .edr-contact-field textarea { display: block; width: 100%; background: #fffdf8; border: 1px solid #cbbfad; border-radius: 3px; padding: 12px; color: #1d352b; font-size: 15px; }
.edr-contact-field textarea { resize: vertical; min-height: 145px; }
.edr-contact-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.edr-contact-submit { background: var(--edr-green); border: 1px solid var(--edr-green); padding: 11px 21px; border-radius: 3px; color: white; font-weight: 750; }
.edr-contact-submit:hover { background: #275c4d; }
.edr-contact-notice { background: #e4dacb; color: #5f371b; padding: 13px 17px; border-left: 3px solid var(--edr-gold); font-size: 14px; margin: 0 0 15px; }
.edr-contact-notice.is-success { color: #154b3b; }
