.footer {
    background-color: #f5f5f5;
    font-size: .9em;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* === SUPPORT ARTICLE TYPOGRAPHY – INTERCOM MATCH === */

/* Article container */
.article-content {
    font-size: 1rem;           /* 16px base */
    line-height: 1.6;
    color: #333;
}

/* Headings – match Intercom weight & size */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-weight: 600 !important;   /* Semi-bold (not 700) */
    color: #000 !important;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Specific sizes */
.article-content h1 { font-size: 2rem; }     /* 32px */
.article-content h2 { font-size: 1.25rem; }  /* 28px */
.article-content h3 { font-size: 1.5rem; }   /* 24px */
.article-content h4 { font-size: 1.25rem; }  /* 20px */
.article-content h5 { font-size: 1.125rem; } /* 18px */
.article-content h6 { font-size: 1rem; }     /* 16px */

/* Paragraphs */
.article-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

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

/* Strong / bold */
.article-content strong {
    font-weight: 600;
}

/* Override Bootstrap defaults */
.article-content * {
    font-family: inherit !important;
}

/* All tables in article content */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 1.5rem 0;
    background-color: #fff;
}

/* Header row */
.article-content table thead th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1rem;
}

/* Body cells */
.article-content table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

/* Alternating row background */
.article-content table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Remove vertical borders */
.article-content table th,
.article-content table td {
    border-left: none;
    border-right: none;
}

/* Responsive: stack on mobile */
@media (max-width: 576px) {
    .article-content table,
    .article-content table thead,
    .article-content table tbody,
    .article-content table th,
    .article-content table td,
    .article-content table tr {
        display: block;
    }

    .article-content table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .article-content table tr {
        border: 1px solid #e0e0e0;
        border-radius: 0.375rem;
        margin-bottom: 1rem;
        padding: 0.5rem;
    }

    .article-content table td {
        border: none;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: right;
    }

    .article-content table td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        font-weight: 600;
        text-align: left;
        color: #555;
    }

    /* Add data-label via JS or server (optional) */
}