/**
 * Single Post Styles
 * Ładowane TYLKO na single.php (pojedyncze posty)
 * Core styles (resets, utilities) są w style.css
 * Version: 2.3
 */

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.2rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    margin-bottom: 1.7rem;
    padding-bottom: 0.3rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 2rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--accent);
    }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: -1;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.5s ease-in-out;
    }

    .btn:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

/* Przyciski - tylko w sekcjach posta, NIE w navbarze */
section .btn-primary,
footer .btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.4);
}

    section .btn-primary:hover,
    footer .btn-primary:hover {
        box-shadow: 0 7px 20px rgba(93, 64, 55, 0.6);
        transform: translateY(-3px);
        color: white;
    }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-secondary:hover {
        background: rgba(93, 64, 55, 0.1);
        transform: translateY(-3px);
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-centered {
    display: block;
    margin: 2rem auto;
    max-width: 250px;
}

/* ===== POST HEADER ===== */
.post-header {
    padding: 10rem 0 2rem;
    background: linear-gradient(135deg, #F5F1E8 0%, #FEFEFE 100%);
    position: relative;
    overflow: hidden;
}

    .post-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
        opacity: 0.4;
        z-index: 0;
    }

.post-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.post-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(156, 175, 136, 0.3);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.post-author {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.8rem;
}

    .author-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.post-date {
    display: flex;
    align-items: center;
}

    .post-date i, .post-author i {
        margin-right: 0.5rem;
        color: var(--primary);
    }

.post-featured-image {
    width: 100%;
    max-width: 900px;
    height: 500px; /* Prostokątna okładka na desktop */
    margin: 3rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

    .post-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ===== POST CONTENT ===== */
.post-content {
    padding: 5rem 0;
    background-color: var(--background);
}

.post-container {
    display: grid;
    grid-template-columns: 8fr 3fr;
    gap: 3rem;
}

.post-main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
}

.post-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
}

    .post-text h2 {
        margin-top: 3rem;
    }

    .post-text h3 {
        margin-top: 2.5rem;
    }

    .post-text p:first-of-type::first-letter {
        font-size: 4rem;
        font-weight: 700;
        float: left;
        line-height: 0.8;
        margin-right: 0.8rem;
        color: var(--primary);
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .post-text ul, .post-text ol {
        margin-left: 2rem;
        margin-bottom: 1.5rem;
    }

    .post-text li {
        margin-bottom: 0.5rem;
    }

    .post-text blockquote {
        background: var(--background-alt);
        border-left: 4px solid var(--primary);
        padding: 1.5rem;
        margin: 1.5rem 0;
        font-style: italic;
        position: relative;
    }

        .post-text blockquote::before {
            content: '"';
            font-size: 5rem;
            position: absolute;
            left: 1rem;
            top: -1rem;
            color: rgba(45, 70, 185, 0.1);
            font-family: Georgia, serif;
        }

        .post-text blockquote p {
            margin-bottom: 0;
            position: relative;
            z-index: 1;
        }

.post-image {
    width: 100%;
    border-radius: 15px;
    margin: 2rem 0;
    overflow: hidden;
}

    .post-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Zaokr�glenie wszystkich obrazk�w w tre�ci wpisu */
.post-text img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

/* Wsparcie dla obrazk�w Gutenberg */
.post-text .wp-block-image img {
    border-radius: 15px;
}

/* Wsparcie dla galerii */
.post-text .gallery img,
.post-text .wp-block-gallery img {
    border-radius: 15px;
}

/* Zaokr�glenie dla obrazk�w z podpisami */
.post-text figure.wp-caption {
    border-radius: 15px;
    overflow: hidden;
}

.post-text .wp-caption img {
    border-radius: 15px;
}

.post-image-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.8rem;
    font-style: italic;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.post-tag {
    background: rgba(93, 64, 55, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .post-tag:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.share-post {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.share-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

    .share-button:hover {
        transform: translateY(-5px);
    }

.share-facebook {
    background: #3b5998;
}

.share-x {
    background: #000000;
}

.share-linkedin {
    background: #0077b5;
}

.share-whatsapp {
    background: #25d366;
}

.author-bio {
    margin-top: 3rem;
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

    .author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-info h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.author-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.author-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

    .author-social a {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1rem;
        transition: var(--transition);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

        .author-social a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }

/* ===== RELATED POSTS ===== */
.related-posts {
    margin-top: 5rem;
}

.related-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    max-width: 500px;
    margin: 0 auto;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    .related-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--card-shadow), var(--glow);
    }

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    position: relative;
}

    .related-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

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

.related-content {
    padding: 1.5rem;
}

    .related-content h3 {
        font-size: 1.2rem;
        margin-top: 0;
        margin-bottom: 0.8rem;
        line-height: 1.4;
        transition: var(--transition);
    }

.related-card:hover .related-content h3 {
    color: var(--primary);
}

.related-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

    .related-date i {
        margin-right: 0.5rem;
        color: var(--primary);
    }

/* ===== BLOG SIDEBAR ===== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.widget-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(93, 64, 55, 0.1);
    position: relative;
}

    .widget-title::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 50px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
    }

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

    .search-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(93, 64, 55, 0.1);
    }

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .search-btn:hover {
        background: linear-gradient(135deg, var(--secondary), var(--primary));
        transform: translateY(-50%) scale(1.05);
    }

.categories-list {
    list-style: none;
}

    .categories-list li {
        margin-bottom: 0.8rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 0.8rem;
    }

        .categories-list li:last-child {
            margin-bottom: 0;
            border-bottom: none;
            padding-bottom: 0;
        }

    .categories-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: var(--transition);
    }

        .categories-list a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

.category-count {
    background: rgba(93, 64, 55, 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.categories-list a:hover .category-count {
    background: var(--primary);
    color: white;
}

.recent-post {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .recent-post:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.recent-post:hover .recent-post-image img {
    transform: scale(1.05);
}

.recent-post-content {
    flex-grow: 1;
}

.recent-post-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.recent-post:hover .recent-post-title {
    color: var(--accent);
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

    .recent-post-date i {
        margin-right: 0.5rem;
        color: var(--primary);
    }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(93, 64, 55, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .tag:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-box::before, .cta-box::after {
        content: '';
        position: absolute;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        z-index: 0;
    }

    .cta-box::before {
        top: -75px;
        right: -75px;
    }

    .cta-box::after {
        bottom: -75px;
        left: -75px;
    }

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cta-btn {
    background: white;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
        color: var(--primary-dark);
    }

/* ===== FOOTER ===== */
/* Footer styles są ładowane z shared-footer.css */

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 99;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

    .floating-btn:hover {
        transform: scale(1.1);
    }

.whatsapp-btn {
    background: #25D366;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .post-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .post-featured-image {
        height: 450px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-social {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .post-header {
        padding: 8rem 0 2rem;
    }

    .post-main {
        padding: 2rem;
    }

    .post-featured-image {
        height: 500px;
        margin-top: 2rem;
    }

    .post-text {
        font-size: 1.05rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .floating-elements {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .subtitle .ai-support {
        display: block;
        margin-top: 3px;
    }

    /* Padding footera jest zarządzany przez shared-footer.css */
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    h3 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .post-header {
        padding: 7rem 0 1.5rem;
    }

    .post-main {
        padding: 1.2rem;
        border-radius: 15px;
    }

    .post-featured-image {
        height: 250px;
        margin-top: 1.5rem;
        border-radius: 15px;
    }

    .post-text {
        font-size: 1rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

        /* Zapobiegnij overflow dla wszystkich elementów */
        .post-text * {
            max-width: 100%;
            box-sizing: border-box;
        }

        .post-text table {
            display: block;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* Zmniejsz drop cap */
        .post-text p:first-of-type::first-letter {
            font-size: 2.5rem;
            margin-right: 0.5rem;
        }

        /* Popraw listy - zmniejsz wcięcie */
        .post-text ul, .post-text ol {
            margin-left: 1.2rem;
            margin-bottom: 1.2rem;
            padding-right: 0;
        }

        .post-text li {
            margin-bottom: 0.4rem;
        }

        /* Popraw blockquote */
        .post-text blockquote {
            padding: 1rem;
            margin: 1.2rem 0;
            font-size: 0.95rem;
        }

            .post-text blockquote::before {
                font-size: 3rem;
                left: 0.5rem;
                top: -0.5rem;
            }

        /* Obrazki w treści */
        .post-text img {
            border-radius: 10px;
            margin: 1rem 0;
        }

    .post-meta {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .post-author {
        margin-right: 0;
    }

    .post-category {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }

    /* Share buttons */
    .share-post {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .share-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .share-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Author bio */
    .author-bio {
        margin-top: 2rem;
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        width: 80px;
        height: 80px;
    }

    .author-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .author-info p {
        font-size: 0.95rem;
    }

        /* Zmniejsz drop cap dla author bio */
        .author-info p:first-of-type::first-letter {
            font-size: 2.5rem;
            margin-right: 0.5rem;
        }

    /* Tags */
    .post-tags {
        margin-top: 2rem;
        padding-top: 1.5rem;
        gap: 0.6rem;
    }

    .post-tag {
        font-size: 0.85rem;
        padding: 0.35rem 0.9rem;
    }

    /* Related posts */
    .related-posts {
        margin-top: 3rem;
    }

    .related-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .related-card {
        max-width: 100%;
    }

    .related-image {
        height: 180px;
    }

    .related-content {
        padding: 1.2rem;
    }

        .related-content h3 {
            font-size: 1.1rem;
            margin-top: 0;
        }

    /* Sidebar widgets */
    .blog-sidebar {
        gap: 2rem;
        margin-top: 2rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .widget-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.6rem;
    }

        .widget-title::after {
            width: 40px;
        }

    .recent-post-image {
        width: 70px;
        height: 70px;
    }

    .recent-post-title {
        font-size: 0.95rem;
    }

    .recent-post-date {
        font-size: 0.75rem;
    }

    .categories-list a {
        font-size: 0.95rem;
    }

    .tag-cloud .tag {
        font-size: 0.85rem;
        padding: 0.35rem 0.9rem;
    }

    /* CTA Box w sidebarze */
    .cta-box {
        padding: 1.5rem;
        margin-top: 0;
    }

    .cta-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .cta-text {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .cta-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .subtitle {
        font-size: 0.7rem;
    }

    /* Padding footera jest zarządzany przez shared-footer.css */
}

/* Drop cap for author bio */
.author-info p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 0.8rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Obrazki w treści wpisu ===== */
.post-text .image-container {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    overflow: visible;
}

    .post-text .image-container img {
        width: 48%;
        height: auto !important;
        display: block;
    }

@media (max-width: 768px) {
    .post-text .image-container {
        flex-direction: column;
    }

        .post-text .image-container img {
            width: 100% !important;
        }
}

/* ===== Ukryj elementy cache ===== */
ls-content,
.ls-content,
[ls-content] {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== Navbar z-index ===== */

/* ===== Ukryj elementy cache i GetResponse ===== */
ls-content,
.ls-content,
[ls-content],
getresponse-form,
.getresponse-form,
[id*="getresponse"],
[class*="getresponse"],
#newsletterModal,
.modal[aria-hidden="true"],
.modal-content.gr-only {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
