/**
 * Blog archive and article styles.
 *
 * Kept separate from the global theme stylesheet so the Blog feature can be
 * adjusted without affecting existing pages, the shop, or checkout.
 */

.bcc-blog-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.bcc-blog-content > * + * {
    margin-top: 1.5rem;
}

.bcc-blog-content h2,
.bcc-blog-content h3,
.bcc-blog-content h4 {
    color: var(--bark-brown);
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2.25rem;
}

.bcc-blog-content h2 {
    font-size: 1.875rem;
}

.bcc-blog-content h3 {
    font-size: 1.5rem;
}

.bcc-blog-content h4 {
    font-size: 1.25rem;
}

.bcc-blog-content ul,
.bcc-blog-content ol {
    padding-left: 1.5rem;
}

.bcc-blog-content ul {
    list-style: disc;
}

.bcc-blog-content ol {
    list-style: decimal;
}

.bcc-blog-content li + li {
    margin-top: 0.5rem;
}

.bcc-blog-content a {
    color: var(--clay-orange);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.bcc-blog-content a:hover,
.bcc-blog-content a:focus-visible {
    color: var(--bark-brown);
}

.bcc-blog-content blockquote {
    border-left: 4px solid var(--warm-ochre);
    color: var(--bark-brown);
    font-style: italic;
    padding-left: 1.25rem;
}

.bcc-blog-content img {
    border-radius: 0.5rem;
    height: auto;
    max-width: 100%;
}

.bcc-blog-pagination .nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.bcc-blog-pagination .page-numbers {
    align-items: center;
    border: 1px solid var(--natural-beige);
    border-radius: 0.375rem;
    display: inline-flex;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.5rem 0.875rem;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.bcc-blog-pagination .page-numbers.current,
.bcc-blog-pagination .page-numbers:hover,
.bcc-blog-pagination .page-numbers:focus-visible {
    background: var(--clay-orange);
    border-color: var(--clay-orange);
    color: #fff;
}


/* Client-side archive filtering. */
.bcc-blog-card[hidden] {
    display: none !important;
}

.bcc-blog-filter-btn,
.bcc-blog-inline-filter {
    cursor: pointer;
}
