/* Shared presentation for service descriptions, independent of editor styling. */
.st-service-about {
    padding: 28px;
    border: 1px solid #e7ebef;
    border-radius: 16px;
    background: #fff;
}
.st-service-about .st-section-heading {
    margin: 0 0 20px;
    color: #202c3b;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}
.st-service-about .st-service-about-content {
    color: #526071;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.st-service-about-content p,
.st-service-about-content li,
.st-service-about-content span {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    background: transparent !important;
}
.st-service-about-content p { margin: 0 0 16px !important; }
.st-service-about-content h2,
.st-service-about-content h3,
.st-service-about-content h4 {
    margin: 24px 0 12px !important;
    color: #202c3b !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
}
.st-service-about-content ul {
    padding: 0 !important;
    margin: 16px 0 !important;
    list-style: none !important;
}
.st-service-about-content ul > li {
    position: relative;
    padding: 10px 12px 10px 36px !important;
    margin: 0 0 8px !important;
    border-radius: 8px;
    background: #f6f8fa !important;
}
.st-service-about-content ul > li::before {
    content: '\2713';
    position: absolute;
    top: 10px;
    left: 12px;
    color: #1686a3;
    font-weight: 600;
}
.st-service-about-content ol { padding-left: 24px; }
.st-service-about-content ol > li { margin-bottom: 10px; padding-left: 4px; }
.st-service-about-content a { color: #087c9c; text-decoration: underline; }
.st-service-about-content img { max-width: 100%; height: auto; border-radius: 10px; }
.st-service-about-content table { display: block; max-width: 100%; overflow-x: auto; }
.st-service-about-content > :last-child { margin-bottom: 0 !important; }
@media (max-width: 767px) {
    .st-service-about { padding: 20px 16px; border-radius: 12px; }
    .st-service-about .st-section-heading { font-size: 22px; }
    .st-service-about .st-service-about-content { font-size: 14px; }
}

/* Rich HTML typography shared by every service description template. */
.st-service-about-content {
    --about-ink: #253449;
    --about-muted: #526071;
    --about-accent: #087f9b;
    color: var(--about-muted);
    font-weight: 400;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    min-width: 0;
}
.st-service-about { border-top: 3px solid #159bbb; box-shadow: 0 6px 24px rgba(27, 52, 72, .04); }
.st-service-about-content :is(h1,h2,h3,h4,h5,h6) {
    color: var(--about-ink) !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 28px 0 12px !important;
    text-wrap: pretty;
}
.st-service-about-content h1 { font-size: 28px !important; }
.st-service-about-content h2 { font-size: 23px !important; }
.st-service-about-content h3 { font-size: 20px !important; }
.st-service-about-content h4 { font-size: 18px !important; }
.st-service-about-content :is(h5,h6) { font-size: 16px !important; }
.st-service-about-content :is(h2,h3) { padding-bottom: 10px; border-bottom: 1px solid #e6edf1; }
.st-service-about-content > :first-child { margin-top: 0 !important; }
.st-service-about-content :is(strong,b) { color: var(--about-ink); font-weight: 600; }
.st-service-about-content :is(em,i,cite) { font-style: italic; }
.st-service-about-content :is(ul,ol) :is(ul,ol) { margin: 8px 0 !important; }
.st-service-about-content ol { list-style: decimal outside; margin: 16px 0; }
.st-service-about-content ol li::marker { color: var(--about-accent); font-weight: 600; }
.st-service-about-content blockquote {
    margin: 24px 0; padding: 18px 22px; border: 0;
    border-left: 3px solid var(--about-accent); border-radius: 0 10px 10px 0;
    background: #f0f8fa; color: var(--about-ink); font-size: inherit;
}
.st-service-about-content blockquote cite { display: block; margin-top: 10px; font-size: 13px; }
.st-service-about-content table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: 14px; }
.st-service-about-content :is(th,td) { padding: 12px 16px; border: 1px solid #e3eaf0; text-align: start; vertical-align: top; }
.st-service-about-content th { background: #edf5f8; color: var(--about-ink); font-weight: 600; }
.st-service-about-content tbody tr:nth-child(even) { background: #f8fafb; }
.st-service-about-content caption { padding: 10px 0; color: var(--about-muted); text-align: start; }
.st-service-about-content :is(figure,.wp-caption) { max-width: 100%; margin: 24px 0; }
.st-service-about-content :is(figcaption,.wp-caption-text) { margin-top: 8px; color: #657587; font-size: 13px; text-align: center; }
.st-service-about-content :is(video,iframe,embed,object) { max-width: 100%; }
.st-service-about-content video { height: auto; }
.st-service-about-content audio { width: 100%; }
.st-service-about-content hr { margin: 28px 0; border: 0; border-top: 1px solid #e3eaf0; }
.st-service-about-content dl { margin: 20px 0; }
.st-service-about-content dt { margin-top: 14px; color: var(--about-ink); font-weight: 600; }
.st-service-about-content dd { margin: 4px 0 14px; }
.st-service-about-content pre { padding: 16px; overflow: auto; border-radius: 8px; background: #f3f6f8; white-space: pre; }
.st-service-about-content :is(code,kbd,samp) { font-family: monospace; font-size: .9em; background: #edf2f5; border-radius: 4px; padding: 2px 4px; }
.st-service-about-content mark { background: #fff0b7; color: #463c1c; padding: 1px 3px; }
.st-service-about-content small { font-size: .85em; }
.st-service-about-content details { padding: 14px 0; border-bottom: 1px solid #e3eaf0; }
.st-service-about-content summary { cursor: pointer; color: var(--about-ink); font-weight: 600; }
.st-service-about-content details[open] summary { margin-bottom: 12px; }
.st-service-about-content a:focus-visible { outline: 2px solid var(--about-accent); outline-offset: 3px; }
@media (max-width: 767px) {
    .st-service-about-content { font-size: 14px; }
    .st-service-about-content h1 { font-size: 24px !important; }
    .st-service-about-content h2 { font-size: 21px !important; }
    .st-service-about-content :is(th,td) { padding: 10px; }
}

/* Included/excluded content uses the same layout on every service. */
.st-included-section, .st-excluded-section {
    padding: 24px;
    border: 1px solid #e3ebe8;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 24px;
}
.st-included-section { border-top: 3px solid #279c78; }
.st-excluded-section { border-top: 3px solid #cf716b; }
:is(.st-included-section, .st-excluded-section) .st-section-heading {
    margin: 0 0 18px; font-size: 23px; line-height: 1.4; color: #253449;
}
.st-service-benefits {
    --benefit-color: #218362;
    --benefit-background: #f2f9f6;
    color: #526071; font-size: 15px; line-height: 1.75;
}
.st-service-benefits-excluded {
    --benefit-color: #b85e58;
    --benefit-background: #fcf5f4;
}
.st-service-benefits:is(ul), .st-service-benefits ul {
    list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.st-service-benefits li {
    display: block !important; position: relative;
    padding: 14px 20px 14px 58px !important;
    margin: 0 0 8px !important; border-radius: 8px;
    background: var(--benefit-background); color: #526071;
    line-height: 1.75; overflow-wrap: anywhere;
}
.st-service-benefits li::before {
    content: '\2713'; position: absolute; left: 20px !important; top: 16px !important;
    color: var(--benefit-color); font-weight: 600;
}
.st-service-benefits-excluded li::before { content: '\00d7'; }
.st-service-benefits li::after { content: none !important; }
.st-service-benefits p { margin: 0 0 14px; }
.st-service-benefits li > :is(i,svg,.input-icon) { margin-right: 8px; }
.st-service-about-content ul > li.st-has-content-icon::before,
.st-service-benefits li.st-has-content-icon::before { content: none !important; }
.st-service-about-content ul > li.st-has-content-icon,
.st-service-benefits li.st-has-content-icon { padding-left: 20px !important; }
@media (max-width: 767px) {
    .st-included-section, .st-excluded-section { padding: 20px 16px; }
    :is(.st-included-section, .st-excluded-section) .st-section-heading { font-size: 21px; }
    .st-service-benefits { font-size: 14px; }
}

/* Keep existing template icons inside the padded row as well. */
.st-service-benefits li.st-has-content-icon:has(> i, > svg, > .input-icon) {
    padding-left: 58px !important;
}
.st-service-benefits li > :is(i, svg, .input-icon) {
    position: absolute;
    left: 20px !important;
    top: 16px !important;
    margin: 0;
    width: 22px;
    text-align: center;
}

/* Disclosure behavior only: retain the Included/Excluded card typography. */
.st-benefits-dropdown > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
    cursor: pointer;
}
.st-benefits-dropdown > summary::-webkit-details-marker { display: none; }
.st-benefits-dropdown > summary::marker { content: ''; }
.st-benefits-dropdown > summary .st-section-heading { margin-bottom: 0; }
.st-benefits-dropdown[open] > summary { margin-bottom: 18px; }
.st-benefits-dropdown > summary:focus-visible {
    outline: 2px solid #303030;
    outline-offset: 4px;
}
.st-benefits-arrow {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    color: #303030;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s;
}
.st-benefits-dropdown[open] > summary .st-benefits-arrow { transform: rotate(225deg); }
@media (prefers-reduced-motion: reduce) {
    .st-benefits-arrow { transition: none; }
}
