/* Fotomio: panel zgód cookies – niezależny od istniejącego arkusza */
.fm-cookie-banner,.fm-cookie-modal{font-family:inherit;box-sizing:border-box}
.fm-cookie-banner *,.fm-cookie-modal *{box-sizing:border-box}
.fm-cookie-banner{position:fixed;z-index:99990;left:auto;right:20px;bottom:20px;width:min(410px,calc(100vw - 28px));max-width:410px;margin:0;background:#fff;color:#17172b;border:1px solid #e4e5ef;border-radius:18px;box-shadow:0 18px 60px rgba(15,18,45,.22);padding:20px 22px;display:none}
.fm-cookie-banner.is-visible{display:block}
.fm-cookie-banner h2,.fm-cookie-modal h2{font-size:20px;line-height:1.2;margin:0 0 8px;color:#17172b}
.fm-cookie-banner p,.fm-cookie-modal p{font-size:14px;line-height:1.5;margin:0 0 14px;color:#555b74}
.fm-cookie-actions{display:flex;flex-wrap:wrap;gap:9px}
.fm-cookie-btn{appearance:none;border:1px solid #dfe1ec;border-radius:10px;padding:10px 15px;font:600 14px inherit;cursor:pointer;background:#fff;color:#191a30}
.fm-cookie-btn.primary{background:#5b3df5;border-color:#5b3df5;color:#fff}
.fm-cookie-btn:hover{filter:brightness(.97)}
.fm-cookie-banner a,.fm-cookie-modal a{color:#5b3df5;text-decoration:underline}
.fm-cookie-modal{position:fixed;inset:0;z-index:99999;background:rgba(12,13,30,.55);display:none;align-items:center;justify-content:center;padding:18px}
.fm-cookie-modal.is-visible{display:flex}
.fm-cookie-dialog{width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.25)}
.fm-cookie-option{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #ececf3;font-size:14px;color:#292a40}
.fm-cookie-option input{width:18px;height:18px;accent-color:#5b3df5;margin:2px 0 0}
.fm-cookie-option small{display:block;color:#697087;line-height:1.45;margin-top:3px}
.fm-cookie-note{font-size:12px!important;color:#73788d!important;margin-top:12px!important}
.foot-legal{display:flex;gap:8px 14px;flex-wrap:wrap;margin-top:12px;font-size:13px}
.foot-legal a,.cookie-settings-link{color:inherit;text-decoration:underline;text-underline-offset:3px;opacity:.88}
.cookie-settings-link{border:0;background:transparent;padding:0;font:inherit;cursor:pointer}
.legal-accept-links{display:inline}
.legal-accept-links a{white-space:nowrap}
@media(max-width:600px){.fm-cookie-banner{left:auto;right:12px;bottom:12px;width:min(360px,calc(100vw - 24px));padding:15px;border-radius:14px}.fm-cookie-actions .fm-cookie-btn{flex:1 1 100%}.fm-cookie-dialog{padding:18px}}

/* Stopka: zachowanie kolumn SEO „Dla fotografów” i „Poradnik” */
.foot-in{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.foot-in{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.foot-in{grid-template-columns:1fr}}

/* Dokumenty prawne w szacie serwisu Fotomio */
.fm-legal-page{padding:58px 0 76px;background:#f7f8fc}
.fm-legal-card{max-width:980px;margin:0 auto;background:#fff;border:1px solid #e8eaf3;border-radius:22px;padding:clamp(24px,4vw,48px);box-shadow:0 16px 48px rgba(28,38,85,.07);color:#252943}
.fm-legal-card h1{font-size:clamp(30px,4vw,42px);line-height:1.15;letter-spacing:-.03em;color:#202b55;margin:0 0 14px}
.fm-legal-card h2{font-size:21px;line-height:1.3;color:#315bd8;margin:30px 0 10px}
.fm-legal-card p{font-size:15px;line-height:1.75;color:#444b66;margin:8px 0}
.fm-legal-card a{color:#5b3df5}
.fm-legal-back{display:inline-flex;margin-top:28px;color:#5b3df5;font-weight:650;text-decoration:none}
