/* OJ8 – style całego serwisu (nadpisują Motyw Z Verseo). Motyw: plac zabaw – kakao, niebo, trawa, słońce, pomidor. */
:root {
	--oj-cocoa: #33241B;
	--oj-cocoa-2: #4A3628;
	--oj-sky: #1F6FB2;
	--oj-sky-d: #175687;
	--oj-sky-l: #DCEEFB;
	--oj-grass: #3F8A2E;
	--oj-grass-d: #2C6420;
	--oj-grass-l: #E3F1D6;
	--oj-sun: #F4C140;
	--oj-sun-l: #FFF1C7;
	--oj-tomato: #C8432D;
	--oj-tomato-d: #A33421;
	--oj-sand: #FFF8EA;
	--oj-sand-2: #F6EAD0;
	--oj-line: #E7D9BC;
	--oj-text: #2B2119;
	--oj-mute: #6A5A4C;
}
body { font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--oj-text); }
h1, h2, h3, h4, .site-branding__name, .entry-title, .archive-title, .post-card__title, .widget__title, .footer-brand__name { font-family: 'Poppins', 'Segoe UI', sans-serif; letter-spacing: -.005em; }

/* Nagłówek: girlanda chorągiewek pod paskiem, menu z falistym podkreśleniem */
.site-header { position: relative; border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 14px; z-index: 2; pointer-events: none; border-top: 2px solid var(--oj-cocoa);
	background:
		conic-gradient(from 135deg at 14px 0, var(--oj-tomato) 90deg, transparent 0) 0 0 / 84px 14px repeat-x,
		conic-gradient(from 135deg at 42px 0, var(--oj-sun) 90deg, transparent 0) 0 0 / 84px 14px repeat-x,
		conic-gradient(from 135deg at 70px 0, var(--oj-sky) 90deg, transparent 0) 0 0 / 84px 14px repeat-x; }
.primary-nav a { font-weight: 600; font-family: 'Poppins', sans-serif; text-decoration: none; text-underline-offset: 7px; }
.primary-nav a:hover { color: var(--oj-tomato-d); text-decoration: underline wavy var(--oj-sun) 2px; }
.primary-nav .current-menu-item > a, .primary-nav .current-category-ancestor > a, .primary-nav .current-post-ancestor > a, .primary-nav .current-menu-parent > a { color: var(--oj-tomato-d); text-decoration: underline wavy var(--oj-tomato) 2px; }
.custom-logo { max-height: 52px; width: auto; }

/* Okruszki z kropkami w kolorach */
.breadcrumb, .breadcrumbs { font-size: .86rem; color: var(--oj-mute); }
.breadcrumb a, .breadcrumbs a { color: var(--oj-sky-d); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--oj-tomato-d); }

/* Karty wpisów: zaokrąglone, kolorowa kreska u dołu przy hover */
.post-card { border-radius: 20px; border: 2px solid var(--oj-line); box-shadow: none; background: #fff; overflow: hidden; transition: border-color .15s, transform .15s; position: relative; }
.post-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(90deg, var(--oj-tomato) 0 25%, var(--oj-sun) 25% 50%, var(--oj-grass) 50% 75%, var(--oj-sky) 75%); transition: height .15s; }
.post-card:hover { border-color: var(--oj-cocoa); transform: translateY(-3px); }
.post-card:hover::after { height: 6px; }
.post-card__category, .post-card__category a { color: var(--oj-grass-d); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }

/* Treść wpisów */
.entry-content h2 { position: relative; padding-left: 2.1rem; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50% 50% 50% 0; background: var(--oj-sun); box-shadow: inset 0 0 0 3px var(--oj-cocoa); transform: rotate(-45deg); }
.entry-content h3 { color: var(--oj-grass-d); }
.entry-content a { color: var(--oj-sky-d); text-decoration: underline; text-decoration-color: var(--oj-sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--oj-tomato-d); text-decoration-color: var(--oj-tomato); }
.entry-content ul li::marker { color: var(--oj-tomato); font-size: 1.15em; }
.entry-content ol li::marker { color: var(--oj-sky-d); font-weight: 700; }
.entry-content figure figcaption, .wp-block-image figcaption { font-size: .8rem; color: var(--oj-mute); background: var(--oj-sand); border-radius: 0 0 12px 12px; padding: .45rem .8rem; margin-top: 0; }
.entry-content img { border-radius: 12px; }
.entry-content table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .94rem; border: 2px solid var(--oj-cocoa); border-radius: 14px; overflow: hidden; }
.entry-content th, .entry-content td { padding: .55rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--oj-line); }
.entry-content thead th { background: var(--oj-sun); color: var(--oj-cocoa); }
.entry-content tbody tr:nth-child(even) td { background: var(--oj-sand); }
.entry-content blockquote { border-left: 0; background: var(--oj-sky-l); border-radius: 18px; padding: 1rem 1.2rem; font-style: italic; }
.oj-photo-credit, .gp-photo-credit { font-size: .8rem; color: var(--oj-mute); margin-top: 2rem; }
.ai-note { font-size: .78rem; }

/* Przyciski */
.oj-btn, .btn--primary { display: inline-block; background: var(--oj-tomato); color: #fff !important; border: 2px solid var(--oj-cocoa); border-radius: 14px; padding: .65rem 1.3rem; font-weight: 700; font-family: 'Poppins', sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--oj-cocoa); transition: transform .1s, box-shadow .1s; }
.oj-btn:hover, .btn--primary:hover { background: var(--oj-tomato-d); transform: translateY(2px); box-shadow: 0 2px 0 var(--oj-cocoa); }
.oj-ghost { display: inline-block; background: transparent; color: var(--oj-cocoa); border: 2px solid var(--oj-cocoa); border-radius: 12px; padding: .35rem .9rem; font-weight: 700; font-size: .85rem; cursor: pointer; font-family: inherit; }
.oj-ghost:hover { background: var(--oj-cocoa); color: #fff; }
.oj-more { color: var(--oj-sky-d); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--oj-sun); }
.oj-more::after { content: " →"; }
.oj-more:hover { color: var(--oj-tomato-d); border-color: var(--oj-tomato); }
.oj-more--light { color: #FFE9A8; border-color: #FFE9A8; }

/* Formularz kontaktowy */
.oj-form { max-width: 640px; }
.oj-form label { display: block; font-weight: 700; margin-bottom: .25rem; }
.oj-form input, .oj-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; border: 2px solid var(--oj-line); border-radius: 14px; padding: .65rem .8rem; font: inherit; background: #fff; }
.oj-form input:focus, .oj-form textarea:focus { border-color: var(--oj-sky); outline: 3px solid var(--oj-sky-l); }
.oj-form__rodo { font-size: .85rem; color: var(--oj-mute); }
.oj-form__note { background: var(--oj-grass-l); border-radius: 14px; padding: .7rem 1rem; }

/* Działy */
.oj-cat-head { position: relative; padding: 1.5rem 1.5rem 1.3rem; margin-bottom: 1.6rem; background: var(--oj-sky-l); border-radius: 24px; overflow: hidden; }
.oj-cat-head::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--oj-sun); opacity: .55; }
.oj-cat-head > * { position: relative; z-index: 1; }
.oj-cat-head__tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--oj-grass-d); padding: .2rem .75rem; border-radius: 999px; }
.oj-cat-intro p { margin: .6rem 0 0; }
.oj-cat-head__count { margin: .8rem 0 0; font-size: .86rem; font-weight: 700; color: var(--oj-sky-d); }
.oj-cat-faq { margin-top: 2.5rem; padding: 1.4rem 1.5rem; background: var(--oj-sand); border-radius: 22px; border: 2px dashed var(--oj-line); }
.oj-cat-faq h2 { margin-top: 0; font-size: 1.3rem; }
.oj-cat-faq details { padding: .75rem 0; border-bottom: 1px solid var(--oj-line); }
.oj-cat-faq details:last-child { border-bottom: 0; }
.oj-cat-faq summary { cursor: pointer; font-weight: 700; color: var(--oj-cocoa); }
.oj-cat-empty { padding: 1rem 1.2rem; background: var(--oj-sun-l); border-radius: 16px; }

/* Ocena wpisu: listki 1–5 */
.oj-rate { margin: 2.5rem 0 1rem; padding: 1.2rem 1.3rem; background: var(--oj-grass-l); border-radius: 22px; }
.oj-rate__q { margin: 0 0 .7rem; font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--oj-grass-d); }
.oj-rate__pts { display: flex; gap: .4rem; flex-wrap: wrap; }
.oj-rate__pts button { width: 2.6rem; height: 2.6rem; border-radius: 50% 0 50% 0; border: 2px solid var(--oj-grass-d); background: #fff; color: var(--oj-grass-d); font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; }
.oj-rate__pts button.is-on { background: var(--oj-grass); color: #fff; }
.oj-rate.is-done .oj-rate__pts button { cursor: default; }
.oj-rate__sum { margin: .6rem 0 0; font-size: .9rem; color: var(--oj-mute); }

/* Stopka: żywopłot u góry, kakaowe tło */
.site-footer { background: var(--oj-cocoa); position: relative; border-top: 0; margin-top: 30px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 26px; background: radial-gradient(circle at 18px 26px, var(--oj-grass) 18px, transparent 19px) 0 0 / 36px 26px repeat-x; }
.site-footer a:hover { color: var(--oj-sun); }
