/* Styles scoped to the native blog integration; no shared theme selectors. */
.flara-blog {
    box-sizing: border-box;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 28px 15px 56px;
    color: inherit;
    font-family: inherit;
}

.flara-blog *,
.flara-blog *::before,
.flara-blog *::after {
    box-sizing: border-box;
}

.flara-blog a {
    color: inherit;
}

.flara-blog a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.flara-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin-bottom: 24px;
    font-size: var(--font-small, 0.75rem);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.flara-blog-breadcrumb a,
.flara-blog-back a,
.flara-blog-pagination__link,
.flara-blog-card__read-more {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flara-blog-header {
    margin-bottom: 32px;
}

.flara-blog-title {
    margin: 0;
    font-family: var(--heading-font, inherit);
    font-size: var(--font-headings, 2rem);
    font-style: var(--font-headings-style, normal);
    font-weight: var(--font-headings-weight, 400);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.flara-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px 30px;
}

.flara-blog .flara-blog-card {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

.flara-blog .flara-blog-card__image {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 0 18px;
    overflow: hidden;
}

.flara-blog .flara-blog-card__image-content {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.flara-blog .flara-blog-card__title {
    margin: 0 0 12px;
    font-family: var(--heading-font, inherit);
    font-size: 1.25rem;
    font-weight: var(--font-headings-weight, 400);
    line-height: 1.4;
}

.flara-blog .flara-blog-card__title a {
    text-decoration: none;
}

.flara-blog .flara-blog-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flara-blog .flara-blog-card__summary {
    margin: 0 0 16px;
    font-size: var(--font-base, 0.875rem);
    line-height: 1.7;
}

.flara-blog .flara-blog-card__read-more {
    display: inline-block;
    padding: 5px 0;
    font-size: var(--font-base, 0.875rem);
    line-height: 1.5;
}

.flara-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    margin-top: 48px;
    font-size: var(--font-base, 0.875rem);
    line-height: 1.5;
}

.flara-blog-pagination__link {
    display: inline-block;
    padding: 10px 0;
}

.flara-blog-empty {
    margin: 0;
    font-size: var(--font-base, 0.875rem);
    line-height: 1.7;
}

.flara-blog--post {
    max-width: 810px;
}

.flara-blog .flara-blog-post__date {
    margin-bottom: 24px;
    font-size: var(--font-small, 0.75rem);
    line-height: 1.5;
}

.flara-blog .flara-blog-post__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 28px;
}

.flara-blog .flara-blog-post__content {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.flara-blog-post__content p,
.flara-blog-post__content ul,
.flara-blog-post__content ol,
.flara-blog-post__content blockquote {
    margin: 0 0 1.25em;
    font-size: inherit;
    line-height: inherit;
}

.flara-blog-post__content h1,
.flara-blog-post__content h2,
.flara-blog-post__content h3,
.flara-blog-post__content h4,
.flara-blog-post__content h5,
.flara-blog-post__content h6 {
    margin: 1.75em 0 0.75em;
    font-family: var(--heading-font, inherit);
    font-weight: var(--font-headings-weight, 400);
    line-height: 1.35;
}

.flara-blog-post__content h1 { font-size: 1.875rem; }
.flara-blog-post__content h2 { font-size: 1.5rem; }
.flara-blog-post__content h3 { font-size: 1.25rem; }
.flara-blog-post__content h4 { font-size: 1.125rem; }
.flara-blog-post__content h5,
.flara-blog-post__content h6 { font-size: 1rem; }

.flara-blog-post__content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flara-blog-post__content img,
.flara-blog-post__content video {
    max-width: 100%;
    height: auto;
}

.flara-blog-post__content iframe {
    max-width: 100%;
}

.flara-blog-post__content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.flara-blog-post__content pre {
    max-width: 100%;
    overflow-x: auto;
}

.flara-blog-back {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid currentColor;
    font-size: var(--font-base, 0.875rem);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .flara-blog {
        padding-top: 40px;
        padding-bottom: 72px;
    }

    .flara-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .flara-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
