/*
 Theme Name:   GeneratePress Child
 Description:  Moja wĹ‚asna nakĹ‚adka na GeneratePress
 Template:     generatepress
 Author:       Koorda
 Version:      1.0.0
*/

/* Tu moĹĽesz dopisywaÄ‡ wĹ‚asny CSS, ktĂłry nadpisze style motywu */


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --brand-accent: #2563eb;
    --brand-accent-hover: #1d4ed8;
    --brand-success: #10b981;
    --brand-error: #ef4444;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =========================================================================
   RESET & BASE TYPOGRAPHY
========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--slate-900);
    line-height: 1.5;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button, input, select {
    font-family: inherit;
    font-size: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
}

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

/* =========================================================================
   UTILITIES
========================================================================= */
.container {
    max-width: 80rem; /* 1280px */
    margin: 0 auto;
    padding: 0 1.5rem; /* 24px */
}

.text-center { text-align: center; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }

/* Typografia Utility */
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-brand-accent { color: var(--brand-accent); }
.text-slate-900 { color: var(--slate-900); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-400 { color: var(--slate-400); }
.text-white { color: #fff; }

.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-900 { background-color: var(--slate-900); }
.bg-white { background-color: #fff; }

/* =========================================================================
   COMPONENTS
========================================================================= */

/* Ujednolicony styl dla wszystkich gĹ‚Ăłwnych nagĹ‚ĂłwkĂłw sekcji (jak w Pakiety Subskrypcji) */
section > .container > h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 4rem;
}

/* Zmniejszony margines dla nagĹ‚Ăłwka, jeĹ›li zaraz po nim wystÄ™puje opis */
section > .container > h2:has(+ p) {
    margin-bottom: 1.5rem;
}

/* Ujednolicony styl opisĂłw pod nagĹ‚Ăłwkami */
section > .container > h2 + p {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 4rem auto;
    color: var(--slate-600);
    font-size: 1.125rem;
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-large {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-accent);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
}

.btn-primary:hover {
    background-color: var(--brand-accent-hover);
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-outline {
    background-color: #fff;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
}

.btn-outline:hover {
    background-color: var(--slate-50);
    color: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-icon-right i {
    transition: transform 0.3s ease;
}
.btn-primary:hover .btn-icon-right i {
    transform: translateX(4px);
}

/* Glass Card */
.glass-card,
.pms-block-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
}

/* List with icons */
.icon-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

/* =========================================================================
   HEADER (NAV)
========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
}

.nav-container {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 2.5rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}

.nav-links a:hover {
    color: var(--brand-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-login {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}
.nav-login:hover { color: var(--brand-accent); }

/* =========================================================================
   HERO SECTION
========================================================================= */
.hero {
    position: relative;
    padding: 8rem 0;
    border-bottom: 1px solid var(--slate-200);
    overflow: hidden;
}

#particleCanvas,
.ef-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.2;
    mix-blend-mode: multiply;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(37,99,235,0.08), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-p {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-sm {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.feature-sm i { color: var(--brand-accent); }
.feature-sm span {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    line-height: 1.2;
}

/* Wyszukiwarka Hero */
.search-card {
    padding: 2.5rem;
}

.search-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.search-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.form-group label i {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--brand-accent);
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem; /* Zmniejszono lewy odstÄ™p o poĹ‚owÄ™ z 3rem na 1.5rem */
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    background: var(--slate-50);
    outline: none;
    color: var(--slate-900);
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: var(--brand-accent);
}

select.form-control {
    appearance: none;
}

/* =========================================================================
   HOW IT WORKS (JAK TO DZIAĹA)
========================================================================= */
.how-it-works {
    padding: 6rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-line {
    position: absolute;
    top: 3rem;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: var(--slate-200);
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--brand-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 4px solid var(--slate-50);
}

.step-content {
    background: #fff;
    padding: 2.5rem;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    transition: border-color 0.3s;
}
.step-content:hover { border-color: rgba(37, 99, 235, 0.5); }

.step-content i { color: var(--brand-accent); width: 2.5rem; height: 2.5rem; margin-bottom: 1.5rem; }
.step-content h4 { font-size: 1.125rem; margin-bottom: 1rem; }
.step-content p { font-size: 0.875rem; color: var(--slate-600); }

.benefits-row {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-400);
}
.benefit-item i { color: var(--brand-accent); width: 1rem; height: 1rem; }

/* =========================================================================
   STATS SECTION
========================================================================= */
.stats {
    padding: 6rem 0;
    background: var(--slate-50);
}

/* WyjÄ…tek: Styl dla dolnego dopisku pod kafelkami w sekcji stats */
.stats > .container > p.tracking-widest {
    font-size: 0.6875rem;
    margin-top: 4rem;
    margin-bottom: 0;
    color: var(--slate-500);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
}

.stat-card i { color: var(--brand-accent); width: 2.5rem; height: 2.5rem; margin-bottom: 1.5rem; display: block; }
.stat-val { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--slate-700); }
.stat-desc { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-400); }

.stat-card-accent {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stat-card-accent h4 { font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.2; }
.stat-card-accent p { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.stat-card-accent svg { opacity: 0.3; margin-top: 2rem; }

/* =========================================================================
   TARGET AUDIENCE (Dla kogo)
========================================================================= */
.audience { padding: 6rem 0; }

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.audience-card {
    background: var(--slate-50);
    overflow: hidden;
    position: relative;
}
.audience-card-img {
    height: 12rem;
    overflow: hidden;
    position: relative;
}
.audience-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0.9;
}
.audience-card:hover .audience-card-img img {
    transform: scale(1.05);
}
.audience-card-content { padding: 2rem; }
.audience-card h4 { font-size: 1.25rem; margin-bottom: 1rem; }
.audience-card p { font-size: 0.875rem; color: var(--slate-600); margin-bottom: 1.5rem; }
.audience-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    transition: gap 0.3s;
}
.audience-card:hover .audience-link { gap: 0.75rem; }

/* =========================================================================
   VIDEO SECTION
========================================================================= */
.video-section {
    padding: 6rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}


.video-player {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.video-player img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.3s;
}
.video-player:hover img { transform: scale(1.05); }
.play-btn {
    position: relative;
    z-index: 10;
    width: 4rem;
    height: 4rem;
    background: var(--brand-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}
.video-player:hover .play-btn { transform: scale(1.1); }
.play-btn i { width: 1.5rem; height: 1.5rem; margin-left: 2px; }

/* =========================================================================
   PRICING SECTION (Cennik)
========================================================================= */
.pricing {
    padding: 6rem 0;
    background: var(--slate-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    padding: 2.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.price-value { font-size: 3rem; font-weight: 800; line-height: 1; }
.pricing-subtitle { font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; color: var(--slate-500); }
.pricing-desc { font-size: 0.875rem; color: var(--slate-600); margin-bottom: 2rem; min-height: 3rem; }

.pricing-card ul {
    flex: 1;
    margin-bottom: 2.5rem;
}

.pricing-card.highlight {
    border: 2px solid var(--brand-accent);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
    transform: translateY(-1rem);
    position: relative;
}
.badge-highlight {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-accent);
    color: #fff;
    padding: 2px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-disclaimer {
    max-width: 56rem;
    margin: 4rem auto 0;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
}
.pricing-disclaimer p {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}
.pricing-disclaimer p:last-child { margin-bottom: 0; }

/* =========================================================================
   FOOTER (do wydzielenia)
========================================================================= */
.footer {
    padding: 5rem 0;
    background: var(--slate-900);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo img {
    height: 2.5rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s;
    margin-bottom: 2rem;
}
.footer-logo img:hover { opacity: 1; }
.footer-desc {
    font-size: 0.875rem;
    color: #fff;
    margin-bottom: 2rem;
    max-width: 20rem;
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
}
.social-links a:hover { color: #fff; border-color: var(--brand-accent); }

.footer h5 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: #fff;
}
.footer ul { display: flex; flex-direction: column; gap: 1rem; }
.footer ul a { font-size: 0.875rem; color: var(--slate-400); }
.footer ul a:hover { color: #fff; }

.newsletter-form { position: relative; margin-top: 1.5rem; }
.newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.3s;
}
.newsletter-form input:focus { border-color: var(--brand-accent); background: rgba(255, 255, 255, 0.1); }
.newsletter-form button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: var(--brand-accent);
    color: #fff;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newsletter-form button:hover { background: var(--brand-accent-hover); }

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
}
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a:hover { color: #fff; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 32rem; }
    .pricing-card.highlight { transform: none; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .steps-line { display: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; align-items: center; }
}

/* WyrĂłwnanie flagi i tekstu w menu GTranslate */
.menu-item-gtranslate a {
    display: flex !important;
    align-items: center; /* Centrowanie w pionie */
    gap: 8px;            /* OdstÄ™p miÄ™dzy flagÄ… a tekstem */
    text-decoration: none;
}

/* Upewnienie siÄ™, ĹĽe flaga nie przeskakuje */
.menu-item-gtranslate a img {
    display: inline-block;
    margin-bottom: 0 !important; /* Usuwa ewentualny margines dolny */
}

/* Opcjonalnie: poprawka dla elementĂłw wewnÄ…trz rozwijanego menu */
.menu-item-gtranslate-child a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
}
/* Zmiana wyglÄ…du rozwijanego menu GTranslate */
.menu-item-gtranslate .dropdown-menu.sub-menu {
    background-color: #ffffff !important; /* BiaĹ‚e tĹ‚o */
    border: 1px solid #e0e0e0;            /* Delikatna szara ramka */
    border-radius: 8px;                   /* ZaokrÄ…glone rogi */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Opcjonalnie: lekki cieĹ„ dla lepszego efektu */
    padding: 10px 0;                      /* OdstÄ™p wewnÄ™trzny gĂłra/dĂłĹ‚ */
    min-width: 120px;                     /* Minimalna szerokoĹ›Ä‡, by menu nie byĹ‚o za wÄ…skie */
}

/* Poprawka koloru tĹ‚a przy najechaniu myszkÄ… na element (hover) */
.menu-item-gtranslate-child a:hover {
    background-color: #f5f5f5 !important; /* Lekko szary kolor po najechaniu na flagÄ™ */
    border-radius: 4px;                   /* ZaokrÄ…glenie podĹ›wietlenia */
}

/* =========================================================================
   FORMULARZE PMS (LOGOWANIE / REJESTRACJA)
========================================================================= */
.pms-block-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 50rem;
    margin: 2rem auto;
    font-family: var(--font-main);
    color: var(--slate-900);
}

.pms-block-container a {
    color: var(--brand-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.pms-block-container a:hover {
    color: var(--brand-accent-hover);
}

.pms-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pms-form p {
    margin-bottom: 0;
}

.pms-form label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

/* ZapamiÄ™taj mnie / Checkbox */
.pms-form .login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pms-form .login-remember label {
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}

.pms-form input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--brand-accent);
    cursor: pointer;
}

/* Przycisk logowania / rejestracji */
.pms-form input[type="submit"] {
    width: 100%;
    height: 3.25rem;
    padding: 0 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--brand-accent);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
}

.pms-form input[type="submit"]:hover {
    background-color: var(--brand-accent-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pms-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* Linki pod formularzem (Rejestracja, Reset hasĹ‚a) */
.pms-form .login-extra {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

.pms-form .login-extra a {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: none;
}

.pms-form .login-extra a:hover {
    color: var(--brand-accent-hover);
    text-decoration: underline;
}

.pms-form .login-extra .separator {
    margin: 0 0.5rem;
    color: var(--slate-300);
}
/**/
/* 1. Resetowanie gĹ‚Ăłwnego kontenera strony */
.grid-container.container.hfeed {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

/* 2. UsuniÄ™cie paddingu wewnÄ…trz artykuĹ‚u (to tu siedzi "margines" GeneratePress) */
.separate-containers .inside-article {
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. Wyzerowanie marginesĂłw dla gĹ‚Ăłwnej sekcji treĹ›ci */
#primary, #main {
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. UsuniÄ™cie marginesĂłw z blokĂłw GenerateBlocks (jeĹ›li ich uĹĽywasz wewnÄ…trz) */
.entry-content {
    margin: 0 !important;
    background: transparent;
}

/* Strona z trescia bloga ------------------------------------------------------ */
/* Zastosuj zmiany TYLKO na stronach pojedynczych wpisów blogowych */

.single-post .entry-content h1,
.single-post .entry-title {
	font-size: 28px !important;
    color: var(--accent) !important;
    margin-top: 40px !important;
}
.single-post .inside-article {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 40 !important;
}

.single-post .site-content {
    background-color: transparent !important;
}

/* Środkowanie treści tylko w artykułach */
.single-post .entry-content {
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Środkowanie nagłówka tylko w artykułach */
.single-post .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Ukrywanie sidebaru i rozciąganie treści tylko w artykułach */
.single-post #right-sidebar {
    display: none !important;
}

.single-post .content-area {
    width: 100% !important;
    float: none !important;
}

/* Wyświetlanie i środkowanie metadanych (góra i dół artykułu) */
.single-post .entry-meta, 
.single-post .entry-footer {
    display: block !important;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Środkowanie linków do kategorii i tagów wewnątrz stopek */
.single-post .entry-footer {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Odstęp między linkami */
}

/* Stylizacja linków "Poprzedni / Następny wpis" na dole, jeśli ich używasz */
.single-post .post-navigation {
    text-align: center;
    display: flex;
    justify-content: center;
}

/* 1. Nagłówki H1 w treści artykułu */
.single-post .entry-content h1 {
    padding-top: 40px !important;
}

/* 2. Wszystkie akapity w treści */
.single-post .entry-content p {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-bottom: 0; /* Zerujemy marginesy, by padding przejął kontrolę nad odstępami */
}

/* 3. Nawigacja na dole (Poprzedni / Następny wpis) jeden pod drugim */
.single-post .post-navigation {
    display: flex !important;
    flex-direction: column !important; /* Układa linki w pionie */
    align-items: center !important;    /* Środkuje je */
    gap: 15px;                         /* Odstęp między linkami */
    margin-top: 40px;
}

/* Usuwamy strzałki lub floaty, które mogłyby psuć pionowy układ w GP */
.single-post .nav-previous, 
.single-post .nav-next {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
}

/* Dodatkowo: wyśrodkowanie pozostałych elementów na dole */
.single-post .entry-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
}

.cat-links, .comments-link, .tags-links {
    display: none;
}

.single-post .entry-header, 
.single-post .featured-image {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .entry-meta .author a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
    color: inherit !important; /* Sprawia, że kolor jest taki sam jak reszta tekstu */
}

.site-header {
    border-bottom: 1px solid var(--slate-200);
}