/* app/Modules/ContentEngine/resources/vendor/css/content-engine.css */

:root {
    --content-max-width-narrow: 760px;
    --content-max-width-default: 960px;
    --content-max-width-wide: 1140px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.content-container {
    max-width: var(--content-max-width-default);
}

.content-container.content-narrow {
    max-width: var(--content-max-width-narrow);
}

.content-container.content-wide {
    max-width: var(--content-max-width-wide);
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #222;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body h2,
.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.quick-access-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.quick-access-card:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

@media (max-width: 575.98px) {
    .article-body {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}


/* =========================================================
   BBI HOME PAGE
   Clean, simple and responsive
========================================================= */

.bbi-hero {
    padding: 3.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.bbi-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.bbi-action-card,
.bbi-category-card,
.bbi-tool-card,
.bbi-post-card,
.bbi-article-row {
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 0.75rem;
}

.bbi-action-card {
    display: block;
    padding: 1.25rem;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bbi-action-card:hover,
.bbi-category-card:hover {
    border-color: #ced4da;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.bbi-action-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 0.6rem;
    background: #f1f3f5;
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.bbi-category-card {
    display: block;
    padding: 1.15rem 1.25rem;
    color: #212529;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bbi-category-card i {
    color: #6c757d;
}

.bbi-tool-card {
    padding: 1.25rem;
}

.bbi-tool-card > i {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
    color: var(--bs-primary);
}

.bbi-post-card {
    overflow: hidden;
}

.bbi-post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.bbi-article-row {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.bbi-article-row img {
    width: 110px;
    height: 90px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.bbi-about-strip {
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    background: #f8f9fa;
}


/* Mobile */

@media (max-width: 575.98px) {

    .bbi-hero {
        padding: 2rem 0;
    }

    .bbi-hero h1 {
        font-size: 2rem;
    }

    .bbi-hero .lead {
        font-size: 1rem;
    }

    .bbi-article-row {
        gap: 0.75rem;
    }

    .bbi-article-row img {
        width: 90px;
        height: 75px;
    }

    .bbi-about-strip {
        padding: 1.25rem;
    }

}

 /* -------------------------------------------------
    BBI Article Pages
 ------------------------------------------------- */

.bbi-article-meta {
    color: #6c757d;
    font-size: 0.875rem;
}

.bbi-article-header {
    margin-bottom: 1.5rem;
}

.bbi-article-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.bbi-article-excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 0;
}

.bbi-article-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.bbi-article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #343a40;
}

.bbi-article-body h2 {
    font-size: 1.6rem;
    line-height: 1.35;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.bbi-article-body h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.bbi-article-body p {
    margin-bottom: 1.25rem;
}

.bbi-article-body ul,
.bbi-article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.bbi-article-body li {
    margin-bottom: 0.5rem;
}

.bbi-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.bbi-article-body a {
    text-decoration: underline;
}

.bbi-article-actions {
    display: flex;
    align-items: center;
}

.bbi-comments {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
}

.bbi-login-comment {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.bbi-comment {
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {

    .bbi-article-title {
        font-size: 2rem;
    }

    .bbi-article-excerpt {
        font-size: 1rem;
    }

    .bbi-article-body {
        font-size: 1rem;
        line-height: 1.8;
    }

    .bbi-article-body h2 {
        font-size: 1.4rem;
    }

    .bbi-article-body h3 {
        font-size: 1.2rem;
    }

}