/* ============================================
   STRONY TEKSTOWE - Regulamin, O nas, Kontakt
   ============================================ */

/* Artykul glowny */
.content-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
    color: #333;
}

.content-article h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2563eb;
}

.content-article .lead {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
}

.content-article .updated-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 30px;
}

/* Naglowki sekcji */
.content-article h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.content-article h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin: 30px 0 15px 0;
}

.content-article h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #475569;
    margin: 20px 0 10px 0;
}

/* Akapity i listy */
.content-article p {
    margin-bottom: 18px;
    text-align: justify;
}

.content-article ul,
.content-article ol {
    margin: 20px 0 20px 25px;
    padding: 0;
}

.content-article li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.content-article ul {
    list-style: none;
}

.content-article ul li::before {
    content: "→";
    color: #2563eb;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

.content-article ol {
    list-style: decimal;
}

/* Linki */
.content-article a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.content-article a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* Spis tresci */
.content-article .toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 30px 0 40px 0;
}

.content-article .toc h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin: 0 0 15px 0;
}

.content-article .toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 30px;
}

.content-article .toc li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.content-article .toc li::before {
    display: none;
}

.content-article .toc a {
    font-size: 0.95rem;
}

/* Definicje (dt/dd) */
.content-article dl {
    margin: 20px 0;
}

.content-article dt {
    font-weight: 600;
    color: #1e293b;
    margin-top: 20px;
    padding: 10px 15px;
    background: #f1f5f9;
    border-radius: 6px 6px 0 0;
}

.content-article dd {
    margin: 0;
    padding: 15px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 6px 6px;
    margin-bottom: 10px;
}

/* Sekcje */
.content-article section {
    margin-bottom: 40px;
    scroll-margin-top: 20px;
}

/* Info box */
.content-article .info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 40px 0;
}

.content-article .info-box h3 {
    color: #1e40af;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.content-article .info-box p {
    margin-bottom: 15px;
    color: #1e3a5f;
}

.content-article .info-box .btn {
    display: inline-block;
    background: #2563eb;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

.content-article .info-box .btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Features grid - O nas */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s ease;
}

.feature-box:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.feature-box h3 {
    color: #2563eb;
    margin: 0 0 12px 0 !important;
    font-size: 1.1rem;
}

.feature-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* User groups - O nas */
.user-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.user-group {
    padding: 20px;
    background: #fafafa;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
}

.user-group h4 {
    margin: 0 0 10px 0 !important;
    color: #1e293b;
}

.user-group p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* Timeline - O nas */
.timeline {
    position: relative;
    margin: 30px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2563eb 0%, #93c5fd 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: #2563eb;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #2563eb;
}

.timeline-item h4 {
    margin: 0 0 8px 0 !important;
    color: #2563eb;
}

.timeline-item p {
    margin: 0;
    color: #64748b;
}

/* FAQ - Kontakt */
.faq-section {
    margin: 25px 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item h4 {
    margin: 0 !important;
    padding: 18px 20px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 1rem;
    cursor: pointer;
}

.faq-item p {
    margin: 0;
    padding: 18px 20px;
    background: #fff;
    color: #64748b;
    border-top: 1px solid #e5e7eb;
}

/* Formularz kontaktowy */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info {
    order: 1;
}

.contact-form-section {
    order: 2;
    position: sticky;
    top: 20px;
    align-self: start;
}

.contact-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px !important;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
}

.form-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff !important;
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-large {
    padding: 18px 36px;
}

.success-message {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #6ee7b7;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.success-message h3 {
    color: #047857;
    margin: 0 0 10px 0 !important;
}

.success-message p {
    color: #065f46;
    margin: 0;
}

/* Info cards - Kontakt */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.2s ease;
}

.info-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-card h3 {
    margin: 0 0 12px 0 !important;
    color: #1e293b;
    font-size: 1.1rem;
}

.info-card p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: #64748b;
}

.info-card a {
    font-weight: 500;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    margin: 30px 0;
}

/* ============================================
   RESPONSYWNOSC
   ============================================ */

@media (max-width: 900px) {
    .content-article {
        padding: 15px;
    }

    .content-article h1 {
        font-size: 1.8rem;
    }

    .content-article .toc ol {
        columns: 1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        order: 1;
        position: static;
    }

    .contact-info {
        order: 2;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .user-groups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .content-article h1 {
        font-size: 1.5rem;
    }

    .content-article h2 {
        font-size: 1.25rem;
    }

    .content-article .lead {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .content-article .toc {
        padding: 20px;
    }

    .content-article .info-box {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .timeline {
        padding-left: 25px;
    }
}

/* ============================================
   SEKCJA SEO - STRONA GLOWNA
   ============================================ */

.home-lead {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 15px;
}

.seo-section {
    padding: 60px 20px;
    background: #fff;
}

.seo-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.seo-intro h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.seo-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.stat-box {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* SEO Block */
.seo-block {
    margin: 60px 0;
    padding: 40px;
    background: #f8fafc;
    border-radius: 20px;
}

.seo-block h2 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.seo-block > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 25px;
}

/* Info Table */
.info-table {
    overflow-x: auto;
    margin: 25px 0;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-table th {
    background: #1e293b;
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
}

.info-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover td {
    background: #f1f5f9;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.use-case {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.use-case h3 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.use-case p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Steps List */
.steps-list {
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: 20px;
}

.step-content h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Popular Words */
.popular-words {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.popular-word {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    color: #475569;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.popular-word:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.fact-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #2563eb;
}

.fact-box h4 {
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.fact-box p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.benefit-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.benefit-text strong {
    display: block;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* FAQ SEO */
.faq-list {
    margin-top: 25px;
}

.faq-item-seo {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
}

.faq-item-seo h4 {
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.faq-item-seo p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

.faq-item-seo a {
    color: #2563eb;
    text-decoration: none;
}

.faq-item-seo a:hover {
    text-decoration: underline;
}

/* SEO CTA */
.seo-cta {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    margin: 60px 0 0 0;
}

.seo-cta h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.seo-cta p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #2563eb;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* SEO Mobile */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facts-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .seo-block {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .seo-intro h2,
    .seo-block h2 {
        font-size: 1.4rem;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .seo-cta {
        padding: 35px 20px;
    }

    .seo-cta h2 {
        font-size: 1.4rem;
    }
}

/* ===========================================
   BLOG STYLES
   =========================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #3498db;
}

.blog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
}

.blog-read-more {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

.page-link.current {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* Article page */
.article-hero {
    margin: -20px -20px 30px;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 35px 0 15px;
}

.article-content h3 {
    font-size: 1.25rem;
    color: #34495e;
    margin: 25px 0 12px;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #3498db;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-to-blog {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.back-to-blog:hover {
    text-decoration: underline;
}

/* Related articles */
.related-articles {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-articles h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.related-grid {
    grid-template-columns: repeat(3, 1fr);
}

.blog-card.small .blog-card-image {
    height: 120px;
}

.blog-card.small .blog-card-title {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-hero {
        height: 200px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   MOBILE-FIRST AUDIT - dodatkowe poprawki
   =========================================== */

@media (max-width: 480px) {
    /* Content article mobile */
    .content-article {
        padding: 15px;
    }

    .content-article h1 {
        font-size: 1.6rem;
    }

    .content-article h2 {
        font-size: 1.25rem;
        margin: 25px 0 15px 0;
    }

    .content-article .lead {
        font-size: 1rem;
        padding: 12px 15px;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Contact info mobile */
    .contact-info p {
        font-size: 0.95rem;
    }

    /* Info boxes mobile */
    .info-box {
        padding: 15px;
    }

    .info-box-icon {
        font-size: 1.8rem;
    }

    /* Footer link-lists */
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    /* SEO section mobile tweaks */
    .seo-heading {
        font-size: 1.4rem !important;
    }

    .stat-box {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Touch-friendly buttons */
    .btn, .search-button, button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve tap targets */
    .faq-question,
    .page-link,
    .blog-read-more {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ===========================================
   SYNONYM PAGE ENHANCEMENTS
   =========================================== */

/* Sekcja informacyjna SEO */
.synonym-info-box {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.synonym-info-box h2 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.synonym-info-box p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 10px;
}

.synonym-info-box p:last-child {
    margin-bottom: 0;
}

/* Sekcja podobnych słów */
.related-words-section {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.related-words-section h3 {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 15px;
}

.related-words-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-word-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.related-word-tag:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Synonim lead */
.synonym-lead {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 10px;
}

/* Stopka synonimu */
.synonym-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.back-link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 10px;
}

.back-link:hover {
    text-decoration: underline;
}

.synonym-cta {
    color: #64748b;
    font-size: 0.9rem;
}

.synonym-cta a {
    color: #3b82f6;
}

/* Synonim nie znaleziony */
.synonym-not-found {
    padding: 30px;
    background: #fef2f2;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
}

.synonym-not-found p {
    color: #991b1b;
    margin-bottom: 10px;
}

.suggest-link {
    color: #3b82f6;
}

/* Raportowanie */
.synonym-report {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}

#synonym-report-link {
    color: #64748b;
}

/* Mobile */
@media (max-width: 480px) {
    .synonym-info-box {
        padding: 15px;
    }

    .related-words-section {
        padding: 15px;
    }

    .related-word-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* ===========================================
   SYNONYM PAGE - ENHANCED STYLING
   =========================================== */

/* Nagłówek synonimu */
#synonym {
    padding: 20px 0 40px;
}

#synonym-header {
    margin-bottom: 30px;
}

#synonym-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 3px solid #3b82f6;
    padding: 15px 0 20px 0;
    margin: 0 0 15px 0 !important;
}

#synonym-header h1 em {
    font-style: normal;
    font-weight: 400;
    color: #64748b;
}

#synonym-header h1 strong {
    color: #1e293b;
}

/* Lista synonimów - ulepszona */
#synonyms-list {
    line-height: 1.9em;
    margin: 25px 0 35px;
    padding: 0;
}

.synonyms-item {
    position: relative;
    font-size: 1.1rem;
    padding: 15px 15px 15px 50px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    transition: all 0.2s ease;
}

.synonyms-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateX(5px);
}

.synonym-number {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
    background: #dbeafe;
    padding: 4px 8px;
    border-radius: 4px;
}

.synonym-link {
    color: #334155;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.synonym-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.synonym-link strong {
    color: #1e40af;
    font-weight: 600;
}

/* Sekcja informacyjna - ulepszona */
.synonym-info-box {
    margin: 35px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border-left: 5px solid #0ea5e9;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.synonym-info-box h2 {
    font-size: 1.4rem;
    color: #0c4a6e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.synonym-info-box h2::before {
    content: "💡";
    font-size: 1.2rem;
}

.synonym-info-box p {
    color: #334155;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1rem;
}

.synonym-info-box em {
    color: #0369a1;
    font-style: normal;
    font-weight: 500;
}

/* Sekcja podobnych słów - ulepszona */
.related-words-section {
    margin: 35px 0;
    padding: 25px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.related-words-section h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-words-section h3::before {
    content: "🔗";
    font-size: 1.1rem;
}

.related-words-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-word-tag {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #cbd5e1;
}

.related-word-tag:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Stopka synonimu - ulepszona */
.synonym-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
}

.back-link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #1d4ed8;
    transform: translateX(-5px);
}

.synonym-cta {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.synonym-cta a {
    color: #3b82f6;
    font-weight: 500;
}

.synonym-cta a:hover {
    text-decoration: underline;
}

/* Synonim nie znaleziony - ulepszone */
.synonym-not-found {
    padding: 40px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 16px;
    text-align: center;
    margin: 30px 0;
    border: 1px solid #fecaca;
}

.synonym-not-found p {
    color: #991b1b;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.synonym-not-found p:first-child::before {
    content: "🔍 ";
}

/* Raportowanie */
.synonym-report {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

#synonym-report-link {
    color: #64748b;
    text-decoration: none;
}

#synonym-report-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Mobile - synonym page */
@media (max-width: 768px) {
    #synonym-header h1 {
        font-size: 1.4rem;
    }

    .synonyms-item {
        padding: 12px 12px 12px 45px;
        font-size: 1rem;
    }

    .synonym-number {
        left: 10px;
        padding: 3px 6px;
        font-size: 0.7rem;
    }

    .synonym-info-box {
        padding: 20px;
    }

    .related-words-section {
        padding: 20px;
    }

    .synonym-footer {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .synonyms-item {
        padding: 10px 10px 10px 40px;
        margin-bottom: 10px;
    }

    .related-word-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .synonym-info-box h2 {
        font-size: 1.2rem;
    }

    .related-words-section h3 {
        font-size: 1.1rem;
    }
}
