@charset "UTF-8";

/*
 * Shared presentation for HTML authored in the admin editor.
 * Inline editor formatting is intentionally preserved; these rules only
 * provide consistent defaults and safe responsive behaviour on the website.
 */
.dh-admin-rich-content {
    min-width: 0;
    max-width: 100%;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: normal;
}

.service-detail-page .service-content > .pdp-admin-content.dh-admin-rich-content {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.75;
}

.dh-admin-rich-content::after {
    display: table;
    clear: both;
    content: "";
}

.dh-admin-rich-content > :first-child { margin-top: 0; }
.dh-admin-rich-content > :last-child { margin-bottom: 0; }

.dh-admin-rich-content p {
    margin: 0 0 1em;
    line-height: inherit;
}

.dh-admin-rich-content h1,
.dh-admin-rich-content h2,
.dh-admin-rich-content h3,
.dh-admin-rich-content h4,
.dh-admin-rich-content h5,
.dh-admin-rich-content h6 {
    margin: 1.35em 0 .55em;
    color: #111827;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.28;
}

.dh-admin-rich-content h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); }
.dh-admin-rich-content h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
.dh-admin-rich-content h3 { font-size: clamp(1.22rem, 2.5vw, 1.55rem); }
.dh-admin-rich-content h4 { font-size: 1.18rem; }
.dh-admin-rich-content h5 { font-size: 1.05rem; }
.dh-admin-rich-content h6 { font-size: 1rem; }

.dh-admin-rich-content ul,
.dh-admin-rich-content ol {
    margin: 0 0 1.1em;
    padding-left: 1.55em;
}

.dh-admin-rich-content ul { list-style: disc outside; }
.dh-admin-rich-content ol { list-style: decimal outside; }
.dh-admin-rich-content ul ul { list-style-type: circle; }
.dh-admin-rich-content ul ul ul { list-style-type: square; }
.dh-admin-rich-content li { margin: .38em 0; }
.dh-admin-rich-content li > p { margin-bottom: .35em; }

.dh-admin-rich-content strong,
.dh-admin-rich-content b { font-weight: 700; }
.dh-admin-rich-content em,
.dh-admin-rich-content i { font-style: italic; }
.dh-admin-rich-content u { text-decoration: underline; text-underline-offset: 2px; }
.dh-admin-rich-content s,
.dh-admin-rich-content strike { text-decoration: line-through; }

.dh-admin-rich-content a {
    color: #007f77;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.dh-admin-rich-content a:hover,
.dh-admin-rich-content a:focus { color: #005f59; }

.dh-admin-rich-content blockquote {
    margin: 1.25em 0;
    padding: .9em 1.1em;
    color: #374151;
    background: #eefaf8;
    border: 0;
    border-left: 4px solid #00a79d;
    border-radius: 0 8px 8px 0;
}
.dh-admin-rich-content blockquote > :last-child { margin-bottom: 0; }

.dh-admin-rich-content hr {
    height: 0;
    margin: 1.5em 0;
    border: 0;
    border-top: 1px solid #d9e4e3;
}

.dh-admin-rich-content img,
.dh-admin-rich-content video,
.dh-admin-rich-content svg {
    max-width: 100%;
    height: auto;
}
.dh-admin-rich-content img {
    display: inline-block;
    margin: .75em 0;
    border-radius: 8px;
}
.dh-admin-rich-content figure {
    max-width: 100%;
    margin: 1.2em auto;
}
.dh-admin-rich-content figure.image { text-align: center; }
.dh-admin-rich-content figcaption {
    margin-top: .4em;
    color: #667085;
    font-size: .875em;
    line-height: 1.45;
    text-align: center;
}

.dh-admin-rich-content .table,
.dh-admin-rich-content figure.table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.25em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.dh-admin-rich-content table {
    width: 100% !important;
    min-width: 520px;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
    background: #fff;
}
.dh-admin-rich-content th,
.dh-admin-rich-content td {
    padding: .72em .82em !important;
    text-align: left;
    vertical-align: top;
    border: 1px solid #d8e2e1 !important;
}
.dh-admin-rich-content th {
    color: #162524;
    font-weight: 700;
    background: #edf7f6;
}
.dh-admin-rich-content tbody tr:nth-child(even) td { background: #fbfdfd; }

.dh-admin-rich-content pre {
    max-width: 100%;
    margin: 1.1em 0;
    padding: 1em;
    overflow: auto;
    color: #f8fafc;
    font: 13px/1.6 Consolas, Monaco, monospace;
    white-space: pre-wrap;
    background: #172321;
    border-radius: 8px;
}
.dh-admin-rich-content code {
    padding: .12em .3em;
    color: #075e57;
    font-family: Consolas, Monaco, monospace;
    background: #eef6f5;
    border-radius: 4px;
}
.dh-admin-rich-content pre code { padding: 0; color: inherit; background: transparent; }

.dh-admin-rich-content iframe,
.dh-admin-rich-content embed,
.dh-admin-rich-content object {
    max-width: 100%;
}
.dh-admin-rich-content iframe[src*="youtube"],
.dh-admin-rich-content iframe[src*="youtu.be"],
.dh-admin-rich-content iframe[src*="vimeo"] {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 10px;
}

.dh-admin-rich-content .text-left { text-align: left !important; }
.dh-admin-rich-content .text-center { text-align: center !important; }
.dh-admin-rich-content .text-right { text-align: right !important; }
.dh-admin-rich-content .text-justify { text-align: justify !important; }
.dh-admin-rich-content .align-left { float: left; margin: .35em 1.1em .75em 0; }
.dh-admin-rich-content .align-right { float: right; margin: .35em 0 .75em 1.1em; }
.dh-admin-rich-content .align-center { display: block; margin-right: auto; margin-left: auto; text-align: center; }

@media (max-width: 767px) {
    .dh-admin-rich-content { line-height: 1.7; }
    .dh-admin-rich-content h1,
    .dh-admin-rich-content h2,
    .dh-admin-rich-content h3 { overflow-wrap: break-word; }
    .dh-admin-rich-content table { min-width: 460px; }
    .dh-admin-rich-content .align-left,
    .dh-admin-rich-content .align-right {
        float: none;
        display: block;
        margin: .8em auto;
    }
}
