/* Uzupełnienia stylów prototypu dla WordPressa: profil zwierzęcia, CF7, bloki, logo. */

.brand-logo { width: 56px; height: 56px; object-fit: contain; }
.site-footer .brand-logo { width: 52px; height: 52px; }
.missing { color: var(--muted); font-weight: 400; font-style: italic; }
.breadcrumbs span[aria-current]:after { content: none; }
.image-caption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.catalog-note, .results-count { font-size: 14px; margin: 24px 0 18px; }
.detail-phone { font-size: 15px !important; margin-top: 16px; }
.footer-phone, .footer-social { font-size: 14px; margin-top: 12px; }
.footer-social a { margin-right: 14px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.needs-note { font-size: 14px; margin-top: 12px; }
.filters-submit { justify-content: flex-end; }
.filters-submit .button { min-height: 47px; }
.chip { text-decoration: none !important; }
.link-button { display: inline-flex; align-items: center; }
.main-photo.placeholder-image, .animal-card img.placeholder-image, .news-card img.placeholder-image { object-fit: contain !important; background: #e6eadf; padding: 50px; }

/* Profil zwierzęcia – sekcje jak na kartach schroniska */
.profile-sections { padding-block: 40px 20px; }
.profile-grid { display: grid; gap: 22px; margin-bottom: 22px; }
.profile-grid-3 { grid-template-columns: 1.25fr .8fr 1.1fr; }
.profile-grid-2 { grid-template-columns: 1fr 1.3fr; }
.profile-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.profile-box h2 { display: flex; align-items: center; gap: 13px; font-size: 22px; margin-bottom: 16px; }
.profile-box p, .profile-box li { font-size: 16px; line-height: 1.65; }
.profile-text p + p { margin-top: 12px; }
.profile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; color: #fff; }
.profile-icon .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.profile-icon.is-paw { background: #6b7a4f; }
.profile-icon.is-home { background: #d39a3a; }
.profile-icon.is-people { background: #8fa38a; }
.profile-icon.is-health { background: #b54b4b; }
.profile-icon.is-warn { background: #4f6f80; }
.profile-box.is-important { background: #f3f6f7; border-color: #c9d6dc; }
.important-text { font-size: 18px !important; color: var(--ink); }
.plain-list, .check-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 7px 0; border-bottom: 1px solid #eef0ea; }
.plain-list li:last-child { border: 0; }
.check-list li { display: flex; gap: 10px; padding: 5px 0; }
.check-list li:before { content: '✓'; color: var(--green); font-weight: 700; }
.relation-icons { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.relation-icons .rel { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; font-size: 13px; background: var(--light); border: 1px solid #d5ddd0; }
.relation-icons .icon { width: 18px; height: 18px; }
.relation-icons .rel-state { font-weight: 700; }
.relation-icons .rel-tak { background: #e5f0e1; border-color: #a9c49f; color: #2e5531; }
.relation-icons .rel-nie { background: #f8e8e6; border-color: #e0b1aa; color: #8a2c22; }
.relation-icons .rel-czesciowo { background: #fff3da; border-color: #e0c48d; color: #795524; }
.relation-icons .rel-brak { color: var(--muted); }

/* Treść stron (bloki Gutenberga) */
.prose .wp-block-heading:first-child { margin-top: 0; }
.prose .notice, .prose p.notice { background: var(--light); border-left: 3px solid #839373; border-radius: 0 7px 7px 0; padding: 16px 20px; font-size: 15px; }
.prose .eyebrow { font-size: 13px !important; margin-bottom: 8px; }
.prose a:not(.button):not(.text-link) { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 10px; height: auto; }
.prose details summary { font-size: 17px; }
.adoption-steps { counter-reset: krok; }
.adoption-steps h2 { counter-increment: krok; display: flex; gap: 16px; align-items: center; font-size: 24px; }
.adoption-steps h2:before { content: counter(krok); display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #e8ede2; color: var(--green); font-size: 16px; letter-spacing: 0; }
.adoption-steps p, .adoption-steps ul { margin-left: 56px; color: var(--muted); }
.wp-block-image figcaption { font-size: 13px; color: var(--muted); }
.alignwide { max-width: none; }

@media (max-width: 960px) {
	.profile-grid-3 { grid-template-columns: 1fr 1fr; }
	.profile-grid-3 .profile-box:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.profile-grid-3, .profile-grid-2 { grid-template-columns: 1fr; }
	.profile-box { padding: 20px; }
	.adoption-steps p, .adoption-steps ul { margin-left: 0; }
	.filters-submit { grid-column: 1 / -1; }
}

/* Długa nazwa schroniska: logo może się zwężać i zawijać na wąskich ekranach. */
.brand { min-width: 0; }
.brand > span { min-width: 0; }
@media (max-width: 960px) {
	.header-main { flex-wrap: wrap; }
	.header-main .brand { flex: 1 1 0; }
	.menu-toggle { flex-shrink: 0; }
}
@media (max-width: 700px) {
	.brand { font-size: 18px; gap: 9px; }
	.brand span span { font-size: 13px; margin-top: 2px; }
	.brand-logo { width: 46px; height: 46px; }
	.secondary-nav nav { gap: 12px; flex-wrap: wrap; justify-content: space-between; }
	html, body { overflow-x: hidden; }
}

/* Dokumenty do pobrania */
.file-meta { color: var(--muted); font-size: .85em; font-weight: 400; }

/* Facebook w nagłówku – widoczny na każdej szerokości ekranu (prośba schroniska 17.11.2026). */
.header-main > nav { order: 1; }
.header-fb { order: 2; display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #1877f2; color: #fff; }
.header-fb:hover { background: #0f5fcc; }
.header-fb svg { width: 24px; height: 24px; }
/* Średnie ekrany: miejsce na ikonę Facebooka bez łamania menu. */
@media (min-width: 961px) and (max-width: 1300px) {
	.header-main { gap: 14px; }
	.header-main nav { gap: 16px; }
	.header-main nav > a { white-space: nowrap; }
	.brand { font-size: 19px; }
	.brand span span { font-size: 14px; }
	.header-fb { width: 40px; height: 40px; }
}
@media (min-width: 961px) and (max-width: 1080px) {
	.header-main nav { gap: 11px; font-size: 13.5px; }
	.header-main .button.small { font-size: 13px; padding: 8px 11px; }
}
@media (min-width: 961px) and (max-width: 1010px) {
	.header-main { gap: 10px; }
	.header-main nav { gap: 9px; }
	.brand { font-size: 17px; gap: 8px; }
	.brand span span { font-size: 13px; }
	.brand-logo { width: 48px; height: 48px; }
}
@media (max-width: 960px) {
	.header-fb { order: 1; margin-left: auto; }
	.header-main .menu-toggle { order: 2; margin-left: 0; }
	.header-main > nav { order: 3; }
}

/* 1,5% – dwie organizacje */
.tax-org { border-top: 2px solid var(--line); margin-top: 22px; }
.tax-org + .tax-org { margin-top: 28px; }
.tax-value { font-size: 1.15em; font-weight: 650; letter-spacing: .01em; }

/* Galeria zespołu – O schronisku */
.wp-block-gallery.galeria-zespol { margin: 22px 0 8px; }
.galeria-zespol .wp-block-image img { border-radius: 8px; }

/* Boks boczny sięga prawej krawędzi kontenera (uwaga schroniska 17.11.2026). */
@media (min-width: 961px) {
	.reading-layout { grid-template-columns: minmax(0, 740px) minmax(290px, 1fr); }
}
