/* Blossom Blog Post widget – base styles (adapted from Fenestra) */
.fbp-article {
    box-sizing: border-box;
    width: 100%;
    /* Domyślnie bez tła – kontrolujesz je w Elementorze na sekcji lub przez style widgetu */
    color: #111;
}

.fbp-article *,
.fbp-article *::before,
.fbp-article *::after {
    box-sizing: border-box;
}

.fbp-header {
    padding: 0 24px 64px;
    margin-bottom: 64px;
    border-bottom: 1px solid #F3F4F6;
}

.fbp-header-inner {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.fbp-header-split {
    display: grid;
    gap: 32px;
}

@media (min-width: 1024px) {
    .fbp-header-split {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
    }
}

.fbp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    margin-bottom: 32px;
}

.fbp-breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.fbp-breadcrumbs a:hover {
    color: #111;
}

.fbp-breadcrumb-active {
    color: #111;
}

.fbp-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.fbp-excerpt {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4B5563;
    margin: 0 0 24px;
}

.fbp-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.fbp-meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fbp-meta-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 9999px;
    object-fit: cover;
}

.fbp-meta-author-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.fbp-meta-author-role {
    display: block;
    font-size: 12px;
    color: #6B7280;
}

.fbp-meta-divider {
    width: 1px;
    height: 32px;
    background-color: #E5E7EB;
    flex-shrink: 0;
}

.fbp-meta-date {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}

.fbp-meta-date span {
    display: block;
}

.fbp-body {
    padding: 0 24px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.fbp-grid {
    display: grid;
    gap: 48px;
}

.fbp-grid--three {
    grid-template-columns: var(--fbp-toc, 20%) var(--fbp-content, 60%) var(--fbp-cta, 20%);
}

.fbp-grid--two {
    grid-template-columns: var(--fbp-content, 70%) var(--fbp-cta, 30%);
}

.fbp-grid--single {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .fbp-grid--three,
    .fbp-grid--two {
        grid-template-columns: 1fr;
    }
}

.fbp-main {
    min-width: 0;
    overflow: hidden;
}

.fbp-aside-toc {
    display: none;
}

@media (min-width: 1024px) {
    .fbp-aside-toc {
        display: block;
    }
}

.fbp-sticky {
    position: sticky;
    top: 128px;
}

.fbp-toc-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    margin: 0 0 24px;
}

.fbp-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #F3F4F6;
}

.fbp-toc-list li + li {
    margin-top: 16px;
}

.fbp-toc-list a {
    display: block;
    padding: 4px 0 4px 16px;
    margin-left: -2px;
    font-size: 14px;
    color: #6B7280;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.fbp-toc-list a:hover,
.fbp-toc-list a.active {
    color: #111;
    font-weight: 700;
    border-left-color: #111;
}

.fbp-toc-list a.fbp-toc-h3 {
    padding-left: 32px;
}

.fbp-toc-list a.fbp-toc-h4 {
    padding-left: 48px;
}

.fbp-featured-image {
    aspect-ratio: 16 / 9;
    background-color: #F3F4F6;
    overflow: hidden;
    margin-bottom: 48px;
}

.fbp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fbp-grayscale {
    filter: grayscale(100%);
}

.fbp-content {
    font-size: 18px;
    line-height: 1.75;
    color: #374151;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.fbp-content > *:first-child {
    margin-top: 0;
}

.fbp-content p {
    margin: 0 0 1.25em;
}

.fbp-content h2,
.fbp-content h3,
.fbp-content h4 {
    scroll-margin-top: 100px;
}

.fbp-content a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fbp-content a:hover {
    opacity: 0.7;
}

.fbp-aside-cta {
    display: none;
}

@media (min-width: 1024px) {
    .fbp-aside-cta {
        display: block;
    }
}

.fbp-sidebar-cta {
    background-color: #111;
    color: #fff;
    padding: 32px;
}

.fbp-cta-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6B7280;
    margin-bottom: 16px;
}

.fbp-cta-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.fbp-cta-description {
    font-size: 14px;
    color: #9CA3AF;
    line-height: 1.6;
    margin: 0 0 32px;
}

.fbp-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    background-color: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background-color 0.2s;
}

.fbp-cta-button:hover {
    background-color: #E5E7EB;
}

