/* ==========================================================================
   Edy London: single service, "The treatment" content section
   Markup: template-parts/services/single/content.php
   Cream background from .el-section--cream (edy.css); this file styles the
   editor content (the_content) inside a centred 900px column.
   ========================================================================== */

/* ---------- Column */
.el-service-content__inner {
    max-width: 900px;
    margin-inline: auto;
}

.el-service-content__label {
    margin: 0 0 20px;
    font-family: var(--el-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--el-sage);
}

/* ---------- Editor content */
.el-service-content__body {
    font-family: var(--el-sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--el-text);
}

.el-service-content__body > * {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.el-service-content__body > *:last-child {
    margin-bottom: 0;
}

.el-service-content__body h1,
.el-service-content__body h2,
.el-service-content__body h3,
.el-service-content__body h4,
.el-service-content__body h5,
.el-service-content__body h6 {
    margin-top: 1.6em;
    margin-bottom: .5em;
    font-family: var(--el-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.12;
    color: var(--el-ink);
}

.el-service-content__body > h1:first-child,
.el-service-content__body > h2:first-child,
.el-service-content__body > h3:first-child,
.el-service-content__body > h4:first-child {
    margin-top: 0;
}

.el-service-content__body h1,
.el-service-content__body h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.el-service-content__body h3 {
    font-size: clamp(28px, 2.8vw, 36px);
}

.el-service-content__body h4 {
    font-size: clamp(22px, 2vw, 26px);
}

.el-service-content__body h5,
.el-service-content__body h6 {
    font-size: 20px;
}

.el-service-content__body strong {
    font-weight: 600;
    color: var(--el-ink);
}

/* Text links: warm bronze, clearly apart from the grey-brown body text
   but in the same family as the palette browns (the theme has no bronze
   token; the sage accent reads too close to the text colour here).
   #8A6A45 on the cream section: 4.6:1 contrast (WCAG AA).
   No underline at rest; darker bronze + fine underline on hover/focus. */
.el-service-content__body a {
    font-weight: 500;
    color: #c9491e;
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color .2s ease;
}

.el-service-content__body a:hover,
.el-service-content__body a:focus-visible {
    color: #6E5234;

}

.el-service-content__body a:focus-visible {
    outline: 2px solid #8A6A45;
    outline-offset: 3px;
    border-radius: var(--el-radius);
}

/* Lists: small sage markers, comfortable spacing. */
.el-service-content__body ul,
.el-service-content__body ol {
    padding-left: 1.4em;
}

.el-service-content__body li {
    margin-bottom: .5em;
    padding-left: .2em;
}

.el-service-content__body ul li::marker,
.el-service-content__body ol li::marker {
    color: var(--el-sage);
}

.el-service-content__body blockquote {
    margin-inline: 0;
    padding-left: 24px;
    border-left: 2px solid var(--el-peach);
    font-family: var(--el-serif);
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.3;
    color: var(--el-ink);
}

.el-service-content__body img {
    height: auto;
}

/* ---------- Mobile */
@media (max-width: 767px) {
    .el-service-content__body {
        font-size: 16px;
        line-height: 1.7;
    }

    .el-service-content__label {
        margin-bottom: 16px;
    }
}
