/* Shared article-detail presentation for Professional Education, Solutions and Blog. */
.body_pages_news-detail .boda-article-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    min-height: 300px;
    overflow: hidden;
    background: #edf2f6;
}

.body_pages_news-detail .boda-article-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.body_pages_news-detail .boda-article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .55);
}

.body_pages_news-detail .boda-article-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1440px, calc(100% - 60px));
    margin: 0 auto;
    text-align: center;
}

.body_pages_news-detail .boda-article-hero__title {
    max-width: 1200px;
    margin: 0 auto;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.body_pages_news-detail .news-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.body_pages_news-detail .boda-toc {
    margin: 0 0 24px;
    padding: 22px 20px;
    border: 1px solid #d7dde5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.body_pages_news-detail .boda-toc__title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #172033 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.35;
}

.body_pages_news-detail .boda-toc__list {
    margin: 0;
    padding-left: 22px;
}

.body_pages_news-detail .boda-toc__item {
    margin: 8px 0;
    color: #26364a;
    font-size: 15px;
    line-height: 1.5;
}

.body_pages_news-detail .boda-toc__item a {
    color: #26364a;
    text-decoration: none;
}

.body_pages_news-detail .boda-toc__item a:hover {
    color: #003daa;
    text-decoration: underline;
}

.body_pages_news-detail .boda-toc__item--h1 {
    font-weight: 700;
}

.body_pages_news-detail .boda-toc__item--h2 {
    margin-left: 8px;
}

.body_pages_news-detail .boda-article-anchor {
    scroll-margin-top: 110px;
}

/* Article body standard shared by every article category. */
.body_pages_news-detail #boda-article-content {
    color: #172033;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.body_pages_news-detail #boda-article-content > :first-child {
    margin-top: 0;
}

.body_pages_news-detail #boda-article-content p,
.body_pages_news-detail #boda-article-content ul,
.body_pages_news-detail #boda-article-content ol,
.body_pages_news-detail #boda-article-content blockquote {
    margin-top: 0;
    margin-bottom: 20px;
}

.body_pages_news-detail #boda-article-content h2 {
    margin: 42px 0 20px;
    padding: 14px 18px;
    border-left: 5px solid #0649b8;
    background: #fff;
    color: #073f91;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.body_pages_news-detail #boda-article-content h3 {
    margin: 32px 0 16px;
    color: #172033;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
}

.body_pages_news-detail #boda-article-content a,
.body_pages_news-detail #boda-article-content a:visited {
    color: #003b8f !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.body_pages_news-detail #boda-article-content a:hover {
    color: #001f5b !important;
}

.body_pages_news-detail #boda-article-content img {
    max-width: 100%;
    height: auto;
}

.body_pages_news-detail #boda-article-content code {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #0649b8;
    border-radius: 0;
    background: transparent;
    color: #172033;
    font: inherit;
}

.body_pages_news-detail #boda-article-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 26px 0;
    overflow-x: auto;
    border-collapse: collapse;
    white-space: normal;
    -webkit-overflow-scrolling: touch;
}

.body_pages_news-detail #boda-article-content table th,
.body_pages_news-detail #boda-article-content table td {
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid #d5deeb;
    text-align: left;
    vertical-align: top;
}

.body_pages_news-detail #boda-article-content table th {
    background: #0649b8;
    color: #fff;
    font-weight: 700;
}

.body_pages_news-detail #boda-article-content table tr:nth-child(even) td {
    background: #f7f9fc;
}

.body_pages_news-detail #boda-article-content .boda-faq {
    margin: 28px 0;
    border-top: 1px solid #d7dde5;
}

.body_pages_news-detail #boda-article-content .boda-faq details {
    border: 1px solid #d7dde5;
    border-top: 0;
    background: #fff;
}

.body_pages_news-detail #boda-article-content details.boda-faq-item {
    margin: 0 0 14px;
    border: 1px solid #d7dde5;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.body_pages_news-detail #boda-article-content .boda-faq summary {
    position: relative;
    padding: 17px 50px 17px 18px;
    color: #172033;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.body_pages_news-detail #boda-article-content details.boda-faq-item > summary {
    position: relative;
    padding: 17px 50px 17px 18px;
    color: #172033;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.body_pages_news-detail #boda-article-content .boda-faq summary::-webkit-details-marker {
    display: none;
}

.body_pages_news-detail #boda-article-content details.boda-faq-item > summary::-webkit-details-marker {
    display: none;
}

.body_pages_news-detail #boda-article-content .boda-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    color: #0649b8;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

.body_pages_news-detail #boda-article-content details.boda-faq-item > summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    color: #0649b8;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

.body_pages_news-detail #boda-article-content .boda-faq details[open] summary::after {
    content: "-";
}

.body_pages_news-detail #boda-article-content details.boda-faq-item[open] > summary::after {
    content: "-";
}

.body_pages_news-detail #boda-article-content .boda-faq__answer {
    padding: 0 18px 18px;
}

.body_pages_news-detail #boda-article-content details.boda-faq-item > div {
    padding: 0 18px 18px;
    border-top: 1px solid #e5ecf5;
    background: #fafcff;
}

.body_pages_news-detail #boda-article-content .boda-faq__answer > :last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .body_pages_news-detail .boda-article-hero {
        height: 250px;
        min-height: 250px;
    }

    .body_pages_news-detail .boda-article-hero__title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .body_pages_news-detail .boda-article-hero {
        height: 220px;
        min-height: 220px;
    }

    .body_pages_news-detail .boda-article-hero__inner {
        width: calc(100% - 32px);
    }

    .body_pages_news-detail .boda-article-hero__title {
        font-size: 30px;
    }

    .body_pages_news-detail .boda-toc {
        border-radius: 8px;
    }

    .body_pages_news-detail #boda-article-content {
        font-size: 16px;
        line-height: 1.65;
    }

    .body_pages_news-detail #boda-article-content h2 {
        margin-top: 34px;
        padding: 12px 14px;
        font-size: 24px;
    }

    .body_pages_news-detail #boda-article-content h3 {
        font-size: 20px;
    }

    .body_pages_news-detail #boda-article-content table {
        white-space: nowrap;
    }

    .body_pages_news-detail #boda-article-content table th,
    .body_pages_news-detail #boda-article-content table td {
        min-width: 170px;
        padding: 12px 14px;
        white-space: normal;
    }
}

/* Approved visual parity with the original inline-styled article. */
.body_pages_news-detail #boda-article-content,
.body_pages_news-detail #boda-article-content .boda-article-body {
    color: #26364a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

.body_pages_news-detail #boda-article-content p {
    margin: 0 0 20px !important;
    color: #26364a;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.body_pages_news-detail #boda-article-content h2 {
    margin: 46px 0 22px;
    padding: 12px 18px;
    border-left: 5px solid #003daa;
    border-bottom: 1px solid #dce6f5;
    background: #eef5ff;
    color: #073c8c;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.body_pages_news-detail #boda-article-content h3.boda-troubleshooting-title {
    margin: 28px 0 16px;
    padding: 10px 16px;
    border-radius: 4px;
    background: #003daa;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.body_pages_news-detail #boda-article-content .boda-article-body > div:not([class]) {
    width: 100%;
    margin: 24px 0 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.body_pages_news-detail #boda-article-content table {
    display: table;
    min-width: 760px;
    margin: 0;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 61, 170, .08);
}

.body_pages_news-detail #boda-article-content table th,
.body_pages_news-detail #boda-article-content table td {
    min-width: 190px;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.body_pages_news-detail #boda-article-content table th {
    padding: 14px 15px;
    border-color: #2763b8;
    background: #003daa;
    color: #fff;
    line-height: 1.45;
}

.body_pages_news-detail #boda-article-content table td {
    height: 54px;
    padding: 13px 15px;
    border-color: #d9e3f1;
    color: #26364a;
    font-size: 17px;
    line-height: 1.65;
}

.body_pages_news-detail #boda-article-content details.boda-faq-item > summary {
    padding: 18px 50px 18px 20px;
    color: #073c8c;
    font-size: 19px;
    line-height: 1.45;
}

.body_pages_news-detail #boda-article-content details.boda-faq-item > div {
    padding: 0 20px 18px;
    border-top-color: #e5ecf5;
    background: #fafcff;
}

.body_pages_news-detail #boda-article-content a,
.body_pages_news-detail #boda-article-content a:visited {
    color: #0054c7 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Automatically distinguish external sources from BODA internal links. */
.body_pages_news-detail #boda-article-content a[href^="http"]:not([href*="bodahaircare.com"]),
.body_pages_news-detail #boda-article-content a[href^="https://"]:not([href*="bodahaircare.com"]):visited {
    color: #001f5b !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #001f5b;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.body_pages_news-detail #boda-article-content a[href^="http"]:not([href*="bodahaircare.com"]):hover {
    color: #003daa !important;
    text-decoration-color: #003daa;
}

.body_pages_news-detail #boda-article-content ul,
.body_pages_news-detail #boda-article-content ol {
    margin: 0 0 24px;
    padding-left: 25px;
    color: #26364a;
    font-size: 18px;
    line-height: 1.8;
}

.body_pages_news-detail #boda-article-content li {
    margin: 8px 0;
    padding-left: 4px;
}

.body_pages_news-detail #boda-article-content blockquote {
    margin: 26px 0;
    padding: 18px 22px;
    border-left: 5px solid #1f69d5;
    background: #f2f7ff;
    color: #34465d;
}

.body_pages_news-detail #boda-article-content blockquote p {
    margin-bottom: 0 !important;
}

.body_pages_news-detail #boda-article-content .boda-planning-note {
    margin: 26px 0;
    padding: 20px 22px;
    border: 1px solid #bcd2f2;
    border-radius: 6px;
    background: #f4f8ff;
}

.body_pages_news-detail #boda-article-content .boda-planning-note p {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .body_pages_news-detail #boda-article-content,
    .body_pages_news-detail #boda-article-content .boda-article-body {
        font-size: 15px;
        line-height: 1.72;
    }

    .body_pages_news-detail #boda-article-content p {
        font-size: 15px !important;
        line-height: 1.72 !important;
    }

    .body_pages_news-detail #boda-article-content ul,
    .body_pages_news-detail #boda-article-content ol {
        font-size: 15px;
        line-height: 1.72;
    }

    .body_pages_news-detail #boda-article-content h2 {
        margin-top: 34px;
        padding: 10px 13px;
        font-size: 22px;
    }

    .body_pages_news-detail #boda-article-content table th,
    .body_pages_news-detail #boda-article-content table td {
        min-width: 150px;
        padding: 11px 12px;
    }
}
