/**
 * Doggi Game: uzupełnienia stylu strony głównej (nad main_home.css).
 * Paleta jak w grze: #2dc76d (zielony), #106232 (ciemny zielony), #b0ff86 (pastelowy), #fbfbf7 (tło), #595959 (tekst).
 */

:root {
	--dg-green: #2dc76d;
	--dg-green-dark: #106232;
	--dg-green-deep: #094521;
	--dg-pastel: #b0ff86;
	--dg-bg: #fbfbf7;
	--dg-card: #ffffff;
	--dg-muted: #f4f4ee;
	--dg-line: #e3e8dd;
	--dg-text: #595959;
	--dg-star: #f2c94c;
}

/* ---------- Narzędzia ---------- */
[hidden] { display: none !important; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 100000;
	background: var(--dg-green-dark); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
	outline: 3px solid var(--dg-pastel);
	outline-offset: 2px;
}
.muted { color: #9a9a9a; }
.empty-note { text-align: center; color: #8a8a8a; padding: 40px 0; }

/* ---------- Nagłówek i menu ---------- */
header#top { z-index: 20; }
header#top nav { gap: 0; }
.navbar__menu {
	list-style: none; margin: 0 0 0 40px; padding: 0;
	display: flex; align-items: center; gap: 28px;
}
.navbar__menu a {
	color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
	padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.navbar__menu a:hover { color: var(--dg-pastel); border-bottom-color: var(--dg-pastel); }
header#top nav .navbar__toggle {
	display: none; position: relative; margin-left: 14px; width: 44px; height: 44px;
	background: transparent; border: 0; cursor: pointer; padding: 0; z-index: 30;
}
header#top nav .navbar__toggle span {
	position: absolute; left: 9px; right: 9px; height: 3px; margin: 0; background: #fff; border-radius: 3px;
	transition: transform .2s, opacity .2s, top .2s;
}
header#top nav .navbar__toggle span:nth-child(1) { top: 13px; }
header#top nav .navbar__toggle span:nth-child(2) { top: 21px; }
header#top nav .navbar__toggle span:nth-child(3) { top: 29px; }
.show-mobile-menu header#top nav .navbar__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.show-mobile-menu header#top nav .navbar__toggle span:nth-child(2) { opacity: 0; }
.show-mobile-menu header#top nav .navbar__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.navbar__language-switcher { display: none; }
	header#top nav .navbar__toggle { display: block; order: 3; }
	nav .btn-rounded.b-pastel-green.navbar__button { order: 2; margin-left: auto; }
	.navbar__menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--dg-green-dark); padding: 10px 24px 20px;
		box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
	}
	.show-mobile-menu .navbar__menu { display: flex; }
	.navbar__menu a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(176, 255, 134, .2); font-size: 17px; }
}

/* Style `nav` z main_home.css dotyczą paska u góry strony; elementy nav w treści dostają neutralny wygląd. */
main nav, footer nav { position: static; z-index: auto; display: block; padding: 0; border-bottom: 0; }

/* ---------- Formularze: komunikaty ---------- */
.login__wrapper form { flex-wrap: wrap; }
.form-status {
	flex: 0 0 100%; min-width: 0; margin-top: 16px; padding: 12px 18px;
	border-radius: 16px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700;
	text-align: center;
}
.form-status.is-error { background: rgba(214, 69, 65, .85); }
.form-status.is-ok { background: rgba(45, 199, 109, .9); }
.turnstile-slot { flex: 0 0 100%; min-width: 0; max-width: 320px; margin: 16px auto; }
.js-forgot-form { display: block; max-width: 480px; margin: 0 auto; }
button.is-loading { opacity: .6; cursor: progress; }
button[disabled] { cursor: not-allowed; }
.field-hint { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; margin-top: 8px; text-align: center; }
input.error { border-color: #ff6b6b !important; box-shadow: 0 0 0 2px rgba(255, 107, 107, .35); }
.header__login .btn-rounded { border: 0; font-family: inherit; }
.header__login input { font-family: Roboto, sans-serif; font-size: 16px; }

/* ---------- Nagłówek podstrony ---------- */
.page-hero .header__login { margin: 70px auto 90px; }
.page-hero .header__login p { font-size: 20px; opacity: .92; }
@media (max-width: 578px) { .page-hero .header__login { margin: 40px auto 60px; } .page-hero .header__login p { font-size: 16px; } }

/* ---------- Karty artykułów (nadpisują .blog .posts-list article a) ---------- */
.blog__all { text-align: center; margin: 10px 0 60px; }
.blog__all a { display: inline-block; color: var(--dg-green); }
.blog__all a:hover { color: #fff; }
.blog .posts-list .post-card a.thumbnail { display: block; margin: 0 0 35px; font-size: inherit; background: var(--dg-muted); overflow: hidden; border-radius: 12px; height: 200px; }
.blog .posts-list .post-card a.thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.blog .posts-list .post-card:hover a.thumbnail img { transform: scale(1.04); }
.blog .posts-list .post-card h4 a.post-card__title { display: inline; margin: 0; font-size: inherit; font-weight: inherit; color: var(--dg-green-dark); font-family: Baloo, cursive; }
.blog .posts-list .post-card h4 a.post-card__title:hover { color: var(--dg-green); }
.posts-list--grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 45px 35px; }
.blog .posts-list--grid article { width: auto; margin-bottom: 0; display: block; }
.pagination { margin: 20px 0 60px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-block; padding: 10px 16px; border-radius: 24px; background: var(--dg-muted); color: var(--dg-green-dark); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--dg-green); color: #fff; }
.articles .blog { margin-top: 40px; }

/* ---------- Treść artykułu i podstron ---------- */
main.single .inner { max-width: 860px; margin: 0 auto; width: 100%; }
main.single.encyclopedia .inner, main.single.items-page .inner, main.single.breed-single .inner { max-width: 1140px; }
.entry__meta { color: #8a8a8a; font-size: 15px; margin: 0 0 25px; }
.entry__meta a { color: var(--dg-green); text-decoration: none; }
.entry__thumb { margin: 0 0 30px; }
.entry__thumb img { width: auto; max-width: 100%; height: auto; border-radius: 16px; display: block; margin: 0 auto; }
.entry__content { color: var(--dg-text); }
.entry__content > *:first-child { margin-top: 0; }
.entry__content h2, .entry__content h3, .entry__content h4 { color: var(--dg-green-dark); margin: 1.6em 0 .5em; }
.entry__content p { margin: 0 0 1.1em; }
.entry__content a { color: var(--dg-green); font-weight: 700; }
.entry__content a:hover { color: var(--dg-green-dark); }
.entry__content img { max-width: 100%; height: auto; border-radius: 12px; }
.entry__content ul, .entry__content ol { display: block; margin: 0 0 1.2em; padding-left: 1.4em; width: auto; list-style: disc; }
.entry__content ol { list-style: decimal; }
.entry__content li { display: list-item; width: auto; text-align: left; margin: 0 0 .4em; font-size: 18px; line-height: 30px; }
.entry__content blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 5px solid var(--dg-green); background: var(--dg-muted); border-radius: 0 12px 12px 0; }
.entry__content table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; }
.entry__content th, .entry__content td { padding: 10px 14px; border: 1px solid var(--dg-line); text-align: left; }
.entry__content th { background: var(--dg-muted); color: var(--dg-green-dark); }
.entry__content .lead, .lead { font-size: 20px; line-height: 34px; color: var(--dg-text); }
.entry__cta { text-align: center; margin: 50px 0 20px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.entry__cta a { display: inline-block; }
.btn-rounded.btn-border { color: var(--dg-green-dark); border: 2px solid var(--dg-green); background: transparent; }
.btn-rounded.btn-border:hover { color: #fff; background: var(--dg-green); }
.entry__more { margin-top: 70px; }
.entry__more h3 { color: var(--dg-green-dark); }
.entry__more .posts-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px; }
.entry__more .posts-list article { width: auto; margin: 0; }
.entry__more .post-card a.thumbnail { height: 150px; }
.crumbs { font-size: 14px; color: #8a8a8a; margin: 0 0 30px; }
.crumbs a { color: var(--dg-green); text-decoration: none; }
.btn-rounded.btn-border.b-pastel-green { background-color: transparent; }

/* ---------- Encyklopedia ---------- */
.breed-filter { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 10px; }
.breed-filter input, .breed-filter select {
	font: inherit; font-size: 16px; color: var(--dg-text);
	padding: 14px 22px; border: 1px solid var(--dg-pastel); border-radius: 32px; background: #fff; outline: 0;
}
.breed-filter__q { flex: 1 1 260px; min-width: 0; }
.breed-filter select { flex: 0 1 230px; }
.breed-filter__count { color: #8a8a8a; margin: 0 0 25px; font-size: 15px; line-height: 24px; }
.breed-grid { list-style: none !important; margin: 0 !important; padding: 0 !important; width: 100%; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.breed-grid .breed-card { width: auto; text-align: left; margin: 0; }
.breed-card__link {
	display: block; height: 100%; text-decoration: none; background: var(--dg-card);
	border: 1px solid var(--dg-line); border-radius: 18px; padding: 12px 12px 18px; text-align: center;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.breed-card__link:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 98, 50, .12); border-color: var(--dg-green); }
.breed-card__photo { display: block; background: #e9f6ee; border-radius: 12px; overflow: hidden; aspect-ratio: 190 / 145; }
.breed-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.breed-card h3 { font-size: 20px; line-height: 26px; color: var(--dg-green-dark); margin: 14px 4px 8px; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.breed-card__traits { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.chip { display: inline-block; font-size: 12px; line-height: 1; font-weight: 700; color: var(--dg-green-dark); background: #e4f7ea; padding: 6px 10px; border-radius: 12px; text-transform: lowercase; }

.breed-single__top { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.breed-single__photo { background: #e9f6ee; border-radius: 20px; overflow: hidden; aspect-ratio: 380 / 290; }
.breed-single__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.breed-single__facts h2 { margin: 0 0 14px; color: var(--dg-green-dark); font-size: 28px; line-height: 34px; }
.breed-traits { list-style: none !important; margin: 0 0 20px !important; padding: 0 !important; width: 100%; display: block !important; }
.breed-traits li { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; width: 100% !important; text-align: left !important; border-bottom: 1px solid var(--dg-line); padding: 4px 0; }
.breed-traits li > span { font-weight: 700; color: var(--dg-green-dark); text-transform: capitalize; min-width: 110px; }
.stars { display: flex; flex-wrap: nowrap; }
.breed-traits .stars .star:before { font-size: 24px; color: #d9e4dc; line-height: 1.2; }
.breed-traits .stars .star.checked:before { color: var(--dg-star); }
.breed-meta { margin: 0; display: grid; gap: 6px; }
.breed-meta div { display: flex; gap: 10px; }
.breed-meta dt { font-weight: 700; color: var(--dg-green-dark); min-width: 110px; }
.breed-meta dd { margin: 0; }
.breed-meta a { color: var(--dg-green); }
.breed-single__text h2 { margin-top: 0; }
.breed-single__game { background: var(--dg-muted); border-radius: 16px; padding: 22px 28px; margin: 30px 0; }
.breed-single__game h3 { margin: 0 0 8px; color: var(--dg-green-dark); font-size: 22px; line-height: 28px; }
.breed-single__game p { margin: 0; font-size: 16px; line-height: 28px; }
.breed-single__nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.breed-single__nav .btn-rounded { padding: 14px 28px; font-size: 13px; text-transform: none; }
@media (max-width: 768px) { .breed-single__top { grid-template-columns: 1fr; } }

/* ---------- Przedmioty ---------- */
.items-toolbar { position: sticky; top: 0; z-index: 5; background: var(--dg-bg); padding: 14px 0; margin: 20px 0 10px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--dg-line); }
.items-tabs { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px; flex: 1 1 400px; width: auto !important; }
.items-tabs li { width: auto !important; margin: 0 !important; display: block !important; text-align: left !important; }
.items-tabs a { display: inline-block; padding: 9px 16px; border-radius: 22px; background: #e4f7ea; color: var(--dg-green-dark); text-decoration: none; font-weight: 700; font-size: 14px; }
.items-tabs a:hover { background: var(--dg-green); color: #fff; }
.items-tabs small { opacity: .7; margin-left: 2px; }
.items-search { font: inherit; font-size: 15px; padding: 11px 20px; border: 1px solid var(--dg-pastel); border-radius: 28px; background: #fff; outline: 0; flex: 0 1 260px; min-width: 0; }
.items-cat { margin-top: 50px; scroll-margin-top: 90px; }
.items-cat h2 { color: var(--dg-green-dark); margin: 0 0 8px; }
.items-cat__intro { margin: 0 0 24px; color: var(--dg-text); }
.items-grid { list-style: none !important; margin: 0 !important; padding: 0 !important; width: 100%; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.item-card { width: auto !important; text-align: left !important; background: var(--dg-card); border: 1px solid var(--dg-line); border-radius: 18px; padding: 20px 22px; margin: 0 !important; scroll-margin-top: 100px; }
.item-card h3 { margin: 0 0 4px; font-size: 22px; line-height: 28px; color: var(--dg-green-dark); }
.item-card__price { margin: 0 0 10px; font-size: 15px; line-height: 22px; color: var(--dg-text); }
.item-card__price strong { color: var(--dg-green); font-size: 18px; }
.item-card__desc { margin: 0 0 12px; font-size: 15px; line-height: 24px; }
.item-card__effects { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 6px; width: auto !important; }
.item-card__effects li { display: inline-flex !important; width: auto !important; gap: 6px; align-items: center; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 12px; background: #e4f7ea; color: var(--dg-green-dark); margin: 0 !important; }
.item-card__effects li.neg { background: #fdeaea; color: #a83a3a; }
.item-card__effects li b { font-weight: 900; }

/* ---------- Rejestracja ---------- */
.register-panel[hidden] { display: none !important; }
.chosen-race:not([hidden]) { display: block; }
.register-status {
	max-width: 760px; margin: 0 auto 30px; padding: 14px 20px; border-radius: 16px;
	background: #fdeaea; color: #a83a3a; text-align: center; font-weight: 700;
}
.register-status.is-ok { background: #e4f7ea; color: var(--dg-green-dark); }
.race-select li { cursor: pointer; padding: 10px; border-radius: 18px; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.race-select li:hover { background: rgba(45, 199, 109, .08); }
.race-select li.is-selected { border-color: var(--dg-green); background: rgba(45, 199, 109, .12); }
.race-select li h3 { color: var(--dg-green-dark); }
.step__select .btn-rounded.select { font-family: inherit; }
.step__proceed .step__buttons a[hidden] { display: none; }
.dog-final .step__info .content .thumbnail { background-size: contain; }
.register-done__box { text-align: center; max-width: 640px; margin: 40px auto 20px; }
.register-done__box h3 { color: var(--dg-green-dark); }
.js-register-form .turnstile-slot { margin: 10px auto 0; }
.form-final form .form-group { flex-wrap: wrap; margin-bottom: 36px; }
.form-final form .field-hint { flex: 0 0 calc(100% - 125px); max-width: calc(100% - 125px); box-sizing: border-box; overflow-wrap: anywhere; color: rgba(255, 255, 255, .6); text-align: left; margin: 8px 0 0 125px; font-size: 12px; line-height: 16px; }
@media (max-width: 1199px) {
	.form-final form .form-group { display: block; position: relative; }
	.form-final form .form-group label { display: table; margin: auto; text-align: center; width: auto; }
	.form-final form .form-group input { width: 100%; display: block; margin-top: 10px; }
	.form-final form .form-group .icon-info { display: none; }
	.form-final form .field-hint { margin-left: 0; flex-basis: 100%; max-width: 100%; text-align: center; }
	.form-final { width: 100%; }
	.dog-final { width: 100%; padding-left: 0; }
}

/* ---------- Okno komunikatów ---------- */
#flashWindow { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100000; max-width: min(92vw, 520px); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Gwiazdki cech (poza kreatorem rejestracji) ---------- */
.breed-traits .stars .star { position: relative; display: inline-block; width: 24px; height: 28px; }
.breed-traits .stars .star:before { content: '\2605'; font-size: 24px; line-height: 28px; display: block; }

/* ---------- Stopka ---------- */
footer .row { flex-wrap: wrap; align-items: center; gap: 18px 40px; }
footer ul li { margin-right: 28px; }
footer ul li:last-of-type { margin-right: 0; }
@media (max-width: 992px) { footer .row ul { margin-bottom: 20px; } }

/* ---------- Ikony przedmiotów ---------- */
.item-card__icon { width: 72px; height: 72px; margin: 0 0 12px; background: #e9f6ee; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.item-card__icon img { max-width: 56px; max-height: 56px; width: auto; height: auto; display: block; }

/* ---------- Przedmioty: karty z wierszami wyrównanymi w całym rzędzie (subgrid) ---------- */
.items-grid { align-items: stretch; row-gap: 0 !important; column-gap: 20px; }
.item-card { display: grid !important; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 20px !important; }
.item-card h3 { align-self: start; }
.item-card__effects { align-self: end; margin-top: 8px !important; }
.item-card__icon:empty { visibility: hidden; }

/* ---------- Przypomnienie hasła: odstęp między polami ---------- */
.js-forgot-form .form-group { margin: 0 0 20px !important; }

/* ---------- Przyciski z obramowaniem: czytelny hover (wyższa specyficzność niż b-pastel-green:hover) ---------- */
.btn-rounded.b-pastel-green.btn-border { background-color: transparent; color: var(--dg-green-dark); }
.btn-rounded.b-pastel-green.btn-border:hover,
.btn-rounded.b-pastel-green.btn-border:focus-visible { background-color: var(--dg-green); color: #fff; }

/* ---------- Lista artykułów: kolumny o identycznej szerokości, wiersze (obrazek, tytuł, opis, link) wyrównane ---------- */
.posts-list--grid { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)) !important; gap: 0 35px !important; }
.posts-list--grid .post-card { display: grid !important; grid-row: span 4; grid-template-rows: subgrid; min-width: 0; margin-bottom: 45px !important; }
.posts-list--grid .post-card .content { display: contents; }
.posts-list--grid .post-card h4, .posts-list--grid .post-card p { margin: 0 0 12px; min-width: 0; overflow-wrap: anywhere; }
.posts-list--grid .post-card h4 { margin-top: 0; }
.posts-list--grid .post-card .post-card__more { margin-top: 8px; align-self: end; }

/* ---------- FAQ: spis działów i rozwijane pytania ---------- */
.faq-toc { margin: 0 0 10px; }
.faq-toc ul { list-style: none; margin: 0; padding: 0; display: flex !important; flex-wrap: wrap; gap: 8px; width: auto; }
.faq-toc li { display: block !important; width: auto !important; margin: 0 !important; font-size: 14px !important; line-height: 1 !important; }
.faq-toc a { display: inline-block; padding: 10px 16px; border-radius: 22px; background: #e4f7ea; color: var(--dg-green-dark); text-decoration: none; font-weight: 700; }
.faq-toc a:hover { background: var(--dg-green); color: #fff; }
.faq-toc small { opacity: .6; margin-left: 2px; }
.entry__content h2[id^="faq-"] { margin-top: 2.2em; padding-bottom: 8px; border-bottom: 2px solid var(--dg-line); scroll-margin-top: 20px; }
.faq-item { background: var(--dg-card); border: 1px solid var(--dg-line); border-radius: 16px; margin: 0 0 12px; scroll-margin-top: 20px; }
.faq-item[open] { border-color: var(--dg-green); box-shadow: 0 6px 18px rgba(16, 98, 50, .08); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 22px; position: relative; font-family: Baloo, cursive; font-size: 20px; line-height: 26px; color: var(--dg-green-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; line-height: 24px; text-align: center; border-radius: 50%; background: #e4f7ea; color: var(--dg-green-dark); font-family: Roboto, sans-serif; font-weight: 900; }
.faq-item[open] summary::after { content: '\2212'; background: var(--dg-green); color: #fff; }
.faq-item summary:hover { color: var(--dg-green); }
.faq-item__body { padding: 0 22px 8px; border-top: 1px solid var(--dg-line); padding-top: 14px; }
.faq-item__body p, .faq-item__body li { font-size: 17px; line-height: 28px; }
.faq-item__body ul { margin-bottom: 1em; }
.faq-credits { margin-top: 40px; color: #8a8a8a; text-align: center; }

/* ---------- Artykuły wydarzeń ---------- */
.event-figure { float: right; margin: 0 0 20px 30px; }
.event-figure img { display: block; max-width: 160px; height: auto; border-radius: 0; }
@media (max-width: 575px) { .event-figure { float: none; text-align: center; margin: 0 0 20px; } }
.entry__content table { font-size: 16px; }
.entry__content h3 { font-size: 24px; line-height: 30px; }

/* ---------- Paginacja (the_posts_pagination) ---------- */
.pagination-wrap { margin: 20px 0 60px; }
.navigation.pagination { margin: 0; text-align: center; }
.navigation.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.navigation.pagination .page-numbers { display: inline-block; min-width: 44px; padding: 10px 16px; border-radius: 24px; background: var(--dg-muted); color: var(--dg-green-dark); text-decoration: none; font-weight: 700; line-height: 24px; text-align: center; }
.navigation.pagination .page-numbers.current, .navigation.pagination a.page-numbers:hover { background: var(--dg-green); color: #fff; }
.navigation.pagination .page-numbers.dots { background: transparent; min-width: 0; padding: 10px 4px; }

/* Lista artykułów: siatka i paginacja jedna pod drugą (.row z oryginalnego CSS jest flexem) */
.blog .row:has(> .posts-list--grid) { display: block; }
.blog .row > .posts-list--grid, .blog .row > .pagination-wrap { width: 100%; }

/* Tabele w artykułach: na telefonie przewijane poziomo zamiast rozpychać stronę */
@media (max-width: 600px) {
	.entry__content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
	.entry__content td, .entry__content th { padding: 8px 10px; }
}

/* Mniejszy odstęp nad nagłówkami w treści artykułów */
.entry__content h2 { margin: 36px 0 12px; line-height: 1.2; }
.entry__content h3 { margin: 28px 0 10px; }
.entry__content h2[id^="faq-"] { margin-top: 40px; }

/* Średnie cechy żyjących psów na stronie rasy */
.breed-avg__title { margin: 22px 0 10px !important; font-size: 22px !important; line-height: 28px !important; }
.breed-avg__val { margin-left: 10px; font-style: normal; font-weight: 700; color: var(--dg-green-dark); align-self: center; }
.breed-avg__note { margin: 6px 0 14px; font-size: 14px; color: #5c6b61; }

/* Maści rasy */
.breed-coats { margin: 40px 0 0; }
.breed-coats h2 { color: var(--dg-green-dark); margin: 0 0 8px; }
.breed-coats__intro { margin: 0 0 20px; }
.breed-coats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.breed-coat { margin: 0; background: #fff; border: 1px solid var(--dg-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.breed-coat img { display: block; width: 100%; height: auto; }
.breed-coat figcaption { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--dg-line); }
.breed-coat figcaption strong { color: var(--dg-green-dark); font-size: 17px; line-height: 22px; }
.breed-coat figcaption span { font-size: 15px; line-height: 22px; color: #5c6b61; }

/* Rasa w liczbach */
.breed-stats { margin: 40px 0 0; }
.breed-stats h2 { color: var(--dg-green-dark); margin: 0 0 16px; }
.breed-stats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.breed-stat { background: #fff; border: 1px solid var(--dg-line); border-radius: 16px; padding: 18px 20px; }
.breed-stat h3 { margin: 0 0 10px; color: var(--dg-green-dark); font-size: 18px; line-height: 24px; }
.breed-stat dl { margin: 0; }
.breed-stat dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--dg-line); font-size: 16px; line-height: 22px; }
.breed-stat dl > div:last-child { border-bottom: 0; }
.breed-stat dt { color: #5c6b61; }
.breed-stat dd { margin: 0; font-weight: 700; color: var(--dg-green-dark); text-align: right; }
.breed-stat__note { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: #5c6b61; }
.breed-split { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin: 0 0 8px; }
.breed-split__m { background: #4f8fd6; }
.breed-split__f { background: #e58bb0; }
.breed-stat__note a { color: var(--dg-green); font-weight: 700; }

/* Krok 2 rejestracji: odstęp między wyborem płci a przyciskiem oraz pod przyciskiem */
.chosen-race .summary .select a { margin-top: 40px; }
.chosen-race .summary { margin-bottom: 50px; }
