/* =================================================
   Breadcrumbs Styles – Clean & Arrowed
   ================================================= */
.mehruseo-breadcrumbs {
    overflow: hidden;
    font-family: sans-serif;
    margin-bottom: 1.5em;
}
.mehruseo-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.mehruseo-breadcrumbs li {
    display: block;
    position: relative;
    margin-right: 15px;
    background-color: #0073aa;
    line-height: 28px;
    padding: 0 10px 0 20px;
    transition: background-color 0.2s ease;
}
.mehruseo-breadcrumbs li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0;
    background-color: transparent;
}
.mehruseo-breadcrumbs li a:hover {
    color: #f0f0f0;
}
/* Left white triangle */
.mehruseo-breadcrumbs li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 14px;
    border-color: transparent transparent transparent #ffffff;
}
/* Right blue triangle */
.mehruseo-breadcrumbs li::after {
    content: "";
    position: absolute;
    top: 0;
    right: -14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 14px;
    border-color: transparent transparent transparent #0073aa;
    transition: border-color 0.2s ease;
}
/* Hover state – fixes the invalid a:hover::after selector */
.mehruseo-breadcrumbs li:hover {
    background-color: #0085ba;
}
.mehruseo-breadcrumbs li:hover::after {
    border-left-color: #0085ba;
}
.mehruseo-breadcrumbs li:first-child {
    padding-left: 15px;
    border-radius: 4px 0 0 4px;
}
.mehruseo-breadcrumbs li:first-child::before {
    display: none;
}
.mehruseo-breadcrumbs li:last-child {
    background-color: #f5f5f5;
    color: #333;            /* softer than red */
    font-weight: bold;
    border-radius: 0 4px 4px 0;
}
.mehruseo-breadcrumbs li:last-child::after {
    display: none;
}
/* Only the last child's span gets a slight accent (optional) */
.mehruseo-breadcrumbs li:last-child span {
    color: #d9534f;
}

/* =================================================
   Table of Contents – Modern & Clean
   ================================================= */
.mehruseo-toc {
    background-color: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 1.5em;
    width: auto;
    display: inline-block;
    min-width: 250px;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.mehruseo-toc h3 {
    background-color: transparent;
    color: #333;
    padding: 0 0 10px 0;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
}
.mehruseo-toc ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.mehruseo-toc ul ul {
    padding-left: 20px;
    margin-top: 5px;
}
.mehruseo-toc li {
    margin-bottom: 0.5em;
    line-height: 1.5;
}
.mehruseo-toc > ul > li {
    font-weight: 500;
}
.mehruseo-toc ul ul li {
    font-weight: 400;
    font-size: 0.95em;
}
.mehruseo-toc a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mehruseo-toc a:hover {
    color: #005177;
    text-decoration: underline;
}