:root {
    --bc-blue: #2e97bd;
    --bc-blue-dark: #247a9a;
    --bc-blue-soft: #e8f5fa;
    --bc-ink: #1a1a1a;
    --bc-text: #4b4d4d;
    --bc-muted: #8a8e8e;
    --bc-line: #e6e8ea;
    --bc-bg: #f7f9fb;
    --bc-surface: #ffffff;
    --bc-footer: #eef2f5;
    --bc-radius: 8px;
    --bc-max: 1100px;
    --bc-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 16px rgba(16, 24, 40, 0.04);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.bc-body {
    margin: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--bc-text);
    background: var(--bc-bg);
    line-height: 1.55;
}

.bc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bc-container {
    width: min(100% - 2rem, var(--bc-max));
    margin-inline: auto;
}

/* Hero — mesma linguagem da ajuda.actana */
.bc-hero {
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 255, 255, 0.18), transparent 55%),
        linear-gradient(165deg, #34a4c9 0%, var(--bc-blue) 45%, var(--bc-blue-dark) 100%);
    color: #fff;
    padding: 1.25rem 0 2.75rem;
}

.bc-hero-inner {
    width: min(100% - 2rem, var(--bc-max));
    margin-inline: auto;
    text-align: center;
}

.bc-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1.75rem;
}

.bc-logo-img {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.bc-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.bc-logo-text strong {
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bc-logo-text small {
    font-size: 0.78rem;
    opacity: 0.92;
    font-weight: 400;
}

.bc-hero-title {
    margin: 0;
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.bc-hero-sub {
    margin: 0.35rem 0 1.6rem;
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.95;
}

.bc-search {
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 40, 60, 0.18);
}

.bc-search-field {
    flex: 1;
    border: 0;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--bc-ink);
    min-width: 0;
}

.bc-search-field:focus {
    outline: none;
}

.bc-search-field::placeholder {
    color: #9aa0a6;
}

.bc-search-btn {
    border: 0;
    background: #4a4f54;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0 1.25rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.bc-search-btn:hover {
    background: #363a3e;
}

.bc-main {
    padding: 2.25rem 0 3.5rem;
}

.bc-home-intro {
    margin: 0 0 1.75rem;
}

.bc-home-intro-title {
    margin: 0 0 0.35rem;
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2a2e31;
}

.bc-home-intro-text {
    margin: 0;
    color: var(--bc-muted);
    font-size: 0.95rem;
}

.bc-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--bc-surface);
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
}

.bc-empty-state-icon {
    display: inline-flex;
    color: var(--bc-blue);
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

/* Grid 2 colunas como a base antiga */
.bc-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.bc-category,
.bc-uncategorized {
    background: var(--bc-surface);
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
    padding: 1.25rem 1.35rem 1.15rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bc-category:hover {
    border-color: #d5e8f0;
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.04), 0 10px 24px rgba(46, 151, 189, 0.08);
}

.bc-category--full {
    max-width: 760px;
}

.bc-category--full:hover {
    border-color: var(--bc-line);
    box-shadow: var(--bc-shadow);
}

.bc-category-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--bc-line);
}

.bc-cat-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: var(--bc-blue-soft);
    color: var(--bc-blue);
    text-decoration: none;
}

.bc-cat-icon-svg {
    display: block;
}

.bc-category-heading {
    min-width: 0;
    flex: 1;
}

.bc-category-title {
    margin: 0;
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2a2e31;
    line-height: 1.3;
}

.bc-category-title a {
    color: inherit;
    text-decoration: none;
}

.bc-category-title a:hover {
    color: var(--bc-blue);
}

.bc-category-meta {
    margin: 0.2rem 0 0;
}

.bc-count {
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bc-muted);
}

.bc-category-desc {
    margin: 0.45rem 0 0;
    color: var(--bc-text);
    font-size: 0.88rem;
    line-height: 1.45;
}

.bc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-list-item {
    border-bottom: 1px solid #eef1f3;
}

.bc-list-item:last-child {
    border-bottom: 0;
}

.bc-list-item--folder {
    padding-top: 0.2rem;
}

.bc-list-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0.35rem;
    margin: 0 -0.35rem;
    border-radius: 6px;
    color: var(--bc-text);
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}

a.bc-list-row:hover {
    color: var(--bc-blue);
    background: #f3f9fc;
}

.bc-list-title {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.4;
}

.bc-list-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bc-list-row--search .bc-list-title {
    flex: none;
    font-weight: 600;
    color: #2f3232;
}

.bc-list-excerpt {
    display: block;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--bc-muted);
    font-weight: 400;
}

a.bc-list-row--search:hover .bc-list-title {
    color: var(--bc-blue);
}

.bc-icon {
    flex-shrink: 0;
    margin-top: 0.12rem;
    color: #9aa3ab;
}

a.bc-list-row:hover .bc-icon {
    color: var(--bc-blue);
}

.bc-icon--folder {
    color: #c4a35a;
}

.bc-list--nested {
    margin-left: 1.65rem;
    border-left: 0;
}

.bc-list--nested .bc-list-item {
    border-bottom: 1px solid var(--bc-line);
}

.bc-ver-todos {
    margin: 0.85rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bc-line);
}

.bc-ver-todos a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--bc-blue);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.bc-ver-todos a:hover {
    color: var(--bc-blue-dark);
}

.bc-ver-todos a svg {
    transition: transform 0.15s ease;
}

.bc-ver-todos a:hover svg {
    transform: translateX(3px);
}

.bc-uncategorized {
    margin-top: 1.35rem;
}

.bc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--bc-muted);
}

.bc-breadcrumb a {
    color: var(--bc-blue);
    text-decoration: none;
}

.bc-breadcrumb a:hover {
    text-decoration: underline;
}

.bc-breadcrumb-home {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--bc-blue);
    line-height: 1.2;
}

.bc-breadcrumb-home:hover {
    color: var(--bc-blue-dark);
    text-decoration: underline;
}

.bc-breadcrumb-home svg {
    display: block;
    flex-shrink: 0;
}

.bc-article {
    max-width: 760px;
}

.bc-article-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.5rem;
    color: var(--bc-muted);
    font-size: 0.88rem;
}

.bc-article-title {
    margin: 0 0 1.25rem;
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #2f3232;
    line-height: 1.25;
}

.bc-article-body {
    font-size: 1rem;
    color: var(--bc-text);
}

.bc-article-body a {
    color: var(--bc-blue);
}

.bc-article-body img {
    max-width: 100%;
    height: auto;
}

.bc-article-body p {
    margin: 0 0 1rem;
}

.bc-article-body ul,
.bc-article-body ol {
    margin: 0 0 1rem 1.25rem;
}

.bc-article-autor {
    color: var(--bc-muted);
}

.bc-article-author-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    color: var(--bc-muted);
    font-size: 0.92rem;
}

.bc-article-author-foto {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.bc-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bc-line);
}

.bc-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: #eef4f7;
    color: var(--bc-blue);
    font-size: 0.82rem;
    border-radius: 3px;
    text-decoration: none;
}

a.bc-tag:hover {
    background: #e0eef4;
    color: var(--bc-blue-dark);
}

.bc-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--bc-muted);
    font-size: 0.9rem;
}

.bc-stars {
    display: inline-flex;
    gap: 0.1rem;
    letter-spacing: 0.02em;
}

.bc-star {
    color: #d5d8db;
    font-size: 1.1rem;
    line-height: 1;
}

.bc-star.is-on {
    color: #f0b429;
}

.bc-feedback {
    max-width: 760px;
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bc-line);
}

.bc-feedback-title {
    margin: 0 0 0.35rem;
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: 1.25rem;
    color: #2f3232;
}

.bc-feedback-lead {
    margin: 0 0 1.25rem;
    color: var(--bc-muted);
    font-size: 0.95rem;
}

.bc-feedback-form label {
    display: block;
    margin-bottom: 0.35rem;
    color: #2f3232;
    font-size: 0.9rem;
}

.bc-feedback-fields {
    display: grid;
    gap: 0.85rem;
    margin: 1rem 0;
}

.bc-feedback-fields input,
.bc-feedback-fields textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    font: inherit;
    color: var(--bc-text);
}

.bc-feedback-fields input:focus,
.bc-feedback-fields textarea:focus {
    outline: 2px solid rgba(46, 151, 189, 0.35);
    border-color: var(--bc-blue);
}

.bc-stars-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.15rem;
    border: 0;
    margin: 0;
    padding: 0;
}

.bc-stars-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bc-stars-input label {
    cursor: pointer;
    color: #d5d8db;
    font-size: 1.75rem;
    line-height: 1;
    margin: 0;
    transition: color 0.12s ease;
}

.bc-stars-input label:hover,
.bc-stars-input label:hover ~ label,
.bc-stars-input input:checked ~ label {
    color: #f0b429;
}

.bc-field-error {
    margin: 0.4rem 0 0;
    color: #cc1f1a;
    font-size: 0.85rem;
}

.bc-feedback-captcha {
    margin: 0.85rem 0 1rem;
}

.bc-feedback-status {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
}

.bc-feedback-status.is-ok {
    color: #1f7a45;
}

.bc-feedback-status.is-error {
    color: #cc1f1a;
}

.bc-feedback-submit {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.7rem 1.25rem;
    border: 0;
    border-radius: var(--bc-radius);
    background: var(--bc-blue);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.bc-feedback-submit:hover {
    background: var(--bc-blue-dark);
}

.bc-comments {
    margin-top: 2rem;
}

.bc-comments-title {
    margin: 0 0 1rem;
    font-family: Nunito, "Open Sans", sans-serif;
    font-size: 1.05rem;
    color: #2f3232;
}

.bc-comment {
    padding: 0.9rem 0;
    border-top: 1px solid var(--bc-line);
}

.bc-comment:last-child {
    border-bottom: 1px solid var(--bc-line);
}

.bc-comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.35rem;
    color: var(--bc-muted);
    font-size: 0.88rem;
}

.bc-comment-head strong {
    color: #2f3232;
}

.bc-comment-body {
    margin: 0;
    color: var(--bc-text);
}

.bc-list-title a {
    color: inherit;
    text-decoration: none;
}

.bc-list-title a:hover {
    color: var(--bc-blue);
}

.bc-empty {
    color: var(--bc-muted);
}

.bc-footer {
    background: var(--bc-footer);
    border-top: 1px solid var(--bc-line);
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: var(--bc-muted);
}

.bc-footer p {
    margin: 0;
}

.message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--bc-blue);
    background: #f0f8fb;
}

.message.error {
    border-color: #cc1f1a;
    background: #fcebea;
}

@media (max-width: 820px) {
    .bc-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bc-hero {
        padding-bottom: 2rem;
    }

    .bc-search {
        flex-direction: column;
    }

    .bc-search-btn {
        padding: 0.85rem 1rem;
    }

    .bc-category,
    .bc-uncategorized {
        padding: 1.1rem 1.05rem 1rem;
    }
}
