/*
Theme Name: Dobra Fundacja
Description: Autorski motyw na podstawie zatwierdzonego projektu Dobrej Fundacji. Edytowalne sekcje, aktualności i logotypy organizacji.
Version: 0.4.9
Author: Dobra Fundacja
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: dobra-fundacja
*/
.df-menu-toggle{display:none}.df-single{max-width:850px;margin:auto;padding:45px 0 65px}.df-single h1{font-size:38px;line-height:1.35;color:#61c4d9;font-family:lemon,q,sans-serif;font-weight:200}.df-single .entry-content{font-size:20px;line-height:1.85}.df-single .entry-content img{max-width:100%;height:auto}.df-single .entry-content a{color:#243060;text-decoration:underline}.df-single .entry-content a:hover{color:#61c4d9}.df-single img.wp-post-image{width:100%;height:auto;margin:25px 0}.df-pagination{display:flex;flex-wrap:wrap;gap:12px;margin:35px 0}.df-pagination a,.df-pagination span,nav.df-pagination a:not(.btn){display:inline-block;border:1px solid #dce5e8;padding:8px 14px}.df-pagination .current{background:#243060;color:#fff}.df-byline{font-size:14px}.df-editor-section{border:1px solid #dce5e8;padding:22px;margin-bottom:20px}.df-editor-section label{display:block;margin:15px 0 5px}.df-editor-section textarea{width:100%}body.admin-bar .top{top:32px}html{scroll-padding-top:125px}.df-shortcode-notice{padding:20px;border:1px solid #dce5e8}

/* WordPress supplies intrinsic height attributes; keep approved news frames responsive. */
.article-image img,.featured-picture img{height:auto}
.df-news-inline-action{display:block;margin-top:20px}.df-news-inline-action a{font:200 13px/1.6 lemon,q,sans-serif;letter-spacing:.2px}
/* Keep the embedded donation form on home; show only the shopping badge elsewhere. */
body:not(.home) #fanipay-root{display:none}
.df-mobile-social{display:none}.df-mobile-social svg{width:17px;height:17px;fill:currentColor}
@media(max-width:900px){.df-menu-toggle{display:block;color:white;border:1px solid rgba(255,255,255,.7);background:transparent;padding:8px 10px;font:200 12px lemon,q,sans-serif;cursor:pointer;margin-left:auto}.df-menu-toggle:hover{color:#243060}.top header{position:relative}.top header .header-social{display:none}#df-main-navigation{display:none}#df-main-navigation.df-navigation-open{display:flex!important;position:absolute;top:100%;left:0;right:0;background:#61c4d9;padding:20px;flex-direction:column;align-items:flex-start;gap:18px;box-shadow:0 8px 12px #24306022}#df-main-navigation.df-navigation-open a:not(.btn){display:block!important}.df-mobile-social{display:flex;gap:20px;align-items:center;padding-top:8px}.df-single{padding:30px 0 45px}.df-single h1{font-size:29px}}
@media(max-width:782px){body.admin-bar .top{top:46px}}

/* Native error page: the same brand typography and link treatment as the site. */
.df-error{padding-top:76px;padding-bottom:96px;min-height:540px;box-sizing:border-box;background:#fff;color:#243060}
.df-error-copy{max-width:950px}
.df-error .df-error-label{margin:0 0 26px;font:200 16px/1.6 q,sans-serif;letter-spacing:1.4px;color:#243060}
.df-error h1{margin:0 0 30px;font:200 clamp(48px,5.4vw,80px)/1.16 lemon,q,sans-serif;letter-spacing:-1px;color:#243060;text-transform:none}
.df-error h1 span{color:#61c4d9}
.df-error .df-error-description{margin:0 0 34px;font:200 24px/1.65 q,sans-serif;color:#243060}
.df-error a.action-link{display:inline-block;font:200 15px/1.7 lemon,q,sans-serif;letter-spacing:.2px;color:#243060;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px;background:transparent}
.df-error a.action-link:hover{color:#61c4d9}
.df-error a.action-link:focus-visible{outline:2px solid #243060;outline-offset:7px}
@media(max-width:900px){.df-error{padding-top:54px;padding-bottom:72px;min-height:480px}.df-error .df-error-label{font-size:18px;letter-spacing:.8px}.df-error h1{font-size:56px}.df-error .df-error-description{font-size:22px}}
@media(max-width:480px){.df-error{padding-top:44px;padding-bottom:58px;min-height:440px}.df-error h1{font-size:46px;letter-spacing:-.5px;margin-bottom:25px}.df-error .df-error-description{font-size:21px;margin-bottom:30px}.df-error a.action-link{font-size:13px}}

/* Safari's detected-number anchors must never inherit footer navigation blocks. */
#stopka .footer-address a,
#stopka .footer-register a,
#stopka a[x-apple-data-detectors]{display:inline!important;margin:0!important;padding:0!important;border:0!important;color:inherit!important;font:inherit!important;line-height:inherit!important;text-decoration:none!important}
@media(max-width:520px){
  #stopka .foot{row-gap:24px}
  #stopka .footer-text-columns{row-gap:24px}
  #stopka .foot p{line-height:1.65}
  #stopka .footer-address p+p{margin-top:20px}
  #stopka .footer-legal-group a,#stopka .footer-sites a{line-height:1.65!important}
  #stopka .footer-sites,#stopka .footer-legal .footer-copyright{margin-top:20px}
}
/* Reserve room for the mobile FaniMani badge and keep the top arrow above it. */
@media(max-width:760px){
  footer#stopka{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  #stopka .footer-top{bottom:calc(78px + env(safe-area-inset-bottom,0px));right:18px}
}

/* Foundation cookie consent design */
.cmplz-cookiebanner{background:#fff!important;color:#243060!important;border:1px solid #61c4d9!important;border-radius:0!important;font-family:q,Quasimoda,sans-serif!important;font-weight:200!important;box-shadow:0 8px 32px #24306026!important;bottom:85px!important;max-height:calc(100dvh - 110px)!important;overflow:auto!important}.cmplz-cookiebanner .cmplz-title{color:#243060!important;font-family:lemon,q,sans-serif!important;font-weight:200!important;font-size:22px!important}.cmplz-cookiebanner .cmplz-message,.cmplz-cookiebanner .cmplz-description{color:#243060!important;font-size:16px!important;line-height:1.55!important;font-weight:200!important}.cmplz-cookiebanner .cmplz-buttons{gap:12px!important}.cmplz-cookiebanner .cmplz-btn{background:transparent!important;color:#243060!important;border:0!important;border-bottom:1px solid currentColor!important;border-radius:0!important;font-family:inherit!important;font-size:14px!important;font-weight:200!important;text-transform:uppercase!important;min-height:44px!important;padding:10px 4px!important}.cmplz-cookiebanner .cmplz-btn:hover,.cmplz-cookiebanner a:hover{color:#31899c!important}.cmplz-cookiebanner a{color:#243060!important}.cmplz-cookiebanner .cmplz-category{background:#f3fafc!important;color:#243060!important}.cmplz-manage-consent .cmplz-manage-consent{background:#243060!important;color:#fff!important;border-radius:0!important;font-family:q,sans-serif!important;font-size:14px!important;font-weight:200!important;padding:10px 14px!important;bottom:0!important;left:16px!important;right:auto!important;min-height:44px!important}@media(max-width:600px){.cmplz-cookiebanner{width:calc(100% - 24px)!important;left:12px!important;right:12px!important;bottom:84px!important;padding:18px!important}.cmplz-cookiebanner .cmplz-buttons{flex-wrap:wrap!important}.cmplz-cookiebanner .cmplz-btn{flex:0 0 auto!important;width:100%!important;max-width:100%!important}.cmplz-cookiebanner .cmplz-message{font-size:16px!important}}
@media(max-width:600px){.cmplz-cookiebanner .cmplz-buttons{display:flex!important;flex-direction:column!important;align-items:stretch!important}.cmplz-cookiebanner .cmplz-title{display:block!important}.cmplz-cookiebanner .cmplz-header{display:flex!important}.cmplz-cookiebanner{box-sizing:border-box!important;overflow-x:hidden!important}.cmplz-cookiebanner .cmplz-links{display:flex!important;flex-wrap:wrap!important}}
