.vv-breadcrumb-wrapper {
    padding: 10px 0;
}

.vv-breadcrumb {
    white-space: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.vv-breadcrumb::-webkit-scrollbar {
    display: none;
}

.vv-breadcrumb-item {
    display: inline-block;
    float: none;
}

.vv-breadcrumb-item a {
    color: #6c757d; /* muted color */
    text-decoration: none;
}

.vv-breadcrumb-item:last-child a {
    color: #000; /* black color for last item */
    font-weight: 500;
}

/* Customize the breadcrumb divider */
.vv-breadcrumb-item + .vv-breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #6c757d;
    float: none;
    display: inline-block;
}

/***---------------------------------------------------------***/
/***---------------------------------------------------------***/
/********************* Paragraph block **********************/
/***---------------------------------------------------------***/
/***---------------------------------------------------------***/
.article-paragraph ol {
    list-style-type: decimal; /* Numbered list */
    margin-left: 20px;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 2;
    margin-top: 8px;
}

.article-paragraph ul {
    list-style-type: disc; /* Bulleted list */
    margin-left: 20px;
    padding-left: 20px;
    line-height: 2;
    margin-bottom: 8px;
    margin-top: 8px;
}

.article-paragraph li {
    margin-bottom: 8px;
    line-height: 2;
    color: #000000;
}

.article-paragraph p {
    color: #000000;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 1.5em;
}

/***---------------------------------------------------------***/
/***---------------------------------------------------------***/
/********************* Custom Table Block **********************/
/***---------------------------------------------------------***/
/***---------------------------------------------------------***/
/* Table Wrapper */
.vv-table-wrapper {
    margin: 2rem 1rem;
    font-family: inherit;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar; /* Hide scrollbar in IE */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.vv-table-wrapper::-webkit-scrollbar {
    display: none;
}

/* Firefox */
.vv-table-wrapper {
    scrollbar-width: none;
}

/* Table Container - Adds card effect */
.vv-table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    min-width: 100%;
    display: inline-block; /* Ensures container fits content */
}

/* Base Table Styles */
.vv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    margin: 0;
}

/* Header Styles */
.vv-table-header th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.95rem;
    white-space: nowrap; /* Prevents header text wrapping */
}

/* First header cell - rounded top left */
.vv-table-header th:first-child {
    border-top-left-radius: 12px;
}

/* Last header cell - rounded top right */
.vv-table-header th:last-child {
    border-top-right-radius: 12px;
}

/* Body Cell Styles */
.vv-table-body td,
.vv-table-body th {
    padding: 1rem;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

/* Row hover effect */
.vv-table-body tr:hover {
    background-color: #f9fafb;
}

/* Last row - remove border */
.vv-table-body tr:last-child td,
.vv-table-body tr:last-child th {
    border-bottom: none;
}

/* Zebra striping */
.vv-table-body tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .vv-table-wrapper {
        margin: 1.5rem 0.5rem; /* Reduced margins on mobile */
    }

    .vv-table-container {
        border-radius: 8px;
    }

    .vv-table {
        /* Handle tables with many columns */
        table-layout: auto;
        min-width: max-content;
    }

    .vv-table-header th,
    .vv-table-body td,
    .vv-table-body th {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    /* Make text wrap on very narrow screens */
    .vv-table-body td,
    .vv-table-body th {
        white-space: normal;
        min-width: 120px; /* Minimum width for cells */
    }
}

/* Print styles */
@media print {
    .vv-table-wrapper {
        margin: 1rem 0;
        overflow: visible;
    }

    .vv-table-container {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }

    .vv-table-header th {
        background-color: #f9fafb !important;
        color: #000;
    }

    .vv-table-body td,
    .vv-table-body th {
        color: #000;
    }

    .vv-table-wrapper {
        break-inside: avoid;
    }
}

/***---------------------------------------------------------***/
.vv-article-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vv-article-sub-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
