/*
Theme Name: Fundacja Estetic — Strefa Wiedzy
Theme URI: https://fundacjaestetic.com
Author: NextGen Web Studio
Description: Motyw Strefy Wiedzy zintegrowany z Fundacją Estetic i standardowymi wpisami.
Version: 1.1.4
Requires PHP: 7.4
Text Domain: fundacja-estetic-blog
*/
:root{--navy:#0b2443;--navy2:#11385e;--ink:#102c4d;--gold:#edb940;--teal:#09aaa7;--paper:#f5f9fb;--line:#dce6ee;--muted:#49637b;--max:1210px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:84px}body{margin:0;background:white;color:var(--ink);font:16px/1.66 Inter,Segoe UI,Arial,sans-serif;overflow-x:hidden}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{transition:background .18s,color .18s,transform .18s}a:hover{text-decoration:underline}button{cursor:pointer}:focus-visible{outline:3px solid #f2c65e;outline-offset:3px}.feb-wrap{width:min(var(--max),calc(100% - 44px));margin:auto}.feb-skip{position:absolute;top:-80px;left:15px;z-index:9999;background:white;color:var(--navy);padding:9px 17px}.feb-skip:focus{top:10px}.feb-sr{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Matching site header */
.feb-header{position:sticky;top:0;z-index:200;background:#0b2443;color:#fff;box-shadow:0 8px 18px #09274816}.feb-header-inner{min-height:72px;display:flex;align-items:center;gap:20px}.feb-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.feb-brand:hover{text-decoration:none}.feb-brand img{width:54px;height:54px;object-fit:contain;border-radius:50%;background:white;padding:4px}.feb-brand small{display:block;color:var(--gold);font:900 9px/1.05 Inter,Arial,sans-serif;letter-spacing:.21em}.feb-brand strong{display:block;font:700 21px/1.1 Georgia,serif;letter-spacing:.07em}.feb-menu{display:flex;align-items:center;justify-content:center;gap:19px;margin-left:auto;font-size:13px;font-weight:800}.feb-menu a{opacity:.95;white-space:nowrap}.feb-menu a:hover,.feb-menu a.current{color:#f8d67a;text-decoration:none}.feb-head-cta{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(120deg,#f2c459,#dda62f);color:#0e2846;border-radius:11px;font-weight:900;font-size:13px;padding:10px 15px}.feb-head-cta:hover,.feb-hero-button:hover{filter:brightness(1.08);transform:translateY(-1px);text-decoration:none}.feb-menu-toggle{display:none;border:0;background:transparent;width:36px;padding:3px}.feb-menu-toggle span{display:block;height:2px;background:#fff;margin:6px 0;width:23px}
/* Familiar navy & gold hero with the same sunset image */
.feb-hero{position:relative;isolation:isolate;overflow:hidden;background:#0b2443;color:#fff;padding:104px 0 90px}.feb-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,27,51,.92),rgba(7,27,51,.76) 53%,rgba(7,27,51,.48)),url('assets/hero-fundacja.webp') center/cover no-repeat}.feb-hero>.feb-wrap{position:relative;z-index:1;max-width:990px}.feb-eyebrow{display:block;color:#e5ae38;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:900}.feb-hero h1{font:700 clamp(38px,5.6vw,63px)/1.07 Georgia,serif;letter-spacing:-.025em;max-width:850px;margin:17px 0}.feb-hero p{color:#e8edf4;font-size:19px;max-width:680px;margin:0 0 29px}.feb-hero-button{display:inline-block;background:linear-gradient(135deg,#f2c75d,#e5ae37);color:#0a2d52;border-radius:12px;padding:12px 20px;font-weight:900}.feb-hero-small{padding:70px 0 74px}.feb-hero-small h1{font-size:clamp(38px,4.5vw,52px)}
.feb-main{padding:68px 0 90px}.feb-section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px}.feb-section-heading h2{font:700 clamp(34px,4vw,49px)/1.1 Georgia,serif;margin:10px 0}.feb-section-heading p{color:var(--muted);margin:0;font-size:17px}.feb-search{display:flex;flex-shrink:0;border:1px solid #ccdce6;border-radius:12px;overflow:hidden;background:white;min-height:50px;align-self:end}.feb-search input{width:200px;padding:10px 12px;border:0;min-width:0;outline:0;color:var(--ink)}.feb-search button{border:0;background:#0b315c;color:#fff;font-weight:800;padding:9px 15px}.feb-search button:hover{background:#075269}
.feb-filters{display:flex;gap:9px;flex-wrap:wrap;margin:36px 0 30px}.feb-filter{border:1px solid #d2e1e9;background:#fff;color:#294960;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:800}.feb-filter:hover,.feb-filter.selected{background:#0b345c;color:white;border-color:#0b345c;text-decoration:none}
.feb-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.feb-post-card{border:1px solid #dbe6ed;border-radius:22px;box-shadow:0 12px 27px rgba(7,32,61,.06);overflow:hidden;background:white;display:flex;flex-direction:column;min-height:426px}.feb-post-card:hover{box-shadow:0 19px 38px rgba(7,32,61,.11);transform:translateY(-2px)}.feb-post-image{height:195px;display:block;overflow:hidden;background:linear-gradient(145deg,#0b345c,#105d77)}.feb-post-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.feb-post-card:hover .feb-post-image img{transform:scale(1.025)}.feb-image-fallback{display:grid;place-items:center;height:100%;background:radial-gradient(circle at 78% 28%,#e8bd61,transparent 36%),linear-gradient(135deg,#072647,#0b5275);color:#fff;text-align:center;font:700 28px/.9 Georgia,serif;letter-spacing:.12em}.feb-post-content{padding:20px 22px 18px;display:flex;flex:1;flex-direction:column}.feb-post-cats{color:#009da0;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.feb-post-content h2{font:700 23px/1.2 Georgia,serif;color:#0c294a;margin:10px 0 12px}.feb-post-content h2 a:hover{color:#0d8c91;text-decoration:none}.feb-post-content>p{color:#425d72;font-size:15px;margin:0 0 21px;flex:1}.feb-post-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf2f5;padding-top:13px;font-size:12px;color:#61788c}.feb-post-bottom a{font-weight:900;color:#068b92}.feb-empty{grid-column:1/-1;border:1px solid #dbe6ed;border-radius:20px;background:#f6fafb;padding:33px}.feb-empty h3{font:700 24px Georgia,serif;margin:0 0 10px}.feb-empty p{color:var(--muted)}.feb-empty a{font-weight:900;color:#067e89}.navigation.pagination{margin-top:35px}.nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.page-numbers{padding:8px 13px;background:#f2f6fa;border-radius:9px;font-weight:800}.page-numbers.current,.page-numbers:hover{background:#0b345c;color:white}.feb-info{background:#f6fafb;padding:30px 0 42px}.feb-info>.feb-wrap{border-left:4px solid #e7ae38;padding-left:20px}.feb-info strong{font-size:17px}.feb-info p{color:#49637b;max-width:950px;margin:6px 0}
/* Real article view */
.feb-article-main{background:linear-gradient(#f5f9fb 0,white 420px)}.feb-article{max-width:1010px;padding:52px 0 95px}.feb-breadcrumb{font-size:12px;color:#537089;display:flex;gap:9px;flex-wrap:wrap;max-width:100%;margin:0 0 42px}.feb-breadcrumb span[aria-current]{overflow-wrap:anywhere}.feb-breadcrumb a{font-weight:700;color:#037b83}.feb-article-head h1{font:700 clamp(38px,5vw,59px)/1.07 Georgia,serif;letter-spacing:-.023em;margin:11px 0 20px}.feb-byline{display:flex;gap:18px;flex-wrap:wrap;color:#49667e;font-size:13px;padding-bottom:27px}.feb-article-hero{width:100%;height:auto;max-height:500px;object-fit:cover;border-radius:25px}.feb-article-body{font-size:18px;line-height:1.85;max-width:800px;margin:36px auto}.feb-article-body h2{font:700 33px/1.2 Georgia,serif;margin:32px 0 14px}.feb-article-body h3{font-size:24px;line-height:1.3}.feb-article-body a{color:#087e88;text-decoration:underline}.feb-article-body img{border-radius:14px;height:auto}.feb-article-body figure{margin:26px auto}.feb-article-body blockquote{border-left:4px solid var(--gold);padding:7px 23px;margin:25px 0;background:#f7f9fa}.feb-article-body table{border-collapse:collapse;display:block;max-width:100%;overflow-x:auto}.feb-article-body th,.feb-article-body td{border:1px solid var(--line);padding:10px}.feb-sources,.feb-article-warning{max-width:800px;margin:26px auto;padding:24px 26px;background:#f6fafb;border:1px solid #dce9f0;border-radius:19px}.feb-sources h2{font:700 24px Georgia,serif;margin:0 0 9px}.feb-sources div{overflow-wrap:anywhere}.feb-article-warning{background:#fff9e9;border-color:#edd9a3}.feb-article-warning p{margin:6px 0 0}.feb-tags,.feb-back-link{display:block;max-width:800px;margin:15px auto;color:#086c7e;font-weight:800}.feb-tags a{margin:0 5px;text-decoration:underline}.feb-page{min-height:45vh}.feb-page h1,.feb-not-found h1{font:700 44px Georgia,serif}.feb-not-found{min-height:45vh}
/* Footer: same five columns and full legal responsibility note */
.feb-footer{background:#092344;color:#d9e8f4;padding:50px 0 23px}.feb-footer a:hover{color:white}.feb-footer-mission{text-align:center;font-size:13px;color:#d2dfeb;margin:0 0 31px}.feb-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr 1.1fr;gap:27px}.feb-footer-brand{display:block}.feb-footer-brand img{width:56px;height:56px;float:left;margin:0 12px 4px 0;object-fit:contain;background:#fff;border-radius:50%;padding:5px}.feb-footer-brand strong{display:block;font:700 18px Georgia,serif;padding-top:4px}.feb-footer-brand p{clear:both;color:#d3e0ef;font-size:12px;line-height:1.62}.feb-footer h2{color:#efc45d;text-transform:uppercase;letter-spacing:.12em;font-size:10px;margin:0 0 14px}.feb-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:7px;font-size:12px}.feb-footer li{line-height:1.6}.feb-footer-bottom{border-top:1px solid #294460;margin:39px 0 14px;padding-top:15px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#d1dfee}.feb-legal-note{background:#123a62;color:#edf5f9;padding:16px 20px;border-radius:8px;font-size:12px;line-height:1.6}.feb-privacy-link{background:transparent;color:#d4e2ef;border:0;text-decoration:underline;display:inline-block;margin-top:14px;padding:5px}
/* Consent persists the exact same choice key as the main site */
.feb-consent-banner[hidden],.feb-consent-modal[hidden]{display:none!important}.feb-consent-banner{position:fixed;z-index:99999;left:15px;right:15px;bottom:15px;max-width:980px;margin:auto;padding:19px 21px;border:1px solid #dde8ee;background:white;box-shadow:0 10px 38px #051f3750;border-radius:17px}.feb-consent-banner h2{font:700 23px Georgia,serif;margin:0 0 7px}.feb-consent-banner p{font-size:14px;color:#36546e}.feb-consent-banner>div{display:flex;gap:9px;flex-wrap:wrap}.feb-consent-banner button,.feb-consent-modal button{padding:10px 14px;border:1px solid #174267;border-radius:10px;background:#0b345c;color:#fff;font-weight:800}.feb-consent-banner button[data-consent="reject"]{background:#fff;color:#0b345c}.feb-consent-modal{position:fixed;inset:0;z-index:99999;background:#05192f96;display:grid;place-items:center;padding:15px}.feb-consent-modal>div{background:white;padding:26px;width:min(450px,100%);border-radius:18px}.feb-consent-modal h2{font:700 24px Georgia,serif}.feb-consent-modal label{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #dbe6ed;padding:9px 13px;margin-bottom:7px;border-radius:8px;font-size:14px}.feb-consent-modal section{display:flex;gap:8px;margin:17px 0}.feb-consent-modal a{font-weight:800;color:#007c88}
@media(max-width:1210px){.feb-menu{gap:11px;font-size:12px}.feb-head-cta{display:none}.feb-footer-grid{grid-template-columns:1.5fr repeat(2,1fr);row-gap:28px}.feb-footer-grid>div:nth-child(4),.feb-footer-grid>div:nth-child(5){grid-column:auto}}
@media(max-width:930px){.feb-menu-toggle{display:block;margin-left:auto}.feb-menu{display:none;position:absolute;top:72px;left:15px;right:15px;padding:17px;background:#0b2443;box-shadow:0 12px 22px #0b24434a;flex-direction:column;align-items:stretch;gap:13px;border-radius:0 0 17px 17px}.feb-menu.is-open{display:flex}.feb-posts{grid-template-columns:repeat(2,minmax(0,1fr))}.feb-section-heading{align-items:start;flex-direction:column}.feb-search{align-self:start}.feb-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:690px){.feb-wrap{width:min(var(--max),calc(100% - 30px))}.feb-header-inner{min-height:65px}.feb-brand img{width:43px;height:43px}.feb-brand strong{font-size:18px}.feb-menu{top:65px}.feb-hero{padding:78px 0 69px}.feb-hero h1{font-size:clamp(35px,10vw,46px)}.feb-hero p{font-size:16px}.feb-main{padding:45px 0 65px}.feb-posts{grid-template-columns:1fr}.feb-post-image{height:215px}.feb-filter{font-size:12px;padding:7px 11px}.feb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:29px 16px}.feb-footer-grid .feb-footer-brand{grid-column:1/-1}.feb-article{padding-top:33px}.feb-breadcrumb{margin-bottom:29px}.feb-article-body{font-size:16px}.feb-byline{gap:6px;flex-direction:column}.feb-search{width:100%}.feb-search input{flex:1;width:100px;min-width:0}.feb-consent-banner>div{flex-direction:column}.feb-consent-banner button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;transform:none!important}}
