/* Blog, archives, search, single posts and 404. Logical properties only (RTL-ready). */
.bosla-blog-main, .bosla-not-found { padding-block: 5rem; padding-inline: 1rem; }
.bosla-blog-hero, .bosla-single-header, .bosla-not-found, .bosla-blog-empty, .bosla-latest-posts > h2 { text-align: center; }
.bosla-blog-hero { margin-block-end: 3rem; }
.bosla-blog-hero h1, .bosla-not-found h1, .bosla-single-header .wp-block-post-title { color: var(--wp--preset--color--bosla-blue); font-size: clamp(2.25rem, 5vw, 3rem); margin-block: 0 1rem; }
.bosla-blog-hero p, .bosla-not-found-inner p, .bosla-blog-empty p { font-size: 1.125rem; }
.bosla-blog-hero p { margin-block: 0; }
.bosla-post-card { position: relative; display: flex; flex-direction: column; block-size: 100%; overflow: hidden; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--gray-200); border-radius: 1.5rem; box-shadow: var(--wp--preset--shadow--card); transition: box-shadow .2s, transform .2s; }
.bosla-post-card:is(:hover, :focus-within) { box-shadow: var(--wp--preset--shadow--card-hover); }
@media (prefers-reduced-motion: no-preference) { .bosla-post-card:hover { transform: translateY(-4px); } }
:is(.bosla-post-card, .bosla-post-card-body, .bosla-search-list > li) > *, .bosla-search-list > li, .bosla-post-card-excerpt p, .bosla-search-list .wp-block-post-excerpt p { margin-block: 0; }
.bosla-post-card-image img { display: block; }
.bosla-post-card-body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1.5rem; }
.bosla-post-card-title { font-size: 1.25rem; line-height: 1.3; }
:is(.bosla-post-card-title, .bosla-search-title) a { color: var(--wp--preset--color--bosla-dark); text-decoration: none; }
:is(.bosla-post-card-title, .bosla-search-title) a:is(:hover, :focus-visible), .bosla-pagination a:hover { color: var(--wp--preset--color--bosla-orange); }
.bosla-post-card-title a::after { content: ""; position: absolute; inset: 0; }
.bosla-post-card-date { margin-block-start: auto !important; font-size: .875rem; }
.bosla-post-card-category, .bosla-single-categories, .bosla-single-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.bosla-post-card-category { position: relative; z-index: 1; }
:is(.bosla-post-card-category, .bosla-single-categories, .bosla-single-tags) .wp-block-post-terms__separator { display: none; }
:is(.bosla-post-card-category, .bosla-single-categories) a { padding: .25rem .75rem; border-radius: 999px; background: var(--wp--preset--color--bosla-light); color: var(--wp--preset--color--bosla-blue); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
:is(.bosla-post-card-category, .bosla-single-categories) a:hover { background: var(--wp--preset--color--bosla-orange); color: var(--wp--preset--color--white); }
.bosla-pagination { margin-block-start: 3rem; gap: .5rem; font-weight: 600; }
.bosla-pagination :is(a, .page-numbers) { color: var(--wp--preset--color--bosla-blue); text-decoration: none; }
.bosla-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 2.5rem; block-size: 2.5rem; padding-inline: .5rem; border-radius: 999px; }
.bosla-pagination .page-numbers.current { background: var(--wp--preset--color--bosla-blue); color: var(--wp--preset--color--white); }
.bosla-blog-empty { padding: 3rem 1.5rem; border-radius: 1.5rem; background: var(--wp--preset--color--bosla-light); }
.bosla-blog-empty h2 { color: var(--wp--preset--color--bosla-blue); font-size: clamp(1.75rem, 3vw, 2.25rem); margin-block: 0 .75rem; }
.bosla-blog-empty p { margin-block: 0 1.5rem; }
.bosla-search-form { max-inline-size: 36rem; margin-block: 2rem 0; margin-inline: auto; }
.bosla-search-form .wp-block-search__inside-wrapper { gap: .5rem; }
.bosla-search-form .wp-block-search__input { min-block-size: 3rem; padding-inline: 1.25rem; border: 1px solid var(--wp--preset--color--gray-200); border-radius: 999px; font: inherit; color: var(--wp--preset--color--bosla-dark); }
.bosla-search-form .wp-block-search__button { margin: 0; }
.bosla-search-list > li { padding-block: 1.5rem; border-block-end: 1px solid var(--wp--preset--color--gray-200); }
.bosla-search-list .bosla-search-title { margin-block-end: .5rem; font-size: 1.5rem; }
.bosla-single-meta { justify-content: center; gap: .75rem 1rem; font-size: .9375rem; }
.bosla-single-image { margin-block: 2.5rem; }
.bosla-single-image img { border-radius: 1.5rem; }
.bosla-prose { margin-block-start: 2.5rem; font-size: 1.125rem; line-height: 1.75; }
.bosla-prose > * { margin-block: 0 1.25rem; }
.bosla-prose :is(h2, h3, h4) { margin-block: 2.5rem 1rem; }
.bosla-prose h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.bosla-prose h3 { font-size: 1.375rem; }
.bosla-prose a { text-decoration: underline; }
.bosla-prose :is(ul, ol) { padding-inline-start: 1.5rem; }
.bosla-prose li + li { margin-block-start: .5rem; }
.bosla-prose blockquote { margin-inline: 0; padding-inline-start: 1.25rem; border-inline-start: 4px solid var(--wp--preset--color--bosla-orange); color: var(--wp--preset--color--bosla-dark); font-style: italic; }
.bosla-prose img { border-radius: 1rem; }
.bosla-single-footer { margin-block-start: 3rem; }
.bosla-single-tags { font-size: .9375rem; }
.bosla-single-tags .wp-block-post-terms__prefix { font-weight: 700; color: var(--wp--preset--color--bosla-dark); }
.bosla-single-tags a { padding: .2rem .75rem; border: 1px solid var(--wp--preset--color--gray-200); border-radius: 999px; text-decoration: none; }
.bosla-single-tags a:hover { border-color: currentColor; }
.bosla-back-link a { font-weight: 700; text-decoration: none; }
.bosla-back-link a::before { content: "\2190"; display: inline-block; margin-inline-end: .5rem; }
[dir="rtl"] .bosla-back-link a::before { transform: scaleX(-1); }
.bosla-not-found-inner > * { margin-block: 0 1.25rem; }
.bosla-not-found-inner .is-style-eyebrow-pill { display: inline-block; text-transform: uppercase; letter-spacing: .06em; }
.bosla-not-found-links { gap: .75rem; }
.bosla-latest-posts > h2 { margin-block: 0 2rem; }
.bosla-latest-posts > .wp-block-buttons { justify-content: center; margin-block-start: 2rem; }
