/*
Theme Name: IRS Platform
Theme URI: https://fundacjacsr.pl
Author: Fundacja CSR
Author URI: https://fundacjacsr.pl
Description: Interaktywny portal analityczny Ă„â€šĂ˘â‚¬ĹľÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ă„Ä…Ă„ÄľÄ‚â€žĂ˘â‚¬ĹˇÄ‚â€ąĂ‚ÂĂ„â€šĂ‹ÂÄ‚ËĂ˘â€šÂ¬ÄąË‡Ä‚â€šĂ‚Â¬Ä‚â€žĂ„â€¦Ä‚â€ąĂ˘â‚¬Ë‡Ă„â€šĂ˘â‚¬ĹľÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ä‚â€žĂ˘â‚¬Â¦Ä‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ˘â‚¬ĹˇÄ‚â€šĂ‚ÂÄ‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąÄľĂ„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ă„Ä…Ă‹â€ˇÄ‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬Ă„â€¦Ă„â€šĂ˘â‚¬ĹˇÄ‚â€šĂ‚ÂĂ„â€šĂ˘â‚¬ĹľÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ˘â‚¬Ä…Ä‚â€šĂ‚ÂÄ‚â€žĂ˘â‚¬ĹˇÄ‚â€ąĂ‚ÂĂ„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ă„Ä…Ă‹â€ˇĂ„â€šĂ˘â‚¬ĹˇÄ‚â€šĂ‚Â¬Ă„â€šĂ˘â‚¬ĹľÄ‚â€žĂ˘â‚¬Â¦Ă„â€šĂ˘â‚¬Ä…Ä‚ËĂ˘â€šÂ¬Ă‹â€ˇĂ„â€šĂ˘â‚¬ĹľÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ă„Ä…Ă‹â€ˇÄ‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ˘â‚¬ĹˇÄ‚â€šĂ‚Â¬Ä‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąÄľĂ„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ă„Ä…Ă‹â€ˇÄ‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬Ă„â€¦Ă„â€šĂ˘â‚¬ĹˇÄ‚â€šĂ‚ÂĂ„â€šĂ˘â‚¬ĹľÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ˘â‚¬Ä…Ä‚â€šĂ‚ÂÄ‚â€žĂ˘â‚¬ĹˇÄ‚â€ąĂ‚ÂĂ„â€šĂ‹ÂÄ‚ËĂ˘â€šÂ¬ÄąË‡Ä‚â€šĂ‚Â¬Ä‚â€žĂ„â€¦Ä‚â€ąĂ˘â‚¬Ë‡Ä‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąË‡Ă„â€šĂ˘â‚¬ĹˇÄ‚â€šĂ‚Â¬Ä‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąÄľĂ„â€šĂ˘â‚¬ĹľÄ‚ËĂ˘â€šÂ¬Ă‚Â¦Ä‚â€žĂ˘â‚¬ĹˇÄ‚ËĂ˘â€šÂ¬ÄąÄľĂ„â€šĂ‹ÂÄ‚ËĂ˘â‚¬ĹˇĂ‚Â¬Ă„Ä…Ă„Äľ Indeks Racji Stanu (IRS). Platforma do wizualizacji danych governance dla Polski.
Version: 1.0.70
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: irs-platform
Tags: custom-logo, dark-mode, one-column, custom-menu, featured-images, translation-ready
*/

/* Gotham — place licensed files in assets/fonts/ (see assets/fonts/README.md) */
@font-face {
    font-family: 'Gotham Book';
    src:
        url('assets/fonts/GothamBook.woff2') format('woff2'),
        url('assets/fonts/GothamBook.woff') format('woff'),
        url('assets/fonts/Gotham-Book.woff2') format('woff2'),
        url('assets/fonts/Gotham-Book.woff') format('woff'),
        url('assets/fonts/GothamBook.ttf') format('truetype'),
        url('assets/fonts/Gotham-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Black';
    src:
        url('assets/fonts/GothamBlack.woff2') format('woff2'),
        url('assets/fonts/GothamBlack.woff') format('woff'),
        url('assets/fonts/Gotham-Black.woff2') format('woff2'),
        url('assets/fonts/Gotham-Black.woff') format('woff'),
        url('assets/fonts/GothamBlack.ttf') format('truetype'),
        url('assets/fonts/Gotham-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand: #141d3a · #b42727 · #ffffff */
    --irs-brand-navy: #141d3a;
    --irs-brand-red: #b42727;
    --irs-brand-white: #ffffff;
    --irs-ink: #ffffff;

    --irs-bg-primary: #141d3a;
    --irs-bg-secondary: #1a2548;
    --irs-bg-tertiary: #222e55;
    --irs-bg-card: #1a2548;
    --irs-text-primary: #ffffff;
    --irs-text-secondary: rgba(255, 255, 255, 0.78);
    --irs-text-muted: rgba(255, 255, 255, 0.55);
    --irs-border: rgba(255, 255, 255, 0.14);
    --irs-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);

    --irs-accent-cyan: #b42727;
    --irs-accent-coral: #b42727;
    --irs-accent-gold: #ffffff;
    --irs-accent-lime: #ffffff;
    --irs-accent-purple: #b42727;

    --irs-navy: #141d3a;
    --irs-navy-light: #222e55;
    --irs-navy-dark: #0f162c;
    --irs-white: #ffffff;
    --irs-off-white: #f5f6f8;
    --irs-gold: #ffffff;
    --irs-gold-light: rgba(255, 255, 255, 0.7);
    --irs-copper: #b42727;

    --irs-red: #b42727;
    --irs-red-bg: rgba(180, 39, 39, 0.2);
    --irs-orange: #c95a5a;
    --irs-orange-bg: rgba(201, 90, 90, 0.2);
    --irs-green: #ffffff;
    --irs-green-bg: rgba(255, 255, 255, 0.12);
    --irs-yellow: rgba(255, 255, 255, 0.85);

    --irs-font-family: 'Gotham Book', Arial, Helvetica, sans-serif;
    --irs-font-display: 'Gotham Black', 'Gotham Book', Arial, Helvetica, sans-serif;
    --irs-font-size-base: 16px;
    --irs-font-size-xs: 0.75rem;
    --irs-font-size-sm: 0.875rem;
    --irs-font-size-md: 1rem;
    --irs-font-size-lg: 1.125rem;
    --irs-font-size-xl: 1.5rem;
    --irs-font-size-2xl: 2rem;
    --irs-font-size-3xl: 2.5rem;
    --irs-font-size-hero: 4rem;

    --irs-space-xs: 0.25rem;
    --irs-space-sm: 0.5rem;
    --irs-space-md: 1rem;
    --irs-space-lg: 1.5rem;
    --irs-space-xl: 2rem;
    --irs-space-2xl: 3rem;
    --irs-space-3xl: 4rem;

    --irs-max-width: 1400px;
    --irs-border-radius: 8px;
    --irs-border-radius-lg: 12px;
    --irs-border-radius-xl: 16px;

    --irs-transition: 0.3s ease;
}

[data-theme="light"] {
    --irs-bg-primary: #ffffff;
    --irs-bg-secondary: #f5f6f8;
    --irs-bg-tertiary: #e8ebf2;
    --irs-bg-card: #ffffff;
    --irs-text-primary: #141d3a;
    --irs-text-secondary: rgba(20, 29, 58, 0.72);
    --irs-text-muted: rgba(20, 29, 58, 0.5);
    --irs-border: rgba(20, 29, 58, 0.12);
    --irs-shadow: 0 2px 12px rgba(20, 29, 58, 0.08);

    --irs-accent-cyan: #b42727;
    --irs-accent-coral: #b42727;
    --irs-accent-gold: #141d3a;
    --irs-accent-lime: #141d3a;
    --irs-accent-purple: #b42727;

    --irs-navy: #141d3a;
    --irs-navy-light: #2a3a66;
    --irs-navy-dark: #0f162c;
    --irs-white: #ffffff;
    --irs-off-white: #f5f6f8;
    --irs-gold: #141d3a;
    --irs-gold-light: rgba(20, 29, 58, 0.7);
    --irs-copper: #b42727;

    --irs-red: #b42727;
    --irs-red-bg: rgba(180, 39, 39, 0.12);
    --irs-orange: #c95a5a;
    --irs-orange-bg: rgba(201, 90, 90, 0.12);
    --irs-green: #141d3a;
    --irs-green-bg: rgba(20, 29, 58, 0.08);
    --irs-yellow: #141d3a;

    /* Ink mark: white on dark UI, navy on light UI */
    --irs-ink: #141d3a;
    --irs-brand-white: #141d3a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--irs-font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--irs-font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--irs-text-primary);
    background-color: var(--irs-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--irs-transition), color var(--irs-transition);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg, canvas {
    max-width: 100%;
}

a {
    color: var(--irs-accent-cyan);
    text-decoration: none;
    transition: color var(--irs-transition);
}

a:hover,
a:focus {
    color: var(--irs-accent-gold);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-family: var(--irs-font-display);
    font-weight: 900;
    color: var(--irs-text-primary);
}

h1 { font-size: var(--irs-font-size-3xl); }
h2 { font-size: var(--irs-font-size-2xl); }
h3 { font-size: var(--irs-font-size-xl); }
h4 { font-size: var(--irs-font-size-lg); }

p {
    margin-bottom: var(--irs-space-md);
}

.irs-container {
    width: 100%;
    max-width: var(--irs-max-width);
    margin: 0 auto;
    padding: 0 var(--irs-space-md);
}

.irs-section {
    padding: var(--irs-space-3xl) 0;
}

.irs-section--alt {
    background-color: var(--irs-bg-secondary);
}

.irs-grid {
    display: grid;
    gap: var(--irs-space-xl);
}

.irs-grid--2 {
    grid-template-columns: 1fr;
}

.irs-grid--3 {
    grid-template-columns: 1fr;
}

.irs-grid--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .irs-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .irs-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .irs-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .irs-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .irs-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
