/* OtoKot – style całego serwisu (nadpisują Motyw Z Verseo). Paleta „rudy kot”. */
:root {
	--otk-esp: #2B1E17;
	--otk-esp-2: #3E2C22;
	--otk-rudy: #B4531A;
	--otk-rudy-d: #8F3F12;
	--otk-rudy-l: #F2B27A;
	--otk-mleko: #FFF7EC;
	--otk-mleko-2: #F6EADA;
	--otk-oko: #5F7F1F;
	--otk-oko-l: #E3EDC4;
	--otk-szary: #6E655D;
	--otk-nos: #E9A8A0;
	--otk-line: #EADBC8;
	--otk-text: #2F241D;
	--otk-r: 18px;
	--otk-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B4531A'%3E%3Cellipse cx='12' cy='16' rx='5.2' ry='4.4'/%3E%3Ccircle cx='5.2' cy='9.6' r='2.2'/%3E%3Ccircle cx='9.3' cy='5.6' r='2.3'/%3E%3Ccircle cx='14.7' cy='5.6' r='2.3'/%3E%3Ccircle cx='18.8' cy='9.6' r='2.2'/%3E%3C/svg%3E");
}
body { font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--otk-text); }
h1, h2, h3, h4, .site-branding__name, .entry-title, .archive-title, .post-card__title, .widget__title, .footer-brand__name, .page-title { font-family: 'Source Serif 4', Georgia, serif; font-weight: 700; letter-spacing: -.005em; }

/* Nagłówek: tropy łapek pod paskiem, falowane podkreślenie aktywnego menu */
.site-header { position: relative; background: #fff; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--otk-paw) 0 50% / 14px 10px repeat-x; opacity: .35; pointer-events: none; }
.primary-nav a { font-weight: 500; text-decoration: none; text-underline-offset: 7px; }
.primary-nav a:hover { color: var(--otk-rudy); text-decoration: underline wavy var(--otk-rudy-l) 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(--otk-rudy-d); text-decoration: underline wavy var(--otk-rudy) 2px; }
.custom-logo { max-height: 50px; width: auto; }

/* Okruszki: separator łapka */
.breadcrumb, .breadcrumbs { font-size: .85rem; color: var(--otk-szary); }
.breadcrumb a, .breadcrumbs a { color: var(--otk-rudy-d); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover, .breadcrumbs a:hover { text-decoration: underline; }

/* Karty wpisów: 18 px, przy hover wyrastają kocie uszy */
.post-card { position: relative; border-radius: var(--otk-r); border: 1px solid var(--otk-line); box-shadow: none; overflow: visible; transition: border-color .15s, transform .15s; }
.post-card::before, .post-card::after { content: ""; position: absolute; top: -13px; width: 26px; height: 16px; background: var(--otk-rudy); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s; z-index: 2; }
.post-card::before { left: 26px; }
.post-card::after { right: 26px; }
.post-card:hover { border-color: var(--otk-rudy-l); transform: translateY(-2px); }
.post-card:hover::before, .post-card:hover::after { opacity: 1; transform: none; }
.post-card__thumbnail, .post-card__thumbnail img { border-radius: var(--otk-r) var(--otk-r) 0 0; }
.post-card__category, .post-card__category a { color: var(--otk-oko); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }

/* Treść wpisów */
.entry-content h2 { padding-left: 1.9rem; background: var(--otk-paw) 0 .28em / 1.25rem no-repeat; }
.entry-content h3 { color: var(--otk-rudy-d); }
.entry-content a { color: var(--otk-rudy-d); text-decoration-color: var(--otk-rudy-l); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--otk-oko); }
.entry-content ul li::marker { color: var(--otk-rudy); }
.entry-content ol li::marker { color: var(--otk-oko); font-weight: 700; }
.entry-content figure figcaption, .wp-block-image figcaption { font-size: .82rem; font-style: italic; color: var(--otk-szary); border-left: 3px solid var(--otk-rudy-l); padding: .2rem 0 .2rem .7rem; margin-top: .5rem; }
.entry-content img { border-radius: 12px; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.entry-content th, .entry-content td { padding: .55rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--otk-line); }
.entry-content thead th, .entry-content tr:first-child th { background: var(--otk-esp); color: var(--otk-mleko); border-bottom: 0; }
.entry-content tbody th { color: var(--otk-rudy-d); }
.entry-content blockquote { border-left: 0; background: var(--otk-mleko); border-radius: var(--otk-r); padding: 1rem 1.3rem; border: 2px dotted var(--otk-rudy-l); }
.otk-photo-credit, .gp-photo-credit { font-size: .8rem; color: var(--otk-szary); margin-top: 2rem; }

/* Przyciski */
.otk-btn, .btn--primary { display: inline-block; background: var(--otk-rudy); color: #fff !important; border: 0; border-radius: 999px; padding: .72rem 1.4rem; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; font-size: 1rem; }
.otk-btn:hover, .btn--primary:hover { background: var(--otk-rudy-d); }
.otk-ghost { display: inline-block; background: transparent; color: var(--otk-esp); border: 2px solid var(--otk-esp); border-radius: 999px; padding: .5rem 1rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.otk-ghost:hover { background: var(--otk-esp); color: var(--otk-mleko); }
.otk-more { color: var(--otk-rudy-d); font-weight: 700; text-decoration: none; }
.otk-more::after { content: " ›"; }
.otk-more:hover { text-decoration: underline wavy var(--otk-rudy-l); }
.otk-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--otk-oko); }

/* Formularz kontaktowy */
.otk-kontakt { max-width: 640px; }
.otk-kontakt input, .otk-kontakt textarea { width: 100%; max-width: 100% !important; box-sizing: border-box; border: 2px solid var(--otk-line); border-radius: 12px; padding: .6rem .8rem; font: inherit; background: #fff; }
.otk-kontakt input:focus, .otk-kontakt textarea:focus { outline: 0; border-color: var(--otk-rudy); }
.otk-kontakt__info { background: var(--otk-oko-l); padding: .7rem 1rem; border-radius: 12px; }

/* Działy (szablon kategorii z extras) */
.otk-cat-header { padding: 1.4rem 1.5rem; margin-bottom: 1.6rem; background: var(--otk-mleko); border-radius: var(--otk-r); position: relative; overflow: hidden; }
.otk-cat-header::after { content: ""; position: absolute; right: -10px; bottom: -14px; width: 120px; height: 120px; background: var(--otk-paw) center / contain no-repeat; opacity: .12; transform: rotate(-18deg); }
.otk-cat-header__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--otk-rudy-d); }
.otk-cat-intro p { margin: .6rem 0 0; }
.otk-cat-header__count { margin: .8rem 0 0; font-size: .86rem; color: var(--otk-szary); }
.otk-cat-faq { margin-top: 2.5rem; }
.otk-cat-faq h2 { margin-top: 0; font-size: 1.35rem; }
.otk-cat-faq details { border-top: 1px dashed var(--otk-line); padding: .75rem 0; }
.otk-cat-faq summary { cursor: pointer; font-weight: 700; color: var(--otk-esp); }

/* Ocena wpisu (miseczki) */
.otk-rate { margin: 2.5rem 0 1rem; padding: 1.1rem 1.3rem; background: var(--otk-mleko); border-radius: var(--otk-r); }
.otk-rate__q { margin: 0 0 .6rem; font-family: 'Source Serif 4', Georgia, serif; font-weight: 700; }
.otk-rate__pts { display: flex; gap: .4rem; flex-wrap: wrap; }
.otk-rate__pts button { width: 2.6rem; height: 2.3rem; border-radius: 0 0 1.3rem 1.3rem; border: 2px solid var(--otk-rudy); background: #fff; color: var(--otk-rudy-d); font-weight: 700; cursor: pointer; }
.otk-rate__pts button.is-on { background: var(--otk-rudy); color: #fff; }
.otk-rate.is-done .otk-rate__pts button { cursor: default; }
.otk-rate__sum { margin: .6rem 0 0; font-size: .9rem; color: var(--otk-szary); }

/* Stopka: espresso z tropem łapek */
.site-footer { background: var(--otk-esp) !important; color: var(--otk-mleko); position: relative; border-top: 0; }
.site-footer::before { content: ""; display: block; height: 14px; background: var(--otk-paw) 0 50% / 18px 12px repeat-x; opacity: .7; }
.site-footer a { color: var(--otk-rudy-l); }
.site-footer a:hover { color: #fff; }
