/*
 * Planeta Mepli: fixes on top of the original site's CSS (/_astro/BaseLayout.*.css and the theme's style.css).
 * Linked from every static page, the plugin templates and the WordPress theme as /pm-overrides.css?v=N
 * (raise N after a change: CSS files are cached by browsers for 30 days).
 */

/* Header menu with 6 items ("konkurs" added): the menu uses the free space between the logo and the
   social icons instead of max. 50% of the header, so it no longer covers the logo on desktop screens.
   Below 1001px the original mobile (hamburger) menu is used unchanged. */
@media (min-width: 1001px) {
    header nav {
        flex: 1 1 auto;
        max-width: none;
        padding: 0 clamp(1rem, 2.5vw, 3rem);
        gap: clamp(1rem, 1.8vw, 2.5rem);
        justify-content: center;
        align-items: center;
    }
    header nav a {
        font-size: clamp(1rem, 1.2vw, 1.25rem);
        text-align: center;
        line-height: 1.2;
    }
    header .logo { flex: 0 0 auto; }
    header .promo { display: none; }
    header div.social-container { flex: 0 0 auto; width: auto; }
}

/* Polityka cookies built from WordPress blocks: tables are <figure> elements, without the browser's default margin */
.cookie-policy figure.cookie-policy-table { margin: 0 0 1rem; }
.cookie-policy figure.cookie-policy-table table { margin: 0; }
