@charset "UTF-8";
/*
 * News listing, news details, product categories and order-confirmed pages
 * (templates/News/index.php, News/view.php, ProductCategories/categories.php, Orders/order_confirmed.php).
 * The theme sets html { font-size: 62.5% }, so px is used here to keep sizes predictable.
 */
.bbc {
    --bbc-red: #ED1D24;
    --bbc-red-dark: #c4141a;
    --bbc-green: #059669;
    --bbc-ink: #1b1d21;
    --bbc-muted: #6b7078;
    --bbc-line: #e6e7eb;
    --bbc-soft: #f6f7f9;
    --bbc-radius: 16px;
    --bbc-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);

    padding: 24px 0 56px;
    color: var(--bbc-ink);
}
.bbc a {
    text-decoration: none;
}

/* ---------- Page header ---------- */
.bbc-head {
    margin-bottom: 22px;
}
.bbc-head h1 {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bbc-ink);
}
.bbc-head p {
    margin: 0;
    font-size: 15px;
    color: var(--bbc-muted);
}
.bbc-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

/* ---------- Chips ---------- */
.bbc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.bbc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--bbc-ink);
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: 999px;
    transition: color .2s, background .2s, border-color .2s;
}
.bbc-chip:hover,
.bbc-chip:focus-visible,
.bbc-chip.is-active {
    color: #fff;
    background: var(--bbc-red);
    border-color: var(--bbc-red);
}
.bbc-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bbc-red);
    background: #fff1f1;
    border-radius: 999px;
}

/* ---------- Admin bar (news) ---------- */
.bbc-admin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}
.bbc-admin select {
    min-width: 220px;
    height: 38px;
    font-size: 14px;
}
.bbc-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.bbc-admin-actions .btn {
    font-size: 12px;
}

/* ---------- News grid ---------- */
.bbc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.bbc-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
    transition: transform .2s, box-shadow .2s;
}
.bbc-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, .10);
}
.bbc-news-card__img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bbc-soft);
}
.bbc-news-card__img img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform .4s;
}
.bbc-news-card:hover .bbc-news-card__img img {
    transform: scale(1.05);
}
.bbc-news-card__img .bbc-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #fff;
    background: var(--bbc-red);
}
.bbc-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 18px;
}
.bbc-news-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}
.bbc-news-card__title a {
    color: var(--bbc-ink);
}
.bbc-news-card__title a:hover {
    color: var(--bbc-red);
}
.bbc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: auto;
    font-size: 13px;
    color: var(--bbc-muted);
}
.bbc-meta .fa {
    margin-right: 5px;
}
.bbc-grid-ad {
    grid-column: 1 / -1;
}
.bbc-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: var(--bbc-muted);
    background: var(--bbc-soft);
    border-radius: var(--bbc-radius);
}

/* ---------- Pagination ---------- */
.bbc-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
}
.bbc-pager .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* my-css.css boxes every .pagination li; the links below draw the box here */
.bbc-pager .pagination li {
    margin: 0;
    padding: 0;
    border: 0;
}
.bbc-pager .pagination li a,
.bbc-pager .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bbc-ink);
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: 10px;
}
.bbc-pager .pagination li a:hover {
    color: var(--bbc-red);
    border-color: var(--bbc-red);
}
.bbc-pager .pagination li.active a,
.bbc-pager .pagination li.active span {
    color: #fff;
    background: var(--bbc-red);
    border-color: var(--bbc-red);
}
.bbc-pager .pagination li.disabled a,
.bbc-pager .pagination li.disabled span {
    opacity: .45;
    pointer-events: none;
}
.bbc-pager p {
    margin: 0;
    font-size: 13px;
    color: var(--bbc-muted);
}

/* ---------- Breadcrumb ---------- */
.bbc-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 13px;
}
.bbc-crumbs li {
    display: flex;
    align-items: center;
    min-width: 0;
    color: var(--bbc-muted);
}
.bbc-crumbs li + li::before {
    content: "\f105";
    margin: 0 10px;
    font-family: FontAwesome;
    color: #b5b8be;
}
.bbc-crumbs a {
    color: var(--bbc-muted);
}
.bbc-crumbs a:hover {
    color: var(--bbc-red);
}
.bbc-crumbs [aria-current] span {
    overflow: hidden;
    max-width: 360px;
    font-weight: 600;
    color: var(--bbc-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Article ---------- */
.bbc-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}
.bbc-article {
    min-width: 0;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
}
.bbc-article__title {
    margin: 12px 0 14px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bbc-ink);
}
.bbc-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bbc-line);
}
.bbc-article__hero {
    margin: 24px 0;
    overflow: hidden;
    background: var(--bbc-soft);
    border-radius: 14px;
}
.bbc-article__hero img {
    display: block;
    width: 100%;
    max-height: 480px;
    margin: 0;
    object-fit: cover;
}
.bbc-prose {
    font-size: 17px;
    line-height: 1.9;
    color: #2d3138;
    overflow-wrap: anywhere;
}
.bbc-prose p {
    margin: 0 0 16px;
}
.bbc-prose h2,
.bbc-prose h3,
.bbc-prose h4 {
    margin: 28px 0 12px;
    line-height: 1.4;
    color: var(--bbc-ink);
}
.bbc-prose h2 { font-size: 23px; }
.bbc-prose h3 { font-size: 20px; }
.bbc-prose ul,
.bbc-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.bbc-prose li {
    margin-bottom: 6px;
}
.bbc-prose img,
.bbc-prose video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.bbc-prose iframe {
    max-width: 100%;
}
.bbc-prose a {
    color: var(--bbc-red);
    text-decoration: underline;
}
.bbc-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.bbc-share {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--bbc-muted);
}
.bbc-share a,
.bbc-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 14px;
    color: var(--bbc-ink);
    background: var(--bbc-soft);
    border: 0;
    border-radius: 50%;
    transition: background .2s, color .2s;
}
.bbc-share a:hover,
.bbc-share button:hover,
.bbc-share button.is-copied {
    color: #fff;
    background: var(--bbc-red);
}
.bbc-article__ad {
    margin-top: 24px;
}

/* ---------- Sidebar ---------- */
.bbc-side {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 20px;
}
.bbc-panel {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
}
.bbc-panel__title {
    position: relative;
    margin: 0 0 16px;
    padding-left: 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}
.bbc-panel__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--bbc-red);
}
.bbc-mini-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bbc-mini-list a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--bbc-ink);
}
.bbc-mini-list img {
    width: 64px;
    height: 64px;
    margin: 0;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: 10px;
}
.bbc-mini-list .bbc-mini-list__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
}
.bbc-mini-list a:hover .bbc-mini-list__title {
    color: var(--bbc-red);
}
.bbc-mini-list b {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--bbc-red);
}
.bbc-related {
    margin-top: 36px;
}
.bbc-related .bbc-news-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.bbc-related .bbc-news-card__title {
    font-size: 15px;
}

/* ---------- Categories ---------- */
.bbc-cat-search {
    position: relative;
    width: 100%;
    max-width: 380px;
}
.bbc-cat-search .fa {
    position: absolute;
    left: 16px;
    top: 50%;
    font-size: 15px;
    color: #9aa0a8;
    transform: translateY(-50%);
}
.bbc-cat-search input {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px 0 44px;
    font-size: 15px;
    background: var(--bbc-soft);
    border: 2px solid transparent;
    border-radius: 999px;
}
.bbc-cat-search input:focus {
    outline: none;
    background: #fff;
    border-color: var(--bbc-red);
    box-shadow: 0 0 0 4px rgba(237, 29, 36, .12);
}
.bbc-cat-section {
    margin-top: 32px;
    scroll-margin-top: 90px;
}
.bbc-cat-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.bbc-cat-section__head h2 {
    position: relative;
    margin: 0;
    padding-left: 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}
.bbc-cat-section__head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--bbc-red);
}
.bbc-cat-section__head a {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--bbc-red);
}
.bbc-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.bbc-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 10px 14px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: 14px;
    box-shadow: var(--bbc-shadow);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bbc-cat:hover,
.bbc-cat:focus-visible {
    border-color: rgba(237, 29, 36, .45);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(16, 24, 40, .10);
}
.bbc-cat__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    overflow: hidden;
    background: var(--bbc-soft);
    border-radius: 50%;
}
.bbc-cat__img img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 8px;
    object-fit: contain;
}
.bbc-cat__img .fa {
    font-size: 28px;
    color: #b5b8be;
}
.bbc-cat__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bbc-ink);
}
.bbc-cat__count {
    font-size: 12px;
    color: var(--bbc-muted);
}
.bbc-no-match {
    padding: 40px 20px;
    text-align: center;
    color: var(--bbc-muted);
}

/* ---------- Order confirmed ---------- */
.bbc-done {
    max-width: 760px;
    margin: 0 auto;
}
.bbc-done__card {
    padding: 40px 36px 34px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px rgba(16, 24, 40, .08);
}
.bbc-done__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin-bottom: 18px;
    font-size: 44px;
    color: #fff;
    background: var(--bbc-green);
    border-radius: 50%;
    box-shadow: 0 0 0 12px #d1fae5;
    animation: bbc-pop .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes bbc-pop {
    from { transform: scale(.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.bbc-done__card h1 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    color: var(--bbc-ink);
}
.bbc-done__card > p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #3d4149;
}
.bbc-done__total {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 15px;
    color: var(--bbc-muted);
    background: var(--bbc-soft);
    border-radius: 999px;
}
.bbc-done__total strong {
    font-size: 22px;
    color: var(--bbc-ink);
}
.bbc-steps-next {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.bbc-steps-next li {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 20px;
}
.bbc-steps-next li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--bbc-line);
}
.bbc-steps-next .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: var(--bbc-red);
    background: #fff1f1;
    border-radius: 50%;
}
.bbc-steps-next strong {
    display: block;
    padding-top: 2px;
    font-size: 15px;
}
.bbc-steps-next span {
    font-size: 13px;
    line-height: 1.6;
    color: var(--bbc-muted);
}
.bbc-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.bbc-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-align: left;
    background: var(--bbc-soft);
    border: 1px solid var(--bbc-line);
    border-radius: 14px;
    transition: border-color .2s;
}
.bbc-contact a:hover {
    border-color: var(--bbc-green);
}
.bbc-contact .fa {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    background: var(--bbc-green);
    border-radius: 12px;
}
.bbc-contact .fa-phone {
    background: var(--bbc-red);
}
.bbc-contact strong {
    display: block;
    font-size: 15px;
    color: var(--bbc-ink);
}
.bbc-contact small {
    font-size: 12px;
    color: var(--bbc-muted);
}
.bbc-done__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.bbc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    transition: background .2s, color .2s, border-color .2s;
}
.bbc-btn--primary {
    color: #fff;
    background: var(--bbc-red);
    box-shadow: 0 10px 22px rgba(237, 29, 36, .28);
}
.bbc-btn--primary:hover {
    color: #fff;
    background: var(--bbc-red-dark);
}
.bbc-btn--outline {
    color: var(--bbc-ink);
    background: #fff;
    border: 2px solid var(--bbc-line);
}
.bbc-btn--outline:hover {
    color: var(--bbc-red);
    border-color: var(--bbc-red);
}
.bbc-done__banner {
    margin-top: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .bbc-cat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .bbc-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bbc-article-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbc-side {
        position: static;
    }
    .bbc-related .bbc-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bbc-cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .bbc {
        padding: 14px 0 100px;
    }
    .bbc-head h1 {
        font-size: 23px;
    }
    .bbc-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px 4px;
        scrollbar-width: none;
    }
    .bbc-chips::-webkit-scrollbar {
        display: none;
    }
    .bbc-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .bbc-news-card__title {
        font-size: 16px;
    }
    .bbc-crumbs ol {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .bbc-crumbs li {
        flex-shrink: 0;
    }
    .bbc-crumbs [aria-current] span {
        max-width: 200px;
    }
    .bbc-article {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .bbc-article__title {
        font-size: 23px;
    }
    .bbc-prose {
        font-size: 16px;
        line-height: 1.85;
    }
    .bbc-related .bbc-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbc-cat-search {
        max-width: none;
    }
    .bbc-cat-section__head h2 {
        font-size: 18px;
    }
    .bbc-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .bbc-cat {
        padding: 12px 6px 10px;
        gap: 8px;
    }
    .bbc-cat__img {
        width: 58px;
        height: 58px;
    }
    .bbc-cat__name {
        font-size: 12px;
    }
    .bbc-done__card {
        padding: 30px 18px 26px;
    }
    .bbc-done__card h1 {
        font-size: 24px;
    }
    .bbc-contact {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbc-done__actions .bbc-btn {
        flex: 1 1 100%;
    }
}

/* the flex display above would otherwise beat the [hidden] attribute used by the category filter */
.bbc-cat[hidden],
.bbc-cat-section[hidden] {
    display: none;
}

/* hide AdSense slots Google left empty so they don't leave a blank gap (filled ads are unaffected) */
.bbc ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

/* ---------- Contact page (templates/Users/contact_us.php) ---------- */
.bbc-cu__quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.bbc-cu__card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.bbc-cu__card:hover {
    border-color: rgba(237, 29, 36, .45);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, .1);
}
.bbc-cu__card > span:last-child {
    min-width: 0;
}
.bbc-cu__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 22px;
    color: #fff;
    border-radius: 14px;
}
.bbc-cu__icon--call {
    background: #16a34a;
}
.bbc-cu__icon--whatsapp {
    font-size: 26px;
    background: #25d366;
}
.bbc-cu__icon--chat {
    background: #0084ff;
}
.bbc-cu__icon--mail {
    background: var(--bbc-red);
}
.bbc-cu__label,
.bbc-cu__value,
.bbc-cu__hint {
    display: block;
}
.bbc-cu__label {
    font-size: 13px;
    color: var(--bbc-muted);
}
.bbc-cu__value {
    overflow: hidden;
    font-size: 17px;
    font-weight: 700;
    color: var(--bbc-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bbc-cu__tel {
    width: fit-content;
    max-width: 100%;
}
.bbc-cu__tel:hover {
    color: #16a34a;
}
/* the call card holds one tel: link per number, so it is a div rather than one big link */
div.bbc-cu__card:hover {
    border-color: rgba(22, 163, 74, .45);
}
.bbc-cu__hint {
    font-size: 13px;
    color: var(--bbc-muted);
}

.bbc-cu__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.bbc-cu__panel {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
}
.bbc-cu__panel h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: var(--bbc-ink);
}
.bbc-cu__panel h2 .fa {
    margin-right: 6px;
    color: var(--bbc-red);
}
.bbc-cu__sub {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--bbc-muted);
}
.bbc-cu__side {
    display: grid;
    gap: 16px;
}

/* form */
.bbc-cu__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}
.bbc-cu__topics legend {
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bbc-ink);
}
.bbc-cu__topic {
    margin: 0;
    cursor: pointer;
}
.bbc-cu__topic input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bbc-cu__topic span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--bbc-ink);
    background: var(--bbc-soft);
    border: 1px solid var(--bbc-line);
    border-radius: 999px;
    transition: background .2s, border-color .2s, color .2s;
}
.bbc-cu__topic:hover span {
    border-color: rgba(237, 29, 36, .45);
}
.bbc-cu__topic input:checked + span {
    color: #fff;
    background: var(--bbc-red);
    border-color: var(--bbc-red);
}
.bbc-cu__topic input:focus-visible + span {
    outline: 2px solid var(--bbc-red);
    outline-offset: 2px;
}
.bbc-cu__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}
.bbc-cu__field {
    margin-bottom: 16px;
}
.bbc-cu__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bbc-ink);
}
.bbc-cu__field label span[aria-hidden] {
    color: var(--bbc-red);
}
.bbc-cu__optional {
    font-weight: 400;
    color: var(--bbc-muted);
}
.bbc-cu__field input,
.bbc-cu__field textarea {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--bbc-ink);
    background: var(--bbc-soft);
    border: 1px solid var(--bbc-line);
    border-radius: 12px;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.bbc-cu__field input {
    height: 48px;
}
.bbc-cu__field textarea {
    min-height: 140px;
    resize: vertical;
}
.bbc-cu__field input:focus,
.bbc-cu__field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--bbc-red);
    box-shadow: 0 0 0 4px rgba(237, 29, 36, .12);
}
.bbc-cu__field [aria-invalid="true"] {
    background: #fff;
    border-color: #dc2626;
}
.bbc-cu__error {
    margin: 6px 0 0;
    font-size: 13px;
    color: #dc2626;
}
.bbc-cu__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.bbc-cu__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    height: 50px;
    padding: 0 26px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--bbc-red);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s;
}
.bbc-cu__submit:hover,
.bbc-cu__submit:focus-visible {
    background: var(--bbc-red-dark);
}

/* side panels */
.bbc-cu__address {
    margin: 8px 0 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--bbc-ink);
}
.bbc-cu__map {
    position: relative;
    margin: 4px 0 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bbc-soft);
    border: 1px solid var(--bbc-line);
    border-radius: 12px;
}
.bbc-cu__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.bbc-cu__directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    background: #1a73e8;
    border-radius: 12px;
    transition: background .2s;
}
.bbc-cu__directions:hover,
.bbc-cu__directions:focus-visible {
    background: #1557b0;
}
.bbc-cu__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--bbc-red);
}
.bbc-cu__link:hover {
    text-decoration: underline;
}
.bbc-cu__shortcuts {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
.bbc-cu__shortcuts li + li {
    border-top: 1px solid var(--bbc-line);
}
.bbc-cu__shortcuts a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    font-size: 15px;
    color: var(--bbc-ink);
}
.bbc-cu__shortcuts a::after {
    content: "\f105";
    font-family: FontAwesome;
    color: var(--bbc-muted);
}
.bbc-cu__shortcuts a:hover {
    color: var(--bbc-red);
}

@media (max-width: 1199.98px) {
    .bbc-cu__quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .bbc-cu__quick {
        gap: 10px;
    }
    .bbc-cu__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 575.98px) {
    .bbc-cu__quick {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbc-cu__row {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbc-cu__panel {
        padding: 18px;
    }
    .bbc-cu__submit {
        width: 100%;
    }
    .bbc-cu__card {
        padding: 14px;
    }
}

/* ---------- Policies page (templates/Policies/view.php) ---------- */
.bbc-pol__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.bbc-pol__nav {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
}
.bbc-pol__nav a {
    padding: 11px 14px;
    font-size: 15px;
    color: var(--bbc-ink);
    border-radius: 10px;
}
.bbc-pol__nav a:hover {
    background: var(--bbc-soft);
}
.bbc-pol__nav a.is-active {
    font-weight: 700;
    color: var(--bbc-red);
    background: rgba(237, 29, 36, .08);
}
.bbc-pol__body {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
}
.bbc-pol__body h2 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
}
.bbc-pol__date {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--bbc-muted);
}
.bbc-pol__text {
    font-size: 16px;
    line-height: 1.85;
    color: #2b2e33;
}
.bbc-pol__admin,
.bbc-pol__edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    background: var(--bbc-red);
    border-radius: 10px;
}
.bbc-pol__edit {
    margin-top: 20px;
    color: var(--bbc-ink) !important;
    background: var(--bbc-soft);
    border: 1px solid var(--bbc-line);
}
@media (max-width: 767.98px) {
    .bbc-pol__layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbc-pol__nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
    }
    .bbc-pol__nav a {
        flex-shrink: 0;
    }
    .bbc-pol__body {
        padding: 18px;
    }
}

/* ---------- Error pages (element/error_page.php) ---------- */
.bbc-err__box {
    max-width: 760px;
    margin: 16px auto 0;
    padding: 40px 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--bbc-line);
    border-radius: var(--bbc-radius);
    box-shadow: var(--bbc-shadow);
}
.bbc-err__code {
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--bbc-red), #ff6a3d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bbc-err__box h1 {
    margin: 14px 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--bbc-ink);
}
.bbc-err__box > p {
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--bbc-muted);
}
.bbc-err__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.bbc-err__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    background: var(--bbc-red);
    border: 1px solid var(--bbc-red);
    border-radius: 12px;
    transition: background .2s;
}
.bbc-err__btn:hover {
    background: var(--bbc-red-dark);
}
.bbc-err__btn--ghost {
    color: var(--bbc-ink) !important;
    background: #fff;
    border-color: var(--bbc-line);
}
.bbc-err__btn--ghost:hover {
    background: var(--bbc-soft);
}
.bbc-err__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0 0;
    padding: 24px 0 0;
    list-style: none;
    border-top: 1px solid var(--bbc-line);
}
.bbc-err__links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bbc-ink);
    background: var(--bbc-soft);
    border-radius: 12px;
    transition: color .2s, background .2s;
}
.bbc-err__links .fa {
    font-size: 20px;
    color: var(--bbc-red);
}
.bbc-err__links a:hover {
    color: var(--bbc-red);
    background: rgba(237, 29, 36, .08);
}
.bbc-err__banner {
    max-width: 1140px;
    margin: 28px auto 0;
}
@media (max-width: 575.98px) {
    .bbc-err__box {
        padding: 28px 16px;
    }
    .bbc-err__code {
        font-size: 72px;
    }
    .bbc-err__box h1 {
        font-size: 21px;
    }
    .bbc-err__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
